Skip to content

Commit

Permalink
.NET SDK Resource Provider:'ContainerRegistry'
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#5543'
REST Spec PR Author 'mnltejaswini'
REST Spec PR Last commit
  • Loading branch information
adxsdknet committed May 7, 2019
1 parent 31b4bc1 commit 0780621
Show file tree
Hide file tree
Showing 88 changed files with 1,756 additions and 6,317 deletions.
2 changes: 1 addition & 1 deletion src/SDKs/ContainerRegistry/AzSdk.RP.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
<PropertyGroup>
<AzureApiTag>ContainerRegistry_2017-10-01;ContainerRegistry_2019-04-01;</AzureApiTag>
<AzureApiTag>ContainerRegistry_2017-10-01;ContainerRegistry_2019-05-01-preview;</AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ public partial class ContainerRegistryManagementClient : ServiceClient<Container
public virtual IWebhooksOperations Webhooks { get; private set; }

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

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

/// <summary>
/// Initializes a new instance of the ContainerRegistryManagementClient class.
Expand Down Expand Up @@ -341,8 +341,8 @@ private void Initialize()
Operations = new Operations(this);
Replications = new ReplicationsOperations(this);
Webhooks = new WebhooksOperations(this);
Runs = new RunsOperations(this);
Tasks = new TasksOperations(this);
ScopeMaps = new ScopeMapsOperations(this);
Tokens = new TokensOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
Expand Down Expand Up @@ -373,12 +373,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 @@ -84,14 +84,14 @@ public partial interface IContainerRegistryManagementClient : System.IDisposable
IWebhooksOperations Webhooks { get; }

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

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

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,7 @@ public partial interface IRegistriesOperations
/// </exception>
System.Threading.Tasks.Task<AzureOperationResponse<RegistryPolicies>> UpdatePoliciesWithHttpMessagesAsync(string resourceGroupName, string registryName, QuarantinePolicy quarantinePolicy = default(QuarantinePolicy), TrustPolicy trustPolicy = default(TrustPolicy), 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.
/// Generate keys for a token of a specified container registry.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group to which the container registry
Expand All @@ -380,8 +379,8 @@ public partial interface IRegistriesOperations
/// <param name='registryName'>
/// The name of the container registry.
/// </param>
/// <param name='runRequest'>
/// The parameters of a run that needs to scheduled.
/// <param name='generateCredentialsParameters'>
/// The parameters for generating credentials.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -398,34 +397,7 @@ public partial interface IRegistriesOperations
/// <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));
System.Threading.Tasks.Task<AzureOperationResponse<GenerateCredentialsResult>> GenerateCredentialsWithHttpMessagesAsync(string resourceGroupName, string registryName, GenerateCredentialsParameters generateCredentialsParameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Copies an image to this container registry from the specified
/// container registry.
Expand Down Expand Up @@ -570,8 +542,7 @@ public partial interface IRegistriesOperations
/// </exception>
System.Threading.Tasks.Task<AzureOperationResponse<RegistryPolicies>> BeginUpdatePoliciesWithHttpMessagesAsync(string resourceGroupName, string registryName, QuarantinePolicy quarantinePolicy = default(QuarantinePolicy), TrustPolicy trustPolicy = default(TrustPolicy), 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.
/// Generate keys for a token of a specified container registry.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group to which the container registry
Expand All @@ -580,8 +551,8 @@ public partial interface IRegistriesOperations
/// <param name='registryName'>
/// The name of the container registry.
/// </param>
/// <param name='runRequest'>
/// The parameters of a run that needs to scheduled.
/// <param name='generateCredentialsParameters'>
/// The parameters for generating credentials.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -598,7 +569,7 @@ public partial interface IRegistriesOperations
/// <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));
System.Threading.Tasks.Task<AzureOperationResponse<GenerateCredentialsResult>> BeginGenerateCredentialsWithHttpMessagesAsync(string resourceGroupName, string registryName, GenerateCredentialsParameters generateCredentialsParameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists all the container registries under the specified resource
/// group.
Expand Down
Loading

0 comments on commit 0780621

Please sign in to comment.