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) 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) 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) Create or update a Container App.beginDelete(String resourceGroupName, String name) Delete a Container App.beginDelete(String resourceGroupName, String name, com.azure.core.util.Context context) Delete a Container App.beginDeleteAsync(String resourceGroupName, String name) Delete a Container App.createOrUpdate(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope) Create or update a Container App.createOrUpdate(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope, com.azure.core.util.Context context) Create or update a Container App.createOrUpdateAsync(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope) Create or update a Container App.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String name, ContainerAppInner containerAppEnvelope) Create or update a Container App.voidDelete a Container App.voidDelete a Container App.deleteAsync(String resourceGroupName, String name) Delete a Container App.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String name) 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:
listAsyncin 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:
listin 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:
listByResourceGroupAsyncin 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:
listByResourceGroupin 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server on status code 404.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Get the properties of a Container App.- Specified by:
getByResourceGroupAsyncin 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.DefaultErrorResponseErrorException- thrown if the request is rejected by server.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server on status code 404.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.DefaultErrorResponseErrorException- thrown if the request is rejected by server.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server on status code 404.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Get the properties of a Container App.- Specified by:
getByResourceGroupin 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.DefaultErrorResponseErrorException- thrown if the request is rejected by server.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server on status code 404.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) Create or update a Container App. 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- The containerAppEnvelope parameter.- Returns:
- container App along with
Responseon 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) Create or update a Container App. 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- The containerAppEnvelope parameter.- Returns:
- the
PollerFluxfor 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) Create or update a Container App. 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- The containerAppEnvelope parameter.- Returns:
- the
SyncPollerfor 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) Create or update a Container App. 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- The containerAppEnvelope parameter.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor 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) Create or update a Container App. 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- The containerAppEnvelope parameter.- 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) Create or update a Container App. 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- The containerAppEnvelope parameter.- 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) Create or update a Container App. 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- The containerAppEnvelope parameter.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) Delete a Container App. 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
Responseon 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) Delete a Container App. 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
PollerFluxfor 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) Delete a Container App. 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
SyncPollerfor 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) Delete a Container App. 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
SyncPollerfor 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
Delete a Container App. Description for Delete a Container App.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Name of the Container App.- Returns:
- A
Monothat 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
Delete a Container App. 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
Delete a Container App. 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
Responseon 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.
-
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.
-
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.
-