Rancher 2 v6.1.1 published on Friday, May 10, 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, 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
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, object>
- Name string
- Annotations map[string]interface{}
- 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]interface{}
- Name string
- annotations Map<String,Object>
- 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,Object>
- name String
- annotations {[key: string]: any}
- 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]: any}
- name string
- annotations Mapping[str, Any]
- 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, 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)
- 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.