DeploymentAppsV1beta2Resource constructor
DeploymentAppsV1beta2Resource(
- String name, {
- DeploymentAppsV1beta2Args? args,
- CustomResourceOptions? options,
Creates a new DeploymentAppsV1beta2Resource.
name The Pulumi resource name.
args Arguments used to configure this DeploymentAppsV1beta2Resource. The set of arguments for Deployment.
options Resource options controlling this resource's behavior.
Implementation
DeploymentAppsV1beta2Resource(
String name, {
DeploymentAppsV1beta2Args? args,
pulumi.CustomResourceOptions? options,
}) : super(
'kubernetes:apps/v1beta2:Deployment',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
apiVersion = registerOutput<String>('apiVersion');
kind = registerOutput<String>('kind');
metadata = registerOutput<ObjectMeta>('metadata', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ObjectMeta.fromMap((guardedValue as Map).cast<String, dynamic>()); });
spec = registerOutput<DeploymentSpecAppsV1beta2>('spec', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return DeploymentSpecAppsV1beta2.fromMap((guardedValue as Map).cast<String, dynamic>()); });
status = registerOutput<DeploymentStatusAppsV1beta2?>('status', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return DeploymentStatusAppsV1beta2.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}