Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.migrationcenter/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,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = 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:migrationcenter/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 examplegroupResourceResourceFromMigrationcenterv1 = new GoogleNative.MigrationCenter.V1.Group("examplegroupResourceResourceFromMigrationcenterv1", new()
{
GroupId = "string",
Description = "string",
DisplayName = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Project = "string",
RequestId = "string",
});
example, err := migrationcenter.NewGroup(ctx, "examplegroupResourceResourceFromMigrationcenterv1", &migrationcenter.GroupArgs{
GroupId: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
})
var examplegroupResourceResourceFromMigrationcenterv1 = new Group("examplegroupResourceResourceFromMigrationcenterv1", GroupArgs.builder()
.groupId("string")
.description("string")
.displayName("string")
.labels(Map.of("string", "string"))
.location("string")
.project("string")
.requestId("string")
.build());
examplegroup_resource_resource_from_migrationcenterv1 = google_native.migrationcenter.v1.Group("examplegroupResourceResourceFromMigrationcenterv1",
group_id="string",
description="string",
display_name="string",
labels={
"string": "string",
},
location="string",
project="string",
request_id="string")
const examplegroupResourceResourceFromMigrationcenterv1 = new google_native.migrationcenter.v1.Group("examplegroupResourceResourceFromMigrationcenterv1", {
groupId: "string",
description: "string",
displayName: "string",
labels: {
string: "string",
},
location: "string",
project: "string",
requestId: "string",
});
type: google-native:migrationcenter/v1:Group
properties:
description: string
displayName: string
groupId: string
labels:
string: string
location: string
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. User specified ID for the group. It will become the last component of the group name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression:
[a-z]([a-z0-9-]{0,61}[a-z0-9])?
. - Description string
- Optional. The description of the group.
- Display
Name string - Optional. User-friendly display name.
- Labels Dictionary<string, string>
- Labels as key value pairs.
- Location string
- Project string
- Request
Id string - Optional. An optional 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. User specified ID for the group. It will become the last component of the group name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression:
[a-z]([a-z0-9-]{0,61}[a-z0-9])?
. - Description string
- Optional. The description of the group.
- Display
Name string - Optional. User-friendly display name.
- Labels map[string]string
- Labels as key value pairs.
- Location string
- Project string
- Request
Id string - Optional. An optional 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. User specified ID for the group. It will become the last component of the group name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression:
[a-z]([a-z0-9-]{0,61}[a-z0-9])?
. - description String
- Optional. The description of the group.
- display
Name String - Optional. User-friendly display name.
- labels Map<String,String>
- Labels as key value pairs.
- location String
- project String
- request
Id String - Optional. An optional 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. User specified ID for the group. It will become the last component of the group name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression:
[a-z]([a-z0-9-]{0,61}[a-z0-9])?
. - description string
- Optional. The description of the group.
- display
Name string - Optional. User-friendly display name.
- labels {[key: string]: string}
- Labels as key value pairs.
- location string
- project string
- request
Id string - Optional. An optional 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. User specified ID for the group. It will become the last component of the group name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression:
[a-z]([a-z0-9-]{0,61}[a-z0-9])?
. - description str
- Optional. The description of the group.
- display_
name str - Optional. User-friendly display name.
- labels Mapping[str, str]
- Labels as key value pairs.
- location str
- project str
- request_
id str - Optional. An optional 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. User specified ID for the group. It will become the last component of the group name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression:
[a-z]([a-z0-9-]{0,61}[a-z0-9])?
. - description String
- Optional. The description of the group.
- display
Name String - Optional. User-friendly display name.
- labels Map<String>
- Labels as key value pairs.
- location String
- project String
- request
Id String - Optional. An optional 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 timestamp when the group was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the group.
- Update
Time string - The timestamp when the group was last updated.
- Create
Time string - The timestamp when the group was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the group.
- Update
Time string - The timestamp when the group was last updated.
- create
Time String - The timestamp when the group was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the group.
- update
Time String - The timestamp when the group was last updated.
- create
Time string - The timestamp when the group was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the group.
- update
Time string - The timestamp when the group was last updated.
- create_
time str - The timestamp when the group was created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the group.
- update_
time str - The timestamp when the group was last updated.
- create
Time String - The timestamp when the group was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the group.
- update
Time String - The timestamp when the group was last updated.
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.