Interface Certificates
public interface Certificates
Resource collection API of Certificates.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new NginxCertificate resource.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.void
deleteById
(String id) Deletes a certificate from the nginx deployment.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes a certificate from the nginx deployment.Get a certificate of given Nginx deployment.Get a certificate of given Nginx deployment.com.azure.core.http.rest.Response<NginxCertificate>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get a certificate of given Nginx deployment.com.azure.core.http.rest.Response<NginxCertificate>
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<NginxCertificate>
List all certificates of given Nginx deployment.com.azure.core.http.rest.PagedIterable<NginxCertificate>
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<NginxCertificate> 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.
-
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<NginxCertificate> 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<NginxCertificate> 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.
-
getById
Get a certificate of given Nginx deployment.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<NginxCertificate> getByIdWithResponse(String id, com.azure.core.util.Context context) Get a certificate of given Nginx deployment.- Parameters:
id
- the resource ID.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.
-
deleteById
Deletes a certificate from the nginx deployment.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
Deletes a certificate from the nginx deployment.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new NginxCertificate resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new NginxCertificate definition.
-