Class RouterState
Inherited Members
Namespace: Pulumi.OpenStack.Networking
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class RouterState : ResourceArgs
Constructors
View SourceRouterState()
Declaration
public RouterState()
Properties
View SourceAdminStateUp
Administrative up/down status for the router
(must be "true" or "false" if provided). Changing this updates the
admin_state_up of an existing router.
Declaration
public Input<bool> AdminStateUp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
AllTags
The collection of tags assigned on the router, which have been explicitly and implicitly added.
Declaration
public InputList<string> AllTags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AvailabilityZoneHints
An availability zone is used to make network resources highly available. Used for resources with high availability so that they are scheduled on different availability zones. Changing this creates a new router.
Declaration
public InputList<string> AvailabilityZoneHints { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Description
Human-readable description for the router.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Distributed
Indicates whether or not to create a distributed router. The default policy setting in Neutron restricts usage of this property to administrative users only.
Declaration
public Input<bool> Distributed { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EnableSnat
Enable Source NAT for the router. Valid values are
"true" or "false". An external_network_id has to be set in order to
set this property. Changing this updates the enable_snat of the router.
Setting this value requires an ext-gw-mode extension to be enabled
in OpenStack Neutron.
Declaration
public Input<bool> EnableSnat { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
ExternalFixedIps
An external fixed IP for the router. This
can be repeated. The structure is described below. An external_network_id
has to be set in order to set this property. Changing this updates the
external fixed IPs of the router.
Declaration
public InputList<RouterExternalFixedIpGetArgs> ExternalFixedIps { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<RouterExternalFixedIpGetArgs> |
ExternalGateway
The network UUID of an external gateway for the router. A router with an external gateway is required if any compute instances or load balancers will be using floating IPs. Changing this updates the external gateway of an existing router.
Declaration
public Input<string> ExternalGateway { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ExternalNetworkId
The network UUID of an external gateway for the router. A router with an external gateway is required if any compute instances or load balancers will be using floating IPs. Changing this updates the external gateway of the router.
Declaration
public Input<string> ExternalNetworkId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
A unique name for the router. Changing this
updates the name of an existing router.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
The region in which to obtain the V2 networking client.
A networking client is needed to create a router. If omitted, the
region argument of the provider is used. Changing this creates a new
router.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A set of string tags for the router.
Declaration
public InputList<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
TenantId
The owner of the floating IP. Required if admin wants to create a router for another tenant. Changing this creates a new router.
Declaration
public Input<string> TenantId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ValueSpecs
Map of additional driver-specific options.
Declaration
public InputMap<object> ValueSpecs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
VendorOptions
Map of additional vendor-specific options. Supported options are described below.
Declaration
public Input<RouterVendorOptionsGetArgs> VendorOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<RouterVendorOptionsGetArgs> |