GoogleMigrationCenterSource constructor
GoogleMigrationCenterSource({
- required String localName,
- required TfArg<
String> location, - required TfArg<
String> sourceId, - TfArg<
String> ? displayName, - TfArg<
String> ? description, - TfArg<
MigrationCenterSourceType> ? type, - TfArg<
num> ? priority, - TfArg<
bool> ? managed, - TfArg<
MigrationCenterSourceDeletionPolicy> ? deletionPolicy, - TfArg<
String> ? project, - LifecycleOptions? lifecycle,
- List<
DependencyTarget> ? dependsOn,
Implementation
GoogleMigrationCenterSource({
required super.localName,
required TfArg<String> location,
required TfArg<String> sourceId,
TfArg<String>? displayName,
TfArg<String>? description,
TfArg<MigrationCenterSourceType>? type,
TfArg<num>? priority,
TfArg<bool>? managed,
TfArg<MigrationCenterSourceDeletionPolicy>? deletionPolicy,
TfArg<String>? project,
super.lifecycle,
super.dependsOn,
}) : super(
terraformType: tfType,
argMap: {
'location': location,
'source_id': sourceId,
if (displayName != null) 'display_name': displayName,
if (description != null) 'description': description,
if (type != null) 'type': type,
if (priority != null) 'priority': priority,
if (managed != null) 'managed': managed,
if (deletionPolicy != null) 'deletion_policy': deletionPolicy,
if (project != null) 'project': project,
},
);