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