Interface ContainerAppsSourceControlsClient


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

      • listByContainerApp

        com.azure.core.http.rest.PagedIterable<SourceControlInner> listByContainerApp​(String resourceGroupName,
                                                                                      String containerAppName)
        Get the Container App SourceControls 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 SourceControls 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<SourceControlInner> listByContainerApp​(String resourceGroupName,
                                                                                      String containerAppName,
                                                                                      com.azure.core.util.Context context)
        Get the Container App SourceControls 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 SourceControls 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

        SourceControlInner get​(String resourceGroupName,
                               String containerAppName,
                               String sourceControlName)
        Get a SourceControl of a Container App.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        sourceControlName - Name of the Container App SourceControl.
        Returns:
        a SourceControl 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<SourceControlInner> getWithResponse​(String resourceGroupName,
                                                                              String containerAppName,
                                                                              String sourceControlName,
                                                                              com.azure.core.util.Context context)
        Get a SourceControl of a Container App.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        sourceControlName - Name of the Container App SourceControl.
        context - The context to associate with this operation.
        Returns:
        a SourceControl 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SourceControlInner>,​SourceControlInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                              String containerAppName,
                                                                                                                                                              String sourceControlName,
                                                                                                                                                              SourceControlInner sourceControlEnvelope)
        Create or update the SourceControl for a Container App.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        sourceControlName - Name of the Container App SourceControl.
        sourceControlEnvelope - Properties used to create a Container App SourceControl.
        Returns:
        the SyncPoller for polling of container App SourceControl.
        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<SourceControlInner>,​SourceControlInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                              String containerAppName,
                                                                                                                                                              String sourceControlName,
                                                                                                                                                              SourceControlInner sourceControlEnvelope,
                                                                                                                                                              com.azure.core.util.Context context)
        Create or update the SourceControl for a Container App.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        sourceControlName - Name of the Container App SourceControl.
        sourceControlEnvelope - Properties used to create a Container App SourceControl.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of container App SourceControl.
        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

        SourceControlInner createOrUpdate​(String resourceGroupName,
                                          String containerAppName,
                                          String sourceControlName,
                                          SourceControlInner sourceControlEnvelope)
        Create or update the SourceControl for a Container App.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        sourceControlName - Name of the Container App SourceControl.
        sourceControlEnvelope - Properties used to create a Container App SourceControl.
        Returns:
        container App SourceControl.
        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

        SourceControlInner createOrUpdate​(String resourceGroupName,
                                          String containerAppName,
                                          String sourceControlName,
                                          SourceControlInner sourceControlEnvelope,
                                          com.azure.core.util.Context context)
        Create or update the SourceControl for a Container App.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        sourceControlName - Name of the Container App SourceControl.
        sourceControlEnvelope - Properties used to create a Container App SourceControl.
        context - The context to associate with this operation.
        Returns:
        container App SourceControl.
        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 containerAppName,
                                                                                                                          String sourceControlName)
        Delete a Container App SourceControl.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        sourceControlName - Name of the Container App SourceControl.
        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 containerAppName,
                                                                                                                          String sourceControlName,
                                                                                                                          com.azure.core.util.Context context)
        Delete a Container App SourceControl.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        sourceControlName - Name of the Container App SourceControl.
        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.
      • delete

        void delete​(String resourceGroupName,
                    String containerAppName,
                    String sourceControlName)
        Delete a Container App SourceControl.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        sourceControlName - Name of the Container App SourceControl.
        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 sourceControlName,
                    com.azure.core.util.Context context)
        Delete a Container App SourceControl.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        containerAppName - Name of the Container App.
        sourceControlName - Name of the Container App SourceControl.
        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.