hybrid_use_benefit_revisions
Creates, updates, deletes, gets or lists a hybrid_use_benefit_revisions
resource.
Overview
Name | hybrid_use_benefit_revisions |
Type | Resource |
Id | azure.software_plan.hybrid_use_benefit_revisions |
Fields
The following fields are returned by SELECT
queries:
- list
OK - returns an array of plans ordered by revision
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
etag | integer (int32) | Indicates the revision of the hybrid use benefit |
properties | object | Property bag for a hybrid use benefit response |
sku | object | Hybrid use benefit SKU |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | scope , planId | Gets the version history of a hybrid use benefit |
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.
Name | Datatype | Description |
---|---|---|
planId | string | This is a unique identifier for a plan. Should be a guid. |
scope | string | The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now |
SELECT
examples
- list
Gets the version history of a hybrid use benefit
SELECT
id,
name,
etag,
properties,
sku,
type
FROM azure.software_plan.hybrid_use_benefit_revisions
WHERE scope = '{{ scope }}' -- required
AND planId = '{{ planId }}' -- required
;