Interface ContainerGroupsClient
- All Superinterfaces:
InnerSupportsDelete<ContainerGroupInner>,InnerSupportsGet<ContainerGroupInner>,InnerSupportsListing<ContainerGroupInner>
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ContainerGroupInner>,ContainerGroupInner> beginCreateOrUpdate(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup) Create or update container groups.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ContainerGroupInner>,ContainerGroupInner> beginCreateOrUpdate(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup, com.azure.core.util.Context context) Create or update container groups.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ContainerGroupInner>,ContainerGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup) Create or update container groups.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ContainerGroupInner>,ContainerGroupInner> beginDelete(String resourceGroupName, String containerGroupName) Delete the specified container group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ContainerGroupInner>,ContainerGroupInner> beginDelete(String resourceGroupName, String containerGroupName, com.azure.core.util.Context context) Delete the specified container group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ContainerGroupInner>,ContainerGroupInner> beginDeleteAsync(String resourceGroupName, String containerGroupName) Delete the specified container group.beginRestart(String resourceGroupName, String containerGroupName) Restarts all containers in a container group.beginRestart(String resourceGroupName, String containerGroupName, com.azure.core.util.Context context) Restarts all containers in a container group.beginRestartAsync(String resourceGroupName, String containerGroupName) Restarts all containers in a container group.beginStart(String resourceGroupName, String containerGroupName) Starts all containers in a container group.beginStart(String resourceGroupName, String containerGroupName, com.azure.core.util.Context context) Starts all containers in a container group.beginStartAsync(String resourceGroupName, String containerGroupName) Starts all containers in a container group.createOrUpdate(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup) Create or update container groups.createOrUpdate(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup, com.azure.core.util.Context context) Create or update container groups.createOrUpdateAsync(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup) Create or update container groups.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup) Create or update container groups.Delete the specified container group.Delete the specified container group.deleteAsync(String resourceGroupName, String containerGroupName) Delete the specified container group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String containerGroupName) Delete the specified container group.getByResourceGroup(String resourceGroupName, String containerGroupName) Get the properties of the specified container group.getByResourceGroupAsync(String resourceGroupName, String containerGroupName) Get the properties of the specified container group.com.azure.core.http.rest.Response<ContainerGroupInner>getByResourceGroupWithResponse(String resourceGroupName, String containerGroupName, com.azure.core.util.Context context) Get the properties of the specified container group.Mono<com.azure.core.http.rest.Response<ContainerGroupInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String containerGroupName) Get the properties of the specified container group.getOutboundNetworkDependenciesEndpoints(String resourceGroupName, String containerGroupName) Get all network dependencies for container group.getOutboundNetworkDependenciesEndpointsAsync(String resourceGroupName, String containerGroupName) Get all network dependencies for container group.getOutboundNetworkDependenciesEndpointsWithResponse(String resourceGroupName, String containerGroupName, com.azure.core.util.Context context) Get all network dependencies for container group.getOutboundNetworkDependenciesEndpointsWithResponseAsync(String resourceGroupName, String containerGroupName) Get all network dependencies for container group.com.azure.core.http.rest.PagedIterable<ContainerGroupInner>list()Get a list of container groups in the specified subscription.com.azure.core.http.rest.PagedIterable<ContainerGroupInner>list(com.azure.core.util.Context context) Get a list of container groups in the specified subscription.com.azure.core.http.rest.PagedFlux<ContainerGroupInner>Get a list of container groups in the specified subscription.com.azure.core.http.rest.PagedIterable<ContainerGroupInner>listByResourceGroup(String resourceGroupName) Get a list of container groups in the specified subscription and resource group.com.azure.core.http.rest.PagedIterable<ContainerGroupInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Get a list of container groups in the specified subscription and resource group.com.azure.core.http.rest.PagedFlux<ContainerGroupInner>listByResourceGroupAsync(String resourceGroupName) Get a list of container groups in the specified subscription and resource group.voidRestarts all containers in a container group.voidRestarts all containers in a container group.restartAsync(String resourceGroupName, String containerGroupName) Restarts all containers in a container group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>restartWithResponseAsync(String resourceGroupName, String containerGroupName) Restarts all containers in a container group.voidStarts all containers in a container group.voidStarts all containers in a container group.startAsync(String resourceGroupName, String containerGroupName) Starts all containers in a container group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>startWithResponseAsync(String resourceGroupName, String containerGroupName) Starts all containers in a container group.voidStops all containers in a container group.Stops all containers in a container group.com.azure.core.http.rest.Response<Void>stopWithResponse(String resourceGroupName, String containerGroupName, com.azure.core.util.Context context) Stops all containers in a container group.stopWithResponseAsync(String resourceGroupName, String containerGroupName) Stops all containers in a container group.update(String resourceGroupName, String containerGroupName, com.azure.core.management.Resource resource) Update container groups.updateAsync(String resourceGroupName, String containerGroupName, com.azure.core.management.Resource resource) Update container groups.com.azure.core.http.rest.Response<ContainerGroupInner>updateWithResponse(String resourceGroupName, String containerGroupName, com.azure.core.management.Resource resource, com.azure.core.util.Context context) Update container groups.Mono<com.azure.core.http.rest.Response<ContainerGroupInner>>updateWithResponseAsync(String resourceGroupName, String containerGroupName, com.azure.core.management.Resource resource) Update container groups.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<ContainerGroupInner> 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.
- Specified by:
listAsyncin interfaceInnerSupportsListing<ContainerGroupInner>- Returns:
- a list of container groups in the specified subscription as paginated response with
PagedFlux. - Throws:
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<ContainerGroupInner> 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.
- Specified by:
listin interfaceInnerSupportsListing<ContainerGroupInner>- Returns:
- a list of container groups in the specified subscription as paginated response with
PagedIterable. - Throws:
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<ContainerGroupInner> list(com.azure.core.util.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. - 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<ContainerGroupInner> 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.
- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<ContainerGroupInner>- 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. - 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ContainerGroupInner> 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.
- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<ContainerGroupInner>- 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. - 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ContainerGroupInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.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. - 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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<ContainerGroupInner>> 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
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.
-
getByResourceGroupAsync
Mono<ContainerGroupInner> 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.
- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<ContainerGroupInner>- 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. - 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ContainerGroupInner> getByResourceGroupWithResponse(String resourceGroupName, String containerGroupName, com.azure.core.util.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. - 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.
-
getByResourceGroup
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.
- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<ContainerGroupInner>- 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.
- 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ContainerGroupInner>,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
PollerFluxfor polling of a container group. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ContainerGroupInner>,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
SyncPollerfor polling of a container group. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ContainerGroupInner>,ContainerGroupInner> beginCreateOrUpdate(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup, com.azure.core.util.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
SyncPollerfor polling of a container group. - 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.
-
createOrUpdateAsync
Mono<ContainerGroupInner> 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. - 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.
-
createOrUpdate
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.
- 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.
-
createOrUpdate
ContainerGroupInner createOrUpdate(String resourceGroupName, String containerGroupName, ContainerGroupInner containerGroup, com.azure.core.util.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.
- 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<ContainerGroupInner>> updateWithResponseAsync(String resourceGroupName, String containerGroupName, com.azure.core.management.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
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.
-
updateAsync
Mono<ContainerGroupInner> updateAsync(String resourceGroupName, String containerGroupName, com.azure.core.management.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. - 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.
-
updateWithResponse
com.azure.core.http.rest.Response<ContainerGroupInner> updateWithResponse(String resourceGroupName, String containerGroupName, com.azure.core.management.Resource resource, com.azure.core.util.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. - 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
ContainerGroupInner update(String resourceGroupName, String containerGroupName, com.azure.core.management.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.
- 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 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
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<ContainerGroupInner>,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
PollerFluxfor polling of a container group. - 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<ContainerGroupInner>,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
SyncPollerfor polling of a container group. - 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<ContainerGroupInner>,ContainerGroupInner> beginDelete(String resourceGroupName, String containerGroupName, com.azure.core.util.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
SyncPollerfor polling of a container group. - 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
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.
- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<ContainerGroupInner>- Parameters:
resourceGroupName- The name of the resource group.containerGroupName- The name of the container group.- Returns:
- a container group 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.
-
delete
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.
- 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
ContainerGroupInner delete(String resourceGroupName, String containerGroupName, com.azure.core.util.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.
- 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.
-
restartWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
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.
-
beginRestartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,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
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.
-
beginRestart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,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
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.
-
beginRestart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRestart(String resourceGroupName, String containerGroupName, com.azure.core.util.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
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.
-
restartAsync
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
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.
-
restart
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.- 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.
-
restart
void restart(String resourceGroupName, String containerGroupName, com.azure.core.util.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.- 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.
-
stopWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> 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
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.
-
stopAsync
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
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.
-
stopWithResponse
com.azure.core.http.rest.Response<Void> stopWithResponse(String resourceGroupName, String containerGroupName, com.azure.core.util.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:
- the
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.
-
stop
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.- 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.
-
startWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
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.
-
beginStartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,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
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.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,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
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.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String containerGroupName, com.azure.core.util.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
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.
-
startAsync
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
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.
-
start
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.- 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.
-
start
void start(String resourceGroupName, String containerGroupName, com.azure.core.util.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.- 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.
-
getOutboundNetworkDependenciesEndpointsWithResponseAsync
Mono<com.azure.core.http.rest.Response<List<String>>> 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
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.
-
getOutboundNetworkDependenciesEndpointsAsync
Mono<List<String>> 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. - 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.
-
getOutboundNetworkDependenciesEndpointsWithResponse
com.azure.core.http.rest.Response<List<String>> getOutboundNetworkDependenciesEndpointsWithResponse(String resourceGroupName, String containerGroupName, com.azure.core.util.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. - 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.
-
getOutboundNetworkDependenciesEndpoints
List<String> 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.
- 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.
-