rancher2.getProject
Using getProject
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 getProject(args: GetProjectArgs, opts?: InvokeOptions): Promise<GetProjectResult>
function getProjectOutput(args: GetProjectOutputArgs, opts?: InvokeOptions): Output<GetProjectResult>
def get_project(cluster_id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectResult
def get_project_output(cluster_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectResult]
func LookupProject(ctx *Context, args *LookupProjectArgs, opts ...InvokeOption) (*LookupProjectResult, error)
func LookupProjectOutput(ctx *Context, args *LookupProjectOutputArgs, opts ...InvokeOption) LookupProjectResultOutput
> Note: This function is named LookupProject
in the Go SDK.
public static class GetProject
{
public static Task<GetProjectResult> InvokeAsync(GetProjectArgs args, InvokeOptions? opts = null)
public static Output<GetProjectResult> Invoke(GetProjectInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProjectResult> getProject(GetProjectArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: rancher2:index/getProject:getProject
arguments:
# arguments dictionary
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 Map<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 BooleanMonitoring (Computed) Enable built-in project monitoring. Default
false
(bool)- id String
The provider-assigned unique ID for this managed resource.
- labels Map<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 {[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 Mapping[str, Any]
(Computed) Annotations of the rancher2 project (map)
- cluster_
id str - container_
resource_ 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 Mapping[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 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)
- annotations Map<Any>
(Computed) Annotations of the rancher2 project (map)
- cluster
Id String - container
Resource Property MapLimit (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 Map<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 Property Map (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)
Supporting Types
GetProjectContainerResourceLimit
- Limits
Cpu string - Limits
Memory string - Requests
Cpu string - Requests
Memory string
- Limits
Cpu string - Limits
Memory string - Requests
Cpu string - Requests
Memory string
- limits
Cpu String - limits
Memory String - requests
Cpu String - requests
Memory String
- limits
Cpu string - limits
Memory string - requests
Cpu string - requests
Memory string
- limits_
cpu str - limits_
memory str - requests_
cpu str - requests_
memory str
- limits
Cpu String - limits
Memory String - requests
Cpu String - requests
Memory String
GetProjectResourceQuota
GetProjectResourceQuotaNamespaceDefaultLimit
- Config
Maps string - Limits
Cpu string - Limits
Memory string - Persistent
Volume stringClaims - Pods string
- Replication
Controllers string - Requests
Cpu string - Requests
Memory string - Requests
Storage string - Secrets string
- Services string
- Services
Load stringBalancers - Services
Node stringPorts
- Config
Maps string - Limits
Cpu string - Limits
Memory string - Persistent
Volume stringClaims - Pods string
- Replication
Controllers string - Requests
Cpu string - Requests
Memory string - Requests
Storage string - Secrets string
- Services string
- Services
Load stringBalancers - Services
Node stringPorts
- config
Maps String - limits
Cpu String - limits
Memory String - persistent
Volume StringClaims - pods String
- replication
Controllers String - requests
Cpu String - requests
Memory String - requests
Storage String - secrets String
- services String
- services
Load StringBalancers - services
Node StringPorts
- config
Maps string - limits
Cpu string - limits
Memory string - persistent
Volume stringClaims - pods string
- replication
Controllers string - requests
Cpu string - requests
Memory string - requests
Storage string - secrets string
- services string
- services
Load stringBalancers - services
Node stringPorts
- config_
maps str - limits_
cpu str - limits_
memory str - persistent_
volume_ strclaims - pods str
- replication_
controllers str - requests_
cpu str - requests_
memory str - requests_
storage str - secrets str
- services str
- services_
load_ strbalancers - services_
node_ strports
- config
Maps String - limits
Cpu String - limits
Memory String - persistent
Volume StringClaims - pods String
- replication
Controllers String - requests
Cpu String - requests
Memory String - requests
Storage String - secrets String
- services String
- services
Load StringBalancers - services
Node StringPorts
GetProjectResourceQuotaProjectLimit
- Config
Maps string - Limits
Cpu string - Limits
Memory string - Persistent
Volume stringClaims - Pods string
- Replication
Controllers string - Requests
Cpu string - Requests
Memory string - Requests
Storage string - Secrets string
- Services string
- Services
Load stringBalancers - Services
Node stringPorts
- Config
Maps string - Limits
Cpu string - Limits
Memory string - Persistent
Volume stringClaims - Pods string
- Replication
Controllers string - Requests
Cpu string - Requests
Memory string - Requests
Storage string - Secrets string
- Services string
- Services
Load stringBalancers - Services
Node stringPorts
- config
Maps String - limits
Cpu String - limits
Memory String - persistent
Volume StringClaims - pods String
- replication
Controllers String - requests
Cpu String - requests
Memory String - requests
Storage String - secrets String
- services String
- services
Load StringBalancers - services
Node StringPorts
- config
Maps string - limits
Cpu string - limits
Memory string - persistent
Volume stringClaims - pods string
- replication
Controllers string - requests
Cpu string - requests
Memory string - requests
Storage string - secrets string
- services string
- services
Load stringBalancers - services
Node stringPorts
- config_
maps str - limits_
cpu str - limits_
memory str - persistent_
volume_ strclaims - pods str
- replication_
controllers str - requests_
cpu str - requests_
memory str - requests_
storage str - secrets str
- services str
- services_
load_ strbalancers - services_
node_ strports
- config
Maps String - limits
Cpu String - limits
Memory String - persistent
Volume StringClaims - pods String
- replication
Controllers String - requests
Cpu String - requests
Memory String - requests
Storage String - secrets String
- services String
- services
Load StringBalancers - services
Node StringPorts
Package Details
- Repository
- Rancher2 pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
rancher2
Terraform Provider.