nsxt.PolicyDhcpV6StaticBinding
Explore with Pulumi AI
Create PolicyDhcpV6StaticBinding Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyDhcpV6StaticBinding(name: string, args: PolicyDhcpV6StaticBindingArgs, opts?: CustomResourceOptions);
@overload
def PolicyDhcpV6StaticBinding(resource_name: str,
args: PolicyDhcpV6StaticBindingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyDhcpV6StaticBinding(resource_name: str,
opts: Optional[ResourceOptions] = None,
mac_address: Optional[str] = None,
segment_path: Optional[str] = None,
display_name: Optional[str] = None,
lease_time: Optional[float] = None,
domain_names: Optional[Sequence[str]] = None,
ip_addresses: Optional[Sequence[str]] = None,
context: Optional[PolicyDhcpV6StaticBindingContextArgs] = None,
dns_nameservers: Optional[Sequence[str]] = None,
nsx_id: Optional[str] = None,
policy_dhcp_v6_static_binding_id: Optional[str] = None,
preferred_time: Optional[float] = None,
description: Optional[str] = None,
sntp_servers: Optional[Sequence[str]] = None,
tags: Optional[Sequence[PolicyDhcpV6StaticBindingTagArgs]] = None)
func NewPolicyDhcpV6StaticBinding(ctx *Context, name string, args PolicyDhcpV6StaticBindingArgs, opts ...ResourceOption) (*PolicyDhcpV6StaticBinding, error)
public PolicyDhcpV6StaticBinding(string name, PolicyDhcpV6StaticBindingArgs args, CustomResourceOptions? opts = null)
public PolicyDhcpV6StaticBinding(String name, PolicyDhcpV6StaticBindingArgs args)
public PolicyDhcpV6StaticBinding(String name, PolicyDhcpV6StaticBindingArgs args, CustomResourceOptions options)
type: nsxt:PolicyDhcpV6StaticBinding
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 PolicyDhcpV6StaticBindingArgs
- 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 PolicyDhcpV6StaticBindingArgs
- 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 PolicyDhcpV6StaticBindingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyDhcpV6StaticBindingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyDhcpV6StaticBindingArgs
- 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 policyDhcpV6StaticBindingResource = new Nsxt.PolicyDhcpV6StaticBinding("policyDhcpV6StaticBindingResource", new()
{
MacAddress = "string",
SegmentPath = "string",
DisplayName = "string",
LeaseTime = 0,
DomainNames = new[]
{
"string",
},
IpAddresses = new[]
{
"string",
},
Context = new Nsxt.Inputs.PolicyDhcpV6StaticBindingContextArgs
{
ProjectId = "string",
},
DnsNameservers = new[]
{
"string",
},
NsxId = "string",
PolicyDhcpV6StaticBindingId = "string",
PreferredTime = 0,
Description = "string",
SntpServers = new[]
{
"string",
},
Tags = new[]
{
new Nsxt.Inputs.PolicyDhcpV6StaticBindingTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewPolicyDhcpV6StaticBinding(ctx, "policyDhcpV6StaticBindingResource", &nsxt.PolicyDhcpV6StaticBindingArgs{
MacAddress: pulumi.String("string"),
SegmentPath: pulumi.String("string"),
DisplayName: pulumi.String("string"),
LeaseTime: pulumi.Float64(0),
DomainNames: pulumi.StringArray{
pulumi.String("string"),
},
IpAddresses: pulumi.StringArray{
pulumi.String("string"),
},
Context: &nsxt.PolicyDhcpV6StaticBindingContextArgs{
ProjectId: pulumi.String("string"),
},
DnsNameservers: pulumi.StringArray{
pulumi.String("string"),
},
NsxId: pulumi.String("string"),
PolicyDhcpV6StaticBindingId: pulumi.String("string"),
PreferredTime: pulumi.Float64(0),
Description: pulumi.String("string"),
SntpServers: pulumi.StringArray{
pulumi.String("string"),
},
Tags: nsxt.PolicyDhcpV6StaticBindingTagArray{
&nsxt.PolicyDhcpV6StaticBindingTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var policyDhcpV6StaticBindingResource = new PolicyDhcpV6StaticBinding("policyDhcpV6StaticBindingResource", PolicyDhcpV6StaticBindingArgs.builder()
.macAddress("string")
.segmentPath("string")
.displayName("string")
.leaseTime(0)
.domainNames("string")
.ipAddresses("string")
.context(PolicyDhcpV6StaticBindingContextArgs.builder()
.projectId("string")
.build())
.dnsNameservers("string")
.nsxId("string")
.policyDhcpV6StaticBindingId("string")
.preferredTime(0)
.description("string")
.sntpServers("string")
.tags(PolicyDhcpV6StaticBindingTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
policy_dhcp_v6_static_binding_resource = nsxt.PolicyDhcpV6StaticBinding("policyDhcpV6StaticBindingResource",
mac_address="string",
segment_path="string",
display_name="string",
lease_time=0,
domain_names=["string"],
ip_addresses=["string"],
context={
"project_id": "string",
},
dns_nameservers=["string"],
nsx_id="string",
policy_dhcp_v6_static_binding_id="string",
preferred_time=0,
description="string",
sntp_servers=["string"],
tags=[{
"scope": "string",
"tag": "string",
}])
const policyDhcpV6StaticBindingResource = new nsxt.PolicyDhcpV6StaticBinding("policyDhcpV6StaticBindingResource", {
macAddress: "string",
segmentPath: "string",
displayName: "string",
leaseTime: 0,
domainNames: ["string"],
ipAddresses: ["string"],
context: {
projectId: "string",
},
dnsNameservers: ["string"],
nsxId: "string",
policyDhcpV6StaticBindingId: "string",
preferredTime: 0,
description: "string",
sntpServers: ["string"],
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:PolicyDhcpV6StaticBinding
properties:
context:
projectId: string
description: string
displayName: string
dnsNameservers:
- string
domainNames:
- string
ipAddresses:
- string
leaseTime: 0
macAddress: string
nsxId: string
policyDhcpV6StaticBindingId: string
preferredTime: 0
segmentPath: string
sntpServers:
- string
tags:
- scope: string
tag: string
PolicyDhcpV6StaticBinding 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 PolicyDhcpV6StaticBinding resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- Mac
Address string - MAC address of the host.
- Segment
Path string - Policy path for segment to configure this binding on.
- Context
Policy
Dhcp V6Static Binding Context - The context which the object belongs to
- Description string
- Description of the resource.
- Dns
Nameservers List<string> - List of DNS Nameservers.
- Domain
Names List<string> - List of Domain Names.
- Ip
Addresses List<string> - List of IPv6 addresses.
- Lease
Time double - Lease time, in seconds. Defaults to 86400.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Dhcp stringV6Static Binding Id - ID of the resource.
- Preferred
Time double - Preferred time, in seconds. Must not exceed
lease_lime
. - Sntp
Servers List<string> - List of IPv6 Addresses for SNTP Servers.
- List<Policy
Dhcp V6Static Binding Tag> - A list of scope + tag pairs to associate with this resource.
- Display
Name string - Display name of the resource.
- Mac
Address string - MAC address of the host.
- Segment
Path string - Policy path for segment to configure this binding on.
- Context
Policy
Dhcp V6Static Binding Context Args - The context which the object belongs to
- Description string
- Description of the resource.
- Dns
Nameservers []string - List of DNS Nameservers.
- Domain
Names []string - List of Domain Names.
- Ip
Addresses []string - List of IPv6 addresses.
- Lease
Time float64 - Lease time, in seconds. Defaults to 86400.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Dhcp stringV6Static Binding Id - ID of the resource.
- Preferred
Time float64 - Preferred time, in seconds. Must not exceed
lease_lime
. - Sntp
Servers []string - List of IPv6 Addresses for SNTP Servers.
- []Policy
Dhcp V6Static Binding Tag Args - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- mac
Address String - MAC address of the host.
- segment
Path String - Policy path for segment to configure this binding on.
- context
Policy
Dhcp V6Static Binding Context - The context which the object belongs to
- description String
- Description of the resource.
- dns
Nameservers List<String> - List of DNS Nameservers.
- domain
Names List<String> - List of Domain Names.
- ip
Addresses List<String> - List of IPv6 addresses.
- lease
Time Double - Lease time, in seconds. Defaults to 86400.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Dhcp StringV6Static Binding Id - ID of the resource.
- preferred
Time Double - Preferred time, in seconds. Must not exceed
lease_lime
. - sntp
Servers List<String> - List of IPv6 Addresses for SNTP Servers.
- List<Policy
Dhcp V6Static Binding Tag> - A list of scope + tag pairs to associate with this resource.
- display
Name string - Display name of the resource.
- mac
Address string - MAC address of the host.
- segment
Path string - Policy path for segment to configure this binding on.
- context
Policy
Dhcp V6Static Binding Context - The context which the object belongs to
- description string
- Description of the resource.
- dns
Nameservers string[] - List of DNS Nameservers.
- domain
Names string[] - List of Domain Names.
- ip
Addresses string[] - List of IPv6 addresses.
- lease
Time number - Lease time, in seconds. Defaults to 86400.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Dhcp stringV6Static Binding Id - ID of the resource.
- preferred
Time number - Preferred time, in seconds. Must not exceed
lease_lime
. - sntp
Servers string[] - List of IPv6 Addresses for SNTP Servers.
- Policy
Dhcp V6Static Binding Tag[] - A list of scope + tag pairs to associate with this resource.
- display_
name str - Display name of the resource.
- mac_
address str - MAC address of the host.
- segment_
path str - Policy path for segment to configure this binding on.
- context
Policy
Dhcp V6Static Binding Context Args - The context which the object belongs to
- description str
- Description of the resource.
- dns_
nameservers Sequence[str] - List of DNS Nameservers.
- domain_
names Sequence[str] - List of Domain Names.
- ip_
addresses Sequence[str] - List of IPv6 addresses.
- 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_ strv6_ static_ binding_ id - ID of the resource.
- preferred_
time float - Preferred time, in seconds. Must not exceed
lease_lime
. - sntp_
servers Sequence[str] - List of IPv6 Addresses for SNTP Servers.
- Sequence[Policy
Dhcp V6Static Binding Tag Args] - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- mac
Address String - MAC address of the host.
- segment
Path 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.
- dns
Nameservers List<String> - List of DNS Nameservers.
- domain
Names List<String> - List of Domain Names.
- ip
Addresses List<String> - List of IPv6 addresses.
- lease
Time Number - Lease time, in seconds. Defaults to 86400.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Dhcp StringV6Static Binding Id - ID of the resource.
- preferred
Time Number - Preferred time, in seconds. Must not exceed
lease_lime
. - sntp
Servers List<String> - List of IPv6 Addresses for SNTP Servers.
- 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 PolicyDhcpV6StaticBinding resource produces the following output properties:
Look up Existing PolicyDhcpV6StaticBinding Resource
Get an existing PolicyDhcpV6StaticBinding 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?: PolicyDhcpV6StaticBindingState, opts?: CustomResourceOptions): PolicyDhcpV6StaticBinding
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
context: Optional[PolicyDhcpV6StaticBindingContextArgs] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
dns_nameservers: Optional[Sequence[str]] = None,
domain_names: Optional[Sequence[str]] = None,
ip_addresses: Optional[Sequence[str]] = None,
lease_time: Optional[float] = None,
mac_address: Optional[str] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_dhcp_v6_static_binding_id: Optional[str] = None,
preferred_time: Optional[float] = None,
revision: Optional[float] = None,
segment_path: Optional[str] = None,
sntp_servers: Optional[Sequence[str]] = None,
tags: Optional[Sequence[PolicyDhcpV6StaticBindingTagArgs]] = None) -> PolicyDhcpV6StaticBinding
func GetPolicyDhcpV6StaticBinding(ctx *Context, name string, id IDInput, state *PolicyDhcpV6StaticBindingState, opts ...ResourceOption) (*PolicyDhcpV6StaticBinding, error)
public static PolicyDhcpV6StaticBinding Get(string name, Input<string> id, PolicyDhcpV6StaticBindingState? state, CustomResourceOptions? opts = null)
public static PolicyDhcpV6StaticBinding get(String name, Output<String> id, PolicyDhcpV6StaticBindingState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyDhcpV6StaticBinding 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.
- Context
Policy
Dhcp V6Static Binding Context - The context which the object belongs to
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Dns
Nameservers List<string> - List of DNS Nameservers.
- Domain
Names List<string> - List of Domain Names.
- Ip
Addresses List<string> - List of IPv6 addresses.
- Lease
Time double - Lease time, in seconds. Defaults to 86400.
- Mac
Address string - MAC address of the host.
- Nsx
Id 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.
- Policy
Dhcp stringV6Static Binding Id - ID of the resource.
- Preferred
Time double - Preferred time, in seconds. Must not exceed
lease_lime
. - Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Segment
Path string - Policy path for segment to configure this binding on.
- Sntp
Servers List<string> - List of IPv6 Addresses for SNTP Servers.
- List<Policy
Dhcp V6Static Binding Tag> - A list of scope + tag pairs to associate with this resource.
- Context
Policy
Dhcp V6Static Binding Context Args - The context which the object belongs to
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Dns
Nameservers []string - List of DNS Nameservers.
- Domain
Names []string - List of Domain Names.
- Ip
Addresses []string - List of IPv6 addresses.
- Lease
Time float64 - Lease time, in seconds. Defaults to 86400.
- Mac
Address string - MAC address of the host.
- Nsx
Id 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.
- Policy
Dhcp stringV6Static Binding Id - ID of the resource.
- Preferred
Time float64 - Preferred time, in seconds. Must not exceed
lease_lime
. - Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Segment
Path string - Policy path for segment to configure this binding on.
- Sntp
Servers []string - List of IPv6 Addresses for SNTP Servers.
- []Policy
Dhcp V6Static Binding Tag Args - A list of scope + tag pairs to associate with this resource.
- context
Policy
Dhcp V6Static Binding Context - The context which the object belongs to
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- dns
Nameservers List<String> - List of DNS Nameservers.
- domain
Names List<String> - List of Domain Names.
- ip
Addresses List<String> - List of IPv6 addresses.
- lease
Time Double - Lease time, in seconds. Defaults to 86400.
- mac
Address String - MAC address of the host.
- nsx
Id 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.
- policy
Dhcp StringV6Static Binding Id - ID of the resource.
- preferred
Time Double - Preferred time, in seconds. Must not exceed
lease_lime
. - revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- segment
Path String - Policy path for segment to configure this binding on.
- sntp
Servers List<String> - List of IPv6 Addresses for SNTP Servers.
- List<Policy
Dhcp V6Static Binding Tag> - A list of scope + tag pairs to associate with this resource.
- context
Policy
Dhcp V6Static Binding Context - The context which the object belongs to
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- dns
Nameservers string[] - List of DNS Nameservers.
- domain
Names string[] - List of Domain Names.
- ip
Addresses string[] - List of IPv6 addresses.
- lease
Time number - Lease time, in seconds. Defaults to 86400.
- mac
Address string - MAC address of the host.
- nsx
Id 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.
- policy
Dhcp stringV6Static Binding Id - ID of the resource.
- preferred
Time number - Preferred time, in seconds. Must not exceed
lease_lime
. - revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- segment
Path string - Policy path for segment to configure this binding on.
- sntp
Servers string[] - List of IPv6 Addresses for SNTP Servers.
- Policy
Dhcp V6Static Binding Tag[] - A list of scope + tag pairs to associate with this resource.
- context
Policy
Dhcp V6Static Binding Context Args - The context which the object belongs to
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- dns_
nameservers Sequence[str] - List of DNS Nameservers.
- domain_
names Sequence[str] - List of Domain Names.
- ip_
addresses Sequence[str] - List of IPv6 addresses.
- 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_ strv6_ static_ binding_ id - ID of the resource.
- preferred_
time float - Preferred time, in seconds. Must not exceed
lease_lime
. - 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.
- sntp_
servers Sequence[str] - List of IPv6 Addresses for SNTP Servers.
- Sequence[Policy
Dhcp V6Static Binding Tag Args] - 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.
- display
Name String - Display name of the resource.
- dns
Nameservers List<String> - List of DNS Nameservers.
- domain
Names List<String> - List of Domain Names.
- ip
Addresses List<String> - List of IPv6 addresses.
- lease
Time Number - Lease time, in seconds. Defaults to 86400.
- mac
Address String - MAC address of the host.
- nsx
Id 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.
- policy
Dhcp StringV6Static Binding Id - ID of the resource.
- preferred
Time Number - Preferred time, in seconds. Must not exceed
lease_lime
. - revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- segment
Path String - Policy path for segment to configure this binding on.
- sntp
Servers List<String> - List of IPv6 Addresses for SNTP Servers.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
PolicyDhcpV6StaticBindingContext, PolicyDhcpV6StaticBindingContextArgs
- Project
Id string - The ID of the project which the object belongs to
- Project
Id string - The ID of the project which the object belongs to
- project
Id String - The ID of the project which the object belongs to
- project
Id string - The ID of the project which the object belongs to
- project_
id str - The ID of the project which the object belongs to
- project
Id String - The ID of the project which the object belongs to
PolicyDhcpV6StaticBindingTag, PolicyDhcpV6StaticBindingTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.