Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate.
Network template.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#applicable_instance_types
def applicable_instance_types() -> ::Array<::String>
Returns
- (::Array<::String>) — Instance types this template is applicable to.
#applicable_instance_types=
def applicable_instance_types=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Instance types this template is applicable to.
Returns
- (::Array<::String>) — Instance types this template is applicable to.
#logical_interfaces
def logical_interfaces() -> ::Array<::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface>
Returns
- (::Array<::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface>) — Logical interfaces.
#logical_interfaces=
def logical_interfaces=(value) -> ::Array<::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface>
Parameter
- value (::Array<::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface>) — Logical interfaces.
Returns
- (::Array<::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface>) — Logical interfaces.
#name
def name() -> ::String
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