Rancher 2 v7.1.1 published on Monday, Oct 7, 2024 by Pulumi
rancher2.getProject
Explore with Pulumi AI
Example Usage
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, string>
- (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)
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- (Computed) Labels of the rancher2 project (map)
- Name 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]string
- (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)
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- (Computed) Labels of the rancher2 project (map)
- Name 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,String>
- (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)
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- (Computed) Labels of the rancher2 project (map)
- name 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]: string}
- (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)
- id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- (Computed) Labels of the rancher2 project (map)
- name 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, str]
- (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)
- id str
- The provider-assigned unique ID for this managed resource.
- labels Mapping[str, str]
- (Computed) Labels of the rancher2 project (map)
- name str
- 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<String>
- (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)
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- (Computed) Labels of the rancher2 project (map)
- name 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.