infoblox.IpAssociation
Explore with Pulumi AI
Create IpAssociation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IpAssociation(name: string, args?: IpAssociationArgs, opts?: CustomResourceOptions);
@overload
def IpAssociation(resource_name: str,
args: Optional[IpAssociationArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def IpAssociation(resource_name: str,
opts: Optional[ResourceOptions] = None,
duid: Optional[str] = None,
enable_dhcp: Optional[bool] = None,
internal_id: Optional[str] = None,
ip_association_id: Optional[str] = None,
mac_addr: Optional[str] = None)
func NewIpAssociation(ctx *Context, name string, args *IpAssociationArgs, opts ...ResourceOption) (*IpAssociation, error)
public IpAssociation(string name, IpAssociationArgs? args = null, CustomResourceOptions? opts = null)
public IpAssociation(String name, IpAssociationArgs args)
public IpAssociation(String name, IpAssociationArgs args, CustomResourceOptions options)
type: infoblox:IpAssociation
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 IpAssociationArgs
- 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 IpAssociationArgs
- 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 IpAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IpAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IpAssociationArgs
- 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 ipAssociationResource = new Infoblox.IpAssociation("ipAssociationResource", new()
{
Duid = "string",
EnableDhcp = false,
InternalId = "string",
IpAssociationId = "string",
MacAddr = "string",
});
example, err := infoblox.NewIpAssociation(ctx, "ipAssociationResource", &infoblox.IpAssociationArgs{
Duid: pulumi.String("string"),
EnableDhcp: pulumi.Bool(false),
InternalId: pulumi.String("string"),
IpAssociationId: pulumi.String("string"),
MacAddr: pulumi.String("string"),
})
var ipAssociationResource = new IpAssociation("ipAssociationResource", IpAssociationArgs.builder()
.duid("string")
.enableDhcp(false)
.internalId("string")
.ipAssociationId("string")
.macAddr("string")
.build());
ip_association_resource = infoblox.IpAssociation("ipAssociationResource",
duid="string",
enable_dhcp=False,
internal_id="string",
ip_association_id="string",
mac_addr="string")
const ipAssociationResource = new infoblox.IpAssociation("ipAssociationResource", {
duid: "string",
enableDhcp: false,
internalId: "string",
ipAssociationId: "string",
macAddr: "string",
});
type: infoblox:IpAssociation
properties:
duid: string
enableDhcp: false
internalId: string
ipAssociationId: string
macAddr: string
IpAssociation 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 IpAssociation resource accepts the following input properties:
- Duid string
- DHCP unique identifier for IPv6.
- Enable
Dhcp bool - The flag which defines if the host record is to be used for IPAM purposes.
- Internal
Id string - This value must point to the ID of the appropriate allocation resource. Required on resource creation.
- Ip
Association stringId - Mac
Addr string - MAC address of a cloud instance.
- Duid string
- DHCP unique identifier for IPv6.
- Enable
Dhcp bool - The flag which defines if the host record is to be used for IPAM purposes.
- Internal
Id string - This value must point to the ID of the appropriate allocation resource. Required on resource creation.
- Ip
Association stringId - Mac
Addr string - MAC address of a cloud instance.
- duid String
- DHCP unique identifier for IPv6.
- enable
Dhcp Boolean - The flag which defines if the host record is to be used for IPAM purposes.
- internal
Id String - This value must point to the ID of the appropriate allocation resource. Required on resource creation.
- ip
Association StringId - mac
Addr String - MAC address of a cloud instance.
- duid string
- DHCP unique identifier for IPv6.
- enable
Dhcp boolean - The flag which defines if the host record is to be used for IPAM purposes.
- internal
Id string - This value must point to the ID of the appropriate allocation resource. Required on resource creation.
- ip
Association stringId - mac
Addr string - MAC address of a cloud instance.
- duid str
- DHCP unique identifier for IPv6.
- enable_
dhcp bool - The flag which defines if the host record is to be used for IPAM purposes.
- internal_
id str - This value must point to the ID of the appropriate allocation resource. Required on resource creation.
- ip_
association_ strid - mac_
addr str - MAC address of a cloud instance.
- duid String
- DHCP unique identifier for IPv6.
- enable
Dhcp Boolean - The flag which defines if the host record is to be used for IPAM purposes.
- internal
Id String - This value must point to the ID of the appropriate allocation resource. Required on resource creation.
- ip
Association StringId - mac
Addr String - MAC address of a cloud instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the IpAssociation resource produces the following output properties:
Look up Existing IpAssociation Resource
Get an existing IpAssociation 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?: IpAssociationState, opts?: CustomResourceOptions): IpAssociation
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
duid: Optional[str] = None,
enable_dhcp: Optional[bool] = None,
internal_id: Optional[str] = None,
ip_association_id: Optional[str] = None,
mac_addr: Optional[str] = None,
ref: Optional[str] = None) -> IpAssociation
func GetIpAssociation(ctx *Context, name string, id IDInput, state *IpAssociationState, opts ...ResourceOption) (*IpAssociation, error)
public static IpAssociation Get(string name, Input<string> id, IpAssociationState? state, CustomResourceOptions? opts = null)
public static IpAssociation get(String name, Output<String> id, IpAssociationState state, CustomResourceOptions options)
resources: _: type: infoblox:IpAssociation 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.
- Duid string
- DHCP unique identifier for IPv6.
- Enable
Dhcp bool - The flag which defines if the host record is to be used for IPAM purposes.
- Internal
Id string - This value must point to the ID of the appropriate allocation resource. Required on resource creation.
- Ip
Association stringId - Mac
Addr string - MAC address of a cloud instance.
- Ref string
- NIOS object's reference, not to be set by a user.
- Duid string
- DHCP unique identifier for IPv6.
- Enable
Dhcp bool - The flag which defines if the host record is to be used for IPAM purposes.
- Internal
Id string - This value must point to the ID of the appropriate allocation resource. Required on resource creation.
- Ip
Association stringId - Mac
Addr string - MAC address of a cloud instance.
- Ref string
- NIOS object's reference, not to be set by a user.
- duid String
- DHCP unique identifier for IPv6.
- enable
Dhcp Boolean - The flag which defines if the host record is to be used for IPAM purposes.
- internal
Id String - This value must point to the ID of the appropriate allocation resource. Required on resource creation.
- ip
Association StringId - mac
Addr String - MAC address of a cloud instance.
- ref String
- NIOS object's reference, not to be set by a user.
- duid string
- DHCP unique identifier for IPv6.
- enable
Dhcp boolean - The flag which defines if the host record is to be used for IPAM purposes.
- internal
Id string - This value must point to the ID of the appropriate allocation resource. Required on resource creation.
- ip
Association stringId - mac
Addr string - MAC address of a cloud instance.
- ref string
- NIOS object's reference, not to be set by a user.
- duid str
- DHCP unique identifier for IPv6.
- enable_
dhcp bool - The flag which defines if the host record is to be used for IPAM purposes.
- internal_
id str - This value must point to the ID of the appropriate allocation resource. Required on resource creation.
- ip_
association_ strid - mac_
addr str - MAC address of a cloud instance.
- ref str
- NIOS object's reference, not to be set by a user.
- duid String
- DHCP unique identifier for IPv6.
- enable
Dhcp Boolean - The flag which defines if the host record is to be used for IPAM purposes.
- internal
Id String - This value must point to the ID of the appropriate allocation resource. Required on resource creation.
- ip
Association StringId - mac
Addr String - MAC address of a cloud instance.
- ref String
- NIOS object's reference, not to be set by a user.
Package Details
- Repository
- infoblox infobloxopen/terraform-provider-infoblox
- License
- Notes
- This Pulumi package is based on the
infoblox
Terraform Provider.