Skip to main content

sync_sets

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

Overview

Namesync_sets
TypeResource
Idazure_isv.openshift_clusters.sync_sets

Fields

NameDatatypeDescription
childResourceNametextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
resourcestextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTchildResourceName, resourceGroupName, resourceName, subscriptionIdThe operation returns properties of a SyncSet.
listSELECTresourceGroupName, resourceName, subscriptionIdThe operation returns properties of each SyncSet.
create_or_updateINSERTchildResourceName, resourceGroupName, resourceName, subscriptionIdThe operation returns properties of a SyncSet.
deleteDELETEchildResourceName, resourceGroupName, resourceName, subscriptionIdThe operation returns nothing.
updateUPDATEchildResourceName, resourceGroupName, resourceName, subscriptionIdThe operation returns properties of a SyncSet.

SELECT examples

The operation returns properties of each SyncSet.

SELECT
childResourceName,
resourceGroupName,
resourceName,
resources,
subscriptionId,
system_data
FROM azure_isv.openshift_clusters.vw_sync_sets
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_isv.openshift_clusters.sync_sets (
childResourceName,
resourceGroupName,
resourceName,
subscriptionId,
properties
)
SELECT
'{{ childResourceName }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a sync_sets resource.

/*+ update */
UPDATE azure_isv.openshift_clusters.sync_sets
SET
properties = '{{ properties }}'
WHERE
childResourceName = '{{ childResourceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified sync_sets resource.

/*+ delete */
DELETE FROM azure_isv.openshift_clusters.sync_sets
WHERE childResourceName = '{{ childResourceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';