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

vcd.IpSpaceIpAllocation

Explore with Pulumi AI

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

    Create IpSpaceIpAllocation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IpSpaceIpAllocation(name: string, args: IpSpaceIpAllocationArgs, opts?: CustomResourceOptions);
    @overload
    def IpSpaceIpAllocation(resource_name: str,
                            args: IpSpaceIpAllocationArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def IpSpaceIpAllocation(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            org_id: Optional[str] = None,
                            type: Optional[str] = None,
                            description: Optional[str] = None,
                            ip_space_id: Optional[str] = None,
                            ip_space_ip_allocation_id: Optional[str] = None,
                            prefix_length: Optional[str] = None,
                            usage_state: Optional[str] = None,
                            value: Optional[str] = None)
    func NewIpSpaceIpAllocation(ctx *Context, name string, args IpSpaceIpAllocationArgs, opts ...ResourceOption) (*IpSpaceIpAllocation, error)
    public IpSpaceIpAllocation(string name, IpSpaceIpAllocationArgs args, CustomResourceOptions? opts = null)
    public IpSpaceIpAllocation(String name, IpSpaceIpAllocationArgs args)
    public IpSpaceIpAllocation(String name, IpSpaceIpAllocationArgs args, CustomResourceOptions options)
    
    type: vcd:IpSpaceIpAllocation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IpSpaceIpAllocationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IpSpaceIpAllocationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IpSpaceIpAllocationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IpSpaceIpAllocationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IpSpaceIpAllocationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ipSpaceIpAllocationResource = new Vcd.IpSpaceIpAllocation("ipSpaceIpAllocationResource", new()
    {
        OrgId = "string",
        Type = "string",
        Description = "string",
        IpSpaceId = "string",
        IpSpaceIpAllocationId = "string",
        PrefixLength = "string",
        UsageState = "string",
        Value = "string",
    });
    
    example, err := vcd.NewIpSpaceIpAllocation(ctx, "ipSpaceIpAllocationResource", &vcd.IpSpaceIpAllocationArgs{
    	OrgId:                 pulumi.String("string"),
    	Type:                  pulumi.String("string"),
    	Description:           pulumi.String("string"),
    	IpSpaceId:             pulumi.String("string"),
    	IpSpaceIpAllocationId: pulumi.String("string"),
    	PrefixLength:          pulumi.String("string"),
    	UsageState:            pulumi.String("string"),
    	Value:                 pulumi.String("string"),
    })
    
    var ipSpaceIpAllocationResource = new IpSpaceIpAllocation("ipSpaceIpAllocationResource", IpSpaceIpAllocationArgs.builder()
        .orgId("string")
        .type("string")
        .description("string")
        .ipSpaceId("string")
        .ipSpaceIpAllocationId("string")
        .prefixLength("string")
        .usageState("string")
        .value("string")
        .build());
    
    ip_space_ip_allocation_resource = vcd.IpSpaceIpAllocation("ipSpaceIpAllocationResource",
        org_id="string",
        type="string",
        description="string",
        ip_space_id="string",
        ip_space_ip_allocation_id="string",
        prefix_length="string",
        usage_state="string",
        value="string")
    
    const ipSpaceIpAllocationResource = new vcd.IpSpaceIpAllocation("ipSpaceIpAllocationResource", {
        orgId: "string",
        type: "string",
        description: "string",
        ipSpaceId: "string",
        ipSpaceIpAllocationId: "string",
        prefixLength: "string",
        usageState: "string",
        value: "string",
    });
    
    type: vcd:IpSpaceIpAllocation
    properties:
        description: string
        ipSpaceId: string
        ipSpaceIpAllocationId: string
        orgId: string
        prefixLength: string
        type: string
        usageState: string
        value: string
    

    IpSpaceIpAllocation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IpSpaceIpAllocation resource accepts the following input properties:

    OrgId string
    Org ID in which the IP is allocated
    Type string
    One of FLOATING_IP, IP_PREFIX

    • FLOATING_IP - allocates single IP from defined ranges in IP Space
    • IP_PREFIX - allocates subnets. Note field prefix_length is required to allocate IP Prefix
    Description string

    Can only be set when usage_state=USED_MANUAL

    IP Allocation resources can be created only if there is a NSX-T Edge Gateway (vcd.NsxtEdgegateway) that is backed by the Provider Gateway (vcd.ExternalNetworkV2) with IP Space Uplinks (vcd.IpSpaceUplink). Attempting to allocate IP Addresses before having an Edge Gateway withing VDC will return errors of type This operation is denied.

    IpSpaceId string
    IP Space ID to use for IP Allocations
    IpSpaceIpAllocationId string
    PrefixLength string
    Required when type=IP_PREFIX
    UsageState string
    (Optional) Only used with manual reservations. Value USED_MANUAL enables manual IP reservation. Value UNUSED is set to release manual allocation of IP.
    Value string
    An option to request a specific IP or subnet from IP Space. Note: This field does not support IP ranges because it would cause multiple allocations created in one resource. Please use multiple resource instances to allocate IP ranges.
    OrgId string
    Org ID in which the IP is allocated
    Type string
    One of FLOATING_IP, IP_PREFIX

    • FLOATING_IP - allocates single IP from defined ranges in IP Space
    • IP_PREFIX - allocates subnets. Note field prefix_length is required to allocate IP Prefix
    Description string

    Can only be set when usage_state=USED_MANUAL

    IP Allocation resources can be created only if there is a NSX-T Edge Gateway (vcd.NsxtEdgegateway) that is backed by the Provider Gateway (vcd.ExternalNetworkV2) with IP Space Uplinks (vcd.IpSpaceUplink). Attempting to allocate IP Addresses before having an Edge Gateway withing VDC will return errors of type This operation is denied.

    IpSpaceId string
    IP Space ID to use for IP Allocations
    IpSpaceIpAllocationId string
    PrefixLength string
    Required when type=IP_PREFIX
    UsageState string
    (Optional) Only used with manual reservations. Value USED_MANUAL enables manual IP reservation. Value UNUSED is set to release manual allocation of IP.
    Value string
    An option to request a specific IP or subnet from IP Space. Note: This field does not support IP ranges because it would cause multiple allocations created in one resource. Please use multiple resource instances to allocate IP ranges.
    orgId String
    Org ID in which the IP is allocated
    type String
    One of FLOATING_IP, IP_PREFIX

    • FLOATING_IP - allocates single IP from defined ranges in IP Space
    • IP_PREFIX - allocates subnets. Note field prefix_length is required to allocate IP Prefix
    description String

    Can only be set when usage_state=USED_MANUAL

    IP Allocation resources can be created only if there is a NSX-T Edge Gateway (vcd.NsxtEdgegateway) that is backed by the Provider Gateway (vcd.ExternalNetworkV2) with IP Space Uplinks (vcd.IpSpaceUplink). Attempting to allocate IP Addresses before having an Edge Gateway withing VDC will return errors of type This operation is denied.

    ipSpaceId String
    IP Space ID to use for IP Allocations
    ipSpaceIpAllocationId String
    prefixLength String
    Required when type=IP_PREFIX
    usageState String
    (Optional) Only used with manual reservations. Value USED_MANUAL enables manual IP reservation. Value UNUSED is set to release manual allocation of IP.
    value String
    An option to request a specific IP or subnet from IP Space. Note: This field does not support IP ranges because it would cause multiple allocations created in one resource. Please use multiple resource instances to allocate IP ranges.
    orgId string
    Org ID in which the IP is allocated
    type string
    One of FLOATING_IP, IP_PREFIX

    • FLOATING_IP - allocates single IP from defined ranges in IP Space
    • IP_PREFIX - allocates subnets. Note field prefix_length is required to allocate IP Prefix
    description string

    Can only be set when usage_state=USED_MANUAL

    IP Allocation resources can be created only if there is a NSX-T Edge Gateway (vcd.NsxtEdgegateway) that is backed by the Provider Gateway (vcd.ExternalNetworkV2) with IP Space Uplinks (vcd.IpSpaceUplink). Attempting to allocate IP Addresses before having an Edge Gateway withing VDC will return errors of type This operation is denied.

    ipSpaceId string
    IP Space ID to use for IP Allocations
    ipSpaceIpAllocationId string
    prefixLength string
    Required when type=IP_PREFIX
    usageState string
    (Optional) Only used with manual reservations. Value USED_MANUAL enables manual IP reservation. Value UNUSED is set to release manual allocation of IP.
    value string
    An option to request a specific IP or subnet from IP Space. Note: This field does not support IP ranges because it would cause multiple allocations created in one resource. Please use multiple resource instances to allocate IP ranges.
    org_id str
    Org ID in which the IP is allocated
    type str
    One of FLOATING_IP, IP_PREFIX

    • FLOATING_IP - allocates single IP from defined ranges in IP Space
    • IP_PREFIX - allocates subnets. Note field prefix_length is required to allocate IP Prefix
    description str

    Can only be set when usage_state=USED_MANUAL

    IP Allocation resources can be created only if there is a NSX-T Edge Gateway (vcd.NsxtEdgegateway) that is backed by the Provider Gateway (vcd.ExternalNetworkV2) with IP Space Uplinks (vcd.IpSpaceUplink). Attempting to allocate IP Addresses before having an Edge Gateway withing VDC will return errors of type This operation is denied.

    ip_space_id str
    IP Space ID to use for IP Allocations
    ip_space_ip_allocation_id str
    prefix_length str
    Required when type=IP_PREFIX
    usage_state str
    (Optional) Only used with manual reservations. Value USED_MANUAL enables manual IP reservation. Value UNUSED is set to release manual allocation of IP.
    value str
    An option to request a specific IP or subnet from IP Space. Note: This field does not support IP ranges because it would cause multiple allocations created in one resource. Please use multiple resource instances to allocate IP ranges.
    orgId String
    Org ID in which the IP is allocated
    type String
    One of FLOATING_IP, IP_PREFIX

    • FLOATING_IP - allocates single IP from defined ranges in IP Space
    • IP_PREFIX - allocates subnets. Note field prefix_length is required to allocate IP Prefix
    description String

    Can only be set when usage_state=USED_MANUAL

    IP Allocation resources can be created only if there is a NSX-T Edge Gateway (vcd.NsxtEdgegateway) that is backed by the Provider Gateway (vcd.ExternalNetworkV2) with IP Space Uplinks (vcd.IpSpaceUplink). Attempting to allocate IP Addresses before having an Edge Gateway withing VDC will return errors of type This operation is denied.

    ipSpaceId String
    IP Space ID to use for IP Allocations
    ipSpaceIpAllocationId String
    prefixLength String
    Required when type=IP_PREFIX
    usageState String
    (Optional) Only used with manual reservations. Value USED_MANUAL enables manual IP reservation. Value UNUSED is set to release manual allocation of IP.
    value String
    An option to request a specific IP or subnet from IP Space. Note: This field does not support IP ranges because it would cause multiple allocations created in one resource. Please use multiple resource instances to allocate IP ranges.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IpSpaceIpAllocation resource produces the following output properties:

    AllocationDate string
    allocation date in formated as 2023-06-07T09:57:58.721Z (ISO 8601)
    Id string
    The provider-assigned unique ID for this managed resource.
    Ip string
    convenience field. For type=IP_PREFIX it will contain only the IP from CIDR returned
    IpAddress string
    IP address or CIDR
    UsedById string
    contains entity ID that is using the IP if usage_state=USED
    AllocationDate string
    allocation date in formated as 2023-06-07T09:57:58.721Z (ISO 8601)
    Id string
    The provider-assigned unique ID for this managed resource.
    Ip string
    convenience field. For type=IP_PREFIX it will contain only the IP from CIDR returned
    IpAddress string
    IP address or CIDR
    UsedById string
    contains entity ID that is using the IP if usage_state=USED
    allocationDate String
    allocation date in formated as 2023-06-07T09:57:58.721Z (ISO 8601)
    id String
    The provider-assigned unique ID for this managed resource.
    ip String
    convenience field. For type=IP_PREFIX it will contain only the IP from CIDR returned
    ipAddress String
    IP address or CIDR
    usedById String
    contains entity ID that is using the IP if usage_state=USED
    allocationDate string
    allocation date in formated as 2023-06-07T09:57:58.721Z (ISO 8601)
    id string
    The provider-assigned unique ID for this managed resource.
    ip string
    convenience field. For type=IP_PREFIX it will contain only the IP from CIDR returned
    ipAddress string
    IP address or CIDR
    usedById string
    contains entity ID that is using the IP if usage_state=USED
    allocation_date str
    allocation date in formated as 2023-06-07T09:57:58.721Z (ISO 8601)
    id str
    The provider-assigned unique ID for this managed resource.
    ip str
    convenience field. For type=IP_PREFIX it will contain only the IP from CIDR returned
    ip_address str
    IP address or CIDR
    used_by_id str
    contains entity ID that is using the IP if usage_state=USED
    allocationDate String
    allocation date in formated as 2023-06-07T09:57:58.721Z (ISO 8601)
    id String
    The provider-assigned unique ID for this managed resource.
    ip String
    convenience field. For type=IP_PREFIX it will contain only the IP from CIDR returned
    ipAddress String
    IP address or CIDR
    usedById String
    contains entity ID that is using the IP if usage_state=USED

    Look up Existing IpSpaceIpAllocation Resource

    Get an existing IpSpaceIpAllocation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IpSpaceIpAllocationState, opts?: CustomResourceOptions): IpSpaceIpAllocation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allocation_date: Optional[str] = None,
            description: Optional[str] = None,
            ip: Optional[str] = None,
            ip_address: Optional[str] = None,
            ip_space_id: Optional[str] = None,
            ip_space_ip_allocation_id: Optional[str] = None,
            org_id: Optional[str] = None,
            prefix_length: Optional[str] = None,
            type: Optional[str] = None,
            usage_state: Optional[str] = None,
            used_by_id: Optional[str] = None,
            value: Optional[str] = None) -> IpSpaceIpAllocation
    func GetIpSpaceIpAllocation(ctx *Context, name string, id IDInput, state *IpSpaceIpAllocationState, opts ...ResourceOption) (*IpSpaceIpAllocation, error)
    public static IpSpaceIpAllocation Get(string name, Input<string> id, IpSpaceIpAllocationState? state, CustomResourceOptions? opts = null)
    public static IpSpaceIpAllocation get(String name, Output<String> id, IpSpaceIpAllocationState state, CustomResourceOptions options)
    resources:  _:    type: vcd:IpSpaceIpAllocation    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AllocationDate string
    allocation date in formated as 2023-06-07T09:57:58.721Z (ISO 8601)
    Description string

    Can only be set when usage_state=USED_MANUAL

    IP Allocation resources can be created only if there is a NSX-T Edge Gateway (vcd.NsxtEdgegateway) that is backed by the Provider Gateway (vcd.ExternalNetworkV2) with IP Space Uplinks (vcd.IpSpaceUplink). Attempting to allocate IP Addresses before having an Edge Gateway withing VDC will return errors of type This operation is denied.

    Ip string
    convenience field. For type=IP_PREFIX it will contain only the IP from CIDR returned
    IpAddress string
    IP address or CIDR
    IpSpaceId string
    IP Space ID to use for IP Allocations
    IpSpaceIpAllocationId string
    OrgId string
    Org ID in which the IP is allocated
    PrefixLength string
    Required when type=IP_PREFIX
    Type string
    One of FLOATING_IP, IP_PREFIX

    • FLOATING_IP - allocates single IP from defined ranges in IP Space
    • IP_PREFIX - allocates subnets. Note field prefix_length is required to allocate IP Prefix
    UsageState string
    (Optional) Only used with manual reservations. Value USED_MANUAL enables manual IP reservation. Value UNUSED is set to release manual allocation of IP.
    UsedById string
    contains entity ID that is using the IP if usage_state=USED
    Value string
    An option to request a specific IP or subnet from IP Space. Note: This field does not support IP ranges because it would cause multiple allocations created in one resource. Please use multiple resource instances to allocate IP ranges.
    AllocationDate string
    allocation date in formated as 2023-06-07T09:57:58.721Z (ISO 8601)
    Description string

    Can only be set when usage_state=USED_MANUAL

    IP Allocation resources can be created only if there is a NSX-T Edge Gateway (vcd.NsxtEdgegateway) that is backed by the Provider Gateway (vcd.ExternalNetworkV2) with IP Space Uplinks (vcd.IpSpaceUplink). Attempting to allocate IP Addresses before having an Edge Gateway withing VDC will return errors of type This operation is denied.

    Ip string
    convenience field. For type=IP_PREFIX it will contain only the IP from CIDR returned
    IpAddress string
    IP address or CIDR
    IpSpaceId string
    IP Space ID to use for IP Allocations
    IpSpaceIpAllocationId string
    OrgId string
    Org ID in which the IP is allocated
    PrefixLength string
    Required when type=IP_PREFIX
    Type string
    One of FLOATING_IP, IP_PREFIX

    • FLOATING_IP - allocates single IP from defined ranges in IP Space
    • IP_PREFIX - allocates subnets. Note field prefix_length is required to allocate IP Prefix
    UsageState string
    (Optional) Only used with manual reservations. Value USED_MANUAL enables manual IP reservation. Value UNUSED is set to release manual allocation of IP.
    UsedById string
    contains entity ID that is using the IP if usage_state=USED
    Value string
    An option to request a specific IP or subnet from IP Space. Note: This field does not support IP ranges because it would cause multiple allocations created in one resource. Please use multiple resource instances to allocate IP ranges.
    allocationDate String
    allocation date in formated as 2023-06-07T09:57:58.721Z (ISO 8601)
    description String

    Can only be set when usage_state=USED_MANUAL

    IP Allocation resources can be created only if there is a NSX-T Edge Gateway (vcd.NsxtEdgegateway) that is backed by the Provider Gateway (vcd.ExternalNetworkV2) with IP Space Uplinks (vcd.IpSpaceUplink). Attempting to allocate IP Addresses before having an Edge Gateway withing VDC will return errors of type This operation is denied.

    ip String
    convenience field. For type=IP_PREFIX it will contain only the IP from CIDR returned
    ipAddress String
    IP address or CIDR
    ipSpaceId String
    IP Space ID to use for IP Allocations
    ipSpaceIpAllocationId String
    orgId String
    Org ID in which the IP is allocated
    prefixLength String
    Required when type=IP_PREFIX
    type String
    One of FLOATING_IP, IP_PREFIX

    • FLOATING_IP - allocates single IP from defined ranges in IP Space
    • IP_PREFIX - allocates subnets. Note field prefix_length is required to allocate IP Prefix
    usageState String
    (Optional) Only used with manual reservations. Value USED_MANUAL enables manual IP reservation. Value UNUSED is set to release manual allocation of IP.
    usedById String
    contains entity ID that is using the IP if usage_state=USED
    value String
    An option to request a specific IP or subnet from IP Space. Note: This field does not support IP ranges because it would cause multiple allocations created in one resource. Please use multiple resource instances to allocate IP ranges.
    allocationDate string
    allocation date in formated as 2023-06-07T09:57:58.721Z (ISO 8601)
    description string

    Can only be set when usage_state=USED_MANUAL

    IP Allocation resources can be created only if there is a NSX-T Edge Gateway (vcd.NsxtEdgegateway) that is backed by the Provider Gateway (vcd.ExternalNetworkV2) with IP Space Uplinks (vcd.IpSpaceUplink). Attempting to allocate IP Addresses before having an Edge Gateway withing VDC will return errors of type This operation is denied.

    ip string
    convenience field. For type=IP_PREFIX it will contain only the IP from CIDR returned
    ipAddress string
    IP address or CIDR
    ipSpaceId string
    IP Space ID to use for IP Allocations
    ipSpaceIpAllocationId string
    orgId string
    Org ID in which the IP is allocated
    prefixLength string
    Required when type=IP_PREFIX
    type string
    One of FLOATING_IP, IP_PREFIX

    • FLOATING_IP - allocates single IP from defined ranges in IP Space
    • IP_PREFIX - allocates subnets. Note field prefix_length is required to allocate IP Prefix
    usageState string
    (Optional) Only used with manual reservations. Value USED_MANUAL enables manual IP reservation. Value UNUSED is set to release manual allocation of IP.
    usedById string
    contains entity ID that is using the IP if usage_state=USED
    value string
    An option to request a specific IP or subnet from IP Space. Note: This field does not support IP ranges because it would cause multiple allocations created in one resource. Please use multiple resource instances to allocate IP ranges.
    allocation_date str
    allocation date in formated as 2023-06-07T09:57:58.721Z (ISO 8601)
    description str

    Can only be set when usage_state=USED_MANUAL

    IP Allocation resources can be created only if there is a NSX-T Edge Gateway (vcd.NsxtEdgegateway) that is backed by the Provider Gateway (vcd.ExternalNetworkV2) with IP Space Uplinks (vcd.IpSpaceUplink). Attempting to allocate IP Addresses before having an Edge Gateway withing VDC will return errors of type This operation is denied.

    ip str
    convenience field. For type=IP_PREFIX it will contain only the IP from CIDR returned
    ip_address str
    IP address or CIDR
    ip_space_id str
    IP Space ID to use for IP Allocations
    ip_space_ip_allocation_id str
    org_id str
    Org ID in which the IP is allocated
    prefix_length str
    Required when type=IP_PREFIX
    type str
    One of FLOATING_IP, IP_PREFIX

    • FLOATING_IP - allocates single IP from defined ranges in IP Space
    • IP_PREFIX - allocates subnets. Note field prefix_length is required to allocate IP Prefix
    usage_state str
    (Optional) Only used with manual reservations. Value USED_MANUAL enables manual IP reservation. Value UNUSED is set to release manual allocation of IP.
    used_by_id str
    contains entity ID that is using the IP if usage_state=USED
    value str
    An option to request a specific IP or subnet from IP Space. Note: This field does not support IP ranges because it would cause multiple allocations created in one resource. Please use multiple resource instances to allocate IP ranges.
    allocationDate String
    allocation date in formated as 2023-06-07T09:57:58.721Z (ISO 8601)
    description String

    Can only be set when usage_state=USED_MANUAL

    IP Allocation resources can be created only if there is a NSX-T Edge Gateway (vcd.NsxtEdgegateway) that is backed by the Provider Gateway (vcd.ExternalNetworkV2) with IP Space Uplinks (vcd.IpSpaceUplink). Attempting to allocate IP Addresses before having an Edge Gateway withing VDC will return errors of type This operation is denied.

    ip String
    convenience field. For type=IP_PREFIX it will contain only the IP from CIDR returned
    ipAddress String
    IP address or CIDR
    ipSpaceId String
    IP Space ID to use for IP Allocations
    ipSpaceIpAllocationId String
    orgId String
    Org ID in which the IP is allocated
    prefixLength String
    Required when type=IP_PREFIX
    type String
    One of FLOATING_IP, IP_PREFIX

    • FLOATING_IP - allocates single IP from defined ranges in IP Space
    • IP_PREFIX - allocates subnets. Note field prefix_length is required to allocate IP Prefix
    usageState String
    (Optional) Only used with manual reservations. Value USED_MANUAL enables manual IP reservation. Value UNUSED is set to release manual allocation of IP.
    usedById String
    contains entity ID that is using the IP if usage_state=USED
    value String
    An option to request a specific IP or subnet from IP Space. Note: This field does not support IP ranges because it would cause multiple allocations created in one resource. Please use multiple resource instances to allocate IP ranges.

    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