From 843c4ee125a33ad889cc805a21c6c19fa0ecab6c Mon Sep 17 00:00:00 2001 From: Chris Hamons Date: Fri, 5 Feb 2021 11:27:46 -0600 Subject: [PATCH] [synapse] Remove Library API for now from public API --- ...lytics.Synapse.Artifacts.netstandard2.0.cs | 57 ------------------- .../src/Customization/LibraryClient.cs | 6 +- .../src/Generated/LibraryClient.cs | 2 +- .../LibraryCreateOrAppendOperation.cs | 2 +- .../src/Generated/LibraryDeleteOperation.cs | 2 +- .../src/Generated/LibraryFlushOperation.cs | 2 +- 6 files changed, 7 insertions(+), 64 deletions(-) diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/api/Azure.Analytics.Synapse.Artifacts.netstandard2.0.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/api/Azure.Analytics.Synapse.Artifacts.netstandard2.0.cs index 0367ee8d22c26..e89789aed1f36 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/api/Azure.Analytics.Synapse.Artifacts.netstandard2.0.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/api/Azure.Analytics.Synapse.Artifacts.netstandard2.0.cs @@ -180,63 +180,6 @@ public IntegrationRuntimesClient(System.Uri endpoint, Azure.Core.TokenCredential public virtual Azure.Response List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class LibraryClient - { - protected LibraryClient() { } - public LibraryClient(System.Uri endpoint, Azure.Core.TokenCredential credential) { } - public LibraryClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Synapse.Artifacts.ArtifactsClientOptions options) { } - public virtual Azure.Response Get(string libraryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string libraryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetOperationResult(string operationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetOperationResultAsync(string operationId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable List(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable ListAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Analytics.Synapse.Artifacts.LibraryCreateOrAppendOperation StartCreateOrAppend(string libraryName, string comp = null, long? xMsBlobConditionAppendpos = default(long?), System.IO.Stream content = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrAppendAsync(string libraryName, string comp = null, long? xMsBlobConditionAppendpos = default(long?), System.IO.Stream content = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Analytics.Synapse.Artifacts.LibraryDeleteOperation StartDelete(string libraryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string libraryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Analytics.Synapse.Artifacts.LibraryFlushOperation StartFlush(string libraryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartFlushAsync(string libraryName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class LibraryCreateOrAppendOperation : Azure.Operation - { - internal LibraryCreateOrAppendOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class LibraryDeleteOperation : Azure.Operation - { - internal LibraryDeleteOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class LibraryFlushOperation : Azure.Operation - { - internal LibraryFlushOperation() { } - public override bool HasCompleted { get { throw null; } } - public override bool HasValue { get { throw null; } } - public override string Id { get { throw null; } } - public override Azure.Response Value { get { throw null; } } - public override Azure.Response GetRawResponse() { throw null; } - public override Azure.Response UpdateStatus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask UpdateStatusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask> WaitForCompletionAsync(System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class LinkedServiceClient { protected LinkedServiceClient() { } diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Customization/LibraryClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Customization/LibraryClient.cs index 55844e726f9f0..69e6b9844159d 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Customization/LibraryClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Customization/LibraryClient.cs @@ -7,12 +7,12 @@ namespace Azure.Analytics.Synapse.Artifacts { - public partial class LibraryClient + internal partial class LibraryClient { /// /// Initializes a new instance of the . /// - public LibraryClient(Uri endpoint, TokenCredential credential) + internal LibraryClient(Uri endpoint, TokenCredential credential) : this(endpoint, credential, ArtifactsClientOptions.Default) { } @@ -20,7 +20,7 @@ public LibraryClient(Uri endpoint, TokenCredential credential) /// /// Initializes a new instance of the . /// - public LibraryClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options) + internal LibraryClient(Uri endpoint, TokenCredential credential, ArtifactsClientOptions options) : this(new ClientDiagnostics(options), SynapseClientPipeline.Build(options, credential), endpoint.ToString(), diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryClient.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryClient.cs index 7358be34d079c..ec0944fe06bf6 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryClient.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryClient.cs @@ -17,7 +17,7 @@ namespace Azure.Analytics.Synapse.Artifacts { /// The Library service client. - public partial class LibraryClient + internal partial class LibraryClient { private readonly ClientDiagnostics _clientDiagnostics; private readonly HttpPipeline _pipeline; diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryCreateOrAppendOperation.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryCreateOrAppendOperation.cs index 14020ebad8e2d..abf59b9f4dce6 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryCreateOrAppendOperation.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryCreateOrAppendOperation.cs @@ -15,7 +15,7 @@ namespace Azure.Analytics.Synapse.Artifacts { /// Creates a library with the library name. Use query param 'comp=appendblock' to append the data to the library resource created using the create operation. - public partial class LibraryCreateOrAppendOperation : Operation, IOperationSource + internal partial class LibraryCreateOrAppendOperation : Operation, IOperationSource { private readonly ArmOperationHelpers _operation; internal LibraryCreateOrAppendOperation(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response) diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryDeleteOperation.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryDeleteOperation.cs index 681ef86a51c8a..cc782c9db0ddc 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryDeleteOperation.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryDeleteOperation.cs @@ -15,7 +15,7 @@ namespace Azure.Analytics.Synapse.Artifacts { /// Delete Library. - public partial class LibraryDeleteOperation : Operation, IOperationSource + internal partial class LibraryDeleteOperation : Operation, IOperationSource { private readonly ArmOperationHelpers _operation; internal LibraryDeleteOperation(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response) diff --git a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryFlushOperation.cs b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryFlushOperation.cs index ee1f8737bd1e3..abf8b73418f54 100644 --- a/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryFlushOperation.cs +++ b/sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/LibraryFlushOperation.cs @@ -15,7 +15,7 @@ namespace Azure.Analytics.Synapse.Artifacts { /// Flush Library. - public partial class LibraryFlushOperation : Operation, IOperationSource + internal partial class LibraryFlushOperation : Operation, IOperationSource { private readonly ArmOperationHelpers _operation; internal LibraryFlushOperation(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response)