GetProject
Using GetProject
function getProject(args: GetProjectArgs, opts?: InvokeOptions): Promise<GetProjectResult>function get_project(cluster_id=None, name=None, opts=None)func LookupProject(ctx *Context, args *LookupProjectArgs, opts ...InvokeOption) (*LookupProjectResult, error)Note: This function is named
LookupProjectin the Go SDK.
public static class GetProject {
public static Task<GetProjectResult> InvokeAsync(GetProjectArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- cluster_
id str ID of the Rancher 2 cluster (string)
- name str
The project name (string)
GetProject Result
The following output properties are available:
- Annotations Dictionary<string, object>
(Computed) Annotations of the rancher2 project (map)
- Cluster
Id string - Container
Resource GetLimit Project Container Resource Limit (Computed) Default containers resource limits on project (List maxitem:1)
- Description string
(Computed) The project’s description (string)
- Enable
Project boolMonitoring (Computed) Enable built-in project monitoring. Default
false(bool)- Id string
The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, object>
(Computed) Labels of the rancher2 project (map)
- Name string
- Pod
Security stringPolicy Template Id (Computed) Default Pod Security Policy ID for the project (string)
- Resource
Quota GetProject Resource Quota (Computed) Resource quota for project. Rancher v2.1.x or higher (list maxitems:1)
- Uuid string
(Computed) UUID of the project as stored by Rancher 2 (string)
- Annotations map[string]interface{}
(Computed) Annotations of the rancher2 project (map)
- Cluster
Id string - Container
Resource GetLimit Project Container Resource Limit (Computed) Default containers resource limits on project (List maxitem:1)
- Description string
(Computed) The project’s description (string)
- Enable
Project boolMonitoring (Computed) Enable built-in project monitoring. Default
false(bool)- Id string
The provider-assigned unique ID for this managed resource.
- Labels map[string]interface{}
(Computed) Labels of the rancher2 project (map)
- Name string
- Pod
Security stringPolicy Template Id (Computed) Default Pod Security Policy ID for the project (string)
- Resource
Quota GetProject Resource Quota (Computed) Resource quota for project. Rancher v2.1.x or higher (list maxitems:1)
- Uuid string
(Computed) UUID of the project as stored by Rancher 2 (string)
- annotations {[key: string]: any}
(Computed) Annotations of the rancher2 project (map)
- cluster
Id string - container
Resource GetLimit Project Container Resource Limit (Computed) Default containers resource limits on project (List maxitem:1)
- description string
(Computed) The project’s description (string)
- enable
Project booleanMonitoring (Computed) Enable built-in project monitoring. Default
false(bool)- id string
The provider-assigned unique ID for this managed resource.
- labels {[key: string]: any}
(Computed) Labels of the rancher2 project (map)
- name string
- pod
Security stringPolicy Template Id (Computed) Default Pod Security Policy ID for the project (string)
- resource
Quota GetProject Resource Quota (Computed) Resource quota for project. Rancher v2.1.x or higher (list maxitems:1)
- uuid string
(Computed) UUID of the project as stored by Rancher 2 (string)
- annotations Dict[str, Any]
(Computed) Annotations of the rancher2 project (map)
- cluster_
id str - container_
resource_ Dict[Getlimit Project Container Resource Limit] (Computed) Default containers resource limits on project (List maxitem:1)
- description str
(Computed) The project’s description (string)
- enable_
project_ boolmonitoring (Computed) Enable built-in project monitoring. Default
false(bool)- id str
The provider-assigned unique ID for this managed resource.
- labels Dict[str, Any]
(Computed) Labels of the rancher2 project (map)
- name str
- pod_
security_ strpolicy_ template_ id (Computed) Default Pod Security Policy ID for the project (string)
- resource_
quota Dict[GetProject Resource Quota] (Computed) Resource quota for project. Rancher v2.1.x or higher (list maxitems:1)
- uuid str
(Computed) UUID of the project as stored by Rancher 2 (string)
Supporting Types
GetProjectContainerResourceLimit
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetProjectResourceQuota
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetProjectResourceQuotaNamespaceDefaultLimit
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetProjectResourceQuotaProjectLimit
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
Package Details
- Repository
- https://github.com/pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2Terraform Provider.