1. Packages
  2. Rancher2
  3. API Docs
  4. getPodSecurityAdmissionConfigurationTemplate
Rancher 2 v6.1.1 published on Friday, May 10, 2024 by Pulumi

rancher2.getPodSecurityAdmissionConfigurationTemplate

Explore with Pulumi AI

rancher2 logo
Rancher 2 v6.1.1 published on Friday, May 10, 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, Any]] = None,
                                                          labels: Optional[Mapping[str, Any]] = None,
                                                          name: Optional[str] = None,
                                                          opts: Optional[InvokeOptions] = None) -> GetPodSecurityAdmissionConfigurationTemplateResult
    def get_pod_security_admission_configuration_template_output(annotations: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                                                          labels: Optional[pulumi.Input[Mapping[str, Any]]] = 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, object>
    Labels Dictionary<string, object>
    Name string
    Annotations map[string]interface{}
    Labels map[string]interface{}
    name String
    annotations Map<String,Object>
    labels Map<String,Object>
    name string
    annotations {[key: string]: any}
    labels {[key: string]: any}
    name str
    annotations Mapping[str, Any]
    labels Mapping[str, Any]
    name String
    annotations Map<Any>
    labels Map<Any>

    getPodSecurityAdmissionConfigurationTemplate Result

    The following output properties are available:

    Annotations Dictionary<string, object>
    Defaults GetPodSecurityAdmissionConfigurationTemplateDefaults
    Description string
    Exemptions GetPodSecurityAdmissionConfigurationTemplateExemptions
    Id string
    The provider-assigned unique ID for this managed resource.
    Labels Dictionary<string, object>
    Name string
    Annotations map[string]interface{}
    Defaults GetPodSecurityAdmissionConfigurationTemplateDefaults
    Description string
    Exemptions GetPodSecurityAdmissionConfigurationTemplateExemptions
    Id string
    The provider-assigned unique ID for this managed resource.
    Labels map[string]interface{}
    Name string
    annotations Map<String,Object>
    defaults GetPodSecurityAdmissionConfigurationTemplateDefaults
    description String
    exemptions GetPodSecurityAdmissionConfigurationTemplateExemptions
    id String
    The provider-assigned unique ID for this managed resource.
    labels Map<String,Object>
    name String
    annotations {[key: string]: any}
    defaults GetPodSecurityAdmissionConfigurationTemplateDefaults
    description string
    exemptions GetPodSecurityAdmissionConfigurationTemplateExemptions
    id string
    The provider-assigned unique ID for this managed resource.
    labels {[key: string]: any}
    name string
    annotations Mapping[str, Any]
    defaults GetPodSecurityAdmissionConfigurationTemplateDefaults
    description str
    exemptions GetPodSecurityAdmissionConfigurationTemplateExemptions
    id str
    The provider-assigned unique ID for this managed resource.
    labels Mapping[str, Any]
    name str
    annotations Map<Any>
    defaults Property Map
    description String
    exemptions Property Map
    id String
    The provider-assigned unique ID for this managed resource.
    labels Map<Any>
    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 v6.1.1 published on Friday, May 10, 2024 by Pulumi