Esempio n. 1
0
 /// <summary>
 /// Verifies if this VNET is compatible with an App Service Environment by
 /// analyzing the Network Security Group rules.
 /// </summary>
 /// <remarks>
 /// Verifies if this VNET is compatible with an App Service Environment by
 /// analyzing the Network Security Group rules.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='parameters'>
 /// VNET information
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <VnetValidationFailureDetails> VerifyHostingEnvironmentVnetAsync(this IWebSiteManagementClient operations, VnetParameters parameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.VerifyHostingEnvironmentVnetWithHttpMessagesAsync(parameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }