Skip to main content

vm_families

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

Overview

Namevm_families
TypeResource
Idazure.compute_limit.vm_families

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
categorystringThe category of the VM family (for example, GeneralPurpose, ComputeOptimized).
provisioningStatestringThe provisioning state of the resource. Known values are: "Succeeded", "Failed", and "Canceled". (Succeeded, Failed, Canceled)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
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
getselectlocation, vm_family_name, subscription_idGets the properties of a VM family.
list_by_subscription_location_resourceselectlocation, subscription_id$filterLists all VM families for the subscription at the specified location.

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 name of the Azure region. Required.
subscription_idstring
vm_family_namestringThe name of the VmFamily. Required.
$filterstringThe filter to apply to the list operation. Filter can be applied to the 'category' property. Example: $filter=category eq 'generalPurposeCategory'. Default value is None.

SELECT examples

Gets the properties of a VM family.

SELECT
id,
name,
category,
provisioningState,
systemData,
type
FROM azure.compute_limit.vm_families
WHERE location = '{{ location }}' -- required
AND vm_family_name = '{{ vm_family_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;