Class RouterPeerState
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class RouterPeerState : ResourceArgs
Constructors
View SourceRouterPeerState()
Declaration
public RouterPeerState()
Properties
View SourceAdvertisedGroups
User-specified list of prefix groups to advertise in custom mode, which can take one of the following options:
ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets.ALL_VPC_SUBNETS: Advertises the router's own VPC subnets.ALL_PEER_VPC_SUBNETS: Advertises peer subnets of the router's VPC network.
Declaration
public InputList<string> AdvertisedGroups { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AdvertisedIpRanges
User-specified list of individual IP ranges to advertise in
custom mode. This field can only be populated if advertiseMode
is CUSTOM and is advertised to all peers of the router. These IP
ranges will be advertised in addition to any specified groups.
Leave this field blank to advertise no custom IP ranges. Structure is documented below.
Declaration
public InputList<RouterPeerAdvertisedIpRangeGetArgs> AdvertisedIpRanges { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<RouterPeerAdvertisedIpRangeGetArgs> |
AdvertisedRoutePriority
The priority of routes advertised to this BGP peer. Where there is more than one matching route of maximum length, the routes with the lowest priority value win.
Declaration
public Input<int> AdvertisedRoutePriority { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
AdvertiseMode
User-specified flag to indicate which mode to use for advertisement.
Valid values of this enum field are: DEFAULT, CUSTOM
Declaration
public Input<string> AdvertiseMode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Interface
Name of the interface the BGP peer is associated with.
Declaration
public Input<string> Interface { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IpAddress
IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
Declaration
public Input<string> IpAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ManagementType
The resource that configures and manages this BGP peer. * 'MANAGED_BY_USER' is the default value and can be managed by you or other users * 'MANAGED_BY_ATTACHMENT' is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted.
Declaration
public Input<string> ManagementType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
Name of this BGP peer. The name must be 1-63 characters long,
and comply with RFC1035. Specifically, the name must be 1-63 characters
long and match the regular expression a-z? which
means the first character must be a lowercase letter, and all
following characters must be a dash, lowercase letter, or digit,
except the last character, which cannot be a dash.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PeerAsn
Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.
Declaration
public Input<int> PeerAsn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
PeerIpAddress
IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
Declaration
public Input<string> PeerIpAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
Region where the router and BgpPeer reside. If it is not provided, the provider region is used.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Router
The name of the Cloud Router in which this BgpPeer will be configured.
Declaration
public Input<string> Router { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |