Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.migrationcenter/v1.ReportConfig
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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=[google_native.migrationcenter.v1.ReportConfigGroupPreferenceSetAssignmentArgs(
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
The ReportConfig resource accepts the following input properties:
- Group
Preferenceset List<Pulumi.Assignments Google Native. Migration Center. V1. Inputs. Report Config Group Preference Set Assignment> - Collection of combinations of groups and preference sets.
- Report
Config stringId - 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.
- Display
Name string - User-friendly display name. Maximum length is 63 characters.
- Location string
- Project string
- Request
Id string - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- Group
Preferenceset []ReportAssignments Config Group Preference Set Assignment Args - Collection of combinations of groups and preference sets.
- Report
Config stringId - 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.
- Display
Name string - User-friendly display name. Maximum length is 63 characters.
- Location string
- Project string
- Request
Id string - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- group
Preferenceset List<ReportAssignments Config Group Preference Set Assignment> - Collection of combinations of groups and preference sets.
- report
Config StringId - 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.
- display
Name String - User-friendly display name. Maximum length is 63 characters.
- location String
- project String
- request
Id String - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- group
Preferenceset ReportAssignments Config Group Preference Set Assignment[] - Collection of combinations of groups and preference sets.
- report
Config stringId - 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.
- display
Name string - User-friendly display name. Maximum length is 63 characters.
- location string
- project string
- request
Id string - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- group_
preferenceset_ Sequence[Reportassignments Config Group Preference Set Assignment Args] - Collection of combinations of groups and preference sets.
- report_
config_ strid - 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).
- group
Preferenceset List<Property Map>Assignments - Collection of combinations of groups and preference sets.
- report
Config StringId - 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.
- display
Name String - User-friendly display name. Maximum length is 63 characters.
- location String
- project String
- request
Id String - Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Outputs
All input properties are implicitly available as output properties. Additionally, the 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 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.
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 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.
ReportConfigGroupPreferenceSetAssignmentResponse, ReportConfigGroupPreferenceSetAssignmentResponseArgs
- 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.
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.