1. Packages
  2. Google Cloud Native
  3. API Docs
  4. migrationcenter
  5. migrationcenter/v1
  6. ReportConfig

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.migrationcenter/v1.ReportConfig

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a report configuration. Auto-naming is currently not supported for this resource.

    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,
                     report_config_id: Optional[str] = None,
                     description: Optional[str] = None,
                     display_name: Optional[str] = None,
                     location: Optional[str] = None,
                     project: Optional[str] = None,
                     request_id: 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: google-native:migrationcenter/v1:ReportConfig
    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 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 GoogleNative.MigrationCenter.V1.ReportConfig("reportConfigResource", new()
    {
        GroupPreferencesetAssignments = new[]
        {
            new GoogleNative.MigrationCenter.V1.Inputs.ReportConfigGroupPreferenceSetAssignmentArgs
            {
                Group = "string",
                PreferenceSet = "string",
            },
        },
        ReportConfigId = "string",
        Description = "string",
        DisplayName = "string",
        Location = "string",
        Project = "string",
        RequestId = "string",
    });
    
    example, err := migrationcenter.NewReportConfig(ctx, "reportConfigResource", &migrationcenter.ReportConfigArgs{
    	GroupPreferencesetAssignments: migrationcenter.ReportConfigGroupPreferenceSetAssignmentArray{
    		&migrationcenter.ReportConfigGroupPreferenceSetAssignmentArgs{
    			Group:         pulumi.String("string"),
    			PreferenceSet: pulumi.String("string"),
    		},
    	},
    	ReportConfigId: pulumi.String("string"),
    	Description:    pulumi.String("string"),
    	DisplayName:    pulumi.String("string"),
    	Location:       pulumi.String("string"),
    	Project:        pulumi.String("string"),
    	RequestId:      pulumi.String("string"),
    })
    
    var reportConfigResource = new ReportConfig("reportConfigResource", ReportConfigArgs.builder()
        .groupPreferencesetAssignments(ReportConfigGroupPreferenceSetAssignmentArgs.builder()
            .group("string")
            .preferenceSet("string")
            .build())
        .reportConfigId("string")
        .description("string")
        .displayName("string")
        .location("string")
        .project("string")
        .requestId("string")
        .build());
    
    report_config_resource = google_native.migrationcenter.v1.ReportConfig("reportConfigResource",
        group_preferenceset_assignments=[{
            "group": "string",
            "preference_set": "string",
        }],
        report_config_id="string",
        description="string",
        display_name="string",
        location="string",
        project="string",
        request_id="string")
    
    const reportConfigResource = new google_native.migrationcenter.v1.ReportConfig("reportConfigResource", {
        groupPreferencesetAssignments: [{
            group: "string",
            preferenceSet: "string",
        }],
        reportConfigId: "string",
        description: "string",
        displayName: "string",
        location: "string",
        project: "string",
        requestId: "string",
    });
    
    type: google-native:migrationcenter/v1:ReportConfig
    properties:
        description: string
        displayName: string
        groupPreferencesetAssignments:
            - group: string
              preferenceSet: string
        location: string
        project: string
        reportConfigId: string
        requestId: 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<Pulumi.GoogleNative.MigrationCenter.V1.Inputs.ReportConfigGroupPreferenceSetAssignment>
    Collection of combinations of groups and preference sets.
    ReportConfigId string
    Required. 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?.
    Description string
    Free-text description.
    DisplayName string
    User-friendly display name. Maximum length is 63 characters.
    Location string
    Project string
    RequestId 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).
    GroupPreferencesetAssignments []ReportConfigGroupPreferenceSetAssignmentArgs
    Collection of combinations of groups and preference sets.
    ReportConfigId string
    Required. 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?.
    Description string
    Free-text description.
    DisplayName string
    User-friendly display name. Maximum length is 63 characters.
    Location string
    Project string
    RequestId 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).
    groupPreferencesetAssignments List<ReportConfigGroupPreferenceSetAssignment>
    Collection of combinations of groups and preference sets.
    reportConfigId String
    Required. 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?.
    description String
    Free-text description.
    displayName String
    User-friendly display name. Maximum length is 63 characters.
    location String
    project String
    requestId 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).
    groupPreferencesetAssignments ReportConfigGroupPreferenceSetAssignment[]
    Collection of combinations of groups and preference sets.
    reportConfigId string
    Required. 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?.
    description string
    Free-text description.
    displayName string
    User-friendly display name. Maximum length is 63 characters.
    location string
    project string
    requestId 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_preferenceset_assignments Sequence[ReportConfigGroupPreferenceSetAssignmentArgs]
    Collection of combinations of groups and preference sets.
    report_config_id str
    Required. 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?.
    description str
    Free-text description.
    display_name str
    User-friendly display name. Maximum length is 63 characters.
    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).
    groupPreferencesetAssignments List<Property Map>
    Collection of combinations of groups and preference sets.
    reportConfigId String
    Required. 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?.
    description String
    Free-text description.
    displayName String
    User-friendly display name. Maximum length is 63 characters.
    location String
    project String
    requestId 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 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.
    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.

    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.
    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.

    ReportConfigGroupPreferenceSetAssignmentResponse, ReportConfigGroupPreferenceSetAssignmentResponseArgs

    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.
    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.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi