Interface TenantAccessGitsClient


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

      • regeneratePrimaryKey

        void regeneratePrimaryKey​(String resourceGroupName,
                                  String serviceName,
                                  AccessIdName accessName)
        Regenerate primary access key for GIT.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceName - The name of the API Management service.
        accessName - The identifier of the Access configuration.
        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.
      • regeneratePrimaryKeyWithResponse

        com.azure.core.http.rest.Response<Void> regeneratePrimaryKeyWithResponse​(String resourceGroupName,
                                                                                 String serviceName,
                                                                                 AccessIdName accessName,
                                                                                 com.azure.core.util.Context context)
        Regenerate primary access key for GIT.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceName - The name of the API Management service.
        accessName - The identifier of the Access configuration.
        context - The context to associate with this operation.
        Returns:
        the 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.
      • regenerateSecondaryKey

        void regenerateSecondaryKey​(String resourceGroupName,
                                    String serviceName,
                                    AccessIdName accessName)
        Regenerate secondary access key for GIT.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceName - The name of the API Management service.
        accessName - The identifier of the Access configuration.
        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.
      • regenerateSecondaryKeyWithResponse

        com.azure.core.http.rest.Response<Void> regenerateSecondaryKeyWithResponse​(String resourceGroupName,
                                                                                   String serviceName,
                                                                                   AccessIdName accessName,
                                                                                   com.azure.core.util.Context context)
        Regenerate secondary access key for GIT.
        Parameters:
        resourceGroupName - The name of the resource group.
        serviceName - The name of the API Management service.
        accessName - The identifier of the Access configuration.
        context - The context to associate with this operation.
        Returns:
        the 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.