Rancher 2 v7.1.1 published on Monday, Oct 7, 2024 by Pulumi
rancher2.getPodSecurityAdmissionConfigurationTemplate
Explore with Pulumi AI
Using getPodSecurityAdmissionConfigurationTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPodSecurityAdmissionConfigurationTemplate(args: GetPodSecurityAdmissionConfigurationTemplateArgs, opts?: InvokeOptions): Promise<GetPodSecurityAdmissionConfigurationTemplateResult>
function getPodSecurityAdmissionConfigurationTemplateOutput(args: GetPodSecurityAdmissionConfigurationTemplateOutputArgs, opts?: InvokeOptions): Output<GetPodSecurityAdmissionConfigurationTemplateResult>
def get_pod_security_admission_configuration_template(annotations: Optional[Mapping[str, str]] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPodSecurityAdmissionConfigurationTemplateResult
def get_pod_security_admission_configuration_template_output(annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPodSecurityAdmissionConfigurationTemplateResult]
func LookupPodSecurityAdmissionConfigurationTemplate(ctx *Context, args *LookupPodSecurityAdmissionConfigurationTemplateArgs, opts ...InvokeOption) (*LookupPodSecurityAdmissionConfigurationTemplateResult, error)
func LookupPodSecurityAdmissionConfigurationTemplateOutput(ctx *Context, args *LookupPodSecurityAdmissionConfigurationTemplateOutputArgs, opts ...InvokeOption) LookupPodSecurityAdmissionConfigurationTemplateResultOutput
> Note: This function is named LookupPodSecurityAdmissionConfigurationTemplate
in the Go SDK.
public static class GetPodSecurityAdmissionConfigurationTemplate
{
public static Task<GetPodSecurityAdmissionConfigurationTemplateResult> InvokeAsync(GetPodSecurityAdmissionConfigurationTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetPodSecurityAdmissionConfigurationTemplateResult> Invoke(GetPodSecurityAdmissionConfigurationTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPodSecurityAdmissionConfigurationTemplateResult> getPodSecurityAdmissionConfigurationTemplate(GetPodSecurityAdmissionConfigurationTemplateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: rancher2:index/getPodSecurityAdmissionConfigurationTemplate:getPodSecurityAdmissionConfigurationTemplate
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Annotations Dictionary<string, string>
- Labels Dictionary<string, string>
- Name string
- Annotations map[string]string
- Labels map[string]string
- name String
- annotations Map<String,String>
- labels Map<String,String>
- name string
- annotations {[key: string]: string}
- labels {[key: string]: string}
- name str
- annotations Mapping[str, str]
- labels Mapping[str, str]
- name String
- annotations Map<String>
- labels Map<String>
getPodSecurityAdmissionConfigurationTemplate Result
The following output properties are available:
- Annotations Dictionary<string, string>
- Defaults
Get
Pod Security Admission Configuration Template Defaults - Description string
- Exemptions
Get
Pod Security Admission Configuration Template Exemptions - Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- Name string
- Annotations map[string]string
- Defaults
Get
Pod Security Admission Configuration Template Defaults - Description string
- Exemptions
Get
Pod Security Admission Configuration Template Exemptions - Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- Name string
- annotations Map<String,String>
- defaults
Get
Pod Security Admission Configuration Template Defaults - description String
- exemptions
Get
Pod Security Admission Configuration Template Exemptions - id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- name String
- annotations {[key: string]: string}
- defaults
Get
Pod Security Admission Configuration Template Defaults - description string
- exemptions
Get
Pod Security Admission Configuration Template Exemptions - id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- name string
- annotations Mapping[str, str]
- defaults
Get
Pod Security Admission Configuration Template Defaults - description str
- exemptions
Get
Pod Security Admission Configuration Template Exemptions - id str
- The provider-assigned unique ID for this managed resource.
- labels Mapping[str, str]
- name str
- annotations Map<String>
- defaults Property Map
- description String
- exemptions Property Map
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- name String
Supporting Types
GetPodSecurityAdmissionConfigurationTemplateDefaults
- Audit string
- Pod Security Admission Configuration audit. This audits a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- Audit
Version string - Pod Security Admission Configuration audit version (default: latest)
- Enforce string
- Pod Security Admission Configuration enforce. This rejects a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- Enforce
Version string - Pod Security Admission Configuration enforce version (default: latest)
- Warn string
- Pod Security Admission Configuration warn. This warns the user about a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- Warn
Version string - Pod Security Admission Configuration warn version (default: latest)
- Audit string
- Pod Security Admission Configuration audit. This audits a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- Audit
Version string - Pod Security Admission Configuration audit version (default: latest)
- Enforce string
- Pod Security Admission Configuration enforce. This rejects a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- Enforce
Version string - Pod Security Admission Configuration enforce version (default: latest)
- Warn string
- Pod Security Admission Configuration warn. This warns the user about a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- Warn
Version string - Pod Security Admission Configuration warn version (default: latest)
- audit String
- Pod Security Admission Configuration audit. This audits a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- audit
Version String - Pod Security Admission Configuration audit version (default: latest)
- enforce String
- Pod Security Admission Configuration enforce. This rejects a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- enforce
Version String - Pod Security Admission Configuration enforce version (default: latest)
- warn String
- Pod Security Admission Configuration warn. This warns the user about a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- warn
Version String - Pod Security Admission Configuration warn version (default: latest)
- audit string
- Pod Security Admission Configuration audit. This audits a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- audit
Version string - Pod Security Admission Configuration audit version (default: latest)
- enforce string
- Pod Security Admission Configuration enforce. This rejects a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- enforce
Version string - Pod Security Admission Configuration enforce version (default: latest)
- warn string
- Pod Security Admission Configuration warn. This warns the user about a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- warn
Version string - Pod Security Admission Configuration warn version (default: latest)
- audit str
- Pod Security Admission Configuration audit. This audits a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- audit_
version str - Pod Security Admission Configuration audit version (default: latest)
- enforce str
- Pod Security Admission Configuration enforce. This rejects a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- enforce_
version str - Pod Security Admission Configuration enforce version (default: latest)
- warn str
- Pod Security Admission Configuration warn. This warns the user about a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- warn_
version str - Pod Security Admission Configuration warn version (default: latest)
- audit String
- Pod Security Admission Configuration audit. This audits a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- audit
Version String - Pod Security Admission Configuration audit version (default: latest)
- enforce String
- Pod Security Admission Configuration enforce. This rejects a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- enforce
Version String - Pod Security Admission Configuration enforce version (default: latest)
- warn String
- Pod Security Admission Configuration warn. This warns the user about a pod in violation of privileged, baseline, or restricted policy (default: privileged)
- warn
Version String - Pod Security Admission Configuration warn version (default: latest)
GetPodSecurityAdmissionConfigurationTemplateExemptions
- Namespaces List<string>
- Pod Security Admission Configuration namespace exemptions
- Runtime
Classes List<string> - Pod Security Admission Configuration runtime class exemptions
- Usernames List<string>
- Pod Security Admission Configuration username exemptions
- Namespaces []string
- Pod Security Admission Configuration namespace exemptions
- Runtime
Classes []string - Pod Security Admission Configuration runtime class exemptions
- Usernames []string
- Pod Security Admission Configuration username exemptions
- namespaces List<String>
- Pod Security Admission Configuration namespace exemptions
- runtime
Classes List<String> - Pod Security Admission Configuration runtime class exemptions
- usernames List<String>
- Pod Security Admission Configuration username exemptions
- namespaces string[]
- Pod Security Admission Configuration namespace exemptions
- runtime
Classes string[] - Pod Security Admission Configuration runtime class exemptions
- usernames string[]
- Pod Security Admission Configuration username exemptions
- namespaces Sequence[str]
- Pod Security Admission Configuration namespace exemptions
- runtime_
classes Sequence[str] - Pod Security Admission Configuration runtime class exemptions
- usernames Sequence[str]
- Pod Security Admission Configuration username exemptions
- namespaces List<String>
- Pod Security Admission Configuration namespace exemptions
- runtime
Classes List<String> - Pod Security Admission Configuration runtime class exemptions
- usernames List<String>
- Pod Security Admission Configuration username exemptions
Package Details
- Repository
- Rancher2 pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2
Terraform Provider.