baremetalsolutionpb

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Instance_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PROVISIONING",
		2: "RUNNING",
		3: "DELETED",
	}
	Instance_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PROVISIONING":      1,
		"RUNNING":           2,
		"DELETED":           3,
	}
)

Enum value maps for Instance_State.

View Source
var (
	ServerNetworkTemplate_LogicalInterface_InterfaceType_name = map[int32]string{
		0: "INTERFACE_TYPE_UNSPECIFIED",
		1: "BOND",
		2: "NIC",
	}
	ServerNetworkTemplate_LogicalInterface_InterfaceType_value = map[string]int32{
		"INTERFACE_TYPE_UNSPECIFIED": 0,
		"BOND":                       1,
		"NIC":                        2,
	}
)

Enum value maps for ServerNetworkTemplate_LogicalInterface_InterfaceType.

View Source
var (
	Lun_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "UPDATING",
		3: "READY",
		4: "DELETING",
	}
	Lun_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"UPDATING":          2,
		"READY":             3,
		"DELETING":          4,
	}
)

Enum value maps for Lun_State.

View Source
var (
	Lun_MultiprotocolType_name = map[int32]string{
		0: "MULTIPROTOCOL_TYPE_UNSPECIFIED",
		1: "LINUX",
	}
	Lun_MultiprotocolType_value = map[string]int32{
		"MULTIPROTOCOL_TYPE_UNSPECIFIED": 0,
		"LINUX":                          1,
	}
)

Enum value maps for Lun_MultiprotocolType.

View Source
var (
	Lun_StorageType_name = map[int32]string{
		0: "STORAGE_TYPE_UNSPECIFIED",
		1: "SSD",
		2: "HDD",
	}
	Lun_StorageType_value = map[string]int32{
		"STORAGE_TYPE_UNSPECIFIED": 0,
		"SSD":                      1,
		"HDD":                      2,
	}
)

Enum value maps for Lun_StorageType.

View Source
var (
	Network_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "CLIENT",
		2: "PRIVATE",
	}
	Network_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"CLIENT":           1,
		"PRIVATE":          2,
	}
)

Enum value maps for Network_Type.

View Source
var (
	Network_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PROVISIONING",
		2: "PROVISIONED",
	}
	Network_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PROVISIONING":      1,
		"PROVISIONED":       2,
	}
)

Enum value maps for Network_State.

View Source
var (
	VRF_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PROVISIONING",
		2: "PROVISIONED",
	}
	VRF_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PROVISIONING":      1,
		"PROVISIONED":       2,
	}
)

Enum value maps for VRF_State.

View Source
var (
	NfsShare_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PROVISIONED",
	}
	NfsShare_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PROVISIONED":       1,
	}
)

Enum value maps for NfsShare_State.

View Source
var (
	NfsShare_MountPermissions_name = map[int32]string{
		0: "MOUNT_PERMISSIONS_UNSPECIFIED",
		1: "READ",
		2: "READ_WRITE",
	}
	NfsShare_MountPermissions_value = map[string]int32{
		"MOUNT_PERMISSIONS_UNSPECIFIED": 0,
		"READ":                          1,
		"READ_WRITE":                    2,
	}
)

Enum value maps for NfsShare_MountPermissions.

View Source
var (
	Volume_StorageType_name = map[int32]string{
		0: "STORAGE_TYPE_UNSPECIFIED",
		1: "SSD",
		2: "HDD",
	}
	Volume_StorageType_value = map[string]int32{
		"STORAGE_TYPE_UNSPECIFIED": 0,
		"SSD":                      1,
		"HDD":                      2,
	}
)

Enum value maps for Volume_StorageType.

View Source
var (
	Volume_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "READY",
		3: "DELETING",
	}
	Volume_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"READY":             2,
		"DELETING":          3,
	}
)

Enum value maps for Volume_State.

View Source
var (
	Volume_SnapshotAutoDeleteBehavior_name = map[int32]string{
		0: "SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED",
		1: "DISABLED",
		2: "OLDEST_FIRST",
		3: "NEWEST_FIRST",
	}
	Volume_SnapshotAutoDeleteBehavior_value = map[string]int32{
		"SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED": 0,
		"DISABLED":     1,
		"OLDEST_FIRST": 2,
		"NEWEST_FIRST": 3,
	}
)

Enum value maps for Volume_SnapshotAutoDeleteBehavior.

View Source
var File_google_cloud_baremetalsolution_v2_baremetalsolution_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_baremetalsolution_v2_instance_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_baremetalsolution_v2_lun_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_baremetalsolution_v2_network_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_baremetalsolution_v2_nfs_share_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_baremetalsolution_v2_volume_proto protoreflect.FileDescriptor

Functions

func RegisterBareMetalSolutionServer

func RegisterBareMetalSolutionServer(s *grpc.Server, srv BareMetalSolutionServer)

Types

type BareMetalSolutionClient

type BareMetalSolutionClient interface {
	// List servers in a given project and location.
	ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
	// Get details about a single server.
	GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
	// Update details of a single server.
	UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Perform an ungraceful, hard reset on a server. Equivalent to shutting the
	// power off and then turning it back on.
	ResetInstance(ctx context.Context, in *ResetInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Starts a server that was shutdown.
	StartInstance(ctx context.Context, in *StartInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Stop a running server.
	StopInstance(ctx context.Context, in *StopInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Detach LUN from Instance.
	DetachLun(ctx context.Context, in *DetachLunRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// List storage volumes in a given project and location.
	ListVolumes(ctx context.Context, in *ListVolumesRequest, opts ...grpc.CallOption) (*ListVolumesResponse, error)
	// Get details of a single storage volume.
	GetVolume(ctx context.Context, in *GetVolumeRequest, opts ...grpc.CallOption) (*Volume, error)
	// Update details of a single storage volume.
	UpdateVolume(ctx context.Context, in *UpdateVolumeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Emergency Volume resize.
	ResizeVolume(ctx context.Context, in *ResizeVolumeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// List network in a given project and location.
	ListNetworks(ctx context.Context, in *ListNetworksRequest, opts ...grpc.CallOption) (*ListNetworksResponse, error)
	// List all Networks (and used IPs for each Network) in the vendor account
	// associated with the specified project.
	ListNetworkUsage(ctx context.Context, in *ListNetworkUsageRequest, opts ...grpc.CallOption) (*ListNetworkUsageResponse, error)
	// Get details of a single network.
	GetNetwork(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*Network, error)
	// Update details of a single network.
	UpdateNetwork(ctx context.Context, in *UpdateNetworkRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Get details of a single storage logical unit number(LUN).
	GetLun(ctx context.Context, in *GetLunRequest, opts ...grpc.CallOption) (*Lun, error)
	// List storage volume luns for given storage volume.
	ListLuns(ctx context.Context, in *ListLunsRequest, opts ...grpc.CallOption) (*ListLunsResponse, error)
	// Get details of a single NFS share.
	GetNfsShare(ctx context.Context, in *GetNfsShareRequest, opts ...grpc.CallOption) (*NfsShare, error)
	// List NFS shares.
	ListNfsShares(ctx context.Context, in *ListNfsSharesRequest, opts ...grpc.CallOption) (*ListNfsSharesResponse, error)
	// Update details of a single NFS share.
	UpdateNfsShare(ctx context.Context, in *UpdateNfsShareRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

BareMetalSolutionClient is the client API for BareMetalSolution service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type BareMetalSolutionServer

type BareMetalSolutionServer interface {
	// List servers in a given project and location.
	ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
	// Get details about a single server.
	GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
	// Update details of a single server.
	UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunningpb.Operation, error)
	// Perform an ungraceful, hard reset on a server. Equivalent to shutting the
	// power off and then turning it back on.
	ResetInstance(context.Context, *ResetInstanceRequest) (*longrunningpb.Operation, error)
	// Starts a server that was shutdown.
	StartInstance(context.Context, *StartInstanceRequest) (*longrunningpb.Operation, error)
	// Stop a running server.
	StopInstance(context.Context, *StopInstanceRequest) (*longrunningpb.Operation, error)
	// Detach LUN from Instance.
	DetachLun(context.Context, *DetachLunRequest) (*longrunningpb.Operation, error)
	// List storage volumes in a given project and location.
	ListVolumes(context.Context, *ListVolumesRequest) (*ListVolumesResponse, error)
	// Get details of a single storage volume.
	GetVolume(context.Context, *GetVolumeRequest) (*Volume, error)
	// Update details of a single storage volume.
	UpdateVolume(context.Context, *UpdateVolumeRequest) (*longrunningpb.Operation, error)
	// Emergency Volume resize.
	ResizeVolume(context.Context, *ResizeVolumeRequest) (*longrunningpb.Operation, error)
	// List network in a given project and location.
	ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)
	// List all Networks (and used IPs for each Network) in the vendor account
	// associated with the specified project.
	ListNetworkUsage(context.Context, *ListNetworkUsageRequest) (*ListNetworkUsageResponse, error)
	// Get details of a single network.
	GetNetwork(context.Context, *GetNetworkRequest) (*Network, error)
	// Update details of a single network.
	UpdateNetwork(context.Context, *UpdateNetworkRequest) (*longrunningpb.Operation, error)
	// Get details of a single storage logical unit number(LUN).
	GetLun(context.Context, *GetLunRequest) (*Lun, error)
	// List storage volume luns for given storage volume.
	ListLuns(context.Context, *ListLunsRequest) (*ListLunsResponse, error)
	// Get details of a single NFS share.
	GetNfsShare(context.Context, *GetNfsShareRequest) (*NfsShare, error)
	// List NFS shares.
	ListNfsShares(context.Context, *ListNfsSharesRequest) (*ListNfsSharesResponse, error)
	// Update details of a single NFS share.
	UpdateNfsShare(context.Context, *UpdateNfsShareRequest) (*longrunningpb.Operation, error)
}

BareMetalSolutionServer is the server API for BareMetalSolution service.

type DetachLunRequest

type DetachLunRequest struct {

	// Required. Name of the instance.
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Required. Name of the Lun to detach.
	Lun string `protobuf:"bytes,2,opt,name=lun,proto3" json:"lun,omitempty"`
	// contains filtered or unexported fields
}

Message for detach specific LUN from an Instance.

func (*DetachLunRequest) Descriptor deprecated

func (*DetachLunRequest) Descriptor() ([]byte, []int)

Deprecated: Use DetachLunRequest.ProtoReflect.Descriptor instead.

func (*DetachLunRequest) GetInstance

func (x *DetachLunRequest) GetInstance() string

func (*DetachLunRequest) GetLun

func (x *DetachLunRequest) GetLun() string

func (*DetachLunRequest) ProtoMessage

func (*DetachLunRequest) ProtoMessage()

func (*DetachLunRequest) ProtoReflect

func (x *DetachLunRequest) ProtoReflect() protoreflect.Message

func (*DetachLunRequest) Reset

func (x *DetachLunRequest) Reset()

func (*DetachLunRequest) String

func (x *DetachLunRequest) String() string

type GetInstanceRequest

type GetInstanceRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting server information.

func (*GetInstanceRequest) Descriptor deprecated

func (*GetInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceRequest) GetName

func (x *GetInstanceRequest) GetName() string

func (*GetInstanceRequest) ProtoMessage

func (*GetInstanceRequest) ProtoMessage()

func (*GetInstanceRequest) ProtoReflect

func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message

func (*GetInstanceRequest) Reset

func (x *GetInstanceRequest) Reset()

func (*GetInstanceRequest) String

func (x *GetInstanceRequest) String() string

type GetLunRequest

type GetLunRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting storage lun information.

func (*GetLunRequest) Descriptor deprecated

func (*GetLunRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLunRequest.ProtoReflect.Descriptor instead.

func (*GetLunRequest) GetName

func (x *GetLunRequest) GetName() string

func (*GetLunRequest) ProtoMessage

func (*GetLunRequest) ProtoMessage()

func (*GetLunRequest) ProtoReflect

func (x *GetLunRequest) ProtoReflect() protoreflect.Message

func (*GetLunRequest) Reset

func (x *GetLunRequest) Reset()

func (*GetLunRequest) String

func (x *GetLunRequest) String() string

type GetNetworkRequest

type GetNetworkRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting network information.

func (*GetNetworkRequest) Descriptor deprecated

func (*GetNetworkRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetNetworkRequest.ProtoReflect.Descriptor instead.

func (*GetNetworkRequest) GetName

func (x *GetNetworkRequest) GetName() string

func (*GetNetworkRequest) ProtoMessage

func (*GetNetworkRequest) ProtoMessage()

func (*GetNetworkRequest) ProtoReflect

func (x *GetNetworkRequest) ProtoReflect() protoreflect.Message

func (*GetNetworkRequest) Reset

func (x *GetNetworkRequest) Reset()

func (*GetNetworkRequest) String

func (x *GetNetworkRequest) String() string

type GetNfsShareRequest

type GetNfsShareRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting NFS share information.

func (*GetNfsShareRequest) Descriptor deprecated

func (*GetNfsShareRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetNfsShareRequest.ProtoReflect.Descriptor instead.

func (*GetNfsShareRequest) GetName

func (x *GetNfsShareRequest) GetName() string

func (*GetNfsShareRequest) ProtoMessage

func (*GetNfsShareRequest) ProtoMessage()

func (*GetNfsShareRequest) ProtoReflect

func (x *GetNfsShareRequest) ProtoReflect() protoreflect.Message

func (*GetNfsShareRequest) Reset

func (x *GetNfsShareRequest) Reset()

func (*GetNfsShareRequest) String

func (x *GetNfsShareRequest) String() string

type GetVolumeRequest

type GetVolumeRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting storage volume information.

func (*GetVolumeRequest) Descriptor deprecated

func (*GetVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVolumeRequest.ProtoReflect.Descriptor instead.

func (*GetVolumeRequest) GetName

func (x *GetVolumeRequest) GetName() string

func (*GetVolumeRequest) ProtoMessage

func (*GetVolumeRequest) ProtoMessage()

func (*GetVolumeRequest) ProtoReflect

func (x *GetVolumeRequest) ProtoReflect() protoreflect.Message

func (*GetVolumeRequest) Reset

func (x *GetVolumeRequest) Reset()

func (*GetVolumeRequest) String

func (x *GetVolumeRequest) String() string

type Instance

type Instance struct {

	// Output only. 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}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// An identifier for the `Instance`, generated by the backend.
	Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"`
	// Output only. Create a time stamp.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Update a time stamp.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The server type.
	// [Available server
	// types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
	MachineType string `protobuf:"bytes,4,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
	// The state of the server.
	State Instance_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Instance_State" json:"state,omitempty"`
	// True if you enable hyperthreading for the server, otherwise false.
	// The default value is false.
	HyperthreadingEnabled bool `protobuf:"varint,6,opt,name=hyperthreading_enabled,json=hyperthreadingEnabled,proto3" json:"hyperthreading_enabled,omitempty"`
	// Labels as key value pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// List of LUNs associated with this server.
	Luns []*Lun `protobuf:"bytes,8,rep,name=luns,proto3" json:"luns,omitempty"`
	// List of networks associated with this server.
	Networks []*Network `protobuf:"bytes,9,rep,name=networks,proto3" json:"networks,omitempty"`
	// True if the interactive serial console feature is enabled for the instance,
	// false otherwise.
	// The default value is false.
	InteractiveSerialConsoleEnabled bool `` /* 160-byte string literal not displayed */
	// The OS image currently installed on the server.
	OsImage string `protobuf:"bytes,12,opt,name=os_image,json=osImage,proto3" json:"os_image,omitempty"`
	// 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.
	Pod string `protobuf:"bytes,13,opt,name=pod,proto3" json:"pod,omitempty"`
	// Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc.
	// Generally, the template name follows the syntax of
	// "bond<bond_mode>" or "nic".
	NetworkTemplate string `protobuf:"bytes,14,opt,name=network_template,json=networkTemplate,proto3" json:"network_template,omitempty"`
	// 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.
	LogicalInterfaces []*LogicalInterface `protobuf:"bytes,15,rep,name=logical_interfaces,json=logicalInterfaces,proto3" json:"logical_interfaces,omitempty"`
	// contains filtered or unexported fields
}

A server.

func (*Instance) Descriptor deprecated

func (*Instance) Descriptor() ([]byte, []int)

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetCreateTime

func (x *Instance) GetCreateTime() *timestamppb.Timestamp

func (*Instance) GetHyperthreadingEnabled

func (x *Instance) GetHyperthreadingEnabled() bool

func (*Instance) GetId

func (x *Instance) GetId() string

func (*Instance) GetInteractiveSerialConsoleEnabled

func (x *Instance) GetInteractiveSerialConsoleEnabled() bool

func (*Instance) GetLabels

func (x *Instance) GetLabels() map[string]string

func (*Instance) GetLogicalInterfaces

func (x *Instance) GetLogicalInterfaces() []*LogicalInterface

func (*Instance) GetLuns

func (x *Instance) GetLuns() []*Lun

func (*Instance) GetMachineType

func (x *Instance) GetMachineType() string

func (*Instance) GetName

func (x *Instance) GetName() string

func (*Instance) GetNetworkTemplate

func (x *Instance) GetNetworkTemplate() string

func (*Instance) GetNetworks

func (x *Instance) GetNetworks() []*Network

func (*Instance) GetOsImage

func (x *Instance) GetOsImage() string

func (*Instance) GetPod

func (x *Instance) GetPod() string

func (*Instance) GetState

func (x *Instance) GetState() Instance_State

func (*Instance) GetUpdateTime

func (x *Instance) GetUpdateTime() *timestamppb.Timestamp

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

func (x *Instance) ProtoReflect() protoreflect.Message

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

type Instance_State

type Instance_State int32

The possible states for this server.

const (
	// The server is in an unknown state.
	Instance_STATE_UNSPECIFIED Instance_State = 0
	// The server is being provisioned.
	Instance_PROVISIONING Instance_State = 1
	// The server is running.
	Instance_RUNNING Instance_State = 2
	// The server has been deleted.
	Instance_DELETED Instance_State = 3
)

func (Instance_State) Descriptor

func (Instance_State) Enum

func (x Instance_State) Enum() *Instance_State

func (Instance_State) EnumDescriptor deprecated

func (Instance_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Instance_State.Descriptor instead.

func (Instance_State) Number

func (Instance_State) String

func (x Instance_State) String() string

func (Instance_State) Type

type ListInstancesRequest

type ListInstancesRequest struct {

	// Required. Parent value for ListInstancesRequest.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer items than requested.
	// If unspecified, the server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results from the server.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// List filter.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting the list of servers.

func (*ListInstancesRequest) Descriptor deprecated

func (*ListInstancesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.

func (*ListInstancesRequest) GetFilter

func (x *ListInstancesRequest) GetFilter() string

func (*ListInstancesRequest) GetPageSize

func (x *ListInstancesRequest) GetPageSize() int32

func (*ListInstancesRequest) GetPageToken

func (x *ListInstancesRequest) GetPageToken() string

func (*ListInstancesRequest) GetParent

func (x *ListInstancesRequest) GetParent() string

func (*ListInstancesRequest) ProtoMessage

func (*ListInstancesRequest) ProtoMessage()

func (*ListInstancesRequest) ProtoReflect

func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message

func (*ListInstancesRequest) Reset

func (x *ListInstancesRequest) Reset()

func (*ListInstancesRequest) String

func (x *ListInstancesRequest) String() string

type ListInstancesResponse

type ListInstancesResponse struct {

	// The list of servers.
	Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// A token identifying a page of results from the server.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for the list of servers.

func (*ListInstancesResponse) Descriptor deprecated

func (*ListInstancesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.

func (*ListInstancesResponse) GetInstances

func (x *ListInstancesResponse) GetInstances() []*Instance

func (*ListInstancesResponse) GetNextPageToken

func (x *ListInstancesResponse) GetNextPageToken() string

func (*ListInstancesResponse) GetUnreachable

func (x *ListInstancesResponse) GetUnreachable() []string

func (*ListInstancesResponse) ProtoMessage

func (*ListInstancesResponse) ProtoMessage()

func (*ListInstancesResponse) ProtoReflect

func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message

func (*ListInstancesResponse) Reset

func (x *ListInstancesResponse) Reset()

func (*ListInstancesResponse) String

func (x *ListInstancesResponse) String() string

type ListLunsRequest

type ListLunsRequest struct {

	// Required. Parent value for ListLunsRequest.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. The server might return fewer items than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results from the server.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting a list of storage volume luns.

func (*ListLunsRequest) Descriptor deprecated

func (*ListLunsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListLunsRequest.ProtoReflect.Descriptor instead.

func (*ListLunsRequest) GetPageSize

func (x *ListLunsRequest) GetPageSize() int32

func (*ListLunsRequest) GetPageToken

func (x *ListLunsRequest) GetPageToken() string

func (*ListLunsRequest) GetParent

func (x *ListLunsRequest) GetParent() string

func (*ListLunsRequest) ProtoMessage

func (*ListLunsRequest) ProtoMessage()

func (*ListLunsRequest) ProtoReflect

func (x *ListLunsRequest) ProtoReflect() protoreflect.Message

func (*ListLunsRequest) Reset

func (x *ListLunsRequest) Reset()

func (*ListLunsRequest) String

func (x *ListLunsRequest) String() string

type ListLunsResponse

type ListLunsResponse struct {

	// The list of luns.
	Luns []*Lun `protobuf:"bytes,1,rep,name=luns,proto3" json:"luns,omitempty"`
	// A token identifying a page of results from the server.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message containing the list of storage volume luns.

func (*ListLunsResponse) Descriptor deprecated

func (*ListLunsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListLunsResponse.ProtoReflect.Descriptor instead.

func (*ListLunsResponse) GetLuns

func (x *ListLunsResponse) GetLuns() []*Lun

func (*ListLunsResponse) GetNextPageToken

func (x *ListLunsResponse) GetNextPageToken() string

func (*ListLunsResponse) GetUnreachable

func (x *ListLunsResponse) GetUnreachable() []string

func (*ListLunsResponse) ProtoMessage

func (*ListLunsResponse) ProtoMessage()

func (*ListLunsResponse) ProtoReflect

func (x *ListLunsResponse) ProtoReflect() protoreflect.Message

func (*ListLunsResponse) Reset

func (x *ListLunsResponse) Reset()

func (*ListLunsResponse) String

func (x *ListLunsResponse) String() string

type ListNetworkUsageRequest

type ListNetworkUsageRequest struct {

	// Required. Parent value (project and location).
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

Request to get networks with IPs.

func (*ListNetworkUsageRequest) Descriptor deprecated

func (*ListNetworkUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNetworkUsageRequest.ProtoReflect.Descriptor instead.

func (*ListNetworkUsageRequest) GetLocation

func (x *ListNetworkUsageRequest) GetLocation() string

func (*ListNetworkUsageRequest) ProtoMessage

func (*ListNetworkUsageRequest) ProtoMessage()

func (*ListNetworkUsageRequest) ProtoReflect

func (x *ListNetworkUsageRequest) ProtoReflect() protoreflect.Message

func (*ListNetworkUsageRequest) Reset

func (x *ListNetworkUsageRequest) Reset()

func (*ListNetworkUsageRequest) String

func (x *ListNetworkUsageRequest) String() string

type ListNetworkUsageResponse

type ListNetworkUsageResponse struct {

	// Networks with IPs.
	Networks []*NetworkUsage `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
	// contains filtered or unexported fields
}

Response with Networks with IPs

func (*ListNetworkUsageResponse) Descriptor deprecated

func (*ListNetworkUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNetworkUsageResponse.ProtoReflect.Descriptor instead.

func (*ListNetworkUsageResponse) GetNetworks

func (x *ListNetworkUsageResponse) GetNetworks() []*NetworkUsage

func (*ListNetworkUsageResponse) ProtoMessage

func (*ListNetworkUsageResponse) ProtoMessage()

func (*ListNetworkUsageResponse) ProtoReflect

func (x *ListNetworkUsageResponse) ProtoReflect() protoreflect.Message

func (*ListNetworkUsageResponse) Reset

func (x *ListNetworkUsageResponse) Reset()

func (*ListNetworkUsageResponse) String

func (x *ListNetworkUsageResponse) String() string

type ListNetworksRequest

type ListNetworksRequest struct {

	// Required. Parent value for ListNetworksRequest.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. The server might return fewer items than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results from the server.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// List filter.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting a list of networks.

func (*ListNetworksRequest) Descriptor deprecated

func (*ListNetworksRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNetworksRequest.ProtoReflect.Descriptor instead.

func (*ListNetworksRequest) GetFilter

func (x *ListNetworksRequest) GetFilter() string

func (*ListNetworksRequest) GetPageSize

func (x *ListNetworksRequest) GetPageSize() int32

func (*ListNetworksRequest) GetPageToken

func (x *ListNetworksRequest) GetPageToken() string

func (*ListNetworksRequest) GetParent

func (x *ListNetworksRequest) GetParent() string

func (*ListNetworksRequest) ProtoMessage

func (*ListNetworksRequest) ProtoMessage()

func (*ListNetworksRequest) ProtoReflect

func (x *ListNetworksRequest) ProtoReflect() protoreflect.Message

func (*ListNetworksRequest) Reset

func (x *ListNetworksRequest) Reset()

func (*ListNetworksRequest) String

func (x *ListNetworksRequest) String() string

type ListNetworksResponse

type ListNetworksResponse struct {

	// The list of networks.
	Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
	// A token identifying a page of results from the server.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message containing the list of networks.

func (*ListNetworksResponse) Descriptor deprecated

func (*ListNetworksResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNetworksResponse.ProtoReflect.Descriptor instead.

func (*ListNetworksResponse) GetNetworks

func (x *ListNetworksResponse) GetNetworks() []*Network

func (*ListNetworksResponse) GetNextPageToken

func (x *ListNetworksResponse) GetNextPageToken() string

func (*ListNetworksResponse) GetUnreachable

func (x *ListNetworksResponse) GetUnreachable() []string

func (*ListNetworksResponse) ProtoMessage

func (*ListNetworksResponse) ProtoMessage()

func (*ListNetworksResponse) ProtoReflect

func (x *ListNetworksResponse) ProtoReflect() protoreflect.Message

func (*ListNetworksResponse) Reset

func (x *ListNetworksResponse) Reset()

func (*ListNetworksResponse) String

func (x *ListNetworksResponse) String() string

type ListNfsSharesRequest

type ListNfsSharesRequest struct {

	// Required. Parent value for ListNfsSharesRequest.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. The server might return fewer items than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results from the server.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// List filter.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting a list of NFS shares.

func (*ListNfsSharesRequest) Descriptor deprecated

func (*ListNfsSharesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNfsSharesRequest.ProtoReflect.Descriptor instead.

func (*ListNfsSharesRequest) GetFilter

func (x *ListNfsSharesRequest) GetFilter() string

func (*ListNfsSharesRequest) GetPageSize

func (x *ListNfsSharesRequest) GetPageSize() int32

func (*ListNfsSharesRequest) GetPageToken

func (x *ListNfsSharesRequest) GetPageToken() string

func (*ListNfsSharesRequest) GetParent

func (x *ListNfsSharesRequest) GetParent() string

func (*ListNfsSharesRequest) ProtoMessage

func (*ListNfsSharesRequest) ProtoMessage()

func (*ListNfsSharesRequest) ProtoReflect

func (x *ListNfsSharesRequest) ProtoReflect() protoreflect.Message

func (*ListNfsSharesRequest) Reset

func (x *ListNfsSharesRequest) Reset()

func (*ListNfsSharesRequest) String

func (x *ListNfsSharesRequest) String() string

type ListNfsSharesResponse

type ListNfsSharesResponse struct {

	// The list of NFS shares.
	NfsShares []*NfsShare `protobuf:"bytes,1,rep,name=nfs_shares,json=nfsShares,proto3" json:"nfs_shares,omitempty"`
	// A token identifying a page of results from the server.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message containing the list of NFS shares.

func (*ListNfsSharesResponse) Descriptor deprecated

func (*ListNfsSharesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNfsSharesResponse.ProtoReflect.Descriptor instead.

func (*ListNfsSharesResponse) GetNextPageToken

func (x *ListNfsSharesResponse) GetNextPageToken() string

func (*ListNfsSharesResponse) GetNfsShares

func (x *ListNfsSharesResponse) GetNfsShares() []*NfsShare

func (*ListNfsSharesResponse) GetUnreachable

func (x *ListNfsSharesResponse) GetUnreachable() []string

func (*ListNfsSharesResponse) ProtoMessage

func (*ListNfsSharesResponse) ProtoMessage()

func (*ListNfsSharesResponse) ProtoReflect

func (x *ListNfsSharesResponse) ProtoReflect() protoreflect.Message

func (*ListNfsSharesResponse) Reset

func (x *ListNfsSharesResponse) Reset()

func (*ListNfsSharesResponse) String

func (x *ListNfsSharesResponse) String() string

type ListVolumesRequest

type ListVolumesRequest struct {

	// Required. Parent value for ListVolumesRequest.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. The server might return fewer items than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results from the server.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// List filter.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting a list of storage volumes.

func (*ListVolumesRequest) Descriptor deprecated

func (*ListVolumesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListVolumesRequest.ProtoReflect.Descriptor instead.

func (*ListVolumesRequest) GetFilter

func (x *ListVolumesRequest) GetFilter() string

func (*ListVolumesRequest) GetPageSize

func (x *ListVolumesRequest) GetPageSize() int32

func (*ListVolumesRequest) GetPageToken

func (x *ListVolumesRequest) GetPageToken() string

func (*ListVolumesRequest) GetParent

func (x *ListVolumesRequest) GetParent() string

func (*ListVolumesRequest) ProtoMessage

func (*ListVolumesRequest) ProtoMessage()

func (*ListVolumesRequest) ProtoReflect

func (x *ListVolumesRequest) ProtoReflect() protoreflect.Message

func (*ListVolumesRequest) Reset

func (x *ListVolumesRequest) Reset()

func (*ListVolumesRequest) String

func (x *ListVolumesRequest) String() string

type ListVolumesResponse

type ListVolumesResponse struct {

	// The list of storage volumes.
	Volumes []*Volume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"`
	// A token identifying a page of results from the server.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message containing the list of storage volumes.

func (*ListVolumesResponse) Descriptor deprecated

func (*ListVolumesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListVolumesResponse.ProtoReflect.Descriptor instead.

func (*ListVolumesResponse) GetNextPageToken

func (x *ListVolumesResponse) GetNextPageToken() string

func (*ListVolumesResponse) GetUnreachable

func (x *ListVolumesResponse) GetUnreachable() []string

func (*ListVolumesResponse) GetVolumes

func (x *ListVolumesResponse) GetVolumes() []*Volume

func (*ListVolumesResponse) ProtoMessage

func (*ListVolumesResponse) ProtoMessage()

func (*ListVolumesResponse) ProtoReflect

func (x *ListVolumesResponse) ProtoReflect() protoreflect.Message

func (*ListVolumesResponse) Reset

func (x *ListVolumesResponse) Reset()

func (*ListVolumesResponse) String

func (x *ListVolumesResponse) String() string

type LogicalInterface

type LogicalInterface struct {

	// List of logical network interfaces within a logical interface.
	LogicalNetworkInterfaces []*LogicalInterface_LogicalNetworkInterface `` /* 135-byte string literal not displayed */
	// Interface name. This is of syntax <bond><bond_mode> or <nic> and
	// forms part of the network template name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The index of the logical interface mapping to the index of the hardware
	// bond or nic on the chosen network template.
	InterfaceIndex int32 `protobuf:"varint,3,opt,name=interface_index,json=interfaceIndex,proto3" json:"interface_index,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*LogicalInterface) Descriptor deprecated

func (*LogicalInterface) Descriptor() ([]byte, []int)

Deprecated: Use LogicalInterface.ProtoReflect.Descriptor instead.

func (*LogicalInterface) GetInterfaceIndex

func (x *LogicalInterface) GetInterfaceIndex() int32

func (*LogicalInterface) GetLogicalNetworkInterfaces

func (x *LogicalInterface) GetLogicalNetworkInterfaces() []*LogicalInterface_LogicalNetworkInterface

func (*LogicalInterface) GetName

func (x *LogicalInterface) GetName() string

func (*LogicalInterface) ProtoMessage

func (*LogicalInterface) ProtoMessage()

func (*LogicalInterface) ProtoReflect

func (x *LogicalInterface) ProtoReflect() protoreflect.Message

func (*LogicalInterface) Reset

func (x *LogicalInterface) Reset()

func (*LogicalInterface) String

func (x *LogicalInterface) String() string

type LogicalInterface_LogicalNetworkInterface

type LogicalInterface_LogicalNetworkInterface struct {

	// Name of the network
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// IP address in the network
	IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	// Whether this interface is the default gateway for the instance. Only
	// one interface can be the default gateway for the instance.
	DefaultGateway bool `protobuf:"varint,3,opt,name=default_gateway,json=defaultGateway,proto3" json:"default_gateway,omitempty"`
	// Type of network.
	NetworkType Network_Type `` /* 147-byte string literal not displayed */
	// An identifier for the `Network`, generated by the backend.
	Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Each logical network interface is effectively a network and IP pair.

func (*LogicalInterface_LogicalNetworkInterface) Descriptor deprecated

func (*LogicalInterface_LogicalNetworkInterface) Descriptor() ([]byte, []int)

Deprecated: Use LogicalInterface_LogicalNetworkInterface.ProtoReflect.Descriptor instead.

func (*LogicalInterface_LogicalNetworkInterface) GetDefaultGateway

func (x *LogicalInterface_LogicalNetworkInterface) GetDefaultGateway() bool

func (*LogicalInterface_LogicalNetworkInterface) GetId

func (*LogicalInterface_LogicalNetworkInterface) GetIpAddress

func (*LogicalInterface_LogicalNetworkInterface) GetNetwork

func (*LogicalInterface_LogicalNetworkInterface) GetNetworkType

func (*LogicalInterface_LogicalNetworkInterface) ProtoMessage

func (*LogicalInterface_LogicalNetworkInterface) ProtoReflect

func (*LogicalInterface_LogicalNetworkInterface) Reset

func (*LogicalInterface_LogicalNetworkInterface) String

type Lun

type Lun struct {

	// Output only. The name of the LUN.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// An identifier for the LUN, generated by the backend.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
	// The state of this storage volume.
	State Lun_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Lun_State" json:"state,omitempty"`
	// The size of this LUN, in gigabytes.
	SizeGb int64 `protobuf:"varint,3,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
	// The LUN multiprotocol type ensures the characteristics of the LUN are
	// optimized for each operating system.
	MultiprotocolType Lun_MultiprotocolType `` /* 174-byte string literal not displayed */
	// Display the storage volume for this LUN.
	StorageVolume string `protobuf:"bytes,5,opt,name=storage_volume,json=storageVolume,proto3" json:"storage_volume,omitempty"`
	// Display if this LUN can be shared between multiple physical servers.
	Shareable bool `protobuf:"varint,6,opt,name=shareable,proto3" json:"shareable,omitempty"`
	// Display if this LUN is a boot LUN.
	BootLun bool `protobuf:"varint,7,opt,name=boot_lun,json=bootLun,proto3" json:"boot_lun,omitempty"`
	// The storage type for this LUN.
	StorageType Lun_StorageType `` /* 150-byte string literal not displayed */
	// The WWID for this LUN.
	Wwid string `protobuf:"bytes,9,opt,name=wwid,proto3" json:"wwid,omitempty"`
	// contains filtered or unexported fields
}

A storage volume logical unit number (LUN).

func (*Lun) Descriptor deprecated

func (*Lun) Descriptor() ([]byte, []int)

Deprecated: Use Lun.ProtoReflect.Descriptor instead.

func (*Lun) GetBootLun

func (x *Lun) GetBootLun() bool

func (*Lun) GetId

func (x *Lun) GetId() string

func (*Lun) GetMultiprotocolType

func (x *Lun) GetMultiprotocolType() Lun_MultiprotocolType

func (*Lun) GetName

func (x *Lun) GetName() string

func (*Lun) GetShareable

func (x *Lun) GetShareable() bool

func (*Lun) GetSizeGb

func (x *Lun) GetSizeGb() int64

func (*Lun) GetState

func (x *Lun) GetState() Lun_State

func (*Lun) GetStorageType

func (x *Lun) GetStorageType() Lun_StorageType

func (*Lun) GetStorageVolume

func (x *Lun) GetStorageVolume() string

func (*Lun) GetWwid

func (x *Lun) GetWwid() string

func (*Lun) ProtoMessage

func (*Lun) ProtoMessage()

func (*Lun) ProtoReflect

func (x *Lun) ProtoReflect() protoreflect.Message

func (*Lun) Reset

func (x *Lun) Reset()

func (*Lun) String

func (x *Lun) String() string

type Lun_MultiprotocolType

type Lun_MultiprotocolType int32

Display the operating systems present for the LUN multiprotocol type.

const (
	// Server has no OS specified.
	Lun_MULTIPROTOCOL_TYPE_UNSPECIFIED Lun_MultiprotocolType = 0
	// Server with Linux OS.
	Lun_LINUX Lun_MultiprotocolType = 1
)

func (Lun_MultiprotocolType) Descriptor

func (Lun_MultiprotocolType) Enum

func (Lun_MultiprotocolType) EnumDescriptor deprecated

func (Lun_MultiprotocolType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Lun_MultiprotocolType.Descriptor instead.

func (Lun_MultiprotocolType) Number

func (Lun_MultiprotocolType) String

func (x Lun_MultiprotocolType) String() string

func (Lun_MultiprotocolType) Type

type Lun_State

type Lun_State int32

The possible states for the LUN.

const (
	// The LUN is in an unknown state.
	Lun_STATE_UNSPECIFIED Lun_State = 0
	// The LUN is being created.
	Lun_CREATING Lun_State = 1
	// The LUN is being updated.
	Lun_UPDATING Lun_State = 2
	// The LUN is ready for use.
	Lun_READY Lun_State = 3
	// The LUN has been requested to be deleted.
	Lun_DELETING Lun_State = 4
)

func (Lun_State) Descriptor

func (Lun_State) Descriptor() protoreflect.EnumDescriptor

func (Lun_State) Enum

func (x Lun_State) Enum() *Lun_State

func (Lun_State) EnumDescriptor deprecated

func (Lun_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Lun_State.Descriptor instead.

func (Lun_State) Number

func (x Lun_State) Number() protoreflect.EnumNumber

func (Lun_State) String

func (x Lun_State) String() string

func (Lun_State) Type

type Lun_StorageType

type Lun_StorageType int32

The storage types for a LUN.

const (
	// The storage type for this LUN is unknown.
	Lun_STORAGE_TYPE_UNSPECIFIED Lun_StorageType = 0
	// This storage type for this LUN is SSD.
	Lun_SSD Lun_StorageType = 1
	// This storage type for this LUN is HDD.
	Lun_HDD Lun_StorageType = 2
)

func (Lun_StorageType) Descriptor

func (Lun_StorageType) Enum

func (x Lun_StorageType) Enum() *Lun_StorageType

func (Lun_StorageType) EnumDescriptor deprecated

func (Lun_StorageType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Lun_StorageType.Descriptor instead.

func (Lun_StorageType) Number

func (Lun_StorageType) String

func (x Lun_StorageType) String() string

func (Lun_StorageType) Type

type Network

type Network struct {

	// Output only. The resource name of this `Network`.
	// Resource names are schemeless URIs that follow the conventions in
	// https://cloud.google.com/apis/design/resource_names.
	// Format:
	// `projects/{project}/locations/{location}/networks/{network}`
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// An identifier for the `Network`, generated by the backend.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
	// The type of this network.
	Type Network_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.baremetalsolution.v2.Network_Type" json:"type,omitempty"`
	// IP address configured.
	IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	// List of physical interfaces.
	MacAddress []string `protobuf:"bytes,4,rep,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	// The Network state.
	State Network_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Network_State" json:"state,omitempty"`
	// The vlan id of the Network.
	VlanId string `protobuf:"bytes,7,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"`
	// The cidr of the Network.
	Cidr string `protobuf:"bytes,8,opt,name=cidr,proto3" json:"cidr,omitempty"`
	// The vrf for the Network.
	Vrf *VRF `protobuf:"bytes,9,opt,name=vrf,proto3" json:"vrf,omitempty"`
	// Labels as key value pairs.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// IP range for reserved for services (e.g. NFS).
	ServicesCidr string `protobuf:"bytes,12,opt,name=services_cidr,json=servicesCidr,proto3" json:"services_cidr,omitempty"`
	// 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.
	Reservations []*NetworkAddressReservation `protobuf:"bytes,13,rep,name=reservations,proto3" json:"reservations,omitempty"`
	// contains filtered or unexported fields
}

A Network.

func (*Network) Descriptor deprecated

func (*Network) Descriptor() ([]byte, []int)

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetCidr

func (x *Network) GetCidr() string

func (*Network) GetId

func (x *Network) GetId() string

func (*Network) GetIpAddress

func (x *Network) GetIpAddress() string

func (*Network) GetLabels

func (x *Network) GetLabels() map[string]string

func (*Network) GetMacAddress

func (x *Network) GetMacAddress() []string

func (*Network) GetName

func (x *Network) GetName() string

func (*Network) GetReservations

func (x *Network) GetReservations() []*NetworkAddressReservation

func (*Network) GetServicesCidr

func (x *Network) GetServicesCidr() string

func (*Network) GetState

func (x *Network) GetState() Network_State

func (*Network) GetType

func (x *Network) GetType() Network_Type

func (*Network) GetVlanId

func (x *Network) GetVlanId() string

func (*Network) GetVrf

func (x *Network) GetVrf() *VRF

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) ProtoReflect

func (x *Network) ProtoReflect() protoreflect.Message

func (*Network) Reset

func (x *Network) Reset()

func (*Network) String

func (x *Network) String() string

type NetworkAddressReservation

type NetworkAddressReservation struct {

	// The first address of this reservation block.
	// Must be specified as a single IPv4 address, e.g. 10.1.2.2.
	StartAddress string `protobuf:"bytes,1,opt,name=start_address,json=startAddress,proto3" json:"start_address,omitempty"`
	// 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.
	EndAddress string `protobuf:"bytes,2,opt,name=end_address,json=endAddress,proto3" json:"end_address,omitempty"`
	// A note about this reservation, intended for human consumption.
	Note string `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

A reservation of one or more addresses in a network.

func (*NetworkAddressReservation) Descriptor deprecated

func (*NetworkAddressReservation) Descriptor() ([]byte, []int)

Deprecated: Use NetworkAddressReservation.ProtoReflect.Descriptor instead.

func (*NetworkAddressReservation) GetEndAddress

func (x *NetworkAddressReservation) GetEndAddress() string

func (*NetworkAddressReservation) GetNote

func (x *NetworkAddressReservation) GetNote() string

func (*NetworkAddressReservation) GetStartAddress

func (x *NetworkAddressReservation) GetStartAddress() string

func (*NetworkAddressReservation) ProtoMessage

func (*NetworkAddressReservation) ProtoMessage()

func (*NetworkAddressReservation) ProtoReflect

func (*NetworkAddressReservation) Reset

func (x *NetworkAddressReservation) Reset()

func (*NetworkAddressReservation) String

func (x *NetworkAddressReservation) String() string

type NetworkUsage

type NetworkUsage struct {

	// Network.
	Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// All used IP addresses in this network.
	UsedIps []string `protobuf:"bytes,2,rep,name=used_ips,json=usedIps,proto3" json:"used_ips,omitempty"`
	// contains filtered or unexported fields
}

Network with all used IP addresses.

func (*NetworkUsage) Descriptor deprecated

func (*NetworkUsage) Descriptor() ([]byte, []int)

Deprecated: Use NetworkUsage.ProtoReflect.Descriptor instead.

func (*NetworkUsage) GetNetwork

func (x *NetworkUsage) GetNetwork() *Network

func (*NetworkUsage) GetUsedIps

func (x *NetworkUsage) GetUsedIps() []string

func (*NetworkUsage) ProtoMessage

func (*NetworkUsage) ProtoMessage()

func (*NetworkUsage) ProtoReflect

func (x *NetworkUsage) ProtoReflect() protoreflect.Message

func (*NetworkUsage) Reset

func (x *NetworkUsage) Reset()

func (*NetworkUsage) String

func (x *NetworkUsage) String() string

type Network_State

type Network_State int32

The possible states for this Network.

const (
	// The Network is in an unknown state.
	Network_STATE_UNSPECIFIED Network_State = 0
	// The Network is provisioning.
	Network_PROVISIONING Network_State = 1
	// The Network has been provisioned.
	Network_PROVISIONED Network_State = 2
)

func (Network_State) Descriptor

func (Network_State) Enum

func (x Network_State) Enum() *Network_State

func (Network_State) EnumDescriptor deprecated

func (Network_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Network_State.Descriptor instead.

func (Network_State) Number

func (Network_State) String

func (x Network_State) String() string

func (Network_State) Type

type Network_Type

type Network_Type int32

Network type.

const (
	// Unspecified value.
	Network_TYPE_UNSPECIFIED Network_Type = 0
	// Client network, a network peered to a Google Cloud VPC.
	Network_CLIENT Network_Type = 1
	// Private network, a network local to the Bare Metal Solution environment.
	Network_PRIVATE Network_Type = 2
)

func (Network_Type) Descriptor

func (Network_Type) Enum

func (x Network_Type) Enum() *Network_Type

func (Network_Type) EnumDescriptor deprecated

func (Network_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Network_Type.Descriptor instead.

func (Network_Type) Number

func (Network_Type) String

func (x Network_Type) String() string

func (Network_Type) Type

type NfsShare

type NfsShare struct {

	// Output only. The name of the NFS share.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. An identifier for the NFS share, generated by the backend.
	NfsShareId string `protobuf:"bytes,2,opt,name=nfs_share_id,json=nfsShareId,proto3" json:"nfs_share_id,omitempty"`
	// The state of the NFS share.
	State NfsShare_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.NfsShare_State" json:"state,omitempty"`
	// The volume containing the share.
	Volume string `protobuf:"bytes,4,opt,name=volume,proto3" json:"volume,omitempty"`
	// List of allowed access points.
	AllowedClients []*NfsShare_AllowedClient `protobuf:"bytes,5,rep,name=allowed_clients,json=allowedClients,proto3" json:"allowed_clients,omitempty"`
	// Labels as key value pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

An NFS share.

func (*NfsShare) Descriptor deprecated

func (*NfsShare) Descriptor() ([]byte, []int)

Deprecated: Use NfsShare.ProtoReflect.Descriptor instead.

func (*NfsShare) GetAllowedClients

func (x *NfsShare) GetAllowedClients() []*NfsShare_AllowedClient

func (*NfsShare) GetLabels

func (x *NfsShare) GetLabels() map[string]string

func (*NfsShare) GetName

func (x *NfsShare) GetName() string

func (*NfsShare) GetNfsShareId

func (x *NfsShare) GetNfsShareId() string

func (*NfsShare) GetState

func (x *NfsShare) GetState() NfsShare_State

func (*NfsShare) GetVolume

func (x *NfsShare) GetVolume() string

func (*NfsShare) ProtoMessage

func (*NfsShare) ProtoMessage()

func (*NfsShare) ProtoReflect

func (x *NfsShare) ProtoReflect() protoreflect.Message

func (*NfsShare) Reset

func (x *NfsShare) Reset()

func (*NfsShare) String

func (x *NfsShare) String() string

type NfsShare_AllowedClient

type NfsShare_AllowedClient struct {

	// The network the access point sits on.
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// The IP address of the share on this network.
	ShareIp string `protobuf:"bytes,2,opt,name=share_ip,json=shareIp,proto3" json:"share_ip,omitempty"`
	// The subnet of IP addresses permitted to access the share.
	AllowedClientsCidr string `protobuf:"bytes,3,opt,name=allowed_clients_cidr,json=allowedClientsCidr,proto3" json:"allowed_clients_cidr,omitempty"`
	// Mount permissions.
	MountPermissions NfsShare_MountPermissions `` /* 175-byte string literal not displayed */
	// Allow dev flag.  Which controls whether to allow creation of devices.
	AllowDev bool `protobuf:"varint,5,opt,name=allow_dev,json=allowDev,proto3" json:"allow_dev,omitempty"`
	// Allow the setuid flag.
	AllowSuid bool `protobuf:"varint,6,opt,name=allow_suid,json=allowSuid,proto3" json:"allow_suid,omitempty"`
	// Disable root squashing, which is a feature of NFS.
	// Root squash is a special mapping of the remote superuser (root) identity
	// when using identity authentication.
	NoRootSquash bool `protobuf:"varint,7,opt,name=no_root_squash,json=noRootSquash,proto3" json:"no_root_squash,omitempty"`
	// contains filtered or unexported fields
}

Represents an 'access point' for the share.

func (*NfsShare_AllowedClient) Descriptor deprecated

func (*NfsShare_AllowedClient) Descriptor() ([]byte, []int)

Deprecated: Use NfsShare_AllowedClient.ProtoReflect.Descriptor instead.

func (*NfsShare_AllowedClient) GetAllowDev

func (x *NfsShare_AllowedClient) GetAllowDev() bool

func (*NfsShare_AllowedClient) GetAllowSuid

func (x *NfsShare_AllowedClient) GetAllowSuid() bool

func (*NfsShare_AllowedClient) GetAllowedClientsCidr

func (x *NfsShare_AllowedClient) GetAllowedClientsCidr() string

func (*NfsShare_AllowedClient) GetMountPermissions

func (x *NfsShare_AllowedClient) GetMountPermissions() NfsShare_MountPermissions

func (*NfsShare_AllowedClient) GetNetwork

func (x *NfsShare_AllowedClient) GetNetwork() string

func (*NfsShare_AllowedClient) GetNoRootSquash

func (x *NfsShare_AllowedClient) GetNoRootSquash() bool

func (*NfsShare_AllowedClient) GetShareIp

func (x *NfsShare_AllowedClient) GetShareIp() string

func (*NfsShare_AllowedClient) ProtoMessage

func (*NfsShare_AllowedClient) ProtoMessage()

func (*NfsShare_AllowedClient) ProtoReflect

func (x *NfsShare_AllowedClient) ProtoReflect() protoreflect.Message

func (*NfsShare_AllowedClient) Reset

func (x *NfsShare_AllowedClient) Reset()

func (*NfsShare_AllowedClient) String

func (x *NfsShare_AllowedClient) String() string

type NfsShare_MountPermissions

type NfsShare_MountPermissions int32

The possible mount permissions.

const (
	// Permissions were not specified.
	NfsShare_MOUNT_PERMISSIONS_UNSPECIFIED NfsShare_MountPermissions = 0
	// NFS share can be mount with read-only permissions.
	NfsShare_READ NfsShare_MountPermissions = 1
	// NFS share can be mount with read-write permissions.
	NfsShare_READ_WRITE NfsShare_MountPermissions = 2
)

func (NfsShare_MountPermissions) Descriptor

func (NfsShare_MountPermissions) Enum

func (NfsShare_MountPermissions) EnumDescriptor deprecated

func (NfsShare_MountPermissions) EnumDescriptor() ([]byte, []int)

Deprecated: Use NfsShare_MountPermissions.Descriptor instead.

func (NfsShare_MountPermissions) Number

func (NfsShare_MountPermissions) String

func (x NfsShare_MountPermissions) String() string

func (NfsShare_MountPermissions) Type

type NfsShare_State

type NfsShare_State int32

The possible states for this NFS share.

const (
	// The share is in an unknown state.
	NfsShare_STATE_UNSPECIFIED NfsShare_State = 0
	// The share has been provisioned.
	NfsShare_PROVISIONED NfsShare_State = 1
)

func (NfsShare_State) Descriptor

func (NfsShare_State) Enum

func (x NfsShare_State) Enum() *NfsShare_State

func (NfsShare_State) EnumDescriptor deprecated

func (NfsShare_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use NfsShare_State.Descriptor instead.

func (NfsShare_State) Number

func (NfsShare_State) String

func (x NfsShare_State) String() string

func (NfsShare_State) Type

type OperationMetadata

type OperationMetadata struct {

	// The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Name of the action executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Identifies whether the user requested the cancellation
	// of the operation. Operations that have been successfully cancelled
	// have [Operation.error][] value with a [google.rpc.Status.code][] of 1,
	// corresponding to `Code.CANCELLED`.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// API version used with the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata from a long-running operation.

func (*OperationMetadata) Descriptor deprecated

func (*OperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

func (x *OperationMetadata) ProtoReflect() protoreflect.Message

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type ResetInstanceRequest

type ResetInstanceRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message requesting to reset a server.

func (*ResetInstanceRequest) Descriptor deprecated

func (*ResetInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetInstanceRequest.ProtoReflect.Descriptor instead.

func (*ResetInstanceRequest) GetName

func (x *ResetInstanceRequest) GetName() string

func (*ResetInstanceRequest) ProtoMessage

func (*ResetInstanceRequest) ProtoMessage()

func (*ResetInstanceRequest) ProtoReflect

func (x *ResetInstanceRequest) ProtoReflect() protoreflect.Message

func (*ResetInstanceRequest) Reset

func (x *ResetInstanceRequest) Reset()

func (*ResetInstanceRequest) String

func (x *ResetInstanceRequest) String() string

type ResetInstanceResponse

type ResetInstanceResponse struct {
	// contains filtered or unexported fields
}

Response message from resetting a server.

func (*ResetInstanceResponse) Descriptor deprecated

func (*ResetInstanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResetInstanceResponse.ProtoReflect.Descriptor instead.

func (*ResetInstanceResponse) ProtoMessage

func (*ResetInstanceResponse) ProtoMessage()

func (*ResetInstanceResponse) ProtoReflect

func (x *ResetInstanceResponse) ProtoReflect() protoreflect.Message

func (*ResetInstanceResponse) Reset

func (x *ResetInstanceResponse) Reset()

func (*ResetInstanceResponse) String

func (x *ResetInstanceResponse) String() string

type ResizeVolumeRequest

type ResizeVolumeRequest struct {

	// Required. Volume to resize.
	Volume string `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	// New Volume size, in GiB.
	SizeGib int64 `protobuf:"varint,2,opt,name=size_gib,json=sizeGib,proto3" json:"size_gib,omitempty"`
	// contains filtered or unexported fields
}

Request for emergency resize Volume.

func (*ResizeVolumeRequest) Descriptor deprecated

func (*ResizeVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResizeVolumeRequest.ProtoReflect.Descriptor instead.

func (*ResizeVolumeRequest) GetSizeGib

func (x *ResizeVolumeRequest) GetSizeGib() int64

func (*ResizeVolumeRequest) GetVolume

func (x *ResizeVolumeRequest) GetVolume() string

func (*ResizeVolumeRequest) ProtoMessage

func (*ResizeVolumeRequest) ProtoMessage()

func (*ResizeVolumeRequest) ProtoReflect

func (x *ResizeVolumeRequest) ProtoReflect() protoreflect.Message

func (*ResizeVolumeRequest) Reset

func (x *ResizeVolumeRequest) Reset()

func (*ResizeVolumeRequest) String

func (x *ResizeVolumeRequest) String() string

type ServerNetworkTemplate

type ServerNetworkTemplate struct {

	// 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<interface_type_index><bond_mode>" or "nic<interface_type_index>".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Instance types this template is applicable to.
	ApplicableInstanceTypes []string `` /* 132-byte string literal not displayed */
	// Logical interfaces.
	LogicalInterfaces []*ServerNetworkTemplate_LogicalInterface `protobuf:"bytes,3,rep,name=logical_interfaces,json=logicalInterfaces,proto3" json:"logical_interfaces,omitempty"`
	// contains filtered or unexported fields
}

Network template.

func (*ServerNetworkTemplate) Descriptor deprecated

func (*ServerNetworkTemplate) Descriptor() ([]byte, []int)

Deprecated: Use ServerNetworkTemplate.ProtoReflect.Descriptor instead.

func (*ServerNetworkTemplate) GetApplicableInstanceTypes

func (x *ServerNetworkTemplate) GetApplicableInstanceTypes() []string

func (*ServerNetworkTemplate) GetLogicalInterfaces

func (*ServerNetworkTemplate) GetName

func (x *ServerNetworkTemplate) GetName() string

func (*ServerNetworkTemplate) ProtoMessage

func (*ServerNetworkTemplate) ProtoMessage()

func (*ServerNetworkTemplate) ProtoReflect

func (x *ServerNetworkTemplate) ProtoReflect() protoreflect.Message

func (*ServerNetworkTemplate) Reset

func (x *ServerNetworkTemplate) Reset()

func (*ServerNetworkTemplate) String

func (x *ServerNetworkTemplate) String() string

type ServerNetworkTemplate_LogicalInterface

type ServerNetworkTemplate_LogicalInterface struct {

	// 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.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Interface type.
	Type ServerNetworkTemplate_LogicalInterface_InterfaceType `` /* 154-byte string literal not displayed */
	// If true, interface must have network connected.
	Required bool `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
	// contains filtered or unexported fields
}

Logical interface.

func (*ServerNetworkTemplate_LogicalInterface) Descriptor deprecated

func (*ServerNetworkTemplate_LogicalInterface) Descriptor() ([]byte, []int)

Deprecated: Use ServerNetworkTemplate_LogicalInterface.ProtoReflect.Descriptor instead.

func (*ServerNetworkTemplate_LogicalInterface) GetName

func (*ServerNetworkTemplate_LogicalInterface) GetRequired

func (*ServerNetworkTemplate_LogicalInterface) GetType

func (*ServerNetworkTemplate_LogicalInterface) ProtoMessage

func (*ServerNetworkTemplate_LogicalInterface) ProtoReflect

func (*ServerNetworkTemplate_LogicalInterface) Reset

func (*ServerNetworkTemplate_LogicalInterface) String

type ServerNetworkTemplate_LogicalInterface_InterfaceType

type ServerNetworkTemplate_LogicalInterface_InterfaceType int32

Interface type.

const (
	// Unspecified value.
	ServerNetworkTemplate_LogicalInterface_INTERFACE_TYPE_UNSPECIFIED ServerNetworkTemplate_LogicalInterface_InterfaceType = 0
	// Bond interface type.
	ServerNetworkTemplate_LogicalInterface_BOND ServerNetworkTemplate_LogicalInterface_InterfaceType = 1
	// NIC interface type.
	ServerNetworkTemplate_LogicalInterface_NIC ServerNetworkTemplate_LogicalInterface_InterfaceType = 2
)

func (ServerNetworkTemplate_LogicalInterface_InterfaceType) Descriptor

func (ServerNetworkTemplate_LogicalInterface_InterfaceType) Enum

func (ServerNetworkTemplate_LogicalInterface_InterfaceType) EnumDescriptor deprecated

Deprecated: Use ServerNetworkTemplate_LogicalInterface_InterfaceType.Descriptor instead.

func (ServerNetworkTemplate_LogicalInterface_InterfaceType) Number

func (ServerNetworkTemplate_LogicalInterface_InterfaceType) String

func (ServerNetworkTemplate_LogicalInterface_InterfaceType) Type

type StartInstanceRequest

type StartInstanceRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message requesting to start a server.

func (*StartInstanceRequest) Descriptor deprecated

func (*StartInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartInstanceRequest.ProtoReflect.Descriptor instead.

func (*StartInstanceRequest) GetName

func (x *StartInstanceRequest) GetName() string

func (*StartInstanceRequest) ProtoMessage

func (*StartInstanceRequest) ProtoMessage()

func (*StartInstanceRequest) ProtoReflect

func (x *StartInstanceRequest) ProtoReflect() protoreflect.Message

func (*StartInstanceRequest) Reset

func (x *StartInstanceRequest) Reset()

func (*StartInstanceRequest) String

func (x *StartInstanceRequest) String() string

type StartInstanceResponse

type StartInstanceResponse struct {
	// contains filtered or unexported fields
}

Response message from starting a server.

func (*StartInstanceResponse) Descriptor deprecated

func (*StartInstanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartInstanceResponse.ProtoReflect.Descriptor instead.

func (*StartInstanceResponse) ProtoMessage

func (*StartInstanceResponse) ProtoMessage()

func (*StartInstanceResponse) ProtoReflect

func (x *StartInstanceResponse) ProtoReflect() protoreflect.Message

func (*StartInstanceResponse) Reset

func (x *StartInstanceResponse) Reset()

func (*StartInstanceResponse) String

func (x *StartInstanceResponse) String() string

type StopInstanceRequest

type StopInstanceRequest struct {

	// Required. Name of the resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message requesting to stop a server.

func (*StopInstanceRequest) Descriptor deprecated

func (*StopInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopInstanceRequest.ProtoReflect.Descriptor instead.

func (*StopInstanceRequest) GetName

func (x *StopInstanceRequest) GetName() string

func (*StopInstanceRequest) ProtoMessage

func (*StopInstanceRequest) ProtoMessage()

func (*StopInstanceRequest) ProtoReflect

func (x *StopInstanceRequest) ProtoReflect() protoreflect.Message

func (*StopInstanceRequest) Reset

func (x *StopInstanceRequest) Reset()

func (*StopInstanceRequest) String

func (x *StopInstanceRequest) String() string

type StopInstanceResponse

type StopInstanceResponse struct {
	// contains filtered or unexported fields
}

Response message from stopping a server.

func (*StopInstanceResponse) Descriptor deprecated

func (*StopInstanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use StopInstanceResponse.ProtoReflect.Descriptor instead.

func (*StopInstanceResponse) ProtoMessage

func (*StopInstanceResponse) ProtoMessage()

func (*StopInstanceResponse) ProtoReflect

func (x *StopInstanceResponse) ProtoReflect() protoreflect.Message

func (*StopInstanceResponse) Reset

func (x *StopInstanceResponse) Reset()

func (*StopInstanceResponse) String

func (x *StopInstanceResponse) String() string

type UnimplementedBareMetalSolutionServer

type UnimplementedBareMetalSolutionServer struct {
}

UnimplementedBareMetalSolutionServer can be embedded to have forward compatible implementations.

func (*UnimplementedBareMetalSolutionServer) DetachLun

func (*UnimplementedBareMetalSolutionServer) GetInstance

func (*UnimplementedBareMetalSolutionServer) GetLun

func (*UnimplementedBareMetalSolutionServer) GetNetwork

func (*UnimplementedBareMetalSolutionServer) GetNfsShare

func (*UnimplementedBareMetalSolutionServer) GetVolume

func (*UnimplementedBareMetalSolutionServer) ListInstances

func (*UnimplementedBareMetalSolutionServer) ListLuns

func (*UnimplementedBareMetalSolutionServer) ListNetworkUsage

func (*UnimplementedBareMetalSolutionServer) ListNetworks

func (*UnimplementedBareMetalSolutionServer) ListNfsShares

func (*UnimplementedBareMetalSolutionServer) ListVolumes

func (*UnimplementedBareMetalSolutionServer) ResetInstance

func (*UnimplementedBareMetalSolutionServer) ResizeVolume

func (*UnimplementedBareMetalSolutionServer) StartInstance

func (*UnimplementedBareMetalSolutionServer) StopInstance

func (*UnimplementedBareMetalSolutionServer) UpdateInstance

func (*UnimplementedBareMetalSolutionServer) UpdateNetwork

func (*UnimplementedBareMetalSolutionServer) UpdateNfsShare

func (*UnimplementedBareMetalSolutionServer) UpdateVolume

type UpdateInstanceRequest

type UpdateInstanceRequest struct {

	// Required. The server to update.
	//
	// The `name` field is used to identify the instance to update.
	// Format: projects/{project}/locations/{location}/instances/{instance}
	Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// The list of fields to update.
	// The currently supported fields are:
	//   `labels`
	//   `hyperthreading_enabled`
	//   `os_image`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Message requesting to updating a server.

func (*UpdateInstanceRequest) Descriptor deprecated

func (*UpdateInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateInstanceRequest.ProtoReflect.Descriptor instead.

func (*UpdateInstanceRequest) GetInstance

func (x *UpdateInstanceRequest) GetInstance() *Instance

func (*UpdateInstanceRequest) GetUpdateMask

func (x *UpdateInstanceRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateInstanceRequest) ProtoMessage

func (*UpdateInstanceRequest) ProtoMessage()

func (*UpdateInstanceRequest) ProtoReflect

func (x *UpdateInstanceRequest) ProtoReflect() protoreflect.Message

func (*UpdateInstanceRequest) Reset

func (x *UpdateInstanceRequest) Reset()

func (*UpdateInstanceRequest) String

func (x *UpdateInstanceRequest) String() string

type UpdateNetworkRequest

type UpdateNetworkRequest struct {

	// Required. The network to update.
	//
	// The `name` field is used to identify the instance to update.
	// Format: projects/{project}/locations/{location}/networks/{network}
	Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// The list of fields to update.
	// The only currently supported fields are:
	//   `labels`, `reservations`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Message requesting to updating a network.

func (*UpdateNetworkRequest) Descriptor deprecated

func (*UpdateNetworkRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNetworkRequest.ProtoReflect.Descriptor instead.

func (*UpdateNetworkRequest) GetNetwork

func (x *UpdateNetworkRequest) GetNetwork() *Network

func (*UpdateNetworkRequest) GetUpdateMask

func (x *UpdateNetworkRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateNetworkRequest) ProtoMessage

func (*UpdateNetworkRequest) ProtoMessage()

func (*UpdateNetworkRequest) ProtoReflect

func (x *UpdateNetworkRequest) ProtoReflect() protoreflect.Message

func (*UpdateNetworkRequest) Reset

func (x *UpdateNetworkRequest) Reset()

func (*UpdateNetworkRequest) String

func (x *UpdateNetworkRequest) String() string

type UpdateNfsShareRequest

type UpdateNfsShareRequest struct {

	// Required. The NFS share to update.
	//
	// The `name` field is used to identify the NFS share to update.
	// Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}
	NfsShare *NfsShare `protobuf:"bytes,1,opt,name=nfs_share,json=nfsShare,proto3" json:"nfs_share,omitempty"`
	// The list of fields to update.
	// The only currently supported fields are:
	//   `labels`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Message requesting to updating a NFS share.

func (*UpdateNfsShareRequest) Descriptor deprecated

func (*UpdateNfsShareRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNfsShareRequest.ProtoReflect.Descriptor instead.

func (*UpdateNfsShareRequest) GetNfsShare

func (x *UpdateNfsShareRequest) GetNfsShare() *NfsShare

func (*UpdateNfsShareRequest) GetUpdateMask

func (x *UpdateNfsShareRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateNfsShareRequest) ProtoMessage

func (*UpdateNfsShareRequest) ProtoMessage()

func (*UpdateNfsShareRequest) ProtoReflect

func (x *UpdateNfsShareRequest) ProtoReflect() protoreflect.Message

func (*UpdateNfsShareRequest) Reset

func (x *UpdateNfsShareRequest) Reset()

func (*UpdateNfsShareRequest) String

func (x *UpdateNfsShareRequest) String() string

type UpdateVolumeRequest

type UpdateVolumeRequest struct {

	// Required. The volume to update.
	//
	// The `name` field is used to identify the volume to update.
	// Format: projects/{project}/locations/{location}/volumes/{volume}
	Volume *Volume `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
	// The list of fields to update.
	// The only currently supported fields are:
	//   `snapshot_auto_delete_behavior`
	//   `snapshot_schedule_policy_name`
	//   'labels'
	//   'snapshot_enabled'
	//   'snapshot_reservation_detail.reserved_space_percent'
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Message for updating a volume.

func (*UpdateVolumeRequest) Descriptor deprecated

func (*UpdateVolumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateVolumeRequest.ProtoReflect.Descriptor instead.

func (*UpdateVolumeRequest) GetUpdateMask

func (x *UpdateVolumeRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateVolumeRequest) GetVolume

func (x *UpdateVolumeRequest) GetVolume() *Volume

func (*UpdateVolumeRequest) ProtoMessage

func (*UpdateVolumeRequest) ProtoMessage()

func (*UpdateVolumeRequest) ProtoReflect

func (x *UpdateVolumeRequest) ProtoReflect() protoreflect.Message

func (*UpdateVolumeRequest) Reset

func (x *UpdateVolumeRequest) Reset()

func (*UpdateVolumeRequest) String

func (x *UpdateVolumeRequest) String() string

type VRF

type VRF struct {

	// The name of the VRF.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The possible state of VRF.
	State VRF_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.VRF_State" json:"state,omitempty"`
	// The QOS policy applied to this VRF.
	QosPolicy *VRF_QosPolicy `protobuf:"bytes,6,opt,name=qos_policy,json=qosPolicy,proto3" json:"qos_policy,omitempty"`
	// The list of VLAN attachments for the VRF.
	VlanAttachments []*VRF_VlanAttachment `protobuf:"bytes,7,rep,name=vlan_attachments,json=vlanAttachments,proto3" json:"vlan_attachments,omitempty"`
	// contains filtered or unexported fields
}

A network VRF.

func (*VRF) Descriptor deprecated

func (*VRF) Descriptor() ([]byte, []int)

Deprecated: Use VRF.ProtoReflect.Descriptor instead.

func (*VRF) GetName

func (x *VRF) GetName() string

func (*VRF) GetQosPolicy

func (x *VRF) GetQosPolicy() *VRF_QosPolicy

func (*VRF) GetState

func (x *VRF) GetState() VRF_State

func (*VRF) GetVlanAttachments

func (x *VRF) GetVlanAttachments() []*VRF_VlanAttachment

func (*VRF) ProtoMessage

func (*VRF) ProtoMessage()

func (*VRF) ProtoReflect

func (x *VRF) ProtoReflect() protoreflect.Message

func (*VRF) Reset

func (x *VRF) Reset()

func (*VRF) String

func (x *VRF) String() string

type VRF_QosPolicy

type VRF_QosPolicy struct {

	// The bandwidth permitted by the QOS policy, in gbps.
	BandwidthGbps float64 `protobuf:"fixed64,1,opt,name=bandwidth_gbps,json=bandwidthGbps,proto3" json:"bandwidth_gbps,omitempty"`
	// contains filtered or unexported fields
}

QOS policy parameters.

func (*VRF_QosPolicy) Descriptor deprecated

func (*VRF_QosPolicy) Descriptor() ([]byte, []int)

Deprecated: Use VRF_QosPolicy.ProtoReflect.Descriptor instead.

func (*VRF_QosPolicy) GetBandwidthGbps

func (x *VRF_QosPolicy) GetBandwidthGbps() float64

func (*VRF_QosPolicy) ProtoMessage

func (*VRF_QosPolicy) ProtoMessage()

func (*VRF_QosPolicy) ProtoReflect

func (x *VRF_QosPolicy) ProtoReflect() protoreflect.Message

func (*VRF_QosPolicy) Reset

func (x *VRF_QosPolicy) Reset()

func (*VRF_QosPolicy) String

func (x *VRF_QosPolicy) String() string

type VRF_State

type VRF_State int32

The possible states for this VRF.

const (
	// The unspecified state.
	VRF_STATE_UNSPECIFIED VRF_State = 0
	// The vrf is provisioning.
	VRF_PROVISIONING VRF_State = 1
	// The vrf is provisioned.
	VRF_PROVISIONED VRF_State = 2
)

func (VRF_State) Descriptor

func (VRF_State) Descriptor() protoreflect.EnumDescriptor

func (VRF_State) Enum

func (x VRF_State) Enum() *VRF_State

func (VRF_State) EnumDescriptor deprecated

func (VRF_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use VRF_State.Descriptor instead.

func (VRF_State) Number

func (x VRF_State) Number() protoreflect.EnumNumber

func (VRF_State) String

func (x VRF_State) String() string

func (VRF_State) Type

type VRF_VlanAttachment

type VRF_VlanAttachment struct {

	// The peer vlan ID of the attachment.
	PeerVlanId int64 `protobuf:"varint,1,opt,name=peer_vlan_id,json=peerVlanId,proto3" json:"peer_vlan_id,omitempty"`
	// The peer IP of the attachment.
	PeerIp string `protobuf:"bytes,2,opt,name=peer_ip,json=peerIp,proto3" json:"peer_ip,omitempty"`
	// The router IP of the attachment.
	RouterIp string `protobuf:"bytes,3,opt,name=router_ip,json=routerIp,proto3" json:"router_ip,omitempty"`
	// contains filtered or unexported fields
}

VLAN attachment details.

func (*VRF_VlanAttachment) Descriptor deprecated

func (*VRF_VlanAttachment) Descriptor() ([]byte, []int)

Deprecated: Use VRF_VlanAttachment.ProtoReflect.Descriptor instead.

func (*VRF_VlanAttachment) GetPeerIp

func (x *VRF_VlanAttachment) GetPeerIp() string

func (*VRF_VlanAttachment) GetPeerVlanId

func (x *VRF_VlanAttachment) GetPeerVlanId() int64

func (*VRF_VlanAttachment) GetRouterIp

func (x *VRF_VlanAttachment) GetRouterIp() string

func (*VRF_VlanAttachment) ProtoMessage

func (*VRF_VlanAttachment) ProtoMessage()

func (*VRF_VlanAttachment) ProtoReflect

func (x *VRF_VlanAttachment) ProtoReflect() protoreflect.Message

func (*VRF_VlanAttachment) Reset

func (x *VRF_VlanAttachment) Reset()

func (*VRF_VlanAttachment) String

func (x *VRF_VlanAttachment) String() string

type Volume

type Volume struct {

	// Output only. The resource name of this `Volume`.
	// Resource names are schemeless URIs that follow the conventions in
	// https://cloud.google.com/apis/design/resource_names.
	// Format:
	// `projects/{project}/locations/{location}/volumes/{volume}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// An identifier for the `Volume`, generated by the backend.
	Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"`
	// The storage type for this volume.
	StorageType Volume_StorageType `` /* 153-byte string literal not displayed */
	// The state of this storage volume.
	State Volume_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Volume_State" json:"state,omitempty"`
	// The requested size of this storage volume, in GiB.
	RequestedSizeGib int64 `protobuf:"varint,4,opt,name=requested_size_gib,json=requestedSizeGib,proto3" json:"requested_size_gib,omitempty"`
	// 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.
	CurrentSizeGib int64 `protobuf:"varint,5,opt,name=current_size_gib,json=currentSizeGib,proto3" json:"current_size_gib,omitempty"`
	// Additional emergency size that was requested for this Volume, in GiB.
	// current_size_gib includes this value.
	EmergencySizeGib int64 `protobuf:"varint,14,opt,name=emergency_size_gib,json=emergencySizeGib,proto3" json:"emergency_size_gib,omitempty"`
	// 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.
	AutoGrownSizeGib int64 `protobuf:"varint,6,opt,name=auto_grown_size_gib,json=autoGrownSizeGib,proto3" json:"auto_grown_size_gib,omitempty"`
	// The space remaining in the storage volume for new LUNs, in GiB, excluding
	// space reserved for snapshots.
	RemainingSpaceGib int64 `protobuf:"varint,7,opt,name=remaining_space_gib,json=remainingSpaceGib,proto3" json:"remaining_space_gib,omitempty"`
	// Details about snapshot space reservation and usage on the storage volume.
	SnapshotReservationDetail *Volume_SnapshotReservationDetail `` /* 138-byte string literal not displayed */
	// The behavior to use when snapshot reserved space is full.
	SnapshotAutoDeleteBehavior Volume_SnapshotAutoDeleteBehavior `` /* 217-byte string literal not displayed */
	// Labels as key value pairs.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Whether snapshots are enabled.
	SnapshotEnabled bool `protobuf:"varint,13,opt,name=snapshot_enabled,json=snapshotEnabled,proto3" json:"snapshot_enabled,omitempty"`
	// Immutable. Pod name.
	Pod string `protobuf:"bytes,15,opt,name=pod,proto3" json:"pod,omitempty"`
	// contains filtered or unexported fields
}

A storage volume.

func (*Volume) Descriptor deprecated

func (*Volume) Descriptor() ([]byte, []int)

Deprecated: Use Volume.ProtoReflect.Descriptor instead.

func (*Volume) GetAutoGrownSizeGib

func (x *Volume) GetAutoGrownSizeGib() int64

func (*Volume) GetCurrentSizeGib

func (x *Volume) GetCurrentSizeGib() int64

func (*Volume) GetEmergencySizeGib

func (x *Volume) GetEmergencySizeGib() int64

func (*Volume) GetId

func (x *Volume) GetId() string

func (*Volume) GetLabels

func (x *Volume) GetLabels() map[string]string

func (*Volume) GetName

func (x *Volume) GetName() string

func (*Volume) GetPod

func (x *Volume) GetPod() string

func (*Volume) GetRemainingSpaceGib

func (x *Volume) GetRemainingSpaceGib() int64

func (*Volume) GetRequestedSizeGib

func (x *Volume) GetRequestedSizeGib() int64

func (*Volume) GetSnapshotAutoDeleteBehavior

func (x *Volume) GetSnapshotAutoDeleteBehavior() Volume_SnapshotAutoDeleteBehavior

func (*Volume) GetSnapshotEnabled

func (x *Volume) GetSnapshotEnabled() bool

func (*Volume) GetSnapshotReservationDetail

func (x *Volume) GetSnapshotReservationDetail() *Volume_SnapshotReservationDetail

func (*Volume) GetState

func (x *Volume) GetState() Volume_State

func (*Volume) GetStorageType

func (x *Volume) GetStorageType() Volume_StorageType

func (*Volume) ProtoMessage

func (*Volume) ProtoMessage()

func (*Volume) ProtoReflect

func (x *Volume) ProtoReflect() protoreflect.Message

func (*Volume) Reset

func (x *Volume) Reset()

func (*Volume) String

func (x *Volume) String() string

type Volume_SnapshotAutoDeleteBehavior

type Volume_SnapshotAutoDeleteBehavior int32

The kinds of auto delete behavior to use when snapshot reserved space is full.

const (
	// The unspecified behavior.
	Volume_SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED Volume_SnapshotAutoDeleteBehavior = 0
	// Don't delete any snapshots. This disables new snapshot creation, as
	// long as the snapshot reserved space is full.
	Volume_DISABLED Volume_SnapshotAutoDeleteBehavior = 1
	// Delete the oldest snapshots first.
	Volume_OLDEST_FIRST Volume_SnapshotAutoDeleteBehavior = 2
	// Delete the newest snapshots first.
	Volume_NEWEST_FIRST Volume_SnapshotAutoDeleteBehavior = 3
)

func (Volume_SnapshotAutoDeleteBehavior) Descriptor

func (Volume_SnapshotAutoDeleteBehavior) Enum

func (Volume_SnapshotAutoDeleteBehavior) EnumDescriptor deprecated

func (Volume_SnapshotAutoDeleteBehavior) EnumDescriptor() ([]byte, []int)

Deprecated: Use Volume_SnapshotAutoDeleteBehavior.Descriptor instead.

func (Volume_SnapshotAutoDeleteBehavior) Number

func (Volume_SnapshotAutoDeleteBehavior) String

func (Volume_SnapshotAutoDeleteBehavior) Type

type Volume_SnapshotReservationDetail

type Volume_SnapshotReservationDetail struct {

	// The space on this storage volume reserved for snapshots, shown in GiB.
	ReservedSpaceGib int64 `protobuf:"varint,1,opt,name=reserved_space_gib,json=reservedSpaceGib,proto3" json:"reserved_space_gib,omitempty"`
	// 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.
	ReservedSpaceUsedPercent int32 `` /* 138-byte string literal not displayed */
	// The amount, in GiB, of available space in this storage volume's reserved
	// snapshot space.
	ReservedSpaceRemainingGib int64 `` /* 141-byte string literal not displayed */
	// 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.
	ReservedSpacePercent int32 `protobuf:"varint,4,opt,name=reserved_space_percent,json=reservedSpacePercent,proto3" json:"reserved_space_percent,omitempty"`
	// contains filtered or unexported fields
}

Details about snapshot space reservation and usage on the storage volume.

func (*Volume_SnapshotReservationDetail) Descriptor deprecated

func (*Volume_SnapshotReservationDetail) Descriptor() ([]byte, []int)

Deprecated: Use Volume_SnapshotReservationDetail.ProtoReflect.Descriptor instead.

func (*Volume_SnapshotReservationDetail) GetReservedSpaceGib

func (x *Volume_SnapshotReservationDetail) GetReservedSpaceGib() int64

func (*Volume_SnapshotReservationDetail) GetReservedSpacePercent

func (x *Volume_SnapshotReservationDetail) GetReservedSpacePercent() int32

func (*Volume_SnapshotReservationDetail) GetReservedSpaceRemainingGib

func (x *Volume_SnapshotReservationDetail) GetReservedSpaceRemainingGib() int64

func (*Volume_SnapshotReservationDetail) GetReservedSpaceUsedPercent

func (x *Volume_SnapshotReservationDetail) GetReservedSpaceUsedPercent() int32

func (*Volume_SnapshotReservationDetail) ProtoMessage

func (*Volume_SnapshotReservationDetail) ProtoMessage()

func (*Volume_SnapshotReservationDetail) ProtoReflect

func (*Volume_SnapshotReservationDetail) Reset

func (*Volume_SnapshotReservationDetail) String

type Volume_State

type Volume_State int32

The possible states for a storage volume.

const (
	// The storage volume is in an unknown state.
	Volume_STATE_UNSPECIFIED Volume_State = 0
	// The storage volume is being created.
	Volume_CREATING Volume_State = 1
	// The storage volume is ready for use.
	Volume_READY Volume_State = 2
	// The storage volume has been requested to be deleted.
	Volume_DELETING Volume_State = 3
)

func (Volume_State) Descriptor

func (Volume_State) Enum

func (x Volume_State) Enum() *Volume_State

func (Volume_State) EnumDescriptor deprecated

func (Volume_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Volume_State.Descriptor instead.

func (Volume_State) Number

func (Volume_State) String

func (x Volume_State) String() string

func (Volume_State) Type

type Volume_StorageType

type Volume_StorageType int32

The storage type for a volume.

const (
	// The storage type for this volume is unknown.
	Volume_STORAGE_TYPE_UNSPECIFIED Volume_StorageType = 0
	// The storage type for this volume is SSD.
	Volume_SSD Volume_StorageType = 1
	// This storage type for this volume is HDD.
	Volume_HDD Volume_StorageType = 2
)

func (Volume_StorageType) Descriptor

func (Volume_StorageType) Enum

func (Volume_StorageType) EnumDescriptor deprecated

func (Volume_StorageType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Volume_StorageType.Descriptor instead.

func (Volume_StorageType) Number

func (Volume_StorageType) String

func (x Volume_StorageType) String() string

func (Volume_StorageType) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL