Interface ConnectedEnvironmentsCertificatesClient


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

    • list

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

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

      CertificateInner get(String resourceGroupName, String connectedEnvironmentName, String certificateName)
      Get the specified Certificate.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      connectedEnvironmentName - Name of the Connected Environment.
      certificateName - Name of the Certificate.
      Returns:
      the specified 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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<CertificateInner> createOrUpdateWithResponse(String resourceGroupName, String connectedEnvironmentName, String certificateName, CertificateInner certificateEnvelope, com.azure.core.util.Context context)
      Create or Update a Certificate.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      connectedEnvironmentName - Name of the Connected Environment.
      certificateName - Name of the Certificate.
      certificateEnvelope - Certificate to be created or updated.
      context - The context to associate with this operation.
      Returns:
      certificate 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.
    • createOrUpdate

      CertificateInner createOrUpdate(String resourceGroupName, String connectedEnvironmentName, String certificateName)
      Create or Update a Certificate.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      connectedEnvironmentName - Name of the Connected Environment.
      certificateName - Name of the Certificate.
      Returns:
      certificate 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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String connectedEnvironmentName, String certificateName, com.azure.core.util.Context context)
      Deletes the specified Certificate.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      connectedEnvironmentName - Name of the Connected Environment.
      certificateName - Name of the 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 connectedEnvironmentName, String certificateName)
      Deletes the specified Certificate.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      connectedEnvironmentName - Name of the Connected Environment.
      certificateName - Name of the 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<CertificateInner> updateWithResponse(String resourceGroupName, String connectedEnvironmentName, String certificateName, CertificatePatch certificateEnvelope, com.azure.core.util.Context context)
      Update properties of a certificate

      Patches a certificate. Currently only patching of tags is supported.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      connectedEnvironmentName - Name of the Connected Environment.
      certificateName - Name of the Certificate.
      certificateEnvelope - Properties of a certificate that need to be updated.
      context - The context to associate with this operation.
      Returns:
      certificate 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

      CertificateInner update(String resourceGroupName, String connectedEnvironmentName, String certificateName, CertificatePatch certificateEnvelope)
      Update properties of a certificate

      Patches a certificate. Currently only patching of tags is supported.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      connectedEnvironmentName - Name of the Connected Environment.
      certificateName - Name of the Certificate.
      certificateEnvelope - Properties of a certificate that need to be updated.
      Returns:
      certificate 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.