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 LookupProject in the Go SDK.

public static class GetProject {
    public static Task<GetProjectResult> InvokeAsync(GetProjectArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ClusterId string

ID of the Rancher 2 cluster (string)

Name string

The project name (string)

ClusterId string

ID of the Rancher 2 cluster (string)

Name string

The project name (string)

clusterId string

ID of the Rancher 2 cluster (string)

name string

The project name (string)

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)

ClusterId string
ContainerResourceLimit GetProjectContainerResourceLimit

(Computed) Default containers resource limits on project (List maxitem:1)

Description string

(Computed) The project’s description (string)

EnableProjectMonitoring bool

(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
PodSecurityPolicyTemplateId string

(Computed) Default Pod Security Policy ID for the project (string)

ResourceQuota GetProjectResourceQuota

(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)

ClusterId string
ContainerResourceLimit GetProjectContainerResourceLimit

(Computed) Default containers resource limits on project (List maxitem:1)

Description string

(Computed) The project’s description (string)

EnableProjectMonitoring bool

(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
PodSecurityPolicyTemplateId string

(Computed) Default Pod Security Policy ID for the project (string)

ResourceQuota GetProjectResourceQuota

(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)

clusterId string
containerResourceLimit GetProjectContainerResourceLimit

(Computed) Default containers resource limits on project (List maxitem:1)

description string

(Computed) The project’s description (string)

enableProjectMonitoring boolean

(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
podSecurityPolicyTemplateId string

(Computed) Default Pod Security Policy ID for the project (string)

resourceQuota GetProjectResourceQuota

(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_limit Dict[GetProjectContainerResourceLimit]

(Computed) Default containers resource limits on project (List maxitem:1)

description str

(Computed) The project’s description (string)

enable_project_monitoring bool

(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_policy_template_id str

(Computed) Default Pod Security Policy ID for the project (string)

resource_quota Dict[GetProjectResourceQuota]

(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.

LimitsCpu string
LimitsMemory string
RequestsCpu string
RequestsMemory string
LimitsCpu string
LimitsMemory string
RequestsCpu string
RequestsMemory string
limitsCpu string
limitsMemory string
requestsCpu string
requestsMemory string
limitsCpu str
limitsMemory str
requestsCpu str
requestsMemory str

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.

NamespaceDefaultLimit GetProjectResourceQuotaNamespaceDefaultLimitArgs
ProjectLimit GetProjectResourceQuotaProjectLimitArgs
NamespaceDefaultLimit GetProjectResourceQuotaNamespaceDefaultLimit
ProjectLimit GetProjectResourceQuotaProjectLimit
namespaceDefaultLimit GetProjectResourceQuotaNamespaceDefaultLimit
projectLimit GetProjectResourceQuotaProjectLimit
namespaceDefaultLimit Dict[GetProjectResourceQuotaNamespaceDefaultLimit]
projectLimit Dict[GetProjectResourceQuotaProjectLimit]

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.

ConfigMaps string
LimitsCpu string
LimitsMemory string
PersistentVolumeClaims string
Pods string
ReplicationControllers string
RequestsCpu string
RequestsMemory string
RequestsStorage string
Secrets string
Services string
ServicesLoadBalancers string
ServicesNodePorts string
ConfigMaps string
LimitsCpu string
LimitsMemory string
PersistentVolumeClaims string
Pods string
ReplicationControllers string
RequestsCpu string
RequestsMemory string
RequestsStorage string
Secrets string
Services string
ServicesLoadBalancers string
ServicesNodePorts string
configMaps string
limitsCpu string
limitsMemory string
persistentVolumeClaims string
pods string
replicationControllers string
requestsCpu string
requestsMemory string
requestsStorage string
secrets string
services string
servicesLoadBalancers string
servicesNodePorts string
configMaps str
limitsCpu str
limitsMemory str
persistentVolumeClaims str
pods str
replicationControllers str
requestsCpu str
requestsMemory str
requestsStorage str
secrets str
services str
servicesLoadBalancers str
servicesNodePorts str

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.

ConfigMaps string
LimitsCpu string
LimitsMemory string
PersistentVolumeClaims string
Pods string
ReplicationControllers string
RequestsCpu string
RequestsMemory string
RequestsStorage string
Secrets string
Services string
ServicesLoadBalancers string
ServicesNodePorts string
ConfigMaps string
LimitsCpu string
LimitsMemory string
PersistentVolumeClaims string
Pods string
ReplicationControllers string
RequestsCpu string
RequestsMemory string
RequestsStorage string
Secrets string
Services string
ServicesLoadBalancers string
ServicesNodePorts string
configMaps string
limitsCpu string
limitsMemory string
persistentVolumeClaims string
pods string
replicationControllers string
requestsCpu string
requestsMemory string
requestsStorage string
secrets string
services string
servicesLoadBalancers string
servicesNodePorts string
configMaps str
limitsCpu str
limitsMemory str
persistentVolumeClaims str
pods str
replicationControllers str
requestsCpu str
requestsMemory str
requestsStorage str
secrets str
services str
servicesLoadBalancers str
servicesNodePorts str

Package Details

Repository
https://github.com/pulumi/pulumi-rancher2
License
Apache-2.0
Notes
This Pulumi package is based on the rancher2 Terraform Provider.