Show / Hide Table of Contents

Class PodSecurityPolicyTemplate

Inheritance
System.Object
Resource
CustomResource
PodSecurityPolicyTemplate
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public class PodSecurityPolicyTemplate : CustomResource

Constructors

View Source

PodSecurityPolicyTemplate(String, PodSecurityPolicyTemplateArgs, CustomResourceOptions)

Create a PodSecurityPolicyTemplate resource with the given unique name, arguments, and options.

Declaration
public PodSecurityPolicyTemplate(string name, PodSecurityPolicyTemplateArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

PodSecurityPolicyTemplateArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AllowedCapabilities

(list)

Declaration
public Output<ImmutableArray<string>> AllowedCapabilities { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

AllowedCsiDrivers

(list)

Declaration
public Output<ImmutableArray<PodSecurityPolicyTemplateAllowedCsiDriver>> AllowedCsiDrivers { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<PodSecurityPolicyTemplateAllowedCsiDriver>>
View Source

AllowedFlexVolumes

(list)

Declaration
public Output<ImmutableArray<PodSecurityPolicyTemplateAllowedFlexVolume>> AllowedFlexVolumes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<PodSecurityPolicyTemplateAllowedFlexVolume>>
View Source

AllowedHostPaths

(list)

Declaration
public Output<ImmutableArray<PodSecurityPolicyTemplateAllowedHostPath>> AllowedHostPaths { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<PodSecurityPolicyTemplateAllowedHostPath>>
View Source

AllowedProcMountTypes

(list)

Declaration
public Output<ImmutableArray<string>> AllowedProcMountTypes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

AllowedUnsafeSysctls

(list)

Declaration
public Output<ImmutableArray<string>> AllowedUnsafeSysctls { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

AllowPrivilegeEscalation

= (Optional)

Declaration
public Output<bool> AllowPrivilegeEscalation { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

Annotations

Annotations for PodSecurityPolicyTemplate object (map)

Declaration
public Output<ImmutableDictionary<string, object>> Annotations { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

DefaultAddCapabilities

(list)

Declaration
public Output<ImmutableArray<string>> DefaultAddCapabilities { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

DefaultAllowPrivilegeEscalation

(list)

Declaration
public Output<bool?> DefaultAllowPrivilegeEscalation { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Description

The PodSecurityPolicyTemplate description (string)

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

ForbiddenSysctls

(list)

Declaration
public Output<ImmutableArray<string>> ForbiddenSysctls { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

FsGroup

(list maxitems:1)

Declaration
public Output<PodSecurityPolicyTemplateFsGroup> FsGroup { get; }
Property Value
Type Description
Output<PodSecurityPolicyTemplateFsGroup>
View Source

HostIpc

(bool)

Declaration
public Output<bool> HostIpc { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

HostNetwork

hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.

Declaration
public Output<bool> HostNetwork { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

HostPid

(bool)

Declaration
public Output<bool> HostPid { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

HostPorts

(list)

Declaration
public Output<ImmutableArray<PodSecurityPolicyTemplateHostPort>> HostPorts { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<PodSecurityPolicyTemplateHostPort>>
View Source

Labels

Labels for PodSecurityPolicyTemplate object (map)

Declaration
public Output<ImmutableDictionary<string, object>> Labels { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

Name

The name of the PodSecurityPolicyTemplate (string)

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Privileged

(bool)

Declaration
public Output<bool> Privileged { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

ReadOnlyRootFilesystem

(bool)

Declaration
public Output<bool> ReadOnlyRootFilesystem { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

RequiredDropCapabilities

(list)

Declaration
public Output<ImmutableArray<string>> RequiredDropCapabilities { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

RunAsGroup

(list maxitems:1)

Declaration
public Output<PodSecurityPolicyTemplateRunAsGroup> RunAsGroup { get; }
Property Value
Type Description
Output<PodSecurityPolicyTemplateRunAsGroup>
View Source

RunAsUser

(list maxitems:1)

Declaration
public Output<PodSecurityPolicyTemplateRunAsUser> RunAsUser { get; }
Property Value
Type Description
Output<PodSecurityPolicyTemplateRunAsUser>
View Source

RuntimeClass

(list maxitems:1)

Declaration
public Output<PodSecurityPolicyTemplateRuntimeClass> RuntimeClass { get; }
Property Value
Type Description
Output<PodSecurityPolicyTemplateRuntimeClass>
View Source

SeLinux

(list maxitems:1)

Declaration
public Output<PodSecurityPolicyTemplateSeLinux> SeLinux { get; }
Property Value
Type Description
Output<PodSecurityPolicyTemplateSeLinux>
View Source

SupplementalGroup

(list maxitems:1)

Declaration
public Output<PodSecurityPolicyTemplateSupplementalGroup> SupplementalGroup { get; }
Property Value
Type Description
Output<PodSecurityPolicyTemplateSupplementalGroup>
View Source

Volumes

(list)

Declaration
public Output<ImmutableArray<string>> Volumes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>

Methods

View Source

Get(String, Input<String>, PodSecurityPolicyTemplateState, CustomResourceOptions)

Get an existing PodSecurityPolicyTemplate resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static PodSecurityPolicyTemplate Get(string name, Input<string> id, PodSecurityPolicyTemplateState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

PodSecurityPolicyTemplateState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
PodSecurityPolicyTemplate
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.