Package cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb (v1.0.1)

Variables

Instance_State_name, Instance_State_value

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.

ServerNetworkTemplate_LogicalInterface_InterfaceType_name, ServerNetworkTemplate_LogicalInterface_InterfaceType_value

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.

Lun_State_name, Lun_State_value

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.

Lun_MultiprotocolType_name, Lun_MultiprotocolType_value

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.

Lun_StorageType_name, Lun_StorageType_value

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.

Network_Type_name, Network_Type_value

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.

Network_State_name, Network_State_value

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.

VRF_State_name, VRF_State_value

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.

NfsShare_State_name, NfsShare_State_value

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.

NfsShare_MountPermissions_name, NfsShare_MountPermissions_value

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.

Volume_StorageType_name, Volume_StorageType_value

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.

Volume_State_name, Volume_State_value

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.

Volume_SnapshotAutoDeleteBehavior_name, Volume_SnapshotAutoDeleteBehavior_value

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.

File_google_cloud_baremetalsolution_v2_baremetalsolution_proto

var File_google_cloud_baremetalsolution_v2_baremetalsolution_proto protoreflect.FileDescriptor

File_google_cloud_baremetalsolution_v2_instance_proto

var File_google_cloud_baremetalsolution_v2_instance_proto protoreflect.FileDescriptor

File_google_cloud_baremetalsolution_v2_lun_proto

var File_google_cloud_baremetalsolution_v2_lun_proto protoreflect.FileDescriptor

File_google_cloud_baremetalsolution_v2_network_proto

var File_google_cloud_baremetalsolution_v2_network_proto protoreflect.FileDescriptor

File_google_cloud_baremetalsolution_v2_nfs_share_proto

var File_google_cloud_baremetalsolution_v2_nfs_share_proto protoreflect.FileDescriptor

File_google_cloud_baremetalsolution_v2_volume_proto

var File_google_cloud_baremetalsolution_v2_volume_proto protoreflect.FileDescriptor

Functions

func RegisterBareMetalSolutionServer

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

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.

func NewBareMetalSolutionClient

func NewBareMetalSolutionClient(cc grpc.ClientConnInterface) BareMetalSolutionClient

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.

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

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

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

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

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

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

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

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

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

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

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

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

Instance

type Instance struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	Id string `protobuf:"bytes,11,opt,name=id,proto3" json:"id,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	MachineType string `protobuf:"bytes,4,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`

	State Instance_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Instance_State" json:"state,omitempty"`

	HyperthreadingEnabled bool `protobuf:"varint,6,opt,name=hyperthreading_enabled,json=hyperthreadingEnabled,proto3" json:"hyperthreading_enabled,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	Luns []*Lun `protobuf:"bytes,8,rep,name=luns,proto3" json:"luns,omitempty"`

	Networks []*Network `protobuf:"bytes,9,rep,name=networks,proto3" json:"networks,omitempty"`

	InteractiveSerialConsoleEnabled bool "" /* 160 byte string literal not displayed */

	OsImage string `protobuf:"bytes,12,opt,name=os_image,json=osImage,proto3" json:"os_image,omitempty"`

	Pod string `protobuf:"bytes,13,opt,name=pod,proto3" json:"pod,omitempty"`

	NetworkTemplate string `protobuf:"bytes,14,opt,name=network_template,json=networkTemplate,proto3" json:"network_template,omitempty"`

	LogicalInterfaces []*LogicalInterface `protobuf:"bytes,15,rep,name=logical_interfaces,json=logicalInterfaces,proto3" json:"logical_interfaces,omitempty"`

}

A server.

func (*Instance) Descriptor

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

Instance_State

type Instance_State int32

The possible states for this server.

Instance_STATE_UNSPECIFIED, Instance_PROVISIONING, Instance_RUNNING, Instance_DELETED

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

LogicalInterface

type LogicalInterface struct {
	LogicalNetworkInterfaces []*LogicalInterface_LogicalNetworkInterface "" /* 135 byte string literal not displayed */

	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`

	InterfaceIndex int32 `protobuf:"varint,3,opt,name=interface_index,json=interfaceIndex,proto3" json:"interface_index,omitempty"`

}

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

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

LogicalInterface_LogicalNetworkInterface

type LogicalInterface_LogicalNetworkInterface struct {
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`

	IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`

	DefaultGateway bool `protobuf:"varint,3,opt,name=default_gateway,json=defaultGateway,proto3" json:"default_gateway,omitempty"`

	NetworkType Network_Type "" /* 147 byte string literal not displayed */

	Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`

}

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

func (*LogicalInterface_LogicalNetworkInterface) Descriptor

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

Lun

type Lun struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`

	State Lun_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Lun_State" json:"state,omitempty"`

	SizeGb int64 `protobuf:"varint,3,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`

	MultiprotocolType Lun_MultiprotocolType "" /* 174 byte string literal not displayed */

	StorageVolume string `protobuf:"bytes,5,opt,name=storage_volume,json=storageVolume,proto3" json:"storage_volume,omitempty"`

	Shareable bool `protobuf:"varint,6,opt,name=shareable,proto3" json:"shareable,omitempty"`

	BootLun bool `protobuf:"varint,7,opt,name=boot_lun,json=bootLun,proto3" json:"boot_lun,omitempty"`

	StorageType Lun_StorageType "" /* 150 byte string literal not displayed */

	Wwid string `protobuf:"bytes,9,opt,name=wwid,proto3" json:"wwid,omitempty"`

}

A storage volume logical unit number (LUN).

func (*Lun) Descriptor

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

Lun_MultiprotocolType

type Lun_MultiprotocolType int32

Display the operating systems present for the LUN multiprotocol type.

Lun_MULTIPROTOCOL_TYPE_UNSPECIFIED, Lun_LINUX

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

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

Lun_State

type Lun_State int32

The possible states for the LUN.

Lun_STATE_UNSPECIFIED, Lun_CREATING, Lun_UPDATING, Lun_READY, Lun_DELETING

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

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

Lun_StorageType

type Lun_StorageType int32

The storage types for a LUN.

Lun_STORAGE_TYPE_UNSPECIFIED, Lun_SSD, Lun_HDD

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

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

Network

type Network struct {
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`

	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`

	Type Network_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.baremetalsolution.v2.Network_Type" json:"type,omitempty"`

	IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`

	MacAddress []string `protobuf:"bytes,4,rep,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`

	State Network_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.Network_State" json:"state,omitempty"`

	VlanId string `protobuf:"bytes,7,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"`

	Cidr string `protobuf:"bytes,8,opt,name=cidr,proto3" json:"cidr,omitempty"`

	Vrf *VRF `protobuf:"bytes,9,opt,name=vrf,proto3" json:"vrf,omitempty"`

	Labels map[string]string "" /* 154 byte string literal not displayed */

	ServicesCidr string `protobuf:"bytes,12,opt,name=services_cidr,json=servicesCidr,proto3" json:"services_cidr,omitempty"`

	Reservations []*NetworkAddressReservation `protobuf:"bytes,13,rep,name=reservations,proto3" json:"reservations,omitempty"`

}

A Network.

func (*Network) Descriptor

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

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

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

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

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

Network_State

type Network_State int32

The possible states for this Network.

Network_STATE_UNSPECIFIED, Network_PROVISIONING, Network_PROVISIONED

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

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

Network_Type

type Network_Type int32

Network type.

Network_TYPE_UNSPECIFIED, Network_CLIENT, Network_PRIVATE

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

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

NfsShare

type NfsShare struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	NfsShareId string `protobuf:"bytes,2,opt,name=nfs_share_id,json=nfsShareId,proto3" json:"nfs_share_id,omitempty"`

	State NfsShare_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.NfsShare_State" json:"state,omitempty"`

	Volume string `protobuf:"bytes,4,opt,name=volume,proto3" json:"volume,omitempty"`

	AllowedClients []*NfsShare_AllowedClient `protobuf:"bytes,5,rep,name=allowed_clients,json=allowedClients,proto3" json:"allowed_clients,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

}

An NFS share.

func (*NfsShare) Descriptor

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

NfsShare_AllowedClient

type NfsShare_AllowedClient struct {
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`

	ShareIp string `protobuf:"bytes,2,opt,name=share_ip,json=shareIp,proto3" json:"share_ip,omitempty"`

	AllowedClientsCidr string `protobuf:"bytes,3,opt,name=allowed_clients_cidr,json=allowedClientsCidr,proto3" json:"allowed_clients_cidr,omitempty"`

	MountPermissions NfsShare_MountPermissions "" /* 175 byte string literal not displayed */

	AllowDev bool `protobuf:"varint,5,opt,name=allow_dev,json=allowDev,proto3" json:"allow_dev,omitempty"`

	AllowSuid bool `protobuf:"varint,6,opt,name=allow_suid,json=allowSuid,proto3" json:"allow_suid,omitempty"`

	NoRootSquash bool `protobuf:"varint,7,opt,name=no_root_squash,json=noRootSquash,proto3" json:"no_root_squash,omitempty"`

}

Represents an 'access point' for the share.

func (*NfsShare_AllowedClient) Descriptor

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