ReplicaSetPatchAppsV1 constructor
ReplicaSetPatchAppsV1(
- String name, {
- ReplicaSetPatchArgs? args,
- CustomResourceOptions? options,
Creates a new ReplicaSetPatchAppsV1.
name The Pulumi resource name.
args Arguments used to configure this ReplicaSetPatchAppsV1. The set of arguments for ReplicaSetPatch.
options Resource options controlling this resource's behavior.
Implementation
ReplicaSetPatchAppsV1(
String name, {
ReplicaSetPatchArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'kubernetes:apps/v1:ReplicaSetPatch',
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<ReplicaSetSpecPatch?>('spec', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ReplicaSetSpecPatch.fromMap((guardedValue as Map).cast<String, dynamic>()); });
status = registerOutput<ReplicaSetStatusPatch?>('status', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ReplicaSetStatusPatch.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}