Index
BareMetalSolution
(interface)CreateInstanceRequest
(message)CreateNfsShareRequest
(message)CreateVolumeSnapshotRequest
(message)DeleteNfsShareRequest
(message)DeleteVolumeSnapshotRequest
(message)DetachLunRequest
(message)EvictLunRequest
(message)EvictVolumeRequest
(message)GetInstanceRequest
(message)GetLunRequest
(message)GetNetworkRequest
(message)GetNfsShareRequest
(message)GetVolumeRequest
(message)GetVolumeSnapshotRequest
(message)Instance
(message)Instance.State
(enum)ListInstancesRequest
(message)ListInstancesResponse
(message)ListLunsRequest
(message)ListLunsResponse
(message)ListNetworksRequest
(message)ListNetworksResponse
(message)ListNfsSharesRequest
(message)ListNfsSharesResponse
(message)ListVolumeSnapshotsRequest
(message)ListVolumeSnapshotsResponse
(message)ListVolumesRequest
(message)ListVolumesResponse
(message)LogicalInterface
(message)LogicalInterface.LogicalNetworkInterface
(message)Lun
(message)Lun.MultiprotocolType
(enum)Lun.State
(enum)Lun.StorageType
(enum)Network
(message)Network.State
(enum)Network.Type
(enum)NetworkAddressReservation
(message)NetworkMountPoint
(message)NfsShare
(message)NfsShare.AllowedClient
(message)NfsShare.MountPermissions
(enum)NfsShare.State
(enum)NfsShare.StorageType
(enum)OperationMetadata
(message)RenameInstanceRequest
(message)ResetInstanceRequest
(message)RestoreVolumeSnapshotRequest
(message)StartInstanceRequest
(message)StopInstanceRequest
(message)UpdateInstanceRequest
(message)UpdateNetworkRequest
(message)UpdateNfsShareRequest
(message)UpdateVolumeRequest
(message)VRF
(message)VRF.QosPolicy
(message)VRF.State
(enum)VRF.VlanAttachment
(message)Volume
(message)Volume.Protocol
(enum)Volume.SnapshotAutoDeleteBehavior
(enum)Volume.SnapshotReservationDetail
(message)Volume.State
(enum)Volume.StorageType
(enum)Volume.WorkloadProfile
(enum)VolumePerformanceTier
(enum)VolumeSnapshot
(message)VolumeSnapshot.SnapshotType
(enum)WorkloadProfile
(enum)
BareMetalSolution
Performs management operations on Bare Metal Solution servers.
The baremetalsolution.googleapis.com
service provides management capabilities for Bare Metal Solution servers. To access the API methods, you must assign Bare Metal Solution IAM roles containing the desired permissions to your staff in your Google Cloud project. You must also enable the Bare Metal Solution API. Once enabled, the methods act upon specific servers in your Bare Metal Solution environment.
CreateInstance |
---|
Create an Instance.
|
CreateVolumeSnapshot |
---|
Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
|
DeleteVolumeSnapshot |
---|
Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.
|
DetachLun |
---|
Detach LUN from Instance.
|
EvictLun |
---|
Skips lun's cooloff and deletes it now. Lun must be in cooloff state.
|
EvictVolume |
---|
Skips volume's cooloff and deletes it now. Volume must be in cooloff state.
|
GetInstance |
---|
Get details about a single server.
|
GetLun |
---|
Get details of a single storage logical unit number(LUN).
|
GetNetwork |
---|
Get details of a single network.
|
GetOperation |
---|
Get details about an operation.
|
GetVolume |
---|
Get details of a single storage volume.
|
GetVolumeSnapshot |
---|
Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.
|
ListInstances |
---|
List servers in a given project and location.
|
ListLuns |
---|
List storage volume luns for given storage volume.
|
ListNetworks |
---|
List network in a given project and location.
|
ListVolumeSnapshots |
---|
Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume.
|
ListVolumes |
---|
List storage volumes in a given project and location.
|
RenameInstance |
---|
RenameInstance sets a new name for an instance.
|
ResetInstance |
---|
Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.
|
RestoreVolumeSnapshot |
---|
Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.
|
StartInstance |
---|
Starts a server that was shutdown.
|
StopInstance |
---|
Stop a running server.
|
UpdateInstance |
---|
Update details of a single server.
|
UpdateNetwork |
---|
Update details of a single network.
|
UpdateVolume |
---|
Update details of a single storage volume.
|
CreateInstanceRequest
Message to create a server.
Fields | |
---|---|
parent |
Required. The parent project and location. |
instance |
Required. The instance to create. |
CreateVolumeSnapshotRequest
Message for creating a volume snapshot.
Fields | |
---|---|
parent |
Required. The volume to snapshot. |
volume_snapshot |
Required. The snapshot to create. |
DeleteVolumeSnapshotRequest
Message for deleting named Volume snapshot.
Fields | |
---|---|
name |
Required. The name of the snapshot to delete. |
DetachLunRequest
Message for detach specific LUN from an Instance.
Fields | |
---|---|
instance |
Required. Name of the instance. |
lun |
Required. Name of the Lun to detach. |
skip_reboot |
If true, performs lun unmapping without instance reboot. |
EvictLunRequest
Request for skip lun cooloff and delete it.
Fields | |
---|---|
name |
Required. The name of the lun. |
EvictVolumeRequest
Request for skip volume cooloff and delete it.
Fields | |
---|---|
name |
Required. The name of the Volume. |
GetInstanceRequest
Message for requesting server information.
Fields | |
---|---|
name |
Required. Name of the resource. |
GetLunRequest
Message for requesting storage lun information.
Fields | |
---|---|
name |
Required. Name of the resource. |
GetNetworkRequest
Message for requesting network information.
Fields | |
---|---|
name |
Required. Name of the resource. |
GetVolumeRequest
Message for requesting storage volume information.
Fields | |
---|---|
name |
Required. Name of the resource. |
GetVolumeSnapshotRequest
Message for requesting volume snapshot information.
Fields | |
---|---|
name |
Required. The name of the snapshot. |
Instance
A server.
Fields | |
---|---|
name |
Immutable. The resource name of this |
id |
Output only. An identifier for the |
create_time |
Output only. Create a time stamp. |
update_time |
Output only. Update a time stamp. |
machine_type |
Immutable. The server type. Available server types |
state |
Output only. The state of the server. |
hyperthreading_enabled |
True if you enable hyperthreading for the server, otherwise false. The default value is false. |
labels |
Labels as key value pairs. |
luns[] |
Immutable. List of LUNs associated with this server. |
volumes[] |
Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses. |
networks[] |
Output only. List of networks associated with this server. |
interactive_serial_console_enabled |
Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false. |
os_image |
The OS image currently installed on the server. |
pod |
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. |
network_template |
Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of "bond |
logical_interfaces[] |
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. |
login_info |
Output only. Text field about info for logging in. |
workload_profile |
The workload profile for the instance. |
firmware_version |
Output only. The firmware version for the instance. |
State
The possible states for this server.
Enums | |
---|---|
STATE_UNSPECIFIED |
The server is in an unknown state. |
PROVISIONING |
The server is being provisioned. |
RUNNING |
The server is running. |
DELETED |
The server has been deleted. |
UPDATING |
The server is being updated. |
STARTING |
The server is starting. |
STOPPING |
The server is stopping. |
SHUTDOWN |
The server is shutdown. |
ListInstancesRequest
Message for requesting the list of servers.
Fields | |
---|---|
parent |
Required. Parent value for ListInstancesRequest. |
page_size |
Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default. |
page_token |
A token identifying a page of results from the server. |
filter |
List filter. |
ListInstancesResponse
Response message for the list of servers.
Fields | |
---|---|
instances[] |
The list of servers. |
next_page_token |
A token identifying a page of results from the server. |
unreachable[] |
Locations that could not be reached. |
ListLunsRequest
Message for requesting a list of storage volume luns.
Fields | |
---|---|
parent |
Required. Parent value for ListLunsRequest. |
page_size |
Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default. |
page_token |
A token identifying a page of results from the server. |
ListLunsResponse
Response message containing the list of storage volume luns.
Fields | |
---|---|
luns[] |
The list of luns. |
next_page_token |
A token identifying a page of results from the server. |
unreachable[] |
Locations that could not be reached. |
ListNetworksRequest
Message for requesting a list of networks.
Fields | |
---|---|
parent |
Required. Parent value for ListNetworksRequest. |
page_size |
Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default. |
page_token |
A token identifying a page of results from the server. |
filter |
List filter. |
ListNetworksResponse
Response message containing the list of networks.
Fields | |
---|---|
networks[] |
The list of networks. |
next_page_token |
A token identifying a page of results from the server. |
unreachable[] |
Locations that could not be reached. |
ListVolumeSnapshotsRequest
Message for requesting a list of volume snapshots.
Fields | |
---|---|
parent |
Required. Parent value for ListVolumesRequest. |
page_size |
Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default. |
page_token |
A token identifying a page of results from the server. |
ListVolumeSnapshotsResponse
Response message containing the list of volume snapshots.
Fields | |
---|---|
volume_snapshots[] |
The list of snapshots. |
next_page_token |
A token identifying a page of results from the server. |
unreachable[] |
Locations that could not be reached. |
ListVolumesRequest
Message for requesting a list of storage volumes.
Fields | |
---|---|
parent |
Required. Parent value for ListVolumesRequest. |
page_size |
Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default. |
page_token |
A token identifying a page of results from the server. |
filter |
List filter. |
ListVolumesResponse
Response message containing the list of storage volumes.
Fields | |
---|---|
volumes[] |
The list of storage volumes. |
next_page_token |
A token identifying a page of results from the server. |
unreachable[] |
Locations that could not be reached. |
LogicalInterface
Each logical interface represents a logical abstraction of the underlying physical interface (for eg. bond, nic) of the instance. Each logical interface can effectively map to multiple network-IP pairs and still be mapped to one underlying physical interface.
Fields | |
---|---|
logical_network_interfaces[] |
List of logical network interfaces within a logical interface. |
name |
Interface name. This is of syntax |
interface_index |
The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template. This field is deprecated. |
LogicalNetworkInterface
Each logical network interface is effectively a network and IP pair.
Fields | |
---|---|
network |
Name of the network |
ip_address |
IP address in the network |
default_gateway |
Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance. |
network_type |
Type of network. |
id |
An identifier for the |
Lun
A storage volume logical unit number (LUN).
Fields | |
---|---|
name |
Output only. The name of the LUN. |
id |
An identifier for the LUN, generated by the backend. |
state |
The state of this storage volume. |
size_gb |
The size of this LUN, in gigabytes. |
multiprotocol_type |
The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system. |
storage_volume |
Display the storage volume for this LUN. |
shareable |
Display if this LUN can be shared between multiple physical servers. |
boot_lun |
Display if this LUN is a boot LUN. |
storage_type |
The storage type for this LUN. |
wwid |
The WWID for this LUN. |
expire_time |
Output only. Time after which LUN will be fully deleted. It is filled only for LUNs in COOL_OFF state. |
MultiprotocolType
Display the operating systems present for the LUN multiprotocol type.
Enums | |
---|---|
MULTIPROTOCOL_TYPE_UNSPECIFIED |
Server has no OS specified. |
LINUX |
Server with Linux OS. |
State
The possible states for the LUN.
Enums | |
---|---|
STATE_UNSPECIFIED |
The LUN is in an unknown state. |
CREATING |
The LUN is being created. |
UPDATING |
The LUN is being updated. |
READY |
The LUN is ready for use. |
DELETING |
The LUN has been requested to be deleted. |
COOL_OFF |
The LUN is in cool off state. It will be deleted after expire_time . |
StorageType
The storage types for a LUN.
Enums | |
---|---|
STORAGE_TYPE_UNSPECIFIED |
The storage type for this LUN is unknown. |
SSD |
This storage type for this LUN is SSD. |
HDD |
This storage type for this LUN is HDD. |
Network
A Network.
Fields | |
---|---|
name |
Output only. The resource name of this |
id |
An identifier for the |
type |
The type of this network. |
ip_address |
IP address configured. |
mac_address[] |
List of physical interfaces. |
state |
The Network state. |
vlan_id |
The vlan id of the Network. |
cidr |
The cidr of the Network. |
vrf |
The vrf for the Network. |
labels |
Labels as key value pairs. |
services_cidr |
IP range for reserved for services (e.g. NFS). |
reservations[] |
List of IP address reservations in this network. When updating this field, an error will be generated if a reservation conflicts with an IP address already allocated to a physical server. |
pod |
Output only. Pod name. |
mount_points[] |
Input only. List of mount points to attach the network to. |
jumbo_frames_enabled |
Whether network uses standard frames or jumbo ones. |
gateway_ip |
Output only. Gateway ip address. |
State
The possible states for this Network.
Enums | |
---|---|
STATE_UNSPECIFIED |
The Network is in an unknown state. |
PROVISIONING |
The Network is provisioning. |
PROVISIONED |
The Network has been provisioned. |
DEPROVISIONING |
The Network is being deprovisioned. |
UPDATING |
The Network is being updated. |
Type
Network type.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Unspecified value. |
CLIENT |
Client network, a network peered to a Google Cloud VPC. |
PRIVATE |
Private network, a network local to the Bare Metal Solution environment. |
NetworkAddressReservation
A reservation of one or more addresses in a network.
Fields | |
---|---|
start_address |
The first address of this reservation block. Must be specified as a single IPv4 address, e.g. 10.1.2.2. |
end_address |
The last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, end_address and start_address will be the same. Must be specified as a single IPv4 address, e.g. 10.1.2.2. |
note |
A note about this reservation, intended for human consumption. |
NetworkMountPoint
Mount point for a network.
Fields | |
---|---|
instance |
Instance to attach network to. |
logical_interface |
Logical interface to detach from. |
default_gateway |
Network should be a default gateway. |
ip_address |
Ip address of the server. |
OperationMetadata
Represents the metadata from a long-running operation.
Fields | |
---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
target |
Output only. Server-defined resource path for the target of the operation. |
verb |
Output only. Name of the action executed by the operation. |
status_message |
Output only. Human-readable status of the operation, if any. |
requested_cancellation |
Output only. Identifies whether the user requested the cancellation of the operation. Operations that have been successfully cancelled have [Operation.error][] value with a |
api_version |
Output only. API version used with the operation. |
RenameInstanceRequest
Message requesting rename of a server.
Fields | |
---|---|
name |
Required. The |
new_name |
Required. The new |
ResetInstanceRequest
Message requesting to reset a server.
Fields | |
---|---|
name |
Required. Name of the resource. |
RestoreVolumeSnapshotRequest
Message for restoring a volume snapshot.
Fields | |
---|---|
volume_snapshot |
Required. Name of the snapshot which will be used to restore its parent volume. |
StartInstanceRequest
Message requesting to start a server.
Fields | |
---|---|
name |
Required. Name of the resource. |
StopInstanceRequest
Message requesting to stop a server.
Fields | |
---|---|
name |
Required. Name of the resource. |
UpdateInstanceRequest
Message requesting to updating a server.
Fields | |
---|---|
instance |
Required. The server to update. The |
update_mask |
The list of fields to update. The currently supported fields are: |
UpdateNetworkRequest
Message requesting to updating a network.
Fields | |
---|---|
network |
Required. The network to update. The |
update_mask |
The list of fields to update. The only currently supported fields are: |
UpdateVolumeRequest
Message for updating a volume.
Fields | |
---|---|
volume |
Required. The volume to update. The |
update_mask |
The list of fields to update. The only currently supported fields are: 'labels' |
VRF
A network VRF.
Fields | |
---|---|
name |
The name of the VRF. |
state |
The possible state of VRF. |
qos_policy |
The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility. |
vlan_attachments[] |
The list of VLAN attachments for the VRF. |
QosPolicy
QOS policy parameters.
Fields | |
---|---|
bandwidth_gbps |
The bandwidth permitted by the QOS policy, in gbps. |
State
The possible states for this VRF.
Enums | |
---|---|
STATE_UNSPECIFIED |
The unspecified state. |
PROVISIONING |
The vrf is provisioning. |
PROVISIONED |
The vrf is provisioned. |
VlanAttachment
VLAN attachment details.
Fields | |
---|---|
peer_vlan_id |
The peer vlan ID of the attachment. |
peer_ip |
The peer IP of the attachment. |
router_ip |
The router IP of the attachment. |
pairing_key |
Input only. Pairing key. |
qos_policy |
The QOS policy applied to this VLAN attachment. This value should be preferred to using qos at vrf level. |
id |
Immutable. The identifier of the attachment within vrf. |
Volume
A storage volume.
Fields | |
---|---|
name |
Output only. The resource name of this |
id |
An identifier for the |
storage_type |
The storage type for this volume. |
state |
The state of this storage volume. |
requested_size_gib |
The requested size of this storage volume, in GiB. |
originally_requested_size_gib |
Originally requested size, in GiB. |
current_size_gib |
The current size of this storage volume, in GiB, including space reserved for snapshots. This size might be different than the requested size if the storage volume has been configured with auto grow or auto shrink. |
emergency_size_gib |
Additional emergency size that was requested for this Volume, in GiB. current_size_gib includes this value. |
max_size_gib |
Maximum size volume can be expanded to in case of evergency, in GiB. |
auto_grown_size_gib |
The size, in GiB, that this storage volume has expanded as a result of an auto grow policy. In the absence of auto-grow, the value is 0. |
remaining_space_gib |
The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots. |
snapshot_reservation_detail |
Details about snapshot space reservation and usage on the storage volume. |
snapshot_auto_delete_behavior |
The behavior to use when snapshot reserved space is full. |
snapshot_schedule_policy |
The name of the snapshot schedule policy in use for this volume, if any. |
labels |
Labels as key value pairs. |
snapshot_enabled |
Whether snapshots are enabled. |
pod |
Immutable. Pod name. |
protocol |
Output only. Storage protocol for the Volume. |
boot_volume |
Output only. Whether this volume is a boot volume. A boot volume is one which contains a boot LUN. |
performance_tier |
Immutable. Performance tier of the Volume. Default is SHARED. |
notes |
Input only. User-specified notes for new Volume. Used to provision Volumes that require manual intervention. |
workload_profile |
The workload profile for the volume. |
storage_aggregate_pool |
Input only. Name of the storage aggregate pool to allocate the volume in. Can be used only for VOLUME_PERFORMANCE_TIER_ASSIGNED volumes. |
expire_time |
Output only. Time after which volume will be fully deleted. It is filled only for volumes in COOLOFF state. |
Protocol
Storage protocol.
Enums | |
---|---|
PROTOCOL_UNSPECIFIED |
Value is not specified. |
FIBRE_CHANNEL |
Fibre Channel protocol. |
NFS |
NFS protocol means Volume is a NFS Share volume. Such volumes cannot be manipulated via Volumes API. |
SnapshotAutoDeleteBehavior
The kinds of auto delete behavior to use when snapshot reserved space is full.
Enums | |
---|---|
SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED |
The unspecified behavior. |
DISABLED |
Don't delete any snapshots. This disables new snapshot creation, as long as the snapshot reserved space is full. |
OLDEST_FIRST |
Delete the oldest snapshots first. |
NEWEST_FIRST |
Delete the newest snapshots first. |
SnapshotReservationDetail
Details about snapshot space reservation and usage on the storage volume.
Fields | |
---|---|
reserved_space_gib |
The space on this storage volume reserved for snapshots, shown in GiB. |
reserved_space_used_percent |
The percent of snapshot space on this storage volume actually being used by the snapshot copies. This value might be higher than 100% if the snapshot copies have overflowed into the data portion of the storage volume. |
reserved_space_remaining_gib |
The amount, in GiB, of available space in this storage volume's reserved snapshot space. |
reserved_space_percent |
Percent of the total Volume size reserved for snapshot copies. Enabling snapshots requires reserving 20% or more of the storage volume space for snapshots. Maximum reserved space for snapshots is 40%. Setting this field will effectively set snapshot_enabled to true. |
State
The possible states for a storage volume.
Enums | |
---|---|
STATE_UNSPECIFIED |
The storage volume is in an unknown state. |
CREATING |
The storage volume is being created. |
READY |
The storage volume is ready for use. |
DELETING |
The storage volume has been requested to be deleted. |
UPDATING |
The storage volume is being updated. |
COOL_OFF |
The storage volume is in cool off state. It will be deleted after expire_time . |
StorageType
The storage type for a volume.
Enums | |
---|---|
STORAGE_TYPE_UNSPECIFIED |
The storage type for this volume is unknown. |
SSD |
The storage type for this volume is SSD. |
HDD |
This storage type for this volume is HDD. |
WorkloadProfile
The possible values for a workload profile.
Enums | |
---|---|
WORKLOAD_PROFILE_UNSPECIFIED |
The workload profile is in an unknown state. |
GENERIC |
The workload profile is generic. |
HANA |
The workload profile is hana. |
VolumePerformanceTier
Performance tier of the Volume.
Enums | |
---|---|
VOLUME_PERFORMANCE_TIER_UNSPECIFIED |
Value is not specified. |
VOLUME_PERFORMANCE_TIER_SHARED |
Regular volumes, shared aggregates. |
VOLUME_PERFORMANCE_TIER_ASSIGNED |
Assigned aggregates. |
VOLUME_PERFORMANCE_TIER_HT |
High throughput aggregates. |
VolumeSnapshot
A snapshot of a volume. Only boot volumes can have snapshots.
Fields | |
---|---|
name |
The name of the snapshot. |
id |
Output only. An identifier for the snapshot, generated by the backend. |
description |
The description of the snapshot. |
create_time |
Output only. The creation time of the snapshot. |
storage_volume |
Output only. The name of the volume which this snapshot belongs to. |
type |
Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc. |
SnapshotType
Represents the type of a snapshot.
Enums | |
---|---|
SNAPSHOT_TYPE_UNSPECIFIED |
Type is not specified. |
AD_HOC |
Snapshot was taken manually by user. |
SCHEDULED |
Snapshot was taken automatically as a part of a snapshot schedule. |
WorkloadProfile
The possible values for a workload profile.
Enums | |
---|---|
WORKLOAD_PROFILE_UNSPECIFIED |
The workload profile is in an unknown state. |
WORKLOAD_PROFILE_GENERIC |
The workload profile is generic. |
WORKLOAD_PROFILE_HANA |
The workload profile is hana. |