groups_group_migration
Creates, updates, deletes, gets or lists a groups_group_migration
resource.
Overview
Name | groups_group_migration |
Type | Resource |
Id | google.vmmigration.groups_group_migration |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
add_group_migration | INSERT | groupsId, locationsId, projectsId | Adds a MigratingVm to a Group. |
remove_group_migration | DELETE | groupsId, locationsId, projectsId | Removes a MigratingVm from a Group. |
INSERT
example
Use the following StackQL query and manifest file to create a new groups_group_migration
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.vmmigration.groups_group_migration (
groupsId,
locationsId,
projectsId,
migratingVm
)
SELECT
'{{ groupsId }}',
'{{ locationsId }}',
'{{ projectsId }}',
'{{ migratingVm }}'
;
- name: your_resource_model_name
props:
- name: migratingVm
value: string
DELETE
example
Deletes the specified groups_group_migration
resource.
/*+ delete */
DELETE FROM google.vmmigration.groups_group_migration
WHERE groupsId = '{{ groupsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';