nsxt.PolicyVniPool
Explore with Pulumi AI
Create PolicyVniPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyVniPool(name: string, args: PolicyVniPoolArgs, opts?: CustomResourceOptions);
@overload
def PolicyVniPool(resource_name: str,
args: PolicyVniPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyVniPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
end: Optional[float] = None,
start: Optional[float] = None,
description: Optional[str] = None,
nsx_id: Optional[str] = None,
policy_vni_pool_id: Optional[str] = None,
tags: Optional[Sequence[PolicyVniPoolTagArgs]] = None)
func NewPolicyVniPool(ctx *Context, name string, args PolicyVniPoolArgs, opts ...ResourceOption) (*PolicyVniPool, error)
public PolicyVniPool(string name, PolicyVniPoolArgs args, CustomResourceOptions? opts = null)
public PolicyVniPool(String name, PolicyVniPoolArgs args)
public PolicyVniPool(String name, PolicyVniPoolArgs args, CustomResourceOptions options)
type: nsxt:PolicyVniPool
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 PolicyVniPoolArgs
- 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 PolicyVniPoolArgs
- 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 PolicyVniPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyVniPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyVniPoolArgs
- 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 policyVniPoolResource = new Nsxt.PolicyVniPool("policyVniPoolResource", new()
{
DisplayName = "string",
End = 0,
Start = 0,
Description = "string",
NsxId = "string",
PolicyVniPoolId = "string",
Tags = new[]
{
new Nsxt.Inputs.PolicyVniPoolTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewPolicyVniPool(ctx, "policyVniPoolResource", &nsxt.PolicyVniPoolArgs{
DisplayName: pulumi.String("string"),
End: pulumi.Float64(0),
Start: pulumi.Float64(0),
Description: pulumi.String("string"),
NsxId: pulumi.String("string"),
PolicyVniPoolId: pulumi.String("string"),
Tags: nsxt.PolicyVniPoolTagArray{
&nsxt.PolicyVniPoolTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var policyVniPoolResource = new PolicyVniPool("policyVniPoolResource", PolicyVniPoolArgs.builder()
.displayName("string")
.end(0)
.start(0)
.description("string")
.nsxId("string")
.policyVniPoolId("string")
.tags(PolicyVniPoolTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
policy_vni_pool_resource = nsxt.PolicyVniPool("policyVniPoolResource",
display_name="string",
end=0,
start=0,
description="string",
nsx_id="string",
policy_vni_pool_id="string",
tags=[{
"scope": "string",
"tag": "string",
}])
const policyVniPoolResource = new nsxt.PolicyVniPool("policyVniPoolResource", {
displayName: "string",
end: 0,
start: 0,
description: "string",
nsxId: "string",
policyVniPoolId: "string",
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:PolicyVniPool
properties:
description: string
displayName: string
end: 0
nsxId: string
policyVniPoolId: string
start: 0
tags:
- scope: string
tag: string
PolicyVniPool 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 PolicyVniPool resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- End double
- End value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- Start double
- Start value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- Description string
- Description of the resource.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- Policy
Vni stringPool Id - List<Policy
Vni Pool Tag> - A list of scope + tag pairs to associate with this resource.
- Display
Name string - Display name of the resource.
- End float64
- End value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- Start float64
- Start value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- Description string
- Description of the resource.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- Policy
Vni stringPool Id - []Policy
Vni Pool Tag Args - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- end Double
- End value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- start Double
- Start value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- description String
- Description of the resource.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- policy
Vni StringPool Id - List<Policy
Vni Pool Tag> - A list of scope + tag pairs to associate with this resource.
- display
Name string - Display name of the resource.
- end number
- End value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- start number
- Start value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- description string
- Description of the resource.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- policy
Vni stringPool Id - Policy
Vni Pool Tag[] - A list of scope + tag pairs to associate with this resource.
- display_
name str - Display name of the resource.
- end float
- End value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- start float
- Start value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- description str
- Description of the resource.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- policy_
vni_ strpool_ id - Sequence[Policy
Vni Pool Tag Args] - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- end Number
- End value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- start Number
- Start value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- description String
- Description of the resource.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- policy
Vni StringPool Id - 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 PolicyVniPool resource produces the following output properties:
Look up Existing PolicyVniPool Resource
Get an existing PolicyVniPool 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?: PolicyVniPoolState, opts?: CustomResourceOptions): PolicyVniPool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
end: Optional[float] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_vni_pool_id: Optional[str] = None,
revision: Optional[float] = None,
start: Optional[float] = None,
tags: Optional[Sequence[PolicyVniPoolTagArgs]] = None) -> PolicyVniPool
func GetPolicyVniPool(ctx *Context, name string, id IDInput, state *PolicyVniPoolState, opts ...ResourceOption) (*PolicyVniPool, error)
public static PolicyVniPool Get(string name, Input<string> id, PolicyVniPoolState? state, CustomResourceOptions? opts = null)
public static PolicyVniPool get(String name, Output<String> id, PolicyVniPoolState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyVniPool 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.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- End double
- End value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- Path string
- The NSX path of the policy resource.
- Policy
Vni stringPool Id - Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Start double
- Start value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- List<Policy
Vni Pool Tag> - A list of scope + tag pairs to associate with this resource.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- End float64
- End value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- Path string
- The NSX path of the policy resource.
- Policy
Vni stringPool Id - Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Start float64
- Start value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- []Policy
Vni Pool Tag Args - A list of scope + tag pairs to associate with this resource.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- end Double
- End value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- path String
- The NSX path of the policy resource.
- policy
Vni StringPool Id - revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- start Double
- Start value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- List<Policy
Vni Pool Tag> - A list of scope + tag pairs to associate with this resource.
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- end number
- End value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- path string
- The NSX path of the policy resource.
- policy
Vni stringPool Id - revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- start number
- Start value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- Policy
Vni Pool Tag[] - A list of scope + tag pairs to associate with this resource.
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- end float
- End value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- path str
- The NSX path of the policy resource.
- policy_
vni_ strpool_ id - revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- start float
- Start value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- Sequence[Policy
Vni Pool Tag Args] - A list of scope + tag pairs to associate with this resource.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- end Number
- End value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- path String
- The NSX path of the policy resource.
- policy
Vni StringPool Id - revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- start Number
- Start value of VNI Pool range. Minimum: 75001, Maximum: 16777215.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
PolicyVniPoolTag, PolicyVniPoolTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.