Пример #1
0
 /// <summary>
 /// Gets the Web Service Definition as specified by a subscription, resource
 /// group, and name. Note that the storage credentials and web service keys are
 /// not returned by this call. To get the web service access keys, call List
 /// Keys.
 /// </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 valid.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <WebServiceInner> GetAsync(this IWebServicesOperations operations, string resourceGroupName, string webServiceName, string region = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, webServiceName, region, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }