Interface ContainerAppsClient
- All Superinterfaces:
InnerSupportsDelete<Void>
,InnerSupportsGet<ContainerAppInner>
,InnerSupportsListing<ContainerAppInner>
public interface ContainerAppsClient
extends InnerSupportsGet<ContainerAppInner>, InnerSupportsListing<ContainerAppInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ContainerAppsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ContainerAppInner>,
ContainerAppInner> beginCreateOrUpdate
(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope) Description for Create or update a Container App.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ContainerAppInner>,
ContainerAppInner> beginCreateOrUpdate
(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope, com.azure.core.util.Context context) Description for Create or update a Container App.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ContainerAppInner>,
ContainerAppInner> beginCreateOrUpdateAsync
(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope) Description for Create or update a Container App.beginDelete
(String resourceGroupName, String name) Description for Delete a Container App.beginDelete
(String resourceGroupName, String name, com.azure.core.util.Context context) Description for Delete a Container App.beginDeleteAsync
(String resourceGroupName, String name) Description for Delete a Container App.createOrUpdate
(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope) Description for Create or update a Container App.createOrUpdate
(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope, com.azure.core.util.Context context) Description for Create or update a Container App.createOrUpdateAsync
(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope) Description for Create or update a Container App.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>
createOrUpdateWithResponseAsync
(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope) Description for Create or update a Container App.void
Description for Delete a Container App.void
Description for Delete a Container App.deleteAsync
(String resourceGroupName, String name) Description for Delete a Container App.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>
deleteWithResponseAsync
(String resourceGroupName, String name) Description for Delete a Container App.getByResourceGroup
(String resourceGroupName, String name) Get the properties of a Container App.getByResourceGroupAsync
(String resourceGroupName, String name) Get the properties of a Container App.com.azure.core.http.rest.Response<ContainerAppInner>
getByResourceGroupWithResponse
(String resourceGroupName, String name, com.azure.core.util.Context context) Get the properties of a Container App.Mono<com.azure.core.http.rest.Response<ContainerAppInner>>
getByResourceGroupWithResponseAsync
(String resourceGroupName, String name) Get the properties of a Container App.com.azure.core.http.rest.PagedIterable<ContainerAppInner>
list()
Get the Container Apps in a given subscription.com.azure.core.http.rest.PagedIterable<ContainerAppInner>
list
(com.azure.core.util.Context context) Get the Container Apps in a given subscription.com.azure.core.http.rest.PagedFlux<ContainerAppInner>
Get the Container Apps in a given subscription.com.azure.core.http.rest.PagedIterable<ContainerAppInner>
listByResourceGroup
(String resourceGroupName) Get the Container Apps in a given resource group.com.azure.core.http.rest.PagedIterable<ContainerAppInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Get the Container Apps in a given resource group.com.azure.core.http.rest.PagedFlux<ContainerAppInner>
listByResourceGroupAsync
(String resourceGroupName) Get the Container Apps in a given resource group.listSecrets
(String name) List secrets for a container app.listSecretsAsync
(String name) List secrets for a container app.com.azure.core.http.rest.Response<SecretsCollectionInner>
listSecretsWithResponse
(String name, com.azure.core.util.Context context) List secrets for a container app.Mono<com.azure.core.http.rest.Response<SecretsCollectionInner>>
List secrets for a container app.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<ContainerAppInner> listAsync()Get the Container Apps in a given subscription.- Specified by:
listAsync
in interfaceInnerSupportsListing<ContainerAppInner>
- Returns:
- the Container Apps in a given subscription as paginated response with
PagedFlux
. - Throws:
DefaultErrorResponseErrorException
- 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<ContainerAppInner> list()Get the Container Apps in a given subscription.- Specified by:
list
in interfaceInnerSupportsListing<ContainerAppInner>
- Returns:
- the Container Apps in a given subscription as paginated response with
PagedIterable
. - Throws:
DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
Get the Container Apps in a given subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- the Container Apps in a given subscription as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- 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<ContainerAppInner> listByResourceGroupAsync(String resourceGroupName) Get the Container Apps in a given resource group.- Specified by:
listByResourceGroupAsync
in interfaceInnerSupportsListing<ContainerAppInner>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.- Returns:
- the Container Apps in a given resource group as paginated response with
PagedFlux
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- 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<ContainerAppInner> listByResourceGroup(String resourceGroupName) Get the Container Apps in a given resource group.- Specified by:
listByResourceGroup
in interfaceInnerSupportsListing<ContainerAppInner>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.- Returns:
- the Container Apps in a given resource group as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- 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<ContainerAppInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Get the Container Apps in a given resource group.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.context
- The context to associate with this operation.- Returns:
- the Container Apps in a given resource group as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- 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<ContainerAppInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String name) Get the properties of a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.- Returns:
- the properties of a Container App along with
Response
on 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
Get the properties of a Container App.- Specified by:
getByResourceGroupAsync
in interfaceInnerSupportsGet<ContainerAppInner>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.- Returns:
- the properties of a Container App 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.
-
getByResourceGroup
Get the properties of a Container App.- Specified by:
getByResourceGroup
in interfaceInnerSupportsGet<ContainerAppInner>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.- Returns:
- the properties of a Container App.
- 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<ContainerAppInner> getByResourceGroupWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context) Get the properties of a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.context
- The context to associate with this operation.- Returns:
- the properties of a Container App 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope) Description for Create or update a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.containerAppEnvelope
- Container App.- Returns:
- container App along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- 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<ContainerAppInner>,ContainerAppInner> beginCreateOrUpdateAsync(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope) Description for Create or update a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.containerAppEnvelope
- Container App.- Returns:
- the
PollerFlux
for polling of container App. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- 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<ContainerAppInner>,ContainerAppInner> beginCreateOrUpdate(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope) Description for Create or update a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.containerAppEnvelope
- Container App.- Returns:
- the
SyncPoller
for polling of container App. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- 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<ContainerAppInner>,ContainerAppInner> beginCreateOrUpdate(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope, com.azure.core.util.Context context) Description for Create or update a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.containerAppEnvelope
- Container App.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of container App. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<ContainerAppInner> createOrUpdateAsync(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope) Description for Create or update a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.containerAppEnvelope
- Container App.- Returns:
- container App on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ContainerAppInner createOrUpdate(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope) Description for Create or update a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.containerAppEnvelope
- Container App.- Returns:
- container App.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ContainerAppInner createOrUpdate(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope, com.azure.core.util.Context context) Description for Create or update a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.containerAppEnvelope
- Container App.context
- The context to associate with this operation.- Returns:
- container App.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- 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 name) Description for Delete a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.- Returns:
- the
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- 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 name) Description for Delete a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.- Returns:
- the
PollerFlux
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- 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 name) Description for Delete a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- 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 name, com.azure.core.util.Context context) Description for Delete a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Description for Delete a Container App.- Specified by:
deleteAsync
in interfaceInnerSupportsDelete<Void>
- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.- Returns:
- A
Mono
that completes when a successful response is received. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Description for Delete a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Description for Delete a Container App.- Parameters:
resourceGroupName
- Name of the resource group to which the resource belongs.name
- Name of the Container App.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listSecretsWithResponseAsync
Mono<com.azure.core.http.rest.Response<SecretsCollectionInner>> listSecretsWithResponseAsync(String name) List secrets for a container app.- Parameters:
name
- Name of the Container App.- Returns:
- container App Secrets Collection ARM resource along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listSecretsAsync
List secrets for a container app.- Parameters:
name
- Name of the Container App.- Returns:
- container App Secrets Collection ARM resource on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listSecrets
List secrets for a container app.- Parameters:
name
- Name of the Container App.- Returns:
- container App Secrets Collection ARM resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listSecretsWithResponse
com.azure.core.http.rest.Response<SecretsCollectionInner> listSecretsWithResponse(String name, com.azure.core.util.Context context) List secrets for a container app.- Parameters:
name
- Name of the Container App.context
- The context to associate with this operation.- Returns:
- container App Secrets Collection ARM resource along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-