GoogleOsConfigPatchDeployment constructor
GoogleOsConfigPatchDeployment({
- required String localName,
- required TfArg<
String> patchDeploymentId, - TfArg<
String> ? description, - required TfArg<
Map< instanceFilter,String, dynamic> > - TfArg<
Map< ? patchConfig,String, dynamic> > - required OsConfigPatchDeploymentSchedule schedule,
- TfArg<
String> ? duration, - TfArg<
Map< ? rollout,String, dynamic> > - TfArg<
String> ? project, - TfArg<
String> ? deletionPolicy, - LifecycleOptions? lifecycle,
- List<
DependencyTarget> ? dependsOn,
Implementation
GoogleOsConfigPatchDeployment({
required super.localName,
required TfArg<String> patchDeploymentId,
TfArg<String>? description,
required TfArg<Map<String, dynamic>> instanceFilter,
TfArg<Map<String, dynamic>>? patchConfig,
required OsConfigPatchDeploymentSchedule schedule,
TfArg<String>? duration,
TfArg<Map<String, dynamic>>? rollout,
TfArg<String>? project,
TfArg<String>? deletionPolicy,
super.lifecycle,
super.dependsOn,
}) : super(
terraformType: tfType,
argMap: {
'patch_deployment_id': patchDeploymentId,
if (description != null) 'description': description,
'instance_filter': instanceFilter,
if (patchConfig != null) 'patch_config': patchConfig,
if (duration != null) 'duration': duration,
if (rollout != null) 'rollout': rollout,
if (project != null) 'project': project,
if (deletionPolicy != null) 'deletion_policy': deletionPolicy,
schedule.blockKey: TfArg.literal(schedule.encode()),
},
);