nsxt.PolicyGatewayFloodProtectionProfileBinding
Explore with Pulumi AI
Create PolicyGatewayFloodProtectionProfileBinding Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyGatewayFloodProtectionProfileBinding(name: string, args: PolicyGatewayFloodProtectionProfileBindingArgs, opts?: CustomResourceOptions);
@overload
def PolicyGatewayFloodProtectionProfileBinding(resource_name: str,
args: PolicyGatewayFloodProtectionProfileBindingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyGatewayFloodProtectionProfileBinding(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
parent_path: Optional[str] = None,
profile_path: Optional[str] = None,
context: Optional[PolicyGatewayFloodProtectionProfileBindingContextArgs] = None,
description: Optional[str] = None,
nsx_id: Optional[str] = None,
policy_gateway_flood_protection_profile_binding_id: Optional[str] = None,
tags: Optional[Sequence[PolicyGatewayFloodProtectionProfileBindingTagArgs]] = None)
func NewPolicyGatewayFloodProtectionProfileBinding(ctx *Context, name string, args PolicyGatewayFloodProtectionProfileBindingArgs, opts ...ResourceOption) (*PolicyGatewayFloodProtectionProfileBinding, error)
public PolicyGatewayFloodProtectionProfileBinding(string name, PolicyGatewayFloodProtectionProfileBindingArgs args, CustomResourceOptions? opts = null)
public PolicyGatewayFloodProtectionProfileBinding(String name, PolicyGatewayFloodProtectionProfileBindingArgs args)
public PolicyGatewayFloodProtectionProfileBinding(String name, PolicyGatewayFloodProtectionProfileBindingArgs args, CustomResourceOptions options)
type: nsxt:PolicyGatewayFloodProtectionProfileBinding
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 PolicyGatewayFloodProtectionProfileBindingArgs
- 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 PolicyGatewayFloodProtectionProfileBindingArgs
- 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 PolicyGatewayFloodProtectionProfileBindingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyGatewayFloodProtectionProfileBindingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyGatewayFloodProtectionProfileBindingArgs
- 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 policyGatewayFloodProtectionProfileBindingResource = new Nsxt.PolicyGatewayFloodProtectionProfileBinding("policyGatewayFloodProtectionProfileBindingResource", new()
{
DisplayName = "string",
ParentPath = "string",
ProfilePath = "string",
Context = new Nsxt.Inputs.PolicyGatewayFloodProtectionProfileBindingContextArgs
{
ProjectId = "string",
},
Description = "string",
NsxId = "string",
PolicyGatewayFloodProtectionProfileBindingId = "string",
Tags = new[]
{
new Nsxt.Inputs.PolicyGatewayFloodProtectionProfileBindingTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewPolicyGatewayFloodProtectionProfileBinding(ctx, "policyGatewayFloodProtectionProfileBindingResource", &nsxt.PolicyGatewayFloodProtectionProfileBindingArgs{
DisplayName: pulumi.String("string"),
ParentPath: pulumi.String("string"),
ProfilePath: pulumi.String("string"),
Context: &nsxt.PolicyGatewayFloodProtectionProfileBindingContextArgs{
ProjectId: pulumi.String("string"),
},
Description: pulumi.String("string"),
NsxId: pulumi.String("string"),
PolicyGatewayFloodProtectionProfileBindingId: pulumi.String("string"),
Tags: nsxt.PolicyGatewayFloodProtectionProfileBindingTagArray{
&nsxt.PolicyGatewayFloodProtectionProfileBindingTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var policyGatewayFloodProtectionProfileBindingResource = new PolicyGatewayFloodProtectionProfileBinding("policyGatewayFloodProtectionProfileBindingResource", PolicyGatewayFloodProtectionProfileBindingArgs.builder()
.displayName("string")
.parentPath("string")
.profilePath("string")
.context(PolicyGatewayFloodProtectionProfileBindingContextArgs.builder()
.projectId("string")
.build())
.description("string")
.nsxId("string")
.policyGatewayFloodProtectionProfileBindingId("string")
.tags(PolicyGatewayFloodProtectionProfileBindingTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
policy_gateway_flood_protection_profile_binding_resource = nsxt.PolicyGatewayFloodProtectionProfileBinding("policyGatewayFloodProtectionProfileBindingResource",
display_name="string",
parent_path="string",
profile_path="string",
context={
"project_id": "string",
},
description="string",
nsx_id="string",
policy_gateway_flood_protection_profile_binding_id="string",
tags=[{
"scope": "string",
"tag": "string",
}])
const policyGatewayFloodProtectionProfileBindingResource = new nsxt.PolicyGatewayFloodProtectionProfileBinding("policyGatewayFloodProtectionProfileBindingResource", {
displayName: "string",
parentPath: "string",
profilePath: "string",
context: {
projectId: "string",
},
description: "string",
nsxId: "string",
policyGatewayFloodProtectionProfileBindingId: "string",
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:PolicyGatewayFloodProtectionProfileBinding
properties:
context:
projectId: string
description: string
displayName: string
nsxId: string
parentPath: string
policyGatewayFloodProtectionProfileBindingId: string
profilePath: string
tags:
- scope: string
tag: string
PolicyGatewayFloodProtectionProfileBinding 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 PolicyGatewayFloodProtectionProfileBinding resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- Parent
Path string - The path of the parent to bind with the profile. This could be either T0 path, T1 path or locale service path.
- Profile
Path string - The path of the flood protection profile to be binded.
- Context
Policy
Gateway 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
Gateway stringFlood Protection Profile Binding Id - List<Policy
Gateway Flood Protection Profile Binding Tag> - A list of scope + tag pairs to associate with this resource.
- Display
Name string - Display name of the resource.
- Parent
Path string - The path of the parent to bind with the profile. This could be either T0 path, T1 path or locale service path.
- Profile
Path string - The path of the flood protection profile to be binded.
- Context
Policy
Gateway 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
Gateway stringFlood Protection Profile Binding Id - []Policy
Gateway 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.
- parent
Path String - The path of the parent to bind with the profile. This could be either T0 path, T1 path or locale service path.
- profile
Path String - The path of the flood protection profile to be binded.
- context
Policy
Gateway 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
Gateway StringFlood Protection Profile Binding Id - List<Policy
Gateway Flood Protection Profile Binding Tag> - A list of scope + tag pairs to associate with this resource.
- display
Name string - Display name of the resource.
- parent
Path string - The path of the parent to bind with the profile. This could be either T0 path, T1 path or locale service path.
- profile
Path string - The path of the flood protection profile to be binded.
- context
Policy
Gateway 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
Gateway stringFlood Protection Profile Binding Id - Policy
Gateway Flood Protection Profile Binding Tag[] - A list of scope + tag pairs to associate with this resource.
- display_
name str - Display name of the resource.
- parent_
path str - The path of the parent to bind with the profile. This could be either T0 path, T1 path or locale service path.
- profile_
path str - The path of the flood protection profile to be binded.
- context
Policy
Gateway 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_
gateway_ strflood_ protection_ profile_ binding_ id - Sequence[Policy
Gateway 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.
- parent
Path String - The path of the parent to bind with the profile. This could be either T0 path, T1 path or locale service path.
- profile
Path String - The path of the flood protection profile to be binded.
- 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
Gateway 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 PolicyGatewayFloodProtectionProfileBinding resource produces the following output properties:
Look up Existing PolicyGatewayFloodProtectionProfileBinding Resource
Get an existing PolicyGatewayFloodProtectionProfileBinding 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?: PolicyGatewayFloodProtectionProfileBindingState, opts?: CustomResourceOptions): PolicyGatewayFloodProtectionProfileBinding
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
context: Optional[PolicyGatewayFloodProtectionProfileBindingContextArgs] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
nsx_id: Optional[str] = None,
parent_path: Optional[str] = None,
path: Optional[str] = None,
policy_gateway_flood_protection_profile_binding_id: Optional[str] = None,
profile_path: Optional[str] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[PolicyGatewayFloodProtectionProfileBindingTagArgs]] = None) -> PolicyGatewayFloodProtectionProfileBinding
func GetPolicyGatewayFloodProtectionProfileBinding(ctx *Context, name string, id IDInput, state *PolicyGatewayFloodProtectionProfileBindingState, opts ...ResourceOption) (*PolicyGatewayFloodProtectionProfileBinding, error)
public static PolicyGatewayFloodProtectionProfileBinding Get(string name, Input<string> id, PolicyGatewayFloodProtectionProfileBindingState? state, CustomResourceOptions? opts = null)
public static PolicyGatewayFloodProtectionProfileBinding get(String name, Output<String> id, PolicyGatewayFloodProtectionProfileBindingState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyGatewayFloodProtectionProfileBinding 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
Gateway Flood Protection Profile Binding Context - Resource context
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- Parent
Path string - The path of the parent to bind with the profile. This could be either T0 path, T1 path or locale service path.
- Path string
- The NSX path of the policy resource.
- Policy
Gateway 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.
- List<Policy
Gateway Flood Protection Profile Binding Tag> - A list of scope + tag pairs to associate with this resource.
- Context
Policy
Gateway Flood Protection Profile Binding Context Args - Resource context
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- Parent
Path string - The path of the parent to bind with the profile. This could be either T0 path, T1 path or locale service path.
- Path string
- The NSX path of the policy resource.
- Policy
Gateway 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.
- []Policy
Gateway Flood Protection Profile Binding Tag Args - A list of scope + tag pairs to associate with this resource.
- context
Policy
Gateway Flood Protection Profile Binding Context - Resource context
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- parent
Path String - The path of the parent to bind with the profile. This could be either T0 path, T1 path or locale service path.
- path String
- The NSX path of the policy resource.
- policy
Gateway 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.
- List<Policy
Gateway Flood Protection Profile Binding Tag> - A list of scope + tag pairs to associate with this resource.
- context
Policy
Gateway Flood Protection Profile Binding Context - Resource context
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- parent
Path string - The path of the parent to bind with the profile. This could be either T0 path, T1 path or locale service path.
- path string
- The NSX path of the policy resource.
- policy
Gateway 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.
- Policy
Gateway Flood Protection Profile Binding Tag[] - A list of scope + tag pairs to associate with this resource.
- context
Policy
Gateway Flood Protection Profile Binding Context Args - Resource context
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- parent_
path str - The path of the parent to bind with the profile. This could be either T0 path, T1 path or locale service path.
- path str
- The NSX path of the policy resource.
- policy_
gateway_ 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[Policy
Gateway 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.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- parent
Path String - The path of the parent to bind with the profile. This could be either T0 path, T1 path or locale service path.
- path String
- The NSX path of the policy resource.
- policy
Gateway 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.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
PolicyGatewayFloodProtectionProfileBindingContext, PolicyGatewayFloodProtectionProfileBindingContextArgs
- 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.
PolicyGatewayFloodProtectionProfileBindingTag, PolicyGatewayFloodProtectionProfileBindingTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.