1. Packages
  2. Vra Provider
  3. API Docs
  4. getProject
vra 0.12.0 published on Monday, Apr 14, 2025 by vmware

vra.getProject

Explore with Pulumi AI

vra logo
vra 0.12.0 published on Monday, Apr 14, 2025 by vmware

    Example Usage

    S

    This is an example of how to create a project data source.

    Project data source by its id:

    import * as pulumi from "@pulumi/pulumi";
    import * as vra from "@pulumi/vra";
    
    const _this = vra.getProject({
        id: vra_project["my-project"].id,
    });
    
    import pulumi
    import pulumi_vra as vra
    
    this = vra.get_project(id=vra_project["my-project"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vra/vra"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vra.LookupProject(ctx, &vra.LookupProjectArgs{
    			Id: pulumi.StringRef(vra_project.MyProject.Id),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vra = Pulumi.Vra;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = Vra.GetProject.Invoke(new()
        {
            Id = vra_project.My_project.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vra.VraFunctions;
    import com.pulumi.vra.inputs.GetProjectArgs;
    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 this = VraFunctions.getProject(GetProjectArgs.builder()
                .id(vra_project.my-project().id())
                .build());
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          function: vra:getProject
          arguments:
            id: ${vra_project"my-project"[%!s(MISSING)].id}
    

    Project data source filter by name:

    import * as pulumi from "@pulumi/pulumi";
    import * as vra from "@pulumi/vra";
    
    const test_project = vra.getProject({
        name: vra_project["my-project"].name,
    });
    
    import pulumi
    import pulumi_vra as vra
    
    test_project = vra.get_project(name=vra_project["my-project"]["name"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vra/vra"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vra.LookupProject(ctx, &vra.LookupProjectArgs{
    			Name: pulumi.StringRef(vra_project.MyProject.Name),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vra = Pulumi.Vra;
    
    return await Deployment.RunAsync(() => 
    {
        var test_project = Vra.GetProject.Invoke(new()
        {
            Name = vra_project.My_project.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vra.VraFunctions;
    import com.pulumi.vra.inputs.GetProjectArgs;
    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 test-project = VraFunctions.getProject(GetProjectArgs.builder()
                .name(vra_project.my-project().name())
                .build());
    
        }
    }
    
    variables:
      test-project:
        fn::invoke:
          function: vra:getProject
          arguments:
            name: ${vra_project"my-project"[%!s(MISSING)].name}
    

    A project data source supports the following arguments:

    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(administrator_roles: Optional[Sequence[GetProjectAdministratorRole]] = None,
                    administrators: Optional[Sequence[str]] = None,
                    constraints: Optional[GetProjectConstraints] = None,
                    custom_properties: Optional[Mapping[str, str]] = None,
                    description: Optional[str] = None,
                    id: Optional[str] = None,
                    machine_naming_template: Optional[str] = None,
                    member_roles: Optional[Sequence[GetProjectMemberRole]] = None,
                    members: Optional[Sequence[str]] = None,
                    name: Optional[str] = None,
                    operation_timeout: Optional[float] = None,
                    placement_policy: Optional[str] = None,
                    shared_resources: Optional[bool] = None,
                    supervisor_roles: Optional[Sequence[GetProjectSupervisorRole]] = None,
                    viewer_roles: Optional[Sequence[GetProjectViewerRole]] = None,
                    viewers: Optional[Sequence[str]] = None,
                    zone_assignments: Optional[Sequence[GetProjectZoneAssignment]] = None,
                    opts: Optional[InvokeOptions] = None) -> GetProjectResult
    def get_project_output(administrator_roles: Optional[pulumi.Input[Sequence[pulumi.Input[GetProjectAdministratorRoleArgs]]]] = None,
                    administrators: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                    constraints: Optional[pulumi.Input[GetProjectConstraintsArgs]] = None,
                    custom_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                    description: Optional[pulumi.Input[str]] = None,
                    id: Optional[pulumi.Input[str]] = None,
                    machine_naming_template: Optional[pulumi.Input[str]] = None,
                    member_roles: Optional[pulumi.Input[Sequence[pulumi.Input[GetProjectMemberRoleArgs]]]] = None,
                    members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                    name: Optional[pulumi.Input[str]] = None,
                    operation_timeout: Optional[pulumi.Input[float]] = None,
                    placement_policy: Optional[pulumi.Input[str]] = None,
                    shared_resources: Optional[pulumi.Input[bool]] = None,
                    supervisor_roles: Optional[pulumi.Input[Sequence[pulumi.Input[GetProjectSupervisorRoleArgs]]]] = None,
                    viewer_roles: Optional[pulumi.Input[Sequence[pulumi.Input[GetProjectViewerRoleArgs]]]] = None,
                    viewers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                    zone_assignments: Optional[pulumi.Input[Sequence[pulumi.Input[GetProjectZoneAssignmentArgs]]]] = 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)
    public static Output<GetProjectResult> getProject(GetProjectArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vra:index/getProject:getProject
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AdministratorRoles List<GetProjectAdministratorRole>
    Administrator users or groups associated with the project. Only administrators can manage project's configuration.
    Administrators List<string>

    A list of administrator users associated with the project. Only administrators can manage project's configuration.

    Note: Deprecated - please use administrator_roles instead.

    Deprecated: Deprecated

    Constraints GetProjectConstraints
    A list of storage, network and extensibility constraints to be applied when provisioning through this project.
    CustomProperties Dictionary<string, string>
    The project custom properties which are added to all requests in this project.
    Description string
    A human-friendly description.
    Id string
    The id of the image profile instance.
    MachineNamingTemplate string
    The naming template to be used for resources provisioned in this project.
    MemberRoles List<GetProjectMemberRole>
    Member users or groups associated with the project.
    Members List<string>

    A list of member users associated with the project.

    Note: Deprecated - please use member_roles instead.

    Deprecated: Deprecated

    Name string
    A human-friendly name used as an identifier in APIs that support this option.
    OperationTimeout double
    The timeout that should be used for Blueprint operations and Provisioning tasks. The timeout is in seconds.
    PlacementPolicy string
    The placement policy that will be applied when selecting a cloud zone for provisioning. Must be one of DEFAULT or SPREAD.
    SharedResources bool
    The id of the organization this entity belongs to.
    SupervisorRoles List<GetProjectSupervisorRole>
    Supervisor users or groups associated with the project.d
    ViewerRoles List<GetProjectViewerRole>
    Viewer users or groups associated with the project.
    Viewers List<string>

    A list of viewer users associated with the project.

    Note: Deprecated - please use viewer_roles instead.

    Deprecated: Deprecated

    ZoneAssignments List<GetProjectZoneAssignment>
    A list of configurations for zone assignment to a project.
    AdministratorRoles []GetProjectAdministratorRole
    Administrator users or groups associated with the project. Only administrators can manage project's configuration.
    Administrators []string

    A list of administrator users associated with the project. Only administrators can manage project's configuration.

    Note: Deprecated - please use administrator_roles instead.

    Deprecated: Deprecated

    Constraints GetProjectConstraints
    A list of storage, network and extensibility constraints to be applied when provisioning through this project.
    CustomProperties map[string]string
    The project custom properties which are added to all requests in this project.
    Description string
    A human-friendly description.
    Id string
    The id of the image profile instance.
    MachineNamingTemplate string
    The naming template to be used for resources provisioned in this project.
    MemberRoles []GetProjectMemberRole
    Member users or groups associated with the project.
    Members []string

    A list of member users associated with the project.

    Note: Deprecated - please use member_roles instead.

    Deprecated: Deprecated

    Name string
    A human-friendly name used as an identifier in APIs that support this option.
    OperationTimeout float64
    The timeout that should be used for Blueprint operations and Provisioning tasks. The timeout is in seconds.
    PlacementPolicy string
    The placement policy that will be applied when selecting a cloud zone for provisioning. Must be one of DEFAULT or SPREAD.
    SharedResources bool
    The id of the organization this entity belongs to.
    SupervisorRoles []GetProjectSupervisorRole
    Supervisor users or groups associated with the project.d
    ViewerRoles []GetProjectViewerRole
    Viewer users or groups associated with the project.
    Viewers []string

    A list of viewer users associated with the project.

    Note: Deprecated - please use viewer_roles instead.

    Deprecated: Deprecated

    ZoneAssignments []GetProjectZoneAssignment
    A list of configurations for zone assignment to a project.
    administratorRoles List<GetProjectAdministratorRole>
    Administrator users or groups associated with the project. Only administrators can manage project's configuration.
    administrators List<String>

    A list of administrator users associated with the project. Only administrators can manage project's configuration.

    Note: Deprecated - please use administrator_roles instead.

    Deprecated: Deprecated

    constraints GetProjectConstraints
    A list of storage, network and extensibility constraints to be applied when provisioning through this project.
    customProperties Map<String,String>
    The project custom properties which are added to all requests in this project.
    description String
    A human-friendly description.
    id String
    The id of the image profile instance.
    machineNamingTemplate String
    The naming template to be used for resources provisioned in this project.
    memberRoles List<GetProjectMemberRole>
    Member users or groups associated with the project.
    members List<String>

    A list of member users associated with the project.

    Note: Deprecated - please use member_roles instead.

    Deprecated: Deprecated

    name String
    A human-friendly name used as an identifier in APIs that support this option.
    operationTimeout Double
    The timeout that should be used for Blueprint operations and Provisioning tasks. The timeout is in seconds.
    placementPolicy String
    The placement policy that will be applied when selecting a cloud zone for provisioning. Must be one of DEFAULT or SPREAD.
    sharedResources Boolean
    The id of the organization this entity belongs to.
    supervisorRoles List<GetProjectSupervisorRole>
    Supervisor users or groups associated with the project.d
    viewerRoles List<GetProjectViewerRole>
    Viewer users or groups associated with the project.
    viewers List<String>

    A list of viewer users associated with the project.

    Note: Deprecated - please use viewer_roles instead.

    Deprecated: Deprecated

    zoneAssignments List<GetProjectZoneAssignment>
    A list of configurations for zone assignment to a project.
    administratorRoles GetProjectAdministratorRole[]
    Administrator users or groups associated with the project. Only administrators can manage project's configuration.
    administrators string[]

    A list of administrator users associated with the project. Only administrators can manage project's configuration.

    Note: Deprecated - please use administrator_roles instead.

    Deprecated: Deprecated

    constraints GetProjectConstraints
    A list of storage, network and extensibility constraints to be applied when provisioning through this project.
    customProperties {[key: string]: string}
    The project custom properties which are added to all requests in this project.
    description string
    A human-friendly description.
    id string
    The id of the image profile instance.
    machineNamingTemplate string
    The naming template to be used for resources provisioned in this project.
    memberRoles GetProjectMemberRole[]
    Member users or groups associated with the project.
    members string[]

    A list of member users associated with the project.

    Note: Deprecated - please use member_roles instead.

    Deprecated: Deprecated

    name string
    A human-friendly name used as an identifier in APIs that support this option.
    operationTimeout number
    The timeout that should be used for Blueprint operations and Provisioning tasks. The timeout is in seconds.
    placementPolicy string
    The placement policy that will be applied when selecting a cloud zone for provisioning. Must be one of DEFAULT or SPREAD.
    sharedResources boolean
    The id of the organization this entity belongs to.
    supervisorRoles GetProjectSupervisorRole[]
    Supervisor users or groups associated with the project.d
    viewerRoles GetProjectViewerRole[]
    Viewer users or groups associated with the project.
    viewers string[]

    A list of viewer users associated with the project.

    Note: Deprecated - please use viewer_roles instead.

    Deprecated: Deprecated

    zoneAssignments GetProjectZoneAssignment[]
    A list of configurations for zone assignment to a project.
    administrator_roles Sequence[GetProjectAdministratorRole]
    Administrator users or groups associated with the project. Only administrators can manage project's configuration.
    administrators Sequence[str]

    A list of administrator users associated with the project. Only administrators can manage project's configuration.

    Note: Deprecated - please use administrator_roles instead.

    Deprecated: Deprecated

    constraints GetProjectConstraints
    A list of storage, network and extensibility constraints to be applied when provisioning through this project.
    custom_properties Mapping[str, str]
    The project custom properties which are added to all requests in this project.
    description str
    A human-friendly description.
    id str
    The id of the image profile instance.
    machine_naming_template str
    The naming template to be used for resources provisioned in this project.
    member_roles Sequence[GetProjectMemberRole]
    Member users or groups associated with the project.
    members Sequence[str]

    A list of member users associated with the project.

    Note: Deprecated - please use member_roles instead.

    Deprecated: Deprecated

    name str
    A human-friendly name used as an identifier in APIs that support this option.
    operation_timeout float
    The timeout that should be used for Blueprint operations and Provisioning tasks. The timeout is in seconds.
    placement_policy str
    The placement policy that will be applied when selecting a cloud zone for provisioning. Must be one of DEFAULT or SPREAD.
    shared_resources bool
    The id of the organization this entity belongs to.
    supervisor_roles Sequence[GetProjectSupervisorRole]
    Supervisor users or groups associated with the project.d
    viewer_roles Sequence[GetProjectViewerRole]
    Viewer users or groups associated with the project.
    viewers Sequence[str]

    A list of viewer users associated with the project.

    Note: Deprecated - please use viewer_roles instead.

    Deprecated: Deprecated

    zone_assignments Sequence[GetProjectZoneAssignment]
    A list of configurations for zone assignment to a project.
    administratorRoles List<Property Map>
    Administrator users or groups associated with the project. Only administrators can manage project's configuration.
    administrators List<String>

    A list of administrator users associated with the project. Only administrators can manage project's configuration.

    Note: Deprecated - please use administrator_roles instead.

    Deprecated: Deprecated

    constraints Property Map
    A list of storage, network and extensibility constraints to be applied when provisioning through this project.
    customProperties Map<String>
    The project custom properties which are added to all requests in this project.
    description String
    A human-friendly description.
    id String
    The id of the image profile instance.
    machineNamingTemplate String
    The naming template to be used for resources provisioned in this project.
    memberRoles List<Property Map>
    Member users or groups associated with the project.
    members List<String>

    A list of member users associated with the project.

    Note: Deprecated - please use member_roles instead.

    Deprecated: Deprecated

    name String
    A human-friendly name used as an identifier in APIs that support this option.
    operationTimeout Number
    The timeout that should be used for Blueprint operations and Provisioning tasks. The timeout is in seconds.
    placementPolicy String
    The placement policy that will be applied when selecting a cloud zone for provisioning. Must be one of DEFAULT or SPREAD.
    sharedResources Boolean
    The id of the organization this entity belongs to.
    supervisorRoles List<Property Map>
    Supervisor users or groups associated with the project.d
    viewerRoles List<Property Map>
    Viewer users or groups associated with the project.
    viewers List<String>

    A list of viewer users associated with the project.

    Note: Deprecated - please use viewer_roles instead.

    Deprecated: Deprecated

    zoneAssignments List<Property Map>
    A list of configurations for zone assignment to a project.

    getProject Result

    The following output properties are available:

    Supporting Types

    GetProjectAdministratorRole

    Email string
    The email of the user or name of the group.
    Type string
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    Email string
    The email of the user or name of the group.
    Type string
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email String
    The email of the user or name of the group.
    type String
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email string
    The email of the user or name of the group.
    type string
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email str
    The email of the user or name of the group.
    type str
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email String
    The email of the user or name of the group.
    type String
    Type of the principal. Currently supported ‘user’ (default) and 'group’.

    GetProjectConstraints

    Extensibilities List<GetProjectConstraintsExtensibility>
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    Networks List<GetProjectConstraintsNetwork>
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    Storages List<GetProjectConstraintsStorage>
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    Extensibilities []GetProjectConstraintsExtensibility
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    Networks []GetProjectConstraintsNetwork
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    Storages []GetProjectConstraintsStorage
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    extensibilities List<GetProjectConstraintsExtensibility>
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    networks List<GetProjectConstraintsNetwork>
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    storages List<GetProjectConstraintsStorage>
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    extensibilities GetProjectConstraintsExtensibility[]
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    networks GetProjectConstraintsNetwork[]
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    storages GetProjectConstraintsStorage[]
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    extensibilities Sequence[GetProjectConstraintsExtensibility]
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    networks Sequence[GetProjectConstraintsNetwork]
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    storages Sequence[GetProjectConstraintsStorage]
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    extensibilities List<Property Map>
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    networks List<Property Map>
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.
    storages List<Property Map>
    Constraints that are used to drive placement policies for entities such as image, network, storage, etc. Constraint expressions are matched against tags on existing placement targets.

    GetProjectConstraintsExtensibility

    Expression string
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    Mandatory bool
    Indicates whether this constraint should be strictly enforced or not.
    Expression string
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    Mandatory bool
    Indicates whether this constraint should be strictly enforced or not.
    expression String
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    mandatory Boolean
    Indicates whether this constraint should be strictly enforced or not.
    expression string
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    mandatory boolean
    Indicates whether this constraint should be strictly enforced or not.
    expression str
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    mandatory bool
    Indicates whether this constraint should be strictly enforced or not.
    expression String
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    mandatory Boolean
    Indicates whether this constraint should be strictly enforced or not.

    GetProjectConstraintsNetwork

    Expression string
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    Mandatory bool
    Indicates whether this constraint should be strictly enforced or not.
    Expression string
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    Mandatory bool
    Indicates whether this constraint should be strictly enforced or not.
    expression String
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    mandatory Boolean
    Indicates whether this constraint should be strictly enforced or not.
    expression string
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    mandatory boolean
    Indicates whether this constraint should be strictly enforced or not.
    expression str
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    mandatory bool
    Indicates whether this constraint should be strictly enforced or not.
    expression String
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    mandatory Boolean
    Indicates whether this constraint should be strictly enforced or not.

    GetProjectConstraintsStorage

    Expression string
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    Mandatory bool
    Indicates whether this constraint should be strictly enforced or not.
    Expression string
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    Mandatory bool
    Indicates whether this constraint should be strictly enforced or not.
    expression String
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    mandatory Boolean
    Indicates whether this constraint should be strictly enforced or not.
    expression string
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    mandatory boolean
    Indicates whether this constraint should be strictly enforced or not.
    expression str
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    mandatory bool
    Indicates whether this constraint should be strictly enforced or not.
    expression String
    An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
    mandatory Boolean
    Indicates whether this constraint should be strictly enforced or not.

    GetProjectMemberRole

    Email string
    The email of the user or name of the group.
    Type string
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    Email string
    The email of the user or name of the group.
    Type string
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email String
    The email of the user or name of the group.
    type String
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email string
    The email of the user or name of the group.
    type string
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email str
    The email of the user or name of the group.
    type str
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email String
    The email of the user or name of the group.
    type String
    Type of the principal. Currently supported ‘user’ (default) and 'group’.

    GetProjectSupervisorRole

    Email string
    The email of the user or name of the group.
    Type string
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    Email string
    The email of the user or name of the group.
    Type string
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email String
    The email of the user or name of the group.
    type String
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email string
    The email of the user or name of the group.
    type string
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email str
    The email of the user or name of the group.
    type str
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email String
    The email of the user or name of the group.
    type String
    Type of the principal. Currently supported ‘user’ (default) and 'group’.

    GetProjectViewerRole

    Email string
    The email of the user or name of the group.
    Type string
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    Email string
    The email of the user or name of the group.
    Type string
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email String
    The email of the user or name of the group.
    type String
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email string
    The email of the user or name of the group.
    type string
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email str
    The email of the user or name of the group.
    type str
    Type of the principal. Currently supported ‘user’ (default) and 'group’.
    email String
    The email of the user or name of the group.
    type String
    Type of the principal. Currently supported ‘user’ (default) and 'group’.

    GetProjectZoneAssignment

    CpuLimit double
    The maximum amount of cpus that can be used by this cloud zone. Default is 0 (unlimited cpu).
    MaxInstances double
    The maximum number of instances that can be provisioned in this cloud zone. Default is 0 (unlimited instances)
    MemoryLimitMb double
    The maximum amount of memory that can be used by this cloud zone. Default is 0 (unlimited memory).
    Priority double
    The priority of this zone in the current project. Lower numbers mean higher priority. Default is 0 (highest)
    StorageLimitGb double
    Upper limit on storage that can be requested from a cloud zone which is part of this project. Default is 0 (unlimited storage). Supported only for vSphere cloud zones.
    ZoneId string
    The Cloud Zone Id
    CpuLimit float64
    The maximum amount of cpus that can be used by this cloud zone. Default is 0 (unlimited cpu).
    MaxInstances float64
    The maximum number of instances that can be provisioned in this cloud zone. Default is 0 (unlimited instances)
    MemoryLimitMb float64
    The maximum amount of memory that can be used by this cloud zone. Default is 0 (unlimited memory).
    Priority float64
    The priority of this zone in the current project. Lower numbers mean higher priority. Default is 0 (highest)
    StorageLimitGb float64
    Upper limit on storage that can be requested from a cloud zone which is part of this project. Default is 0 (unlimited storage). Supported only for vSphere cloud zones.
    ZoneId string
    The Cloud Zone Id
    cpuLimit Double
    The maximum amount of cpus that can be used by this cloud zone. Default is 0 (unlimited cpu).
    maxInstances Double
    The maximum number of instances that can be provisioned in this cloud zone. Default is 0 (unlimited instances)
    memoryLimitMb Double
    The maximum amount of memory that can be used by this cloud zone. Default is 0 (unlimited memory).
    priority Double
    The priority of this zone in the current project. Lower numbers mean higher priority. Default is 0 (highest)
    storageLimitGb Double
    Upper limit on storage that can be requested from a cloud zone which is part of this project. Default is 0 (unlimited storage). Supported only for vSphere cloud zones.
    zoneId String
    The Cloud Zone Id
    cpuLimit number
    The maximum amount of cpus that can be used by this cloud zone. Default is 0 (unlimited cpu).
    maxInstances number
    The maximum number of instances that can be provisioned in this cloud zone. Default is 0 (unlimited instances)
    memoryLimitMb number
    The maximum amount of memory that can be used by this cloud zone. Default is 0 (unlimited memory).
    priority number
    The priority of this zone in the current project. Lower numbers mean higher priority. Default is 0 (highest)
    storageLimitGb number
    Upper limit on storage that can be requested from a cloud zone which is part of this project. Default is 0 (unlimited storage). Supported only for vSphere cloud zones.
    zoneId string
    The Cloud Zone Id
    cpu_limit float
    The maximum amount of cpus that can be used by this cloud zone. Default is 0 (unlimited cpu).
    max_instances float
    The maximum number of instances that can be provisioned in this cloud zone. Default is 0 (unlimited instances)
    memory_limit_mb float
    The maximum amount of memory that can be used by this cloud zone. Default is 0 (unlimited memory).
    priority float
    The priority of this zone in the current project. Lower numbers mean higher priority. Default is 0 (highest)
    storage_limit_gb float
    Upper limit on storage that can be requested from a cloud zone which is part of this project. Default is 0 (unlimited storage). Supported only for vSphere cloud zones.
    zone_id str
    The Cloud Zone Id
    cpuLimit Number
    The maximum amount of cpus that can be used by this cloud zone. Default is 0 (unlimited cpu).
    maxInstances Number
    The maximum number of instances that can be provisioned in this cloud zone. Default is 0 (unlimited instances)
    memoryLimitMb Number
    The maximum amount of memory that can be used by this cloud zone. Default is 0 (unlimited memory).
    priority Number
    The priority of this zone in the current project. Lower numbers mean higher priority. Default is 0 (highest)
    storageLimitGb Number
    Upper limit on storage that can be requested from a cloud zone which is part of this project. Default is 0 (unlimited storage). Supported only for vSphere cloud zones.
    zoneId String
    The Cloud Zone Id

    Package Details

    Repository
    vra vmware/terraform-provider-vra
    License
    Notes
    This Pulumi package is based on the vra Terraform Provider.
    vra logo
    vra 0.12.0 published on Monday, Apr 14, 2025 by vmware