Interface ManagedCertificates
public interface ManagedCertificates
Resource collection API of ManagedCertificates.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new ManagedCertificate resource.void
Deletes the specified Managed Certificate.void
deleteById
(String id) Deletes the specified Managed Certificate.com.azure.core.http.rest.Response
<Void> deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the specified Managed Certificate.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.Get the specified Managed Certificate.Get the specified Managed Certificate.com.azure.core.http.rest.Response
<ManagedCertificate> getByIdWithResponse
(String id, com.azure.core.util.Context context) Get the specified Managed Certificate.com.azure.core.http.rest.Response
<ManagedCertificate> getWithResponse
(String resourceGroupName, String environmentName, String managedCertificateName, com.azure.core.util.Context context) Get the specified Managed Certificate.com.azure.core.http.rest.PagedIterable
<ManagedCertificate> Get the Managed Certificates in a given managed environment.com.azure.core.http.rest.PagedIterable
<ManagedCertificate> Get the Managed Certificates in a given managed environment.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<ManagedCertificate> 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
ManagedCertificate 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.
-
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
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.
-
list
com.azure.core.http.rest.PagedIterable<ManagedCertificate> 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<ManagedCertificate> 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.
-
getById
Get the specified Managed Certificate.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<ManagedCertificate> getByIdWithResponse(String id, com.azure.core.util.Context context) Get the specified Managed Certificate.- Parameters:
id
- the resource ID.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.
-
deleteById
Deletes the specified Managed Certificate.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes the specified Managed Certificate.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new ManagedCertificate resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new ManagedCertificate definition.
-