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
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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
add_group_migration | insert | projectsId, locationsId, groupsId | Adds a MigratingVm to a Group. | |
remove_group_migration | delete | projectsId, locationsId, groupsId | Removes 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.
| Name | Datatype | Description |
|---|---|---|
groupsId | string | |
locationsId | string | |
projectsId | string |
INSERT examples
- add_group_migration
- Manifest
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
;
# Description fields are for documentation purposes
- name: groups_group_migration
props:
- name: projectsId
value: string
description: Required parameter for the groups_group_migration resource.
- name: locationsId
value: string
description: Required parameter for the groups_group_migration resource.
- name: groupsId
value: string
description: Required parameter for the groups_group_migration resource.
- name: migratingVm
value: string
description: >
The full path name of the MigratingVm to add.
DELETE examples
- remove_group_migration
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
;