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.
Implements
IMessageNetworkConfig, IEquatableNetworkConfig, IDeepCloneableNetworkConfig, IBufferMessage, IMessageNamespace
Google.Cloud.BareMetalSolution.V2Assembly
Google.Cloud.BareMetalSolution.V2.dll
Constructors
NetworkConfig()
public NetworkConfig()
NetworkConfig(NetworkConfig)
public NetworkConfig(NetworkConfig other)
Parameter | |
---|---|
Name | Description |
other | NetworkConfig |
Properties
Bandwidth
public NetworkConfig.Types.Bandwidth Bandwidth { get; set; }
Interconnect bandwidth. Set only when type is CLIENT.
Property Value | |
---|---|
Type | Description |
NetworkConfigTypesBandwidth |
Cidr
public string Cidr { get; set; }
CIDR range of the network.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
Id
public string Id { get; set; }
A transient unique identifier to identify a volume within an ProvisioningConfig request.
Property Value | |
---|---|
Type | Description |
string |
JumboFramesEnabled
public bool JumboFramesEnabled { get; set; }
The JumboFramesEnabled option for customer to set.
Property Value | |
---|---|
Type | Description |
bool |
Name
public string Name { get; set; }
Output only. The name of the network config.
Property Value | |
---|---|
Type | Description |
string |
NetworkConfigName
public NetworkConfigName NetworkConfigName { get; set; }
NetworkConfigName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
NetworkConfigName |
ServiceCidr
public NetworkConfig.Types.ServiceCidr ServiceCidr { get; set; }
Service CIDR, if any.
Property Value | |
---|---|
Type | Description |
NetworkConfigTypesServiceCidr |
Type
public NetworkConfig.Types.Type Type { get; set; }
The type of this network, either Client or Private.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RepeatedFieldNetworkConfigTypesIntakeVlanAttachment |
VlanSameProject
public bool VlanSameProject { get; set; }
Whether the VLAN attachment pair is located in the same project.
Property Value | |
---|---|
Type | Description |
bool |