1. Packages
  2. Rancher2 Provider
  3. API Docs
  4. getPodSecurityAdmissionConfigurationTemplate
Rancher 2 v7.1.1 published on Monday, Oct 7, 2024 by Pulumi

rancher2.getPodSecurityAdmissionConfigurationTemplate

Explore with Pulumi AI

rancher2 logo
Rancher 2 v7.1.1 published on Monday, Oct 7, 2024 by Pulumi

    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 GetPodSecurityAdmissionConfigurationTemplateDefaults
    Description string
    Exemptions GetPodSecurityAdmissionConfigurationTemplateExemptions
    Id string
    The provider-assigned unique ID for this managed resource.
    Labels Dictionary<string, string>
    Name string
    Annotations map[string]string
    Defaults GetPodSecurityAdmissionConfigurationTemplateDefaults
    Description string
    Exemptions GetPodSecurityAdmissionConfigurationTemplateExemptions
    Id string
    The provider-assigned unique ID for this managed resource.
    Labels map[string]string
    Name string
    annotations Map<String,String>
    defaults GetPodSecurityAdmissionConfigurationTemplateDefaults
    description String
    exemptions GetPodSecurityAdmissionConfigurationTemplateExemptions
    id String
    The provider-assigned unique ID for this managed resource.
    labels Map<String,String>
    name String
    annotations {[key: string]: string}
    defaults GetPodSecurityAdmissionConfigurationTemplateDefaults
    description string
    exemptions GetPodSecurityAdmissionConfigurationTemplateExemptions
    id string
    The provider-assigned unique ID for this managed resource.
    labels {[key: string]: string}
    name string
    annotations Mapping[str, str]
    defaults GetPodSecurityAdmissionConfigurationTemplateDefaults
    description str
    exemptions GetPodSecurityAdmissionConfigurationTemplateExemptions
    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)
    AuditVersion 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)
    EnforceVersion 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)
    WarnVersion 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)
    AuditVersion 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)
    EnforceVersion 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)
    WarnVersion 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)
    auditVersion 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)
    enforceVersion 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)
    warnVersion 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)
    auditVersion 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)
    enforceVersion 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)
    warnVersion 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)
    auditVersion 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)
    enforceVersion 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)
    warnVersion String
    Pod Security Admission Configuration warn version (default: latest)

    GetPodSecurityAdmissionConfigurationTemplateExemptions

    Namespaces List<string>
    Pod Security Admission Configuration namespace exemptions
    RuntimeClasses 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
    RuntimeClasses []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
    runtimeClasses 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
    runtimeClasses 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
    runtimeClasses 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.
    rancher2 logo
    Rancher 2 v7.1.1 published on Monday, Oct 7, 2024 by Pulumi