Certificates interface
Interface representing a Certificates.
Methods
begin |
Create or update certificate resource. |
begin |
Create or update certificate resource. |
begin |
Delete the certificate resource. |
begin |
Delete the certificate resource. |
get(string, string, string, Certificates |
Get the certificate resource. |
list(string, string, Certificates |
List all the certificates of one user. |
Method Details
beginCreateOrUpdate(string, string, string, CertificateResource, CertificatesCreateOrUpdateOptionalParams)
Create or update certificate resource.
function beginCreateOrUpdate(resourceGroupName: string, serviceName: string, certificateName: string, certificateResource: CertificateResource, options?: CertificatesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CertificateResource>, CertificateResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serviceName
-
string
The name of the Service resource.
- certificateName
-
string
The name of the certificate resource.
- certificateResource
- CertificateResource
Parameters for the create or update operation
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<CertificateResource>, CertificateResource>>
beginCreateOrUpdateAndWait(string, string, string, CertificateResource, CertificatesCreateOrUpdateOptionalParams)
Create or update certificate resource.
function beginCreateOrUpdateAndWait(resourceGroupName: string, serviceName: string, certificateName: string, certificateResource: CertificateResource, options?: CertificatesCreateOrUpdateOptionalParams): Promise<CertificateResource>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serviceName
-
string
The name of the Service resource.
- certificateName
-
string
The name of the certificate resource.
- certificateResource
- CertificateResource
Parameters for the create or update operation
The options parameters.
Returns
Promise<CertificateResource>
beginDelete(string, string, string, CertificatesDeleteOptionalParams)
Delete the certificate resource.
function beginDelete(resourceGroupName: string, serviceName: string, certificateName: string, options?: CertificatesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serviceName
-
string
The name of the Service resource.
- certificateName
-
string
The name of the certificate resource.
- options
- CertificatesDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, CertificatesDeleteOptionalParams)
Delete the certificate resource.
function beginDeleteAndWait(resourceGroupName: string, serviceName: string, certificateName: string, options?: CertificatesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serviceName
-
string
The name of the Service resource.
- certificateName
-
string
The name of the certificate resource.
- options
- CertificatesDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, CertificatesGetOptionalParams)
Get the certificate resource.
function get(resourceGroupName: string, serviceName: string, certificateName: string, options?: CertificatesGetOptionalParams): Promise<CertificateResource>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serviceName
-
string
The name of the Service resource.
- certificateName
-
string
The name of the certificate resource.
- options
- CertificatesGetOptionalParams
The options parameters.
Returns
Promise<CertificateResource>
list(string, string, CertificatesListOptionalParams)
List all the certificates of one user.
function list(resourceGroupName: string, serviceName: string, options?: CertificatesListOptionalParams): PagedAsyncIterableIterator<CertificateResource, CertificateResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serviceName
-
string
The name of the Service resource.
- options
- CertificatesListOptionalParams
The options parameters.