configuration_group_schemas
Creates, updates, deletes, gets or lists a configuration_group_schemas
resource.
Overview
Name | configuration_group_schemas |
Type | Resource |
Id | azure.hybrid_network.configuration_group_schemas |
Fields
- vw_configuration_group_schemas
- configuration_group_schemas
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
configurationGroupSchemaName | text | field from the properties object |
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
publisherName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
schema_definition | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
version_state | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Configuration group schema properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | configurationGroupSchemaName, publisherName, resourceGroupName, subscriptionId | Gets information about the specified configuration group schema. |
list_by_publisher | SELECT | publisherName, resourceGroupName, subscriptionId | Gets information of the configuration group schemas under a publisher. |
create_or_update | INSERT | configurationGroupSchemaName, publisherName, resourceGroupName, subscriptionId | Creates or updates a configuration group schema. |
delete | DELETE | configurationGroupSchemaName, publisherName, resourceGroupName, subscriptionId | Deletes a specified configuration group schema. |
update | UPDATE | configurationGroupSchemaName, publisherName, resourceGroupName, subscriptionId | Updates a configuration group schema resource. |
update_state | EXEC | configurationGroupSchemaName, publisherName, resourceGroupName, subscriptionId | Update configuration group schema state. |
SELECT
examples
Gets information of the configuration group schemas under a publisher.
- vw_configuration_group_schemas
- configuration_group_schemas
SELECT
description,
configurationGroupSchemaName,
location,
provisioning_state,
publisherName,
resourceGroupName,
schema_definition,
subscriptionId,
tags,
version_state
FROM azure.hybrid_network.vw_configuration_group_schemas
WHERE publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.hybrid_network.configuration_group_schemas
WHERE publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new configuration_group_schemas
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.hybrid_network.configuration_group_schemas (
configurationGroupSchemaName,
publisherName,
resourceGroupName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ configurationGroupSchemaName }}',
'{{ publisherName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: versionState
value: []
- name: description
value: string
- name: schemaDefinition
value: string
- name: tags
value: object
- name: location
value: string
UPDATE
example
Updates a configuration_group_schemas
resource.
/*+ update */
UPDATE azure.hybrid_network.configuration_group_schemas
SET
tags = '{{ tags }}'
WHERE
configurationGroupSchemaName = '{{ configurationGroupSchemaName }}'
AND publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified configuration_group_schemas
resource.
/*+ delete */
DELETE FROM azure.hybrid_network.configuration_group_schemas
WHERE configurationGroupSchemaName = '{{ configurationGroupSchemaName }}'
AND publisherName = '{{ publisherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';