MockableComputeBulkActionsSubscriptionResource.Get 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.
Gets the status of the specified scheduled action operation.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/scheduledActionsOperationStatuses/{operationId}.
- Operation Id. : ScheduledActionOperationStatus_Get.
- Default Api Version. : 2026-09-06-preview.
public virtual Azure.Response<Azure.ResourceManager.Models.OperationStatusResult> Get(Azure.Core.AzureLocation location, string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Models.OperationStatusResult>
override this.Get : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Models.OperationStatusResult>
Public Overridable Function Get (location As AzureLocation, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of OperationStatusResult)
Parameters
- location
- AzureLocation
The Azure region where the operation is running.
- operationId
- String
The operation ID in UUID format.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
operationId is null.
operationId is an empty string, and was expected to be non-empty.