RegistriesInner Class

  • java.lang.Object

public class RegistriesInner implements InnerSupportsGet,InnerSupportsDelete,InnerSupportsListing

An instance of this class provides access to all the operations defined in Registries.

Constructor Summary

Constructor Description
RegistriesInner(Retrofit retrofit, ContainerRegistryManagementClientImpl client)

Initializes an instance of RegistriesInner.

Method Summary

Modifier and Type Method and Description
RegistryInner beginCreate(String resourceGroupName, String registryName, RegistryInner registry)

Creates a container registry with the specified parameters.

Observable<RegistryInner> beginCreateAsync(String resourceGroupName, String registryName, RegistryInner registry)

Creates a container registry with the specified parameters.

ServiceFuture<RegistryInner> beginCreateAsync(String resourceGroupName, String registryName, RegistryInner registry, final ServiceCallback<RegistryInner> serviceCallback)

Creates a container registry with the specified parameters.

Observable<ServiceResponse<RegistryInner>> beginCreateWithServiceResponseAsync(String resourceGroupName, String registryName, RegistryInner registry)

Creates a container registry with the specified parameters.

void beginDelete(String resourceGroupName, String registryName)

Deletes a container registry.

Observable<Void> beginDeleteAsync(String resourceGroupName, String registryName)

Deletes a container registry.

ServiceFuture<Void> beginDeleteAsync(String resourceGroupName, String registryName, final ServiceCallback<Void> serviceCallback)

Deletes a container registry.

Observable<ServiceResponse<Void>> beginDeleteWithServiceResponseAsync(String resourceGroupName, String registryName)

Deletes a container registry.

void beginImportImage(String resourceGroupName, String registryName, ImportImageParameters parameters)

Copies an image to this container registry from the specified container registry.

Observable<Void> beginImportImageAsync(String resourceGroupName, String registryName, ImportImageParameters parameters)

Copies an image to this container registry from the specified container registry.

ServiceFuture<Void> beginImportImageAsync(String resourceGroupName, String registryName, ImportImageParameters parameters, final ServiceCallback<Void> serviceCallback)

Copies an image to this container registry from the specified container registry.

Observable<ServiceResponse<Void>> beginImportImageWithServiceResponseAsync(String resourceGroupName, String registryName, ImportImageParameters parameters)

Copies an image to this container registry from the specified container registry.

RunInner beginScheduleRun(String resourceGroupName, String registryName, RunRequest runRequest)

Schedules a new run based on the request parameters and add it to the run queue.

Observable<RunInner> beginScheduleRunAsync(String resourceGroupName, String registryName, RunRequest runRequest)

Schedules a new run based on the request parameters and add it to the run queue.

ServiceFuture<RunInner> beginScheduleRunAsync(String resourceGroupName, String registryName, RunRequest runRequest, final ServiceCallback<RunInner> serviceCallback)

Schedules a new run based on the request parameters and add it to the run queue.

Observable<ServiceResponse<RunInner>> beginScheduleRunWithServiceResponseAsync(String resourceGroupName, String registryName, RunRequest runRequest)

Schedules a new run based on the request parameters and add it to the run queue.

RegistryInner beginUpdate(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters)

Updates a container registry with the specified parameters.

Observable<RegistryInner> beginUpdateAsync(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters)

Updates a container registry with the specified parameters.

ServiceFuture<RegistryInner> beginUpdateAsync(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters, final ServiceCallback<RegistryInner> serviceCallback)

Updates a container registry with the specified parameters.

RegistryPoliciesInner beginUpdatePolicies(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters)

Updates the policies for the specified container registry.

Observable<RegistryPoliciesInner> beginUpdatePoliciesAsync(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters)

Updates the policies for the specified container registry.

ServiceFuture<RegistryPoliciesInner> beginUpdatePoliciesAsync(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters, final ServiceCallback<RegistryPoliciesInner> serviceCallback)

Updates the policies for the specified container registry.

Observable<ServiceResponse<RegistryPoliciesInner>> beginUpdatePoliciesWithServiceResponseAsync(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters)

Updates the policies for the specified container registry.

Observable<ServiceResponse<RegistryInner>> beginUpdateWithServiceResponseAsync(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters)

Updates a container registry with the specified parameters.

RegistryNameStatusInner checkNameAvailability(String name)

Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.

Observable<RegistryNameStatusInner> checkNameAvailabilityAsync(String name)

Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.

ServiceFuture<RegistryNameStatusInner> checkNameAvailabilityAsync(String name, final ServiceCallback<RegistryNameStatusInner> serviceCallback)

Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.

Observable<ServiceResponse<RegistryNameStatusInner>> checkNameAvailabilityWithServiceResponseAsync(String name)

Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.

RegistryInner create(String resourceGroupName, String registryName, RegistryInner registry)

Creates a container registry with the specified parameters.

Observable<RegistryInner> createAsync(String resourceGroupName, String registryName, RegistryInner registry)

Creates a container registry with the specified parameters.

ServiceFuture<RegistryInner> createAsync(String resourceGroupName, String registryName, RegistryInner registry, final ServiceCallback<RegistryInner> serviceCallback)

Creates a container registry with the specified parameters.

Observable<ServiceResponse<RegistryInner>> createWithServiceResponseAsync(String resourceGroupName, String registryName, RegistryInner registry)

Creates a container registry with the specified parameters.

void delete(String resourceGroupName, String registryName)

Deletes a container registry.

Observable<Void> deleteAsync(String resourceGroupName, String registryName)

Deletes a container registry.

ServiceFuture<Void> deleteAsync(String resourceGroupName, String registryName, final ServiceCallback<Void> serviceCallback)

Deletes a container registry.

Observable<ServiceResponse<Void>> deleteWithServiceResponseAsync(String resourceGroupName, String registryName)

Deletes a container registry.

SourceUploadDefinitionInner getBuildSourceUploadUrl(String resourceGroupName, String registryName)

Get the upload location for the user to be able to upload the source.

Observable<SourceUploadDefinitionInner> getBuildSourceUploadUrlAsync(String resourceGroupName, String registryName)

Get the upload location for the user to be able to upload the source.

ServiceFuture<SourceUploadDefinitionInner> getBuildSourceUploadUrlAsync(String resourceGroupName, String registryName, final ServiceCallback<SourceUploadDefinitionInner> serviceCallback)

Get the upload location for the user to be able to upload the source.

Observable<ServiceResponse<SourceUploadDefinitionInner>> getBuildSourceUploadUrlWithServiceResponseAsync(String resourceGroupName, String registryName)

Get the upload location for the user to be able to upload the source.

RegistryInner getByResourceGroup(String resourceGroupName, String registryName)

Gets the properties of the specified container registry.

Observable<RegistryInner> getByResourceGroupAsync(String resourceGroupName, String registryName)

Gets the properties of the specified container registry.

ServiceFuture<RegistryInner> getByResourceGroupAsync(String resourceGroupName, String registryName, final ServiceCallback<RegistryInner> serviceCallback)

Gets the properties of the specified container registry.

Observable<ServiceResponse<RegistryInner>> getByResourceGroupWithServiceResponseAsync(String resourceGroupName, String registryName)

Gets the properties of the specified container registry.

void importImage(String resourceGroupName, String registryName, ImportImageParameters parameters)

Copies an image to this container registry from the specified container registry.

Observable<Void> importImageAsync(String resourceGroupName, String registryName, ImportImageParameters parameters)

Copies an image to this container registry from the specified container registry.

ServiceFuture<Void> importImageAsync(String resourceGroupName, String registryName, ImportImageParameters parameters, final ServiceCallback<Void> serviceCallback)

Copies an image to this container registry from the specified container registry.

Observable<ServiceResponse<Void>> importImageWithServiceResponseAsync(String resourceGroupName, String registryName, ImportImageParameters parameters)

Copies an image to this container registry from the specified container registry.

PagedList<RegistryInner> list()

Lists all the container registries under the specified subscription.

Observable<Page<RegistryInner>> listAsync()

Lists all the container registries under the specified subscription.

ServiceFuture<List<RegistryInner>> listAsync(final ListOperationCallback<RegistryInner> serviceCallback)

Lists all the container registries under the specified subscription.

PagedList<RegistryInner> listByResourceGroup(final String resourceGroupName)

Lists all the container registries under the specified resource group.

Observable<Page<RegistryInner>> listByResourceGroupAsync(final String resourceGroupName)

Lists all the container registries under the specified resource group.

ServiceFuture<List<RegistryInner>> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback<RegistryInner> serviceCallback)

Lists all the container registries under the specified resource group.

PagedList<RegistryInner> listByResourceGroupNext(final String nextPageLink)

Lists all the container registries under the specified resource group.

Observable<Page<RegistryInner>> listByResourceGroupNextAsync(final String nextPageLink)

Lists all the container registries under the specified resource group.

ServiceFuture<List<RegistryInner>> listByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture<List<RegistryInner>> serviceFuture, final ListOperationCallback<RegistryInner> serviceCallback)

Lists all the container registries under the specified resource group.

Observable<ServiceResponse<Page<RegistryInner>>> listByResourceGroupNextSinglePageAsync(final String nextPageLink)

Lists all the container registries under the specified resource group.

ServiceResponse<PageImpl<RegistryInner>> *

Observable<ServiceResponse<Page<RegistryInner>>> listByResourceGroupNextWithServiceResponseAsync(final String nextPageLink)

Lists all the container registries under the specified resource group.

Observable<ServiceResponse<Page<RegistryInner>>> listByResourceGroupSinglePageAsync(final String resourceGroupName)

Lists all the container registries under the specified resource group.

ServiceResponse<PageImpl<RegistryInner>> *

Observable<ServiceResponse<Page<RegistryInner>>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName)

Lists all the container registries under the specified resource group.

RegistryListCredentialsResultInner listCredentials(String resourceGroupName, String registryName)

Lists the login credentials for the specified container registry.

Observable<RegistryListCredentialsResultInner> listCredentialsAsync(String resourceGroupName, String registryName)

Lists the login credentials for the specified container registry.

ServiceFuture<RegistryListCredentialsResultInner> listCredentialsAsync(String resourceGroupName, String registryName, final ServiceCallback<RegistryListCredentialsResultInner> serviceCallback)

Lists the login credentials for the specified container registry.

Observable<ServiceResponse<RegistryListCredentialsResultInner>> listCredentialsWithServiceResponseAsync(String resourceGroupName, String registryName)

Lists the login credentials for the specified container registry.

PagedList<RegistryInner> listNext(final String nextPageLink)

Lists all the container registries under the specified subscription.

Observable<Page<RegistryInner>> listNextAsync(final String nextPageLink)

Lists all the container registries under the specified subscription.

ServiceFuture<List<RegistryInner>> listNextAsync(final String nextPageLink, final ServiceFuture<List<RegistryInner>> serviceFuture, final ListOperationCallback<RegistryInner> serviceCallback)

Lists all the container registries under the specified subscription.

Observable<ServiceResponse<Page<RegistryInner>>> listNextSinglePageAsync(final String nextPageLink)

Lists all the container registries under the specified subscription.

ServiceResponse<PageImpl<RegistryInner>> *

Observable<ServiceResponse<Page<RegistryInner>>> listNextWithServiceResponseAsync(final String nextPageLink)

Lists all the container registries under the specified subscription.

RegistryPoliciesInner listPolicies(String resourceGroupName, String registryName)

Lists the policies for the specified container registry.

Observable<RegistryPoliciesInner> listPoliciesAsync(String resourceGroupName, String registryName)

Lists the policies for the specified container registry.

ServiceFuture<RegistryPoliciesInner> listPoliciesAsync(String resourceGroupName, String registryName, final ServiceCallback<RegistryPoliciesInner> serviceCallback)

Lists the policies for the specified container registry.

Observable<ServiceResponse<RegistryPoliciesInner>> listPoliciesWithServiceResponseAsync(String resourceGroupName, String registryName)

Lists the policies for the specified container registry.

Observable<ServiceResponse<Page<RegistryInner>>> listSinglePageAsync()

Lists all the container registries under the specified subscription.

RegistryUsageListResultInner listUsages(String resourceGroupName, String registryName)

Gets the quota usages for the specified container registry.

Observable<RegistryUsageListResultInner> listUsagesAsync(String resourceGroupName, String registryName)

Gets the quota usages for the specified container registry.

ServiceFuture<RegistryUsageListResultInner> listUsagesAsync(String resourceGroupName, String registryName, final ServiceCallback<RegistryUsageListResultInner> serviceCallback)

Gets the quota usages for the specified container registry.

Observable<ServiceResponse<RegistryUsageListResultInner>> listUsagesWithServiceResponseAsync(String resourceGroupName, String registryName)

Gets the quota usages for the specified container registry.

Observable<ServiceResponse<Page<RegistryInner>>> listWithServiceResponseAsync()

Lists all the container registries under the specified subscription.

RegistryListCredentialsResultInner regenerateCredential(String resourceGroupName, String registryName, PasswordName name)

Regenerates one of the login credentials for the specified container registry.

Observable<RegistryListCredentialsResultInner> regenerateCredentialAsync(String resourceGroupName, String registryName, PasswordName name)

Regenerates one of the login credentials for the specified container registry.

ServiceFuture<RegistryListCredentialsResultInner> regenerateCredentialAsync(String resourceGroupName, String registryName, PasswordName name, final ServiceCallback<RegistryListCredentialsResultInner> serviceCallback)

Regenerates one of the login credentials for the specified container registry.

Observable<ServiceResponse<RegistryListCredentialsResultInner>> regenerateCredentialWithServiceResponseAsync(String resourceGroupName, String registryName, PasswordName name)

Regenerates one of the login credentials for the specified container registry.

RunInner scheduleRun(String resourceGroupName, String registryName, RunRequest runRequest)

Schedules a new run based on the request parameters and add it to the run queue.

Observable<RunInner> scheduleRunAsync(String resourceGroupName, String registryName, RunRequest runRequest)

Schedules a new run based on the request parameters and add it to the run queue.

ServiceFuture<RunInner> scheduleRunAsync(String resourceGroupName, String registryName, RunRequest runRequest, final ServiceCallback<RunInner> serviceCallback)

Schedules a new run based on the request parameters and add it to the run queue.

Observable<ServiceResponse<RunInner>> scheduleRunWithServiceResponseAsync(String resourceGroupName, String registryName, RunRequest runRequest)

Schedules a new run based on the request parameters and add it to the run queue.

RegistryInner update(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters)

Updates a container registry with the specified parameters.

Observable<RegistryInner> updateAsync(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters)

Updates a container registry with the specified parameters.

ServiceFuture<RegistryInner> updateAsync(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters, final ServiceCallback<RegistryInner> serviceCallback)

Updates a container registry with the specified parameters.

RegistryPoliciesInner updatePolicies(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters)

Updates the policies for the specified container registry.

Observable<RegistryPoliciesInner> updatePoliciesAsync(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters)

Updates the policies for the specified container registry.

ServiceFuture<RegistryPoliciesInner> updatePoliciesAsync(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters, final ServiceCallback<RegistryPoliciesInner> serviceCallback)

Updates the policies for the specified container registry.

Observable<ServiceResponse<RegistryPoliciesInner>> updatePoliciesWithServiceResponseAsync(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters)

Updates the policies for the specified container registry.

Observable<ServiceResponse<RegistryInner>> updateWithServiceResponseAsync(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters)

Updates a container registry with the specified parameters.

Inherited Members

Constructor Details

RegistriesInner

public RegistriesInner(Retrofit retrofit, ContainerRegistryManagementClientImpl client)

Initializes an instance of RegistriesInner.

Parameters:

retrofit - the Retrofit instance built from a Retrofit Builder.
client - the instance of the service client containing this operation class.

Method Details

beginCreate

public RegistryInner beginCreate(String resourceGroupName, String registryName, RegistryInner registry)

Creates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registry - The parameters for creating a container registry.

Returns:

the RegistryInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginCreateAsync

public Observable beginCreateAsync(String resourceGroupName, String registryName, RegistryInner registry)

Creates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registry - The parameters for creating a container registry.

Returns:

the observable to the RegistryInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginCreateAsync

public ServiceFuture beginCreateAsync(String resourceGroupName, String registryName, RegistryInner registry, final ServiceCallback serviceCallback)

Creates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registry - The parameters for creating a container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginCreateWithServiceResponseAsync

public Observable<>> beginCreateWithServiceResponseAsync(String resourceGroupName, String registryName, RegistryInner registry)

Creates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registry - The parameters for creating a container registry.

Returns:

the observable to the RegistryInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginDelete

public void beginDelete(String resourceGroupName, String registryName)

Deletes a container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginDeleteAsync

public Observable beginDeleteAsync(String resourceGroupName, String registryName)

Deletes a container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginDeleteAsync

public ServiceFuture beginDeleteAsync(String resourceGroupName, String registryName, final ServiceCallback serviceCallback)

Deletes a container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginDeleteWithServiceResponseAsync

public Observable<>> beginDeleteWithServiceResponseAsync(String resourceGroupName, String registryName)

Deletes a container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginImportImage

public void beginImportImage(String resourceGroupName, String registryName, ImportImageParameters parameters)

Copies an image to this container registry from the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
parameters - The parameters specifying the image to copy and the source container registry.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginImportImageAsync

public Observable beginImportImageAsync(String resourceGroupName, String registryName, ImportImageParameters parameters)

Copies an image to this container registry from the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
parameters - The parameters specifying the image to copy and the source container registry.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginImportImageAsync

public ServiceFuture beginImportImageAsync(String resourceGroupName, String registryName, ImportImageParameters parameters, final ServiceCallback serviceCallback)

Copies an image to this container registry from the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
parameters - The parameters specifying the image to copy and the source container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginImportImageWithServiceResponseAsync

public Observable<>> beginImportImageWithServiceResponseAsync(String resourceGroupName, String registryName, ImportImageParameters parameters)

Copies an image to this container registry from the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
parameters - The parameters specifying the image to copy and the source container registry.

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginScheduleRun

public RunInner beginScheduleRun(String resourceGroupName, String registryName, RunRequest runRequest)

Schedules a new run based on the request parameters and add it to the run queue.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runRequest - The parameters of a run that needs to scheduled.

Returns:

the RunInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginScheduleRunAsync

public Observable beginScheduleRunAsync(String resourceGroupName, String registryName, RunRequest runRequest)

Schedules a new run based on the request parameters and add it to the run queue.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runRequest - The parameters of a run that needs to scheduled.

Returns:

the observable to the RunInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginScheduleRunAsync

public ServiceFuture beginScheduleRunAsync(String resourceGroupName, String registryName, RunRequest runRequest, final ServiceCallback serviceCallback)

Schedules a new run based on the request parameters and add it to the run queue.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runRequest - The parameters of a run that needs to scheduled.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginScheduleRunWithServiceResponseAsync

public Observable<>> beginScheduleRunWithServiceResponseAsync(String resourceGroupName, String registryName, RunRequest runRequest)

Schedules a new run based on the request parameters and add it to the run queue.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runRequest - The parameters of a run that needs to scheduled.

Returns:

the observable to the RunInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdate

public RegistryInner beginUpdate(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters)

Updates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryUpdateParameters - The parameters for updating a container registry.

Returns:

the RegistryInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginUpdateAsync

public Observable beginUpdateAsync(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters)

Updates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryUpdateParameters - The parameters for updating a container registry.

Returns:

the observable to the RegistryInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateAsync

public ServiceFuture beginUpdateAsync(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters, final ServiceCallback serviceCallback)

Updates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryUpdateParameters - The parameters for updating a container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdatePolicies

public RegistryPoliciesInner beginUpdatePolicies(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters)

Updates the policies for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryPoliciesUpdateParameters - The parameters for updating policies of a container registry.

Returns:

the RegistryPoliciesInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

beginUpdatePoliciesAsync

public Observable beginUpdatePoliciesAsync(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters)

Updates the policies for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryPoliciesUpdateParameters - The parameters for updating policies of a container registry.

Returns:

the observable to the RegistryPoliciesInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdatePoliciesAsync

public ServiceFuture beginUpdatePoliciesAsync(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters, final ServiceCallback serviceCallback)

Updates the policies for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryPoliciesUpdateParameters - The parameters for updating policies of a container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdatePoliciesWithServiceResponseAsync

public Observable<>> beginUpdatePoliciesWithServiceResponseAsync(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters)

Updates the policies for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryPoliciesUpdateParameters - The parameters for updating policies of a container registry.

Returns:

the observable to the RegistryPoliciesInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateWithServiceResponseAsync

public Observable<>> beginUpdateWithServiceResponseAsync(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters)

Updates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryUpdateParameters - The parameters for updating a container registry.

Returns:

the observable to the RegistryInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

checkNameAvailability

public RegistryNameStatusInner checkNameAvailability(String name)

Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.

Parameters:

name - The name of the container registry.

Returns:

the RegistryNameStatusInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

checkNameAvailabilityAsync

public Observable checkNameAvailabilityAsync(String name)

Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.

Parameters:

name - The name of the container registry.

Returns:

the observable to the RegistryNameStatusInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

checkNameAvailabilityAsync

public ServiceFuture checkNameAvailabilityAsync(String name, final ServiceCallback serviceCallback)

Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.

Parameters:

name - The name of the container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

checkNameAvailabilityWithServiceResponseAsync

public Observable<>> checkNameAvailabilityWithServiceResponseAsync(String name)

Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.

Parameters:

name - The name of the container registry.

Returns:

the observable to the RegistryNameStatusInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

create

public RegistryInner create(String resourceGroupName, String registryName, RegistryInner registry)

Creates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registry - The parameters for creating a container registry.

Returns:

the RegistryInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

createAsync

public Observable createAsync(String resourceGroupName, String registryName, RegistryInner registry)

Creates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registry - The parameters for creating a container registry.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

createAsync

public ServiceFuture createAsync(String resourceGroupName, String registryName, RegistryInner registry, final ServiceCallback serviceCallback)

Creates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registry - The parameters for creating a container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

createWithServiceResponseAsync

public Observable<>> createWithServiceResponseAsync(String resourceGroupName, String registryName, RegistryInner registry)

Creates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registry - The parameters for creating a container registry.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

delete

public void delete(String resourceGroupName, String registryName)

Deletes a container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

deleteAsync

public Observable deleteAsync(String resourceGroupName, String registryName)

Deletes a container registry.

Overrides:

RegistriesInner.deleteAsync(String resourceGroupName, String registryName)

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteAsync

public ServiceFuture deleteAsync(String resourceGroupName, String registryName, final ServiceCallback serviceCallback)

Deletes a container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

deleteWithServiceResponseAsync

public Observable<>> deleteWithServiceResponseAsync(String resourceGroupName, String registryName)

Deletes a container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getBuildSourceUploadUrl

public SourceUploadDefinitionInner getBuildSourceUploadUrl(String resourceGroupName, String registryName)

Get the upload location for the user to be able to upload the source.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the SourceUploadDefinitionInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getBuildSourceUploadUrlAsync

public Observable getBuildSourceUploadUrlAsync(String resourceGroupName, String registryName)

Get the upload location for the user to be able to upload the source.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the observable to the SourceUploadDefinitionInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getBuildSourceUploadUrlAsync

public ServiceFuture getBuildSourceUploadUrlAsync(String resourceGroupName, String registryName, final ServiceCallback serviceCallback)

Get the upload location for the user to be able to upload the source.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getBuildSourceUploadUrlWithServiceResponseAsync

public Observable<>> getBuildSourceUploadUrlWithServiceResponseAsync(String resourceGroupName, String registryName)

Get the upload location for the user to be able to upload the source.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the observable to the SourceUploadDefinitionInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getByResourceGroup

public RegistryInner getByResourceGroup(String resourceGroupName, String registryName)

Gets the properties of the specified container registry.

Overrides:

RegistriesInner.getByResourceGroup(String resourceGroupName, String registryName)

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the RegistryInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getByResourceGroupAsync

public Observable getByResourceGroupAsync(String resourceGroupName, String registryName)

Gets the properties of the specified container registry.

Overrides:

RegistriesInner.getByResourceGroupAsync(String resourceGroupName, String registryName)

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the observable to the RegistryInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getByResourceGroupAsync

public ServiceFuture getByResourceGroupAsync(String resourceGroupName, String registryName, final ServiceCallback serviceCallback)

Gets the properties of the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getByResourceGroupWithServiceResponseAsync

public Observable<>> getByResourceGroupWithServiceResponseAsync(String resourceGroupName, String registryName)

Gets the properties of the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the observable to the RegistryInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

importImage

public void importImage(String resourceGroupName, String registryName, ImportImageParameters parameters)

Copies an image to this container registry from the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
parameters - The parameters specifying the image to copy and the source container registry.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

importImageAsync

public Observable importImageAsync(String resourceGroupName, String registryName, ImportImageParameters parameters)

Copies an image to this container registry from the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
parameters - The parameters specifying the image to copy and the source container registry.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

importImageAsync

public ServiceFuture importImageAsync(String resourceGroupName, String registryName, ImportImageParameters parameters, final ServiceCallback serviceCallback)

Copies an image to this container registry from the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
parameters - The parameters specifying the image to copy and the source container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

importImageWithServiceResponseAsync

public Observable<>> importImageWithServiceResponseAsync(String resourceGroupName, String registryName, ImportImageParameters parameters)

Copies an image to this container registry from the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
parameters - The parameters specifying the image to copy and the source container registry.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

list

public PagedList list()

Lists all the container registries under the specified subscription.

Overrides:

RegistriesInner.list()

Returns:

the PagedList<RegistryInner> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listAsync

public Observable<>> listAsync()

Lists all the container registries under the specified subscription.

Overrides:

RegistriesInner.listAsync()

Returns:

the observable to the PagedList<RegistryInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public ServiceFuture<>> listAsync(final ListOperationCallback serviceCallback)

Lists all the container registries under the specified subscription.

Parameters:

serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroup

public PagedList listByResourceGroup(final String resourceGroupName)

Lists all the container registries under the specified resource group.

Overrides:

RegistriesInner.listByResourceGroup(final String resourceGroupName)

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.

Returns:

the PagedList<RegistryInner> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listByResourceGroupAsync

public Observable<>> listByResourceGroupAsync(final String resourceGroupName)

Lists all the container registries under the specified resource group.

Overrides:

RegistriesInner.listByResourceGroupAsync(final String resourceGroupName)

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.

Returns:

the observable to the PagedList<RegistryInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroupAsync

public ServiceFuture<>> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback serviceCallback)

Lists all the container registries under the specified resource group.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroupNext

public PagedList listByResourceGroupNext(final String nextPageLink)

Lists all the container registries under the specified resource group.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<RegistryInner> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listByResourceGroupNextAsync

public Observable<>> listByResourceGroupNextAsync(final String nextPageLink)

Lists all the container registries under the specified resource group.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<RegistryInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroupNextAsync

public ServiceFuture<>> listByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture<>> serviceFuture, final ListOperationCallback serviceCallback)

Lists all the container registries under the specified resource group.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroupNextSinglePageAsync

public Observable<><>>> listByResourceGroupNextSinglePageAsync(final String nextPageLink)

Lists all the container registries under the specified resource group.

ServiceResponse<PageImpl<RegistryInner>> *

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<RegistryInner> object wrapped in ServiceResponse if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroupNextWithServiceResponseAsync

public Observable<><>>> listByResourceGroupNextWithServiceResponseAsync(final String nextPageLink)

Lists all the container registries under the specified resource group.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<RegistryInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroupSinglePageAsync

public Observable<><>>> listByResourceGroupSinglePageAsync(final String resourceGroupName)

Lists all the container registries under the specified resource group.

ServiceResponse<PageImpl<RegistryInner>> *

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.

Returns:

the PagedList<RegistryInner> object wrapped in ServiceResponse if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listByResourceGroupWithServiceResponseAsync

public Observable<><>>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName)

Lists all the container registries under the specified resource group.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.

Returns:

the observable to the PagedList<RegistryInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listCredentials

public RegistryListCredentialsResultInner listCredentials(String resourceGroupName, String registryName)

Lists the login credentials for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the RegistryListCredentialsResultInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listCredentialsAsync

public Observable listCredentialsAsync(String resourceGroupName, String registryName)

Lists the login credentials for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the observable to the RegistryListCredentialsResultInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listCredentialsAsync

public ServiceFuture listCredentialsAsync(String resourceGroupName, String registryName, final ServiceCallback serviceCallback)

Lists the login credentials for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listCredentialsWithServiceResponseAsync

public Observable<>> listCredentialsWithServiceResponseAsync(String resourceGroupName, String registryName)

Lists the login credentials for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the observable to the RegistryListCredentialsResultInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNext

public PagedList listNext(final String nextPageLink)

Lists all the container registries under the specified subscription.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<RegistryInner> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listNextAsync

public Observable<>> listNextAsync(final String nextPageLink)

Lists all the container registries under the specified subscription.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<RegistryInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextAsync

public ServiceFuture<>> listNextAsync(final String nextPageLink, final ServiceFuture<>> serviceFuture, final ListOperationCallback serviceCallback)

Lists all the container registries under the specified subscription.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextSinglePageAsync

public Observable<><>>> listNextSinglePageAsync(final String nextPageLink)

Lists all the container registries under the specified subscription.

ServiceResponse<PageImpl<RegistryInner>> *

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<RegistryInner> object wrapped in ServiceResponse if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextWithServiceResponseAsync

public Observable<><>>> listNextWithServiceResponseAsync(final String nextPageLink)

Lists all the container registries under the specified subscription.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<RegistryInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPolicies

public RegistryPoliciesInner listPolicies(String resourceGroupName, String registryName)

Lists the policies for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the RegistryPoliciesInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listPoliciesAsync

public Observable listPoliciesAsync(String resourceGroupName, String registryName)

Lists the policies for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the observable to the RegistryPoliciesInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPoliciesAsync

public ServiceFuture listPoliciesAsync(String resourceGroupName, String registryName, final ServiceCallback serviceCallback)

Lists the policies for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listPoliciesWithServiceResponseAsync

public Observable<>> listPoliciesWithServiceResponseAsync(String resourceGroupName, String registryName)

Lists the policies for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the observable to the RegistryPoliciesInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listSinglePageAsync

public Observable<><>>> listSinglePageAsync()

Lists all the container registries under the specified subscription.

Returns:

the PagedList<RegistryInner> object wrapped in ServiceResponse if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listUsages

public RegistryUsageListResultInner listUsages(String resourceGroupName, String registryName)

Gets the quota usages for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the RegistryUsageListResultInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listUsagesAsync

public Observable listUsagesAsync(String resourceGroupName, String registryName)

Gets the quota usages for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the observable to the RegistryUsageListResultInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listUsagesAsync

public ServiceFuture listUsagesAsync(String resourceGroupName, String registryName, final ServiceCallback serviceCallback)

Gets the quota usages for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listUsagesWithServiceResponseAsync

public Observable<>> listUsagesWithServiceResponseAsync(String resourceGroupName, String registryName)

Gets the quota usages for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.

Returns:

the observable to the RegistryUsageListResultInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listWithServiceResponseAsync

public Observable<><>>> listWithServiceResponseAsync()

Lists all the container registries under the specified subscription.

Returns:

the observable to the PagedList<RegistryInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

regenerateCredential

public RegistryListCredentialsResultInner regenerateCredential(String resourceGroupName, String registryName, PasswordName name)

Regenerates one of the login credentials for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
name - Specifies name of the password which should be regenerated password or password2. Possible values include: 'password', 'password2'

Returns:

the RegistryListCredentialsResultInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

regenerateCredentialAsync

public Observable regenerateCredentialAsync(String resourceGroupName, String registryName, PasswordName name)

Regenerates one of the login credentials for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
name - Specifies name of the password which should be regenerated password or password2. Possible values include: 'password', 'password2'

Returns:

the observable to the RegistryListCredentialsResultInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

regenerateCredentialAsync

public ServiceFuture regenerateCredentialAsync(String resourceGroupName, String registryName, PasswordName name, final ServiceCallback serviceCallback)

Regenerates one of the login credentials for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
name - Specifies name of the password which should be regenerated password or password2. Possible values include: 'password', 'password2'
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

regenerateCredentialWithServiceResponseAsync

public Observable<>> regenerateCredentialWithServiceResponseAsync(String resourceGroupName, String registryName, PasswordName name)

Regenerates one of the login credentials for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
name - Specifies name of the password which should be regenerated password or password2. Possible values include: 'password', 'password2'

Returns:

the observable to the RegistryListCredentialsResultInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

scheduleRun

public RunInner scheduleRun(String resourceGroupName, String registryName, RunRequest runRequest)

Schedules a new run based on the request parameters and add it to the run queue.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runRequest - The parameters of a run that needs to scheduled.

Returns:

the RunInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

scheduleRunAsync

public Observable scheduleRunAsync(String resourceGroupName, String registryName, RunRequest runRequest)

Schedules a new run based on the request parameters and add it to the run queue.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runRequest - The parameters of a run that needs to scheduled.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

scheduleRunAsync

public ServiceFuture scheduleRunAsync(String resourceGroupName, String registryName, RunRequest runRequest, final ServiceCallback serviceCallback)

Schedules a new run based on the request parameters and add it to the run queue.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runRequest - The parameters of a run that needs to scheduled.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

scheduleRunWithServiceResponseAsync

public Observable<>> scheduleRunWithServiceResponseAsync(String resourceGroupName, String registryName, RunRequest runRequest)

Schedules a new run based on the request parameters and add it to the run queue.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runRequest - The parameters of a run that needs to scheduled.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

update

public RegistryInner update(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters)

Updates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryUpdateParameters - The parameters for updating a container registry.

Returns:

the RegistryInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

updateAsync

public Observable updateAsync(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters)

Updates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryUpdateParameters - The parameters for updating a container registry.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public ServiceFuture updateAsync(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters, final ServiceCallback serviceCallback)

Updates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryUpdateParameters - The parameters for updating a container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updatePolicies

public RegistryPoliciesInner updatePolicies(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters)

Updates the policies for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryPoliciesUpdateParameters - The parameters for updating policies of a container registry.

Returns:

the RegistryPoliciesInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

updatePoliciesAsync

public Observable updatePoliciesAsync(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters)

Updates the policies for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryPoliciesUpdateParameters - The parameters for updating policies of a container registry.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updatePoliciesAsync

public ServiceFuture updatePoliciesAsync(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters, final ServiceCallback serviceCallback)

Updates the policies for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryPoliciesUpdateParameters - The parameters for updating policies of a container registry.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updatePoliciesWithServiceResponseAsync

public Observable<>> updatePoliciesWithServiceResponseAsync(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters)

Updates the policies for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryPoliciesUpdateParameters - The parameters for updating policies of a container registry.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateWithServiceResponseAsync

public Observable<>> updateWithServiceResponseAsync(String resourceGroupName, String registryName, RegistryUpdateParameters registryUpdateParameters)

Updates a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
registryUpdateParameters - The parameters for updating a container registry.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to