published on Tuesday, Jun 9, 2026 by Pulumi
published on Tuesday, Jun 9, 2026 by Pulumi
ReportConfig defines the configuration and criteria used to generate Migration Center reports.
Example Usage
Migration Center Report Config Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const _default = new gcp.migrationcenter.Group("default", {
location: "us-central1",
groupId: "group-test",
});
const defaultPreferenceSet = new gcp.migrationcenter.PreferenceSet("default", {
location: "us-central1",
preferenceSetId: "pref-set-test",
});
const defaultReportConfig = new gcp.migrationcenter.ReportConfig("default", {
location: "us-central1",
reportConfigId: "report-config-test",
description: "Terraform integration test description",
displayName: "Terraform integration test display",
groupPreferencesetAssignments: [{
group: _default.id,
preferenceSet: defaultPreferenceSet.id,
}],
});
import pulumi
import pulumi_gcp as gcp
default = gcp.migrationcenter.Group("default",
location="us-central1",
group_id="group-test")
default_preference_set = gcp.migrationcenter.PreferenceSet("default",
location="us-central1",
preference_set_id="pref-set-test")
default_report_config = gcp.migrationcenter.ReportConfig("default",
location="us-central1",
report_config_id="report-config-test",
description="Terraform integration test description",
display_name="Terraform integration test display",
group_preferenceset_assignments=[{
"group": default.id,
"preference_set": default_preference_set.id,
}])
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/migrationcenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := migrationcenter.NewGroup(ctx, "default", &migrationcenter.GroupArgs{
Location: pulumi.String("us-central1"),
GroupId: pulumi.String("group-test"),
})
if err != nil {
return err
}
defaultPreferenceSet, err := migrationcenter.NewPreferenceSet(ctx, "default", &migrationcenter.PreferenceSetArgs{
Location: pulumi.String("us-central1"),
PreferenceSetId: pulumi.String("pref-set-test"),
})
if err != nil {
return err
}
_, err = migrationcenter.NewReportConfig(ctx, "default", &migrationcenter.ReportConfigArgs{
Location: pulumi.String("us-central1"),
ReportConfigId: pulumi.String("report-config-test"),
Description: pulumi.String("Terraform integration test description"),
DisplayName: pulumi.String("Terraform integration test display"),
GroupPreferencesetAssignments: migrationcenter.ReportConfigGroupPreferencesetAssignmentArray{
&migrationcenter.ReportConfigGroupPreferencesetAssignmentArgs{
Group: _default.ID(),
PreferenceSet: defaultPreferenceSet.ID(),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var @default = new Gcp.MigrationCenter.Group("default", new()
{
Location = "us-central1",
GroupId = "group-test",
});
var defaultPreferenceSet = new Gcp.MigrationCenter.PreferenceSet("default", new()
{
Location = "us-central1",
PreferenceSetId = "pref-set-test",
});
var defaultReportConfig = new Gcp.MigrationCenter.ReportConfig("default", new()
{
Location = "us-central1",
ReportConfigId = "report-config-test",
Description = "Terraform integration test description",
DisplayName = "Terraform integration test display",
GroupPreferencesetAssignments = new[]
{
new Gcp.MigrationCenter.Inputs.ReportConfigGroupPreferencesetAssignmentArgs
{
Group = @default.Id,
PreferenceSet = defaultPreferenceSet.Id,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.migrationcenter.Group;
import com.pulumi.gcp.migrationcenter.GroupArgs;
import com.pulumi.gcp.migrationcenter.PreferenceSet;
import com.pulumi.gcp.migrationcenter.PreferenceSetArgs;
import com.pulumi.gcp.migrationcenter.ReportConfig;
import com.pulumi.gcp.migrationcenter.ReportConfigArgs;
import com.pulumi.gcp.migrationcenter.inputs.ReportConfigGroupPreferencesetAssignmentArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new Group("default", GroupArgs.builder()
.location("us-central1")
.groupId("group-test")
.build());
var defaultPreferenceSet = new PreferenceSet("defaultPreferenceSet", PreferenceSetArgs.builder()
.location("us-central1")
.preferenceSetId("pref-set-test")
.build());
var defaultReportConfig = new ReportConfig("defaultReportConfig", ReportConfigArgs.builder()
.location("us-central1")
.reportConfigId("report-config-test")
.description("Terraform integration test description")
.displayName("Terraform integration test display")
.groupPreferencesetAssignments(ReportConfigGroupPreferencesetAssignmentArgs.builder()
.group(default_.id())
.preferenceSet(defaultPreferenceSet.id())
.build())
.build());
}
}
resources:
default:
type: gcp:migrationcenter:Group
properties:
location: us-central1
groupId: group-test
defaultPreferenceSet:
type: gcp:migrationcenter:PreferenceSet
name: default
properties:
location: us-central1
preferenceSetId: pref-set-test
defaultReportConfig:
type: gcp:migrationcenter:ReportConfig
name: default
properties:
location: us-central1
reportConfigId: report-config-test
description: Terraform integration test description
displayName: Terraform integration test display
groupPreferencesetAssignments:
- group: ${default.id}
preferenceSet: ${defaultPreferenceSet.id}
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
resource "gcp_migrationcenter_group" "default" {
location = "us-central1"
group_id = "group-test"
}
resource "gcp_migrationcenter_preferenceset" "default" {
location = "us-central1"
preference_set_id = "pref-set-test"
}
resource "gcp_migrationcenter_reportconfig" "default" {
location = "us-central1"
report_config_id = "report-config-test"
description = "Terraform integration test description"
display_name = "Terraform integration test display"
group_preferenceset_assignments {
group = gcp_migrationcenter_group.default.id
preference_set = gcp_migrationcenter_preferenceset.default.id
}
}
Create ReportConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ReportConfig(name: string, args: ReportConfigArgs, opts?: CustomResourceOptions);@overload
def ReportConfig(resource_name: str,
args: ReportConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ReportConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
group_preferenceset_assignments: Optional[Sequence[ReportConfigGroupPreferencesetAssignmentArgs]] = None,
location: Optional[str] = None,
report_config_id: Optional[str] = None,
deletion_policy: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
project: Optional[str] = None)func NewReportConfig(ctx *Context, name string, args ReportConfigArgs, opts ...ResourceOption) (*ReportConfig, error)public ReportConfig(string name, ReportConfigArgs args, CustomResourceOptions? opts = null)
public ReportConfig(String name, ReportConfigArgs args)
public ReportConfig(String name, ReportConfigArgs args, CustomResourceOptions options)
type: gcp:migrationcenter:ReportConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "gcp_migrationcenter_reportconfig" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ReportConfigArgs
- 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 ReportConfigArgs
- 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 ReportConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReportConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReportConfigArgs
- 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 reportConfigResource = new Gcp.MigrationCenter.ReportConfig("reportConfigResource", new()
{
GroupPreferencesetAssignments = new[]
{
new Gcp.MigrationCenter.Inputs.ReportConfigGroupPreferencesetAssignmentArgs
{
Group = "string",
PreferenceSet = "string",
},
},
Location = "string",
ReportConfigId = "string",
DeletionPolicy = "string",
Description = "string",
DisplayName = "string",
Project = "string",
});
example, err := migrationcenter.NewReportConfig(ctx, "reportConfigResource", &migrationcenter.ReportConfigArgs{
GroupPreferencesetAssignments: migrationcenter.ReportConfigGroupPreferencesetAssignmentArray{
&migrationcenter.ReportConfigGroupPreferencesetAssignmentArgs{
Group: pulumi.String("string"),
PreferenceSet: pulumi.String("string"),
},
},
Location: pulumi.String("string"),
ReportConfigId: pulumi.String("string"),
DeletionPolicy: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Project: pulumi.String("string"),
})
resource "gcp_migrationcenter_reportconfig" "reportConfigResource" {
group_preferenceset_assignments {
group = "string"
preference_set = "string"
}
location = "string"
report_config_id = "string"
deletion_policy = "string"
description = "string"
display_name = "string"
project = "string"
}
var reportConfigResource = new ReportConfig("reportConfigResource", ReportConfigArgs.builder()
.groupPreferencesetAssignments(ReportConfigGroupPreferencesetAssignmentArgs.builder()
.group("string")
.preferenceSet("string")
.build())
.location("string")
.reportConfigId("string")
.deletionPolicy("string")
.description("string")
.displayName("string")
.project("string")
.build());
report_config_resource = gcp.migrationcenter.ReportConfig("reportConfigResource",
group_preferenceset_assignments=[{
"group": "string",
"preference_set": "string",
}],
location="string",
report_config_id="string",
deletion_policy="string",
description="string",
display_name="string",
project="string")
const reportConfigResource = new gcp.migrationcenter.ReportConfig("reportConfigResource", {
groupPreferencesetAssignments: [{
group: "string",
preferenceSet: "string",
}],
location: "string",
reportConfigId: "string",
deletionPolicy: "string",
description: "string",
displayName: "string",
project: "string",
});
type: gcp:migrationcenter:ReportConfig
properties:
deletionPolicy: string
description: string
displayName: string
groupPreferencesetAssignments:
- group: string
preferenceSet: string
location: string
project: string
reportConfigId: string
ReportConfig 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 ReportConfig resource accepts the following input properties:
- Group
Preferenceset List<ReportAssignments Config Group Preferenceset Assignment> - Collection of combinations of groups and preference sets. Structure is documented below.
- Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Report
Config stringId - User specified ID for the report config. It will become the last component of the report config 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?.
- Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Description string
- Free-text description.
- Display
Name string - User-friendly display name. Maximum length is 63 characters.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Group
Preferenceset []ReportAssignments Config Group Preferenceset Assignment Args - Collection of combinations of groups and preference sets. Structure is documented below.
- Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Report
Config stringId - User specified ID for the report config. It will become the last component of the report config 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?.
- Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Description string
- Free-text description.
- Display
Name string - User-friendly display name. Maximum length is 63 characters.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- group_
preferenceset_ list(object)assignments - Collection of combinations of groups and preference sets. Structure is documented below.
- location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - report_
config_ stringid - User specified ID for the report config. It will become the last component of the report config 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?.
- deletion_
policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description string
- Free-text description.
- display_
name string - User-friendly display name. Maximum length is 63 characters.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- group
Preferenceset List<ReportAssignments Config Group Preferenceset Assignment> - Collection of combinations of groups and preference sets. Structure is documented below.
- location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - report
Config StringId - User specified ID for the report config. It will become the last component of the report config 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?.
- deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description String
- Free-text description.
- display
Name String - User-friendly display name. Maximum length is 63 characters.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- group
Preferenceset ReportAssignments Config Group Preferenceset Assignment[] - Collection of combinations of groups and preference sets. Structure is documented below.
- location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - report
Config stringId - User specified ID for the report config. It will become the last component of the report config 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?.
- deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description string
- Free-text description.
- display
Name string - User-friendly display name. Maximum length is 63 characters.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- group_
preferenceset_ Sequence[Reportassignments Config Group Preferenceset Assignment Args] - Collection of combinations of groups and preference sets. Structure is documented below.
- location str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - report_
config_ strid - User specified ID for the report config. It will become the last component of the report config 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?.
- deletion_
policy str - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description str
- Free-text description.
- display_
name str - User-friendly display name. Maximum length is 63 characters.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- group
Preferenceset List<Property Map>Assignments - Collection of combinations of groups and preference sets. Structure is documented below.
- location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - report
Config StringId - User specified ID for the report config. It will become the last component of the report config 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?.
- deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description String
- Free-text description.
- display
Name String - User-friendly display name. Maximum length is 63 characters.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the ReportConfig resource produces the following output properties:
- Create
Time string - The timestamp when the resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of resource.
- Update
Time string - The timestamp when the resource was last updated.
- Create
Time string - The timestamp when the resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of resource.
- Update
Time string - The timestamp when the resource was last updated.
- create_
time string - The timestamp when the resource was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of resource.
- update_
time string - The timestamp when the resource was last updated.
- create
Time String - The timestamp when the resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of resource.
- update
Time String - The timestamp when the resource was last updated.
- create
Time string - The timestamp when the resource was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of resource.
- update
Time string - The timestamp when the resource was last updated.
- create_
time str - The timestamp when the resource was created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of resource.
- update_
time str - The timestamp when the resource was last updated.
- create
Time String - The timestamp when the resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of resource.
- update
Time String - The timestamp when the resource was last updated.
Look up Existing ReportConfig Resource
Get an existing ReportConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ReportConfigState, opts?: CustomResourceOptions): ReportConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
deletion_policy: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
group_preferenceset_assignments: Optional[Sequence[ReportConfigGroupPreferencesetAssignmentArgs]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
report_config_id: Optional[str] = None,
update_time: Optional[str] = None) -> ReportConfigfunc GetReportConfig(ctx *Context, name string, id IDInput, state *ReportConfigState, opts ...ResourceOption) (*ReportConfig, error)public static ReportConfig Get(string name, Input<string> id, ReportConfigState? state, CustomResourceOptions? opts = null)public static ReportConfig get(String name, Output<String> id, ReportConfigState state, CustomResourceOptions options)resources: _: type: gcp:migrationcenter:ReportConfig get: id: ${id}import {
to = gcp_migrationcenter_reportconfig.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Create
Time string - The timestamp when the resource was created.
- Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Description string
- Free-text description.
- Display
Name string - User-friendly display name. Maximum length is 63 characters.
- Group
Preferenceset List<ReportAssignments Config Group Preferenceset Assignment> - Collection of combinations of groups and preference sets. Structure is documented below.
- Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Name string
- Name of resource.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Report
Config stringId - User specified ID for the report config. It will become the last component of the report config 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?.
- Update
Time string - The timestamp when the resource was last updated.
- Create
Time string - The timestamp when the resource was created.
- Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Description string
- Free-text description.
- Display
Name string - User-friendly display name. Maximum length is 63 characters.
- Group
Preferenceset []ReportAssignments Config Group Preferenceset Assignment Args - Collection of combinations of groups and preference sets. Structure is documented below.
- Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Name string
- Name of resource.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Report
Config stringId - User specified ID for the report config. It will become the last component of the report config 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?.
- Update
Time string - The timestamp when the resource was last updated.
- create_
time string - The timestamp when the resource was created.
- deletion_
policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description string
- Free-text description.
- display_
name string - User-friendly display name. Maximum length is 63 characters.
- group_
preferenceset_ list(object)assignments - Collection of combinations of groups and preference sets. Structure is documented below.
- location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name string
- Name of resource.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- report_
config_ stringid - User specified ID for the report config. It will become the last component of the report config 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?.
- update_
time string - The timestamp when the resource was last updated.
- create
Time String - The timestamp when the resource was created.
- deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description String
- Free-text description.
- display
Name String - User-friendly display name. Maximum length is 63 characters.
- group
Preferenceset List<ReportAssignments Config Group Preferenceset Assignment> - Collection of combinations of groups and preference sets. Structure is documented below.
- location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name String
- Name of resource.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- report
Config StringId - User specified ID for the report config. It will become the last component of the report config 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?.
- update
Time String - The timestamp when the resource was last updated.
- create
Time string - The timestamp when the resource was created.
- deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description string
- Free-text description.
- display
Name string - User-friendly display name. Maximum length is 63 characters.
- group
Preferenceset ReportAssignments Config Group Preferenceset Assignment[] - Collection of combinations of groups and preference sets. Structure is documented below.
- location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name string
- Name of resource.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- report
Config stringId - User specified ID for the report config. It will become the last component of the report config 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?.
- update
Time string - The timestamp when the resource was last updated.
- create_
time str - The timestamp when the resource was created.
- deletion_
policy str - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description str
- Free-text description.
- display_
name str - User-friendly display name. Maximum length is 63 characters.
- group_
preferenceset_ Sequence[Reportassignments Config Group Preferenceset Assignment Args] - Collection of combinations of groups and preference sets. Structure is documented below.
- location str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name str
- Name of resource.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- report_
config_ strid - User specified ID for the report config. It will become the last component of the report config 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?.
- update_
time str - The timestamp when the resource was last updated.
- create
Time String - The timestamp when the resource was created.
- deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description String
- Free-text description.
- display
Name String - User-friendly display name. Maximum length is 63 characters.
- group
Preferenceset List<Property Map>Assignments - Collection of combinations of groups and preference sets. Structure is documented below.
- location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name String
- Name of resource.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- report
Config StringId - User specified ID for the report config. It will become the last component of the report config 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?.
- update
Time String - The timestamp when the resource was last updated.
Supporting Types
ReportConfigGroupPreferencesetAssignment, ReportConfigGroupPreferencesetAssignmentArgs
- Group string
- Name of the group.
- Preference
Set string - Name of the Preference Set.
- Group string
- Name of the group.
- Preference
Set string - Name of the Preference Set.
- group string
- Name of the group.
- preference_
set string - Name of the Preference Set.
- group String
- Name of the group.
- preference
Set String - Name of the Preference Set.
- group string
- Name of the group.
- preference
Set string - Name of the Preference Set.
- group str
- Name of the group.
- preference_
set str - Name of the Preference Set.
- group String
- Name of the group.
- preference
Set String - Name of the Preference Set.
Import
ReportConfig can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/reportConfigs/{{report_config_id}}{{project}}/{{location}}/{{report_config_id}}{{location}}/{{report_config_id}}
When using the pulumi import command, ReportConfig can be imported using one of the formats above. For example:
$ pulumi import gcp:migrationcenter/reportConfig:ReportConfig default projects/{{project}}/locations/{{location}}/reportConfigs/{{report_config_id}}
$ pulumi import gcp:migrationcenter/reportConfig:ReportConfig default {{project}}/{{location}}/{{report_config_id}}
$ pulumi import gcp:migrationcenter/reportConfig:ReportConfig default {{location}}/{{report_config_id}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
published on Tuesday, Jun 9, 2026 by Pulumi