VMware Engine v1 API - Class NetworkPeering (1.3.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
NameDescription
otherNetworkPeering

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Creation time of this resource.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

Optional. User-provided description for this network peering.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
bool

HasExchangeSubnetRoutes

public bool HasExchangeSubnetRoutes { get; }

Gets whether the "exchange_subnet_routes" field is set

Property Value
TypeDescription
bool

HasExportCustomRoutes

public bool HasExportCustomRoutes { get; }

Gets whether the "export_custom_routes" field is set

Property Value
TypeDescription
bool

HasExportCustomRoutesWithPublicIp

public bool HasExportCustomRoutesWithPublicIp { get; }

Gets whether the "export_custom_routes_with_public_ip" field is set

Property Value
TypeDescription
bool

HasImportCustomRoutes

public bool HasImportCustomRoutes { get; }

Gets whether the "import_custom_routes" field is set

Property Value
TypeDescription
bool

HasImportCustomRoutesWithPublicIp

public bool HasImportCustomRoutesWithPublicIp { get; }

Gets whether the "import_custom_routes_with_public_ip" field is set

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
string

NetworkPeeringName

public NetworkPeeringName NetworkPeeringName { get; set; }

NetworkPeeringName-typed view over the Name resource name property.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string

PeerNetworkType

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

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

Property Value
TypeDescription
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
TypeDescription
NetworkPeeringTypesState

StateDetails

public string StateDetails { get; set; }

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

Property Value
TypeDescription
string

Uid

public string Uid { get; set; }

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

Property Value
TypeDescription
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Last update time of this resource.

Property Value
TypeDescription
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
TypeDescription
string

VmwareEngineNetworkAsVmwareEngineNetworkName

public VmwareEngineNetworkName VmwareEngineNetworkAsVmwareEngineNetworkName { get; set; }

VmwareEngineNetworkName-typed view over the VmwareEngineNetwork resource name property.

Property Value
TypeDescription
VmwareEngineNetworkName