Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.vmmigration/v1.Group
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new Group in a given project and location. Auto-naming is currently not supported for this resource.
Create Group Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Group(name: string, args: GroupArgs, opts?: CustomResourceOptions);
@overload
def Group(resource_name: str,
args: GroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Group(resource_name: str,
opts: Optional[ResourceOptions] = None,
group_id: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
location: Optional[str] = None,
migration_target_type: Optional[GroupMigrationTargetType] = None,
project: Optional[str] = None,
request_id: Optional[str] = None)
func NewGroup(ctx *Context, name string, args GroupArgs, opts ...ResourceOption) (*Group, error)
public Group(string name, GroupArgs args, CustomResourceOptions? opts = null)
type: google-native:vmmigration/v1:Group
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplegroupResourceResourceFromVmmigrationv1 = new GoogleNative.VMMigration.V1.Group("examplegroupResourceResourceFromVmmigrationv1", new()
{
GroupId = "string",
Description = "string",
DisplayName = "string",
Location = "string",
MigrationTargetType = GoogleNative.VMMigration.V1.GroupMigrationTargetType.MigrationTargetTypeUnspecified,
Project = "string",
RequestId = "string",
});
example, err := vmmigration.NewGroup(ctx, "examplegroupResourceResourceFromVmmigrationv1", &vmmigration.GroupArgs{
GroupId: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Location: pulumi.String("string"),
MigrationTargetType: vmmigration.GroupMigrationTargetTypeMigrationTargetTypeUnspecified,
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
})
var examplegroupResourceResourceFromVmmigrationv1 = new Group("examplegroupResourceResourceFromVmmigrationv1", GroupArgs.builder()
.groupId("string")
.description("string")
.displayName("string")
.location("string")
.migrationTargetType("MIGRATION_TARGET_TYPE_UNSPECIFIED")
.project("string")
.requestId("string")
.build());
examplegroup_resource_resource_from_vmmigrationv1 = google_native.vmmigration.v1.Group("examplegroupResourceResourceFromVmmigrationv1",
group_id="string",
description="string",
display_name="string",
location="string",
migration_target_type=google_native.vmmigration.v1.GroupMigrationTargetType.MIGRATION_TARGET_TYPE_UNSPECIFIED,
project="string",
request_id="string")
const examplegroupResourceResourceFromVmmigrationv1 = new google_native.vmmigration.v1.Group("examplegroupResourceResourceFromVmmigrationv1", {
groupId: "string",
description: "string",
displayName: "string",
location: "string",
migrationTargetType: google_native.vmmigration.v1.GroupMigrationTargetType.MigrationTargetTypeUnspecified,
project: "string",
requestId: "string",
});
type: google-native:vmmigration/v1:Group
properties:
description: string
displayName: string
groupId: string
location: string
migrationTargetType: MIGRATION_TARGET_TYPE_UNSPECIFIED
project: string
requestId: string
Group Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Group resource accepts the following input properties:
- Group
Id string - Required. The group identifier.
- Description string
- User-provided description of the group.
- Display
Name string - Display name is a user defined name for this group which can be updated.
- Location string
- Migration
Target Pulumi.Type Google Native. VMMigration. V1. Group Migration Target Type - Immutable. The target type of this group.
- Project string
- Request
Id string - A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- Group
Id string - Required. The group identifier.
- Description string
- User-provided description of the group.
- Display
Name string - Display name is a user defined name for this group which can be updated.
- Location string
- Migration
Target GroupType Migration Target Type - Immutable. The target type of this group.
- Project string
- Request
Id string - A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- group
Id String - Required. The group identifier.
- description String
- User-provided description of the group.
- display
Name String - Display name is a user defined name for this group which can be updated.
- location String
- migration
Target GroupType Migration Target Type - Immutable. The target type of this group.
- project String
- request
Id String - A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- group
Id string - Required. The group identifier.
- description string
- User-provided description of the group.
- display
Name string - Display name is a user defined name for this group which can be updated.
- location string
- migration
Target GroupType Migration Target Type - Immutable. The target type of this group.
- project string
- request
Id string - A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- group_
id str - Required. The group identifier.
- description str
- User-provided description of the group.
- display_
name str - Display name is a user defined name for this group which can be updated.
- location str
- migration_
target_ Grouptype Migration Target Type - Immutable. The target type of this group.
- project str
- request_
id str - A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- group
Id String - Required. The group identifier.
- description String
- User-provided description of the group.
- display
Name String - Display name is a user defined name for this group which can be updated.
- location String
- migration
Target "MIGRATION_TARGET_TYPE_UNSPECIFIED" | "MIGRATION_TARGET_TYPE_GCE" | "MIGRATION_TARGET_TYPE_DISKS"Type - Immutable. The target type of this group.
- project String
- request
Id String - A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Outputs
All input properties are implicitly available as output properties. Additionally, the Group resource produces the following output properties:
- Create
Time string - The create time timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The Group name.
- Update
Time string - The update time timestamp.
- Create
Time string - The create time timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The Group name.
- Update
Time string - The update time timestamp.
- create
Time String - The create time timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The Group name.
- update
Time String - The update time timestamp.
- create
Time string - The create time timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The Group name.
- update
Time string - The update time timestamp.
- create_
time str - The create time timestamp.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The Group name.
- update_
time str - The update time timestamp.
- create
Time String - The create time timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The Group name.
- update
Time String - The update time timestamp.
Supporting Types
GroupMigrationTargetType, GroupMigrationTargetTypeArgs
- Migration
Target Type Unspecified - MIGRATION_TARGET_TYPE_UNSPECIFIEDGroup type is not specified. This defaults to Compute Engine targets.
- Migration
Target Type Gce - MIGRATION_TARGET_TYPE_GCEAll MigratingVMs in the group must have Compute Engine targets.
- Migration
Target Type Disks - MIGRATION_TARGET_TYPE_DISKSAll MigratingVMs in the group must have Compute Engine Disks targets.
- Group
Migration Target Type Migration Target Type Unspecified - MIGRATION_TARGET_TYPE_UNSPECIFIEDGroup type is not specified. This defaults to Compute Engine targets.
- Group
Migration Target Type Migration Target Type Gce - MIGRATION_TARGET_TYPE_GCEAll MigratingVMs in the group must have Compute Engine targets.
- Group
Migration Target Type Migration Target Type Disks - MIGRATION_TARGET_TYPE_DISKSAll MigratingVMs in the group must have Compute Engine Disks targets.
- Migration
Target Type Unspecified - MIGRATION_TARGET_TYPE_UNSPECIFIEDGroup type is not specified. This defaults to Compute Engine targets.
- Migration
Target Type Gce - MIGRATION_TARGET_TYPE_GCEAll MigratingVMs in the group must have Compute Engine targets.
- Migration
Target Type Disks - MIGRATION_TARGET_TYPE_DISKSAll MigratingVMs in the group must have Compute Engine Disks targets.
- Migration
Target Type Unspecified - MIGRATION_TARGET_TYPE_UNSPECIFIEDGroup type is not specified. This defaults to Compute Engine targets.
- Migration
Target Type Gce - MIGRATION_TARGET_TYPE_GCEAll MigratingVMs in the group must have Compute Engine targets.
- Migration
Target Type Disks - MIGRATION_TARGET_TYPE_DISKSAll MigratingVMs in the group must have Compute Engine Disks targets.
- MIGRATION_TARGET_TYPE_UNSPECIFIED
- MIGRATION_TARGET_TYPE_UNSPECIFIEDGroup type is not specified. This defaults to Compute Engine targets.
- MIGRATION_TARGET_TYPE_GCE
- MIGRATION_TARGET_TYPE_GCEAll MigratingVMs in the group must have Compute Engine targets.
- MIGRATION_TARGET_TYPE_DISKS
- MIGRATION_TARGET_TYPE_DISKSAll MigratingVMs in the group must have Compute Engine Disks targets.
- "MIGRATION_TARGET_TYPE_UNSPECIFIED"
- MIGRATION_TARGET_TYPE_UNSPECIFIEDGroup type is not specified. This defaults to Compute Engine targets.
- "MIGRATION_TARGET_TYPE_GCE"
- MIGRATION_TARGET_TYPE_GCEAll MigratingVMs in the group must have Compute Engine targets.
- "MIGRATION_TARGET_TYPE_DISKS"
- MIGRATION_TARGET_TYPE_DISKSAll MigratingVMs in the group must have Compute Engine Disks targets.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.