Skip to main content

device_capacity_info

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

Overview

Namedevice_capacity_info
TypeResource
Idazure.data_box_edge.device_capacity_info

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.
clusterComputeCapacityInfoobjectCluster capacity data for compute resources (Memory and GPU).
clusterStorageCapacityInfoobjectCluster capacity data for storage resources (CSV).
nodeCapacityInfosobjectThe dictionary of individual node names and node capacities in the cluster.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
timeStampstring (date-time)Timestamp of request in UTC.
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
get_device_capacity_infoselectresource_group_name, device_name, subscription_idGets the properties of the specified device capacity info.

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
device_namestringThe device name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets the properties of the specified device capacity info.

SELECT
id,
name,
clusterComputeCapacityInfo,
clusterStorageCapacityInfo,
nodeCapacityInfos,
systemData,
timeStamp,
type
FROM azure.data_box_edge.device_capacity_info
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND device_name = '{{ device_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;