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