Skip to main content

groups_group_migration

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

Overview

Namegroups_group_migration
TypeResource
Idgoogle.vmmigration.groups_group_migration

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
add_group_migrationINSERTgroupsId, locationsId, projectsIdAdds a MigratingVm to a Group.
remove_group_migrationDELETEgroupsId, locationsId, projectsIdRemoves a MigratingVm from a Group.

INSERT example

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

/*+ create */
INSERT INTO google.vmmigration.groups_group_migration (
groupsId,
locationsId,
projectsId,
migratingVm
)
SELECT
'{{ groupsId }}',
'{{ locationsId }}',
'{{ projectsId }}',
'{{ migratingVm }}'
;

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