Skip to main content

configuration_group_schemas

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

Overview

Nameconfiguration_group_schemas
TypeResource
Idazure.hybrid_network.configuration_group_schemas

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
configurationGroupSchemaNametextfield from the properties object
locationtextThe geo-location where the resource lives
provisioning_statetextfield from the properties object
publisherNametextfield from the properties object
resourceGroupNametextfield from the properties object
schema_definitiontextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
version_statetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTconfigurationGroupSchemaName, publisherName, resourceGroupName, subscriptionIdGets information about the specified configuration group schema.
list_by_publisherSELECTpublisherName, resourceGroupName, subscriptionIdGets information of the configuration group schemas under a publisher.
create_or_updateINSERTconfigurationGroupSchemaName, publisherName, resourceGroupName, subscriptionIdCreates or updates a configuration group schema.
deleteDELETEconfigurationGroupSchemaName, publisherName, resourceGroupName, subscriptionIdDeletes a specified configuration group schema.
updateUPDATEconfigurationGroupSchemaName, publisherName, resourceGroupName, subscriptionIdUpdates a configuration group schema resource.
update_stateEXECconfigurationGroupSchemaName, publisherName, resourceGroupName, subscriptionIdUpdate configuration group schema state.

SELECT examples

Gets information of the configuration group schemas under a publisher.

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

INSERT example

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

/*+ create */
INSERT INTO azure.hybrid_network.configuration_group_schemas (
configurationGroupSchemaName,
publisherName,
resourceGroupName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ configurationGroupSchemaName }}',
'{{ publisherName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

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