Interface ContainerAppsClient

    • Method Detail

      • 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.
        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.
        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.
        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.
        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.
        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.
        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:
        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:
        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:
        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.
        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 completion.
        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 completion.
        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 completion.
        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 completion.
        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.
      • 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.
        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.