Interface ContainerAppsClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<ContainerAppInner>, InnerSupportsListing<ContainerAppInner>

An instance of this class provides access to all the operations defined in ContainerAppsClient.
  • Method Details

    • listAsync

      com.azure.core.http.rest.PagedFlux<ContainerAppInner> listAsync()
      Get the Container Apps in a given subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<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 interface InnerSupportsListing<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

      com.azure.core.http.rest.PagedIterable<ContainerAppInner> list(com.azure.core.util.Context context)
      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 interface InnerSupportsListing<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 interface InnerSupportsListing<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 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.
    • getByResourceGroupAsync

      Mono<ContainerAppInner> getByResourceGroupAsync(String resourceGroupName, String name)
      Get the properties of a Container App.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<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

      ContainerAppInner getByResourceGroup(String resourceGroupName, String name)
      Get the properties of a Container App.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<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 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.
    • 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 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.
    • 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

      Mono<Void> deleteAsync(String resourceGroupName, String name)
      Description for Delete a Container App.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<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

      void delete(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.
      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

      void delete(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.
      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 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.
    • listSecretsAsync

      Mono<SecretsCollectionInner> listSecretsAsync(String name)
      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

      SecretsCollectionInner listSecrets(String name)
      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.