Esempio n. 1
0
 /// <summary>
 /// Creates/Uploads a certificate for a specific subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='subscriptionId'>
 /// The subscription that owns the certificate.
 /// </param>
 /// <param name='name'>
 /// </param>
 /// <param name='certificate'>
 /// </param>
 /// <param name='certificatePassword'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <CertificateResponse> CreateCertificatesAsync(this IInternalClient operations, System.Guid subscriptionId, string name, Stream certificate, string certificatePassword = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateCertificatesWithHttpMessagesAsync(subscriptionId, name, certificate, certificatePassword, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }