Class: Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/baremetalsolution/v2/instance.rb

Overview

Network template.

Defined Under Namespace

Classes: LogicalInterface

Instance Attribute Summary collapse

Instance Attribute Details

#applicable_instance_types::Array<::String>

Returns Instance types this template is applicable to.

Returns:

  • (::Array<::String>)

    Instance types this template is applicable to.



316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 316

class ServerNetworkTemplate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Logical interface.
  # @!attribute [rw] name
  #   @return [::String]
  #     Interface name.
  #     This is not a globally unique identifier.
  #     Name is unique only inside the ServerNetworkTemplate. This is of syntax
  #     <bond><interface_type_index><bond_mode> or <nic><interface_type_index>
  #     and forms part of the network template name.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface::InterfaceType]
  #     Interface type.
  # @!attribute [rw] required
  #   @return [::Boolean]
  #     If true, interface must have network connected.
  class LogicalInterface
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Interface type.
    module InterfaceType
      # Unspecified value.
      INTERFACE_TYPE_UNSPECIFIED = 0

      # Bond interface type.
      BOND = 1

      # NIC interface type.
      NIC = 2
    end
  end
end

#logical_interfaces::Array<::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface>

Returns Logical interfaces.



316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 316

class ServerNetworkTemplate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Logical interface.
  # @!attribute [rw] name
  #   @return [::String]
  #     Interface name.
  #     This is not a globally unique identifier.
  #     Name is unique only inside the ServerNetworkTemplate. This is of syntax
  #     <bond><interface_type_index><bond_mode> or <nic><interface_type_index>
  #     and forms part of the network template name.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface::InterfaceType]
  #     Interface type.
  # @!attribute [rw] required
  #   @return [::Boolean]
  #     If true, interface must have network connected.
  class LogicalInterface
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Interface type.
    module InterfaceType
      # Unspecified value.
      INTERFACE_TYPE_UNSPECIFIED = 0

      # Bond interface type.
      BOND = 1

      # NIC interface type.
      NIC = 2
    end
  end
end

#name::String (readonly)

Returns Output only. Template's unique name. The full resource name follows the pattern: projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template} Generally, the {server_network_template} follows the syntax of "bond" or "nic".

Returns:

  • (::String)

    Output only. Template's unique name. The full resource name follows the pattern: projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template} Generally, the {server_network_template} follows the syntax of "bond" or "nic".



316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 316

class ServerNetworkTemplate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Logical interface.
  # @!attribute [rw] name
  #   @return [::String]
  #     Interface name.
  #     This is not a globally unique identifier.
  #     Name is unique only inside the ServerNetworkTemplate. This is of syntax
  #     <bond><interface_type_index><bond_mode> or <nic><interface_type_index>
  #     and forms part of the network template name.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface::InterfaceType]
  #     Interface type.
  # @!attribute [rw] required
  #   @return [::Boolean]
  #     If true, interface must have network connected.
  class LogicalInterface
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Interface type.
    module InterfaceType
      # Unspecified value.
      INTERFACE_TYPE_UNSPECIFIED = 0

      # Bond interface type.
      BOND = 1

      # NIC interface type.
      NIC = 2
    end
  end
end