nsxt.LogicalRouterCentralizedServicePort
Explore with Pulumi AI
Create LogicalRouterCentralizedServicePort Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogicalRouterCentralizedServicePort(name: string, args: LogicalRouterCentralizedServicePortArgs, opts?: CustomResourceOptions);
@overload
def LogicalRouterCentralizedServicePort(resource_name: str,
args: LogicalRouterCentralizedServicePortArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LogicalRouterCentralizedServicePort(resource_name: str,
opts: Optional[ResourceOptions] = None,
ip_address: Optional[str] = None,
linked_logical_switch_port_id: Optional[str] = None,
logical_router_id: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
logical_router_centralized_service_port_id: Optional[str] = None,
tags: Optional[Sequence[LogicalRouterCentralizedServicePortTagArgs]] = None,
urpf_mode: Optional[str] = None)
func NewLogicalRouterCentralizedServicePort(ctx *Context, name string, args LogicalRouterCentralizedServicePortArgs, opts ...ResourceOption) (*LogicalRouterCentralizedServicePort, error)
public LogicalRouterCentralizedServicePort(string name, LogicalRouterCentralizedServicePortArgs args, CustomResourceOptions? opts = null)
public LogicalRouterCentralizedServicePort(String name, LogicalRouterCentralizedServicePortArgs args)
public LogicalRouterCentralizedServicePort(String name, LogicalRouterCentralizedServicePortArgs args, CustomResourceOptions options)
type: nsxt:LogicalRouterCentralizedServicePort
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 LogicalRouterCentralizedServicePortArgs
- 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 LogicalRouterCentralizedServicePortArgs
- 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 LogicalRouterCentralizedServicePortArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogicalRouterCentralizedServicePortArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LogicalRouterCentralizedServicePortArgs
- 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 logicalRouterCentralizedServicePortResource = new Nsxt.LogicalRouterCentralizedServicePort("logicalRouterCentralizedServicePortResource", new()
{
IpAddress = "string",
LinkedLogicalSwitchPortId = "string",
LogicalRouterId = "string",
Description = "string",
DisplayName = "string",
LogicalRouterCentralizedServicePortId = "string",
Tags = new[]
{
new Nsxt.Inputs.LogicalRouterCentralizedServicePortTagArgs
{
Scope = "string",
Tag = "string",
},
},
UrpfMode = "string",
});
example, err := nsxt.NewLogicalRouterCentralizedServicePort(ctx, "logicalRouterCentralizedServicePortResource", &nsxt.LogicalRouterCentralizedServicePortArgs{
IpAddress: pulumi.String("string"),
LinkedLogicalSwitchPortId: pulumi.String("string"),
LogicalRouterId: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
LogicalRouterCentralizedServicePortId: pulumi.String("string"),
Tags: nsxt.LogicalRouterCentralizedServicePortTagArray{
&nsxt.LogicalRouterCentralizedServicePortTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
UrpfMode: pulumi.String("string"),
})
var logicalRouterCentralizedServicePortResource = new LogicalRouterCentralizedServicePort("logicalRouterCentralizedServicePortResource", LogicalRouterCentralizedServicePortArgs.builder()
.ipAddress("string")
.linkedLogicalSwitchPortId("string")
.logicalRouterId("string")
.description("string")
.displayName("string")
.logicalRouterCentralizedServicePortId("string")
.tags(LogicalRouterCentralizedServicePortTagArgs.builder()
.scope("string")
.tag("string")
.build())
.urpfMode("string")
.build());
logical_router_centralized_service_port_resource = nsxt.LogicalRouterCentralizedServicePort("logicalRouterCentralizedServicePortResource",
ip_address="string",
linked_logical_switch_port_id="string",
logical_router_id="string",
description="string",
display_name="string",
logical_router_centralized_service_port_id="string",
tags=[{
"scope": "string",
"tag": "string",
}],
urpf_mode="string")
const logicalRouterCentralizedServicePortResource = new nsxt.LogicalRouterCentralizedServicePort("logicalRouterCentralizedServicePortResource", {
ipAddress: "string",
linkedLogicalSwitchPortId: "string",
logicalRouterId: "string",
description: "string",
displayName: "string",
logicalRouterCentralizedServicePortId: "string",
tags: [{
scope: "string",
tag: "string",
}],
urpfMode: "string",
});
type: nsxt:LogicalRouterCentralizedServicePort
properties:
description: string
displayName: string
ipAddress: string
linkedLogicalSwitchPortId: string
logicalRouterCentralizedServicePortId: string
logicalRouterId: string
tags:
- scope: string
tag: string
urpfMode: string
LogicalRouterCentralizedServicePort 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 LogicalRouterCentralizedServicePort resource accepts the following input properties:
- Ip
Address string - Logical router port subnet (ip_address / prefix length)
- Linked
Logical stringSwitch Port Id - Identifier for port on logical switch to connect to
- Logical
Router stringId - Identifier for logical Tier-0 or Tier-1 router on which this port is created
- Description string
- Description of the resource.
- Display
Name string - Display name, defaults to ID if not set.
- Logical
Router stringCentralized Service Port Id - ID of the logical router centralized service port.
- List<Logical
Router Centralized Service Port Tag> - A list of scope + tag pairs to associate with this port.
- Urpf
Mode string - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- Ip
Address string - Logical router port subnet (ip_address / prefix length)
- Linked
Logical stringSwitch Port Id - Identifier for port on logical switch to connect to
- Logical
Router stringId - Identifier for logical Tier-0 or Tier-1 router on which this port is created
- Description string
- Description of the resource.
- Display
Name string - Display name, defaults to ID if not set.
- Logical
Router stringCentralized Service Port Id - ID of the logical router centralized service port.
- []Logical
Router Centralized Service Port Tag Args - A list of scope + tag pairs to associate with this port.
- Urpf
Mode string - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- ip
Address String - Logical router port subnet (ip_address / prefix length)
- linked
Logical StringSwitch Port Id - Identifier for port on logical switch to connect to
- logical
Router StringId - Identifier for logical Tier-0 or Tier-1 router on which this port is created
- description String
- Description of the resource.
- display
Name String - Display name, defaults to ID if not set.
- logical
Router StringCentralized Service Port Id - ID of the logical router centralized service port.
- List<Logical
Router Centralized Service Port Tag> - A list of scope + tag pairs to associate with this port.
- urpf
Mode String - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- ip
Address string - Logical router port subnet (ip_address / prefix length)
- linked
Logical stringSwitch Port Id - Identifier for port on logical switch to connect to
- logical
Router stringId - Identifier for logical Tier-0 or Tier-1 router on which this port is created
- description string
- Description of the resource.
- display
Name string - Display name, defaults to ID if not set.
- logical
Router stringCentralized Service Port Id - ID of the logical router centralized service port.
- Logical
Router Centralized Service Port Tag[] - A list of scope + tag pairs to associate with this port.
- urpf
Mode string - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- ip_
address str - Logical router port subnet (ip_address / prefix length)
- linked_
logical_ strswitch_ port_ id - Identifier for port on logical switch to connect to
- logical_
router_ strid - Identifier for logical Tier-0 or Tier-1 router on which this port is created
- description str
- Description of the resource.
- display_
name str - Display name, defaults to ID if not set.
- logical_
router_ strcentralized_ service_ port_ id - ID of the logical router centralized service port.
- Sequence[Logical
Router Centralized Service Port Tag Args] - A list of scope + tag pairs to associate with this port.
- urpf_
mode str - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- ip
Address String - Logical router port subnet (ip_address / prefix length)
- linked
Logical StringSwitch Port Id - Identifier for port on logical switch to connect to
- logical
Router StringId - Identifier for logical Tier-0 or Tier-1 router on which this port is created
- description String
- Description of the resource.
- display
Name String - Display name, defaults to ID if not set.
- logical
Router StringCentralized Service Port Id - ID of the logical router centralized service port.
- List<Property Map>
- A list of scope + tag pairs to associate with this port.
- urpf
Mode String - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
Outputs
All input properties are implicitly available as output properties. Additionally, the LogicalRouterCentralizedServicePort resource produces the following output properties:
Look up Existing LogicalRouterCentralizedServicePort Resource
Get an existing LogicalRouterCentralizedServicePort 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?: LogicalRouterCentralizedServicePortState, opts?: CustomResourceOptions): LogicalRouterCentralizedServicePort
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
ip_address: Optional[str] = None,
linked_logical_switch_port_id: Optional[str] = None,
logical_router_centralized_service_port_id: Optional[str] = None,
logical_router_id: Optional[str] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[LogicalRouterCentralizedServicePortTagArgs]] = None,
urpf_mode: Optional[str] = None) -> LogicalRouterCentralizedServicePort
func GetLogicalRouterCentralizedServicePort(ctx *Context, name string, id IDInput, state *LogicalRouterCentralizedServicePortState, opts ...ResourceOption) (*LogicalRouterCentralizedServicePort, error)
public static LogicalRouterCentralizedServicePort Get(string name, Input<string> id, LogicalRouterCentralizedServicePortState? state, CustomResourceOptions? opts = null)
public static LogicalRouterCentralizedServicePort get(String name, Output<String> id, LogicalRouterCentralizedServicePortState state, CustomResourceOptions options)
resources: _: type: nsxt:LogicalRouterCentralizedServicePort 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, defaults to ID if not set.
- Ip
Address string - Logical router port subnet (ip_address / prefix length)
- Linked
Logical stringSwitch Port Id - Identifier for port on logical switch to connect to
- Logical
Router stringCentralized Service Port Id - ID of the logical router centralized service port.
- Logical
Router stringId - Identifier for logical Tier-0 or Tier-1 router on which this port is created
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Logical
Router Centralized Service Port Tag> - A list of scope + tag pairs to associate with this port.
- Urpf
Mode string - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- Description string
- Description of the resource.
- Display
Name string - Display name, defaults to ID if not set.
- Ip
Address string - Logical router port subnet (ip_address / prefix length)
- Linked
Logical stringSwitch Port Id - Identifier for port on logical switch to connect to
- Logical
Router stringCentralized Service Port Id - ID of the logical router centralized service port.
- Logical
Router stringId - Identifier for logical Tier-0 or Tier-1 router on which this port is created
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- []Logical
Router Centralized Service Port Tag Args - A list of scope + tag pairs to associate with this port.
- Urpf
Mode string - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- description String
- Description of the resource.
- display
Name String - Display name, defaults to ID if not set.
- ip
Address String - Logical router port subnet (ip_address / prefix length)
- linked
Logical StringSwitch Port Id - Identifier for port on logical switch to connect to
- logical
Router StringCentralized Service Port Id - ID of the logical router centralized service port.
- logical
Router StringId - Identifier for logical Tier-0 or Tier-1 router on which this port is created
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Logical
Router Centralized Service Port Tag> - A list of scope + tag pairs to associate with this port.
- urpf
Mode String - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- description string
- Description of the resource.
- display
Name string - Display name, defaults to ID if not set.
- ip
Address string - Logical router port subnet (ip_address / prefix length)
- linked
Logical stringSwitch Port Id - Identifier for port on logical switch to connect to
- logical
Router stringCentralized Service Port Id - ID of the logical router centralized service port.
- logical
Router stringId - Identifier for logical Tier-0 or Tier-1 router on which this port is created
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Logical
Router Centralized Service Port Tag[] - A list of scope + tag pairs to associate with this port.
- urpf
Mode string - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- description str
- Description of the resource.
- display_
name str - Display name, defaults to ID if not set.
- ip_
address str - Logical router port subnet (ip_address / prefix length)
- linked_
logical_ strswitch_ port_ id - Identifier for port on logical switch to connect to
- logical_
router_ strcentralized_ service_ port_ id - ID of the logical router centralized service port.
- logical_
router_ strid - Identifier for logical Tier-0 or Tier-1 router on which this port is created
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sequence[Logical
Router Centralized Service Port Tag Args] - A list of scope + tag pairs to associate with this port.
- urpf_
mode str - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
- description String
- Description of the resource.
- display
Name String - Display name, defaults to ID if not set.
- ip
Address String - Logical router port subnet (ip_address / prefix length)
- linked
Logical StringSwitch Port Id - Identifier for port on logical switch to connect to
- logical
Router StringCentralized Service Port Id - ID of the logical router centralized service port.
- logical
Router StringId - Identifier for logical Tier-0 or Tier-1 router on which this port is created
- 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 port.
- urpf
Mode String - Unicast Reverse Path Forwarding mode. Accepted values are "NONE" and "STRICT" which is the default value.
Supporting Types
LogicalRouterCentralizedServicePortTag, LogicalRouterCentralizedServicePortTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.