Skip to main content

subscription_operation

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

Overview​

Namesubscription_operation
TypeResource
Idazure.subscription.subscription_operation

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
subscriptionLinkstringThe link to the new subscription. Use this link to check the status of subscription creation operation.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectoperation_idGet the status of the pending Microsoft.Subscription API operations.

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
operation_idstringThe operation ID, which can be found from the Location field in the generate recommendation response header. Required.

SELECT examples​

Get the status of the pending Microsoft.Subscription API operations.

SELECT
subscriptionLink
FROM azure.subscription.subscription_operation
WHERE operation_id = '{{ operation_id }}' -- required
;