Interface ManagedCertificatesClient


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

    • getWithResponse

      com.azure.core.http.rest.Response<ManagedCertificateInner> getWithResponse(String resourceGroupName, String environmentName, String managedCertificateName, com.azure.core.util.Context context)
      Get the specified Managed Certificate.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      managedCertificateName - Name of the Managed Certificate.
      context - The context to associate with this operation.
      Returns:
      the specified Managed Certificate 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.
    • get

      ManagedCertificateInner get(String resourceGroupName, String environmentName, String managedCertificateName)
      Get the specified Managed Certificate.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      managedCertificateName - Name of the Managed Certificate.
      Returns:
      the specified Managed Certificate.
      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<ManagedCertificateInner>,ManagedCertificateInner> beginCreateOrUpdate(String resourceGroupName, String environmentName, String managedCertificateName)
      Create or Update a Managed Certificate.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      managedCertificateName - Name of the Managed Certificate.
      Returns:
      the SyncPoller for polling of managed certificates used for Custom Domain bindings of Container Apps in a Managed Environment.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server on status code 400.
      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<ManagedCertificateInner>,ManagedCertificateInner> beginCreateOrUpdate(String resourceGroupName, String environmentName, String managedCertificateName, ManagedCertificateInner managedCertificateEnvelope, com.azure.core.util.Context context)
      Create or Update a Managed Certificate.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      managedCertificateName - Name of the Managed Certificate.
      managedCertificateEnvelope - Managed Certificate to be created or updated.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of managed certificates used for Custom Domain bindings of Container Apps in a Managed Environment.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server on status code 400.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      ManagedCertificateInner createOrUpdate(String resourceGroupName, String environmentName, String managedCertificateName)
      Create or Update a Managed Certificate.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      managedCertificateName - Name of the Managed Certificate.
      Returns:
      managed certificates used for Custom Domain bindings of Container Apps in a Managed Environment.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server on status code 400.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      ManagedCertificateInner createOrUpdate(String resourceGroupName, String environmentName, String managedCertificateName, ManagedCertificateInner managedCertificateEnvelope, com.azure.core.util.Context context)
      Create or Update a Managed Certificate.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      managedCertificateName - Name of the Managed Certificate.
      managedCertificateEnvelope - Managed Certificate to be created or updated.
      context - The context to associate with this operation.
      Returns:
      managed certificates used for Custom Domain bindings of Container Apps in a Managed Environment.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server on status code 400.
      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 environmentName, String managedCertificateName, com.azure.core.util.Context context)
      Deletes the specified Managed Certificate.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      managedCertificateName - Name of the Managed Certificate.
      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.
    • delete

      void delete(String resourceGroupName, String environmentName, String managedCertificateName)
      Deletes the specified Managed Certificate.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      managedCertificateName - Name of the Managed Certificate.
      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.
    • updateWithResponse

      com.azure.core.http.rest.Response<ManagedCertificateInner> updateWithResponse(String resourceGroupName, String environmentName, String managedCertificateName, ManagedCertificatePatch managedCertificateEnvelope, com.azure.core.util.Context context)
      Update tags of a managed certificate Patches a managed certificate. Oly patching of tags is supported.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      managedCertificateName - Name of the Managed Certificate.
      managedCertificateEnvelope - Properties of a managed certificate that need to be updated.
      context - The context to associate with this operation.
      Returns:
      managed certificates used for Custom Domain bindings of Container Apps in a Managed Environment 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.
    • update

      ManagedCertificateInner update(String resourceGroupName, String environmentName, String managedCertificateName, ManagedCertificatePatch managedCertificateEnvelope)
      Update tags of a managed certificate Patches a managed certificate. Oly patching of tags is supported.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      managedCertificateName - Name of the Managed Certificate.
      managedCertificateEnvelope - Properties of a managed certificate that need to be updated.
      Returns:
      managed certificates used for Custom Domain bindings of Container Apps in a Managed Environment.
      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.
    • list

      com.azure.core.http.rest.PagedIterable<ManagedCertificateInner> list(String resourceGroupName, String environmentName)
      Get the Managed Certificates in a given managed environment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      Returns:
      the Managed Certificates in a given managed environment 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.
    • list

      com.azure.core.http.rest.PagedIterable<ManagedCertificateInner> list(String resourceGroupName, String environmentName, com.azure.core.util.Context context)
      Get the Managed Certificates in a given managed environment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      context - The context to associate with this operation.
      Returns:
      the Managed Certificates in a given managed environment 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.