Interface CertificatesClient
public interface CertificatesClient
An instance of this class provides access to all the operations defined in CertificatesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NginxCertificateInner>,
NginxCertificateInner> beginCreate
(String resourceGroupName, String deploymentName, String certificateName, NginxCertificateInner body) Create or update the Nginx certificates for given Nginx deployment.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NginxCertificateInner>,
NginxCertificateInner> beginCreate
(String resourceGroupName, String deploymentName, String certificateName, NginxCertificateInner body, com.azure.core.util.Context context) Create or update the Nginx certificates for given Nginx deployment.beginDelete
(String resourceGroupName, String deploymentName, String certificateName) Deletes a certificate from the nginx deployment.beginDelete
(String resourceGroupName, String deploymentName, String certificateName, com.azure.core.util.Context context) Deletes a certificate from the nginx deployment.Create or update the Nginx certificates for given Nginx deployment.create
(String resourceGroupName, String deploymentName, String certificateName, NginxCertificateInner body) Create or update the Nginx certificates for given Nginx deployment.create
(String resourceGroupName, String deploymentName, String certificateName, NginxCertificateInner body, com.azure.core.util.Context context) Create or update the Nginx certificates for given Nginx deployment.void
Deletes a certificate from the nginx deployment.void
delete
(String resourceGroupName, String deploymentName, String certificateName, com.azure.core.util.Context context) Deletes a certificate from the nginx deployment.Get a certificate of given Nginx deployment.com.azure.core.http.rest.Response<NginxCertificateInner>
getWithResponse
(String resourceGroupName, String deploymentName, String certificateName, com.azure.core.util.Context context) Get a certificate of given Nginx deployment.com.azure.core.http.rest.PagedIterable<NginxCertificateInner>
List all certificates of given Nginx deployment.com.azure.core.http.rest.PagedIterable<NginxCertificateInner>
List all certificates of given Nginx deployment.
-
Method Details
-
get
Get a certificate of given Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.certificateName
- The name of certificate.- Returns:
- a certificate of given Nginx deployment.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- 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<NginxCertificateInner> getWithResponse(String resourceGroupName, String deploymentName, String certificateName, com.azure.core.util.Context context) Get a certificate of given Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.certificateName
- The name of certificate.context
- The context to associate with this operation.- Returns:
- a certificate of given Nginx deployment along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NginxCertificateInner>,NginxCertificateInner> beginCreate(String resourceGroupName, String deploymentName, String certificateName, NginxCertificateInner body) Create or update the Nginx certificates for given Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.certificateName
- The name of certificate.body
- The certificate.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NginxCertificateInner>,NginxCertificateInner> beginCreate(String resourceGroupName, String deploymentName, String certificateName, NginxCertificateInner body, com.azure.core.util.Context context) Create or update the Nginx certificates for given Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.certificateName
- The name of certificate.body
- The certificate.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
create
NginxCertificateInner create(String resourceGroupName, String deploymentName, String certificateName, NginxCertificateInner body) Create or update the Nginx certificates for given Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.certificateName
- The name of certificate.body
- The certificate.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
create
NginxCertificateInner create(String resourceGroupName, String deploymentName, String certificateName) Create or update the Nginx certificates for given Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.certificateName
- The name of certificate.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
create
NginxCertificateInner create(String resourceGroupName, String deploymentName, String certificateName, NginxCertificateInner body, com.azure.core.util.Context context) Create or update the Nginx certificates for given Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.certificateName
- The name of certificate.body
- The certificate.context
- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String deploymentName, String certificateName) Deletes a certificate from the nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.certificateName
- The name of certificate.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String deploymentName, String certificateName, com.azure.core.util.Context context) Deletes a certificate from the nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.certificateName
- The name of certificate.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes a certificate from the nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.certificateName
- The name of certificate.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- 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 deploymentName, String certificateName, com.azure.core.util.Context context) Deletes a certificate from the nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.certificateName
- The name of certificate.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- 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<NginxCertificateInner> list(String resourceGroupName, String deploymentName) List all certificates of given Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.- Returns:
- the paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- 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<NginxCertificateInner> list(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) List all certificates of given Nginx deployment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.deploymentName
- The name of targeted Nginx deployment.context
- The context to associate with this operation.- Returns:
- the paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-