1. Packages
  2. Packages
  3. Google Cloud (GCP) Classic
  4. API Docs
  5. migrationcenter
  6. ReportConfig
Viewing docs for Google Cloud v9.26.0
published on Tuesday, Jun 9, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v9.26.0
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:

    GroupPreferencesetAssignments List<ReportConfigGroupPreferencesetAssignment>
    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.
    ReportConfigId string
    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?.
    DeletionPolicy 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.
    DisplayName 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.
    GroupPreferencesetAssignments []ReportConfigGroupPreferencesetAssignmentArgs
    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.
    ReportConfigId string
    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?.
    DeletionPolicy 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.
    DisplayName 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_assignments list(object)
    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_id string
    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.
    groupPreferencesetAssignments List<ReportConfigGroupPreferencesetAssignment>
    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.
    reportConfigId String
    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?.
    deletionPolicy 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.
    displayName 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.
    groupPreferencesetAssignments ReportConfigGroupPreferencesetAssignment[]
    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.
    reportConfigId string
    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?.
    deletionPolicy 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.
    displayName 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_assignments Sequence[ReportConfigGroupPreferencesetAssignmentArgs]
    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_id str
    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.
    groupPreferencesetAssignments List<Property Map>
    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.
    reportConfigId String
    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?.
    deletionPolicy 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.
    displayName 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:

    CreateTime string
    The timestamp when the resource was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of resource.
    UpdateTime string
    The timestamp when the resource was last updated.
    CreateTime string
    The timestamp when the resource was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of resource.
    UpdateTime 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.
    createTime String
    The timestamp when the resource was created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of resource.
    updateTime String
    The timestamp when the resource was last updated.
    createTime string
    The timestamp when the resource was created.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name of resource.
    updateTime 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.
    createTime String
    The timestamp when the resource was created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of resource.
    updateTime 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) -> ReportConfig
    func 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.
    The following state arguments are supported:
    CreateTime string
    The timestamp when the resource was created.
    DeletionPolicy 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.
    DisplayName string
    User-friendly display name. Maximum length is 63 characters.
    GroupPreferencesetAssignments List<ReportConfigGroupPreferencesetAssignment>
    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.
    ReportConfigId string
    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?.
    UpdateTime string
    The timestamp when the resource was last updated.
    CreateTime string
    The timestamp when the resource was created.
    DeletionPolicy 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.
    DisplayName string
    User-friendly display name. Maximum length is 63 characters.
    GroupPreferencesetAssignments []ReportConfigGroupPreferencesetAssignmentArgs
    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.
    ReportConfigId string
    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?.
    UpdateTime 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_assignments list(object)
    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_id string
    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.
    createTime String
    The timestamp when the resource was created.
    deletionPolicy 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.
    displayName String
    User-friendly display name. Maximum length is 63 characters.
    groupPreferencesetAssignments List<ReportConfigGroupPreferencesetAssignment>
    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.
    reportConfigId String
    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?.
    updateTime String
    The timestamp when the resource was last updated.
    createTime string
    The timestamp when the resource was created.
    deletionPolicy 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.
    displayName string
    User-friendly display name. Maximum length is 63 characters.
    groupPreferencesetAssignments ReportConfigGroupPreferencesetAssignment[]
    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.
    reportConfigId string
    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?.
    updateTime 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_assignments Sequence[ReportConfigGroupPreferencesetAssignmentArgs]
    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_id str
    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.
    createTime String
    The timestamp when the resource was created.
    deletionPolicy 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.
    displayName String
    User-friendly display name. Maximum length is 63 characters.
    groupPreferencesetAssignments List<Property Map>
    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.
    reportConfigId String
    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?.
    updateTime String
    The timestamp when the resource was last updated.

    Supporting Types

    ReportConfigGroupPreferencesetAssignment, ReportConfigGroupPreferencesetAssignmentArgs

    Group string
    Name of the group.
    PreferenceSet string
    Name of the Preference Set.
    Group string
    Name of the group.
    PreferenceSet 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.
    preferenceSet String
    Name of the Preference Set.
    group string
    Name of the group.
    preferenceSet 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.
    preferenceSet 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-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v9.26.0
    published on Tuesday, Jun 9, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial