Interface ContainerAppsAuthConfigsClient


  • public interface ContainerAppsAuthConfigsClient
    An instance of this class provides access to all the operations defined in ContainerAppsAuthConfigsClient.
    • Method Detail

      • listByContainerApp

        com.azure.core.http.rest.PagedIterable<AuthConfigInner> listByContainerApp​(String resourceGroupName,
                                                                                   String containerAppName)
        Get the Container App AuthConfigs in a given resource group.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        Returns:
        the Container App AuthConfigs 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.
      • listByContainerApp

        com.azure.core.http.rest.PagedIterable<AuthConfigInner> listByContainerApp​(String resourceGroupName,
                                                                                   String containerAppName,
                                                                                   com.azure.core.util.Context context)
        Get the Container App AuthConfigs in a given resource group.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        context - The context to associate with this operation.
        Returns:
        the Container App AuthConfigs 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.
      • get

        AuthConfigInner get​(String resourceGroupName,
                            String containerAppName,
                            String authConfigName)
        Get a AuthConfig of a Container App.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        authConfigName - Name of the Container App AuthConfig.
        Returns:
        a AuthConfig of a 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.
      • getWithResponse

        com.azure.core.http.rest.Response<AuthConfigInner> getWithResponse​(String resourceGroupName,
                                                                           String containerAppName,
                                                                           String authConfigName,
                                                                           com.azure.core.util.Context context)
        Get a AuthConfig of a Container App.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        authConfigName - Name of the Container App AuthConfig.
        context - The context to associate with this operation.
        Returns:
        a AuthConfig of a Container App 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.
      • createOrUpdate

        AuthConfigInner createOrUpdate​(String resourceGroupName,
                                       String containerAppName,
                                       String authConfigName,
                                       AuthConfigInner authConfigEnvelope)
        Create or update the AuthConfig for a Container App.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        authConfigName - Name of the Container App AuthConfig.
        authConfigEnvelope - Properties used to create a Container App AuthConfig.
        Returns:
        configuration settings for the Azure ContainerApp Service Authentication / Authorization feature.
        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.
      • createOrUpdateWithResponse

        com.azure.core.http.rest.Response<AuthConfigInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                      String containerAppName,
                                                                                      String authConfigName,
                                                                                      AuthConfigInner authConfigEnvelope,
                                                                                      com.azure.core.util.Context context)
        Create or update the AuthConfig for a Container App.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        authConfigName - Name of the Container App AuthConfig.
        authConfigEnvelope - Properties used to create a Container App AuthConfig.
        context - The context to associate with this operation.
        Returns:
        configuration settings for the Azure ContainerApp Service Authentication / Authorization feature 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.
      • delete

        void delete​(String resourceGroupName,
                    String containerAppName,
                    String authConfigName)
        Delete a Container App AuthConfig.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        authConfigName - Name of the Container App AuthConfig.
        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.
      • deleteWithResponse

        com.azure.core.http.rest.Response<Void> deleteWithResponse​(String resourceGroupName,
                                                                   String containerAppName,
                                                                   String authConfigName,
                                                                   com.azure.core.util.Context context)
        Delete a Container App AuthConfig.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        authConfigName - Name of the Container App AuthConfig.
        context - The context to associate with this operation.
        Returns:
        the 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.