1. Packages
  2. Google Cloud Native
  3. API Docs
  4. migrationcenter
  5. migrationcenter/v1alpha1
  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/v1alpha1.ReportConfig

Explore with Pulumi AI

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/v1alpha1:ReportConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ReportConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ReportConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ReportConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 google_nativeReportConfigResource = new GoogleNative.MigrationCenter.V1Alpha1.ReportConfig("google-nativeReportConfigResource", new()
{
    GroupPreferencesetAssignments = new[]
    {
        new GoogleNative.MigrationCenter.V1Alpha1.Inputs.ReportConfigGroupPreferenceSetAssignmentArgs
        {
            Group = "string",
            PreferenceSet = "string",
        },
    },
    ReportConfigId = "string",
    Description = "string",
    DisplayName = "string",
    Location = "string",
    Project = "string",
    RequestId = "string",
});
Copy
example, err := migrationcenterv1alpha1.NewReportConfig(ctx, "google-nativeReportConfigResource", &migrationcenterv1alpha1.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"),
})
Copy
var google_nativeReportConfigResource = new ReportConfig("google-nativeReportConfigResource", ReportConfigArgs.builder()
    .groupPreferencesetAssignments(ReportConfigGroupPreferenceSetAssignmentArgs.builder()
        .group("string")
        .preferenceSet("string")
        .build())
    .reportConfigId("string")
    .description("string")
    .displayName("string")
    .location("string")
    .project("string")
    .requestId("string")
    .build());
Copy
google_native_report_config_resource = google_native.migrationcenter.v1alpha1.ReportConfig("google-nativeReportConfigResource",
    group_preferenceset_assignments=[{
        "group": "string",
        "preference_set": "string",
    }],
    report_config_id="string",
    description="string",
    display_name="string",
    location="string",
    project="string",
    request_id="string")
Copy
const google_nativeReportConfigResource = new google_native.migrationcenter.v1alpha1.ReportConfig("google-nativeReportConfigResource", {
    groupPreferencesetAssignments: [{
        group: "string",
        preferenceSet: "string",
    }],
    reportConfigId: "string",
    description: "string",
    displayName: "string",
    location: "string",
    project: "string",
    requestId: "string",
});
Copy
type: google-native:migrationcenter/v1alpha1:ReportConfig
properties:
    description: string
    displayName: string
    groupPreferencesetAssignments:
        - group: string
          preferenceSet: string
    location: string
    project: string
    reportConfigId: string
    requestId: string
Copy

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 This property is required. List<Pulumi.GoogleNative.MigrationCenter.V1Alpha1.Inputs.ReportConfigGroupPreferenceSetAssignment>
Collection of combinations of groups and preference sets.
ReportConfigId
This property is required.
Changes to this property will trigger replacement.
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 Changes to this property will trigger replacement. string
Project Changes to this property will trigger replacement. 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 This property is required. []ReportConfigGroupPreferenceSetAssignmentArgs
Collection of combinations of groups and preference sets.
ReportConfigId
This property is required.
Changes to this property will trigger replacement.
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 Changes to this property will trigger replacement. string
Project Changes to this property will trigger replacement. 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 This property is required. List<ReportConfigGroupPreferenceSetAssignment>
Collection of combinations of groups and preference sets.
reportConfigId
This property is required.
Changes to this property will trigger replacement.
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 Changes to this property will trigger replacement. String
project Changes to this property will trigger replacement. 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 This property is required. ReportConfigGroupPreferenceSetAssignment[]
Collection of combinations of groups and preference sets.
reportConfigId
This property is required.
Changes to this property will trigger replacement.
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 Changes to this property will trigger replacement. string
project Changes to this property will trigger replacement. 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 This property is required. Sequence[ReportConfigGroupPreferenceSetAssignmentArgs]
Collection of combinations of groups and preference sets.
report_config_id
This property is required.
Changes to this property will trigger replacement.
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 Changes to this property will trigger replacement. str
project Changes to this property will trigger replacement. 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 This property is required. List<Property Map>
Collection of combinations of groups and preference sets.
reportConfigId
This property is required.
Changes to this property will trigger replacement.
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 Changes to this property will trigger replacement. String
project Changes to this property will trigger replacement. 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 This property is required. string
Name of the group.
PreferenceSet This property is required. string
Name of the Preference Set.
Group This property is required. string
Name of the group.
PreferenceSet This property is required. string
Name of the Preference Set.
group This property is required. String
Name of the group.
preferenceSet This property is required. String
Name of the Preference Set.
group This property is required. string
Name of the group.
preferenceSet This property is required. string
Name of the Preference Set.
group This property is required. str
Name of the group.
preference_set This property is required. str
Name of the Preference Set.
group This property is required. String
Name of the group.
preferenceSet This property is required. String
Name of the Preference Set.

ReportConfigGroupPreferenceSetAssignmentResponse
, ReportConfigGroupPreferenceSetAssignmentResponseArgs

Group This property is required. string
Name of the group.
PreferenceSet This property is required. string
Name of the Preference Set.
Group This property is required. string
Name of the group.
PreferenceSet This property is required. string
Name of the Preference Set.
group This property is required. String
Name of the group.
preferenceSet This property is required. String
Name of the Preference Set.
group This property is required. string
Name of the group.
preferenceSet This property is required. string
Name of the Preference Set.
group This property is required. str
Name of the group.
preference_set This property is required. str
Name of the Preference Set.
group This property is required. String
Name of the group.
preferenceSet This property is required. String
Name of the Preference Set.

Package Details

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

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

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