dedicated_cloud_services
Creates, updates, deletes, gets or lists a dedicated_cloud_services
resource.
Overview
Name | dedicated_cloud_services |
Type | Resource |
Id | azure_isv.vmware_cloud_simple.dedicated_cloud_services |
Fields
- vw_dedicated_cloud_services
- dedicated_cloud_services
Name | Datatype | Description |
---|---|---|
id | text | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudServices/{dedicatedCloudServiceName} |
name | text | {dedicatedCloudServiceName} |
dedicatedCloudServiceName | text | field from the properties object |
gateway_subnet | text | field from the properties object |
is_account_onboarded | text | field from the properties object |
location | text | Azure region |
nodes | text | field from the properties object |
resourceGroupName | text | field from the properties object |
service_url | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Tags model |
type | text | {resourceProviderNamespace}/{resourceType} |
Name | Datatype | Description |
---|---|---|
id | string | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudServices/{dedicatedCloudServiceName} |
name | string | {dedicatedCloudServiceName} |
location | string | Azure region |
properties | object | Properties of dedicated cloud service |
tags | object | Tags model |
type | string | {resourceProviderNamespace}/{resourceType} |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | dedicatedCloudServiceName, resourceGroupName, subscriptionId | Returns Dedicate Cloud Service |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Returns list of dedicated cloud services within a resource group |
list_by_subscription | SELECT | subscriptionId | Returns list of dedicated cloud services within a subscription |
create_or_update | INSERT | dedicatedCloudServiceName, resourceGroupName, subscriptionId, data__location | Create dedicate cloud service |
delete | DELETE | dedicatedCloudServiceName, resourceGroupName, subscriptionId | Delete dedicate cloud service |
update | UPDATE | dedicatedCloudServiceName, resourceGroupName, subscriptionId | Patch dedicated cloud service's properties |
SELECT
examples
Returns list of dedicated cloud services within a subscription
- vw_dedicated_cloud_services
- dedicated_cloud_services
SELECT
id,
name,
dedicatedCloudServiceName,
gateway_subnet,
is_account_onboarded,
location,
nodes,
resourceGroupName,
service_url,
subscriptionId,
tags,
type
FROM azure_isv.vmware_cloud_simple.vw_dedicated_cloud_services
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_isv.vmware_cloud_simple.dedicated_cloud_services
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new dedicated_cloud_services
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_isv.vmware_cloud_simple.dedicated_cloud_services (
dedicatedCloudServiceName,
resourceGroupName,
subscriptionId,
data__location,
location,
properties,
tags
)
SELECT
'{{ dedicatedCloudServiceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__location }}',
'{{ location }}',
'{{ properties }}',
'{{ tags }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: location
value: string
- name: name
value: string
- name: properties
value:
- name: gatewaySubnet
value: string
- name: isAccountOnboarded
value: string
- name: nodes
value: integer
- name: serviceURL
value: string
- name: tags
value: []
- name: type
value: string
UPDATE
example
Updates a dedicated_cloud_services
resource.
/*+ update */
UPDATE azure_isv.vmware_cloud_simple.dedicated_cloud_services
SET
tags = '{{ tags }}'
WHERE
dedicatedCloudServiceName = '{{ dedicatedCloudServiceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified dedicated_cloud_services
resource.
/*+ delete */
DELETE FROM azure_isv.vmware_cloud_simple.dedicated_cloud_services
WHERE dedicatedCloudServiceName = '{{ dedicatedCloudServiceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';