1. Packages
  2. Vcd Provider
  3. API Docs
  4. getOrg
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.getOrg

Explore with Pulumi AI

vcd logo
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

    Provides a VMware Cloud Director Org data source. An organization can be used to manage catalogs, virtual data centers, and users.

    Supported in provider v2.5+

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vcd from "@pulumi/vcd";
    
    const my_org = vcd.getOrg({
        name: "my-org",
    });
    const my_org_clone = new vcd.Org("my-org-clone", {
        fullName: my_org.then(my_org => my_org.fullName),
        canPublishCatalogs: my_org.then(my_org => my_org.canPublishCatalogs),
        deployedVmQuota: my_org.then(my_org => my_org.deployedVmQuota),
        storedVmQuota: my_org.then(my_org => my_org.storedVmQuota),
        isEnabled: my_org.then(my_org => my_org.isEnabled),
        deleteForce: true,
        deleteRecursive: true,
        vappLease: {
            maximumRuntimeLeaseInSec: my_org.then(my_org => my_org.vappLeases?.[0]?.maximumRuntimeLeaseInSec),
            powerOffOnRuntimeLeaseExpiration: my_org.then(my_org => my_org.vappLeases?.[0]?.powerOffOnRuntimeLeaseExpiration),
            maximumStorageLeaseInSec: my_org.then(my_org => my_org.vappLeases?.[0]?.maximumStorageLeaseInSec),
            deleteOnStorageLeaseExpiration: my_org.then(my_org => my_org.vappLeases?.[0]?.deleteOnStorageLeaseExpiration),
        },
        vappTemplateLease: {
            maximumStorageLeaseInSec: my_org.then(my_org => my_org.vappTemplateLeases?.[0]?.maximumStorageLeaseInSec),
            deleteOnStorageLeaseExpiration: my_org.then(my_org => my_org.vappTemplateLeases?.[0]?.deleteOnStorageLeaseExpiration),
        },
    });
    
    import pulumi
    import pulumi_vcd as vcd
    
    my_org = vcd.get_org(name="my-org")
    my_org_clone = vcd.Org("my-org-clone",
        full_name=my_org.full_name,
        can_publish_catalogs=my_org.can_publish_catalogs,
        deployed_vm_quota=my_org.deployed_vm_quota,
        stored_vm_quota=my_org.stored_vm_quota,
        is_enabled=my_org.is_enabled,
        delete_force=True,
        delete_recursive=True,
        vapp_lease={
            "maximum_runtime_lease_in_sec": my_org.vapp_leases[0].maximum_runtime_lease_in_sec,
            "power_off_on_runtime_lease_expiration": my_org.vapp_leases[0].power_off_on_runtime_lease_expiration,
            "maximum_storage_lease_in_sec": my_org.vapp_leases[0].maximum_storage_lease_in_sec,
            "delete_on_storage_lease_expiration": my_org.vapp_leases[0].delete_on_storage_lease_expiration,
        },
        vapp_template_lease={
            "maximum_storage_lease_in_sec": my_org.vapp_template_leases[0].maximum_storage_lease_in_sec,
            "delete_on_storage_lease_expiration": my_org.vapp_template_leases[0].delete_on_storage_lease_expiration,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vcd/v3/vcd"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		my_org, err := vcd.LookupOrg(ctx, &vcd.LookupOrgArgs{
    			Name: "my-org",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = vcd.NewOrg(ctx, "my-org-clone", &vcd.OrgArgs{
    			FullName:           pulumi.String(my_org.FullName),
    			CanPublishCatalogs: pulumi.Bool(my_org.CanPublishCatalogs),
    			DeployedVmQuota:    pulumi.Float64(my_org.DeployedVmQuota),
    			StoredVmQuota:      pulumi.Float64(my_org.StoredVmQuota),
    			IsEnabled:          pulumi.Bool(my_org.IsEnabled),
    			DeleteForce:        pulumi.Bool(true),
    			DeleteRecursive:    pulumi.Bool(true),
    			VappLease: &vcd.OrgVappLeaseArgs{
    				MaximumRuntimeLeaseInSec:         pulumi.Float64(my_org.VappLeases[0].MaximumRuntimeLeaseInSec),
    				PowerOffOnRuntimeLeaseExpiration: pulumi.Bool(my_org.VappLeases[0].PowerOffOnRuntimeLeaseExpiration),
    				MaximumStorageLeaseInSec:         pulumi.Float64(my_org.VappLeases[0].MaximumStorageLeaseInSec),
    				DeleteOnStorageLeaseExpiration:   pulumi.Bool(my_org.VappLeases[0].DeleteOnStorageLeaseExpiration),
    			},
    			VappTemplateLease: &vcd.OrgVappTemplateLeaseArgs{
    				MaximumStorageLeaseInSec:       pulumi.Float64(my_org.VappTemplateLeases[0].MaximumStorageLeaseInSec),
    				DeleteOnStorageLeaseExpiration: pulumi.Bool(my_org.VappTemplateLeases[0].DeleteOnStorageLeaseExpiration),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vcd = Pulumi.Vcd;
    
    return await Deployment.RunAsync(() => 
    {
        var my_org = Vcd.GetOrg.Invoke(new()
        {
            Name = "my-org",
        });
    
        var my_org_clone = new Vcd.Org("my-org-clone", new()
        {
            FullName = my_org.Apply(my_org => my_org.Apply(getOrgResult => getOrgResult.FullName)),
            CanPublishCatalogs = my_org.Apply(my_org => my_org.Apply(getOrgResult => getOrgResult.CanPublishCatalogs)),
            DeployedVmQuota = my_org.Apply(my_org => my_org.Apply(getOrgResult => getOrgResult.DeployedVmQuota)),
            StoredVmQuota = my_org.Apply(my_org => my_org.Apply(getOrgResult => getOrgResult.StoredVmQuota)),
            IsEnabled = my_org.Apply(my_org => my_org.Apply(getOrgResult => getOrgResult.IsEnabled)),
            DeleteForce = true,
            DeleteRecursive = true,
            VappLease = new Vcd.Inputs.OrgVappLeaseArgs
            {
                MaximumRuntimeLeaseInSec = my_org.Apply(my_org => my_org.Apply(getOrgResult => getOrgResult.VappLeases[0]?.MaximumRuntimeLeaseInSec)),
                PowerOffOnRuntimeLeaseExpiration = my_org.Apply(my_org => my_org.Apply(getOrgResult => getOrgResult.VappLeases[0]?.PowerOffOnRuntimeLeaseExpiration)),
                MaximumStorageLeaseInSec = my_org.Apply(my_org => my_org.Apply(getOrgResult => getOrgResult.VappLeases[0]?.MaximumStorageLeaseInSec)),
                DeleteOnStorageLeaseExpiration = my_org.Apply(my_org => my_org.Apply(getOrgResult => getOrgResult.VappLeases[0]?.DeleteOnStorageLeaseExpiration)),
            },
            VappTemplateLease = new Vcd.Inputs.OrgVappTemplateLeaseArgs
            {
                MaximumStorageLeaseInSec = my_org.Apply(my_org => my_org.Apply(getOrgResult => getOrgResult.VappTemplateLeases[0]?.MaximumStorageLeaseInSec)),
                DeleteOnStorageLeaseExpiration = my_org.Apply(my_org => my_org.Apply(getOrgResult => getOrgResult.VappTemplateLeases[0]?.DeleteOnStorageLeaseExpiration)),
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vcd.VcdFunctions;
    import com.pulumi.vcd.inputs.GetOrgArgs;
    import com.pulumi.vcd.Org;
    import com.pulumi.vcd.OrgArgs;
    import com.pulumi.vcd.inputs.OrgVappLeaseArgs;
    import com.pulumi.vcd.inputs.OrgVappTemplateLeaseArgs;
    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 my-org = VcdFunctions.getOrg(GetOrgArgs.builder()
                .name("my-org")
                .build());
    
            var my_org_clone = new Org("my-org-clone", OrgArgs.builder()
                .fullName(my_org.fullName())
                .canPublishCatalogs(my_org.canPublishCatalogs())
                .deployedVmQuota(my_org.deployedVmQuota())
                .storedVmQuota(my_org.storedVmQuota())
                .isEnabled(my_org.isEnabled())
                .deleteForce(true)
                .deleteRecursive(true)
                .vappLease(OrgVappLeaseArgs.builder()
                    .maximumRuntimeLeaseInSec(my_org.vappLeases()[0].maximumRuntimeLeaseInSec())
                    .powerOffOnRuntimeLeaseExpiration(my_org.vappLeases()[0].powerOffOnRuntimeLeaseExpiration())
                    .maximumStorageLeaseInSec(my_org.vappLeases()[0].maximumStorageLeaseInSec())
                    .deleteOnStorageLeaseExpiration(my_org.vappLeases()[0].deleteOnStorageLeaseExpiration())
                    .build())
                .vappTemplateLease(OrgVappTemplateLeaseArgs.builder()
                    .maximumStorageLeaseInSec(my_org.vappTemplateLeases()[0].maximumStorageLeaseInSec())
                    .deleteOnStorageLeaseExpiration(my_org.vappTemplateLeases()[0].deleteOnStorageLeaseExpiration())
                    .build())
                .build());
    
        }
    }
    
    resources:
      my-org-clone:
        type: vcd:Org
        properties:
          fullName: ${["my-org"].fullName}
          canPublishCatalogs: ${["my-org"].canPublishCatalogs}
          deployedVmQuota: ${["my-org"].deployedVmQuota}
          storedVmQuota: ${["my-org"].storedVmQuota}
          isEnabled: ${["my-org"].isEnabled}
          deleteForce: true
          deleteRecursive: true
          vappLease:
            maximumRuntimeLeaseInSec: ${["my-org"].vappLeases[0].maximumRuntimeLeaseInSec}
            powerOffOnRuntimeLeaseExpiration: ${["my-org"].vappLeases[0].powerOffOnRuntimeLeaseExpiration}
            maximumStorageLeaseInSec: ${["my-org"].vappLeases[0].maximumStorageLeaseInSec}
            deleteOnStorageLeaseExpiration: ${["my-org"].vappLeases[0].deleteOnStorageLeaseExpiration}
          vappTemplateLease:
            maximumStorageLeaseInSec: ${["my-org"].vappTemplateLeases[0].maximumStorageLeaseInSec}
            deleteOnStorageLeaseExpiration: ${["my-org"].vappTemplateLeases[0].deleteOnStorageLeaseExpiration}
    variables:
      my-org:
        fn::invoke:
          function: vcd:getOrg
          arguments:
            name: my-org
    

    vApp Lease

    The vapp_lease section contains lease parameters for vApps created in the current organization, as defined below:

    • maximum_runtime_lease_in_sec - How long vApps can run before they are automatically stopped (in seconds)
    • power_off_on_runtime_lease_expiration - When true, vApps are powered off when the runtime lease expires. When false, vApps are suspended when the runtime lease expires.
    • maximum_storage_lease_in_sec - How long stopped vApps are available before being automatically cleaned up (in seconds)
    • delete_on_storage_lease_expiration - If true, storage for a vApp is deleted when the vApp’s lease expires. If false, the storage is flagged for deletion, but not deleted.

    vApp Template Lease

    The vapp_template_lease section contains lease parameters for vApp templates created in the current organization, as defined below:

    • maximum_storage_lease_in_sec - How long vApp templates are available before being automatically cleaned up (in seconds)
    • delete_on_storage_lease_expiration - If true, storage for a vAppTemplate is deleted when the vAppTemplate lease expires. If false, the storage is flagged for deletion, but not deleted

    Metadata

    The metadata_entry (v3.8+) is a set of metadata entries that have the following structure:

    • key - Key of this metadata entry.
    • value - Value of this metadata entry.
    • type - Type of this metadata entry. One of: MetadataStringValue, MetadataNumberValue, MetadataDateTimeValue, MetadataBooleanValue.
    • user_access - User access level for this metadata entry. One of: PRIVATE (hidden), READONLY (read only), READWRITE (read/write).
    • is_system - Domain for this metadata entry. true if it belongs to SYSTEM, false if it belongs to GENERAL.

    Using getOrg

    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 getOrg(args: GetOrgArgs, opts?: InvokeOptions): Promise<GetOrgResult>
    function getOrgOutput(args: GetOrgOutputArgs, opts?: InvokeOptions): Output<GetOrgResult>
    def get_org(id: Optional[str] = None,
                name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetOrgResult
    def get_org_output(id: Optional[pulumi.Input[str]] = None,
                name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetOrgResult]
    func LookupOrg(ctx *Context, args *LookupOrgArgs, opts ...InvokeOption) (*LookupOrgResult, error)
    func LookupOrgOutput(ctx *Context, args *LookupOrgOutputArgs, opts ...InvokeOption) LookupOrgResultOutput

    > Note: This function is named LookupOrg in the Go SDK.

    public static class GetOrg 
    {
        public static Task<GetOrgResult> InvokeAsync(GetOrgArgs args, InvokeOptions? opts = null)
        public static Output<GetOrgResult> Invoke(GetOrgInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrgResult> getOrg(GetOrgArgs args, InvokeOptions options)
    public static Output<GetOrgResult> getOrg(GetOrgArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vcd:index/getOrg:getOrg
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Org name
    Id string
    Name string
    Org name
    Id string
    name String
    Org name
    id String
    name string
    Org name
    id string
    name str
    Org name
    id str
    name String
    Org name
    id String

    getOrg Result

    The following output properties are available:

    AccountLockouts List<GetOrgAccountLockout>
    (v3.14+) Contains the account lockout properties of the read organization:
    CanPublishCatalogs bool
    True if this organization is allowed to share catalogs.
    CanPublishExternalCatalogs bool
    (v3.6+) True if this organization is allowed to publish external catalogs.
    CanSubscribeExternalCatalogs bool
    (v3.6+) True if this organization is allowed to subscribe to external catalogs.
    DelayAfterPowerOnSeconds double
    Specifies this organization's default for virtual machine boot delay after power on.
    DeployedVmQuota double
    Maximum number of virtual machines that can be deployed simultaneously by a member of this organization.
    Description string
    Org description.
    FullName string
    Org full name
    Id string
    IsEnabled bool
    True if this organization is enabled (allows login and all other operations).
    ListOfCatalogs List<string>
    (v3.11+) List of catalogs (sorted alphabetically), owned or shared, available to this organization.
    ListOfVdcs List<string>
    (v3.11+) List of VDCs (sorted alphabetically), owned or shared, available to this organization.
    Metadata Dictionary<string, string>
    (Deprecated; v3.6+) Use metadata_entry instead. Key value map of metadata assigned to this organization.

    Deprecated: Deprecated

    MetadataEntries List<GetOrgMetadataEntry>
    A set of metadata entries assigned to the organization. See Metadata section for details.
    Name string
    NumberOfCatalogs double
    (v3.11+) Number of catalogs owned or shared, available to this organization.
    NumberOfVdcs double
    (v3.11+) Number of VDCs owned or shared, available to this organization.
    StoredVmQuota double
    Maximum number of virtual machines in vApps or vApp templates that can be stored in an undeployed state by a member of this organization.
    VappLeases List<GetOrgVappLease>
    (v2.7+) Defines lease parameters for vApps created in this organization. See vApp Lease below for details.
    VappTemplateLeases List<GetOrgVappTemplateLease>
    (v2.7+) Defines lease parameters for vApp templates created in this organization. See vApp Template Lease below for details.
    AccountLockouts []GetOrgAccountLockout
    (v3.14+) Contains the account lockout properties of the read organization:
    CanPublishCatalogs bool
    True if this organization is allowed to share catalogs.
    CanPublishExternalCatalogs bool
    (v3.6+) True if this organization is allowed to publish external catalogs.
    CanSubscribeExternalCatalogs bool
    (v3.6+) True if this organization is allowed to subscribe to external catalogs.
    DelayAfterPowerOnSeconds float64
    Specifies this organization's default for virtual machine boot delay after power on.
    DeployedVmQuota float64
    Maximum number of virtual machines that can be deployed simultaneously by a member of this organization.
    Description string
    Org description.
    FullName string
    Org full name
    Id string
    IsEnabled bool
    True if this organization is enabled (allows login and all other operations).
    ListOfCatalogs []string
    (v3.11+) List of catalogs (sorted alphabetically), owned or shared, available to this organization.
    ListOfVdcs []string
    (v3.11+) List of VDCs (sorted alphabetically), owned or shared, available to this organization.
    Metadata map[string]string
    (Deprecated; v3.6+) Use metadata_entry instead. Key value map of metadata assigned to this organization.

    Deprecated: Deprecated

    MetadataEntries []GetOrgMetadataEntry
    A set of metadata entries assigned to the organization. See Metadata section for details.
    Name string
    NumberOfCatalogs float64
    (v3.11+) Number of catalogs owned or shared, available to this organization.
    NumberOfVdcs float64
    (v3.11+) Number of VDCs owned or shared, available to this organization.
    StoredVmQuota float64
    Maximum number of virtual machines in vApps or vApp templates that can be stored in an undeployed state by a member of this organization.
    VappLeases []GetOrgVappLease
    (v2.7+) Defines lease parameters for vApps created in this organization. See vApp Lease below for details.
    VappTemplateLeases []GetOrgVappTemplateLease
    (v2.7+) Defines lease parameters for vApp templates created in this organization. See vApp Template Lease below for details.
    accountLockouts List<GetOrgAccountLockout>
    (v3.14+) Contains the account lockout properties of the read organization:
    canPublishCatalogs Boolean
    True if this organization is allowed to share catalogs.
    canPublishExternalCatalogs Boolean
    (v3.6+) True if this organization is allowed to publish external catalogs.
    canSubscribeExternalCatalogs Boolean
    (v3.6+) True if this organization is allowed to subscribe to external catalogs.
    delayAfterPowerOnSeconds Double
    Specifies this organization's default for virtual machine boot delay after power on.
    deployedVmQuota Double
    Maximum number of virtual machines that can be deployed simultaneously by a member of this organization.
    description String
    Org description.
    fullName String
    Org full name
    id String
    isEnabled Boolean
    True if this organization is enabled (allows login and all other operations).
    listOfCatalogs List<String>
    (v3.11+) List of catalogs (sorted alphabetically), owned or shared, available to this organization.
    listOfVdcs List<String>
    (v3.11+) List of VDCs (sorted alphabetically), owned or shared, available to this organization.
    metadata Map<String,String>
    (Deprecated; v3.6+) Use metadata_entry instead. Key value map of metadata assigned to this organization.

    Deprecated: Deprecated

    metadataEntries List<GetOrgMetadataEntry>
    A set of metadata entries assigned to the organization. See Metadata section for details.
    name String
    numberOfCatalogs Double
    (v3.11+) Number of catalogs owned or shared, available to this organization.
    numberOfVdcs Double
    (v3.11+) Number of VDCs owned or shared, available to this organization.
    storedVmQuota Double
    Maximum number of virtual machines in vApps or vApp templates that can be stored in an undeployed state by a member of this organization.
    vappLeases List<GetOrgVappLease>
    (v2.7+) Defines lease parameters for vApps created in this organization. See vApp Lease below for details.
    vappTemplateLeases List<GetOrgVappTemplateLease>
    (v2.7+) Defines lease parameters for vApp templates created in this organization. See vApp Template Lease below for details.
    accountLockouts GetOrgAccountLockout[]
    (v3.14+) Contains the account lockout properties of the read organization:
    canPublishCatalogs boolean
    True if this organization is allowed to share catalogs.
    canPublishExternalCatalogs boolean
    (v3.6+) True if this organization is allowed to publish external catalogs.
    canSubscribeExternalCatalogs boolean
    (v3.6+) True if this organization is allowed to subscribe to external catalogs.
    delayAfterPowerOnSeconds number
    Specifies this organization's default for virtual machine boot delay after power on.
    deployedVmQuota number
    Maximum number of virtual machines that can be deployed simultaneously by a member of this organization.
    description string
    Org description.
    fullName string
    Org full name
    id string
    isEnabled boolean
    True if this organization is enabled (allows login and all other operations).
    listOfCatalogs string[]
    (v3.11+) List of catalogs (sorted alphabetically), owned or shared, available to this organization.
    listOfVdcs string[]
    (v3.11+) List of VDCs (sorted alphabetically), owned or shared, available to this organization.
    metadata {[key: string]: string}
    (Deprecated; v3.6+) Use metadata_entry instead. Key value map of metadata assigned to this organization.

    Deprecated: Deprecated

    metadataEntries GetOrgMetadataEntry[]
    A set of metadata entries assigned to the organization. See Metadata section for details.
    name string
    numberOfCatalogs number
    (v3.11+) Number of catalogs owned or shared, available to this organization.
    numberOfVdcs number
    (v3.11+) Number of VDCs owned or shared, available to this organization.
    storedVmQuota number
    Maximum number of virtual machines in vApps or vApp templates that can be stored in an undeployed state by a member of this organization.
    vappLeases GetOrgVappLease[]
    (v2.7+) Defines lease parameters for vApps created in this organization. See vApp Lease below for details.
    vappTemplateLeases GetOrgVappTemplateLease[]
    (v2.7+) Defines lease parameters for vApp templates created in this organization. See vApp Template Lease below for details.
    account_lockouts Sequence[GetOrgAccountLockout]
    (v3.14+) Contains the account lockout properties of the read organization:
    can_publish_catalogs bool
    True if this organization is allowed to share catalogs.
    can_publish_external_catalogs bool
    (v3.6+) True if this organization is allowed to publish external catalogs.
    can_subscribe_external_catalogs bool
    (v3.6+) True if this organization is allowed to subscribe to external catalogs.
    delay_after_power_on_seconds float
    Specifies this organization's default for virtual machine boot delay after power on.
    deployed_vm_quota float
    Maximum number of virtual machines that can be deployed simultaneously by a member of this organization.
    description str
    Org description.
    full_name str
    Org full name
    id str
    is_enabled bool
    True if this organization is enabled (allows login and all other operations).
    list_of_catalogs Sequence[str]
    (v3.11+) List of catalogs (sorted alphabetically), owned or shared, available to this organization.
    list_of_vdcs Sequence[str]
    (v3.11+) List of VDCs (sorted alphabetically), owned or shared, available to this organization.
    metadata Mapping[str, str]
    (Deprecated; v3.6+) Use metadata_entry instead. Key value map of metadata assigned to this organization.

    Deprecated: Deprecated

    metadata_entries Sequence[GetOrgMetadataEntry]
    A set of metadata entries assigned to the organization. See Metadata section for details.
    name str
    number_of_catalogs float
    (v3.11+) Number of catalogs owned or shared, available to this organization.
    number_of_vdcs float
    (v3.11+) Number of VDCs owned or shared, available to this organization.
    stored_vm_quota float
    Maximum number of virtual machines in vApps or vApp templates that can be stored in an undeployed state by a member of this organization.
    vapp_leases Sequence[GetOrgVappLease]
    (v2.7+) Defines lease parameters for vApps created in this organization. See vApp Lease below for details.
    vapp_template_leases Sequence[GetOrgVappTemplateLease]
    (v2.7+) Defines lease parameters for vApp templates created in this organization. See vApp Template Lease below for details.
    accountLockouts List<Property Map>
    (v3.14+) Contains the account lockout properties of the read organization:
    canPublishCatalogs Boolean
    True if this organization is allowed to share catalogs.
    canPublishExternalCatalogs Boolean
    (v3.6+) True if this organization is allowed to publish external catalogs.
    canSubscribeExternalCatalogs Boolean
    (v3.6+) True if this organization is allowed to subscribe to external catalogs.
    delayAfterPowerOnSeconds Number
    Specifies this organization's default for virtual machine boot delay after power on.
    deployedVmQuota Number
    Maximum number of virtual machines that can be deployed simultaneously by a member of this organization.
    description String
    Org description.
    fullName String
    Org full name
    id String
    isEnabled Boolean
    True if this organization is enabled (allows login and all other operations).
    listOfCatalogs List<String>
    (v3.11+) List of catalogs (sorted alphabetically), owned or shared, available to this organization.
    listOfVdcs List<String>
    (v3.11+) List of VDCs (sorted alphabetically), owned or shared, available to this organization.
    metadata Map<String>
    (Deprecated; v3.6+) Use metadata_entry instead. Key value map of metadata assigned to this organization.

    Deprecated: Deprecated

    metadataEntries List<Property Map>
    A set of metadata entries assigned to the organization. See Metadata section for details.
    name String
    numberOfCatalogs Number
    (v3.11+) Number of catalogs owned or shared, available to this organization.
    numberOfVdcs Number
    (v3.11+) Number of VDCs owned or shared, available to this organization.
    storedVmQuota Number
    Maximum number of virtual machines in vApps or vApp templates that can be stored in an undeployed state by a member of this organization.
    vappLeases List<Property Map>
    (v2.7+) Defines lease parameters for vApps created in this organization. See vApp Lease below for details.
    vappTemplateLeases List<Property Map>
    (v2.7+) Defines lease parameters for vApp templates created in this organization. See vApp Template Lease below for details.

    Supporting Types

    GetOrgAccountLockout

    Enabled bool
    Whether account lockout is enabled or not
    InvalidLoginsBeforeLockout double
    Number of login attempts that will trigger an account lockout for the given user
    LockoutIntervalMinutes double
    Once a user is locked out, they will not be able to log back in for this time period
    Enabled bool
    Whether account lockout is enabled or not
    InvalidLoginsBeforeLockout float64
    Number of login attempts that will trigger an account lockout for the given user
    LockoutIntervalMinutes float64
    Once a user is locked out, they will not be able to log back in for this time period
    enabled Boolean
    Whether account lockout is enabled or not
    invalidLoginsBeforeLockout Double
    Number of login attempts that will trigger an account lockout for the given user
    lockoutIntervalMinutes Double
    Once a user is locked out, they will not be able to log back in for this time period
    enabled boolean
    Whether account lockout is enabled or not
    invalidLoginsBeforeLockout number
    Number of login attempts that will trigger an account lockout for the given user
    lockoutIntervalMinutes number
    Once a user is locked out, they will not be able to log back in for this time period
    enabled bool
    Whether account lockout is enabled or not
    invalid_logins_before_lockout float
    Number of login attempts that will trigger an account lockout for the given user
    lockout_interval_minutes float
    Once a user is locked out, they will not be able to log back in for this time period
    enabled Boolean
    Whether account lockout is enabled or not
    invalidLoginsBeforeLockout Number
    Number of login attempts that will trigger an account lockout for the given user
    lockoutIntervalMinutes Number
    Once a user is locked out, they will not be able to log back in for this time period

    GetOrgMetadataEntry

    IsSystem bool
    Key string
    Type string
    UserAccess string
    Value string
    IsSystem bool
    Key string
    Type string
    UserAccess string
    Value string
    isSystem Boolean
    key String
    type String
    userAccess String
    value String
    isSystem boolean
    key string
    type string
    userAccess string
    value string
    isSystem Boolean
    key String
    type String
    userAccess String
    value String

    GetOrgVappLease

    GetOrgVappTemplateLease

    Package Details

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