PodSecurityPolicyPatchExtensionsV1beta1 constructor

PodSecurityPolicyPatchExtensionsV1beta1(
  1. String name, {
  2. PodSecurityPolicyPatchArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new PodSecurityPolicyPatchExtensionsV1beta1. name The Pulumi resource name. args Arguments used to configure this PodSecurityPolicyPatchExtensionsV1beta1. The set of arguments for PodSecurityPolicyPatch. options Resource options controlling this resource's behavior.

Implementation

PodSecurityPolicyPatchExtensionsV1beta1(
  String name, {
  PodSecurityPolicyPatchArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'kubernetes:extensions/v1beta1:PodSecurityPolicyPatch',
        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<PodSecurityPolicySpecPatch?>('spec', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return PodSecurityPolicySpecPatch.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}