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

The following fields are returned by SELECT queries:

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
add_group_migrationinsertprojectsId, locationsId, groupsIdAdds a MigratingVm to a Group.
remove_group_migrationdeleteprojectsId, locationsId, groupsIdRemoves a MigratingVm from a Group.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
groupsIdstring
locationsIdstring
projectsIdstring

INSERT examples

Adds a MigratingVm to a Group.

INSERT INTO google.vmmigration.groups_group_migration (
data__migratingVm,
projectsId,
locationsId,
groupsId
)
SELECT
'{{ migratingVm }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ groupsId }}'
RETURNING
name,
done,
error,
metadata,
response
;

DELETE examples

Removes a MigratingVm from a Group.

DELETE FROM google.vmmigration.groups_group_migration
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND groupsId = '{{ groupsId }}' --required;