Interface ReplicationsClient
-
public interface ReplicationsClientAn instance of this class provides access to all the operations defined in ReplicationsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.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.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.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.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.ReplicationInnercreate(String resourceGroupName, String registryName, String replicationName, ReplicationInner replication)Creates a replication for a container registry with the specified parameters.ReplicationInnercreate(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.Mono<ReplicationInner>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.voiddelete(String resourceGroupName, String registryName, String replicationName)Deletes 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.Mono<Void>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.ReplicationInnerget(String resourceGroupName, String registryName, String replicationName)Gets the properties of the specified replication.Mono<ReplicationInner>getAsync(String resourceGroupName, String registryName, String replicationName)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>list(String resourceGroupName, String registryName)Lists all the replications for the specified container registry.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.com.azure.core.http.rest.PagedFlux<ReplicationInner>listAsync(String resourceGroupName, String registryName)Lists all the replications for the specified container registry.ReplicationInnerupdate(String resourceGroupName, String registryName, String replicationName, ReplicationUpdateParameters replicationUpdateParameters)Updates a replication for a container registry with the specified parameters.ReplicationInnerupdate(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.Mono<ReplicationInner>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 Detail
-
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 to which the container registry belongs.registryName- The name of the container registry.- Returns:
- the result of a request to list replications 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.
-
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 to which the container registry belongs.registryName- The name of the container registry.- Returns:
- the result of a request to list replications 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.
-
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 to which the container registry belongs.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.
- 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 to which the container registry belongs.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.
-
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 to which the container registry belongs.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.
-
get
ReplicationInner get(String resourceGroupName, String registryName, String replicationName)
Gets the properties of the specified replication.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.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.
-
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 to which the container registry belongs.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.
- 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 to which the container registry belongs.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.
-
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 to which the container registry belongs.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.
-
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 to which the container registry belongs.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.
-
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 to which the container registry belongs.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.
-
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 to which the container registry belongs.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)
Creates a replication for 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.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 to which the container registry belongs.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 to which the container registry belongs.registryName- The name of the container registry.replicationName- The name of the replication.- Returns:
- the completion.
- 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 to which the container registry belongs.registryName- The name of the container registry.replicationName- The name of the replication.- Returns:
- the completion.
- 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 to which the container registry belongs.registryName- The name of the container registry.replicationName- The name of the replication.- Returns:
- the completion.
- 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 to which the container registry belongs.registryName- The name of the container registry.replicationName- The name of the replication.context- The context to associate with this operation.- Returns:
- the completion.
- 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
Mono<Void> deleteAsync(String resourceGroupName, String registryName, String replicationName)
Deletes a replication from a container registry.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.replicationName- The name of the replication.- Returns:
- the completion.
- 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)
Deletes a replication from a container registry.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.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 to which the container registry belongs.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 to which the container registry belongs.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.
-
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 to which the container registry belongs.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.
-
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 to which the container registry belongs.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.
-
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 to which the container registry belongs.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.
-
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 to which the container registry belongs.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)
Updates a replication for 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.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 to which the container registry belongs.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.
-
-