sync_sets
Creates, updates, deletes, gets or lists a sync_sets
resource.
Overview
Name | sync_sets |
Type | Resource |
Id | azure_isv.openshift_clusters.sync_sets |
Fields
- vw_sync_sets
- sync_sets
Name | Datatype | Description |
---|---|---|
childResourceName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
resources | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | SyncSetProperties represents the properties of a SyncSet |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | childResourceName, resourceGroupName, resourceName, subscriptionId | The operation returns properties of a SyncSet. |
list | SELECT | resourceGroupName, resourceName, subscriptionId | The operation returns properties of each SyncSet. |
create_or_update | INSERT | childResourceName, resourceGroupName, resourceName, subscriptionId | The operation returns properties of a SyncSet. |
delete | DELETE | childResourceName, resourceGroupName, resourceName, subscriptionId | The operation returns nothing. |
update | UPDATE | childResourceName, resourceGroupName, resourceName, subscriptionId | The operation returns properties of a SyncSet. |
SELECT
examples
The operation returns properties of each SyncSet.
- vw_sync_sets
- sync_sets
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 }}';
SELECT
properties,
systemData
FROM azure_isv.openshift_clusters.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_isv.openshift_clusters.sync_sets (
childResourceName,
resourceGroupName,
resourceName,
subscriptionId,
properties
)
SELECT
'{{ childResourceName }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: resources
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
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 }}';