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