/// <summary> /// Creates an encrypted credentials parameter blob for the specified region. /// To get the web service from a region other than the region in which it has /// been created, you must first call Create Regional Web Services Properties /// to create a copy of the encrypted credential parameter blob in that region. /// You only need to do this before the first time that you get the web service /// in the new region. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group in which the web service is located. /// </param> /// <param name='webServiceName'> /// The name of the web service. /// </param> /// <param name='region'> /// The region for which encrypted credential parameters are created. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <AsyncOperationStatusInner> BeginCreateRegionalPropertiesAsync(this IWebServicesOperations operations, string resourceGroupName, string webServiceName, string region, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginCreateRegionalPropertiesWithHttpMessagesAsync(resourceGroupName, webServiceName, region, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }