ContainerGroupsClient Interface

Implements

public interface ContainerGroupsClient
extends InnerSupportsGet<ContainerGroupInner>, InnerSupportsListing<ContainerGroupInner>, InnerSupportsDelete<ContainerGroupInner>

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ContainerGroupInner>,ContainerGroupInner> beginCreateOrUpdate(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup)

Create or update container groups.

abstract SyncPoller<PollResult<ContainerGroupInner>,ContainerGroupInner> beginCreateOrUpdate(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup, Context context)

Create or update container groups.

abstract PollerFlux<PollResult<ContainerGroupInner>,ContainerGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup)

Create or update container groups.

abstract SyncPoller<PollResult<ContainerGroupInner>,ContainerGroupInner> beginDelete(String resourceGroupName, String containerGroupName)

Delete the specified container group.

abstract SyncPoller<PollResult<ContainerGroupInner>,ContainerGroupInner> beginDelete(String resourceGroupName, String containerGroupName, Context context)

Delete the specified container group.

abstract PollerFlux<PollResult<ContainerGroupInner>,ContainerGroupInner> beginDeleteAsync(String resourceGroupName, String containerGroupName)

Delete the specified container group.

abstract SyncPoller<PollResult<Void>,Void> beginRestart(String resourceGroupName, String containerGroupName)

Restarts all containers in a container group.

abstract SyncPoller<PollResult<Void>,Void> beginRestart(String resourceGroupName, String containerGroupName, Context context)

Restarts all containers in a container group.

abstract PollerFlux<PollResult<Void>,Void> beginRestartAsync(String resourceGroupName, String containerGroupName)

Restarts all containers in a container group.

abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String containerGroupName)

Starts all containers in a container group.

abstract SyncPoller<PollResult<Void>,Void> beginStart(String resourceGroupName, String containerGroupName, Context context)

Starts all containers in a container group.

abstract PollerFlux<PollResult<Void>,Void> beginStartAsync(String resourceGroupName, String containerGroupName)

Starts all containers in a container group.

abstract ContainerGroupInner createOrUpdate(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup)

Create or update container groups.

abstract ContainerGroupInner createOrUpdate(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup, Context context)

Create or update container groups.

abstract Mono<ContainerGroupInner> createOrUpdateAsync(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup)

Create or update container groups.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup)

Create or update container groups.

abstract ContainerGroupInner delete(String resourceGroupName, String containerGroupName)

Delete the specified container group.

abstract ContainerGroupInner delete(String resourceGroupName, String containerGroupName, Context context)

Delete the specified container group.

abstract Mono<ContainerGroupInner> deleteAsync(String resourceGroupName, String containerGroupName)

Delete the specified container group.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String containerGroupName)

Delete the specified container group.

abstract ContainerGroupInner getByResourceGroup(String resourceGroupName, String containerGroupName)

Get the properties of the specified container group.

abstract Mono<ContainerGroupInner> getByResourceGroupAsync(String resourceGroupName, String containerGroupName)

Get the properties of the specified container group.

abstract Response<ContainerGroupInner> getByResourceGroupWithResponse(String resourceGroupName, String containerGroupName, Context context)

Get the properties of the specified container group.

abstract Mono<Response<ContainerGroupInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String containerGroupName)

Get the properties of the specified container group.

abstract List<String> getOutboundNetworkDependenciesEndpoints(String resourceGroupName, String containerGroupName)

Get all network dependencies for container group.

abstract Mono<List<String>> getOutboundNetworkDependenciesEndpointsAsync(String resourceGroupName, String containerGroupName)

Get all network dependencies for container group.

abstract Response<List<String>> getOutboundNetworkDependenciesEndpointsWithResponse(String resourceGroupName, String containerGroupName, Context context)

Get all network dependencies for container group.

abstract Mono<Response<List<String>>> getOutboundNetworkDependenciesEndpointsWithResponseAsync(String resourceGroupName, String containerGroupName)

Get all network dependencies for container group.

abstract PagedIterable<ContainerGroupInner> list()

Get a list of container groups in the specified subscription.

abstract PagedIterable<ContainerGroupInner> list(Context context)

Get a list of container groups in the specified subscription.

abstract PagedFlux<ContainerGroupInner> listAsync()

Get a list of container groups in the specified subscription.

abstract PagedIterable<ContainerGroupInner> listByResourceGroup(String resourceGroupName)

Get a list of container groups in the specified subscription and resource group.

abstract PagedIterable<ContainerGroupInner> listByResourceGroup(String resourceGroupName, Context context)

Get a list of container groups in the specified subscription and resource group.

abstract PagedFlux<ContainerGroupInner> listByResourceGroupAsync(String resourceGroupName)

Get a list of container groups in the specified subscription and resource group.

abstract void restart(String resourceGroupName, String containerGroupName)

Restarts all containers in a container group.

abstract void restart(String resourceGroupName, String containerGroupName, Context context)

Restarts all containers in a container group.

abstract Mono<Void> restartAsync(String resourceGroupName, String containerGroupName)

Restarts all containers in a container group.

abstract Mono<Response<Flux<ByteBuffer>>> restartWithResponseAsync(String resourceGroupName, String containerGroupName)

Restarts all containers in a container group.

abstract void start(String resourceGroupName, String containerGroupName)

Starts all containers in a container group.

abstract void start(String resourceGroupName, String containerGroupName, Context context)

Starts all containers in a container group.

abstract Mono<Void> startAsync(String resourceGroupName, String containerGroupName)

Starts all containers in a container group.

abstract Mono<Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String containerGroupName)

Starts all containers in a container group.

abstract void stop(String resourceGroupName, String containerGroupName)

Stops all containers in a container group.

abstract Mono<Void> stopAsync(String resourceGroupName, String containerGroupName)

Stops all containers in a container group.

abstract Response<Void> stopWithResponse(String resourceGroupName, String containerGroupName, Context context)

Stops all containers in a container group.

abstract Mono<Response<Void>> stopWithResponseAsync(String resourceGroupName, String containerGroupName)

Stops all containers in a container group.

abstract ContainerGroupInner update(String resourceGroupName, String containerGroupName, Resource resource)

Update container groups.

abstract Mono<ContainerGroupInner> updateAsync(String resourceGroupName, String containerGroupName, Resource resource)

Update container groups.

abstract Response<ContainerGroupInner> updateWithResponse(String resourceGroupName, String containerGroupName, Resource resource, Context context)

Update container groups.

abstract Mono<Response<ContainerGroupInner>> updateWithResponseAsync(String resourceGroupName, String containerGroupName, Resource resource)

Update container groups.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,ContainerGroupInner> beginCreateOrUpdate(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup)

Create or update container groups. Create or update container groups with specified configurations.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
containerGroup - The properties of the container group to be created or updated.

Returns:

the SyncPoller<T,U> for polling of a container group.

beginCreateOrUpdate

public abstract SyncPoller,ContainerGroupInner> beginCreateOrUpdate(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup, Context context)

Create or update container groups. Create or update container groups with specified configurations.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
containerGroup - The properties of the container group to be created or updated.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a container group.

beginCreateOrUpdateAsync

public abstract PollerFlux,ContainerGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup)

Create or update container groups. Create or update container groups with specified configurations.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
containerGroup - The properties of the container group to be created or updated.

Returns:

the PollerFlux<T,U> for polling of a container group.

beginDelete

public abstract SyncPoller,ContainerGroupInner> beginDelete(String resourceGroupName, String containerGroupName)

Delete the specified container group. Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

the SyncPoller<T,U> for polling of a container group.

beginDelete

public abstract SyncPoller,ContainerGroupInner> beginDelete(String resourceGroupName, String containerGroupName, Context context)

Delete the specified container group. Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a container group.

beginDeleteAsync

public abstract PollerFlux,ContainerGroupInner> beginDeleteAsync(String resourceGroupName, String containerGroupName)

Delete the specified container group. Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

the PollerFlux<T,U> for polling of a container group.

beginRestart

public abstract SyncPoller,Void> beginRestart(String resourceGroupName, String containerGroupName)

Restarts all containers in a container group. Restarts all containers in a container group in place. If container image has updates, new image will be downloaded.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRestart

public abstract SyncPoller,Void> beginRestart(String resourceGroupName, String containerGroupName, Context context)

Restarts all containers in a container group. Restarts all containers in a container group in place. If container image has updates, new image will be downloaded.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRestartAsync

public abstract PollerFlux,Void> beginRestartAsync(String resourceGroupName, String containerGroupName)

Restarts all containers in a container group. Restarts all containers in a container group in place. If container image has updates, new image will be downloaded.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginStart

public abstract SyncPoller,Void> beginStart(String resourceGroupName, String containerGroupName)

Starts all containers in a container group. Starts all containers in a container group. Compute resources will be allocated and billing will start.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStart

public abstract SyncPoller,Void> beginStart(String resourceGroupName, String containerGroupName, Context context)

Starts all containers in a container group. Starts all containers in a container group. Compute resources will be allocated and billing will start.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStartAsync

public abstract PollerFlux,Void> beginStartAsync(String resourceGroupName, String containerGroupName)

Starts all containers in a container group. Starts all containers in a container group. Compute resources will be allocated and billing will start.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract ContainerGroupInner createOrUpdate(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup)

Create or update container groups. Create or update container groups with specified configurations.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
containerGroup - The properties of the container group to be created or updated.

Returns:

a container group.

createOrUpdate

public abstract ContainerGroupInner createOrUpdate(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup, Context context)

Create or update container groups. Create or update container groups with specified configurations.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
containerGroup - The properties of the container group to be created or updated.
context - The context to associate with this operation.

Returns:

a container group.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup)

Create or update container groups. Create or update container groups with specified configurations.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
containerGroup - The properties of the container group to be created or updated.

Returns:

a container group on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup)

Create or update container groups. Create or update container groups with specified configurations.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
containerGroup - The properties of the container group to be created or updated.

Returns:

a container group along with Response<T> on successful completion of Mono.

delete

public abstract ContainerGroupInner delete(String resourceGroupName, String containerGroupName)

Delete the specified container group. Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

a container group.

delete

public abstract ContainerGroupInner delete(String resourceGroupName, String containerGroupName, Context context)

Delete the specified container group. Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
context - The context to associate with this operation.

Returns:

a container group.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String containerGroupName)

Delete the specified container group. Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

a container group on successful completion of Mono.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String containerGroupName)

Delete the specified container group. Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

a container group along with Response<T> on successful completion of Mono.

getByResourceGroup

public abstract ContainerGroupInner getByResourceGroup(String resourceGroupName, String containerGroupName)

Get the properties of the specified container group. Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

the properties of the specified container group in the specified subscription and resource group.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String containerGroupName)

Get the properties of the specified container group. Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

the properties of the specified container group in the specified subscription and resource group on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String containerGroupName, Context context)

Get the properties of the specified container group. Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
context - The context to associate with this operation.

Returns:

the properties of the specified container group in the specified subscription and resource group along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String containerGroupName)

Get the properties of the specified container group. Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

the properties of the specified container group in the specified subscription and resource group along with Response<T> on successful completion of Mono.

getOutboundNetworkDependenciesEndpoints

public abstract List getOutboundNetworkDependenciesEndpoints(String resourceGroupName, String containerGroupName)

Get all network dependencies for container group. Gets all the network dependencies for this container group to allow complete control of network setting and configuration. For container groups, this will always be an empty list.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

all the network dependencies for this container group to allow complete control of network setting and configuration.

getOutboundNetworkDependenciesEndpointsAsync

public abstract Mono> getOutboundNetworkDependenciesEndpointsAsync(String resourceGroupName, String containerGroupName)

Get all network dependencies for container group. Gets all the network dependencies for this container group to allow complete control of network setting and configuration. For container groups, this will always be an empty list.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

all the network dependencies for this container group to allow complete control of network setting and configuration on successful completion of Mono.

getOutboundNetworkDependenciesEndpointsWithResponse

public abstract Response> getOutboundNetworkDependenciesEndpointsWithResponse(String resourceGroupName, String containerGroupName, Context context)

Get all network dependencies for container group. Gets all the network dependencies for this container group to allow complete control of network setting and configuration. For container groups, this will always be an empty list.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
context - The context to associate with this operation.

Returns:

all the network dependencies for this container group to allow complete control of network setting and configuration along with Response<T>.

getOutboundNetworkDependenciesEndpointsWithResponseAsync

public abstract Mono>> getOutboundNetworkDependenciesEndpointsWithResponseAsync(String resourceGroupName, String containerGroupName)

Get all network dependencies for container group. Gets all the network dependencies for this container group to allow complete control of network setting and configuration. For container groups, this will always be an empty list.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

all the network dependencies for this container group to allow complete control of network setting and configuration along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Get a list of container groups in the specified subscription. Get a list of container groups in the specified subscription. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

Returns:

a list of container groups in the specified subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Get a list of container groups in the specified subscription. Get a list of container groups in the specified subscription. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

Parameters:

context - The context to associate with this operation.

Returns:

a list of container groups in the specified subscription as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Get a list of container groups in the specified subscription. Get a list of container groups in the specified subscription. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

Returns:

a list of container groups in the specified subscription as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Get a list of container groups in the specified subscription and resource group. Get a list of container groups in a specified subscription and resource group. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

a list of container groups in a specified subscription and resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Get a list of container groups in the specified subscription and resource group. Get a list of container groups in a specified subscription and resource group. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

Parameters:

resourceGroupName - The name of the resource group.
context - The context to associate with this operation.

Returns:

a list of container groups in a specified subscription and resource group as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Get a list of container groups in the specified subscription and resource group. Get a list of container groups in a specified subscription and resource group. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

a list of container groups in a specified subscription and resource group as paginated response with PagedFlux<T>.

restart

public abstract void restart(String resourceGroupName, String containerGroupName)

Restarts all containers in a container group. Restarts all containers in a container group in place. If container image has updates, new image will be downloaded.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

restart

public abstract void restart(String resourceGroupName, String containerGroupName, Context context)

Restarts all containers in a container group. Restarts all containers in a container group in place. If container image has updates, new image will be downloaded.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
context - The context to associate with this operation.

restartAsync

public abstract Mono restartAsync(String resourceGroupName, String containerGroupName)

Restarts all containers in a container group. Restarts all containers in a container group in place. If container image has updates, new image will be downloaded.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

A Mono that completes when a successful response is received.

restartWithResponseAsync

public abstract Mono>> restartWithResponseAsync(String resourceGroupName, String containerGroupName)

Restarts all containers in a container group. Restarts all containers in a container group in place. If container image has updates, new image will be downloaded.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

the Response<T> on successful completion of Mono.

start

public abstract void start(String resourceGroupName, String containerGroupName)

Starts all containers in a container group. Starts all containers in a container group. Compute resources will be allocated and billing will start.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

start

public abstract void start(String resourceGroupName, String containerGroupName, Context context)

Starts all containers in a container group. Starts all containers in a container group. Compute resources will be allocated and billing will start.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
context - The context to associate with this operation.

startAsync

public abstract Mono startAsync(String resourceGroupName, String containerGroupName)

Starts all containers in a container group. Starts all containers in a container group. Compute resources will be allocated and billing will start.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

A Mono that completes when a successful response is received.

startWithResponseAsync

public abstract Mono>> startWithResponseAsync(String resourceGroupName, String containerGroupName)

Starts all containers in a container group. Starts all containers in a container group. Compute resources will be allocated and billing will start.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

the Response<T> on successful completion of Mono.

stop

public abstract void stop(String resourceGroupName, String containerGroupName)

Stops all containers in a container group. Stops all containers in a container group. Compute resources will be deallocated and billing will stop.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

stopAsync

public abstract Mono stopAsync(String resourceGroupName, String containerGroupName)

Stops all containers in a container group. Stops all containers in a container group. Compute resources will be deallocated and billing will stop.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

A Mono that completes when a successful response is received.

stopWithResponse

public abstract Response stopWithResponse(String resourceGroupName, String containerGroupName, Context context)

Stops all containers in a container group. Stops all containers in a container group. Compute resources will be deallocated and billing will stop.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
context - The context to associate with this operation.

Returns:

stopWithResponseAsync

public abstract Mono> stopWithResponseAsync(String resourceGroupName, String containerGroupName)

Stops all containers in a container group. Stops all containers in a container group. Compute resources will be deallocated and billing will stop.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.

Returns:

the Response<T> on successful completion of Mono.

update

public abstract ContainerGroupInner update(String resourceGroupName, String containerGroupName, Resource resource)

Update container groups. Updates container group tags with specified values.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
resource - The container group resource with just the tags to be updated.

Returns:

a container group.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String containerGroupName, Resource resource)

Update container groups. Updates container group tags with specified values.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
resource - The container group resource with just the tags to be updated.

Returns:

a container group on successful completion of Mono.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String containerGroupName, Resource resource, Context context)

Update container groups. Updates container group tags with specified values.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
resource - The container group resource with just the tags to be updated.
context - The context to associate with this operation.

Returns:

a container group along with Response<T>.

updateWithResponseAsync

public abstract Mono> updateWithResponseAsync(String resourceGroupName, String containerGroupName, Resource resource)

Update container groups. Updates container group tags with specified values.

Parameters:

resourceGroupName - The name of the resource group.
containerGroupName - The name of the container group.
resource - The container group resource with just the tags to be updated.

Returns:

a container group along with Response<T> on successful completion of Mono.

Applies to