CronJobPatchResource constructor

CronJobPatchResource(
  1. String name, {
  2. CronJobPatchBatchV1beta1Args? args,
  3. CustomResourceOptions? options,
})

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

Implementation

CronJobPatchResource(
  String name, {
  CronJobPatchBatchV1beta1Args? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'kubernetes:batch/v1beta1:CronJobPatch',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  apiVersion = registerOutput<String?>('apiVersion');
  kind = registerOutput<String?>('kind');
  metadata = registerOutput<ObjectMetaPatch?>('metadata', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ObjectMetaPatch.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  spec = registerOutput<CronJobSpecPatchBatchV1beta1?>('spec', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return CronJobSpecPatchBatchV1beta1.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  status = registerOutput<CronJobStatusPatchBatchV1beta1?>('status', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return CronJobStatusPatchBatchV1beta1.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}