DaemonSetPatchResource constructor

DaemonSetPatchResource(
  1. String name, {
  2. DaemonSetPatchAppsV1beta2Args? args,
  3. CustomResourceOptions? options,
})

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

Implementation

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