VMware Engine v1 API - Class NetworkPeering (1.5.0)

public sealed class NetworkPeering : IMessage<NetworkPeering>, IEquatable<NetworkPeering>, IDeepCloneable<NetworkPeering>, IBufferMessage, IMessage

Reference documentation and code samples for the VMware Engine v1 API class NetworkPeering.

Details of a network peering.

Inheritance

object > NetworkPeering

Namespace

Google.Cloud.VmwareEngine.V1

Assembly

Google.Cloud.VmwareEngine.V1.dll

Constructors

NetworkPeering()

public NetworkPeering()

NetworkPeering(NetworkPeering)

public NetworkPeering(NetworkPeering other)
Parameter
Name Description
other NetworkPeering

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Creation time of this resource.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

Optional. User-provided description for this network peering.

Property Value
Type Description
string

ExchangeSubnetRoutes

public bool ExchangeSubnetRoutes { get; set; }

Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is 'ACTIVE'.

Property Value
Type Description
bool

ExportCustomRoutes

public bool ExportCustomRoutes { get; set; }

Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.

Property Value
Type Description
bool

ExportCustomRoutesWithPublicIp

public bool ExportCustomRoutesWithPublicIp { get; set; }

Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.

Property Value
Type Description
bool

HasExchangeSubnetRoutes

public bool HasExchangeSubnetRoutes { get; }

Gets whether the "exchange_subnet_routes" field is set

Property Value
Type Description
bool

HasExportCustomRoutes

public bool HasExportCustomRoutes { get; }

Gets whether the "export_custom_routes" field is set

Property Value
Type Description
bool

HasExportCustomRoutesWithPublicIp

public bool HasExportCustomRoutesWithPublicIp { get; }

Gets whether the "export_custom_routes_with_public_ip" field is set

Property Value
Type Description
bool

HasImportCustomRoutes

public bool HasImportCustomRoutes { get; }

Gets whether the "import_custom_routes" field is set

Property Value
Type Description
bool

HasImportCustomRoutesWithPublicIp

public bool HasImportCustomRoutesWithPublicIp { get; }

Gets whether the "import_custom_routes_with_public_ip" field is set

Property Value
Type Description
bool

ImportCustomRoutes

public bool ImportCustomRoutes { get; set; }

Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.

Property Value
Type Description
bool

ImportCustomRoutesWithPublicIp

public bool ImportCustomRoutesWithPublicIp { get; set; }

Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.

Property Value
Type Description
bool

Name

public string Name { get; set; }

Output only. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

Property Value
Type Description
string

NetworkPeeringName

public NetworkPeeringName NetworkPeeringName { get; set; }

NetworkPeeringName-typed view over the Name resource name property.

Property Value
Type Description
NetworkPeeringName

PeerMtu

public int PeerMtu { get; set; }

Optional. Maximum transmission unit (MTU) in bytes. The default value is 1500. If a value of 0 is provided for this field, VMware Engine uses the default value instead.

Property Value
Type Description
int

PeerNetwork

public string PeerNetwork { get; set; }

Required. The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the peer_network_type is VMWARE_ENGINE_NETWORK, specify the name in the form: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. Otherwise specify the name in the form: projects/{project}/global/networks/{network_id}, where {project} can either be a project number or a project ID.

Property Value
Type Description
string

PeerNetworkType

public NetworkPeering.Types.PeerNetworkType PeerNetworkType { get; set; }

Required. The type of the network to peer with the VMware Engine network.

Property Value
Type Description
NetworkPeeringTypesPeerNetworkType

State

public NetworkPeering.Types.State State { get; set; }

Output only. State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.

Property Value
Type Description
NetworkPeeringTypesState

StateDetails

public string StateDetails { get; set; }

Output only. Output Only. Details about the current state of the network peering.

Property Value
Type Description
string

Uid

public string Uid { get; set; }

Output only. System-generated unique identifier for the resource.

Property Value
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Last update time of this resource.

Property Value
Type Description
Timestamp

VmwareEngineNetwork

public string VmwareEngineNetwork { get; set; }

Required. The relative resource name of the VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.

Property Value
Type Description
string

VmwareEngineNetworkAsVmwareEngineNetworkName

public VmwareEngineNetworkName VmwareEngineNetworkAsVmwareEngineNetworkName { get; set; }

VmwareEngineNetworkName-typed view over the VmwareEngineNetwork resource name property.

Property Value
Type Description
VmwareEngineNetworkName