Skip to main content

hybrid_use_benefit_revisions

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

Overview

Namehybrid_use_benefit_revisions
TypeResource
Idazure.software_plan.hybrid_use_benefit_revisions

Fields

The following fields are returned by SELECT queries:

OK - returns an array of plans ordered by revision

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
etaginteger (int32)Indicates the revision of the hybrid use benefit
propertiesobjectProperty bag for a hybrid use benefit response
skuobjectHybrid use benefit SKU
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectscope, planIdGets 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.

NameDatatypeDescription
planIdstringThis is a unique identifier for a plan. Should be a guid.
scopestringThe scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now

SELECT examples

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
;