Exemple #1
0
 /// <summary>
 /// Get the list of valid SKUs for a provisioning service.
 /// </summary>
 /// <remarks>
 /// Gets the list of valid SKUs and tiers for a provisioning service.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='provisioningServiceName'>
 /// Name of provisioning service.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of resource group.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <IotDpsSkuDefinition> > ListValidSkusAsync(this IIotDpsResourceOperations operations, string provisioningServiceName, string resourceGroupName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListValidSkusWithHttpMessagesAsync(provisioningServiceName, resourceGroupName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }