MockableComputeBulkActionsSubscriptionResource.GetAsync 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 a ScheduledActions asynchronous operation. Both the Azure-AsyncOperation and Location headers returned by long-running operations point at this endpoint.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/scheduledActionsOperationStatuses/{operationId}.
- Operation Id. : ScheduledActionOperationStatus_Get.
- Default Api Version. : 2026-08-06-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Models.OperationStatusResult>> GetAsync(Azure.Core.AzureLocation location, string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Models.OperationStatusResult>>
override this.GetAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Models.OperationStatusResult>>
Public Overridable Function GetAsync (location As AzureLocation, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of OperationStatusResult))
Parameters
- location
- AzureLocation
The location name.
- operationId
- String
The operation id.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
operationId is null.
operationId is an empty string, and was expected to be non-empty.