dedicated_cloud_nodes
Creates, updates, deletes, gets or lists a dedicated_cloud_nodes
resource.
Overview
Name | dedicated_cloud_nodes |
Type | Resource |
Id | azure_isv.vmware_cloud_simple.dedicated_cloud_nodes |
Fields
- vw_dedicated_cloud_nodes
- dedicated_cloud_nodes
Name | Datatype | Description |
---|---|---|
id | text | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudNodes/{dedicatedCloudNodeName} |
name | text | {dedicatedCloudNodeName} |
availability_zone_id | text | field from the properties object |
availability_zone_name | text | field from the properties object |
cloud_rack_name | text | field from the properties object |
created | text | field from the properties object |
dedicatedCloudNodeName | text | field from the properties object |
location | text | Azure region |
nodes_count | text | field from the properties object |
placement_group_id | text | field from the properties object |
placement_group_name | text | field from the properties object |
private_cloud_id | text | field from the properties object |
private_cloud_name | text | field from the properties object |
provisioning_state | text | field from the properties object |
purchase_id | text | field from the properties object |
resourceGroupName | text | field from the properties object |
sku | text | The purchase SKU for CloudSimple paid resources |
sku_description | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Tags model |
type | text | {resourceProviderNamespace}/{resourceType} |
vmware_cluster_name | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudNodes/{dedicatedCloudNodeName} |
name | string | {dedicatedCloudNodeName} |
location | string | Azure region |
properties | object | Properties of dedicated cloud node |
sku | object | The purchase SKU for CloudSimple paid resources |
tags | object | Tags model |
type | string | {resourceProviderNamespace}/{resourceType} |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | dedicatedCloudNodeName, resourceGroupName, subscriptionId | Returns dedicated cloud node |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Returns list of dedicate cloud nodes within resource group |
list_by_subscription | SELECT | subscriptionId | Returns list of dedicate cloud nodes within subscription |
create_or_update | INSERT | Referer, dedicatedCloudNodeName, resourceGroupName, subscriptionId, data__location | Returns dedicated cloud node by its name |
delete | DELETE | dedicatedCloudNodeName, resourceGroupName, subscriptionId | Delete dedicated cloud node |
update | UPDATE | dedicatedCloudNodeName, resourceGroupName, subscriptionId | Patches dedicated node properties |
SELECT
examples
Returns list of dedicate cloud nodes within subscription
- vw_dedicated_cloud_nodes
- dedicated_cloud_nodes
SELECT
id,
name,
availability_zone_id,
availability_zone_name,
cloud_rack_name,
created,
dedicatedCloudNodeName,
location,
nodes_count,
placement_group_id,
placement_group_name,
private_cloud_id,
private_cloud_name,
provisioning_state,
purchase_id,
resourceGroupName,
sku,
sku_description,
status,
subscriptionId,
tags,
type,
vmware_cluster_name
FROM azure_isv.vmware_cloud_simple.vw_dedicated_cloud_nodes
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
sku,
tags,
type
FROM azure_isv.vmware_cloud_simple.dedicated_cloud_nodes
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new dedicated_cloud_nodes
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_isv.vmware_cloud_simple.dedicated_cloud_nodes (
Referer,
dedicatedCloudNodeName,
resourceGroupName,
subscriptionId,
data__location,
location,
properties,
sku,
tags
)
SELECT
'{{ Referer }}',
'{{ dedicatedCloudNodeName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__location }}',
'{{ location }}',
'{{ properties }}',
'{{ sku }}',
'{{ tags }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: location
value: string
- name: name
value: string
- name: properties
value:
- name: availabilityZoneId
value: string
- name: availabilityZoneName
value: string
- name: cloudRackName
value: string
- name: created
value: string
- name: nodesCount
value: integer
- name: placementGroupId
value: string
- name: placementGroupName
value: string
- name: privateCloudId
value: string
- name: privateCloudName
value: string
- name: provisioningState
value: string
- name: purchaseId
value: string
- name: skuDescription
value:
- name: id
value: string
- name: name
value: string
- name: status
value: string
- name: vmwareClusterName
value: string
- name: sku
value:
- name: capacity
value: string
- name: description
value: string
- name: family
value: string
- name: name
value: string
- name: tier
value: string
- name: tags
value: []
- name: type
value: string
UPDATE
example
Updates a dedicated_cloud_nodes
resource.
/*+ update */
UPDATE azure_isv.vmware_cloud_simple.dedicated_cloud_nodes
SET
tags = '{{ tags }}'
WHERE
dedicatedCloudNodeName = '{{ dedicatedCloudNodeName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified dedicated_cloud_nodes
resource.
/*+ delete */
DELETE FROM azure_isv.vmware_cloud_simple.dedicated_cloud_nodes
WHERE dedicatedCloudNodeName = '{{ dedicatedCloudNodeName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';