RunsInner Class

  • java.lang.Object
    • com.microsoft.azure.management.containerregistry.implementation.RunsInner

public class RunsInner

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

Constructor Summary

Constructor Description
RunsInner(Retrofit retrofit, ContainerRegistryManagementClientImpl client)

Initializes an instance of RunsInner.

Method Summary

Modifier and Type Method and Description
void beginCancel(String resourceGroupName, String registryName, String runId)

Cancel an existing run.

Observable<Void> beginCancelAsync(String resourceGroupName, String registryName, String runId)

Cancel an existing run.

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

Cancel an existing run.

Observable<ServiceResponse<Void>> beginCancelWithServiceResponseAsync(String resourceGroupName, String registryName, String runId)

Cancel an existing run.

RunInner beginUpdate(String resourceGroupName, String registryName, String runId)

Patch the run properties.

RunInner beginUpdate(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled)

Patch the run properties.

Observable<RunInner> beginUpdateAsync(String resourceGroupName, String registryName, String runId)

Patch the run properties.

Observable<RunInner> beginUpdateAsync(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled)

Patch the run properties.

ServiceFuture<RunInner> beginUpdateAsync(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled, final ServiceCallback<RunInner> serviceCallback)

Patch the run properties.

ServiceFuture<RunInner> beginUpdateAsync(String resourceGroupName, String registryName, String runId, final ServiceCallback<RunInner> serviceCallback)

Patch the run properties.

Observable<ServiceResponse<RunInner>> beginUpdateWithServiceResponseAsync(String resourceGroupName, String registryName, String runId)

Patch the run properties.

Observable<ServiceResponse<RunInner>> beginUpdateWithServiceResponseAsync(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled)

Patch the run properties.

void cancel(String resourceGroupName, String registryName, String runId)

Cancel an existing run.

Observable<Void> cancelAsync(String resourceGroupName, String registryName, String runId)

Cancel an existing run.

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

Cancel an existing run.

Observable<ServiceResponse<Void>> cancelWithServiceResponseAsync(String resourceGroupName, String registryName, String runId)

Cancel an existing run.

RunInner get(String resourceGroupName, String registryName, String runId)

Gets the detailed information for a given run.

Observable<RunInner> getAsync(String resourceGroupName, String registryName, String runId)

Gets the detailed information for a given run.

ServiceFuture<RunInner> getAsync(String resourceGroupName, String registryName, String runId, final ServiceCallback<RunInner> serviceCallback)

Gets the detailed information for a given run.

RunGetLogResultInner getLogSasUrl(String resourceGroupName, String registryName, String runId)

Gets a link to download the run logs.

Observable<RunGetLogResultInner> getLogSasUrlAsync(String resourceGroupName, String registryName, String runId)

Gets a link to download the run logs.

ServiceFuture<RunGetLogResultInner> getLogSasUrlAsync(String resourceGroupName, String registryName, String runId, final ServiceCallback<RunGetLogResultInner> serviceCallback)

Gets a link to download the run logs.

Observable<ServiceResponse<RunGetLogResultInner>> getLogSasUrlWithServiceResponseAsync(String resourceGroupName, String registryName, String runId)

Gets a link to download the run logs.

Observable<ServiceResponse<RunInner>> getWithServiceResponseAsync(String resourceGroupName, String registryName, String runId)

Gets the detailed information for a given run.

PagedList<RunInner> list(final String resourceGroupName, final String registryName)

Gets all the runs for a registry.

PagedList<RunInner> list(final String resourceGroupName, final String registryName, final String filter, final Integer top)

Gets all the runs for a registry.

Observable<Page<RunInner>> listAsync(final String resourceGroupName, final String registryName)

Gets all the runs for a registry.

ServiceFuture<List<RunInner>> listAsync(final String resourceGroupName, final String registryName, final ListOperationCallback<RunInner> serviceCallback)

Gets all the runs for a registry.

Observable<Page<RunInner>> listAsync(final String resourceGroupName, final String registryName, final String filter, final Integer top)

Gets all the runs for a registry.

ServiceFuture<List<RunInner>> listAsync(final String resourceGroupName, final String registryName, final String filter, final Integer top, final ListOperationCallback<RunInner> serviceCallback)

Gets all the runs for a registry.

PagedList<RunInner> listNext(final String nextPageLink)

Gets all the runs for a registry.

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

Gets all the runs for a registry.

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

Gets all the runs for a registry.

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

Gets all the runs for a registry.

ServiceResponse<PageImpl<RunInner>> *

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

Gets all the runs for a registry.

Observable<ServiceResponse<Page<RunInner>>> listSinglePageAsync(final String resourceGroupName, final String registryName)

Gets all the runs for a registry.

Observable<ServiceResponse<Page<RunInner>>> listSinglePageAsync(final String resourceGroupName, final String registryName, final String filter, final Integer top)

Gets all the runs for a registry.

ServiceResponse<PageImpl<RunInner>> *

Observable<ServiceResponse<Page<RunInner>>> listWithServiceResponseAsync(final String resourceGroupName, final String registryName)

Gets all the runs for a registry.

Observable<ServiceResponse<Page<RunInner>>> listWithServiceResponseAsync(final String resourceGroupName, final String registryName, final String filter, final Integer top)

Gets all the runs for a registry.

RunInner update(String resourceGroupName, String registryName, String runId)

Patch the run properties.

RunInner update(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled)

Patch the run properties.

Observable<RunInner> updateAsync(String resourceGroupName, String registryName, String runId)

Patch the run properties.

Observable<RunInner> updateAsync(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled)

Patch the run properties.

ServiceFuture<RunInner> updateAsync(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled, final ServiceCallback<RunInner> serviceCallback)

Patch the run properties.

ServiceFuture<RunInner> updateAsync(String resourceGroupName, String registryName, String runId, final ServiceCallback<RunInner> serviceCallback)

Patch the run properties.

Observable<ServiceResponse<RunInner>> updateWithServiceResponseAsync(String resourceGroupName, String registryName, String runId)

Patch the run properties.

Observable<ServiceResponse<RunInner>> updateWithServiceResponseAsync(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled)

Patch the run properties.

Constructor Details

RunsInner

public RunsInner(Retrofit retrofit, ContainerRegistryManagementClientImpl client)

Initializes an instance of RunsInner.

Parameters:

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

Method Details

beginCancel

public void beginCancel(String resourceGroupName, String registryName, String runId)

Cancel an existing run.

Parameters:

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

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

beginCancelAsync

public Observable beginCancelAsync(String resourceGroupName, String registryName, String runId)

Cancel an existing run.

Parameters:

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

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginCancelAsync

public ServiceFuture beginCancelAsync(String resourceGroupName, String registryName, String runId, final ServiceCallback serviceCallback)

Cancel an existing run.

Parameters:

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

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginCancelWithServiceResponseAsync

public Observable<>> beginCancelWithServiceResponseAsync(String resourceGroupName, String registryName, String runId)

Cancel an existing run.

Parameters:

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

Returns:

the ServiceResponse object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdate

public RunInner beginUpdate(String resourceGroupName, String registryName, String runId)

Patch the run properties.

Parameters:

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

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

beginUpdate

public RunInner beginUpdate(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled)

Patch the run properties.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runId - The run ID.
isArchiveEnabled - The value that indicates whether archiving is enabled or not.

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

beginUpdateAsync

public Observable beginUpdateAsync(String resourceGroupName, String registryName, String runId)

Patch the run properties.

Parameters:

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

Returns:

the observable to the RunInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateAsync

public Observable beginUpdateAsync(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled)

Patch the run properties.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runId - The run ID.
isArchiveEnabled - The value that indicates whether archiving is enabled or not.

Returns:

the observable to the RunInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateAsync

public ServiceFuture beginUpdateAsync(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled, final ServiceCallback serviceCallback)

Patch the run properties.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runId - The run ID.
isArchiveEnabled - The value that indicates whether archiving is enabled or not.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateAsync

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

Patch the run properties.

Parameters:

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

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateWithServiceResponseAsync

public Observable<>> beginUpdateWithServiceResponseAsync(String resourceGroupName, String registryName, String runId)

Patch the run properties.

Parameters:

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

Returns:

the observable to the RunInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

beginUpdateWithServiceResponseAsync

public Observable<>> beginUpdateWithServiceResponseAsync(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled)

Patch the run properties.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runId - The run ID.
isArchiveEnabled - The value that indicates whether archiving is enabled or not.

Returns:

the observable to the RunInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

cancel

public void cancel(String resourceGroupName, String registryName, String runId)

Cancel an existing run.

Parameters:

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

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

cancelAsync

public Observable cancelAsync(String resourceGroupName, String registryName, String runId)

Cancel an existing run.

Parameters:

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

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

cancelAsync

public ServiceFuture cancelAsync(String resourceGroupName, String registryName, String runId, final ServiceCallback serviceCallback)

Cancel an existing run.

Parameters:

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

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

cancelWithServiceResponseAsync

public Observable<>> cancelWithServiceResponseAsync(String resourceGroupName, String registryName, String runId)

Cancel an existing run.

Parameters:

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

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

get

public RunInner get(String resourceGroupName, String registryName, String runId)

Gets the detailed information for a given run.

Parameters:

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

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

getAsync

public Observable getAsync(String resourceGroupName, String registryName, String runId)

Gets the detailed information for a given run.

Parameters:

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

Returns:

the observable to the RunInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

public ServiceFuture getAsync(String resourceGroupName, String registryName, String runId, final ServiceCallback serviceCallback)

Gets the detailed information for a given run.

Parameters:

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

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getLogSasUrl

public RunGetLogResultInner getLogSasUrl(String resourceGroupName, String registryName, String runId)

Gets a link to download the run logs.

Parameters:

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

Returns:

the RunGetLogResultInner 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

getLogSasUrlAsync

public Observable getLogSasUrlAsync(String resourceGroupName, String registryName, String runId)

Gets a link to download the run logs.

Parameters:

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

Returns:

the observable to the RunGetLogResultInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getLogSasUrlAsync

public ServiceFuture getLogSasUrlAsync(String resourceGroupName, String registryName, String runId, final ServiceCallback serviceCallback)

Gets a link to download the run logs.

Parameters:

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

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getLogSasUrlWithServiceResponseAsync

public Observable<>> getLogSasUrlWithServiceResponseAsync(String resourceGroupName, String registryName, String runId)

Gets a link to download the run logs.

Parameters:

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

Returns:

the observable to the RunGetLogResultInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getWithServiceResponseAsync

public Observable<>> getWithServiceResponseAsync(String resourceGroupName, String registryName, String runId)

Gets the detailed information for a given run.

Parameters:

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

Returns:

the observable to the RunInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

list

public PagedList list(final String resourceGroupName, final String registryName)

Gets all the runs for a registry.

Parameters:

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

Returns:

the PagedList<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

list

public PagedList list(final String resourceGroupName, final String registryName, final String filter, final Integer top)

Gets all the runs for a registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
filter - The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed.
top

Returns:

the PagedList<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

listAsync

public Observable<>> listAsync(final String resourceGroupName, final String registryName)

Gets all the runs for a 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 PagedList<RunInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

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

Gets all the runs for a 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

listAsync

public Observable<>> listAsync(final String resourceGroupName, final String registryName, final String filter, final Integer top)

Gets all the runs for a registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
filter - The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed.
top

Returns:

the observable to the PagedList<RunInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public ServiceFuture<>> listAsync(final String resourceGroupName, final String registryName, final String filter, final Integer top, final ListOperationCallback serviceCallback)

Gets all the runs for a registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
filter - The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed.
top
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNext

public PagedList listNext(final String nextPageLink)

Gets all the runs for a registry.

Parameters:

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

Returns:

the PagedList<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

listNextAsync

public Observable<>> listNextAsync(final String nextPageLink)

Gets all the runs for a registry.

Parameters:

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

Returns:

the observable to the PagedList<RunInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextAsync

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

Gets all the runs for a registry.

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)

Gets all the runs for a registry.

ServiceResponse<PageImpl<RunInner>> *

Parameters:

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

Returns:

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

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextWithServiceResponseAsync

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

Gets all the runs for a registry.

Parameters:

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

Returns:

the observable to the PagedList<RunInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listSinglePageAsync

public Observable<><>>> listSinglePageAsync(final String resourceGroupName, final String registryName)

Gets all the runs for a registry.

Parameters:

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

Returns:

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

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listSinglePageAsync

public Observable<><>>> listSinglePageAsync(final String resourceGroupName, final String registryName, final String filter, final Integer top)

Gets all the runs for a registry.

ServiceResponse<PageImpl<RunInner>> *

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs. ServiceResponse<PageImpl<RunInner>> *
registryName - The name of the container registry. ServiceResponse<PageImpl<RunInner>> *
filter - The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed. ServiceResponse<PageImpl<RunInner>> *
top

Returns:

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

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listWithServiceResponseAsync

public Observable<><>>> listWithServiceResponseAsync(final String resourceGroupName, final String registryName)

Gets all the runs for a 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 PagedList<RunInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listWithServiceResponseAsync

public Observable<><>>> listWithServiceResponseAsync(final String resourceGroupName, final String registryName, final String filter, final Integer top)

Gets all the runs for a registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
filter - The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed.
top

Returns:

the observable to the PagedList<RunInner> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

update

public RunInner update(String resourceGroupName, String registryName, String runId)

Patch the run properties.

Parameters:

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

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

update

public RunInner update(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled)

Patch the run properties.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runId - The run ID.
isArchiveEnabled - The value that indicates whether archiving is enabled or not.

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

updateAsync

public Observable updateAsync(String resourceGroupName, String registryName, String runId)

Patch the run properties.

Parameters:

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

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public Observable updateAsync(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled)

Patch the run properties.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runId - The run ID.
isArchiveEnabled - The value that indicates whether archiving is enabled or not.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

public ServiceFuture updateAsync(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled, final ServiceCallback serviceCallback)

Patch the run properties.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runId - The run ID.
isArchiveEnabled - The value that indicates whether archiving is enabled or not.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateAsync

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

Patch the run properties.

Parameters:

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

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateWithServiceResponseAsync

public Observable<>> updateWithServiceResponseAsync(String resourceGroupName, String registryName, String runId)

Patch the run properties.

Parameters:

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

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

updateWithServiceResponseAsync

public Observable<>> updateWithServiceResponseAsync(String resourceGroupName, String registryName, String runId, Boolean isArchiveEnabled)

Patch the run properties.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
runId - The run ID.
isArchiveEnabled - The value that indicates whether archiving is enabled or not.

Returns:

the observable for the request

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to