disks
Creates, updates, deletes, gets or lists a disks
resource.
Overview
Name | disks |
Type | Resource |
Id | azure_stack.compute_admin.disks |
Fields
- vw_disks
- disks
Name | Datatype | Description |
---|---|---|
id | text | ID of the resource. |
name | text | Name of the resource. |
actual_size_gb | text | field from the properties object |
creation_option | text | field from the properties object |
creation_source_uri | text | field from the properties object |
diskId | text | field from the properties object |
disk_id | text | field from the properties object |
disk_sku | text | field from the properties object |
disk_type | text | field from the properties object |
exclusive_allocated_size | text | field from the properties object |
location | text | Location of the resource. |
managed_by | text | field from the properties object |
provision_size_gb | text | field from the properties object |
share_path | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | Type of Resource. |
user_resource_id | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | ID of the resource. |
name | string | Name of the resource. |
location | string | Location of the resource. |
properties | object | Managed disk properties. |
type | string | Type of Resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | diskId, location, subscriptionId | Returns the disk. |
list | SELECT | location, subscriptionId | Returns a list of disks. |
SELECT
examples
Returns a list of disks.
- vw_disks
- disks
SELECT
id,
name,
actual_size_gb,
creation_option,
creation_source_uri,
diskId,
disk_id,
disk_sku,
disk_type,
exclusive_allocated_size,
location,
managed_by,
provision_size_gb,
share_path,
status,
subscriptionId,
type,
user_resource_id
FROM azure_stack.compute_admin.vw_disks
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
type
FROM azure_stack.compute_admin.disks
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';