Skip to main content

locations_operations_status

Creates, updates, deletes, gets or lists a locations_operations_status resource.

Overview

Namelocations_operations_status
TypeResource
Idazure_stack.subscriptions_admin.locations_operations_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idobjectThe operation status identifier.
endTimestring (date-time)The end time of the operation.
errorobjectThe operation error.
percentCompletenumberThe completion percentage of the operation.
propertiesobjectThe internal operation properties.
responseContentobjectThe content of the response.
retryAfterstringThe amount of time clients should wait..
startTimestring (date-time)The start time of the operation.
statusstringThe status of the operation.
terminalHttpStatusCodestringThe terminal http status code for the operation.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, location, operationsStatusNameGet the operation status.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationstringThe AzureStack location.
operationsStatusNamestringThe operation status name.
subscriptionIdstringSubscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call.

SELECT examples

Get the operation status.

SELECT
id,
endTime,
error,
percentComplete,
properties,
responseContent,
retryAfter,
startTime,
status,
terminalHttpStatusCode
FROM azure_stack.subscriptions_admin.locations_operations_status
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
AND operationsStatusName = '{{ operationsStatusName }}' -- required
;