nsxt.IpPoolAllocationIpAddress
Explore with Pulumi AI
Create IpPoolAllocationIpAddress Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IpPoolAllocationIpAddress(name: string, args: IpPoolAllocationIpAddressArgs, opts?: CustomResourceOptions);
@overload
def IpPoolAllocationIpAddress(resource_name: str,
args: IpPoolAllocationIpAddressArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IpPoolAllocationIpAddress(resource_name: str,
opts: Optional[ResourceOptions] = None,
ip_pool_id: Optional[str] = None,
allocation_id: Optional[str] = None,
ip_pool_allocation_ip_address_id: Optional[str] = None)
func NewIpPoolAllocationIpAddress(ctx *Context, name string, args IpPoolAllocationIpAddressArgs, opts ...ResourceOption) (*IpPoolAllocationIpAddress, error)
public IpPoolAllocationIpAddress(string name, IpPoolAllocationIpAddressArgs args, CustomResourceOptions? opts = null)
public IpPoolAllocationIpAddress(String name, IpPoolAllocationIpAddressArgs args)
public IpPoolAllocationIpAddress(String name, IpPoolAllocationIpAddressArgs args, CustomResourceOptions options)
type: nsxt:IpPoolAllocationIpAddress
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 IpPoolAllocationIpAddressArgs
- 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 IpPoolAllocationIpAddressArgs
- 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 IpPoolAllocationIpAddressArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IpPoolAllocationIpAddressArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IpPoolAllocationIpAddressArgs
- 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 ipPoolAllocationIpAddressResource = new Nsxt.IpPoolAllocationIpAddress("ipPoolAllocationIpAddressResource", new()
{
IpPoolId = "string",
AllocationId = "string",
IpPoolAllocationIpAddressId = "string",
});
example, err := nsxt.NewIpPoolAllocationIpAddress(ctx, "ipPoolAllocationIpAddressResource", &nsxt.IpPoolAllocationIpAddressArgs{
IpPoolId: pulumi.String("string"),
AllocationId: pulumi.String("string"),
IpPoolAllocationIpAddressId: pulumi.String("string"),
})
var ipPoolAllocationIpAddressResource = new IpPoolAllocationIpAddress("ipPoolAllocationIpAddressResource", IpPoolAllocationIpAddressArgs.builder()
.ipPoolId("string")
.allocationId("string")
.ipPoolAllocationIpAddressId("string")
.build());
ip_pool_allocation_ip_address_resource = nsxt.IpPoolAllocationIpAddress("ipPoolAllocationIpAddressResource",
ip_pool_id="string",
allocation_id="string",
ip_pool_allocation_ip_address_id="string")
const ipPoolAllocationIpAddressResource = new nsxt.IpPoolAllocationIpAddress("ipPoolAllocationIpAddressResource", {
ipPoolId: "string",
allocationId: "string",
ipPoolAllocationIpAddressId: "string",
});
type: nsxt:IpPoolAllocationIpAddress
properties:
allocationId: string
ipPoolAllocationIpAddressId: string
ipPoolId: string
IpPoolAllocationIpAddress 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 IpPoolAllocationIpAddress resource accepts the following input properties:
- Ip
Pool stringId - Ip Pool ID from which the IP address will be allocated.
- Allocation
Id string - IP Address that is allocated from the pool
- Ip
Pool stringAllocation Ip Address Id - ID of the IP pool allocation IP address (currently identical to
allocation_ip
).
- Ip
Pool stringId - Ip Pool ID from which the IP address will be allocated.
- Allocation
Id string - IP Address that is allocated from the pool
- Ip
Pool stringAllocation Ip Address Id - ID of the IP pool allocation IP address (currently identical to
allocation_ip
).
- ip
Pool StringId - Ip Pool ID from which the IP address will be allocated.
- allocation
Id String - IP Address that is allocated from the pool
- ip
Pool StringAllocation Ip Address Id - ID of the IP pool allocation IP address (currently identical to
allocation_ip
).
- ip
Pool stringId - Ip Pool ID from which the IP address will be allocated.
- allocation
Id string - IP Address that is allocated from the pool
- ip
Pool stringAllocation Ip Address Id - ID of the IP pool allocation IP address (currently identical to
allocation_ip
).
- ip_
pool_ strid - Ip Pool ID from which the IP address will be allocated.
- allocation_
id str - IP Address that is allocated from the pool
- ip_
pool_ strallocation_ ip_ address_ id - ID of the IP pool allocation IP address (currently identical to
allocation_ip
).
- ip
Pool StringId - Ip Pool ID from which the IP address will be allocated.
- allocation
Id String - IP Address that is allocated from the pool
- ip
Pool StringAllocation Ip Address Id - ID of the IP pool allocation IP address (currently identical to
allocation_ip
).
Outputs
All input properties are implicitly available as output properties. Additionally, the IpPoolAllocationIpAddress resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing IpPoolAllocationIpAddress Resource
Get an existing IpPoolAllocationIpAddress 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?: IpPoolAllocationIpAddressState, opts?: CustomResourceOptions): IpPoolAllocationIpAddress
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allocation_id: Optional[str] = None,
ip_pool_allocation_ip_address_id: Optional[str] = None,
ip_pool_id: Optional[str] = None) -> IpPoolAllocationIpAddress
func GetIpPoolAllocationIpAddress(ctx *Context, name string, id IDInput, state *IpPoolAllocationIpAddressState, opts ...ResourceOption) (*IpPoolAllocationIpAddress, error)
public static IpPoolAllocationIpAddress Get(string name, Input<string> id, IpPoolAllocationIpAddressState? state, CustomResourceOptions? opts = null)
public static IpPoolAllocationIpAddress get(String name, Output<String> id, IpPoolAllocationIpAddressState state, CustomResourceOptions options)
resources: _: type: nsxt:IpPoolAllocationIpAddress 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.
- Allocation
Id string - IP Address that is allocated from the pool
- Ip
Pool stringAllocation Ip Address Id - ID of the IP pool allocation IP address (currently identical to
allocation_ip
). - Ip
Pool stringId - Ip Pool ID from which the IP address will be allocated.
- Allocation
Id string - IP Address that is allocated from the pool
- Ip
Pool stringAllocation Ip Address Id - ID of the IP pool allocation IP address (currently identical to
allocation_ip
). - Ip
Pool stringId - Ip Pool ID from which the IP address will be allocated.
- allocation
Id String - IP Address that is allocated from the pool
- ip
Pool StringAllocation Ip Address Id - ID of the IP pool allocation IP address (currently identical to
allocation_ip
). - ip
Pool StringId - Ip Pool ID from which the IP address will be allocated.
- allocation
Id string - IP Address that is allocated from the pool
- ip
Pool stringAllocation Ip Address Id - ID of the IP pool allocation IP address (currently identical to
allocation_ip
). - ip
Pool stringId - Ip Pool ID from which the IP address will be allocated.
- allocation_
id str - IP Address that is allocated from the pool
- ip_
pool_ strallocation_ ip_ address_ id - ID of the IP pool allocation IP address (currently identical to
allocation_ip
). - ip_
pool_ strid - Ip Pool ID from which the IP address will be allocated.
- allocation
Id String - IP Address that is allocated from the pool
- ip
Pool StringAllocation Ip Address Id - ID of the IP pool allocation IP address (currently identical to
allocation_ip
). - ip
Pool StringId - Ip Pool ID from which the IP address will be allocated.
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.