NetworkExtensions.Get Method

Definition

Gets the operation status for the given operation id. <item> Mocking. To mock this method, please mock Get(AzureLocation, String, CancellationToken) instead. </item>

public static Azure.Response<Azure.ResourceManager.Models.OperationStatusResult> Get(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string operationId, System.Threading.CancellationToken cancellationToken = default);
static member Get : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Models.OperationStatusResult>
<Extension()>
Public Function Get (subscriptionResource As SubscriptionResource, location As AzureLocation, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of OperationStatusResult)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

location
AzureLocation

The name of the Azure region.

operationId
String

The operation id of the async operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource is null.

Applies to