Class PodSecurityPolicyTemplate
Inherited Members
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public class PodSecurityPolicyTemplate : CustomResource
Constructors
View SourcePodSecurityPolicyTemplate(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 SourceAllowedCapabilities
(list)
Declaration
public Output<ImmutableArray<string>> AllowedCapabilities { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
AllowedCsiDrivers
(list)
Declaration
public Output<ImmutableArray<PodSecurityPolicyTemplateAllowedCsiDriver>> AllowedCsiDrivers { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<PodSecurityPolicyTemplateAllowedCsiDriver>> |
AllowedFlexVolumes
(list)
Declaration
public Output<ImmutableArray<PodSecurityPolicyTemplateAllowedFlexVolume>> AllowedFlexVolumes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<PodSecurityPolicyTemplateAllowedFlexVolume>> |
AllowedHostPaths
(list)
Declaration
public Output<ImmutableArray<PodSecurityPolicyTemplateAllowedHostPath>> AllowedHostPaths { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<PodSecurityPolicyTemplateAllowedHostPath>> |
AllowedProcMountTypes
(list)
Declaration
public Output<ImmutableArray<string>> AllowedProcMountTypes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
AllowedUnsafeSysctls
(list)
Declaration
public Output<ImmutableArray<string>> AllowedUnsafeSysctls { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
AllowPrivilegeEscalation
= (Optional)
Declaration
public Output<bool> AllowPrivilegeEscalation { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
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>> |
DefaultAddCapabilities
(list)
Declaration
public Output<ImmutableArray<string>> DefaultAddCapabilities { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
DefaultAllowPrivilegeEscalation
(list)
Declaration
public Output<bool?> DefaultAllowPrivilegeEscalation { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Description
The PodSecurityPolicyTemplate description (string)
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ForbiddenSysctls
(list)
Declaration
public Output<ImmutableArray<string>> ForbiddenSysctls { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
FsGroup
(list maxitems:1)
Declaration
public Output<PodSecurityPolicyTemplateFsGroup> FsGroup { get; }
Property Value
| Type | Description |
|---|---|
| Output<PodSecurityPolicyTemplateFsGroup> |
HostIpc
(bool)
Declaration
public Output<bool> HostIpc { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
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> |
HostPid
(bool)
Declaration
public Output<bool> HostPid { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
HostPorts
(list)
Declaration
public Output<ImmutableArray<PodSecurityPolicyTemplateHostPort>> HostPorts { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<PodSecurityPolicyTemplateHostPort>> |
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>> |
Name
The name of the PodSecurityPolicyTemplate (string)
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Privileged
(bool)
Declaration
public Output<bool> Privileged { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
ReadOnlyRootFilesystem
(bool)
Declaration
public Output<bool> ReadOnlyRootFilesystem { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
RequiredDropCapabilities
(list)
Declaration
public Output<ImmutableArray<string>> RequiredDropCapabilities { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
RunAsGroup
(list maxitems:1)
Declaration
public Output<PodSecurityPolicyTemplateRunAsGroup> RunAsGroup { get; }
Property Value
| Type | Description |
|---|---|
| Output<PodSecurityPolicyTemplateRunAsGroup> |
RunAsUser
(list maxitems:1)
Declaration
public Output<PodSecurityPolicyTemplateRunAsUser> RunAsUser { get; }
Property Value
| Type | Description |
|---|---|
| Output<PodSecurityPolicyTemplateRunAsUser> |
RuntimeClass
(list maxitems:1)
Declaration
public Output<PodSecurityPolicyTemplateRuntimeClass> RuntimeClass { get; }
Property Value
| Type | Description |
|---|---|
| Output<PodSecurityPolicyTemplateRuntimeClass> |
SeLinux
(list maxitems:1)
Declaration
public Output<PodSecurityPolicyTemplateSeLinux> SeLinux { get; }
Property Value
| Type | Description |
|---|---|
| Output<PodSecurityPolicyTemplateSeLinux> |
SupplementalGroup
(list maxitems:1)
Declaration
public Output<PodSecurityPolicyTemplateSupplementalGroup> SupplementalGroup { get; }
Property Value
| Type | Description |
|---|---|
| Output<PodSecurityPolicyTemplateSupplementalGroup> |
Volumes
(list)
Declaration
public Output<ImmutableArray<string>> Volumes { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Methods
View SourceGet(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 |