Interface CertificatesClient


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

    • delete

      void delete(String resourceGroupName, String automationAccountName, String certificateName)
      Delete the certificate.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      certificateName - The name of certificate.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, String certificateName, com.azure.core.util.Context context)
      Delete the certificate.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      certificateName - The name of certificate.
      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.
    • get

      CertificateInner get(String resourceGroupName, String automationAccountName, String certificateName)
      Retrieve the certificate identified by certificate name.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      certificateName - The name of certificate.
      Returns:
      definition of the certificate.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<CertificateInner> getWithResponse(String resourceGroupName, String automationAccountName, String certificateName, com.azure.core.util.Context context)
      Retrieve the certificate identified by certificate name.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      certificateName - The name of certificate.
      context - The context to associate with this operation.
      Returns:
      definition of the certificate 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.
    • createOrUpdate

      CertificateInner createOrUpdate(String resourceGroupName, String automationAccountName, String certificateName, CertificateCreateOrUpdateParameters parameters)
      Create a certificate.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      certificateName - The parameters supplied to the create or update certificate operation.
      parameters - The parameters supplied to the create or update certificate operation.
      Returns:
      definition of the certificate.
      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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<CertificateInner> createOrUpdateWithResponse(String resourceGroupName, String automationAccountName, String certificateName, CertificateCreateOrUpdateParameters parameters, com.azure.core.util.Context context)
      Create a certificate.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      certificateName - The parameters supplied to the create or update certificate operation.
      parameters - The parameters supplied to the create or update certificate operation.
      context - The context to associate with this operation.
      Returns:
      definition of the certificate 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.
    • update

      CertificateInner update(String resourceGroupName, String automationAccountName, String certificateName, CertificateUpdateParameters parameters)
      Update a certificate.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      certificateName - The parameters supplied to the update certificate operation.
      parameters - The parameters supplied to the update certificate operation.
      Returns:
      definition of the certificate.
      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.
    • updateWithResponse

      com.azure.core.http.rest.Response<CertificateInner> updateWithResponse(String resourceGroupName, String automationAccountName, String certificateName, CertificateUpdateParameters parameters, com.azure.core.util.Context context)
      Update a certificate.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      certificateName - The parameters supplied to the update certificate operation.
      parameters - The parameters supplied to the update certificate operation.
      context - The context to associate with this operation.
      Returns:
      definition of the certificate 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.
    • listByAutomationAccount

      com.azure.core.http.rest.PagedIterable<CertificateInner> listByAutomationAccount(String resourceGroupName, String automationAccountName)
      Retrieve a list of certificates.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      Returns:
      the response model for the list certificate operation as paginated response with PagedIterable.
      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.
    • listByAutomationAccount

      com.azure.core.http.rest.PagedIterable<CertificateInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context)
      Retrieve a list of certificates.
      Parameters:
      resourceGroupName - Name of an Azure Resource group.
      automationAccountName - The name of the automation account.
      context - The context to associate with this operation.
      Returns:
      the response model for the list certificate operation as paginated response with PagedIterable.
      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.