Interface CertificatesClient
public interface CertificatesClient
An instance of this class provides access to all the operations defined in CertificatesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String environmentName, String certificateName) Create or Update a Certificate.com.azure.core.http.rest.Response<CertificateInner>
createOrUpdateWithResponse
(String resourceGroupName, String environmentName, String certificateName, CertificateInner certificateEnvelope, com.azure.core.util.Context context) Create or Update a Certificate.void
Deletes the specified Certificate.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String environmentName, String certificateName, com.azure.core.util.Context context) Deletes the specified Certificate.Get the specified Certificate.com.azure.core.http.rest.Response<CertificateInner>
getWithResponse
(String resourceGroupName, String environmentName, String certificateName, com.azure.core.util.Context context) Get the specified Certificate.com.azure.core.http.rest.PagedIterable<CertificateInner>
Get the Certificates in a given managed environment.com.azure.core.http.rest.PagedIterable<CertificateInner>
Get the Certificates in a given managed environment.update
(String resourceGroupName, String environmentName, String certificateName, CertificatePatch certificateEnvelope) Update properties of a certificatecom.azure.core.http.rest.Response<CertificateInner>
updateWithResponse
(String resourceGroupName, String environmentName, String certificateName, CertificatePatch certificateEnvelope, com.azure.core.util.Context context) Update properties of a certificate
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<CertificateInner> list(String resourceGroupName, String environmentName) Get the 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 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<CertificateInner> list(String resourceGroupName, String environmentName, com.azure.core.util.Context context) Get the 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 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.
-
getWithResponse
com.azure.core.http.rest.Response<CertificateInner> getWithResponse(String resourceGroupName, String environmentName, 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.environmentName
- Name of the Managed 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
Get the specified Certificate.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.environmentName
- Name of the Managed 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 environmentName, 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.environmentName
- Name of the Managed 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 environmentName, String certificateName) Create or Update a Certificate.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.environmentName
- Name of the Managed 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 environmentName, 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.environmentName
- Name of the Managed 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
Deletes the specified Certificate.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.environmentName
- Name of the Managed 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 environmentName, String certificateName, CertificatePatch certificateEnvelope, com.azure.core.util.Context context) Update properties of a certificatePatches a certificate. Currently only patching of tags is supported.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.environmentName
- Name of the Managed 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 environmentName, String certificateName, CertificatePatch certificateEnvelope) Update properties of a certificatePatches a certificate. Currently only patching of tags is supported.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.environmentName
- Name of the Managed 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.
-