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