DaemonSetPatchAppsV1 constructor

DaemonSetPatchAppsV1(
  1. String name, {
  2. DaemonSetPatchArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

DaemonSetPatchAppsV1(
  String name, {
  DaemonSetPatchArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'kubernetes:apps/v1:DaemonSetPatch',
        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<DaemonSetSpecPatch?>('spec', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return DaemonSetSpecPatch.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  status = registerOutput<DaemonSetStatusPatch?>('status', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return DaemonSetStatusPatch.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}