Interface ISubscriptionOperationOperations
SubscriptionOperationOperations operations.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Subscription.dll
Syntax
public interface ISubscriptionOperationOperations
Methods
GetWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)
Get the status of the pending Microsoft.Subscription API operations.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Subscription.Models.SubscriptionCreationResult,Microsoft.Azure.Management.Subscription.Models.SubscriptionOperationGetHeaders>> GetWithHttpMessagesAsync (string operationId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
String
operationId
The operation ID, which can be found from the Location field in the generate recommendation response header. |
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
CancellationToken
cancellationToken
The cancellation token. |
Returns
Task<AzureOperationResponse<SubscriptionCreationResult,SubscriptionOperationGetHeaders>>
|
Exceptions
CloudException
Thrown when the operation returned an invalid status code |
SerializationException
Thrown when unable to deserialize the response |
ValidationException
Thrown when a required parameter is null |