TaskAgentHttpClientBase.GetAzureSubscriptionsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Preview API] Returns list of azure subscriptions
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.AzureSubscriptionQueryResult> GetAzureSubscriptionsAsync(object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetAzureSubscriptionsAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.AzureSubscriptionQueryResult>
override this.GetAzureSubscriptionsAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.AzureSubscriptionQueryResult>
Parameters
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.