ComputeBulkActionsExtensions.GetAsyncOperationStatus 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.
Get the status of an async operation of a BulkCreateCustom. <item> Mocking. To mock this method, please mock GetAsyncOperationStatus(AzureLocation, String, CancellationToken) instead. </item>
public static Azure.Response<Azure.ResourceManager.Models.OperationStatusResult> GetAsyncOperationStatus(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string asyncOperationId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsyncOperationStatus : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Models.OperationStatusResult>
<Extension()>
Public Function GetAsyncOperationStatus (subscriptionResource As SubscriptionResource, location As AzureLocation, asyncOperationId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of OperationStatusResult)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- location
- AzureLocation
The location name.
- asyncOperationId
- String
The async operation id.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
subscriptionResource is null.