Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg
nutanix.getProjects
Explore with Pulumi AI
Describes Projects
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pulumi/nutanix";
const projects = nutanix.getProjects({});
import pulumi
import pulumi_nutanix as nutanix
projects = nutanix.get_projects()
package main
import (
	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := nutanix.GetProjects(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = Pulumi.Nutanix;
return await Deployment.RunAsync(() => 
{
    var projects = Nutanix.GetProjects.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.NutanixFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var projects = NutanixFunctions.getProjects();
    }
}
variables:
  projects:
    fn::invoke:
      function: nutanix:getProjects
      arguments: {}
Using getProjects
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 getProjects(opts?: InvokeOptions): Promise<GetProjectsResult>
function getProjectsOutput(opts?: InvokeOptions): Output<GetProjectsResult>def get_projects(opts: Optional[InvokeOptions] = None) -> GetProjectsResult
def get_projects_output(opts: Optional[InvokeOptions] = None) -> Output[GetProjectsResult]func GetProjects(ctx *Context, opts ...InvokeOption) (*GetProjectsResult, error)
func GetProjectsOutput(ctx *Context, opts ...InvokeOption) GetProjectsResultOutput> Note: This function is named GetProjects in the Go SDK.
public static class GetProjects 
{
    public static Task<GetProjectsResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetProjectsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetProjectsResult> getProjects(InvokeOptions options)
public static Output<GetProjectsResult> getProjects(InvokeOptions options)
fn::invoke:
  function: nutanix:index/getProjects:getProjects
  arguments:
    # arguments dictionarygetProjects Result
The following output properties are available:
- ApiVersion string
- version of the API
- Entities
List<PiersKarsenbarg. Nutanix. Outputs. Get Projects Entity> 
- List of Projects
- Id string
- The provider-assigned unique ID for this managed resource.
- ApiVersion string
- version of the API
- Entities
[]GetProjects Entity 
- List of Projects
- Id string
- The provider-assigned unique ID for this managed resource.
- apiVersion String
- version of the API
- entities
List<GetProjects Entity> 
- List of Projects
- id String
- The provider-assigned unique ID for this managed resource.
- apiVersion string
- version of the API
- entities
GetProjects Entity[] 
- List of Projects
- id string
- The provider-assigned unique ID for this managed resource.
- api_version str
- version of the API
- entities
Sequence[GetProjects Entity] 
- List of Projects
- id str
- The provider-assigned unique ID for this managed resource.
- apiVersion String
- version of the API
- entities List<Property Map>
- List of Projects
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetProjectsEntity  
- AccountReference List<PiersLists Karsenbarg. Nutanix. Inputs. Get Projects Entity Account Reference List> 
- List of accounts associated with the project.- account_reference_list.#.kind- The kind name. Default value is- account
- account_reference_list.#.uuid- The UUID of an account.
- account_reference_list.#.name- The name of an account.
 
- ApiVersion string
- version of the API
- Categories
List<PiersKarsenbarg. Nutanix. Inputs. Get Projects Entity Category> 
- DefaultSubnet Dictionary<string, string>Reference 
- Reference to a subnet.
- Description string
- A description for project.
- EnvironmentReference List<PiersLists Karsenbarg. Nutanix. Inputs. Get Projects Entity Environment Reference List> 
- List of environments associated with the project.- environment_reference_list.#.kind- The kind name. Default value is- environment
- environment_reference_list.#.uuid- The UUID of an environment.
- environment_reference_list.#.name- The name of an environment.
 
- ExternalNetwork List<PiersLists Karsenbarg. Nutanix. Inputs. Get Projects Entity External Network List> 
- List of external networks associated with the project.- external_network_list.#.uuid- The UUID of a network.
- external_network_list.#.name- The name of a network.
 
- ExternalUser List<PiersGroup Reference Lists Karsenbarg. Nutanix. Inputs. Get Projects Entity External User Group Reference List> 
- List of directory service user groups. These groups are not managed by Nutanix.- external_user_group_reference_list.#.kind- The kind name. Default value is- user_group
- external_user_group_reference_list.#.uuid- The UUID of a user_group
- external_user_group_reference_list.#.name- The name of a user_group
 
- IsDefault bool
- Metadata Dictionary<string, string>
- Name string
- (Optional) the name.
- OwnerReference Dictionary<string, string>
- ProjectReference Dictionary<string, string>
- ResourceDomains List<PiersKarsenbarg. Nutanix. Inputs. Get Projects Entity Resource Domain> 
- The status for a resource domain (limits and values)
- State string
- SubnetReference List<PiersLists Karsenbarg. Nutanix. Inputs. Get Projects Entity Subnet Reference List> 
- List of subnets for the project.- subnet_reference_list.#.kind- The kind name. Default value is- subnet
- subnet_reference_list.#.uuid- The UUID of a subnet
- subnet_reference_list.#.name- The name of a subnet.
 
- UserReference List<PiersLists Karsenbarg. Nutanix. Inputs. Get Projects Entity User Reference List> 
- List of users in the project.- user_reference_list.#.kind- The kind name. Default value is- user
- user_reference_list.#.uuid- The UUID of a user
- user_reference_list.#.name- The name of a user.
 
- AccountReference []GetLists Projects Entity Account Reference List 
- List of accounts associated with the project.- account_reference_list.#.kind- The kind name. Default value is- account
- account_reference_list.#.uuid- The UUID of an account.
- account_reference_list.#.name- The name of an account.
 
- ApiVersion string
- version of the API
- Categories
[]GetProjects Entity Category 
- DefaultSubnet map[string]stringReference 
- Reference to a subnet.
- Description string
- A description for project.
- EnvironmentReference []GetLists Projects Entity Environment Reference List 
- List of environments associated with the project.- environment_reference_list.#.kind- The kind name. Default value is- environment
- environment_reference_list.#.uuid- The UUID of an environment.
- environment_reference_list.#.name- The name of an environment.
 
- ExternalNetwork []GetLists Projects Entity External Network List 
- List of external networks associated with the project.- external_network_list.#.uuid- The UUID of a network.
- external_network_list.#.name- The name of a network.
 
- ExternalUser []GetGroup Reference Lists Projects Entity External User Group Reference List 
- List of directory service user groups. These groups are not managed by Nutanix.- external_user_group_reference_list.#.kind- The kind name. Default value is- user_group
- external_user_group_reference_list.#.uuid- The UUID of a user_group
- external_user_group_reference_list.#.name- The name of a user_group
 
- IsDefault bool
- Metadata map[string]string
- Name string
- (Optional) the name.
- OwnerReference map[string]string
- ProjectReference map[string]string
- ResourceDomains []GetProjects Entity Resource Domain 
- The status for a resource domain (limits and values)
- State string
- SubnetReference []GetLists Projects Entity Subnet Reference List 
- List of subnets for the project.- subnet_reference_list.#.kind- The kind name. Default value is- subnet
- subnet_reference_list.#.uuid- The UUID of a subnet
- subnet_reference_list.#.name- The name of a subnet.
 
- UserReference []GetLists Projects Entity User Reference List 
- List of users in the project.- user_reference_list.#.kind- The kind name. Default value is- user
- user_reference_list.#.uuid- The UUID of a user
- user_reference_list.#.name- The name of a user.
 
- accountReference List<GetLists Projects Entity Account Reference List> 
- List of accounts associated with the project.- account_reference_list.#.kind- The kind name. Default value is- account
- account_reference_list.#.uuid- The UUID of an account.
- account_reference_list.#.name- The name of an account.
 
- apiVersion String
- version of the API
- categories
List<GetProjects Entity Category> 
- defaultSubnet Map<String,String>Reference 
- Reference to a subnet.
- description String
- A description for project.
- environmentReference List<GetLists Projects Entity Environment Reference List> 
- List of environments associated with the project.- environment_reference_list.#.kind- The kind name. Default value is- environment
- environment_reference_list.#.uuid- The UUID of an environment.
- environment_reference_list.#.name- The name of an environment.
 
- externalNetwork List<GetLists Projects Entity External Network List> 
- List of external networks associated with the project.- external_network_list.#.uuid- The UUID of a network.
- external_network_list.#.name- The name of a network.
 
- externalUser List<GetGroup Reference Lists Projects Entity External User Group Reference List> 
- List of directory service user groups. These groups are not managed by Nutanix.- external_user_group_reference_list.#.kind- The kind name. Default value is- user_group
- external_user_group_reference_list.#.uuid- The UUID of a user_group
- external_user_group_reference_list.#.name- The name of a user_group
 
- isDefault Boolean
- metadata Map<String,String>
- name String
- (Optional) the name.
- ownerReference Map<String,String>
- projectReference Map<String,String>
- resourceDomains List<GetProjects Entity Resource Domain> 
- The status for a resource domain (limits and values)
- state String
- subnetReference List<GetLists Projects Entity Subnet Reference List> 
- List of subnets for the project.- subnet_reference_list.#.kind- The kind name. Default value is- subnet
- subnet_reference_list.#.uuid- The UUID of a subnet
- subnet_reference_list.#.name- The name of a subnet.
 
- userReference List<GetLists Projects Entity User Reference List> 
- List of users in the project.- user_reference_list.#.kind- The kind name. Default value is- user
- user_reference_list.#.uuid- The UUID of a user
- user_reference_list.#.name- The name of a user.
 
- accountReference GetLists Projects Entity Account Reference List[] 
- List of accounts associated with the project.- account_reference_list.#.kind- The kind name. Default value is- account
- account_reference_list.#.uuid- The UUID of an account.
- account_reference_list.#.name- The name of an account.
 
- apiVersion string
- version of the API
- categories
GetProjects Entity Category[] 
- defaultSubnet {[key: string]: string}Reference 
- Reference to a subnet.
- description string
- A description for project.
- environmentReference GetLists Projects Entity Environment Reference List[] 
- List of environments associated with the project.- environment_reference_list.#.kind- The kind name. Default value is- environment
- environment_reference_list.#.uuid- The UUID of an environment.
- environment_reference_list.#.name- The name of an environment.
 
- externalNetwork GetLists Projects Entity External Network List[] 
- List of external networks associated with the project.- external_network_list.#.uuid- The UUID of a network.
- external_network_list.#.name- The name of a network.
 
- externalUser GetGroup Reference Lists Projects Entity External User Group Reference List[] 
- List of directory service user groups. These groups are not managed by Nutanix.- external_user_group_reference_list.#.kind- The kind name. Default value is- user_group
- external_user_group_reference_list.#.uuid- The UUID of a user_group
- external_user_group_reference_list.#.name- The name of a user_group
 
- isDefault boolean
- metadata {[key: string]: string}
- name string
- (Optional) the name.
- ownerReference {[key: string]: string}
- projectReference {[key: string]: string}
- resourceDomains GetProjects Entity Resource Domain[] 
- The status for a resource domain (limits and values)
- state string
- subnetReference GetLists Projects Entity Subnet Reference List[] 
- List of subnets for the project.- subnet_reference_list.#.kind- The kind name. Default value is- subnet
- subnet_reference_list.#.uuid- The UUID of a subnet
- subnet_reference_list.#.name- The name of a subnet.
 
- userReference GetLists Projects Entity User Reference List[] 
- List of users in the project.- user_reference_list.#.kind- The kind name. Default value is- user
- user_reference_list.#.uuid- The UUID of a user
- user_reference_list.#.name- The name of a user.
 
- account_reference_ Sequence[Getlists Projects Entity Account Reference List] 
- List of accounts associated with the project.- account_reference_list.#.kind- The kind name. Default value is- account
- account_reference_list.#.uuid- The UUID of an account.
- account_reference_list.#.name- The name of an account.
 
- api_version str
- version of the API
- categories
Sequence[GetProjects Entity Category] 
- default_subnet_ Mapping[str, str]reference 
- Reference to a subnet.
- description str
- A description for project.
- environment_reference_ Sequence[Getlists Projects Entity Environment Reference List] 
- List of environments associated with the project.- environment_reference_list.#.kind- The kind name. Default value is- environment
- environment_reference_list.#.uuid- The UUID of an environment.
- environment_reference_list.#.name- The name of an environment.
 
- external_network_ Sequence[Getlists Projects Entity External Network List] 
- List of external networks associated with the project.- external_network_list.#.uuid- The UUID of a network.
- external_network_list.#.name- The name of a network.
 
- external_user_ Sequence[Getgroup_ reference_ lists Projects Entity External User Group Reference List] 
- List of directory service user groups. These groups are not managed by Nutanix.- external_user_group_reference_list.#.kind- The kind name. Default value is- user_group
- external_user_group_reference_list.#.uuid- The UUID of a user_group
- external_user_group_reference_list.#.name- The name of a user_group
 
- is_default bool
- metadata Mapping[str, str]
- name str
- (Optional) the name.
- owner_reference Mapping[str, str]
- project_reference Mapping[str, str]
- resource_domains Sequence[GetProjects Entity Resource Domain] 
- The status for a resource domain (limits and values)
- state str
- subnet_reference_ Sequence[Getlists Projects Entity Subnet Reference List] 
- List of subnets for the project.- subnet_reference_list.#.kind- The kind name. Default value is- subnet
- subnet_reference_list.#.uuid- The UUID of a subnet
- subnet_reference_list.#.name- The name of a subnet.
 
- user_reference_ Sequence[Getlists Projects Entity User Reference List] 
- List of users in the project.- user_reference_list.#.kind- The kind name. Default value is- user
- user_reference_list.#.uuid- The UUID of a user
- user_reference_list.#.name- The name of a user.
 
- accountReference List<Property Map>Lists 
- List of accounts associated with the project.- account_reference_list.#.kind- The kind name. Default value is- account
- account_reference_list.#.uuid- The UUID of an account.
- account_reference_list.#.name- The name of an account.
 
- apiVersion String
- version of the API
- categories List<Property Map>
- defaultSubnet Map<String>Reference 
- Reference to a subnet.
- description String
- A description for project.
- environmentReference List<Property Map>Lists 
- List of environments associated with the project.- environment_reference_list.#.kind- The kind name. Default value is- environment
- environment_reference_list.#.uuid- The UUID of an environment.
- environment_reference_list.#.name- The name of an environment.
 
- externalNetwork List<Property Map>Lists 
- List of external networks associated with the project.- external_network_list.#.uuid- The UUID of a network.
- external_network_list.#.name- The name of a network.
 
- externalUser List<Property Map>Group Reference Lists 
- List of directory service user groups. These groups are not managed by Nutanix.- external_user_group_reference_list.#.kind- The kind name. Default value is- user_group
- external_user_group_reference_list.#.uuid- The UUID of a user_group
- external_user_group_reference_list.#.name- The name of a user_group
 
- isDefault Boolean
- metadata Map<String>
- name String
- (Optional) the name.
- ownerReference Map<String>
- projectReference Map<String>
- resourceDomains List<Property Map>
- The status for a resource domain (limits and values)
- state String
- subnetReference List<Property Map>Lists 
- List of subnets for the project.- subnet_reference_list.#.kind- The kind name. Default value is- subnet
- subnet_reference_list.#.uuid- The UUID of a subnet
- subnet_reference_list.#.name- The name of a subnet.
 
- userReference List<Property Map>Lists 
- List of users in the project.- user_reference_list.#.kind- The kind name. Default value is- user
- user_reference_list.#.uuid- The UUID of a user
- user_reference_list.#.name- The name of a user.
 
GetProjectsEntityAccountReferenceList     
GetProjectsEntityCategory   
GetProjectsEntityEnvironmentReferenceList     
GetProjectsEntityExternalNetworkList     
GetProjectsEntityExternalUserGroupReferenceList       
GetProjectsEntityResourceDomain    
- Resources
List<PiersKarsenbarg. Nutanix. Inputs. Get Projects Entity Resource Domain Resource> 
- Array of the utilization/limit for resource types- resource_domain.resources.#.limitThe resource consumption limit (unspecified is unlimited)
- resource_domain.resources.#.resource_typeThe type of resource (for example storage, CPUs)
- resource_domain.resources.#.units- The units of the resource type
- resource_domain.resources.#.value- The amount of resource consumed
 
- Resources
[]GetProjects Entity Resource Domain Resource 
- Array of the utilization/limit for resource types- resource_domain.resources.#.limitThe resource consumption limit (unspecified is unlimited)
- resource_domain.resources.#.resource_typeThe type of resource (for example storage, CPUs)
- resource_domain.resources.#.units- The units of the resource type
- resource_domain.resources.#.value- The amount of resource consumed
 
- resources
List<GetProjects Entity Resource Domain Resource> 
- Array of the utilization/limit for resource types- resource_domain.resources.#.limitThe resource consumption limit (unspecified is unlimited)
- resource_domain.resources.#.resource_typeThe type of resource (for example storage, CPUs)
- resource_domain.resources.#.units- The units of the resource type
- resource_domain.resources.#.value- The amount of resource consumed
 
- resources
GetProjects Entity Resource Domain Resource[] 
- Array of the utilization/limit for resource types- resource_domain.resources.#.limitThe resource consumption limit (unspecified is unlimited)
- resource_domain.resources.#.resource_typeThe type of resource (for example storage, CPUs)
- resource_domain.resources.#.units- The units of the resource type
- resource_domain.resources.#.value- The amount of resource consumed
 
- resources
Sequence[GetProjects Entity Resource Domain Resource] 
- Array of the utilization/limit for resource types- resource_domain.resources.#.limitThe resource consumption limit (unspecified is unlimited)
- resource_domain.resources.#.resource_typeThe type of resource (for example storage, CPUs)
- resource_domain.resources.#.units- The units of the resource type
- resource_domain.resources.#.value- The amount of resource consumed
 
- resources List<Property Map>
- Array of the utilization/limit for resource types- resource_domain.resources.#.limitThe resource consumption limit (unspecified is unlimited)
- resource_domain.resources.#.resource_typeThe type of resource (for example storage, CPUs)
- resource_domain.resources.#.units- The units of the resource type
- resource_domain.resources.#.value- The amount of resource consumed
 
GetProjectsEntityResourceDomainResource     
- Limit int
- ResourceType string
- Units string
- Value int
- value of the key.
- Limit int
- ResourceType string
- Units string
- Value int
- value of the key.
- limit Integer
- resourceType String
- units String
- value Integer
- value of the key.
- limit number
- resourceType string
- units string
- value number
- value of the key.
- limit int
- resource_type str
- units str
- value int
- value of the key.
- limit Number
- resourceType String
- units String
- value Number
- value of the key.
GetProjectsEntitySubnetReferenceList     
GetProjectsEntityUserReferenceList     
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the nutanixTerraform Provider.
