Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR Microsoft.Azure.Management.ContainerRegistry] [Hub Generated] [Do not merge] Review request for Microsoft.ContainerRegistry to add version preview/2019-12-01-preview #155

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ public partial class ContainerRegistryManagementClient : ServiceClient<Container
/// </summary>
public string SubscriptionId { get; set; }

/// <summary>
/// The client API version.
/// </summary>
public string ApiVersion { get; private set; }

/// <summary>
/// The preferred language for the response.
/// </summary>
Expand Down Expand Up @@ -86,16 +91,6 @@ public partial class ContainerRegistryManagementClient : ServiceClient<Container
/// </summary>
public virtual IWebhooksOperations Webhooks { get; private set; }

/// <summary>
/// Gets the IRunsOperations.
/// </summary>
public virtual IRunsOperations Runs { get; private set; }

/// <summary>
/// Gets the ITasksOperations.
/// </summary>
public virtual ITasksOperations Tasks { get; private set; }

/// <summary>
/// Initializes a new instance of the ContainerRegistryManagementClient class.
/// </summary>
Expand Down Expand Up @@ -341,9 +336,8 @@ private void Initialize()
Operations = new Operations(this);
Replications = new ReplicationsOperations(this);
Webhooks = new WebhooksOperations(this);
Runs = new RunsOperations(this);
Tasks = new TasksOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
ApiVersion = "2019-12-01-preview";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
Expand Down Expand Up @@ -373,12 +367,6 @@ private void Initialize()
new Iso8601TimeSpanConverter()
}
};
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<RunRequest>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<RunRequest>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<TaskStepProperties>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<TaskStepProperties>("type"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter<TaskStepUpdateParameters>("type"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter<TaskStepUpdateParameters>("type"));
CustomInitialize();
DeserializationSettings.Converters.Add(new TransformationJsonConverter());
DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ public partial interface IContainerRegistryManagementClient : System.IDisposable
/// </summary>
string SubscriptionId { get; set; }

/// <summary>
/// The client API version.
/// </summary>
string ApiVersion { get; }

/// <summary>
/// The preferred language for the response.
/// </summary>
Expand Down Expand Up @@ -83,15 +88,5 @@ public partial interface IContainerRegistryManagementClient : System.IDisposable
/// </summary>
IWebhooksOperations Webhooks { get; }

/// <summary>
/// Gets the IRunsOperations.
/// </summary>
IRunsOperations Runs { get; }

/// <summary>
/// Gets the ITasksOperations.
/// </summary>
ITasksOperations Tasks { get; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -310,63 +310,6 @@ public partial interface IRegistriesOperations
/// </exception>
System.Threading.Tasks.Task<AzureOperationResponse<RegistryUsageListResult>> ListUsagesWithHttpMessagesAsync(string resourceGroupName, string registryName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Schedules a new run based on the request parameters and add it to
/// the run queue.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group to which the container registry
/// belongs.
/// </param>
/// <param name='registryName'>
/// The name of the container registry.
/// </param>
/// <param name='runRequest'>
/// The parameters of a run that needs to scheduled.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
System.Threading.Tasks.Task<AzureOperationResponse<Run>> ScheduleRunWithHttpMessagesAsync(string resourceGroupName, string registryName, RunRequest runRequest, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Get the upload location for the user to be able to upload the
/// source.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group to which the container registry
/// belongs.
/// </param>
/// <param name='registryName'>
/// The name of the container registry.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
System.Threading.Tasks.Task<AzureOperationResponse<SourceUploadDefinition>> GetBuildSourceUploadUrlWithHttpMessagesAsync(string resourceGroupName, string registryName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Copies an image to this container registry from the specified
/// container registry.
/// </summary>
Expand Down Expand Up @@ -476,36 +419,6 @@ public partial interface IRegistriesOperations
/// </exception>
System.Threading.Tasks.Task<AzureOperationResponse<Registry>> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string registryName, RegistryUpdateParameters registryUpdateParameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Schedules a new run based on the request parameters and add it to
/// the run queue.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group to which the container registry
/// belongs.
/// </param>
/// <param name='registryName'>
/// The name of the container registry.
/// </param>
/// <param name='runRequest'>
/// The parameters of a run that needs to scheduled.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
System.Threading.Tasks.Task<AzureOperationResponse<Run>> BeginScheduleRunWithHttpMessagesAsync(string resourceGroupName, string registryName, RunRequest runRequest, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists all the container registries under the specified resource
/// group.
/// </summary>
Expand Down
Loading