VaultCertificatesOperationsExtensions.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Uploads a certificate for a resource.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Models.VaultCertificateResponse> CreateAsync (this Microsoft.Azure.Management.RecoveryServices.IVaultCertificatesOperations operations, string resourceGroupName, string vaultName, string certificateName, Microsoft.Azure.Management.RecoveryServices.Models.RawCertificateData properties = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.RecoveryServices.IVaultCertificatesOperations * string * string * string * Microsoft.Azure.Management.RecoveryServices.Models.RawCertificateData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Models.VaultCertificateResponse>
<Extension()>
Public Function CreateAsync (operations As IVaultCertificatesOperations, resourceGroupName As String, vaultName As String, certificateName As String, Optional properties As RawCertificateData = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VaultCertificateResponse)
Parameters
- operations
- IVaultCertificatesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group where the recovery services vault is present.
- vaultName
- String
The name of the recovery services vault.
- certificateName
- String
Certificate friendly name.
- properties
- RawCertificateData
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET