1. Packages
  2. Nsxt Provider
  3. API Docs
  4. DhcpServerIpPool
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

nsxt.DhcpServerIpPool

Explore with Pulumi AI

nsxt logo
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

    Create DhcpServerIpPool Resource

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

    Constructor syntax

    new DhcpServerIpPool(name: string, args: DhcpServerIpPoolArgs, opts?: CustomResourceOptions);
    @overload
    def DhcpServerIpPool(resource_name: str,
                         args: DhcpServerIpPoolArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def DhcpServerIpPool(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         logical_dhcp_server_id: Optional[str] = None,
                         description: Optional[str] = None,
                         dhcp_generic_options: Optional[Sequence[DhcpServerIpPoolDhcpGenericOptionArgs]] = None,
                         dhcp_option121s: Optional[Sequence[DhcpServerIpPoolDhcpOption121Args]] = None,
                         dhcp_server_ip_pool_id: Optional[str] = None,
                         display_name: Optional[str] = None,
                         error_threshold: Optional[float] = None,
                         gateway_ip: Optional[str] = None,
                         ip_ranges: Optional[Sequence[DhcpServerIpPoolIpRangeArgs]] = None,
                         lease_time: Optional[float] = None,
                         tags: Optional[Sequence[DhcpServerIpPoolTagArgs]] = None,
                         warning_threshold: Optional[float] = None)
    func NewDhcpServerIpPool(ctx *Context, name string, args DhcpServerIpPoolArgs, opts ...ResourceOption) (*DhcpServerIpPool, error)
    public DhcpServerIpPool(string name, DhcpServerIpPoolArgs args, CustomResourceOptions? opts = null)
    public DhcpServerIpPool(String name, DhcpServerIpPoolArgs args)
    public DhcpServerIpPool(String name, DhcpServerIpPoolArgs args, CustomResourceOptions options)
    
    type: nsxt:DhcpServerIpPool
    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 DhcpServerIpPoolArgs
    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 DhcpServerIpPoolArgs
    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 DhcpServerIpPoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DhcpServerIpPoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DhcpServerIpPoolArgs
    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 dhcpServerIpPoolResource = new Nsxt.DhcpServerIpPool("dhcpServerIpPoolResource", new()
    {
        LogicalDhcpServerId = "string",
        Description = "string",
        DhcpGenericOptions = new[]
        {
            new Nsxt.Inputs.DhcpServerIpPoolDhcpGenericOptionArgs
            {
                Code = 0,
                Values = new[]
                {
                    "string",
                },
            },
        },
        DhcpOption121s = new[]
        {
            new Nsxt.Inputs.DhcpServerIpPoolDhcpOption121Args
            {
                Network = "string",
                NextHop = "string",
            },
        },
        DhcpServerIpPoolId = "string",
        DisplayName = "string",
        ErrorThreshold = 0,
        GatewayIp = "string",
        IpRanges = new[]
        {
            new Nsxt.Inputs.DhcpServerIpPoolIpRangeArgs
            {
                End = "string",
                Start = "string",
            },
        },
        LeaseTime = 0,
        Tags = new[]
        {
            new Nsxt.Inputs.DhcpServerIpPoolTagArgs
            {
                Scope = "string",
                Tag = "string",
            },
        },
        WarningThreshold = 0,
    });
    
    example, err := nsxt.NewDhcpServerIpPool(ctx, "dhcpServerIpPoolResource", &nsxt.DhcpServerIpPoolArgs{
    	LogicalDhcpServerId: pulumi.String("string"),
    	Description:         pulumi.String("string"),
    	DhcpGenericOptions: nsxt.DhcpServerIpPoolDhcpGenericOptionArray{
    		&nsxt.DhcpServerIpPoolDhcpGenericOptionArgs{
    			Code: pulumi.Float64(0),
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	DhcpOption121s: nsxt.DhcpServerIpPoolDhcpOption121Array{
    		&nsxt.DhcpServerIpPoolDhcpOption121Args{
    			Network: pulumi.String("string"),
    			NextHop: pulumi.String("string"),
    		},
    	},
    	DhcpServerIpPoolId: pulumi.String("string"),
    	DisplayName:        pulumi.String("string"),
    	ErrorThreshold:     pulumi.Float64(0),
    	GatewayIp:          pulumi.String("string"),
    	IpRanges: nsxt.DhcpServerIpPoolIpRangeArray{
    		&nsxt.DhcpServerIpPoolIpRangeArgs{
    			End:   pulumi.String("string"),
    			Start: pulumi.String("string"),
    		},
    	},
    	LeaseTime: pulumi.Float64(0),
    	Tags: nsxt.DhcpServerIpPoolTagArray{
    		&nsxt.DhcpServerIpPoolTagArgs{
    			Scope: pulumi.String("string"),
    			Tag:   pulumi.String("string"),
    		},
    	},
    	WarningThreshold: pulumi.Float64(0),
    })
    
    var dhcpServerIpPoolResource = new DhcpServerIpPool("dhcpServerIpPoolResource", DhcpServerIpPoolArgs.builder()
        .logicalDhcpServerId("string")
        .description("string")
        .dhcpGenericOptions(DhcpServerIpPoolDhcpGenericOptionArgs.builder()
            .code(0)
            .values("string")
            .build())
        .dhcpOption121s(DhcpServerIpPoolDhcpOption121Args.builder()
            .network("string")
            .nextHop("string")
            .build())
        .dhcpServerIpPoolId("string")
        .displayName("string")
        .errorThreshold(0)
        .gatewayIp("string")
        .ipRanges(DhcpServerIpPoolIpRangeArgs.builder()
            .end("string")
            .start("string")
            .build())
        .leaseTime(0)
        .tags(DhcpServerIpPoolTagArgs.builder()
            .scope("string")
            .tag("string")
            .build())
        .warningThreshold(0)
        .build());
    
    dhcp_server_ip_pool_resource = nsxt.DhcpServerIpPool("dhcpServerIpPoolResource",
        logical_dhcp_server_id="string",
        description="string",
        dhcp_generic_options=[{
            "code": 0,
            "values": ["string"],
        }],
        dhcp_option121s=[{
            "network": "string",
            "next_hop": "string",
        }],
        dhcp_server_ip_pool_id="string",
        display_name="string",
        error_threshold=0,
        gateway_ip="string",
        ip_ranges=[{
            "end": "string",
            "start": "string",
        }],
        lease_time=0,
        tags=[{
            "scope": "string",
            "tag": "string",
        }],
        warning_threshold=0)
    
    const dhcpServerIpPoolResource = new nsxt.DhcpServerIpPool("dhcpServerIpPoolResource", {
        logicalDhcpServerId: "string",
        description: "string",
        dhcpGenericOptions: [{
            code: 0,
            values: ["string"],
        }],
        dhcpOption121s: [{
            network: "string",
            nextHop: "string",
        }],
        dhcpServerIpPoolId: "string",
        displayName: "string",
        errorThreshold: 0,
        gatewayIp: "string",
        ipRanges: [{
            end: "string",
            start: "string",
        }],
        leaseTime: 0,
        tags: [{
            scope: "string",
            tag: "string",
        }],
        warningThreshold: 0,
    });
    
    type: nsxt:DhcpServerIpPool
    properties:
        description: string
        dhcpGenericOptions:
            - code: 0
              values:
                - string
        dhcpOption121s:
            - network: string
              nextHop: string
        dhcpServerIpPoolId: string
        displayName: string
        errorThreshold: 0
        gatewayIp: string
        ipRanges:
            - end: string
              start: string
        leaseTime: 0
        logicalDhcpServerId: string
        tags:
            - scope: string
              tag: string
        warningThreshold: 0
    

    DhcpServerIpPool 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 DhcpServerIpPool resource accepts the following input properties:

    LogicalDhcpServerId string
    DHCP server uuid. Changing this would force new pool to be created.
    Description string
    Description of this resource.
    DhcpGenericOptions List<DhcpServerIpPoolDhcpGenericOption>
    Generic DHCP options. If specified, overrides DHCP server settings.
    DhcpOption121s List<DhcpServerIpPoolDhcpOption121>
    DHCP classless static routes. If specified, overrides DHCP server settings.
    DhcpServerIpPoolId string
    ID of the DHCP server IP pool.
    DisplayName string
    The display name of this resource. Defaults to ID if not set.
    ErrorThreshold double
    Error threshold in percent. Valid values are from 80 to 100, default is 100.
    GatewayIp string
    Gateway IP.
    IpRanges List<DhcpServerIpPoolIpRange>
    IP Ranges to be used within this pool.
    LeaseTime double
    Lease time in seconds. Default is 86400.
    Tags List<DhcpServerIpPoolTag>
    A list of scope + tag pairs to associate with this logical DHCP server.
    WarningThreshold double
    Warning threshold in percent. Valid values are from 50 to 80, default is 80.
    LogicalDhcpServerId string
    DHCP server uuid. Changing this would force new pool to be created.
    Description string
    Description of this resource.
    DhcpGenericOptions []DhcpServerIpPoolDhcpGenericOptionArgs
    Generic DHCP options. If specified, overrides DHCP server settings.
    DhcpOption121s []DhcpServerIpPoolDhcpOption121Args
    DHCP classless static routes. If specified, overrides DHCP server settings.
    DhcpServerIpPoolId string
    ID of the DHCP server IP pool.
    DisplayName string
    The display name of this resource. Defaults to ID if not set.
    ErrorThreshold float64
    Error threshold in percent. Valid values are from 80 to 100, default is 100.
    GatewayIp string
    Gateway IP.
    IpRanges []DhcpServerIpPoolIpRangeArgs
    IP Ranges to be used within this pool.
    LeaseTime float64
    Lease time in seconds. Default is 86400.
    Tags []DhcpServerIpPoolTagArgs
    A list of scope + tag pairs to associate with this logical DHCP server.
    WarningThreshold float64
    Warning threshold in percent. Valid values are from 50 to 80, default is 80.
    logicalDhcpServerId String
    DHCP server uuid. Changing this would force new pool to be created.
    description String
    Description of this resource.
    dhcpGenericOptions List<DhcpServerIpPoolDhcpGenericOption>
    Generic DHCP options. If specified, overrides DHCP server settings.
    dhcpOption121s List<DhcpServerIpPoolDhcpOption121>
    DHCP classless static routes. If specified, overrides DHCP server settings.
    dhcpServerIpPoolId String
    ID of the DHCP server IP pool.
    displayName String
    The display name of this resource. Defaults to ID if not set.
    errorThreshold Double
    Error threshold in percent. Valid values are from 80 to 100, default is 100.
    gatewayIp String
    Gateway IP.
    ipRanges List<DhcpServerIpPoolIpRange>
    IP Ranges to be used within this pool.
    leaseTime Double
    Lease time in seconds. Default is 86400.
    tags List<DhcpServerIpPoolTag>
    A list of scope + tag pairs to associate with this logical DHCP server.
    warningThreshold Double
    Warning threshold in percent. Valid values are from 50 to 80, default is 80.
    logicalDhcpServerId string
    DHCP server uuid. Changing this would force new pool to be created.
    description string
    Description of this resource.
    dhcpGenericOptions DhcpServerIpPoolDhcpGenericOption[]
    Generic DHCP options. If specified, overrides DHCP server settings.
    dhcpOption121s DhcpServerIpPoolDhcpOption121[]
    DHCP classless static routes. If specified, overrides DHCP server settings.
    dhcpServerIpPoolId string
    ID of the DHCP server IP pool.
    displayName string
    The display name of this resource. Defaults to ID if not set.
    errorThreshold number
    Error threshold in percent. Valid values are from 80 to 100, default is 100.
    gatewayIp string
    Gateway IP.
    ipRanges DhcpServerIpPoolIpRange[]
    IP Ranges to be used within this pool.
    leaseTime number
    Lease time in seconds. Default is 86400.
    tags DhcpServerIpPoolTag[]
    A list of scope + tag pairs to associate with this logical DHCP server.
    warningThreshold number
    Warning threshold in percent. Valid values are from 50 to 80, default is 80.
    logical_dhcp_server_id str
    DHCP server uuid. Changing this would force new pool to be created.
    description str
    Description of this resource.
    dhcp_generic_options Sequence[DhcpServerIpPoolDhcpGenericOptionArgs]
    Generic DHCP options. If specified, overrides DHCP server settings.
    dhcp_option121s Sequence[DhcpServerIpPoolDhcpOption121Args]
    DHCP classless static routes. If specified, overrides DHCP server settings.
    dhcp_server_ip_pool_id str
    ID of the DHCP server IP pool.
    display_name str
    The display name of this resource. Defaults to ID if not set.
    error_threshold float
    Error threshold in percent. Valid values are from 80 to 100, default is 100.
    gateway_ip str
    Gateway IP.
    ip_ranges Sequence[DhcpServerIpPoolIpRangeArgs]
    IP Ranges to be used within this pool.
    lease_time float
    Lease time in seconds. Default is 86400.
    tags Sequence[DhcpServerIpPoolTagArgs]
    A list of scope + tag pairs to associate with this logical DHCP server.
    warning_threshold float
    Warning threshold in percent. Valid values are from 50 to 80, default is 80.
    logicalDhcpServerId String
    DHCP server uuid. Changing this would force new pool to be created.
    description String
    Description of this resource.
    dhcpGenericOptions List<Property Map>
    Generic DHCP options. If specified, overrides DHCP server settings.
    dhcpOption121s List<Property Map>
    DHCP classless static routes. If specified, overrides DHCP server settings.
    dhcpServerIpPoolId String
    ID of the DHCP server IP pool.
    displayName String
    The display name of this resource. Defaults to ID if not set.
    errorThreshold Number
    Error threshold in percent. Valid values are from 80 to 100, default is 100.
    gatewayIp String
    Gateway IP.
    ipRanges List<Property Map>
    IP Ranges to be used within this pool.
    leaseTime Number
    Lease time in seconds. Default is 86400.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this logical DHCP server.
    warningThreshold Number
    Warning threshold in percent. Valid values are from 50 to 80, default is 80.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    Id string
    The provider-assigned unique ID for this managed resource.
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id String
    The provider-assigned unique ID for this managed resource.
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id string
    The provider-assigned unique ID for this managed resource.
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id str
    The provider-assigned unique ID for this managed resource.
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id String
    The provider-assigned unique ID for this managed resource.
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.

    Look up Existing DhcpServerIpPool Resource

    Get an existing DhcpServerIpPool 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?: DhcpServerIpPoolState, opts?: CustomResourceOptions): DhcpServerIpPool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            dhcp_generic_options: Optional[Sequence[DhcpServerIpPoolDhcpGenericOptionArgs]] = None,
            dhcp_option121s: Optional[Sequence[DhcpServerIpPoolDhcpOption121Args]] = None,
            dhcp_server_ip_pool_id: Optional[str] = None,
            display_name: Optional[str] = None,
            error_threshold: Optional[float] = None,
            gateway_ip: Optional[str] = None,
            ip_ranges: Optional[Sequence[DhcpServerIpPoolIpRangeArgs]] = None,
            lease_time: Optional[float] = None,
            logical_dhcp_server_id: Optional[str] = None,
            revision: Optional[float] = None,
            tags: Optional[Sequence[DhcpServerIpPoolTagArgs]] = None,
            warning_threshold: Optional[float] = None) -> DhcpServerIpPool
    func GetDhcpServerIpPool(ctx *Context, name string, id IDInput, state *DhcpServerIpPoolState, opts ...ResourceOption) (*DhcpServerIpPool, error)
    public static DhcpServerIpPool Get(string name, Input<string> id, DhcpServerIpPoolState? state, CustomResourceOptions? opts = null)
    public static DhcpServerIpPool get(String name, Output<String> id, DhcpServerIpPoolState state, CustomResourceOptions options)
    resources:  _:    type: nsxt:DhcpServerIpPool    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:
    Description string
    Description of this resource.
    DhcpGenericOptions List<DhcpServerIpPoolDhcpGenericOption>
    Generic DHCP options. If specified, overrides DHCP server settings.
    DhcpOption121s List<DhcpServerIpPoolDhcpOption121>
    DHCP classless static routes. If specified, overrides DHCP server settings.
    DhcpServerIpPoolId string
    ID of the DHCP server IP pool.
    DisplayName string
    The display name of this resource. Defaults to ID if not set.
    ErrorThreshold double
    Error threshold in percent. Valid values are from 80 to 100, default is 100.
    GatewayIp string
    Gateway IP.
    IpRanges List<DhcpServerIpPoolIpRange>
    IP Ranges to be used within this pool.
    LeaseTime double
    Lease time in seconds. Default is 86400.
    LogicalDhcpServerId string
    DHCP server uuid. Changing this would force new pool to be created.
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    Tags List<DhcpServerIpPoolTag>
    A list of scope + tag pairs to associate with this logical DHCP server.
    WarningThreshold double
    Warning threshold in percent. Valid values are from 50 to 80, default is 80.
    Description string
    Description of this resource.
    DhcpGenericOptions []DhcpServerIpPoolDhcpGenericOptionArgs
    Generic DHCP options. If specified, overrides DHCP server settings.
    DhcpOption121s []DhcpServerIpPoolDhcpOption121Args
    DHCP classless static routes. If specified, overrides DHCP server settings.
    DhcpServerIpPoolId string
    ID of the DHCP server IP pool.
    DisplayName string
    The display name of this resource. Defaults to ID if not set.
    ErrorThreshold float64
    Error threshold in percent. Valid values are from 80 to 100, default is 100.
    GatewayIp string
    Gateway IP.
    IpRanges []DhcpServerIpPoolIpRangeArgs
    IP Ranges to be used within this pool.
    LeaseTime float64
    Lease time in seconds. Default is 86400.
    LogicalDhcpServerId string
    DHCP server uuid. Changing this would force new pool to be created.
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    Tags []DhcpServerIpPoolTagArgs
    A list of scope + tag pairs to associate with this logical DHCP server.
    WarningThreshold float64
    Warning threshold in percent. Valid values are from 50 to 80, default is 80.
    description String
    Description of this resource.
    dhcpGenericOptions List<DhcpServerIpPoolDhcpGenericOption>
    Generic DHCP options. If specified, overrides DHCP server settings.
    dhcpOption121s List<DhcpServerIpPoolDhcpOption121>
    DHCP classless static routes. If specified, overrides DHCP server settings.
    dhcpServerIpPoolId String
    ID of the DHCP server IP pool.
    displayName String
    The display name of this resource. Defaults to ID if not set.
    errorThreshold Double
    Error threshold in percent. Valid values are from 80 to 100, default is 100.
    gatewayIp String
    Gateway IP.
    ipRanges List<DhcpServerIpPoolIpRange>
    IP Ranges to be used within this pool.
    leaseTime Double
    Lease time in seconds. Default is 86400.
    logicalDhcpServerId String
    DHCP server uuid. Changing this would force new pool to be created.
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    tags List<DhcpServerIpPoolTag>
    A list of scope + tag pairs to associate with this logical DHCP server.
    warningThreshold Double
    Warning threshold in percent. Valid values are from 50 to 80, default is 80.
    description string
    Description of this resource.
    dhcpGenericOptions DhcpServerIpPoolDhcpGenericOption[]
    Generic DHCP options. If specified, overrides DHCP server settings.
    dhcpOption121s DhcpServerIpPoolDhcpOption121[]
    DHCP classless static routes. If specified, overrides DHCP server settings.
    dhcpServerIpPoolId string
    ID of the DHCP server IP pool.
    displayName string
    The display name of this resource. Defaults to ID if not set.
    errorThreshold number
    Error threshold in percent. Valid values are from 80 to 100, default is 100.
    gatewayIp string
    Gateway IP.
    ipRanges DhcpServerIpPoolIpRange[]
    IP Ranges to be used within this pool.
    leaseTime number
    Lease time in seconds. Default is 86400.
    logicalDhcpServerId string
    DHCP server uuid. Changing this would force new pool to be created.
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    tags DhcpServerIpPoolTag[]
    A list of scope + tag pairs to associate with this logical DHCP server.
    warningThreshold number
    Warning threshold in percent. Valid values are from 50 to 80, default is 80.
    description str
    Description of this resource.
    dhcp_generic_options Sequence[DhcpServerIpPoolDhcpGenericOptionArgs]
    Generic DHCP options. If specified, overrides DHCP server settings.
    dhcp_option121s Sequence[DhcpServerIpPoolDhcpOption121Args]
    DHCP classless static routes. If specified, overrides DHCP server settings.
    dhcp_server_ip_pool_id str
    ID of the DHCP server IP pool.
    display_name str
    The display name of this resource. Defaults to ID if not set.
    error_threshold float
    Error threshold in percent. Valid values are from 80 to 100, default is 100.
    gateway_ip str
    Gateway IP.
    ip_ranges Sequence[DhcpServerIpPoolIpRangeArgs]
    IP Ranges to be used within this pool.
    lease_time float
    Lease time in seconds. Default is 86400.
    logical_dhcp_server_id str
    DHCP server uuid. Changing this would force new pool to be created.
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    tags Sequence[DhcpServerIpPoolTagArgs]
    A list of scope + tag pairs to associate with this logical DHCP server.
    warning_threshold float
    Warning threshold in percent. Valid values are from 50 to 80, default is 80.
    description String
    Description of this resource.
    dhcpGenericOptions List<Property Map>
    Generic DHCP options. If specified, overrides DHCP server settings.
    dhcpOption121s List<Property Map>
    DHCP classless static routes. If specified, overrides DHCP server settings.
    dhcpServerIpPoolId String
    ID of the DHCP server IP pool.
    displayName String
    The display name of this resource. Defaults to ID if not set.
    errorThreshold Number
    Error threshold in percent. Valid values are from 80 to 100, default is 100.
    gatewayIp String
    Gateway IP.
    ipRanges List<Property Map>
    IP Ranges to be used within this pool.
    leaseTime Number
    Lease time in seconds. Default is 86400.
    logicalDhcpServerId String
    DHCP server uuid. Changing this would force new pool to be created.
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this logical DHCP server.
    warningThreshold Number
    Warning threshold in percent. Valid values are from 50 to 80, default is 80.

    Supporting Types

    DhcpServerIpPoolDhcpGenericOption, DhcpServerIpPoolDhcpGenericOptionArgs

    Code double
    DHCP option code. Valid values are from 0 to 255.
    Values List<string>
    List of DHCP option values.
    Code float64
    DHCP option code. Valid values are from 0 to 255.
    Values []string
    List of DHCP option values.
    code Double
    DHCP option code. Valid values are from 0 to 255.
    values List<String>
    List of DHCP option values.
    code number
    DHCP option code. Valid values are from 0 to 255.
    values string[]
    List of DHCP option values.
    code float
    DHCP option code. Valid values are from 0 to 255.
    values Sequence[str]
    List of DHCP option values.
    code Number
    DHCP option code. Valid values are from 0 to 255.
    values List<String>
    List of DHCP option values.

    DhcpServerIpPoolDhcpOption121, DhcpServerIpPoolDhcpOption121Args

    Network string
    Destination in cidr format.
    NextHop string
    IP address of next hop.
    Network string
    Destination in cidr format.
    NextHop string
    IP address of next hop.
    network String
    Destination in cidr format.
    nextHop String
    IP address of next hop.
    network string
    Destination in cidr format.
    nextHop string
    IP address of next hop.
    network str
    Destination in cidr format.
    next_hop str
    IP address of next hop.
    network String
    Destination in cidr format.
    nextHop String
    IP address of next hop.

    DhcpServerIpPoolIpRange, DhcpServerIpPoolIpRangeArgs

    End string
    IP address that indicates range end.
    Start string
    IP address that indicates range start.
    End string
    IP address that indicates range end.
    Start string
    IP address that indicates range start.
    end String
    IP address that indicates range end.
    start String
    IP address that indicates range start.
    end string
    IP address that indicates range end.
    start string
    IP address that indicates range start.
    end str
    IP address that indicates range end.
    start str
    IP address that indicates range start.
    end String
    IP address that indicates range end.
    start String
    IP address that indicates range start.

    DhcpServerIpPoolTag, DhcpServerIpPoolTagArgs

    Scope string
    Tag string
    A list of scope + tag pairs to associate with this logical DHCP server.
    Scope string
    Tag string
    A list of scope + tag pairs to associate with this logical DHCP server.
    scope String
    tag String
    A list of scope + tag pairs to associate with this logical DHCP server.
    scope string
    tag string
    A list of scope + tag pairs to associate with this logical DHCP server.
    scope str
    tag str
    A list of scope + tag pairs to associate with this logical DHCP server.
    scope String
    tag String
    A list of scope + tag pairs to associate with this logical DHCP server.

    Package Details

    Repository
    nsxt vmware/terraform-provider-nsxt
    License
    Notes
    This Pulumi package is based on the nsxt Terraform Provider.
    nsxt logo
    nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware