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

nsxt.PolicyDhcpV4StaticBinding

Explore with Pulumi AI

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

    Create PolicyDhcpV4StaticBinding Resource

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

    Constructor syntax

    new PolicyDhcpV4StaticBinding(name: string, args: PolicyDhcpV4StaticBindingArgs, opts?: CustomResourceOptions);
    @overload
    def PolicyDhcpV4StaticBinding(resource_name: str,
                                  args: PolicyDhcpV4StaticBindingArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def PolicyDhcpV4StaticBinding(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  display_name: Optional[str] = None,
                                  segment_path: Optional[str] = None,
                                  mac_address: Optional[str] = None,
                                  ip_address: Optional[str] = None,
                                  dhcp_option121s: Optional[Sequence[PolicyDhcpV4StaticBindingDhcpOption121Args]] = None,
                                  gateway_address: Optional[str] = None,
                                  hostname: Optional[str] = None,
                                  context: Optional[PolicyDhcpV4StaticBindingContextArgs] = None,
                                  lease_time: Optional[float] = None,
                                  dhcp_generic_options: Optional[Sequence[PolicyDhcpV4StaticBindingDhcpGenericOptionArgs]] = None,
                                  nsx_id: Optional[str] = None,
                                  policy_dhcp_v4_static_binding_id: Optional[str] = None,
                                  description: Optional[str] = None,
                                  tags: Optional[Sequence[PolicyDhcpV4StaticBindingTagArgs]] = None)
    func NewPolicyDhcpV4StaticBinding(ctx *Context, name string, args PolicyDhcpV4StaticBindingArgs, opts ...ResourceOption) (*PolicyDhcpV4StaticBinding, error)
    public PolicyDhcpV4StaticBinding(string name, PolicyDhcpV4StaticBindingArgs args, CustomResourceOptions? opts = null)
    public PolicyDhcpV4StaticBinding(String name, PolicyDhcpV4StaticBindingArgs args)
    public PolicyDhcpV4StaticBinding(String name, PolicyDhcpV4StaticBindingArgs args, CustomResourceOptions options)
    
    type: nsxt:PolicyDhcpV4StaticBinding
    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 PolicyDhcpV4StaticBindingArgs
    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 PolicyDhcpV4StaticBindingArgs
    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 PolicyDhcpV4StaticBindingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicyDhcpV4StaticBindingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicyDhcpV4StaticBindingArgs
    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 policyDhcpV4StaticBindingResource = new Nsxt.PolicyDhcpV4StaticBinding("policyDhcpV4StaticBindingResource", new()
    {
        DisplayName = "string",
        SegmentPath = "string",
        MacAddress = "string",
        IpAddress = "string",
        DhcpOption121s = new[]
        {
            new Nsxt.Inputs.PolicyDhcpV4StaticBindingDhcpOption121Args
            {
                Network = "string",
                NextHop = "string",
            },
        },
        GatewayAddress = "string",
        Hostname = "string",
        Context = new Nsxt.Inputs.PolicyDhcpV4StaticBindingContextArgs
        {
            ProjectId = "string",
        },
        LeaseTime = 0,
        DhcpGenericOptions = new[]
        {
            new Nsxt.Inputs.PolicyDhcpV4StaticBindingDhcpGenericOptionArgs
            {
                Code = 0,
                Values = new[]
                {
                    "string",
                },
            },
        },
        NsxId = "string",
        PolicyDhcpV4StaticBindingId = "string",
        Description = "string",
        Tags = new[]
        {
            new Nsxt.Inputs.PolicyDhcpV4StaticBindingTagArgs
            {
                Scope = "string",
                Tag = "string",
            },
        },
    });
    
    example, err := nsxt.NewPolicyDhcpV4StaticBinding(ctx, "policyDhcpV4StaticBindingResource", &nsxt.PolicyDhcpV4StaticBindingArgs{
    	DisplayName: pulumi.String("string"),
    	SegmentPath: pulumi.String("string"),
    	MacAddress:  pulumi.String("string"),
    	IpAddress:   pulumi.String("string"),
    	DhcpOption121s: nsxt.PolicyDhcpV4StaticBindingDhcpOption121Array{
    		&nsxt.PolicyDhcpV4StaticBindingDhcpOption121Args{
    			Network: pulumi.String("string"),
    			NextHop: pulumi.String("string"),
    		},
    	},
    	GatewayAddress: pulumi.String("string"),
    	Hostname:       pulumi.String("string"),
    	Context: &nsxt.PolicyDhcpV4StaticBindingContextArgs{
    		ProjectId: pulumi.String("string"),
    	},
    	LeaseTime: pulumi.Float64(0),
    	DhcpGenericOptions: nsxt.PolicyDhcpV4StaticBindingDhcpGenericOptionArray{
    		&nsxt.PolicyDhcpV4StaticBindingDhcpGenericOptionArgs{
    			Code: pulumi.Float64(0),
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	NsxId:                       pulumi.String("string"),
    	PolicyDhcpV4StaticBindingId: pulumi.String("string"),
    	Description:                 pulumi.String("string"),
    	Tags: nsxt.PolicyDhcpV4StaticBindingTagArray{
    		&nsxt.PolicyDhcpV4StaticBindingTagArgs{
    			Scope: pulumi.String("string"),
    			Tag:   pulumi.String("string"),
    		},
    	},
    })
    
    var policyDhcpV4StaticBindingResource = new PolicyDhcpV4StaticBinding("policyDhcpV4StaticBindingResource", PolicyDhcpV4StaticBindingArgs.builder()
        .displayName("string")
        .segmentPath("string")
        .macAddress("string")
        .ipAddress("string")
        .dhcpOption121s(PolicyDhcpV4StaticBindingDhcpOption121Args.builder()
            .network("string")
            .nextHop("string")
            .build())
        .gatewayAddress("string")
        .hostname("string")
        .context(PolicyDhcpV4StaticBindingContextArgs.builder()
            .projectId("string")
            .build())
        .leaseTime(0)
        .dhcpGenericOptions(PolicyDhcpV4StaticBindingDhcpGenericOptionArgs.builder()
            .code(0)
            .values("string")
            .build())
        .nsxId("string")
        .policyDhcpV4StaticBindingId("string")
        .description("string")
        .tags(PolicyDhcpV4StaticBindingTagArgs.builder()
            .scope("string")
            .tag("string")
            .build())
        .build());
    
    policy_dhcp_v4_static_binding_resource = nsxt.PolicyDhcpV4StaticBinding("policyDhcpV4StaticBindingResource",
        display_name="string",
        segment_path="string",
        mac_address="string",
        ip_address="string",
        dhcp_option121s=[{
            "network": "string",
            "next_hop": "string",
        }],
        gateway_address="string",
        hostname="string",
        context={
            "project_id": "string",
        },
        lease_time=0,
        dhcp_generic_options=[{
            "code": 0,
            "values": ["string"],
        }],
        nsx_id="string",
        policy_dhcp_v4_static_binding_id="string",
        description="string",
        tags=[{
            "scope": "string",
            "tag": "string",
        }])
    
    const policyDhcpV4StaticBindingResource = new nsxt.PolicyDhcpV4StaticBinding("policyDhcpV4StaticBindingResource", {
        displayName: "string",
        segmentPath: "string",
        macAddress: "string",
        ipAddress: "string",
        dhcpOption121s: [{
            network: "string",
            nextHop: "string",
        }],
        gatewayAddress: "string",
        hostname: "string",
        context: {
            projectId: "string",
        },
        leaseTime: 0,
        dhcpGenericOptions: [{
            code: 0,
            values: ["string"],
        }],
        nsxId: "string",
        policyDhcpV4StaticBindingId: "string",
        description: "string",
        tags: [{
            scope: "string",
            tag: "string",
        }],
    });
    
    type: nsxt:PolicyDhcpV4StaticBinding
    properties:
        context:
            projectId: string
        description: string
        dhcpGenericOptions:
            - code: 0
              values:
                - string
        dhcpOption121s:
            - network: string
              nextHop: string
        displayName: string
        gatewayAddress: string
        hostname: string
        ipAddress: string
        leaseTime: 0
        macAddress: string
        nsxId: string
        policyDhcpV4StaticBindingId: string
        segmentPath: string
        tags:
            - scope: string
              tag: string
    

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

    DisplayName string
    Display name of the resource.
    IpAddress string
    The IPv4 address must belong to the subnet, if any, configured on Segment.
    MacAddress string
    MAC address of the host.
    SegmentPath string
    Policy path for segment to configure this binding on.
    Context PolicyDhcpV4StaticBindingContext
    The context which the object belongs to
    Description string
    Description of the resource.
    DhcpGenericOptions List<PolicyDhcpV4StaticBindingDhcpGenericOption>
    Generic DHCP options.
    DhcpOption121s List<PolicyDhcpV4StaticBindingDhcpOption121>
    DHCP classless static routes.
    GatewayAddress string
    Gateway IPv4 Address. When not specified, gateway address is auto-assigned from segment configuration.
    Hostname string
    Hostname to assign to the host.
    LeaseTime double
    Lease time, in seconds. Defaults to 86400.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    PolicyDhcpV4StaticBindingId string
    ID of the resource.
    Tags List<PolicyDhcpV4StaticBindingTag>
    A list of scope + tag pairs to associate with this resource.
    DisplayName string
    Display name of the resource.
    IpAddress string
    The IPv4 address must belong to the subnet, if any, configured on Segment.
    MacAddress string
    MAC address of the host.
    SegmentPath string
    Policy path for segment to configure this binding on.
    Context PolicyDhcpV4StaticBindingContextArgs
    The context which the object belongs to
    Description string
    Description of the resource.
    DhcpGenericOptions []PolicyDhcpV4StaticBindingDhcpGenericOptionArgs
    Generic DHCP options.
    DhcpOption121s []PolicyDhcpV4StaticBindingDhcpOption121Args
    DHCP classless static routes.
    GatewayAddress string
    Gateway IPv4 Address. When not specified, gateway address is auto-assigned from segment configuration.
    Hostname string
    Hostname to assign to the host.
    LeaseTime float64
    Lease time, in seconds. Defaults to 86400.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    PolicyDhcpV4StaticBindingId string
    ID of the resource.
    Tags []PolicyDhcpV4StaticBindingTagArgs
    A list of scope + tag pairs to associate with this resource.
    displayName String
    Display name of the resource.
    ipAddress String
    The IPv4 address must belong to the subnet, if any, configured on Segment.
    macAddress String
    MAC address of the host.
    segmentPath String
    Policy path for segment to configure this binding on.
    context PolicyDhcpV4StaticBindingContext
    The context which the object belongs to
    description String
    Description of the resource.
    dhcpGenericOptions List<PolicyDhcpV4StaticBindingDhcpGenericOption>
    Generic DHCP options.
    dhcpOption121s List<PolicyDhcpV4StaticBindingDhcpOption121>
    DHCP classless static routes.
    gatewayAddress String
    Gateway IPv4 Address. When not specified, gateway address is auto-assigned from segment configuration.
    hostname String
    Hostname to assign to the host.
    leaseTime Double
    Lease time, in seconds. Defaults to 86400.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyDhcpV4StaticBindingId String
    ID of the resource.
    tags List<PolicyDhcpV4StaticBindingTag>
    A list of scope + tag pairs to associate with this resource.
    displayName string
    Display name of the resource.
    ipAddress string
    The IPv4 address must belong to the subnet, if any, configured on Segment.
    macAddress string
    MAC address of the host.
    segmentPath string
    Policy path for segment to configure this binding on.
    context PolicyDhcpV4StaticBindingContext
    The context which the object belongs to
    description string
    Description of the resource.
    dhcpGenericOptions PolicyDhcpV4StaticBindingDhcpGenericOption[]
    Generic DHCP options.
    dhcpOption121s PolicyDhcpV4StaticBindingDhcpOption121[]
    DHCP classless static routes.
    gatewayAddress string
    Gateway IPv4 Address. When not specified, gateway address is auto-assigned from segment configuration.
    hostname string
    Hostname to assign to the host.
    leaseTime number
    Lease time, in seconds. Defaults to 86400.
    nsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyDhcpV4StaticBindingId string
    ID of the resource.
    tags PolicyDhcpV4StaticBindingTag[]
    A list of scope + tag pairs to associate with this resource.
    display_name str
    Display name of the resource.
    ip_address str
    The IPv4 address must belong to the subnet, if any, configured on Segment.
    mac_address str
    MAC address of the host.
    segment_path str
    Policy path for segment to configure this binding on.
    context PolicyDhcpV4StaticBindingContextArgs
    The context which the object belongs to
    description str
    Description of the resource.
    dhcp_generic_options Sequence[PolicyDhcpV4StaticBindingDhcpGenericOptionArgs]
    Generic DHCP options.
    dhcp_option121s Sequence[PolicyDhcpV4StaticBindingDhcpOption121Args]
    DHCP classless static routes.
    gateway_address str
    Gateway IPv4 Address. When not specified, gateway address is auto-assigned from segment configuration.
    hostname str
    Hostname to assign to the host.
    lease_time float
    Lease time, in seconds. Defaults to 86400.
    nsx_id str
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policy_dhcp_v4_static_binding_id str
    ID of the resource.
    tags Sequence[PolicyDhcpV4StaticBindingTagArgs]
    A list of scope + tag pairs to associate with this resource.
    displayName String
    Display name of the resource.
    ipAddress String
    The IPv4 address must belong to the subnet, if any, configured on Segment.
    macAddress String
    MAC address of the host.
    segmentPath String
    Policy path for segment to configure this binding on.
    context Property Map
    The context which the object belongs to
    description String
    Description of the resource.
    dhcpGenericOptions List<Property Map>
    Generic DHCP options.
    dhcpOption121s List<Property Map>
    DHCP classless static routes.
    gatewayAddress String
    Gateway IPv4 Address. When not specified, gateway address is auto-assigned from segment configuration.
    hostname String
    Hostname to assign to the host.
    leaseTime Number
    Lease time, in seconds. Defaults to 86400.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyDhcpV4StaticBindingId String
    ID of the resource.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Path string
    The NSX path of the policy 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.
    Path string
    The NSX path of the policy 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.
    path String
    The NSX path of the policy 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.
    path string
    The NSX path of the policy 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.
    path str
    The NSX path of the policy 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.
    path String
    The NSX path of the policy 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 PolicyDhcpV4StaticBinding Resource

    Get an existing PolicyDhcpV4StaticBinding 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?: PolicyDhcpV4StaticBindingState, opts?: CustomResourceOptions): PolicyDhcpV4StaticBinding
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            context: Optional[PolicyDhcpV4StaticBindingContextArgs] = None,
            description: Optional[str] = None,
            dhcp_generic_options: Optional[Sequence[PolicyDhcpV4StaticBindingDhcpGenericOptionArgs]] = None,
            dhcp_option121s: Optional[Sequence[PolicyDhcpV4StaticBindingDhcpOption121Args]] = None,
            display_name: Optional[str] = None,
            gateway_address: Optional[str] = None,
            hostname: Optional[str] = None,
            ip_address: Optional[str] = None,
            lease_time: Optional[float] = None,
            mac_address: Optional[str] = None,
            nsx_id: Optional[str] = None,
            path: Optional[str] = None,
            policy_dhcp_v4_static_binding_id: Optional[str] = None,
            revision: Optional[float] = None,
            segment_path: Optional[str] = None,
            tags: Optional[Sequence[PolicyDhcpV4StaticBindingTagArgs]] = None) -> PolicyDhcpV4StaticBinding
    func GetPolicyDhcpV4StaticBinding(ctx *Context, name string, id IDInput, state *PolicyDhcpV4StaticBindingState, opts ...ResourceOption) (*PolicyDhcpV4StaticBinding, error)
    public static PolicyDhcpV4StaticBinding Get(string name, Input<string> id, PolicyDhcpV4StaticBindingState? state, CustomResourceOptions? opts = null)
    public static PolicyDhcpV4StaticBinding get(String name, Output<String> id, PolicyDhcpV4StaticBindingState state, CustomResourceOptions options)
    resources:  _:    type: nsxt:PolicyDhcpV4StaticBinding    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:
    Context PolicyDhcpV4StaticBindingContext
    The context which the object belongs to
    Description string
    Description of the resource.
    DhcpGenericOptions List<PolicyDhcpV4StaticBindingDhcpGenericOption>
    Generic DHCP options.
    DhcpOption121s List<PolicyDhcpV4StaticBindingDhcpOption121>
    DHCP classless static routes.
    DisplayName string
    Display name of the resource.
    GatewayAddress string
    Gateway IPv4 Address. When not specified, gateway address is auto-assigned from segment configuration.
    Hostname string
    Hostname to assign to the host.
    IpAddress string
    The IPv4 address must belong to the subnet, if any, configured on Segment.
    LeaseTime double
    Lease time, in seconds. Defaults to 86400.
    MacAddress string
    MAC address of the host.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    Path string
    The NSX path of the policy resource.
    PolicyDhcpV4StaticBindingId string
    ID of the resource.
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    SegmentPath string
    Policy path for segment to configure this binding on.
    Tags List<PolicyDhcpV4StaticBindingTag>
    A list of scope + tag pairs to associate with this resource.
    Context PolicyDhcpV4StaticBindingContextArgs
    The context which the object belongs to
    Description string
    Description of the resource.
    DhcpGenericOptions []PolicyDhcpV4StaticBindingDhcpGenericOptionArgs
    Generic DHCP options.
    DhcpOption121s []PolicyDhcpV4StaticBindingDhcpOption121Args
    DHCP classless static routes.
    DisplayName string
    Display name of the resource.
    GatewayAddress string
    Gateway IPv4 Address. When not specified, gateway address is auto-assigned from segment configuration.
    Hostname string
    Hostname to assign to the host.
    IpAddress string
    The IPv4 address must belong to the subnet, if any, configured on Segment.
    LeaseTime float64
    Lease time, in seconds. Defaults to 86400.
    MacAddress string
    MAC address of the host.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    Path string
    The NSX path of the policy resource.
    PolicyDhcpV4StaticBindingId string
    ID of the resource.
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    SegmentPath string
    Policy path for segment to configure this binding on.
    Tags []PolicyDhcpV4StaticBindingTagArgs
    A list of scope + tag pairs to associate with this resource.
    context PolicyDhcpV4StaticBindingContext
    The context which the object belongs to
    description String
    Description of the resource.
    dhcpGenericOptions List<PolicyDhcpV4StaticBindingDhcpGenericOption>
    Generic DHCP options.
    dhcpOption121s List<PolicyDhcpV4StaticBindingDhcpOption121>
    DHCP classless static routes.
    displayName String
    Display name of the resource.
    gatewayAddress String
    Gateway IPv4 Address. When not specified, gateway address is auto-assigned from segment configuration.
    hostname String
    Hostname to assign to the host.
    ipAddress String
    The IPv4 address must belong to the subnet, if any, configured on Segment.
    leaseTime Double
    Lease time, in seconds. Defaults to 86400.
    macAddress String
    MAC address of the host.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    path String
    The NSX path of the policy resource.
    policyDhcpV4StaticBindingId String
    ID of the resource.
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    segmentPath String
    Policy path for segment to configure this binding on.
    tags List<PolicyDhcpV4StaticBindingTag>
    A list of scope + tag pairs to associate with this resource.
    context PolicyDhcpV4StaticBindingContext
    The context which the object belongs to
    description string
    Description of the resource.
    dhcpGenericOptions PolicyDhcpV4StaticBindingDhcpGenericOption[]
    Generic DHCP options.
    dhcpOption121s PolicyDhcpV4StaticBindingDhcpOption121[]
    DHCP classless static routes.
    displayName string
    Display name of the resource.
    gatewayAddress string
    Gateway IPv4 Address. When not specified, gateway address is auto-assigned from segment configuration.
    hostname string
    Hostname to assign to the host.
    ipAddress string
    The IPv4 address must belong to the subnet, if any, configured on Segment.
    leaseTime number
    Lease time, in seconds. Defaults to 86400.
    macAddress string
    MAC address of the host.
    nsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    path string
    The NSX path of the policy resource.
    policyDhcpV4StaticBindingId string
    ID of the resource.
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    segmentPath string
    Policy path for segment to configure this binding on.
    tags PolicyDhcpV4StaticBindingTag[]
    A list of scope + tag pairs to associate with this resource.
    context PolicyDhcpV4StaticBindingContextArgs
    The context which the object belongs to
    description str
    Description of the resource.
    dhcp_generic_options Sequence[PolicyDhcpV4StaticBindingDhcpGenericOptionArgs]
    Generic DHCP options.
    dhcp_option121s Sequence[PolicyDhcpV4StaticBindingDhcpOption121Args]
    DHCP classless static routes.
    display_name str
    Display name of the resource.
    gateway_address str
    Gateway IPv4 Address. When not specified, gateway address is auto-assigned from segment configuration.
    hostname str
    Hostname to assign to the host.
    ip_address str
    The IPv4 address must belong to the subnet, if any, configured on Segment.
    lease_time float
    Lease time, in seconds. Defaults to 86400.
    mac_address str
    MAC address of the host.
    nsx_id str
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    path str
    The NSX path of the policy resource.
    policy_dhcp_v4_static_binding_id str
    ID of the resource.
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    segment_path str
    Policy path for segment to configure this binding on.
    tags Sequence[PolicyDhcpV4StaticBindingTagArgs]
    A list of scope + tag pairs to associate with this resource.
    context Property Map
    The context which the object belongs to
    description String
    Description of the resource.
    dhcpGenericOptions List<Property Map>
    Generic DHCP options.
    dhcpOption121s List<Property Map>
    DHCP classless static routes.
    displayName String
    Display name of the resource.
    gatewayAddress String
    Gateway IPv4 Address. When not specified, gateway address is auto-assigned from segment configuration.
    hostname String
    Hostname to assign to the host.
    ipAddress String
    The IPv4 address must belong to the subnet, if any, configured on Segment.
    leaseTime Number
    Lease time, in seconds. Defaults to 86400.
    macAddress String
    MAC address of the host.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    path String
    The NSX path of the policy resource.
    policyDhcpV4StaticBindingId String
    ID of the resource.
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    segmentPath String
    Policy path for segment to configure this binding on.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this resource.

    Supporting Types

    PolicyDhcpV4StaticBindingContext, PolicyDhcpV4StaticBindingContextArgs

    ProjectId string
    The ID of the project which the object belongs to
    ProjectId string
    The ID of the project which the object belongs to
    projectId String
    The ID of the project which the object belongs to
    projectId string
    The ID of the project which the object belongs to
    project_id str
    The ID of the project which the object belongs to
    projectId String
    The ID of the project which the object belongs to

    PolicyDhcpV4StaticBindingDhcpGenericOption, PolicyDhcpV4StaticBindingDhcpGenericOptionArgs

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

    PolicyDhcpV4StaticBindingDhcpOption121, PolicyDhcpV4StaticBindingDhcpOption121Args

    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.

    PolicyDhcpV4StaticBindingTag, PolicyDhcpV4StaticBindingTagArgs

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

    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