コード例 #1
0
 /// <summary>
 /// Fetches the AAD properties from target region BCM stamp.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='azureRegion'>
 /// Azure region to hit Api
 /// </param>
 /// <param name='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <AADPropertiesResource> GetAsync(this IAadPropertiesOperations operations, string azureRegion, ODataQuery <BMSAADPropertiesQueryObject> odataQuery = default(ODataQuery <BMSAADPropertiesQueryObject>), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(azureRegion, odataQuery, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
コード例 #2
0
 /// <summary>
 /// Fetches the AAD properties from target region BCM stamp.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='azureRegion'>
 /// Azure region to hit Api
 /// </param>
 /// <param name='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 public static AADPropertiesResource Get(this IAadPropertiesOperations operations, string azureRegion, ODataQuery <BMSAADPropertiesQueryObject> odataQuery = default(ODataQuery <BMSAADPropertiesQueryObject>))
 {
     return(operations.GetAsync(azureRegion, odataQuery).GetAwaiter().GetResult());
 }
コード例 #3
0
 /// <summary>
 /// Fetches the AAD properties from target region BCM stamp.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='azureRegion'>
 /// Azure region to hit Api
 /// </param>
 public static AADPropertiesResource Get(this IAadPropertiesOperations operations, string azureRegion)
 {
     return(operations.GetAsync(azureRegion).GetAwaiter().GetResult());
 }