Interface ConnectedEnvironmentsCertificates
public interface ConnectedEnvironmentsCertificates
Resource collection API of ConnectedEnvironmentsCertificates.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String connectedEnvironmentName, String certificateName) Create or Update a Certificate.com.azure.core.http.rest.Response<Certificate>
createOrUpdateWithResponse
(String resourceGroupName, String connectedEnvironmentName, 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 connectedEnvironmentName, String certificateName, com.azure.core.util.Context context) Deletes the specified Certificate.Get the specified Certificate.com.azure.core.http.rest.Response<Certificate>
getWithResponse
(String resourceGroupName, String connectedEnvironmentName, String certificateName, com.azure.core.util.Context context) Get the specified Certificate.com.azure.core.http.rest.PagedIterable<Certificate>
Get the Certificates in a given connected environment.com.azure.core.http.rest.PagedIterable<Certificate>
list
(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Get the Certificates in a given connected environment.update
(String resourceGroupName, String connectedEnvironmentName, String certificateName, CertificatePatch certificateEnvelope) Update properties of a certificatecom.azure.core.http.rest.Response<Certificate>
updateWithResponse
(String resourceGroupName, String connectedEnvironmentName, String certificateName, CertificatePatch certificateEnvelope, com.azure.core.util.Context context) Update properties of a certificate
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<Certificate> 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<Certificate> 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<Certificate> 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
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<Certificate> 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
Certificate 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
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<Certificate> updateWithResponse(String resourceGroupName, String connectedEnvironmentName, 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.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
Certificate update(String resourceGroupName, String connectedEnvironmentName, 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.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.
-