/// <summary>
 /// Retrieve a list of allocated stamps.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.RecoveryServices.IStampOperations.
 /// </param>
 /// <param name='region'>
 /// Required. Region of the stamp.
 /// </param>
 /// <param name='provisioningApiVersion'>
 /// Required. Provisioning api version.
 /// </param>
 /// <param name='parameters'>
 /// Required. Stamp query parameter.
 /// </param>
 /// <param name='customRequestHeaders'>
 /// Optional. Request header parameters.
 /// </param>
 /// <returns>
 /// The response model for Stamp.
 /// </returns>
 public static StampListResponse List(this IStampOperations operations, string region, string provisioningApiVersion, StampQueryParameter parameters, CustomRequestHeaders customRequestHeaders)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((IStampOperations)s).ListAsync(region, provisioningApiVersion, parameters, customRequestHeaders);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
 /// <summary>
 /// Retrieve a list of allocated stamps.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.RecoveryServices.IStampOperations.
 /// </param>
 /// <param name='region'>
 /// Required. Region of the stamp.
 /// </param>
 /// <param name='provisioningApiVersion'>
 /// Required. Provisioning api version.
 /// </param>
 /// <param name='parameters'>
 /// Required. Stamp query parameter.
 /// </param>
 /// <param name='customRequestHeaders'>
 /// Optional. Request header parameters.
 /// </param>
 /// <returns>
 /// The response model for Stamp.
 /// </returns>
 public static Task<StampListResponse> ListAsync(this IStampOperations operations, string region, string provisioningApiVersion, StampQueryParameter parameters, CustomRequestHeaders customRequestHeaders)
 {
     return operations.ListAsync(region, provisioningApiVersion, parameters, customRequestHeaders, CancellationToken.None);
 }