Ejemplo n.º 1
0
 /// <summary>
 /// Check if a domain is available for registration.
 /// </summary>
 /// <remarks>
 /// Check if a domain is available for registration.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='identifier'>
 /// Name of the domain.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <DomainAvailablilityCheckResultInner> CheckAvailabilityAsync(this IDomainsOperations operations, NameIdentifierInner identifier, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CheckAvailabilityWithHttpMessagesAsync(identifier, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Verify domain ownership for this certificate order.
 /// </summary>
 /// <remarks>
 /// Verify domain ownership for this certificate order.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group to which the resource belongs.
 /// </param>
 /// <param name='certificateOrderName'>
 /// Name of the certificate order.
 /// </param>
 /// <param name='nameIdentifier'>
 /// Email address
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ResendRequestEmailsAsync(this IAppServiceCertificateOrdersOperations operations, string resourceGroupName, string certificateOrderName, NameIdentifierInner nameIdentifier, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.ResendRequestEmailsWithHttpMessagesAsync(resourceGroupName, certificateOrderName, nameIdentifier, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }