/// <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> public static AsyncOperationStatus BeginCreateRegionalProperties(this IWebServicesOperations operations, string resourceGroupName, string webServiceName, string region) { return(operations.BeginCreateRegionalPropertiesAsync(resourceGroupName, webServiceName, region).GetAwaiter().GetResult()); }