nsxt.PolicyDistributedFloodProtectionProfileBinding
Explore with Pulumi AI
Create PolicyDistributedFloodProtectionProfileBinding Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyDistributedFloodProtectionProfileBinding(name: string, args: PolicyDistributedFloodProtectionProfileBindingArgs, opts?: CustomResourceOptions);
@overload
def PolicyDistributedFloodProtectionProfileBinding(resource_name: str,
args: PolicyDistributedFloodProtectionProfileBindingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyDistributedFloodProtectionProfileBinding(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
group_path: Optional[str] = None,
profile_path: Optional[str] = None,
sequence_number: Optional[float] = None,
context: Optional[PolicyDistributedFloodProtectionProfileBindingContextArgs] = None,
description: Optional[str] = None,
nsx_id: Optional[str] = None,
policy_distributed_flood_protection_profile_binding_id: Optional[str] = None,
tags: Optional[Sequence[PolicyDistributedFloodProtectionProfileBindingTagArgs]] = None)
func NewPolicyDistributedFloodProtectionProfileBinding(ctx *Context, name string, args PolicyDistributedFloodProtectionProfileBindingArgs, opts ...ResourceOption) (*PolicyDistributedFloodProtectionProfileBinding, error)
public PolicyDistributedFloodProtectionProfileBinding(string name, PolicyDistributedFloodProtectionProfileBindingArgs args, CustomResourceOptions? opts = null)
public PolicyDistributedFloodProtectionProfileBinding(String name, PolicyDistributedFloodProtectionProfileBindingArgs args)
public PolicyDistributedFloodProtectionProfileBinding(String name, PolicyDistributedFloodProtectionProfileBindingArgs args, CustomResourceOptions options)
type: nsxt:PolicyDistributedFloodProtectionProfileBinding
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 PolicyDistributedFloodProtectionProfileBindingArgs
- 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 PolicyDistributedFloodProtectionProfileBindingArgs
- 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 PolicyDistributedFloodProtectionProfileBindingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyDistributedFloodProtectionProfileBindingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyDistributedFloodProtectionProfileBindingArgs
- 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 policyDistributedFloodProtectionProfileBindingResource = new Nsxt.PolicyDistributedFloodProtectionProfileBinding("policyDistributedFloodProtectionProfileBindingResource", new()
{
DisplayName = "string",
GroupPath = "string",
ProfilePath = "string",
SequenceNumber = 0,
Context = new Nsxt.Inputs.PolicyDistributedFloodProtectionProfileBindingContextArgs
{
ProjectId = "string",
},
Description = "string",
NsxId = "string",
PolicyDistributedFloodProtectionProfileBindingId = "string",
Tags = new[]
{
new Nsxt.Inputs.PolicyDistributedFloodProtectionProfileBindingTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewPolicyDistributedFloodProtectionProfileBinding(ctx, "policyDistributedFloodProtectionProfileBindingResource", &nsxt.PolicyDistributedFloodProtectionProfileBindingArgs{
DisplayName: pulumi.String("string"),
GroupPath: pulumi.String("string"),
ProfilePath: pulumi.String("string"),
SequenceNumber: pulumi.Float64(0),
Context: &nsxt.PolicyDistributedFloodProtectionProfileBindingContextArgs{
ProjectId: pulumi.String("string"),
},
Description: pulumi.String("string"),
NsxId: pulumi.String("string"),
PolicyDistributedFloodProtectionProfileBindingId: pulumi.String("string"),
Tags: nsxt.PolicyDistributedFloodProtectionProfileBindingTagArray{
&nsxt.PolicyDistributedFloodProtectionProfileBindingTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var policyDistributedFloodProtectionProfileBindingResource = new PolicyDistributedFloodProtectionProfileBinding("policyDistributedFloodProtectionProfileBindingResource", PolicyDistributedFloodProtectionProfileBindingArgs.builder()
.displayName("string")
.groupPath("string")
.profilePath("string")
.sequenceNumber(0)
.context(PolicyDistributedFloodProtectionProfileBindingContextArgs.builder()
.projectId("string")
.build())
.description("string")
.nsxId("string")
.policyDistributedFloodProtectionProfileBindingId("string")
.tags(PolicyDistributedFloodProtectionProfileBindingTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
policy_distributed_flood_protection_profile_binding_resource = nsxt.PolicyDistributedFloodProtectionProfileBinding("policyDistributedFloodProtectionProfileBindingResource",
display_name="string",
group_path="string",
profile_path="string",
sequence_number=0,
context={
"project_id": "string",
},
description="string",
nsx_id="string",
policy_distributed_flood_protection_profile_binding_id="string",
tags=[{
"scope": "string",
"tag": "string",
}])
const policyDistributedFloodProtectionProfileBindingResource = new nsxt.PolicyDistributedFloodProtectionProfileBinding("policyDistributedFloodProtectionProfileBindingResource", {
displayName: "string",
groupPath: "string",
profilePath: "string",
sequenceNumber: 0,
context: {
projectId: "string",
},
description: "string",
nsxId: "string",
policyDistributedFloodProtectionProfileBindingId: "string",
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:PolicyDistributedFloodProtectionProfileBinding
properties:
context:
projectId: string
description: string
displayName: string
groupPath: string
nsxId: string
policyDistributedFloodProtectionProfileBindingId: string
profilePath: string
sequenceNumber: 0
tags:
- scope: string
tag: string
PolicyDistributedFloodProtectionProfileBinding 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 PolicyDistributedFloodProtectionProfileBinding resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- Group
Path string - The path of the group to bind with the profile.
- Profile
Path string - The path of the flood protection profile to be binded.
- Sequence
Number double - Sequence number of this profile binding map.
- Context
Policy
Distributed Flood Protection Profile Binding Context - Resource context
- 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
Distributed stringFlood Protection Profile Binding Id - List<Policy
Distributed Flood Protection Profile Binding Tag> - A list of scope + tag pairs to associate with this resource.
- Display
Name string - Display name of the resource.
- Group
Path string - The path of the group to bind with the profile.
- Profile
Path string - The path of the flood protection profile to be binded.
- Sequence
Number float64 - Sequence number of this profile binding map.
- Context
Policy
Distributed Flood Protection Profile Binding Context Args - Resource context
- 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
Distributed stringFlood Protection Profile Binding Id - []Policy
Distributed Flood Protection Profile Binding Tag Args - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- group
Path String - The path of the group to bind with the profile.
- profile
Path String - The path of the flood protection profile to be binded.
- sequence
Number Double - Sequence number of this profile binding map.
- context
Policy
Distributed Flood Protection Profile Binding Context - Resource context
- 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
Distributed StringFlood Protection Profile Binding Id - List<Policy
Distributed Flood Protection Profile Binding Tag> - A list of scope + tag pairs to associate with this resource.
- display
Name string - Display name of the resource.
- group
Path string - The path of the group to bind with the profile.
- profile
Path string - The path of the flood protection profile to be binded.
- sequence
Number number - Sequence number of this profile binding map.
- context
Policy
Distributed Flood Protection Profile Binding Context - Resource context
- 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
Distributed stringFlood Protection Profile Binding Id - Policy
Distributed Flood Protection Profile Binding Tag[] - A list of scope + tag pairs to associate with this resource.
- display_
name str - Display name of the resource.
- group_
path str - The path of the group to bind with the profile.
- profile_
path str - The path of the flood protection profile to be binded.
- sequence_
number float - Sequence number of this profile binding map.
- context
Policy
Distributed Flood Protection Profile Binding Context Args - Resource context
- 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_
distributed_ strflood_ protection_ profile_ binding_ id - Sequence[Policy
Distributed Flood Protection Profile Binding Tag Args] - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- group
Path String - The path of the group to bind with the profile.
- profile
Path String - The path of the flood protection profile to be binded.
- sequence
Number Number - Sequence number of this profile binding map.
- context Property Map
- Resource context
- 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
Distributed StringFlood Protection Profile Binding 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 PolicyDistributedFloodProtectionProfileBinding resource produces the following output properties:
Look up Existing PolicyDistributedFloodProtectionProfileBinding Resource
Get an existing PolicyDistributedFloodProtectionProfileBinding 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?: PolicyDistributedFloodProtectionProfileBindingState, opts?: CustomResourceOptions): PolicyDistributedFloodProtectionProfileBinding
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
context: Optional[PolicyDistributedFloodProtectionProfileBindingContextArgs] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
group_path: Optional[str] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_distributed_flood_protection_profile_binding_id: Optional[str] = None,
profile_path: Optional[str] = None,
revision: Optional[float] = None,
sequence_number: Optional[float] = None,
tags: Optional[Sequence[PolicyDistributedFloodProtectionProfileBindingTagArgs]] = None) -> PolicyDistributedFloodProtectionProfileBinding
func GetPolicyDistributedFloodProtectionProfileBinding(ctx *Context, name string, id IDInput, state *PolicyDistributedFloodProtectionProfileBindingState, opts ...ResourceOption) (*PolicyDistributedFloodProtectionProfileBinding, error)
public static PolicyDistributedFloodProtectionProfileBinding Get(string name, Input<string> id, PolicyDistributedFloodProtectionProfileBindingState? state, CustomResourceOptions? opts = null)
public static PolicyDistributedFloodProtectionProfileBinding get(String name, Output<String> id, PolicyDistributedFloodProtectionProfileBindingState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyDistributedFloodProtectionProfileBinding 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
Distributed Flood Protection Profile Binding Context - Resource context
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Group
Path string - The path of the group to bind with the profile.
- 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
Distributed stringFlood Protection Profile Binding Id - Profile
Path string - The path of the flood protection profile to be binded.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sequence
Number double - Sequence number of this profile binding map.
- List<Policy
Distributed Flood Protection Profile Binding Tag> - A list of scope + tag pairs to associate with this resource.
- Context
Policy
Distributed Flood Protection Profile Binding Context Args - Resource context
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Group
Path string - The path of the group to bind with the profile.
- 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
Distributed stringFlood Protection Profile Binding Id - Profile
Path string - The path of the flood protection profile to be binded.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sequence
Number float64 - Sequence number of this profile binding map.
- []Policy
Distributed Flood Protection Profile Binding Tag Args - A list of scope + tag pairs to associate with this resource.
- context
Policy
Distributed Flood Protection Profile Binding Context - Resource context
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- group
Path String - The path of the group to bind with the profile.
- 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
Distributed StringFlood Protection Profile Binding Id - profile
Path String - The path of the flood protection profile to be binded.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- sequence
Number Double - Sequence number of this profile binding map.
- List<Policy
Distributed Flood Protection Profile Binding Tag> - A list of scope + tag pairs to associate with this resource.
- context
Policy
Distributed Flood Protection Profile Binding Context - Resource context
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- group
Path string - The path of the group to bind with the profile.
- 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
Distributed stringFlood Protection Profile Binding Id - profile
Path string - The path of the flood protection profile to be binded.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- sequence
Number number - Sequence number of this profile binding map.
- Policy
Distributed Flood Protection Profile Binding Tag[] - A list of scope + tag pairs to associate with this resource.
- context
Policy
Distributed Flood Protection Profile Binding Context Args - Resource context
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- group_
path str - The path of the group to bind with the profile.
- 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_
distributed_ strflood_ protection_ profile_ binding_ id - profile_
path str - The path of the flood protection profile to be binded.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- sequence_
number float - Sequence number of this profile binding map.
- Sequence[Policy
Distributed Flood Protection Profile Binding Tag Args] - A list of scope + tag pairs to associate with this resource.
- context Property Map
- Resource context
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- group
Path String - The path of the group to bind with the profile.
- 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
Distributed StringFlood Protection Profile Binding Id - profile
Path String - The path of the flood protection profile to be binded.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- sequence
Number Number - Sequence number of this profile binding map.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
PolicyDistributedFloodProtectionProfileBindingContext, PolicyDistributedFloodProtectionProfileBindingContextArgs
- Project
Id string - Id of the project which the resource belongs to.
- Project
Id string - Id of the project which the resource belongs to.
- project
Id String - Id of the project which the resource belongs to.
- project
Id string - Id of the project which the resource belongs to.
- project_
id str - Id of the project which the resource belongs to.
- project
Id String - Id of the project which the resource belongs to.
PolicyDistributedFloodProtectionProfileBindingTag, PolicyDistributedFloodProtectionProfileBindingTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.