Interface ReplicationsClient
public interface ReplicationsClient
An instance of this class provides access to all the operations defined in ReplicationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationInner>, ReplicationInner> beginCreate(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication) Creates a replication for a container registry with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationInner>, ReplicationInner> beginCreate(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication, com.azure.core.util.Context context) Creates a replication for a container registry with the specified parameters.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ReplicationInner>, ReplicationInner> beginCreateAsync(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication) Creates a replication for a container registry with the specified parameters.beginDelete(String resourceGroupName, String registryName, String replicationName) Deletes a replication from a container registry.beginDelete(String resourceGroupName, String registryName, String replicationName, com.azure.core.util.Context context) Deletes a replication from a container registry.beginDeleteAsync(String resourceGroupName, String registryName, String replicationName) Deletes a replication from a container registry.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationInner>, ReplicationInner> beginUpdate(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters) Updates a replication for a container registry with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationInner>, ReplicationInner> beginUpdate(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters, com.azure.core.util.Context context) Updates a replication for a container registry with the specified parameters.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ReplicationInner>, ReplicationInner> beginUpdateAsync(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters) Updates a replication for a container registry with the specified parameters.create(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication) Creates a replication for a container registry with the specified parameters.create(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication, com.azure.core.util.Context context) Creates a replication for a container registry with the specified parameters.createAsync(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication) Creates a replication for a container registry with the specified parameters.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication) Creates a replication for a container registry with the specified parameters.voidDeletes a replication from a container registry.voiddelete(String resourceGroupName, String registryName, String replicationName, com.azure.core.util.Context context) Deletes a replication from a container registry.deleteAsync(String resourceGroupName, String registryName, String replicationName) Deletes a replication from a container registry.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String registryName, String replicationName) Deletes a replication from a container registry.Gets the properties of the specified replication.Gets the properties of the specified replication.com.azure.core.http.rest.Response<ReplicationInner> getWithResponse(String resourceGroupName, String registryName, String replicationName, com.azure.core.util.Context context) Gets the properties of the specified replication.Mono<com.azure.core.http.rest.Response<ReplicationInner>> getWithResponseAsync(String resourceGroupName, String registryName, String replicationName) Gets the properties of the specified replication.com.azure.core.http.rest.PagedIterable<ReplicationInner> Lists all the replications for the specified container registry.com.azure.core.http.rest.PagedIterable<ReplicationInner> Lists all the replications for the specified container registry.com.azure.core.http.rest.PagedFlux<ReplicationInner> Lists all the replications for the specified container registry.update(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters) Updates a replication for a container registry with the specified parameters.update(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters, com.azure.core.util.Context context) Updates a replication for a container registry with the specified parameters.updateAsync(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters) Updates a replication for a container registry with the specified parameters.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters) Updates a replication for a container registry with the specified parameters.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<ReplicationInner> listAsync(String resourceGroupName, String registryName) Lists all the replications for the specified container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.- Returns:
- the result of a request to list replications for a container registry as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ReplicationInner> list(String resourceGroupName, String registryName) Lists all the replications for the specified container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.- Returns:
- the result of a request to list replications for a container registry as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ReplicationInner> list(String resourceGroupName, String registryName, com.azure.core.util.Context context) Lists all the replications for the specified container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.context- The context to associate with this operation.- Returns:
- the result of a request to list replications for a container registry as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ReplicationInner>> getWithResponseAsync(String resourceGroupName, String registryName, String replicationName) Gets the properties of the specified replication.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.- Returns:
- the properties of the specified replication along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<ReplicationInner> getAsync(String resourceGroupName, String registryName, String replicationName) Gets the properties of the specified replication.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.- Returns:
- the properties of the specified replication on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<ReplicationInner> getWithResponse(String resourceGroupName, String registryName, String replicationName, com.azure.core.util.Context context) Gets the properties of the specified replication.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.context- The context to associate with this operation.- Returns:
- the properties of the specified replication along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
Gets the properties of the specified replication.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.- Returns:
- the properties of the specified replication.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication) Creates a replication for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.replication- The parameters for creating a replication.- Returns:
- an object that represents a replication for a container registry along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ReplicationInner>,ReplicationInner> beginCreateAsync(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication) Creates a replication for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.replication- The parameters for creating a replication.- Returns:
- the
PollerFluxfor polling of an object that represents a replication for a container registry. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationInner>,ReplicationInner> beginCreate(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication) Creates a replication for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.replication- The parameters for creating a replication.- Returns:
- the
SyncPollerfor polling of an object that represents a replication for a container registry. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationInner>,ReplicationInner> beginCreate(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication, com.azure.core.util.Context context) Creates a replication for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.replication- The parameters for creating a replication.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of an object that represents a replication for a container registry. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createAsync
Mono<ReplicationInner> createAsync(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication) Creates a replication for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.replication- The parameters for creating a replication.- Returns:
- an object that represents a replication for a container registry on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
create
ReplicationInner create(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication) Creates a replication for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.replication- The parameters for creating a replication.- Returns:
- an object that represents a replication for a container registry.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
create
ReplicationInner create(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication, com.azure.core.util.Context context) Creates a replication for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.replication- The parameters for creating a replication.context- The context to associate with this operation.- Returns:
- an object that represents a replication for a container registry.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String registryName, String replicationName) Deletes a replication from a container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String registryName, String replicationName) Deletes a replication from a container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String replicationName) Deletes a replication from a container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String replicationName, com.azure.core.util.Context context) Deletes a replication from a container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes a replication from a container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes a replication from a container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String registryName, String replicationName, com.azure.core.util.Context context) Deletes a replication from a container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters) Updates a replication for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.replicationUpdateParameters- The parameters for updating a replication.- Returns:
- an object that represents a replication for a container registry along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ReplicationInner>,ReplicationInner> beginUpdateAsync(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters) Updates a replication for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.replicationUpdateParameters- The parameters for updating a replication.- Returns:
- the
PollerFluxfor polling of an object that represents a replication for a container registry. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationInner>,ReplicationInner> beginUpdate(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters) Updates a replication for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.replicationUpdateParameters- The parameters for updating a replication.- Returns:
- the
SyncPollerfor polling of an object that represents a replication for a container registry. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ReplicationInner>,ReplicationInner> beginUpdate(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters, com.azure.core.util.Context context) Updates a replication for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.replicationUpdateParameters- The parameters for updating a replication.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of an object that represents a replication for a container registry. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<ReplicationInner> updateAsync(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters) Updates a replication for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.replicationUpdateParameters- The parameters for updating a replication.- Returns:
- an object that represents a replication for a container registry on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
ReplicationInner update(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters) Updates a replication for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.replicationUpdateParameters- The parameters for updating a replication.- Returns:
- an object that represents a replication for a container registry.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
ReplicationInner update(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters, com.azure.core.util.Context context) Updates a replication for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.replicationName- The name of the replication.replicationUpdateParameters- The parameters for updating a replication.context- The context to associate with this operation.- Returns:
- an object that represents a replication for a container registry.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-