Bare Metal Solution v2 API - Class NetworkConfig (1.5.0)

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

Reference documentation and code samples for the Bare Metal Solution v2 API class NetworkConfig.

Configuration parameters for a new network.

Inheritance

object > NetworkConfig

Namespace

Google.Cloud.BareMetalSolution.V2

Assembly

Google.Cloud.BareMetalSolution.V2.dll

Constructors

NetworkConfig()

public NetworkConfig()

NetworkConfig(NetworkConfig)

public NetworkConfig(NetworkConfig other)
Parameter
NameDescription
otherNetworkConfig

Properties

Bandwidth

public NetworkConfig.Types.Bandwidth Bandwidth { get; set; }

Interconnect bandwidth. Set only when type is CLIENT.

Property Value
TypeDescription
NetworkConfigTypesBandwidth

Cidr

public string Cidr { get; set; }

CIDR range of the network.

Property Value
TypeDescription
string

GcpService

public string GcpService { get; set; }

The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.

Property Value
TypeDescription
string

Id

public string Id { get; set; }

A transient unique identifier to identify a volume within an ProvisioningConfig request.

Property Value
TypeDescription
string

JumboFramesEnabled

public bool JumboFramesEnabled { get; set; }

The JumboFramesEnabled option for customer to set.

Property Value
TypeDescription
bool

Name

public string Name { get; set; }

Output only. The name of the network config.

Property Value
TypeDescription
string

NetworkConfigName

public NetworkConfigName NetworkConfigName { get; set; }

NetworkConfigName-typed view over the Name resource name property.

Property Value
TypeDescription
NetworkConfigName

ServiceCidr

public NetworkConfig.Types.ServiceCidr ServiceCidr { get; set; }

Service CIDR, if any.

Property Value
TypeDescription
NetworkConfigTypesServiceCidr

Type

public NetworkConfig.Types.Type Type { get; set; }

The type of this network, either Client or Private.

Property Value
TypeDescription
NetworkConfigTypesType

UserNote

public string UserNote { get; set; }

User note field, it can be used by customers to add additional information for the BMS Ops team .

Property Value
TypeDescription
string

VlanAttachments

public RepeatedField<NetworkConfig.Types.IntakeVlanAttachment> VlanAttachments { get; }

List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).

Property Value
TypeDescription
RepeatedFieldNetworkConfigTypesIntakeVlanAttachment

VlanSameProject

public bool VlanSameProject { get; set; }

Whether the VLAN attachment pair is located in the same project.

Property Value
TypeDescription
bool