Class: Google::Cloud::BareMetalSolution::V2::Instance

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

Overview

A server.

Defined Under Namespace

Modules: State Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Create a time stamp.

Returns:



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#firmware_version::String (readonly)

Returns Output only. The firmware version for the instance.

Returns:

  • (::String)

    Output only. The firmware version for the instance.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#hyperthreading_enabled::Boolean

Returns True if you enable hyperthreading for the server, otherwise false. The default value is false.

Returns:

  • (::Boolean)

    True if you enable hyperthreading for the server, otherwise false. The default value is false.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#id::String (readonly)

Returns Output only. An identifier for the Instance, generated by the backend.

Returns:

  • (::String)

    Output only. An identifier for the Instance, generated by the backend.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#interactive_serial_console_enabled::Boolean (readonly)

Returns Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.

Returns:

  • (::Boolean)

    Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Labels as key value pairs.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Labels as key value pairs.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

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

Returns List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.

Returns:

  • (::Array<::Google::Cloud::BareMetalSolution::V2::LogicalInterface>)

    List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#login_info::String (readonly)

Returns Output only. Text field about info for logging in.

Returns:

  • (::String)

    Output only. Text field about info for logging in.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#luns::Array<::Google::Cloud::BareMetalSolution::V2::Lun>

Returns Immutable. List of LUNs associated with this server.

Returns:



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#machine_type::String

Returns Immutable. The server type. Available server types.

Returns:



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#name::String

Returns Immutable. The resource name of this Instance. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/instances/{instance}.

Returns:



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#network_template::String

Returns Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of "bond" or "nic".

Returns:

  • (::String)

    Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of "bond" or "nic".



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#networks::Array<::Google::Cloud::BareMetalSolution::V2::Network> (readonly)

Returns Output only. List of networks associated with this server.

Returns:



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#os_image::String

Returns The OS image currently installed on the server.

Returns:

  • (::String)

    The OS image currently installed on the server.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#pod::String

Returns Immutable. Pod name. Pod is an independent part of infrastructure. Instance can be connected to the assets (networks, volumes) allocated in the same pod only.

Returns:

  • (::String)

    Immutable. Pod name. Pod is an independent part of infrastructure. Instance can be connected to the assets (networks, volumes) allocated in the same pod only.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#state::Google::Cloud::BareMetalSolution::V2::Instance::State (readonly)

Returns Output only. The state of the server.

Returns:



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Update a time stamp.

Returns:



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#volumes::Array<::Google::Cloud::BareMetalSolution::V2::Volume>

Returns Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.

Returns:



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end

#workload_profile::Google::Cloud::BareMetalSolution::V2::WorkloadProfile

Returns The workload profile for the instance.

Returns:



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'proto_docs/google/cloud/baremetalsolution/v2/instance.rb', line 102

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The possible states for this server.
  module State
    # The server is in an unknown state.
    STATE_UNSPECIFIED = 0

    # The server is being provisioned.
    PROVISIONING = 1

    # The server is running.
    RUNNING = 2

    # The server has been deleted.
    DELETED = 3

    # The server is being updated.
    UPDATING = 4

    # The server is starting.
    STARTING = 5

    # The server is stopping.
    STOPPING = 6

    # The server is shutdown.
    SHUTDOWN = 7
  end
end