PatchDeployment constructor

PatchDeployment(
  1. String name, {
  2. PatchDeploymentArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new PatchDeployment. name The Pulumi resource name. args Arguments used to configure this PatchDeployment. The set of arguments for PatchDeployment. options Resource options controlling this resource's behavior.

Implementation

PatchDeployment(
  String name, {
  PatchDeploymentArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:osconfig/v1:PatchDeployment',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  createTime = registerOutput<String>('createTime');
  description = registerOutput<String>('description');
  duration = registerOutput<String>('duration');
  instanceFilter = registerOutput<PatchInstanceFilterResponse>('instanceFilter', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return PatchInstanceFilterResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  lastExecuteTime = registerOutput<String>('lastExecuteTime');
  this.name = registerOutput<String>('name');
  oneTimeSchedule = registerOutput<OneTimeScheduleResponse>('oneTimeSchedule', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return OneTimeScheduleResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  patchConfig = registerOutput<PatchConfigResponse>('patchConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return PatchConfigResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  patchDeploymentId = registerOutput<String>('patchDeploymentId');
  project = registerOutput<String>('project');
  recurringSchedule = registerOutput<RecurringScheduleResponse>('recurringSchedule', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return RecurringScheduleResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  rollout = registerOutput<PatchRolloutResponse>('rollout', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return PatchRolloutResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  state = registerOutput<String>('state');
  updateTime = registerOutput<String>('updateTime');
}