Skip to main content

dedicated_cloud_nodes

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

Overview

Namededicated_cloud_nodes
TypeResource
Idazure_isv.vmware_cloud_simple.dedicated_cloud_nodes

Fields

NameDatatypeDescription
idtext/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudNodes/{dedicatedCloudNodeName}
nametext{dedicatedCloudNodeName}
availability_zone_idtextfield from the properties object
availability_zone_nametextfield from the properties object
cloud_rack_nametextfield from the properties object
createdtextfield from the properties object
dedicatedCloudNodeNametextfield from the properties object
locationtextAzure region
nodes_counttextfield from the properties object
placement_group_idtextfield from the properties object
placement_group_nametextfield from the properties object
private_cloud_idtextfield from the properties object
private_cloud_nametextfield from the properties object
provisioning_statetextfield from the properties object
purchase_idtextfield from the properties object
resourceGroupNametextfield from the properties object
skutextThe purchase SKU for CloudSimple paid resources
sku_descriptiontextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextTags model
typetext{resourceProviderNamespace}/{resourceType}
vmware_cluster_nametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdedicatedCloudNodeName, resourceGroupName, subscriptionIdReturns dedicated cloud node
list_by_resource_groupSELECTresourceGroupName, subscriptionIdReturns list of dedicate cloud nodes within resource group
list_by_subscriptionSELECTsubscriptionIdReturns list of dedicate cloud nodes within subscription
create_or_updateINSERTReferer, dedicatedCloudNodeName, resourceGroupName, subscriptionId, data__locationReturns dedicated cloud node by its name
deleteDELETEdedicatedCloudNodeName, resourceGroupName, subscriptionIdDelete dedicated cloud node
updateUPDATEdedicatedCloudNodeName, resourceGroupName, subscriptionIdPatches dedicated node properties

SELECT examples

Returns list of dedicate cloud nodes within subscription

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 }}';

INSERT example

Use the following StackQL query and manifest file to create a new dedicated_cloud_nodes resource.

/*+ 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 }}'
;

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 }}';