Variables
VolumePerformanceTier_name, VolumePerformanceTier_value
var (
VolumePerformanceTier_name = map[int32]string{
0: "VOLUME_PERFORMANCE_TIER_UNSPECIFIED",
1: "VOLUME_PERFORMANCE_TIER_SHARED",
2: "VOLUME_PERFORMANCE_TIER_ASSIGNED",
3: "VOLUME_PERFORMANCE_TIER_HT",
}
VolumePerformanceTier_value = map[string]int32{
"VOLUME_PERFORMANCE_TIER_UNSPECIFIED": 0,
"VOLUME_PERFORMANCE_TIER_SHARED": 1,
"VOLUME_PERFORMANCE_TIER_ASSIGNED": 2,
"VOLUME_PERFORMANCE_TIER_HT": 3,
}
)
Enum value maps for VolumePerformanceTier.
WorkloadProfile_name, WorkloadProfile_value
var (
WorkloadProfile_name = map[int32]string{
0: "WORKLOAD_PROFILE_UNSPECIFIED",
1: "WORKLOAD_PROFILE_GENERIC",
2: "WORKLOAD_PROFILE_HANA",
}
WorkloadProfile_value = map[string]int32{
"WORKLOAD_PROFILE_UNSPECIFIED": 0,
"WORKLOAD_PROFILE_GENERIC": 1,
"WORKLOAD_PROFILE_HANA": 2,
}
)
Enum value maps for WorkloadProfile.
Instance_State_name, Instance_State_value
var (
Instance_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "PROVISIONING",
2: "RUNNING",
3: "DELETED",
4: "UPDATING",
5: "STARTING",
6: "STOPPING",
7: "SHUTDOWN",
}
Instance_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PROVISIONING": 1,
"RUNNING": 2,
"DELETED": 3,
"UPDATING": 4,
"STARTING": 5,
"STOPPING": 6,
"SHUTDOWN": 7,
}
)
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",
5: "COOL_OFF",
}
Lun_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"UPDATING": 2,
"READY": 3,
"DELETING": 4,
"COOL_OFF": 5,
}
)
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",
3: "DEPROVISIONING",
4: "UPDATING",
}
Network_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PROVISIONING": 1,
"PROVISIONED": 2,
"DEPROVISIONING": 3,
"UPDATING": 4,
}
)
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",
2: "CREATING",
3: "UPDATING",
4: "DELETING",
}
NfsShare_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PROVISIONED": 1,
"CREATING": 2,
"UPDATING": 3,
"DELETING": 4,
}
)
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.
NfsShare_StorageType_name, NfsShare_StorageType_value
var (
NfsShare_StorageType_name = map[int32]string{
0: "STORAGE_TYPE_UNSPECIFIED",
1: "SSD",
2: "HDD",
}
NfsShare_StorageType_value = map[string]int32{
"STORAGE_TYPE_UNSPECIFIED": 0,
"SSD": 1,
"HDD": 2,
}
)
Enum value maps for NfsShare_StorageType.
ProvisioningConfig_State_name, ProvisioningConfig_State_value
var (
ProvisioningConfig_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "DRAFT",
2: "SUBMITTED",
3: "PROVISIONING",
4: "PROVISIONED",
5: "VALIDATED",
6: "CANCELLED",
7: "FAILED",
}
ProvisioningConfig_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"DRAFT": 1,
"SUBMITTED": 2,
"PROVISIONING": 3,
"PROVISIONED": 4,
"VALIDATED": 5,
"CANCELLED": 6,
"FAILED": 7,
}
)
Enum value maps for ProvisioningConfig_State.
ProvisioningQuota_AssetType_name, ProvisioningQuota_AssetType_value
var (
ProvisioningQuota_AssetType_name = map[int32]string{
0: "ASSET_TYPE_UNSPECIFIED",
1: "ASSET_TYPE_SERVER",
2: "ASSET_TYPE_STORAGE",
3: "ASSET_TYPE_NETWORK",
}
ProvisioningQuota_AssetType_value = map[string]int32{
"ASSET_TYPE_UNSPECIFIED": 0,
"ASSET_TYPE_SERVER": 1,
"ASSET_TYPE_STORAGE": 2,
"ASSET_TYPE_NETWORK": 3,
}
)
Enum value maps for ProvisioningQuota_AssetType.
InstanceConfig_NetworkConfig_name, InstanceConfig_NetworkConfig_value
var (
InstanceConfig_NetworkConfig_name = map[int32]string{
0: "NETWORKCONFIG_UNSPECIFIED",
1: "SINGLE_VLAN",
2: "MULTI_VLAN",
}
InstanceConfig_NetworkConfig_value = map[string]int32{
"NETWORKCONFIG_UNSPECIFIED": 0,
"SINGLE_VLAN": 1,
"MULTI_VLAN": 2,
}
)
Enum value maps for InstanceConfig_NetworkConfig.
VolumeConfig_Type_name, VolumeConfig_Type_value
var (
VolumeConfig_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "FLASH",
2: "DISK",
}
VolumeConfig_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"FLASH": 1,
"DISK": 2,
}
)
Enum value maps for VolumeConfig_Type.
VolumeConfig_Protocol_name, VolumeConfig_Protocol_value
var (
VolumeConfig_Protocol_name = map[int32]string{
0: "PROTOCOL_UNSPECIFIED",
1: "PROTOCOL_FC",
2: "PROTOCOL_NFS",
}
VolumeConfig_Protocol_value = map[string]int32{
"PROTOCOL_UNSPECIFIED": 0,
"PROTOCOL_FC": 1,
"PROTOCOL_NFS": 2,
}
)
Enum value maps for VolumeConfig_Protocol.
VolumeConfig_NfsExport_Permissions_name, VolumeConfig_NfsExport_Permissions_value
var (
VolumeConfig_NfsExport_Permissions_name = map[int32]string{
0: "PERMISSIONS_UNSPECIFIED",
1: "READ_ONLY",
2: "READ_WRITE",
}
VolumeConfig_NfsExport_Permissions_value = map[string]int32{
"PERMISSIONS_UNSPECIFIED": 0,
"READ_ONLY": 1,
"READ_WRITE": 2,
}
)
Enum value maps for VolumeConfig_NfsExport_Permissions.
NetworkConfig_Type_name, NetworkConfig_Type_value
var (
NetworkConfig_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "CLIENT",
2: "PRIVATE",
}
NetworkConfig_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"CLIENT": 1,
"PRIVATE": 2,
}
)
Enum value maps for NetworkConfig_Type.
NetworkConfig_Bandwidth_name, NetworkConfig_Bandwidth_value
var (
NetworkConfig_Bandwidth_name = map[int32]string{
0: "BANDWIDTH_UNSPECIFIED",
1: "BW_1_GBPS",
2: "BW_2_GBPS",
3: "BW_5_GBPS",
4: "BW_10_GBPS",
}
NetworkConfig_Bandwidth_value = map[string]int32{
"BANDWIDTH_UNSPECIFIED": 0,
"BW_1_GBPS": 1,
"BW_2_GBPS": 2,
"BW_5_GBPS": 3,
"BW_10_GBPS": 4,
}
)
Enum value maps for NetworkConfig_Bandwidth.
NetworkConfig_ServiceCidr_name, NetworkConfig_ServiceCidr_value
var (
NetworkConfig_ServiceCidr_name = map[int32]string{
0: "SERVICE_CIDR_UNSPECIFIED",
1: "DISABLED",
2: "HIGH_26",
3: "HIGH_27",
4: "HIGH_28",
}
NetworkConfig_ServiceCidr_value = map[string]int32{
"SERVICE_CIDR_UNSPECIFIED": 0,
"DISABLED": 1,
"HIGH_26": 2,
"HIGH_27": 3,
"HIGH_28": 4,
}
)
Enum value maps for NetworkConfig_ServiceCidr.
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",
4: "UPDATING",
5: "COOL_OFF",
}
Volume_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"CREATING": 1,
"READY": 2,
"DELETING": 3,
"UPDATING": 4,
"COOL_OFF": 5,
}
)
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.
Volume_Protocol_name, Volume_Protocol_value
var (
Volume_Protocol_name = map[int32]string{
0: "PROTOCOL_UNSPECIFIED",
1: "FIBRE_CHANNEL",
2: "NFS",
}
Volume_Protocol_value = map[string]int32{
"PROTOCOL_UNSPECIFIED": 0,
"FIBRE_CHANNEL": 1,
"NFS": 2,
}
)
Enum value maps for Volume_Protocol.
Volume_WorkloadProfile_name, Volume_WorkloadProfile_value
var (
Volume_WorkloadProfile_name = map[int32]string{
0: "WORKLOAD_PROFILE_UNSPECIFIED",
1: "GENERIC",
2: "HANA",
}
Volume_WorkloadProfile_value = map[string]int32{
"WORKLOAD_PROFILE_UNSPECIFIED": 0,
"GENERIC": 1,
"HANA": 2,
}
)
Enum value maps for Volume_WorkloadProfile.
VolumeSnapshot_SnapshotType_name, VolumeSnapshot_SnapshotType_value
var (
VolumeSnapshot_SnapshotType_name = map[int32]string{
0: "SNAPSHOT_TYPE_UNSPECIFIED",
1: "AD_HOC",
2: "SCHEDULED",
}
VolumeSnapshot_SnapshotType_value = map[string]int32{
"SNAPSHOT_TYPE_UNSPECIFIED": 0,
"AD_HOC": 1,
"SCHEDULED": 2,
}
)
Enum value maps for VolumeSnapshot_SnapshotType.
File_google_cloud_baremetalsolution_v2_baremetalsolution_proto
var File_google_cloud_baremetalsolution_v2_baremetalsolution_proto protoreflect.FileDescriptor
File_google_cloud_baremetalsolution_v2_common_proto
var File_google_cloud_baremetalsolution_v2_common_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_osimage_proto
var File_google_cloud_baremetalsolution_v2_osimage_proto protoreflect.FileDescriptor
File_google_cloud_baremetalsolution_v2_provisioning_proto
var File_google_cloud_baremetalsolution_v2_provisioning_proto protoreflect.FileDescriptor
File_google_cloud_baremetalsolution_v2_ssh_key_proto
var File_google_cloud_baremetalsolution_v2_ssh_key_proto protoreflect.FileDescriptor
File_google_cloud_baremetalsolution_v2_volume_proto
var File_google_cloud_baremetalsolution_v2_volume_proto protoreflect.FileDescriptor
File_google_cloud_baremetalsolution_v2_volume_snapshot_proto
var File_google_cloud_baremetalsolution_v2_volume_snapshot_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)
// RenameInstance sets a new name for an instance.
// Use with caution, previous names become immediately invalidated.
RenameInstance(ctx context.Context, in *RenameInstanceRequest, opts ...grpc.CallOption) (*Instance, 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)
// Enable the interactive serial console feature on an instance.
EnableInteractiveSerialConsole(ctx context.Context, in *EnableInteractiveSerialConsoleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Disable the interactive serial console feature on an instance.
DisableInteractiveSerialConsole(ctx context.Context, in *DisableInteractiveSerialConsoleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Detach LUN from Instance.
DetachLun(ctx context.Context, in *DetachLunRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists the public SSH keys registered for the specified project.
// These SSH keys are used only for the interactive serial console feature.
ListSSHKeys(ctx context.Context, in *ListSSHKeysRequest, opts ...grpc.CallOption) (*ListSSHKeysResponse, error)
// Register a public SSH key in the specified project for use with the
// interactive serial console feature.
CreateSSHKey(ctx context.Context, in *CreateSSHKeyRequest, opts ...grpc.CallOption) (*SSHKey, error)
// Deletes a public SSH key registered in the specified project.
DeleteSSHKey(ctx context.Context, in *DeleteSSHKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, 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)
// RenameVolume sets a new name for a volume.
// Use with caution, previous names become immediately invalidated.
RenameVolume(ctx context.Context, in *RenameVolumeRequest, opts ...grpc.CallOption) (*Volume, error)
// Skips volume's cooloff and deletes it now.
// Volume must be in cooloff state.
EvictVolume(ctx context.Context, in *EvictVolumeRequest, 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)
// Takes a snapshot of a boot volume.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
CreateVolumeSnapshot(ctx context.Context, in *CreateVolumeSnapshotRequest, opts ...grpc.CallOption) (*VolumeSnapshot, error)
// Uses the specified snapshot to restore its parent volume.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
RestoreVolumeSnapshot(ctx context.Context, in *RestoreVolumeSnapshotRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a volume snapshot.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
DeleteVolumeSnapshot(ctx context.Context, in *DeleteVolumeSnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Returns the specified snapshot resource.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
GetVolumeSnapshot(ctx context.Context, in *GetVolumeSnapshotRequest, opts ...grpc.CallOption) (*VolumeSnapshot, error)
// Retrieves the list of snapshots for the specified volume.
// Returns a response with an empty list of snapshots if called
// for a non-boot volume.
ListVolumeSnapshots(ctx context.Context, in *ListVolumeSnapshotsRequest, opts ...grpc.CallOption) (*ListVolumeSnapshotsResponse, 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)
// Skips lun's cooloff and deletes it now.
// Lun must be in cooloff state.
EvictLun(ctx context.Context, in *EvictLunRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, 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)
// Create an NFS share.
CreateNfsShare(ctx context.Context, in *CreateNfsShareRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// RenameNfsShare sets a new name for an nfsshare.
// Use with caution, previous names become immediately invalidated.
RenameNfsShare(ctx context.Context, in *RenameNfsShareRequest, opts ...grpc.CallOption) (*NfsShare, error)
// Delete an NFS share. The underlying volume is automatically deleted.
DeleteNfsShare(ctx context.Context, in *DeleteNfsShareRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// List the budget details to provision resources on a given project.
ListProvisioningQuotas(ctx context.Context, in *ListProvisioningQuotasRequest, opts ...grpc.CallOption) (*ListProvisioningQuotasResponse, error)
// Submit a provisiong configuration for a given project.
SubmitProvisioningConfig(ctx context.Context, in *SubmitProvisioningConfigRequest, opts ...grpc.CallOption) (*SubmitProvisioningConfigResponse, error)
// Get ProvisioningConfig by name.
GetProvisioningConfig(ctx context.Context, in *GetProvisioningConfigRequest, opts ...grpc.CallOption) (*ProvisioningConfig, error)
// Create new ProvisioningConfig.
CreateProvisioningConfig(ctx context.Context, in *CreateProvisioningConfigRequest, opts ...grpc.CallOption) (*ProvisioningConfig, error)
// Update existing ProvisioningConfig.
UpdateProvisioningConfig(ctx context.Context, in *UpdateProvisioningConfigRequest, opts ...grpc.CallOption) (*ProvisioningConfig, error)
// RenameNetwork sets a new name for a network.
// Use with caution, previous names become immediately invalidated.
RenameNetwork(ctx context.Context, in *RenameNetworkRequest, opts ...grpc.CallOption) (*Network, error)
// Retrieves the list of OS images which are currently approved.
ListOSImages(ctx context.Context, in *ListOSImagesRequest, opts ...grpc.CallOption) (*ListOSImagesResponse, 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)
// RenameInstance sets a new name for an instance.
// Use with caution, previous names become immediately invalidated.
RenameInstance(context.Context, *RenameInstanceRequest) (*Instance, 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)
// Enable the interactive serial console feature on an instance.
EnableInteractiveSerialConsole(context.Context, *EnableInteractiveSerialConsoleRequest) (*longrunningpb.Operation, error)
// Disable the interactive serial console feature on an instance.
DisableInteractiveSerialConsole(context.Context, *DisableInteractiveSerialConsoleRequest) (*longrunningpb.Operation, error)
// Detach LUN from Instance.
DetachLun(context.Context, *DetachLunRequest) (*longrunningpb.Operation, error)
// Lists the public SSH keys registered for the specified project.
// These SSH keys are used only for the interactive serial console feature.
ListSSHKeys(context.Context, *ListSSHKeysRequest) (*ListSSHKeysResponse, error)
// Register a public SSH key in the specified project for use with the
// interactive serial console feature.
CreateSSHKey(context.Context, *CreateSSHKeyRequest) (*SSHKey, error)
// Deletes a public SSH key registered in the specified project.
DeleteSSHKey(context.Context, *DeleteSSHKeyRequest) (*emptypb.Empty, 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)
// RenameVolume sets a new name for a volume.
// Use with caution, previous names become immediately invalidated.
RenameVolume(context.Context, *RenameVolumeRequest) (*Volume, error)
// Skips volume's cooloff and deletes it now.
// Volume must be in cooloff state.
EvictVolume(context.Context, *EvictVolumeRequest) (*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)
// Takes a snapshot of a boot volume.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
CreateVolumeSnapshot(context.Context, *CreateVolumeSnapshotRequest) (*VolumeSnapshot, error)
// Uses the specified snapshot to restore its parent volume.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
RestoreVolumeSnapshot(context.Context, *RestoreVolumeSnapshotRequest) (*longrunningpb.Operation, error)
// Deletes a volume snapshot.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
DeleteVolumeSnapshot(context.Context, *DeleteVolumeSnapshotRequest) (*emptypb.Empty, error)
// Returns the specified snapshot resource.
// Returns INVALID_ARGUMENT if called for a non-boot volume.
GetVolumeSnapshot(context.Context, *GetVolumeSnapshotRequest) (*VolumeSnapshot, error)
// Retrieves the list of snapshots for the specified volume.
// Returns a response with an empty list of snapshots if called
// for a non-boot volume.
ListVolumeSnapshots(context.Context, *ListVolumeSnapshotsRequest) (*ListVolumeSnapshotsResponse, 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)
// Skips lun's cooloff and deletes it now.
// Lun must be in cooloff state.
EvictLun(context.Context, *EvictLunRequest) (*longrunningpb.Operation, 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)
// Create an NFS share.
CreateNfsShare(context.Context, *CreateNfsShareRequest) (*longrunningpb.Operation, error)
// RenameNfsShare sets a new name for an nfsshare.
// Use with caution, previous names become immediately invalidated.
RenameNfsShare(context.Context, *RenameNfsShareRequest) (*NfsShare, error)
// Delete an NFS share. The underlying volume is automatically deleted.
DeleteNfsShare(context.Context, *DeleteNfsShareRequest) (*longrunningpb.Operation, error)
// List the budget details to provision resources on a given project.
ListProvisioningQuotas(context.Context, *ListProvisioningQuotasRequest) (*ListProvisioningQuotasResponse, error)
// Submit a provisiong configuration for a given project.
SubmitProvisioningConfig(context.Context, *SubmitProvisioningConfigRequest) (*SubmitProvisioningConfigResponse, error)
// Get ProvisioningConfig by name.
GetProvisioningConfig(context.Context, *GetProvisioningConfigRequest) (*ProvisioningConfig, error)
// Create new ProvisioningConfig.
CreateProvisioningConfig(context.Context, *CreateProvisioningConfigRequest) (*ProvisioningConfig, error)
// Update existing ProvisioningConfig.
UpdateProvisioningConfig(context.Context, *UpdateProvisioningConfigRequest) (*ProvisioningConfig, error)
// RenameNetwork sets a new name for a network.
// Use with caution, previous names become immediately invalidated.
RenameNetwork(context.Context, *RenameNetworkRequest) (*Network, error)
// Retrieves the list of OS images which are currently approved.
ListOSImages(context.Context, *ListOSImagesRequest) (*ListOSImagesResponse, error)
}
BareMetalSolutionServer is the server API for BareMetalSolution service.
CreateNfsShareRequest
type CreateNfsShareRequest struct {
// Required. The parent project and location.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The NfsShare to create.
NfsShare *NfsShare `protobuf:"bytes,2,opt,name=nfs_share,json=nfsShare,proto3" json:"nfs_share,omitempty"`
// contains filtered or unexported fields
}
Message for creating an NFS share.
func (*CreateNfsShareRequest) Descriptor
func (*CreateNfsShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNfsShareRequest.ProtoReflect.Descriptor instead.
func (*CreateNfsShareRequest) GetNfsShare
func (x *CreateNfsShareRequest) GetNfsShare() *NfsShare
func (*CreateNfsShareRequest) GetParent
func (x *CreateNfsShareRequest) GetParent() string
func (*CreateNfsShareRequest) ProtoMessage
func (*CreateNfsShareRequest) ProtoMessage()
func (*CreateNfsShareRequest) ProtoReflect
func (x *CreateNfsShareRequest) ProtoReflect() protoreflect.Message
func (*CreateNfsShareRequest) Reset
func (x *CreateNfsShareRequest) Reset()
func (*CreateNfsShareRequest) String
func (x *CreateNfsShareRequest) String() string
CreateProvisioningConfigRequest
type CreateProvisioningConfigRequest struct {
// Required. The parent project and location containing the
// ProvisioningConfig.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ProvisioningConfig to create.
ProvisioningConfig *ProvisioningConfig `protobuf:"bytes,2,opt,name=provisioning_config,json=provisioningConfig,proto3" json:"provisioning_config,omitempty"`
// Optional. Email provided to send a confirmation with provisioning config
// to.
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
// contains filtered or unexported fields
}
Request for CreateProvisioningConfig.
func (*CreateProvisioningConfigRequest) Descriptor
func (*CreateProvisioningConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProvisioningConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateProvisioningConfigRequest) GetEmail
func (x *CreateProvisioningConfigRequest) GetEmail() string
func (*CreateProvisioningConfigRequest) GetParent
func (x *CreateProvisioningConfigRequest) GetParent() string
func (*CreateProvisioningConfigRequest) GetProvisioningConfig
func (x *CreateProvisioningConfigRequest) GetProvisioningConfig() *ProvisioningConfig
func (*CreateProvisioningConfigRequest) ProtoMessage
func (*CreateProvisioningConfigRequest) ProtoMessage()
func (*CreateProvisioningConfigRequest) ProtoReflect
func (x *CreateProvisioningConfigRequest) ProtoReflect() protoreflect.Message
func (*CreateProvisioningConfigRequest) Reset
func (x *CreateProvisioningConfigRequest) Reset()
func (*CreateProvisioningConfigRequest) String
func (x *CreateProvisioningConfigRequest) String() string
CreateSSHKeyRequest
type CreateSSHKeyRequest struct {
// Required. The parent containing the SSH keys.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The SSH key to register.
SshKey *SSHKey `protobuf:"bytes,2,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"`
// Required. The ID to use for the key, which will become the final component
// of the key's resource name.
//
// This value must match the regex:
//
// [a-zA-Z0-9@.\-_]{1,64}
SshKeyId string `protobuf:"bytes,3,opt,name=ssh_key_id,json=sshKeyId,proto3" json:"ssh_key_id,omitempty"`
// contains filtered or unexported fields
}
Message for registering a public SSH key in a project.
func (*CreateSSHKeyRequest) Descriptor
func (*CreateSSHKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSSHKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateSSHKeyRequest) GetParent
func (x *CreateSSHKeyRequest) GetParent() string
func (*CreateSSHKeyRequest) GetSshKey
func (x *CreateSSHKeyRequest) GetSshKey() *SSHKey
func (*CreateSSHKeyRequest) GetSshKeyId
func (x *CreateSSHKeyRequest) GetSshKeyId() string
func (*CreateSSHKeyRequest) ProtoMessage
func (*CreateSSHKeyRequest) ProtoMessage()
func (*CreateSSHKeyRequest) ProtoReflect
func (x *CreateSSHKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateSSHKeyRequest) Reset
func (x *CreateSSHKeyRequest) Reset()
func (*CreateSSHKeyRequest) String
func (x *CreateSSHKeyRequest) String() string
CreateVolumeSnapshotRequest
type CreateVolumeSnapshotRequest struct {
// Required. The volume to snapshot.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The snapshot to create.
VolumeSnapshot *VolumeSnapshot `protobuf:"bytes,2,opt,name=volume_snapshot,json=volumeSnapshot,proto3" json:"volume_snapshot,omitempty"`
// contains filtered or unexported fields
}
Message for creating a volume snapshot.
func (*CreateVolumeSnapshotRequest) Descriptor
func (*CreateVolumeSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVolumeSnapshotRequest.ProtoReflect.Descriptor instead.
func (*CreateVolumeSnapshotRequest) GetParent
func (x *CreateVolumeSnapshotRequest) GetParent() string
func (*CreateVolumeSnapshotRequest) GetVolumeSnapshot
func (x *CreateVolumeSnapshotRequest) GetVolumeSnapshot() *VolumeSnapshot
func (*CreateVolumeSnapshotRequest) ProtoMessage
func (*CreateVolumeSnapshotRequest) ProtoMessage()
func (*CreateVolumeSnapshotRequest) ProtoReflect
func (x *CreateVolumeSnapshotRequest) ProtoReflect() protoreflect.Message
func (*CreateVolumeSnapshotRequest) Reset
func (x *CreateVolumeSnapshotRequest) Reset()
func (*CreateVolumeSnapshotRequest) String
func (x *CreateVolumeSnapshotRequest) String() string
DeleteNfsShareRequest
type DeleteNfsShareRequest struct {
// Required. The name of the NFS share to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for deleting an NFS share.
func (*DeleteNfsShareRequest) Descriptor
func (*DeleteNfsShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNfsShareRequest.ProtoReflect.Descriptor instead.
func (*DeleteNfsShareRequest) GetName
func (x *DeleteNfsShareRequest) GetName() string
func (*DeleteNfsShareRequest) ProtoMessage
func (*DeleteNfsShareRequest) ProtoMessage()
func (*DeleteNfsShareRequest) ProtoReflect
func (x *DeleteNfsShareRequest) ProtoReflect() protoreflect.Message
func (*DeleteNfsShareRequest) Reset
func (x *DeleteNfsShareRequest) Reset()
func (*DeleteNfsShareRequest) String
func (x *DeleteNfsShareRequest) String() string
DeleteSSHKeyRequest
type DeleteSSHKeyRequest struct {
// Required. The name of the SSH key to delete.
// Currently, the only valid value for the location is "global".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for deleting an SSH key from a project.
func (*DeleteSSHKeyRequest) Descriptor
func (*DeleteSSHKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSSHKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteSSHKeyRequest) GetName
func (x *DeleteSSHKeyRequest) GetName() string
func (*DeleteSSHKeyRequest) ProtoMessage
func (*DeleteSSHKeyRequest) ProtoMessage()
func (*DeleteSSHKeyRequest) ProtoReflect
func (x *DeleteSSHKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteSSHKeyRequest) Reset
func (x *DeleteSSHKeyRequest) Reset()
func (*DeleteSSHKeyRequest) String
func (x *DeleteSSHKeyRequest) String() string
DeleteVolumeSnapshotRequest
type DeleteVolumeSnapshotRequest struct {
// Required. The name of the snapshot to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for deleting named Volume snapshot.
func (*DeleteVolumeSnapshotRequest) Descriptor
func (*DeleteVolumeSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVolumeSnapshotRequest.ProtoReflect.Descriptor instead.
func (*DeleteVolumeSnapshotRequest) GetName
func (x *DeleteVolumeSnapshotRequest) GetName() string
func (*DeleteVolumeSnapshotRequest) ProtoMessage
func (*DeleteVolumeSnapshotRequest) ProtoMessage()
func (*DeleteVolumeSnapshotRequest) ProtoReflect
func (x *DeleteVolumeSnapshotRequest) ProtoReflect() protoreflect.Message
func (*DeleteVolumeSnapshotRequest) Reset
func (x *DeleteVolumeSnapshotRequest) Reset()
func (*DeleteVolumeSnapshotRequest) String
func (x *DeleteVolumeSnapshotRequest) String() string
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"`
// If true, performs lun unmapping without instance reboot.
SkipReboot bool `protobuf:"varint,3,opt,name=skip_reboot,json=skipReboot,proto3" json:"skip_reboot,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) GetSkipReboot
func (x *DetachLunRequest) GetSkipReboot() bool
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
DisableInteractiveSerialConsoleRequest
type DisableInteractiveSerialConsoleRequest 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 disabling the interactive serial console on an instance.
func (*DisableInteractiveSerialConsoleRequest) Descriptor
func (*DisableInteractiveSerialConsoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisableInteractiveSerialConsoleRequest.ProtoReflect.Descriptor instead.
func (*DisableInteractiveSerialConsoleRequest) GetName
func (x *DisableInteractiveSerialConsoleRequest) GetName() string
func (*DisableInteractiveSerialConsoleRequest) ProtoMessage
func (*DisableInteractiveSerialConsoleRequest) ProtoMessage()
func (*DisableInteractiveSerialConsoleRequest) ProtoReflect
func (x *DisableInteractiveSerialConsoleRequest) ProtoReflect() protoreflect.Message
func (*DisableInteractiveSerialConsoleRequest) Reset
func (x *DisableInteractiveSerialConsoleRequest) Reset()
func (*DisableInteractiveSerialConsoleRequest) String
func (x *DisableInteractiveSerialConsoleRequest) String() string
DisableInteractiveSerialConsoleResponse
type DisableInteractiveSerialConsoleResponse struct {
// contains filtered or unexported fields
}
Message for response of DisableInteractiveSerialConsole.
func (*DisableInteractiveSerialConsoleResponse) Descriptor
func (*DisableInteractiveSerialConsoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisableInteractiveSerialConsoleResponse.ProtoReflect.Descriptor instead.
func (*DisableInteractiveSerialConsoleResponse) ProtoMessage
func (*DisableInteractiveSerialConsoleResponse) ProtoMessage()
func (*DisableInteractiveSerialConsoleResponse) ProtoReflect
func (x *DisableInteractiveSerialConsoleResponse) ProtoReflect() protoreflect.Message
func (*DisableInteractiveSerialConsoleResponse) Reset
func (x *DisableInteractiveSerialConsoleResponse) Reset()
func (*DisableInteractiveSerialConsoleResponse) String
func (x *DisableInteractiveSerialConsoleResponse) String() string
EnableInteractiveSerialConsoleRequest
type EnableInteractiveSerialConsoleRequest 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 enabling the interactive serial console on an instance.
func (*EnableInteractiveSerialConsoleRequest) Descriptor
func (*EnableInteractiveSerialConsoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnableInteractiveSerialConsoleRequest.ProtoReflect.Descriptor instead.
func (*EnableInteractiveSerialConsoleRequest) GetName
func (x *EnableInteractiveSerialConsoleRequest) GetName() string
func (*EnableInteractiveSerialConsoleRequest) ProtoMessage
func (*EnableInteractiveSerialConsoleRequest) ProtoMessage()
func (*EnableInteractiveSerialConsoleRequest) ProtoReflect
func (x *EnableInteractiveSerialConsoleRequest) ProtoReflect() protoreflect.Message
func (*EnableInteractiveSerialConsoleRequest) Reset
func (x *EnableInteractiveSerialConsoleRequest) Reset()
func (*EnableInteractiveSerialConsoleRequest) String
func (x *EnableInteractiveSerialConsoleRequest) String() string
EnableInteractiveSerialConsoleResponse
type EnableInteractiveSerialConsoleResponse struct {
// contains filtered or unexported fields
}
Message for response of EnableInteractiveSerialConsole.
func (*EnableInteractiveSerialConsoleResponse) Descriptor
func (*EnableInteractiveSerialConsoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnableInteractiveSerialConsoleResponse.ProtoReflect.Descriptor instead.
func (*EnableInteractiveSerialConsoleResponse) ProtoMessage
func (*EnableInteractiveSerialConsoleResponse) ProtoMessage()
func (*EnableInteractiveSerialConsoleResponse) ProtoReflect
func (x *EnableInteractiveSerialConsoleResponse) ProtoReflect() protoreflect.Message
func (*EnableInteractiveSerialConsoleResponse) Reset
func (x *EnableInteractiveSerialConsoleResponse) Reset()
func (*EnableInteractiveSerialConsoleResponse) String
func (x *EnableInteractiveSerialConsoleResponse) String() string
EvictLunRequest
type EvictLunRequest struct {
// Required. The name of the lun.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for skip lun cooloff and delete it.
func (*EvictLunRequest) Descriptor
func (*EvictLunRequest) Descriptor() ([]byte, []int)
Deprecated: Use EvictLunRequest.ProtoReflect.Descriptor instead.
func (*EvictLunRequest) GetName
func (x *EvictLunRequest) GetName() string
func (*EvictLunRequest) ProtoMessage
func (*EvictLunRequest) ProtoMessage()
func (*EvictLunRequest) ProtoReflect
func (x *EvictLunRequest) ProtoReflect() protoreflect.Message
func (*EvictLunRequest) Reset
func (x *EvictLunRequest) Reset()
func (*EvictLunRequest) String
func (x *EvictLunRequest) String() string
EvictVolumeRequest
type EvictVolumeRequest struct {
// Required. The name of the Volume.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for skip volume cooloff and delete it.
func (*EvictVolumeRequest) Descriptor
func (*EvictVolumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use EvictVolumeRequest.ProtoReflect.Descriptor instead.
func (*EvictVolumeRequest) GetName
func (x *EvictVolumeRequest) GetName() string
func (*EvictVolumeRequest) ProtoMessage
func (*EvictVolumeRequest) ProtoMessage()
func (*EvictVolumeRequest) ProtoReflect
func (x *EvictVolumeRequest) ProtoReflect() protoreflect.Message
func (*EvictVolumeRequest) Reset
func (x *EvictVolumeRequest) Reset()
func (*EvictVolumeRequest) String
func (x *EvictVolumeRequest) 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
GetProvisioningConfigRequest
type GetProvisioningConfigRequest struct {
// Required. Name of the ProvisioningConfig.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for GetProvisioningConfig.
func (*GetProvisioningConfigRequest) Descriptor
func (*GetProvisioningConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProvisioningConfigRequest.ProtoReflect.Descriptor instead.
func (*GetProvisioningConfigRequest) GetName
func (x *GetProvisioningConfigRequest) GetName() string
func (*GetProvisioningConfigRequest) ProtoMessage
func (*GetProvisioningConfigRequest) ProtoMessage()
func (*GetProvisioningConfigRequest) ProtoReflect
func (x *GetProvisioningConfigRequest) ProtoReflect() protoreflect.Message
func (*GetProvisioningConfigRequest) Reset
func (x *GetProvisioningConfigRequest) Reset()
func (*GetProvisioningConfigRequest) String
func (x *GetProvisioningConfigRequest) 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
GetVolumeSnapshotRequest
type GetVolumeSnapshotRequest struct {
// Required. The name of the snapshot.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for requesting volume snapshot information.
func (*GetVolumeSnapshotRequest) Descriptor
func (*GetVolumeSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVolumeSnapshotRequest.ProtoReflect.Descriptor instead.
func (*GetVolumeSnapshotRequest) GetName
func (x *GetVolumeSnapshotRequest) GetName() string
func (*GetVolumeSnapshotRequest) ProtoMessage
func (*GetVolumeSnapshotRequest) ProtoMessage()
func (*GetVolumeSnapshotRequest) ProtoReflect
func (x *GetVolumeSnapshotRequest) ProtoReflect() protoreflect.Message
func (*GetVolumeSnapshotRequest) Reset
func (x *GetVolumeSnapshotRequest) Reset()
func (*GetVolumeSnapshotRequest) String
func (x *GetVolumeSnapshotRequest) String() string
Instance
type Instance struct {
// Immutable. The resource name of this `Instance`.
// Resource names are schemeless URIs that follow the conventions in
// https://cloud.google.com/apis/design/resource_names.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. 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"`
// Immutable. 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"`
// Output only. 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 `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Immutable. List of LUNs associated with this server.
Luns []*Lun `protobuf:"bytes,8,rep,name=luns,proto3" json:"luns,omitempty"`
// Input only. List of Volumes to attach to this Instance on creation.
// This field won't be populated in Get/List responses.
Volumes []*Volume `protobuf:"bytes,16,rep,name=volumes,proto3" json:"volumes,omitempty"`
// Output only. List of networks associated with this server.
Networks []*Network `protobuf:"bytes,9,rep,name=networks,proto3" json:"networks,omitempty"`
// Output only. True if the interactive serial console feature is enabled for
// the instance, false otherwise. The default value is false.
InteractiveSerialConsoleEnabled bool `protobuf:"varint,10,opt,name=interactive_serial_console_enabled,json=interactiveSerialConsoleEnabled,proto3" json:"interactive_serial_console_enabled,omitempty"`
// 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
A server.
func (*Instance) Descriptor
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (*Instance) GetCreateTime
func (x *Instance) GetCreateTime() *timestamppb.Timestamp
func (*Instance) GetFirmwareVersion
func (*Instance) GetHyperthreadingEnabled
func (*Instance) GetId
func (*Instance) GetInteractiveSerialConsoleEnabled
func (*Instance) GetLabels
func (*Instance) GetLogicalInterfaces
func (x *Instance) GetLogicalInterfaces() []*LogicalInterface
func (*Instance) GetLoginInfo
func (*Instance) GetLuns
func (*Instance) GetMachineType
func (*Instance) GetName
func (*Instance) GetNetworkTemplate
func (*Instance) GetNetworks
func (*Instance) GetOsImage
func (*Instance) GetPod
func (*Instance) GetState
func (x *Instance) GetState() Instance_State
func (*Instance) GetUpdateTime
func (x *Instance) GetUpdateTime() *timestamppb.Timestamp
func (*Instance) GetVolumes
func (*Instance) GetWorkloadProfile
func (x *Instance) GetWorkloadProfile() WorkloadProfile
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
InstanceConfig
type InstanceConfig struct {
// Output only. The name of the instance config.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A transient unique identifier to idenfity an instance within an
// ProvisioningConfig request.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Instance type.
// [Available
// types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
InstanceType string `protobuf:"bytes,3,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`
// Whether the instance should be provisioned with Hyperthreading enabled.
Hyperthreading bool `protobuf:"varint,4,opt,name=hyperthreading,proto3" json:"hyperthreading,omitempty"`
// OS image to initialize the instance.
// [Available
// images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
OsImage string `protobuf:"bytes,5,opt,name=os_image,json=osImage,proto3" json:"os_image,omitempty"`
// Client network address. Filled if InstanceConfig.multivlan_config is false.
//
// Deprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
ClientNetwork *InstanceConfig_NetworkAddress `protobuf:"bytes,6,opt,name=client_network,json=clientNetwork,proto3" json:"client_network,omitempty"`
// Private network address, if any. Filled if InstanceConfig.multivlan_config
// is false.
//
// Deprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
PrivateNetwork *InstanceConfig_NetworkAddress `protobuf:"bytes,7,opt,name=private_network,json=privateNetwork,proto3" json:"private_network,omitempty"`
// User note field, it can be used by customers to add additional information
// for the BMS Ops team .
UserNote string `protobuf:"bytes,8,opt,name=user_note,json=userNote,proto3" json:"user_note,omitempty"`
// If true networks can be from different projects of the same vendor account.
AccountNetworksEnabled bool `protobuf:"varint,9,opt,name=account_networks_enabled,json=accountNetworksEnabled,proto3" json:"account_networks_enabled,omitempty"`
// The type of network configuration on the instance.
NetworkConfig InstanceConfig_NetworkConfig `protobuf:"varint,10,opt,name=network_config,json=networkConfig,proto3,enum=google.cloud.baremetalsolution.v2.InstanceConfig_NetworkConfig" json:"network_config,omitempty"`
// Server network template name. Filled if InstanceConfig.multivlan_config is
// true.
NetworkTemplate string `protobuf:"bytes,11,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. Filled if InstanceConfig.multivlan_config is true.
LogicalInterfaces []*LogicalInterface `protobuf:"bytes,12,rep,name=logical_interfaces,json=logicalInterfaces,proto3" json:"logical_interfaces,omitempty"`
// List of names of ssh keys used to provision the instance.
SshKeyNames []string `protobuf:"bytes,13,rep,name=ssh_key_names,json=sshKeyNames,proto3" json:"ssh_key_names,omitempty"`
// contains filtered or unexported fields
}
Configuration parameters for a new instance.
func (*InstanceConfig) Descriptor
func (*InstanceConfig) Descriptor() ([]byte, []int)
Deprecated: Use InstanceConfig.ProtoReflect.Descriptor instead.
func (*InstanceConfig) GetAccountNetworksEnabled
func (x *InstanceConfig) GetAccountNetworksEnabled() bool
func (*InstanceConfig) GetClientNetwork
func (x *InstanceConfig) GetClientNetwork() *InstanceConfig_NetworkAddress
Deprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
func (*InstanceConfig) GetHyperthreading
func (x *InstanceConfig) GetHyperthreading() bool
func (*InstanceConfig) GetId
func (x *InstanceConfig) GetId() string
func (*InstanceConfig) GetInstanceType
func (x *InstanceConfig) GetInstanceType() string
func (*InstanceConfig) GetLogicalInterfaces
func (x *InstanceConfig) GetLogicalInterfaces() []*LogicalInterface
func (*InstanceConfig) GetName
func (x *InstanceConfig) GetName() string
func (*InstanceConfig) GetNetworkConfig
func (x *InstanceConfig) GetNetworkConfig() InstanceConfig_NetworkConfig
func (*InstanceConfig) GetNetworkTemplate
func (x *InstanceConfig) GetNetworkTemplate() string
func (*InstanceConfig) GetOsImage
func (x *InstanceConfig) GetOsImage() string
func (*InstanceConfig) GetPrivateNetwork
func (x *InstanceConfig) GetPrivateNetwork() *InstanceConfig_NetworkAddress
Deprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
func (*InstanceConfig) GetSshKeyNames
func (x *InstanceConfig) GetSshKeyNames() []string
func (*InstanceConfig) GetUserNote
func (x *InstanceConfig) GetUserNote() string
func (*InstanceConfig) ProtoMessage
func (*InstanceConfig) ProtoMessage()
func (*InstanceConfig) ProtoReflect
func (x *InstanceConfig) ProtoReflect() protoreflect.Message
func (*InstanceConfig) Reset
func (x *InstanceConfig) Reset()
func (*InstanceConfig) String
func (x *InstanceConfig) String() string
InstanceConfig_NetworkAddress
type InstanceConfig_NetworkAddress struct {
// Id of the network to use, within the same ProvisioningConfig request.
NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
// IPv4 address to be assigned to the server.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// Name of the existing network to use.
ExistingNetworkId string `protobuf:"bytes,3,opt,name=existing_network_id,json=existingNetworkId,proto3" json:"existing_network_id,omitempty"`
// contains filtered or unexported fields
}
A network.
func (*InstanceConfig_NetworkAddress) Descriptor
func (*InstanceConfig_NetworkAddress) Descriptor() ([]byte, []int)
Deprecated: Use InstanceConfig_NetworkAddress.ProtoReflect.Descriptor instead.
func (*InstanceConfig_NetworkAddress) GetAddress
func (x *InstanceConfig_NetworkAddress) GetAddress() string
func (*InstanceConfig_NetworkAddress) GetExistingNetworkId
func (x *InstanceConfig_NetworkAddress) GetExistingNetworkId() string
func (*InstanceConfig_NetworkAddress) GetNetworkId
func (x *InstanceConfig_NetworkAddress) GetNetworkId() string
func (*InstanceConfig_NetworkAddress) ProtoMessage
func (*InstanceConfig_NetworkAddress) ProtoMessage()
func (*InstanceConfig_NetworkAddress) ProtoReflect
func (x *InstanceConfig_NetworkAddress) ProtoReflect() protoreflect.Message
func (*InstanceConfig_NetworkAddress) Reset
func (x *InstanceConfig_NetworkAddress) Reset()
func (*InstanceConfig_NetworkAddress) String
func (x *InstanceConfig_NetworkAddress) String() string
InstanceConfig_NetworkConfig
type InstanceConfig_NetworkConfig int32
The network configuration of the instance.
InstanceConfig_NETWORKCONFIG_UNSPECIFIED, InstanceConfig_SINGLE_VLAN, InstanceConfig_MULTI_VLAN
const (
// The unspecified network configuration.
InstanceConfig_NETWORKCONFIG_UNSPECIFIED InstanceConfig_NetworkConfig = 0
// Instance part of single client network and single private network.
InstanceConfig_SINGLE_VLAN InstanceConfig_NetworkConfig = 1
// Instance part of multiple (or single) client networks and private
// networks.
InstanceConfig_MULTI_VLAN InstanceConfig_NetworkConfig = 2
)
func (InstanceConfig_NetworkConfig) Descriptor
func (InstanceConfig_NetworkConfig) Descriptor() protoreflect.EnumDescriptor
func (InstanceConfig_NetworkConfig) Enum
func (x InstanceConfig_NetworkConfig) Enum() *InstanceConfig_NetworkConfig
func (InstanceConfig_NetworkConfig) EnumDescriptor
func (InstanceConfig_NetworkConfig) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstanceConfig_NetworkConfig.Descriptor instead.
func (InstanceConfig_NetworkConfig) Number
func (x InstanceConfig_NetworkConfig) Number() protoreflect.EnumNumber
func (InstanceConfig_NetworkConfig) String
func (x InstanceConfig_NetworkConfig) String() string
func (InstanceConfig_NetworkConfig) Type
func (InstanceConfig_NetworkConfig) Type() protoreflect.EnumType
InstanceQuota
type InstanceQuota struct {
// Output only. The name of the instance quota.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Instance type.
// Deprecated: use gcp_service.
//
// Deprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
InstanceType string `protobuf:"bytes,2,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`
// The gcp service of the provisioning quota.
GcpService string `protobuf:"bytes,5,opt,name=gcp_service,json=gcpService,proto3" json:"gcp_service,omitempty"`
// Location where the quota applies.
Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
// Number of machines than can be created for the given location and
// instance_type.
AvailableMachineCount int32 `protobuf:"varint,4,opt,name=available_machine_count,json=availableMachineCount,proto3" json:"available_machine_count,omitempty"`
// contains filtered or unexported fields
}
A resource budget.
func (*InstanceQuota) Descriptor
func (*InstanceQuota) Descriptor() ([]byte, []int)
Deprecated: Use InstanceQuota.ProtoReflect.Descriptor instead.
func (*InstanceQuota) GetAvailableMachineCount
func (x *InstanceQuota) GetAvailableMachineCount() int32
func (*InstanceQuota) GetGcpService
func (x *InstanceQuota) GetGcpService() string
func (*InstanceQuota) GetInstanceType
func (x *InstanceQuota) GetInstanceType() string
Deprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
func (*InstanceQuota) GetLocation
func (x *InstanceQuota) GetLocation() string
func (*InstanceQuota) GetName
func (x *InstanceQuota) GetName() string
func (*InstanceQuota) ProtoMessage
func (*InstanceQuota) ProtoMessage()
func (*InstanceQuota) ProtoReflect
func (x *InstanceQuota) ProtoReflect() protoreflect.Message
func (*InstanceQuota) Reset
func (x *InstanceQuota) Reset()
func (*InstanceQuota) String
func (x *InstanceQuota) String() string
Instance_State
type Instance_State int32
The possible states for this server.
Instance_STATE_UNSPECIFIED, Instance_PROVISIONING, Instance_RUNNING, Instance_DELETED, Instance_UPDATING, Instance_STARTING, Instance_STOPPING, Instance_SHUTDOWN
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
// The server is being updated.
Instance_UPDATING Instance_State = 4
// The server is starting.
Instance_STARTING Instance_State = 5
// The server is stopping.
Instance_STOPPING Instance_State = 6
// The server is shutdown.
Instance_SHUTDOWN Instance_State = 7
)
func (Instance_State) Descriptor
func (Instance_State) Descriptor() protoreflect.EnumDescriptor
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 (x Instance_State) Number() protoreflect.EnumNumber
func (Instance_State) String
func (x Instance_State) String() string
func (Instance_State) Type
func (Instance_State) Type() protoreflect.EnumType
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
ListOSImagesRequest
type ListOSImagesRequest struct {
// Required. Parent value for ListProvisioningQuotasRequest.
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.
// Notice that page_size field is not supported and won't be respected in
// the API request for now, will be updated when pagination is supported.
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
}
Request for getting all available OS images.
func (*ListOSImagesRequest) Descriptor
func (*ListOSImagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOSImagesRequest.ProtoReflect.Descriptor instead.
func (*ListOSImagesRequest) GetPageSize
func (x *ListOSImagesRequest) GetPageSize() int32
func (*ListOSImagesRequest) GetPageToken
func (x *ListOSImagesRequest) GetPageToken() string
func (*ListOSImagesRequest) GetParent
func (x *ListOSImagesRequest) GetParent() string
func (*ListOSImagesRequest) ProtoMessage
func (*ListOSImagesRequest) ProtoMessage()
func (*ListOSImagesRequest) ProtoReflect
func (x *ListOSImagesRequest) ProtoReflect() protoreflect.Message
func (*ListOSImagesRequest) Reset
func (x *ListOSImagesRequest) Reset()
func (*ListOSImagesRequest) String
func (x *ListOSImagesRequest) String() string
ListOSImagesResponse
type ListOSImagesResponse struct {
// The OS images available.
OsImages []*OSImage `protobuf:"bytes,1,rep,name=os_images,json=osImages,proto3" json:"os_images,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Request for getting all available OS images.
func (*ListOSImagesResponse) Descriptor
func (*ListOSImagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOSImagesResponse.ProtoReflect.Descriptor instead.
func (*ListOSImagesResponse) GetNextPageToken
func (x *ListOSImagesResponse) GetNextPageToken() string
func (*ListOSImagesResponse) GetOsImages
func (x *ListOSImagesResponse) GetOsImages() []*OSImage
func (*ListOSImagesResponse) ProtoMessage
func (*ListOSImagesResponse) ProtoMessage()
func (*ListOSImagesResponse) ProtoReflect
func (x *ListOSImagesResponse) ProtoReflect() protoreflect.Message
func (*ListOSImagesResponse) Reset
func (x *ListOSImagesResponse) Reset()
func (*ListOSImagesResponse) String
func (x *ListOSImagesResponse) String() string
ListProvisioningQuotasRequest
type ListProvisioningQuotasRequest struct {
// Required. Parent value for ListProvisioningQuotasRequest.
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.
// Notice that page_size field is not supported and won't be respected in
// the API request for now, will be updated when pagination is supported.
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 the list of provisioning quotas.
func (*ListProvisioningQuotasRequest) Descriptor
func (*ListProvisioningQuotasRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProvisioningQuotasRequest.ProtoReflect.Descriptor instead.
func (*ListProvisioningQuotasRequest) GetPageSize
func (x *ListProvisioningQuotasRequest) GetPageSize() int32
func (*ListProvisioningQuotasRequest) GetPageToken
func (x *ListProvisioningQuotasRequest) GetPageToken() string
func (*ListProvisioningQuotasRequest) GetParent
func (x *ListProvisioningQuotasRequest) GetParent() string
func (*ListProvisioningQuotasRequest) ProtoMessage
func (*ListProvisioningQuotasRequest) ProtoMessage()
func (*ListProvisioningQuotasRequest) ProtoReflect
func (x *ListProvisioningQuotasRequest) ProtoReflect() protoreflect.Message
func (*ListProvisioningQuotasRequest) Reset
func (x *ListProvisioningQuotasRequest) Reset()
func (*ListProvisioningQuotasRequest) String
func (x *ListProvisioningQuotasRequest) String() string
ListProvisioningQuotasResponse
type ListProvisioningQuotasResponse struct {
// The provisioning quotas registered in this project.
ProvisioningQuotas []*ProvisioningQuota `protobuf:"bytes,1,rep,name=provisioning_quotas,json=provisioningQuotas,proto3" json:"provisioning_quotas,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for the list of provisioning quotas.
func (*ListProvisioningQuotasResponse) Descriptor
func (*ListProvisioningQuotasResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProvisioningQuotasResponse.ProtoReflect.Descriptor instead.
func (*ListProvisioningQuotasResponse) GetNextPageToken
func (x *ListProvisioningQuotasResponse) GetNextPageToken() string
func (*ListProvisioningQuotasResponse) GetProvisioningQuotas
func (x *ListProvisioningQuotasResponse) GetProvisioningQuotas() []*ProvisioningQuota
func (*ListProvisioningQuotasResponse) ProtoMessage
func (*ListProvisioningQuotasResponse) ProtoMessage()
func (*ListProvisioningQuotasResponse) ProtoReflect
func (x *ListProvisioningQuotasResponse) ProtoReflect() protoreflect.Message
func (*ListProvisioningQuotasResponse) Reset
func (x *ListProvisioningQuotasResponse) Reset()
func (*ListProvisioningQuotasResponse) String
func (x *ListProvisioningQuotasResponse) String() string
ListSSHKeysRequest
type ListSSHKeysRequest struct {
// Required. The parent containing the SSH keys.
// Currently, the only valid value for the location is "global".
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of items to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The next_page_token value returned from a previous List request, if any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Message for listing the public SSH keys in a project.
func (*ListSSHKeysRequest) Descriptor
func (*ListSSHKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSSHKeysRequest.ProtoReflect.Descriptor instead.
func (*ListSSHKeysRequest) GetPageSize
func (x *ListSSHKeysRequest) GetPageSize() int32
func (*ListSSHKeysRequest) GetPageToken
func (x *ListSSHKeysRequest) GetPageToken() string
func (*ListSSHKeysRequest) GetParent
func (x *ListSSHKeysRequest) GetParent() string
func (*ListSSHKeysRequest) ProtoMessage
func (*ListSSHKeysRequest) ProtoMessage()
func (*ListSSHKeysRequest) ProtoReflect
func (x *ListSSHKeysRequest) ProtoReflect() protoreflect.Message
func (*ListSSHKeysRequest) Reset
func (x *ListSSHKeysRequest) Reset()
func (*ListSSHKeysRequest) String
func (x *ListSSHKeysRequest) String() string
ListSSHKeysResponse
type ListSSHKeysResponse struct {
// The SSH keys registered in the project.
SshKeys []*SSHKey `protobuf:"bytes,1,rep,name=ssh_keys,json=sshKeys,proto3" json:"ssh_keys,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,90,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Message for response of ListSSHKeys.
func (*ListSSHKeysResponse) Descriptor
func (*ListSSHKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSSHKeysResponse.ProtoReflect.Descriptor instead.
func (*ListSSHKeysResponse) GetNextPageToken
func (x *ListSSHKeysResponse) GetNextPageToken() string
func (*ListSSHKeysResponse) GetSshKeys
func (x *ListSSHKeysResponse) GetSshKeys() []*SSHKey
func (*ListSSHKeysResponse) ProtoMessage
func (*ListSSHKeysResponse) ProtoMessage()
func (*ListSSHKeysResponse) ProtoReflect
func (x *ListSSHKeysResponse) ProtoReflect() protoreflect.Message
func (*ListSSHKeysResponse) Reset
func (x *ListSSHKeysResponse) Reset()
func (*ListSSHKeysResponse) String
func (x *ListSSHKeysResponse) String() string
ListVolumeSnapshotsRequest
type ListVolumeSnapshotsRequest 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"`
// contains filtered or unexported fields
}
Message for requesting a list of volume snapshots.
func (*ListVolumeSnapshotsRequest) Descriptor
func (*ListVolumeSnapshotsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVolumeSnapshotsRequest.ProtoReflect.Descriptor instead.
func (*ListVolumeSnapshotsRequest) GetPageSize
func (x *ListVolumeSnapshotsRequest) GetPageSize() int32
func (*ListVolumeSnapshotsRequest) GetPageToken
func (x *ListVolumeSnapshotsRequest) GetPageToken() string
func (*ListVolumeSnapshotsRequest) GetParent
func (x *ListVolumeSnapshotsRequest) GetParent() string
func (*ListVolumeSnapshotsRequest) ProtoMessage
func (*ListVolumeSnapshotsRequest) ProtoMessage()
func (*ListVolumeSnapshotsRequest) ProtoReflect
func (x *ListVolumeSnapshotsRequest) ProtoReflect() protoreflect.Message
func (*ListVolumeSnapshotsRequest) Reset
func (x *ListVolumeSnapshotsRequest) Reset()
func (*ListVolumeSnapshotsRequest) String
func (x *ListVolumeSnapshotsRequest) String() string
ListVolumeSnapshotsResponse
type ListVolumeSnapshotsResponse struct {
// The list of snapshots.
VolumeSnapshots []*VolumeSnapshot `protobuf:"bytes,1,rep,name=volume_snapshots,json=volumeSnapshots,proto3" json:"volume_snapshots,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 volume snapshots.
func (*ListVolumeSnapshotsResponse) Descriptor
func (*ListVolumeSnapshotsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVolumeSnapshotsResponse.ProtoReflect.Descriptor instead.
func (*ListVolumeSnapshotsResponse) GetNextPageToken
func (x *ListVolumeSnapshotsResponse) GetNextPageToken() string
func (*ListVolumeSnapshotsResponse) GetUnreachable
func (x *ListVolumeSnapshotsResponse) GetUnreachable() []string
func (*ListVolumeSnapshotsResponse) GetVolumeSnapshots
func (x *ListVolumeSnapshotsResponse) GetVolumeSnapshots() []*VolumeSnapshot
func (*ListVolumeSnapshotsResponse) ProtoMessage
func (*ListVolumeSnapshotsResponse) ProtoMessage()
func (*ListVolumeSnapshotsResponse) ProtoReflect
func (x *ListVolumeSnapshotsResponse) ProtoReflect() protoreflect.Message
func (*ListVolumeSnapshotsResponse) Reset
func (x *ListVolumeSnapshotsResponse) Reset()
func (*ListVolumeSnapshotsResponse) String
func (x *ListVolumeSnapshotsResponse) 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 {
// List of logical network interfaces within a logical interface.
LogicalNetworkInterfaces []*LogicalInterface_LogicalNetworkInterface `protobuf:"bytes,1,rep,name=logical_network_interfaces,json=logicalNetworkInterfaces,proto3" json:"logical_network_interfaces,omitempty"`
// Interface name. This is of syntax
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
Deprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/network.proto.
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 {
// 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 `protobuf:"varint,4,opt,name=network_type,json=networkType,proto3,enum=google.cloud.baremetalsolution.v2.Network_Type" json:"network_type,omitempty"`
// 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
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 (x *LogicalInterface_LogicalNetworkInterface) GetId() string
func (*LogicalInterface_LogicalNetworkInterface) GetIpAddress
func (x *LogicalInterface_LogicalNetworkInterface) GetIpAddress() string
func (*LogicalInterface_LogicalNetworkInterface) GetNetwork
func (x *LogicalInterface_LogicalNetworkInterface) GetNetwork() string
func (*LogicalInterface_LogicalNetworkInterface) GetNetworkType
func (x *LogicalInterface_LogicalNetworkInterface) GetNetworkType() Network_Type
func (*LogicalInterface_LogicalNetworkInterface) ProtoMessage
func (*LogicalInterface_LogicalNetworkInterface) ProtoMessage()
func (*LogicalInterface_LogicalNetworkInterface) ProtoReflect
func (x *LogicalInterface_LogicalNetworkInterface) ProtoReflect() protoreflect.Message
func (*LogicalInterface_LogicalNetworkInterface) Reset
func (x *LogicalInterface_LogicalNetworkInterface) Reset()
func (*LogicalInterface_LogicalNetworkInterface) String
func (x *LogicalInterface_LogicalNetworkInterface) String() string
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 `protobuf:"varint,4,opt,name=multiprotocol_type,json=multiprotocolType,proto3,enum=google.cloud.baremetalsolution.v2.Lun_MultiprotocolType" json:"multiprotocol_type,omitempty"`
// 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 `protobuf:"varint,8,opt,name=storage_type,json=storageType,proto3,enum=google.cloud.baremetalsolution.v2.Lun_StorageType" json:"storage_type,omitempty"`
// The WWID for this LUN.
Wwid string `protobuf:"bytes,9,opt,name=wwid,proto3" json:"wwid,omitempty"`
// Output only. Time after which LUN will be fully deleted.
// It is filled only for LUNs in COOL_OFF state.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// Output only. Instances this Lun is attached to.
Instances []string `protobuf:"bytes,12,rep,name=instances,proto3" json:"instances,omitempty"`
// contains filtered or unexported fields
}
A storage volume logical unit number (LUN).
func (*Lun) Descriptor
Deprecated: Use Lun.ProtoReflect.Descriptor instead.
func (*Lun) GetBootLun
func (*Lun) GetExpireTime
func (x *Lun) GetExpireTime() *timestamppb.Timestamp
func (*Lun) GetId
func (*Lun) GetInstances
func (*Lun) GetMultiprotocolType
func (x *Lun) GetMultiprotocolType() Lun_MultiprotocolType
func (*Lun) GetName
func (*Lun) GetShareable
func (*Lun) GetSizeGb
func (*Lun) GetState
func (*Lun) GetStorageType
func (x *Lun) GetStorageType() Lun_StorageType
func (*Lun) GetStorageVolume
func (*Lun) GetWwid
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
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) Descriptor() protoreflect.EnumDescriptor
func (Lun_MultiprotocolType) Enum
func (x Lun_MultiprotocolType) Enum() *Lun_MultiprotocolType
func (Lun_MultiprotocolType) EnumDescriptor
func (Lun_MultiprotocolType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Lun_MultiprotocolType.Descriptor instead.
func (Lun_MultiprotocolType) Number
func (x Lun_MultiprotocolType) Number() protoreflect.EnumNumber
func (Lun_MultiprotocolType) String
func (x Lun_MultiprotocolType) String() string
func (Lun_MultiprotocolType) Type
func (Lun_MultiprotocolType) Type() protoreflect.EnumType
Lun_State
type Lun_State int32
The possible states for the LUN.
Lun_STATE_UNSPECIFIED, Lun_CREATING, Lun_UPDATING, Lun_READY, Lun_DELETING, Lun_COOL_OFF
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
// The LUN is in cool off state. It will be deleted after `expire_time`.
Lun_COOL_OFF Lun_State = 5
)
func (Lun_State) Descriptor
func (Lun_State) Descriptor() protoreflect.EnumDescriptor
func (Lun_State) Enum
func (Lun_State) EnumDescriptor
Deprecated: Use Lun_State.Descriptor instead.
func (Lun_State) Number
func (x Lun_State) Number() protoreflect.EnumNumber
func (Lun_State) String
func (Lun_State) Type
func (Lun_State) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x Lun_StorageType) Number() protoreflect.EnumNumber
func (Lun_StorageType) String
func (x Lun_StorageType) String() string
func (Lun_StorageType) Type
func (Lun_StorageType) Type() protoreflect.EnumType
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 `protobuf:"bytes,11,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// 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"`
// Output only. Pod name.
Pod string `protobuf:"bytes,14,opt,name=pod,proto3" json:"pod,omitempty"`
// Input only. List of mount points to attach the network to.
MountPoints []*NetworkMountPoint `protobuf:"bytes,15,rep,name=mount_points,json=mountPoints,proto3" json:"mount_points,omitempty"`
// Whether network uses standard frames or jumbo ones.
JumboFramesEnabled bool `protobuf:"varint,16,opt,name=jumbo_frames_enabled,json=jumboFramesEnabled,proto3" json:"jumbo_frames_enabled,omitempty"`
// Output only. Gateway ip address.
GatewayIp string `protobuf:"bytes,17,opt,name=gateway_ip,json=gatewayIp,proto3" json:"gateway_ip,omitempty"`
// contains filtered or unexported fields
}
A Network.
func (*Network) Descriptor
Deprecated: Use Network.ProtoReflect.Descriptor instead.
func (*Network) GetCidr
func (*Network) GetGatewayIp
func (*Network) GetId
func (*Network) GetIpAddress
func (*Network) GetJumboFramesEnabled
func (*Network) GetLabels
func (*Network) GetMacAddress
func (*Network) GetMountPoints
func (x *Network) GetMountPoints() []*NetworkMountPoint
func (*Network) GetName
func (*Network) GetPod
func (*Network) GetReservations
func (x *Network) GetReservations() []*NetworkAddressReservation
func (*Network) GetServicesCidr
func (*Network) GetState
func (x *Network) GetState() Network_State
func (*Network) GetType
func (x *Network) GetType() Network_Type
func (*Network) GetVlanId
func (*Network) GetVrf
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
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 (x *NetworkAddressReservation) ProtoReflect() protoreflect.Message
func (*NetworkAddressReservation) Reset
func (x *NetworkAddressReservation) Reset()
func (*NetworkAddressReservation) String
func (x *NetworkAddressReservation) String() string
NetworkConfig
type NetworkConfig struct {
// Output only. The name of the network config.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A transient unique identifier to identify a volume within an
// ProvisioningConfig request.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// The type of this network, either Client or Private.
Type NetworkConfig_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.baremetalsolution.v2.NetworkConfig_Type" json:"type,omitempty"`
// Interconnect bandwidth. Set only when type is CLIENT.
Bandwidth NetworkConfig_Bandwidth `protobuf:"varint,4,opt,name=bandwidth,proto3,enum=google.cloud.baremetalsolution.v2.NetworkConfig_Bandwidth" json:"bandwidth,omitempty"`
// List of VLAN attachments. As of now there are always 2 attachments, but it
// is going to change in the future (multi vlan).
VlanAttachments []*NetworkConfig_IntakeVlanAttachment `protobuf:"bytes,5,rep,name=vlan_attachments,json=vlanAttachments,proto3" json:"vlan_attachments,omitempty"`
// CIDR range of the network.
Cidr string `protobuf:"bytes,6,opt,name=cidr,proto3" json:"cidr,omitempty"`
// Service CIDR, if any.
ServiceCidr NetworkConfig_ServiceCidr `protobuf:"varint,7,opt,name=service_cidr,json=serviceCidr,proto3,enum=google.cloud.baremetalsolution.v2.NetworkConfig_ServiceCidr" json:"service_cidr,omitempty"`
// User note field, it can be used by customers to add additional information
// for the BMS Ops team .
UserNote string `protobuf:"bytes,8,opt,name=user_note,json=userNote,proto3" json:"user_note,omitempty"`
// The GCP service of the network. Available gcp_service are in
// https://cloud.google.com/bare-metal/docs/bms-planning.
GcpService string `protobuf:"bytes,9,opt,name=gcp_service,json=gcpService,proto3" json:"gcp_service,omitempty"`
// Whether the VLAN attachment pair is located in the same project.
VlanSameProject bool `protobuf:"varint,10,opt,name=vlan_same_project,json=vlanSameProject,proto3" json:"vlan_same_project,omitempty"`
// The JumboFramesEnabled option for customer to set.
JumboFramesEnabled bool `protobuf:"varint,11,opt,name=jumbo_frames_enabled,json=jumboFramesEnabled,proto3" json:"jumbo_frames_enabled,omitempty"`
// contains filtered or unexported fields
}
Configuration parameters for a new network.
func (*NetworkConfig) Descriptor
func (*NetworkConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.
func (*NetworkConfig) GetBandwidth
func (x *NetworkConfig) GetBandwidth() NetworkConfig_Bandwidth
func (*NetworkConfig) GetCidr
func (x *NetworkConfig) GetCidr() string
func (*NetworkConfig) GetGcpService
func (x *NetworkConfig) GetGcpService() string
func (*NetworkConfig) GetId
func (x *NetworkConfig) GetId() string
func (*NetworkConfig) GetJumboFramesEnabled
func (x *NetworkConfig) GetJumboFramesEnabled() bool
func (*NetworkConfig) GetName
func (x *NetworkConfig) GetName() string
func (*NetworkConfig) GetServiceCidr
func (x *NetworkConfig) GetServiceCidr() NetworkConfig_ServiceCidr
func (*NetworkConfig) GetType
func (x *NetworkConfig) GetType() NetworkConfig_Type
func (*NetworkConfig) GetUserNote
func (x *NetworkConfig) GetUserNote() string
func (*NetworkConfig) GetVlanAttachments
func (x *NetworkConfig) GetVlanAttachments() []*NetworkConfig_IntakeVlanAttachment
func (*NetworkConfig) GetVlanSameProject
func (x *NetworkConfig) GetVlanSameProject() bool
func (*NetworkConfig) ProtoMessage
func (*NetworkConfig) ProtoMessage()
func (*NetworkConfig) ProtoReflect
func (x *NetworkConfig) ProtoReflect() protoreflect.Message
func (*NetworkConfig) Reset
func (x *NetworkConfig) Reset()
func (*NetworkConfig) String
func (x *NetworkConfig) String() string
NetworkConfig_Bandwidth
type NetworkConfig_Bandwidth int32
Interconnect bandwidth.
NetworkConfig_BANDWIDTH_UNSPECIFIED, NetworkConfig_BW_1_GBPS, NetworkConfig_BW_2_GBPS, NetworkConfig_BW_5_GBPS, NetworkConfig_BW_10_GBPS
const (
// Unspecified value.
NetworkConfig_BANDWIDTH_UNSPECIFIED NetworkConfig_Bandwidth = 0
// 1 Gbps.
NetworkConfig_BW_1_GBPS NetworkConfig_Bandwidth = 1
// 2 Gbps.
NetworkConfig_BW_2_GBPS NetworkConfig_Bandwidth = 2
// 5 Gbps.
NetworkConfig_BW_5_GBPS NetworkConfig_Bandwidth = 3
// 10 Gbps.
NetworkConfig_BW_10_GBPS NetworkConfig_Bandwidth = 4
)
func (NetworkConfig_Bandwidth) Descriptor
func (NetworkConfig_Bandwidth) Descriptor() protoreflect.EnumDescriptor
func (NetworkConfig_Bandwidth) Enum
func (x NetworkConfig_Bandwidth) Enum() *NetworkConfig_Bandwidth
func (NetworkConfig_Bandwidth) EnumDescriptor
func (NetworkConfig_Bandwidth) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkConfig_Bandwidth.Descriptor instead.
func (NetworkConfig_Bandwidth) Number
func (x NetworkConfig_Bandwidth) Number() protoreflect.EnumNumber
func (NetworkConfig_Bandwidth) String
func (x NetworkConfig_Bandwidth) String() string
func (NetworkConfig_Bandwidth) Type
func (NetworkConfig_Bandwidth) Type() protoreflect.EnumType
NetworkConfig_IntakeVlanAttachment
type NetworkConfig_IntakeVlanAttachment struct {
// Identifier of the VLAN attachment.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Attachment pairing key.
PairingKey string `protobuf:"bytes,2,opt,name=pairing_key,json=pairingKey,proto3" json:"pairing_key,omitempty"`
// contains filtered or unexported fields
}
A GCP vlan attachment.
func (*NetworkConfig_IntakeVlanAttachment) Descriptor
func (*NetworkConfig_IntakeVlanAttachment) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfig_IntakeVlanAttachment.ProtoReflect.Descriptor instead.
func (*NetworkConfig_IntakeVlanAttachment) GetId
func (x *NetworkConfig_IntakeVlanAttachment) GetId() string
func (*NetworkConfig_IntakeVlanAttachment) GetPairingKey
func (x *NetworkConfig_IntakeVlanAttachment) GetPairingKey() string
func (*NetworkConfig_IntakeVlanAttachment) ProtoMessage
func (*NetworkConfig_IntakeVlanAttachment) ProtoMessage()
func (*NetworkConfig_IntakeVlanAttachment) ProtoReflect
func (x *NetworkConfig_IntakeVlanAttachment) ProtoReflect() protoreflect.Message
func (*NetworkConfig_IntakeVlanAttachment) Reset
func (x *NetworkConfig_IntakeVlanAttachment) Reset()
func (*NetworkConfig_IntakeVlanAttachment) String
func (x *NetworkConfig_IntakeVlanAttachment) String() string
NetworkConfig_ServiceCidr
type NetworkConfig_ServiceCidr int32
Service network block.
NetworkConfig_SERVICE_CIDR_UNSPECIFIED, NetworkConfig_DISABLED, NetworkConfig_HIGH_26, NetworkConfig_HIGH_27, NetworkConfig_HIGH_28
const (
// Unspecified value.
NetworkConfig_SERVICE_CIDR_UNSPECIFIED NetworkConfig_ServiceCidr = 0
// Services are disabled for the given network.
NetworkConfig_DISABLED NetworkConfig_ServiceCidr = 1
// Use the highest /26 block of the network to host services.
NetworkConfig_HIGH_26 NetworkConfig_ServiceCidr = 2
// Use the highest /27 block of the network to host services.
NetworkConfig_HIGH_27 NetworkConfig_ServiceCidr = 3
// Use the highest /28 block of the network to host services.
NetworkConfig_HIGH_28 NetworkConfig_ServiceCidr = 4
)
func (NetworkConfig_ServiceCidr) Descriptor
func (NetworkConfig_ServiceCidr) Descriptor() protoreflect.EnumDescriptor
func (NetworkConfig_ServiceCidr) Enum
func (x NetworkConfig_ServiceCidr) Enum() *NetworkConfig_ServiceCidr
func (NetworkConfig_ServiceCidr) EnumDescriptor
func (NetworkConfig_ServiceCidr) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkConfig_ServiceCidr.Descriptor instead.
func (NetworkConfig_ServiceCidr) Number
func (x NetworkConfig_ServiceCidr) Number() protoreflect.EnumNumber
func (NetworkConfig_ServiceCidr) String
func (x NetworkConfig_ServiceCidr) String() string
func (NetworkConfig_ServiceCidr) Type
func (NetworkConfig_ServiceCidr) Type() protoreflect.EnumType
NetworkConfig_Type
type NetworkConfig_Type int32
Network type.
NetworkConfig_TYPE_UNSPECIFIED, NetworkConfig_CLIENT, NetworkConfig_PRIVATE
const (
// Unspecified value.
NetworkConfig_TYPE_UNSPECIFIED NetworkConfig_Type = 0
// Client network, that is a network peered to a GCP VPC.
NetworkConfig_CLIENT NetworkConfig_Type = 1
// Private network, that is a network local to the BMS POD.
NetworkConfig_PRIVATE NetworkConfig_Type = 2
)
func (NetworkConfig_Type) Descriptor
func (NetworkConfig_Type) Descriptor() protoreflect.EnumDescriptor
func (NetworkConfig_Type) Enum
func (x NetworkConfig_Type) Enum() *NetworkConfig_Type
func (NetworkConfig_Type) EnumDescriptor
func (NetworkConfig_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkConfig_Type.Descriptor instead.
func (NetworkConfig_Type) Number
func (x NetworkConfig_Type) Number() protoreflect.EnumNumber
func (NetworkConfig_Type) String
func (x NetworkConfig_Type) String() string
func (NetworkConfig_Type) Type
func (NetworkConfig_Type) Type() protoreflect.EnumType
NetworkMountPoint
type NetworkMountPoint struct {
// Instance to attach network to.
Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
// Logical interface to detach from.
LogicalInterface string `protobuf:"bytes,2,opt,name=logical_interface,json=logicalInterface,proto3" json:"logical_interface,omitempty"`
// Network should be a default gateway.
DefaultGateway bool `protobuf:"varint,3,opt,name=default_gateway,json=defaultGateway,proto3" json:"default_gateway,omitempty"`
// Ip address of the server.
IpAddress string `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// contains filtered or unexported fields
}
Mount point for a network.
func (*NetworkMountPoint) Descriptor
func (*NetworkMountPoint) Descriptor() ([]byte, []int)
Deprecated: Use NetworkMountPoint.ProtoReflect.Descriptor instead.
func (*NetworkMountPoint) GetDefaultGateway
func (x *NetworkMountPoint) GetDefaultGateway() bool
func (*NetworkMountPoint) GetInstance
func (x *NetworkMountPoint) GetInstance() string
func (*NetworkMountPoint) GetIpAddress
func (x *NetworkMountPoint) GetIpAddress() string
func (*NetworkMountPoint) GetLogicalInterface
func (x *NetworkMountPoint) GetLogicalInterface() string
func (*NetworkMountPoint) ProtoMessage
func (*NetworkMountPoint) ProtoMessage()
func (*NetworkMountPoint) ProtoReflect
func (x *NetworkMountPoint) ProtoReflect() protoreflect.Message
func (*NetworkMountPoint) Reset
func (x *NetworkMountPoint) Reset()
func (*NetworkMountPoint) String
func (x *NetworkMountPoint) 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, Network_DEPROVISIONING, Network_UPDATING
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
// The Network is being deprovisioned.
Network_DEPROVISIONING Network_State = 3
// The Network is being updated.
Network_UPDATING Network_State = 4
)
func (Network_State) Descriptor
func (Network_State) Descriptor() protoreflect.EnumDescriptor
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 (x Network_State) Number() protoreflect.EnumNumber
func (Network_State) String
func (x Network_State) String() string
func (Network_State) Type
func (Network_State) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x Network_Type) Number() protoreflect.EnumNumber
func (Network_Type) String
func (x Network_Type) String() string
func (Network_Type) Type
func (Network_Type) Type() protoreflect.EnumType
NfsShare
type NfsShare struct {
// Immutable. 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.
// This field will be deprecated in the future, use `id` instead.
NfsShareId string `protobuf:"bytes,2,opt,name=nfs_share_id,json=nfsShareId,proto3" json:"nfs_share_id,omitempty"`
// Output only. An identifier for the NFS share, generated by the backend.
// This is the same value as nfs_share_id and will replace it in the future.
Id string `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"`
// Output only. 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"`
// Output only. The underlying volume of the share. Created automatically
// during provisioning.
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 `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The requested size, in GiB.
RequestedSizeGib int64 `protobuf:"varint,7,opt,name=requested_size_gib,json=requestedSizeGib,proto3" json:"requested_size_gib,omitempty"`
// Immutable. The storage type of the underlying volume.
StorageType NfsShare_StorageType `protobuf:"varint,9,opt,name=storage_type,json=storageType,proto3,enum=google.cloud.baremetalsolution.v2.NfsShare_StorageType" json:"storage_type,omitempty"`
// contains filtered or unexported fields
}
An NFS share.
func (*NfsShare) Descriptor
Deprecated: Use NfsShare.ProtoReflect.Descriptor instead.
func (*NfsShare) GetAllowedClients
func (x *NfsShare) GetAllowedClients() []*NfsShare_AllowedClient
func (*NfsShare) GetId
func (*NfsShare) GetLabels
func (*NfsShare) GetName
func (*NfsShare) GetNfsShareId
func (*NfsShare) GetRequestedSizeGib
func (*NfsShare) GetState
func (x *NfsShare) GetState() NfsShare_State
func (*NfsShare) GetStorageType
func (x *NfsShare) GetStorageType() NfsShare_StorageType
func (*NfsShare) GetVolume
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
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"`
// Output only. The IP address of the share on this network. Assigned
// automatically during provisioning based on the network's services_cidr.
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 `protobuf:"varint,4,opt,name=mount_permissions,json=mountPermissions,proto3,enum=google.cloud.baremetalsolution.v2.NfsShare_MountPermissions" json:"mount_permissions,omitempty"`
// 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"`
// Output only. The path to access NFS, in format shareIP:/InstanceID
// InstanceID is the generated ID instead of customer provided name.
// example like "10.0.0.0:/g123456789-nfs001"
NfsPath string `protobuf:"bytes,8,opt,name=nfs_path,json=nfsPath,proto3" json:"nfs_path,omitempty"`
// contains filtered or unexported fields
}
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
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) GetNfsPath
func (x *NfsShare_AllowedClient) GetNfsPath() 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
NfsShare_MountPermissions
type NfsShare_MountPermissions int32
The possible mount permissions.
NfsShare_MOUNT_PERMISSIONS_UNSPECIFIED, NfsShare_READ, NfsShare_READ_WRITE
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) Descriptor() protoreflect.EnumDescriptor
func (NfsShare_MountPermissions) Enum
func (x NfsShare_MountPermissions) Enum() *NfsShare_MountPermissions
func (NfsShare_MountPermissions) EnumDescriptor
func (NfsShare_MountPermissions) EnumDescriptor() ([]byte, []int)
Deprecated: Use NfsShare_MountPermissions.Descriptor instead.
func (NfsShare_MountPermissions) Number
func (x NfsShare_MountPermissions) Number() protoreflect.EnumNumber
func (NfsShare_MountPermissions) String
func (x NfsShare_MountPermissions) String() string
func (NfsShare_MountPermissions) Type
func (NfsShare_MountPermissions) Type() protoreflect.EnumType
NfsShare_State
type NfsShare_State int32
The possible states for this NFS share.
NfsShare_STATE_UNSPECIFIED, NfsShare_PROVISIONED, NfsShare_CREATING, NfsShare_UPDATING, NfsShare_DELETING
const (
// The share is in an unknown state.
NfsShare_STATE_UNSPECIFIED NfsShare_State = 0
// The share has been provisioned.
NfsShare_PROVISIONED NfsShare_State = 1
// The NFS Share is being created.
NfsShare_CREATING NfsShare_State = 2
// The NFS Share is being updated.
NfsShare_UPDATING NfsShare_State = 3
// The NFS Share has been requested to be deleted.
NfsShare_DELETING NfsShare_State = 4
)
func (NfsShare_State) Descriptor
func (NfsShare_State) Descriptor() protoreflect.EnumDescriptor
func (NfsShare_State) Enum
func (x NfsShare_State) Enum() *NfsShare_State
func (NfsShare_State) EnumDescriptor
func (NfsShare_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use NfsShare_State.Descriptor instead.
func (NfsShare_State) Number
func (x NfsShare_State) Number() protoreflect.EnumNumber
func (NfsShare_State) String
func (x NfsShare_State) String() string
func (NfsShare_State) Type
func (NfsShare_State) Type() protoreflect.EnumType
NfsShare_StorageType
type NfsShare_StorageType int32
The storage type for a volume.
NfsShare_STORAGE_TYPE_UNSPECIFIED, NfsShare_SSD, NfsShare_HDD
const (
// The storage type for this volume is unknown.
NfsShare_STORAGE_TYPE_UNSPECIFIED NfsShare_StorageType = 0
// The storage type for this volume is SSD.
NfsShare_SSD NfsShare_StorageType = 1
// This storage type for this volume is HDD.
NfsShare_HDD NfsShare_StorageType = 2
)
func (NfsShare_StorageType) Descriptor
func (NfsShare_StorageType) Descriptor() protoreflect.EnumDescriptor
func (NfsShare_StorageType) Enum
func (x NfsShare_StorageType) Enum() *NfsShare_StorageType
func (NfsShare_StorageType) EnumDescriptor
func (NfsShare_StorageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NfsShare_StorageType.Descriptor instead.
func (NfsShare_StorageType) Number
func (x NfsShare_StorageType) Number() protoreflect.EnumNumber
func (NfsShare_StorageType) String
func (x NfsShare_StorageType) String() string
func (NfsShare_StorageType) Type
func (NfsShare_StorageType) Type() protoreflect.EnumType
OSImage
type OSImage struct {
// Output only. OS Image's unique name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// OS Image code.
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
// OS Image description.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Instance types this image is applicable to.
// [Available
// types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
ApplicableInstanceTypes []string `protobuf:"bytes,4,rep,name=applicable_instance_types,json=applicableInstanceTypes,proto3" json:"applicable_instance_types,omitempty"`
// Network templates that can be used with this OS Image.
SupportedNetworkTemplates []string `protobuf:"bytes,5,rep,name=supported_network_templates,json=supportedNetworkTemplates,proto3" json:"supported_network_templates,omitempty"`
// contains filtered or unexported fields
}
Operation System image.
func (*OSImage) Descriptor
Deprecated: Use OSImage.ProtoReflect.Descriptor instead.
func (*OSImage) GetApplicableInstanceTypes
func (*OSImage) GetCode
func (*OSImage) GetDescription
func (*OSImage) GetName
func (*OSImage) GetSupportedNetworkTemplates
func (*OSImage) ProtoMessage
func (*OSImage) ProtoMessage()
func (*OSImage) ProtoReflect
func (x *OSImage) ProtoReflect() protoreflect.Message
func (*OSImage) Reset
func (x *OSImage) Reset()
func (*OSImage) String
OperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the action executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. 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][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"`
// Output only. 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
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
ProvisioningConfig
type ProvisioningConfig struct {
// Output only. The system-generated name of the provisioning config. This
// follows the UUID format.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Instances to be created.
Instances []*InstanceConfig `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"`
// Networks to be created.
Networks []*NetworkConfig `protobuf:"bytes,3,rep,name=networks,proto3" json:"networks,omitempty"`
// Volumes to be created.
Volumes []*VolumeConfig `protobuf:"bytes,4,rep,name=volumes,proto3" json:"volumes,omitempty"`
// A generated ticket id to track provisioning request.
TicketId string `protobuf:"bytes,5,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"`
// A service account to enable customers to access instance credentials upon
// handover.
HandoverServiceAccount string `protobuf:"bytes,6,opt,name=handover_service_account,json=handoverServiceAccount,proto3" json:"handover_service_account,omitempty"`
// Email provided to send a confirmation with provisioning config to.
// Deprecated in favour of email field in request messages.
//
// Deprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`
// Output only. State of ProvisioningConfig.
State ProvisioningConfig_State `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.baremetalsolution.v2.ProvisioningConfig_State" json:"state,omitempty"`
// Optional. Location name of this ProvisioningConfig.
// It is optional only for Intake UI transition period.
Location string `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"`
// Output only. Last update timestamp.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. URI to Cloud Console UI view of this provisioning config.
CloudConsoleUri string `protobuf:"bytes,11,opt,name=cloud_console_uri,json=cloudConsoleUri,proto3" json:"cloud_console_uri,omitempty"`
// If true, VPC SC is enabled for the cluster.
VpcScEnabled bool `protobuf:"varint,12,opt,name=vpc_sc_enabled,json=vpcScEnabled,proto3" json:"vpc_sc_enabled,omitempty"`
// Optional status messages associated with the FAILED state.
StatusMessage string `protobuf:"bytes,13,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Optional. The user-defined identifier of the provisioning config.
CustomId string `protobuf:"bytes,14,opt,name=custom_id,json=customId,proto3" json:"custom_id,omitempty"`
// contains filtered or unexported fields
}
A provisioning configuration.
func (*ProvisioningConfig) Descriptor
func (*ProvisioningConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProvisioningConfig.ProtoReflect.Descriptor instead.
func (*ProvisioningConfig) GetCloudConsoleUri
func (x *ProvisioningConfig) GetCloudConsoleUri() string
func (*ProvisioningConfig) GetCustomId
func (x *ProvisioningConfig) GetCustomId() string
func (*ProvisioningConfig) GetEmail
func (x *ProvisioningConfig) GetEmail() string
Deprecated: Marked as deprecated in google/cloud/baremetalsolution/v2/provisioning.proto.
func (*ProvisioningConfig) GetHandoverServiceAccount
func (x *ProvisioningConfig) GetHandoverServiceAccount() string
func (*ProvisioningConfig) GetInstances
func (x *ProvisioningConfig) GetInstances() []*InstanceConfig
func (*ProvisioningConfig) GetLocation
func (x *ProvisioningConfig) GetLocation() string
func (*ProvisioningConfig) GetName
func (x *ProvisioningConfig) GetName() string
func (*ProvisioningConfig) GetNetworks
func (x *ProvisioningConfig) GetNetworks() []*NetworkConfig
func (*ProvisioningConfig) GetState
func (x *ProvisioningConfig) GetState() ProvisioningConfig_State
func (*ProvisioningConfig) GetStatusMessage
func (x *ProvisioningConfig) GetStatusMessage() string
func (*ProvisioningConfig) GetTicketId
func (x *ProvisioningConfig) GetTicketId() string
func (*ProvisioningConfig) GetUpdateTime
func (x *ProvisioningConfig) GetUpdateTime() *timestamppb.Timestamp
func (*ProvisioningConfig) GetVolumes
func (x *ProvisioningConfig) GetVolumes() []*VolumeConfig
func (*ProvisioningConfig) GetVpcScEnabled
func (x *ProvisioningConfig) GetVpcScEnabled() bool
func (*ProvisioningConfig) ProtoMessage
func (*ProvisioningConfig) ProtoMessage()
func (*ProvisioningConfig) ProtoReflect
func (x *ProvisioningConfig) ProtoReflect() protoreflect.Message
func (*ProvisioningConfig) Reset
func (x *ProvisioningConfig) Reset()
func (*ProvisioningConfig) String
func (x *ProvisioningConfig) String() string
ProvisioningConfig_State
type ProvisioningConfig_State int32
The possible states for this ProvisioningConfig.
ProvisioningConfig_STATE_UNSPECIFIED, ProvisioningConfig_DRAFT, ProvisioningConfig_SUBMITTED, ProvisioningConfig_PROVISIONING, ProvisioningConfig_PROVISIONED, ProvisioningConfig_VALIDATED, ProvisioningConfig_CANCELLED, ProvisioningConfig_FAILED
const (
// State wasn't specified.
ProvisioningConfig_STATE_UNSPECIFIED ProvisioningConfig_State = 0
// ProvisioningConfig is a draft and can be freely modified.
ProvisioningConfig_DRAFT ProvisioningConfig_State = 1
// ProvisioningConfig was already submitted and cannot be modified.
ProvisioningConfig_SUBMITTED ProvisioningConfig_State = 2
// ProvisioningConfig was in the provisioning state. Initially this state
// comes from the work order table in big query when SNOW is used. Later
// this field can be set by the work order API.
ProvisioningConfig_PROVISIONING ProvisioningConfig_State = 3
// ProvisioningConfig was provisioned, meaning the resources exist.
ProvisioningConfig_PROVISIONED ProvisioningConfig_State = 4
// ProvisioningConfig was validated. A validation tool will be run to
// set this state.
ProvisioningConfig_VALIDATED ProvisioningConfig_State = 5
// ProvisioningConfig was canceled.
ProvisioningConfig_CANCELLED ProvisioningConfig_State = 6
// The request is submitted for provisioning, with error return.
ProvisioningConfig_FAILED ProvisioningConfig_State = 7
)
func (ProvisioningConfig_State) Descriptor
func (ProvisioningConfig_State) Descriptor() protoreflect.EnumDescriptor
func (ProvisioningConfig_State) Enum
func (x ProvisioningConfig_State) Enum() *ProvisioningConfig_State
func (ProvisioningConfig_State) EnumDescriptor
func (ProvisioningConfig_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProvisioningConfig_State.Descriptor instead.
func (ProvisioningConfig_State) Number
func (x ProvisioningConfig_State) Number() protoreflect.EnumNumber
func (ProvisioningConfig_State) String
func (x ProvisioningConfig_State) String() string
func (ProvisioningConfig_State) Type
func (ProvisioningConfig_State) Type() protoreflect.EnumType
ProvisioningQuota
type ProvisioningQuota struct {
// Output only. The name of the provisioning quota.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The asset type of this provisioning quota.
AssetType ProvisioningQuota_AssetType `protobuf:"varint,2,opt,name=asset_type,json=assetType,proto3,enum=google.cloud.baremetalsolution.v2.ProvisioningQuota_AssetType" json:"asset_type,omitempty"`
// The gcp service of the provisioning quota.
GcpService string `protobuf:"bytes,3,opt,name=gcp_service,json=gcpService,proto3" json:"gcp_service,omitempty"`
// The specific location of the provisioining quota.
Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
// The available count of the provisioning quota.
AvailableCount int32 `protobuf:"varint,5,opt,name=available_count,json=availableCount,proto3" json:"available_count,omitempty"`
// The quota of one asset type.
//
// Types that are assignable to Quota:
//
// *ProvisioningQuota_InstanceQuota
Quota isProvisioningQuota_Quota `protobuf_oneof:"quota"`
// Available quantity based on asset type.
//
// Types that are assignable to Availability:
//
// *ProvisioningQuota_ServerCount
// *ProvisioningQuota_NetworkBandwidth
// *ProvisioningQuota_StorageGib
Availability isProvisioningQuota_Availability `protobuf_oneof:"availability"`
// contains filtered or unexported fields
}
A provisioning quota for a given project.
func (*ProvisioningQuota) Descriptor
func (*ProvisioningQuota) Descriptor() ([]byte, []int)
Deprecated: Use ProvisioningQuota.ProtoReflect.Descriptor instead.
func (*ProvisioningQuota) GetAssetType
func (x *ProvisioningQuota) GetAssetType() ProvisioningQuota_AssetType
func (*ProvisioningQuota) GetAvailability
func (m *ProvisioningQuota) GetAvailability() isProvisioningQuota_Availability
func (*ProvisioningQuota) GetAvailableCount
func (x *ProvisioningQuota) GetAvailableCount() int32
func (*ProvisioningQuota) GetGcpService
func (x *ProvisioningQuota) GetGcpService() string
func (*ProvisioningQuota) GetInstanceQuota
func (x *ProvisioningQuota) GetInstanceQuota() *InstanceQuota
func (*ProvisioningQuota) GetLocation
func (x *ProvisioningQuota) GetLocation() string
func (*ProvisioningQuota) GetName
func (x *ProvisioningQuota) GetName() string
func (*ProvisioningQuota) GetNetworkBandwidth
func (x *ProvisioningQuota) GetNetworkBandwidth() int64
func (*ProvisioningQuota) GetQuota
func (m *ProvisioningQuota) GetQuota() isProvisioningQuota_Quota
func (*ProvisioningQuota) GetServerCount
func (x *ProvisioningQuota) GetServerCount() int64
func (*ProvisioningQuota) GetStorageGib
func (x *ProvisioningQuota) GetStorageGib() int64
func (*ProvisioningQuota) ProtoMessage
func (*ProvisioningQuota) ProtoMessage()
func (*ProvisioningQuota) ProtoReflect
func (x *ProvisioningQuota) ProtoReflect() protoreflect.Message
func (*ProvisioningQuota) Reset
func (x *ProvisioningQuota) Reset()
func (*ProvisioningQuota) String
func (x *ProvisioningQuota) String() string
ProvisioningQuota_AssetType
type ProvisioningQuota_AssetType int32
The available asset types for intake.
ProvisioningQuota_ASSET_TYPE_UNSPECIFIED, ProvisioningQuota_ASSET_TYPE_SERVER, ProvisioningQuota_ASSET_TYPE_STORAGE, ProvisioningQuota_ASSET_TYPE_NETWORK
const (
// The unspecified type.
ProvisioningQuota_ASSET_TYPE_UNSPECIFIED ProvisioningQuota_AssetType = 0
// The server asset type.
ProvisioningQuota_ASSET_TYPE_SERVER ProvisioningQuota_AssetType = 1
// The storage asset type.
ProvisioningQuota_ASSET_TYPE_STORAGE ProvisioningQuota_AssetType = 2
// The network asset type.
ProvisioningQuota_ASSET_TYPE_NETWORK ProvisioningQuota_AssetType = 3
)
func (ProvisioningQuota_AssetType) Descriptor
func (ProvisioningQuota_AssetType) Descriptor() protoreflect.EnumDescriptor
func (ProvisioningQuota_AssetType) Enum
func (x ProvisioningQuota_AssetType) Enum() *ProvisioningQuota_AssetType
func (ProvisioningQuota_AssetType) EnumDescriptor
func (ProvisioningQuota_AssetType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProvisioningQuota_AssetType.Descriptor instead.
func (ProvisioningQuota_AssetType) Number
func (x ProvisioningQuota_AssetType) Number() protoreflect.EnumNumber
func (ProvisioningQuota_AssetType) String
func (x ProvisioningQuota_AssetType) String() string
func (ProvisioningQuota_AssetType) Type
func (ProvisioningQuota_AssetType) Type() protoreflect.EnumType
ProvisioningQuota_InstanceQuota
type ProvisioningQuota_InstanceQuota struct {
// Instance quota.
InstanceQuota *InstanceQuota `protobuf:"bytes,6,opt,name=instance_quota,json=instanceQuota,proto3,oneof"`
}
ProvisioningQuota_NetworkBandwidth
type ProvisioningQuota_NetworkBandwidth struct {
// Network bandwidth, Gbps
NetworkBandwidth int64 `protobuf:"varint,8,opt,name=network_bandwidth,json=networkBandwidth,proto3,oneof"`
}
ProvisioningQuota_ServerCount
type ProvisioningQuota_ServerCount struct {
// Server count.
ServerCount int64 `protobuf:"varint,7,opt,name=server_count,json=serverCount,proto3,oneof"`
}
ProvisioningQuota_StorageGib
type ProvisioningQuota_StorageGib struct {
// Storage size (GB).
StorageGib int64 `protobuf:"varint,9,opt,name=storage_gib,json=storageGib,proto3,oneof"`
}
RenameInstanceRequest
type RenameInstanceRequest struct {
// Required. The `name` field is used to identify the instance.
// Format: projects/{project}/locations/{location}/instances/{instance}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The new `id` of the instance.
NewInstanceId string `protobuf:"bytes,2,opt,name=new_instance_id,json=newInstanceId,proto3" json:"new_instance_id,omitempty"`
// contains filtered or unexported fields
}
Message requesting rename of a server.
func (*RenameInstanceRequest) Descriptor
func (*RenameInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameInstanceRequest.ProtoReflect.Descriptor instead.
func (*RenameInstanceRequest) GetName
func (x *RenameInstanceRequest) GetName() string
func (*RenameInstanceRequest) GetNewInstanceId
func (x *RenameInstanceRequest) GetNewInstanceId() string
func (*RenameInstanceRequest) ProtoMessage
func (*RenameInstanceRequest) ProtoMessage()
func (*RenameInstanceRequest) ProtoReflect
func (x *RenameInstanceRequest) ProtoReflect() protoreflect.Message
func (*RenameInstanceRequest) Reset
func (x *RenameInstanceRequest) Reset()
func (*RenameInstanceRequest) String
func (x *RenameInstanceRequest) String() string
RenameNetworkRequest
type RenameNetworkRequest struct {
// Required. The `name` field is used to identify the network.
// Format: projects/{project}/locations/{location}/networks/{network}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The new `id` of the network.
NewNetworkId string `protobuf:"bytes,2,opt,name=new_network_id,json=newNetworkId,proto3" json:"new_network_id,omitempty"`
// contains filtered or unexported fields
}
Message requesting rename of a server.
func (*RenameNetworkRequest) Descriptor
func (*RenameNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameNetworkRequest.ProtoReflect.Descriptor instead.
func (*RenameNetworkRequest) GetName
func (x *RenameNetworkRequest) GetName() string
func (*RenameNetworkRequest) GetNewNetworkId
func (x *RenameNetworkRequest) GetNewNetworkId() string
func (*RenameNetworkRequest) ProtoMessage
func (*RenameNetworkRequest) ProtoMessage()
func (*RenameNetworkRequest) ProtoReflect
func (x *RenameNetworkRequest) ProtoReflect() protoreflect.Message
func (*RenameNetworkRequest) Reset
func (x *RenameNetworkRequest) Reset()
func (*RenameNetworkRequest) String
func (x *RenameNetworkRequest) String() string
RenameNfsShareRequest
type RenameNfsShareRequest struct {
// Required. The `name` field is used to identify the nfsshare.
// Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The new `id` of the nfsshare.
NewNfsshareId string `protobuf:"bytes,2,opt,name=new_nfsshare_id,json=newNfsshareId,proto3" json:"new_nfsshare_id,omitempty"`
// contains filtered or unexported fields
}
Message requesting rename of a server.
func (*RenameNfsShareRequest) Descriptor
func (*RenameNfsShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameNfsShareRequest.ProtoReflect.Descriptor instead.
func (*RenameNfsShareRequest) GetName
func (x *RenameNfsShareRequest) GetName() string
func (*RenameNfsShareRequest) GetNewNfsshareId
func (x *RenameNfsShareRequest) GetNewNfsshareId() string
func (*RenameNfsShareRequest) ProtoMessage
func (*RenameNfsShareRequest) ProtoMessage()
func (*RenameNfsShareRequest) ProtoReflect
func (x *RenameNfsShareRequest) ProtoReflect() protoreflect.Message
func (*RenameNfsShareRequest) Reset
func (x *RenameNfsShareRequest) Reset()
func (*RenameNfsShareRequest) String
func (x *RenameNfsShareRequest) String() string
RenameVolumeRequest
type RenameVolumeRequest struct {
// Required. The `name` field is used to identify the volume.
// Format: projects/{project}/locations/{location}/volumes/{volume}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The new `id` of the volume.
NewVolumeId string `protobuf:"bytes,2,opt,name=new_volume_id,json=newVolumeId,proto3" json:"new_volume_id,omitempty"`
// contains filtered or unexported fields
}
Message requesting rename of a server.
func (*RenameVolumeRequest) Descriptor
func (*RenameVolumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameVolumeRequest.ProtoReflect.Descriptor instead.
func (*RenameVolumeRequest) GetName
func (x *RenameVolumeRequest) GetName() string
func (*RenameVolumeRequest) GetNewVolumeId
func (x *RenameVolumeRequest) GetNewVolumeId() string
func (*RenameVolumeRequest) ProtoMessage
func (*RenameVolumeRequest) ProtoMessage()
func (*RenameVolumeRequest) ProtoReflect
func (x *RenameVolumeRequest) ProtoReflect() protoreflect.Message
func (*RenameVolumeRequest) Reset
func (x *RenameVolumeRequest) Reset()
func (*RenameVolumeRequest) String
func (x *RenameVolumeRequest) String() string
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
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
ResetInstanceResponse
type ResetInstanceResponse struct {
// contains filtered or unexported fields
}
Response message from resetting a server.
func (*ResetInstanceResponse) Descriptor
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
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
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
RestoreVolumeSnapshotRequest
type RestoreVolumeSnapshotRequest struct {
// Required. Name of the snapshot which will be used to restore its parent
// volume.
VolumeSnapshot string `protobuf:"bytes,1,opt,name=volume_snapshot,json=volumeSnapshot,proto3" json:"volume_snapshot,omitempty"`
// contains filtered or unexported fields
}
Message for restoring a volume snapshot.
func (*RestoreVolumeSnapshotRequest) Descriptor
func (*RestoreVolumeSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreVolumeSnapshotRequest.ProtoReflect.Descriptor instead.
func (*RestoreVolumeSnapshotRequest) GetVolumeSnapshot
func (x *RestoreVolumeSnapshotRequest) GetVolumeSnapshot() string
func (*RestoreVolumeSnapshotRequest) ProtoMessage
func (*RestoreVolumeSnapshotRequest) ProtoMessage()
func (*RestoreVolumeSnapshotRequest) ProtoReflect
func (x *RestoreVolumeSnapshotRequest) ProtoReflect() protoreflect.Message
func (*RestoreVolumeSnapshotRequest) Reset
func (x *RestoreVolumeSnapshotRequest) Reset()
func (*RestoreVolumeSnapshotRequest) String
func (x *RestoreVolumeSnapshotRequest) String() string
SSHKey
type SSHKey struct {
// Output only. The name of this SSH key.
// Currently, the only valid value for the location is "global".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The public SSH key. This must be in OpenSSH .authorized_keys format.
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// contains filtered or unexported fields
}
An SSH key, used for authorizing with the interactive serial console feature.
func (*SSHKey) Descriptor
Deprecated: Use SSHKey.ProtoReflect.Descriptor instead.
func (*SSHKey) GetName
func (*SSHKey) GetPublicKey
func (*SSHKey) ProtoMessage
func (*SSHKey) ProtoMessage()
func (*SSHKey) ProtoReflect
func (x *SSHKey) ProtoReflect() protoreflect.Message
func (*SSHKey) Reset
func (x *SSHKey) Reset()
func (*SSHKey) String
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
Network template.
func (*ServerNetworkTemplate) Descriptor
func (*ServerNetworkTemplate) Descriptor() ([]byte, []int)
Deprecated: Use ServerNetworkTemplate.ProtoReflect.Descriptor instead.
func (*ServerNetworkTemplate) GetApplicableInstanceTypes
func (x *ServerNetworkTemplate) GetApplicableInstanceTypes() []string
func (*ServerNetworkTemplate) GetLogicalInterfaces
func (x *ServerNetworkTemplate) GetLogicalInterfaces() []*ServerNetworkTemplate_LogicalInterface
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
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
//
Logical interface.
func (*ServerNetworkTemplate_LogicalInterface) Descriptor
func (*ServerNetworkTemplate_LogicalInterface) Descriptor() ([]byte, []int)
Deprecated: Use ServerNetworkTemplate_LogicalInterface.ProtoReflect.Descriptor instead.
func (*ServerNetworkTemplate_LogicalInterface) GetName
func (x *ServerNetworkTemplate_LogicalInterface) GetName() string
func (*ServerNetworkTemplate_LogicalInterface) GetRequired
func (x *ServerNetworkTemplate_LogicalInterface) GetRequired() bool
func (*ServerNetworkTemplate_LogicalInterface) GetType
func (x *ServerNetworkTemplate_LogicalInterface) GetType() ServerNetworkTemplate_LogicalInterface_InterfaceType
func (*ServerNetworkTemplate_LogicalInterface) ProtoMessage
func (*ServerNetworkTemplate_LogicalInterface) ProtoMessage()
func (*ServerNetworkTemplate_LogicalInterface) ProtoReflect
func (x *ServerNetworkTemplate_LogicalInterface) ProtoReflect() protoreflect.Message
func (*ServerNetworkTemplate_LogicalInterface) Reset
func (x *ServerNetworkTemplate_LogicalInterface) Reset()
func (*ServerNetworkTemplate_LogicalInterface) String
func (x *ServerNetworkTemplate_LogicalInterface) String() string
ServerNetworkTemplate_LogicalInterface_InterfaceType
type ServerNetworkTemplate_LogicalInterface_InterfaceType int32
Interface type.
ServerNetworkTemplate_LogicalInterface_INTERFACE_TYPE_UNSPECIFIED, ServerNetworkTemplate_LogicalInterface_BOND, ServerNetworkTemplate_LogicalInterface_NIC
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) Descriptor() protoreflect.EnumDescriptor
func (ServerNetworkTemplate_LogicalInterface_InterfaceType) Enum
func (x ServerNetworkTemplate_LogicalInterface_InterfaceType) Enum() *ServerNetworkTemplate_LogicalInterface_InterfaceType
func (ServerNetworkTemplate_LogicalInterface_InterfaceType) EnumDescriptor
func (ServerNetworkTemplate_LogicalInterface_InterfaceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServerNetworkTemplate_LogicalInterface_InterfaceType.Descriptor instead.
func (ServerNetworkTemplate_LogicalInterface_InterfaceType) Number
func (x ServerNetworkTemplate_LogicalInterface_InterfaceType) Number() protoreflect.EnumNumber
func (ServerNetworkTemplate_LogicalInterface_InterfaceType) String
func (x ServerNetworkTemplate_LogicalInterface_InterfaceType) String() string
func (ServerNetworkTemplate_LogicalInterface_InterfaceType) 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
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
StartInstanceResponse
type StartInstanceResponse struct {
// contains filtered or unexported fields
}
Response message from starting a server.
func (*StartInstanceResponse) Descriptor
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
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
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
StopInstanceResponse
type StopInstanceResponse struct {
// contains filtered or unexported fields
}
Response message from stopping a server.
func (*StopInstanceResponse) Descriptor
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
SubmitProvisioningConfigRequest
type SubmitProvisioningConfigRequest struct {
// Required. The parent project and location containing the
// ProvisioningConfig.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ProvisioningConfig to create.
ProvisioningConfig *ProvisioningConfig `protobuf:"bytes,2,opt,name=provisioning_config,json=provisioningConfig,proto3" json:"provisioning_config,omitempty"`
// Optional. Email provided to send a confirmation with provisioning config
// to.
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
// contains filtered or unexported fields
}
Request for SubmitProvisioningConfig.
func (*SubmitProvisioningConfigRequest) Descriptor
func (*SubmitProvisioningConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitProvisioningConfigRequest.ProtoReflect.Descriptor instead.
func (*SubmitProvisioningConfigRequest) GetEmail
func (x *SubmitProvisioningConfigRequest) GetEmail() string
func (*SubmitProvisioningConfigRequest) GetParent
func (x *SubmitProvisioningConfigRequest) GetParent() string
func (*SubmitProvisioningConfigRequest) GetProvisioningConfig
func (x *SubmitProvisioningConfigRequest) GetProvisioningConfig() *ProvisioningConfig
func (*SubmitProvisioningConfigRequest) ProtoMessage
func (*SubmitProvisioningConfigRequest) ProtoMessage()
func (*SubmitProvisioningConfigRequest) ProtoReflect
func (x *SubmitProvisioningConfigRequest) ProtoReflect() protoreflect.Message
func (*SubmitProvisioningConfigRequest) Reset
func (x *SubmitProvisioningConfigRequest) Reset()
func (*SubmitProvisioningConfigRequest) String
func (x *SubmitProvisioningConfigRequest) String() string
SubmitProvisioningConfigResponse
type SubmitProvisioningConfigResponse struct {
// The submitted provisioning config.
ProvisioningConfig *ProvisioningConfig `protobuf:"bytes,1,opt,name=provisioning_config,json=provisioningConfig,proto3" json:"provisioning_config,omitempty"`
// contains filtered or unexported fields
}
Response for SubmitProvisioningConfig.
func (*SubmitProvisioningConfigResponse) Descriptor
func (*SubmitProvisioningConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitProvisioningConfigResponse.ProtoReflect.Descriptor instead.
func (*SubmitProvisioningConfigResponse) GetProvisioningConfig
func (x *SubmitProvisioningConfigResponse) GetProvisioningConfig() *ProvisioningConfig
func (*SubmitProvisioningConfigResponse) ProtoMessage
func (*SubmitProvisioningConfigResponse) ProtoMessage()
func (*SubmitProvisioningConfigResponse) ProtoReflect
func (x *SubmitProvisioningConfigResponse) ProtoReflect() protoreflect.Message
func (*SubmitProvisioningConfigResponse) Reset
func (x *SubmitProvisioningConfigResponse) Reset()
func (*SubmitProvisioningConfigResponse) String
func (x *SubmitProvisioningConfigResponse) String() string
UnimplementedBareMetalSolutionServer
type UnimplementedBareMetalSolutionServer struct {
}
UnimplementedBareMetalSolutionServer can be embedded to have forward compatible implementations.
func (*UnimplementedBareMetalSolutionServer) CreateNfsShare
func (*UnimplementedBareMetalSolutionServer) CreateNfsShare(context.Context, *CreateNfsShareRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) CreateProvisioningConfig
func (*UnimplementedBareMetalSolutionServer) CreateProvisioningConfig(context.Context, *CreateProvisioningConfigRequest) (*ProvisioningConfig, error)
func (*UnimplementedBareMetalSolutionServer) CreateSSHKey
func (*UnimplementedBareMetalSolutionServer) CreateSSHKey(context.Context, *CreateSSHKeyRequest) (*SSHKey, error)
func (*UnimplementedBareMetalSolutionServer) CreateVolumeSnapshot
func (*UnimplementedBareMetalSolutionServer) CreateVolumeSnapshot(context.Context, *CreateVolumeSnapshotRequest) (*VolumeSnapshot, error)
func (*UnimplementedBareMetalSolutionServer) DeleteNfsShare
func (*UnimplementedBareMetalSolutionServer) DeleteNfsShare(context.Context, *DeleteNfsShareRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) DeleteSSHKey
func (*UnimplementedBareMetalSolutionServer) DeleteSSHKey(context.Context, *DeleteSSHKeyRequest) (*emptypb.Empty, error)
func (*UnimplementedBareMetalSolutionServer) DeleteVolumeSnapshot
func (*UnimplementedBareMetalSolutionServer) DeleteVolumeSnapshot(context.Context, *DeleteVolumeSnapshotRequest) (*emptypb.Empty, error)
func (*UnimplementedBareMetalSolutionServer) DetachLun
func (*UnimplementedBareMetalSolutionServer) DetachLun(context.Context, *DetachLunRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) DisableInteractiveSerialConsole
func (*UnimplementedBareMetalSolutionServer) DisableInteractiveSerialConsole(context.Context, *DisableInteractiveSerialConsoleRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) EnableInteractiveSerialConsole
func (*UnimplementedBareMetalSolutionServer) EnableInteractiveSerialConsole(context.Context, *EnableInteractiveSerialConsoleRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) EvictLun
func (*UnimplementedBareMetalSolutionServer) EvictLun(context.Context, *EvictLunRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) EvictVolume
func (*UnimplementedBareMetalSolutionServer) EvictVolume(context.Context, *EvictVolumeRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) GetInstance
func (*UnimplementedBareMetalSolutionServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
func (*UnimplementedBareMetalSolutionServer) GetLun
func (*UnimplementedBareMetalSolutionServer) GetLun(context.Context, *GetLunRequest) (*Lun, error)
func (*UnimplementedBareMetalSolutionServer) GetNetwork
func (*UnimplementedBareMetalSolutionServer) GetNetwork(context.Context, *GetNetworkRequest) (*Network, error)
func (*UnimplementedBareMetalSolutionServer) GetNfsShare
func (*UnimplementedBareMetalSolutionServer) GetNfsShare(context.Context, *GetNfsShareRequest) (*NfsShare, error)
func (*UnimplementedBareMetalSolutionServer) GetProvisioningConfig
func (*UnimplementedBareMetalSolutionServer) GetProvisioningConfig(context.Context, *GetProvisioningConfigRequest) (*ProvisioningConfig, error)
func (*UnimplementedBareMetalSolutionServer) GetVolume
func (*UnimplementedBareMetalSolutionServer) GetVolume(context.Context, *GetVolumeRequest) (*Volume, error)
func (*UnimplementedBareMetalSolutionServer) GetVolumeSnapshot
func (*UnimplementedBareMetalSolutionServer) GetVolumeSnapshot(context.Context, *GetVolumeSnapshotRequest) (*VolumeSnapshot, error)
func (*UnimplementedBareMetalSolutionServer) ListInstances
func (*UnimplementedBareMetalSolutionServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
func (*UnimplementedBareMetalSolutionServer) ListLuns
func (*UnimplementedBareMetalSolutionServer) ListLuns(context.Context, *ListLunsRequest) (*ListLunsResponse, error)
func (*UnimplementedBareMetalSolutionServer) ListNetworkUsage
func (*UnimplementedBareMetalSolutionServer) ListNetworkUsage(context.Context, *ListNetworkUsageRequest) (*ListNetworkUsageResponse, error)
func (*UnimplementedBareMetalSolutionServer) ListNetworks
func (*UnimplementedBareMetalSolutionServer) ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)
func (*UnimplementedBareMetalSolutionServer) ListNfsShares
func (*UnimplementedBareMetalSolutionServer) ListNfsShares(context.Context, *ListNfsSharesRequest) (*ListNfsSharesResponse, error)
func (*UnimplementedBareMetalSolutionServer) ListOSImages
func (*UnimplementedBareMetalSolutionServer) ListOSImages(context.Context, *ListOSImagesRequest) (*ListOSImagesResponse, error)
func (*UnimplementedBareMetalSolutionServer) ListProvisioningQuotas
func (*UnimplementedBareMetalSolutionServer) ListProvisioningQuotas(context.Context, *ListProvisioningQuotasRequest) (*ListProvisioningQuotasResponse, error)
func (*UnimplementedBareMetalSolutionServer) ListSSHKeys
func (*UnimplementedBareMetalSolutionServer) ListSSHKeys(context.Context, *ListSSHKeysRequest) (*ListSSHKeysResponse, error)
func (*UnimplementedBareMetalSolutionServer) ListVolumeSnapshots
func (*UnimplementedBareMetalSolutionServer) ListVolumeSnapshots(context.Context, *ListVolumeSnapshotsRequest) (*ListVolumeSnapshotsResponse, error)
func (*UnimplementedBareMetalSolutionServer) ListVolumes
func (*UnimplementedBareMetalSolutionServer) ListVolumes(context.Context, *ListVolumesRequest) (*ListVolumesResponse, error)
func (*UnimplementedBareMetalSolutionServer) RenameInstance
func (*UnimplementedBareMetalSolutionServer) RenameInstance(context.Context, *RenameInstanceRequest) (*Instance, error)
func (*UnimplementedBareMetalSolutionServer) RenameNetwork
func (*UnimplementedBareMetalSolutionServer) RenameNetwork(context.Context, *RenameNetworkRequest) (*Network, error)
func (*UnimplementedBareMetalSolutionServer) RenameNfsShare
func (*UnimplementedBareMetalSolutionServer) RenameNfsShare(context.Context, *RenameNfsShareRequest) (*NfsShare, error)
func (*UnimplementedBareMetalSolutionServer) RenameVolume
func (*UnimplementedBareMetalSolutionServer) RenameVolume(context.Context, *RenameVolumeRequest) (*Volume, error)
func (*UnimplementedBareMetalSolutionServer) ResetInstance
func (*UnimplementedBareMetalSolutionServer) ResetInstance(context.Context, *ResetInstanceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) ResizeVolume
func (*UnimplementedBareMetalSolutionServer) ResizeVolume(context.Context, *ResizeVolumeRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) RestoreVolumeSnapshot
func (*UnimplementedBareMetalSolutionServer) RestoreVolumeSnapshot(context.Context, *RestoreVolumeSnapshotRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) StartInstance
func (*UnimplementedBareMetalSolutionServer) StartInstance(context.Context, *StartInstanceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) StopInstance
func (*UnimplementedBareMetalSolutionServer) StopInstance(context.Context, *StopInstanceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) SubmitProvisioningConfig
func (*UnimplementedBareMetalSolutionServer) SubmitProvisioningConfig(context.Context, *SubmitProvisioningConfigRequest) (*SubmitProvisioningConfigResponse, error)
func (*UnimplementedBareMetalSolutionServer) UpdateInstance
func (*UnimplementedBareMetalSolutionServer) UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) UpdateNetwork
func (*UnimplementedBareMetalSolutionServer) UpdateNetwork(context.Context, *UpdateNetworkRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) UpdateNfsShare
func (*UnimplementedBareMetalSolutionServer) UpdateNfsShare(context.Context, *UpdateNfsShareRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBareMetalSolutionServer) UpdateProvisioningConfig
func (*UnimplementedBareMetalSolutionServer) UpdateProvisioningConfig(context.Context, *UpdateProvisioningConfigRequest) (*ProvisioningConfig, error)
func (*UnimplementedBareMetalSolutionServer) UpdateVolume
func (*UnimplementedBareMetalSolutionServer) UpdateVolume(context.Context, *UpdateVolumeRequest) (*longrunningpb.Operation, error)
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
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
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`, `vrf.vlan_attachments`
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
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
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`
// `allowed_clients`
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 an NFS share.
func (*UpdateNfsShareRequest) Descriptor
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
UpdateProvisioningConfigRequest
type UpdateProvisioningConfigRequest struct {
// Required. The ProvisioningConfig to update.
ProvisioningConfig *ProvisioningConfig `protobuf:"bytes,1,opt,name=provisioning_config,json=provisioningConfig,proto3" json:"provisioning_config,omitempty"`
// Required. The list of fields to update.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. Email provided to send a confirmation with provisioning config
// to.
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
// contains filtered or unexported fields
}
Message for updating a ProvisioningConfig.
func (*UpdateProvisioningConfigRequest) Descriptor
func (*UpdateProvisioningConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProvisioningConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateProvisioningConfigRequest) GetEmail
func (x *UpdateProvisioningConfigRequest) GetEmail() string
func (*UpdateProvisioningConfigRequest) GetProvisioningConfig
func (x *UpdateProvisioningConfigRequest) GetProvisioningConfig() *ProvisioningConfig
func (*UpdateProvisioningConfigRequest) GetUpdateMask
func (x *UpdateProvisioningConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateProvisioningConfigRequest) ProtoMessage
func (*UpdateProvisioningConfigRequest) ProtoMessage()
func (*UpdateProvisioningConfigRequest) ProtoReflect
func (x *UpdateProvisioningConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateProvisioningConfigRequest) Reset
func (x *UpdateProvisioningConfigRequest) Reset()
func (*UpdateProvisioningConfigRequest) String
func (x *UpdateProvisioningConfigRequest) String() string
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:
//
// 'labels'
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
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
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.
// The value is only meaningful when all the vlan attachments have the same
// QoS. This field should not be used for new integrations, use vlan
// attachment level qos instead. The field is left for backward-compatibility.
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: Use VRF.ProtoReflect.Descriptor instead.
func (*VRF) GetName
func (*VRF) GetQosPolicy
func (x *VRF) GetQosPolicy() *VRF_QosPolicy
func (*VRF) GetState
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
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
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
VRF_State
type VRF_State int32
The possible states for this VRF.
VRF_STATE_UNSPECIFIED, VRF_PROVISIONING, VRF_PROVISIONED
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 (VRF_State) EnumDescriptor
Deprecated: Use VRF_State.Descriptor instead.
func (VRF_State) Number
func (x VRF_State) Number() protoreflect.EnumNumber
func (VRF_State) String
func (VRF_State) Type
func (VRF_State) Type() protoreflect.EnumType
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"`
// Input only. Pairing key.
PairingKey string `protobuf:"bytes,4,opt,name=pairing_key,json=pairingKey,proto3" json:"pairing_key,omitempty"`
// The QOS policy applied to this VLAN attachment.
// This value should be preferred to using qos at vrf level.
QosPolicy *VRF_QosPolicy `protobuf:"bytes,5,opt,name=qos_policy,json=qosPolicy,proto3" json:"qos_policy,omitempty"`
// Immutable. The identifier of the attachment within vrf.
Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
// Optional. The name of the vlan attachment within vrf. This is of the form
// projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}
InterconnectAttachment string `protobuf:"bytes,7,opt,name=interconnect_attachment,json=interconnectAttachment,proto3" json:"interconnect_attachment,omitempty"`
// contains filtered or unexported fields
}
VLAN attachment details.
func (*VRF_VlanAttachment) Descriptor
func (*VRF_VlanAttachment) Descriptor() ([]byte, []int)
Deprecated: Use VRF_VlanAttachment.ProtoReflect.Descriptor instead.
func (*VRF_VlanAttachment) GetId
func (x *VRF_VlanAttachment) GetId() string
func (*VRF_VlanAttachment) GetInterconnectAttachment
func (x *VRF_VlanAttachment) GetInterconnectAttachment() string
func (*VRF_VlanAttachment) GetPairingKey
func (x *VRF_VlanAttachment) GetPairingKey() string
func (*VRF_VlanAttachment) GetPeerIp
func (x *VRF_VlanAttachment) GetPeerIp() string
func (*VRF_VlanAttachment) GetPeerVlanId
func (x *VRF_VlanAttachment) GetPeerVlanId() int64
func (*VRF_VlanAttachment) GetQosPolicy
func (x *VRF_VlanAttachment) GetQosPolicy() *VRF_QosPolicy
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
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 `protobuf:"varint,2,opt,name=storage_type,json=storageType,proto3,enum=google.cloud.baremetalsolution.v2.Volume_StorageType" json:"storage_type,omitempty"`
// 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"`
// Originally requested size, in GiB.
OriginallyRequestedSizeGib int64 `protobuf:"varint,16,opt,name=originally_requested_size_gib,json=originallyRequestedSizeGib,proto3" json:"originally_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"`
// Maximum size volume can be expanded to in case of evergency, in GiB.
MaxSizeGib int64 `protobuf:"varint,17,opt,name=max_size_gib,json=maxSizeGib,proto3" json:"max_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 `protobuf:"bytes,8,opt,name=snapshot_reservation_detail,json=snapshotReservationDetail,proto3" json:"snapshot_reservation_detail,omitempty"`
// The behavior to use when snapshot reserved space is full.
SnapshotAutoDeleteBehavior Volume_SnapshotAutoDeleteBehavior `protobuf:"varint,9,opt,name=snapshot_auto_delete_behavior,json=snapshotAutoDeleteBehavior,proto3,enum=google.cloud.baremetalsolution.v2.Volume_SnapshotAutoDeleteBehavior" json:"snapshot_auto_delete_behavior,omitempty"`
// Labels as key value pairs.
Labels map[string]string `protobuf:"bytes,12,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// 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"`
// Output only. Storage protocol for the Volume.
Protocol Volume_Protocol `protobuf:"varint,18,opt,name=protocol,proto3,enum=google.cloud.baremetalsolution.v2.Volume_Protocol" json:"protocol,omitempty"`
// Output only. Whether this volume is a boot volume. A boot volume is one
// which contains a boot LUN.
BootVolume bool `protobuf:"varint,19,opt,name=boot_volume,json=bootVolume,proto3" json:"boot_volume,omitempty"`
// Immutable. Performance tier of the Volume.
// Default is SHARED.
PerformanceTier VolumePerformanceTier `protobuf:"varint,20,opt,name=performance_tier,json=performanceTier,proto3,enum=google.cloud.baremetalsolution.v2.VolumePerformanceTier" json:"performance_tier,omitempty"`
// Input only. User-specified notes for new Volume.
// Used to provision Volumes that require manual intervention.
Notes string `protobuf:"bytes,21,opt,name=notes,proto3" json:"notes,omitempty"`
// The workload profile for the volume.
WorkloadProfile Volume_WorkloadProfile `protobuf:"varint,22,opt,name=workload_profile,json=workloadProfile,proto3,enum=google.cloud.baremetalsolution.v2.Volume_WorkloadProfile" json:"workload_profile,omitempty"`
// Output only. Time after which volume will be fully deleted.
// It is filled only for volumes in COOLOFF state.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// Output only. Instances this Volume is attached to.
// This field is set only in Get requests.
Instances []string `protobuf:"bytes,25,rep,name=instances,proto3" json:"instances,omitempty"`
// Output only. Is the Volume attached at at least one instance.
// This field is a lightweight counterpart of `instances` field.
// It is filled in List responses as well.
Attached bool `protobuf:"varint,26,opt,name=attached,proto3" json:"attached,omitempty"`
// contains filtered or unexported fields
}
A storage volume.
func (*Volume) Descriptor
Deprecated: Use Volume.ProtoReflect.Descriptor instead.
func (*Volume) GetAttached
func (*Volume) GetAutoGrownSizeGib
func (*Volume) GetBootVolume
func (*Volume) GetCurrentSizeGib
func (*Volume) GetEmergencySizeGib
func (*Volume) GetExpireTime
func (x *Volume) GetExpireTime() *timestamppb.Timestamp
func (*Volume) GetId
func (*Volume) GetInstances
func (*Volume) GetLabels
func (*Volume) GetMaxSizeGib
func (*Volume) GetName
func (*Volume) GetNotes
func (*Volume) GetOriginallyRequestedSizeGib
func (*Volume) GetPerformanceTier
func (x *Volume) GetPerformanceTier() VolumePerformanceTier
func (*Volume) GetPod
func (*Volume) GetProtocol
func (x *Volume) GetProtocol() Volume_Protocol
func (*Volume) GetRemainingSpaceGib
func (*Volume) GetRequestedSizeGib
func (*Volume) GetSnapshotAutoDeleteBehavior
func (x *Volume) GetSnapshotAutoDeleteBehavior() Volume_SnapshotAutoDeleteBehavior
func (*Volume) GetSnapshotEnabled
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) GetWorkloadProfile
func (x *Volume) GetWorkloadProfile() Volume_WorkloadProfile
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
VolumeConfig
type VolumeConfig struct {
// Output only. The name of the volume config.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A transient unique identifier to identify a volume within an
// ProvisioningConfig request.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// Whether snapshots should be enabled.
SnapshotsEnabled bool `protobuf:"varint,3,opt,name=snapshots_enabled,json=snapshotsEnabled,proto3" json:"snapshots_enabled,omitempty"`
// The type of this Volume.
Type VolumeConfig_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.baremetalsolution.v2.VolumeConfig_Type" json:"type,omitempty"`
// Volume protocol.
Protocol VolumeConfig_Protocol `protobuf:"varint,5,opt,name=protocol,proto3,enum=google.cloud.baremetalsolution.v2.VolumeConfig_Protocol" json:"protocol,omitempty"`
// The requested size of this volume, in GB.
SizeGb int32 `protobuf:"varint,6,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
LunRanges []*VolumeConfig_LunRange `protobuf:"bytes,7,rep,name=lun_ranges,json=lunRanges,proto3" json:"lun_ranges,omitempty"`
// Machine ids connected to this volume. Set only when protocol is
// PROTOCOL_FC.
MachineIds []string `protobuf:"bytes,8,rep,name=machine_ids,json=machineIds,proto3" json:"machine_ids,omitempty"`
// NFS exports. Set only when protocol is PROTOCOL_NFS.
NfsExports []*VolumeConfig_NfsExport `protobuf:"bytes,9,rep,name=nfs_exports,json=nfsExports,proto3" json:"nfs_exports,omitempty"`
// User note field, it can be used by customers to add additional information
// for the BMS Ops team .
UserNote string `protobuf:"bytes,10,opt,name=user_note,json=userNote,proto3" json:"user_note,omitempty"`
// The GCP service of the storage volume. Available gcp_service are in
// https://cloud.google.com/bare-metal/docs/bms-planning.
GcpService string `protobuf:"bytes,11,opt,name=gcp_service,json=gcpService,proto3" json:"gcp_service,omitempty"`
// Performance tier of the Volume.
// Default is SHARED.
PerformanceTier VolumePerformanceTier `protobuf:"varint,12,opt,name=performance_tier,json=performanceTier,proto3,enum=google.cloud.baremetalsolution.v2.VolumePerformanceTier" json:"performance_tier,omitempty"`
// contains filtered or unexported fields
}
Configuration parameters for a new volume.
func (*VolumeConfig) Descriptor
func (*VolumeConfig) Descriptor() ([]byte, []int)
Deprecated: Use VolumeConfig.ProtoReflect.Descriptor instead.
func (*VolumeConfig) GetGcpService
func (x *VolumeConfig) GetGcpService() string
func (*VolumeConfig) GetId
func (x *VolumeConfig) GetId() string
func (*VolumeConfig) GetLunRanges
func (x *VolumeConfig) GetLunRanges() []*VolumeConfig_LunRange
func (*VolumeConfig) GetMachineIds
func (x *VolumeConfig) GetMachineIds() []string
func (*VolumeConfig) GetName
func (x *VolumeConfig) GetName() string
func (*VolumeConfig) GetNfsExports
func (x *VolumeConfig) GetNfsExports() []*VolumeConfig_NfsExport
func (*VolumeConfig) GetPerformanceTier
func (x *VolumeConfig) GetPerformanceTier() VolumePerformanceTier
func (*VolumeConfig) GetProtocol
func (x *VolumeConfig) GetProtocol() VolumeConfig_Protocol
func (*VolumeConfig) GetSizeGb
func (x *VolumeConfig) GetSizeGb() int32
func (*VolumeConfig) GetSnapshotsEnabled
func (x *VolumeConfig) GetSnapshotsEnabled() bool
func (*VolumeConfig) GetType
func (x *VolumeConfig) GetType() VolumeConfig_Type
func (*VolumeConfig) GetUserNote
func (x *VolumeConfig) GetUserNote() string
func (*VolumeConfig) ProtoMessage
func (*VolumeConfig) ProtoMessage()
func (*VolumeConfig) ProtoReflect
func (x *VolumeConfig) ProtoReflect() protoreflect.Message
func (*VolumeConfig) Reset
func (x *VolumeConfig) Reset()
func (*VolumeConfig) String
func (x *VolumeConfig) String() string
VolumeConfig_LunRange
type VolumeConfig_LunRange struct {
// Number of LUNs to create.
Quantity int32 `protobuf:"varint,1,opt,name=quantity,proto3" json:"quantity,omitempty"`
// The requested size of each LUN, in GB.
SizeGb int32 `protobuf:"varint,2,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// contains filtered or unexported fields
}
A LUN(Logical Unit Number) range.
func (*VolumeConfig_LunRange) Descriptor
func (*VolumeConfig_LunRange) Descriptor() ([]byte, []int)
Deprecated: Use VolumeConfig_LunRange.ProtoReflect.Descriptor instead.
func (*VolumeConfig_LunRange) GetQuantity
func (x *VolumeConfig_LunRange) GetQuantity() int32
func (*VolumeConfig_LunRange) GetSizeGb
func (x *VolumeConfig_LunRange) GetSizeGb() int32
func (*VolumeConfig_LunRange) ProtoMessage
func (*VolumeConfig_LunRange) ProtoMessage()
func (*VolumeConfig_LunRange) ProtoReflect
func (x *VolumeConfig_LunRange) ProtoReflect() protoreflect.Message
func (*VolumeConfig_LunRange) Reset
func (x *VolumeConfig_LunRange) Reset()
func (*VolumeConfig_LunRange) String
func (x *VolumeConfig_LunRange) String() string
VolumeConfig_NfsExport
type VolumeConfig_NfsExport struct {
// Network to use to publish the export.
NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
// A client object.
//
// Types that are assignable to Client:
//
// *VolumeConfig_NfsExport_MachineId
// *VolumeConfig_NfsExport_Cidr
Client isVolumeConfig_NfsExport_Client `protobuf_oneof:"client"`
// Export permissions.
Permissions VolumeConfig_NfsExport_Permissions `protobuf:"varint,4,opt,name=permissions,proto3,enum=google.cloud.baremetalsolution.v2.VolumeConfig_NfsExport_Permissions" json:"permissions,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,5,opt,name=no_root_squash,json=noRootSquash,proto3" json:"no_root_squash,omitempty"`
// Allow the setuid flag.
AllowSuid bool `protobuf:"varint,6,opt,name=allow_suid,json=allowSuid,proto3" json:"allow_suid,omitempty"`
// Allow dev flag in NfsShare AllowedClientsRequest.
AllowDev bool `protobuf:"varint,7,opt,name=allow_dev,json=allowDev,proto3" json:"allow_dev,omitempty"`
// contains filtered or unexported fields
}
A NFS export entry.
func (*VolumeConfig_NfsExport) Descriptor
func (*VolumeConfig_NfsExport) Descriptor() ([]byte, []int)
Deprecated: Use VolumeConfig_NfsExport.ProtoReflect.Descriptor instead.
func (*VolumeConfig_NfsExport) GetAllowDev
func (x *VolumeConfig_NfsExport) GetAllowDev() bool
func (*VolumeConfig_NfsExport) GetAllowSuid
func (x *VolumeConfig_NfsExport) GetAllowSuid() bool
func (*VolumeConfig_NfsExport) GetCidr
func (x *VolumeConfig_NfsExport) GetCidr() string
func (*VolumeConfig_NfsExport) GetClient
func (m *VolumeConfig_NfsExport) GetClient() isVolumeConfig_NfsExport_Client
func (*VolumeConfig_NfsExport) GetMachineId
func (x *VolumeConfig_NfsExport) GetMachineId() string
func (*VolumeConfig_NfsExport) GetNetworkId
func (x *VolumeConfig_NfsExport) GetNetworkId() string
func (*VolumeConfig_NfsExport) GetNoRootSquash
func (x *VolumeConfig_NfsExport) GetNoRootSquash() bool
func (*VolumeConfig_NfsExport) GetPermissions
func (x *VolumeConfig_NfsExport) GetPermissions() VolumeConfig_NfsExport_Permissions
func (*VolumeConfig_NfsExport) ProtoMessage
func (*VolumeConfig_NfsExport) ProtoMessage()
func (*VolumeConfig_NfsExport) ProtoReflect
func (x *VolumeConfig_NfsExport) ProtoReflect() protoreflect.Message
func (*VolumeConfig_NfsExport) Reset
func (x *VolumeConfig_NfsExport) Reset()
func (*VolumeConfig_NfsExport) String
func (x *VolumeConfig_NfsExport) String() string
VolumeConfig_NfsExport_Cidr
type VolumeConfig_NfsExport_Cidr struct {
// A CIDR range.
Cidr string `protobuf:"bytes,3,opt,name=cidr,proto3,oneof"`
}
VolumeConfig_NfsExport_MachineId
type VolumeConfig_NfsExport_MachineId struct {
// Either a single machine, identified by an ID, or a comma-separated
// list of machine IDs.
MachineId string `protobuf:"bytes,2,opt,name=machine_id,json=machineId,proto3,oneof"`
}
VolumeConfig_NfsExport_Permissions
type VolumeConfig_NfsExport_Permissions int32
Permissions that can granted for an export.
VolumeConfig_NfsExport_PERMISSIONS_UNSPECIFIED, VolumeConfig_NfsExport_READ_ONLY, VolumeConfig_NfsExport_READ_WRITE
const (
// Unspecified value.
VolumeConfig_NfsExport_PERMISSIONS_UNSPECIFIED VolumeConfig_NfsExport_Permissions = 0
// Read-only permission.
VolumeConfig_NfsExport_READ_ONLY VolumeConfig_NfsExport_Permissions = 1
// Read-write permission.
VolumeConfig_NfsExport_READ_WRITE VolumeConfig_NfsExport_Permissions = 2
)
func (VolumeConfig_NfsExport_Permissions) Descriptor
func (VolumeConfig_NfsExport_Permissions) Descriptor() protoreflect.EnumDescriptor
func (VolumeConfig_NfsExport_Permissions) Enum
func (x VolumeConfig_NfsExport_Permissions) Enum() *VolumeConfig_NfsExport_Permissions
func (VolumeConfig_NfsExport_Permissions) EnumDescriptor
func (VolumeConfig_NfsExport_Permissions) EnumDescriptor() ([]byte, []int)
Deprecated: Use VolumeConfig_NfsExport_Permissions.Descriptor instead.
func (VolumeConfig_NfsExport_Permissions) Number
func (x VolumeConfig_NfsExport_Permissions) Number() protoreflect.EnumNumber
func (VolumeConfig_NfsExport_Permissions) String
func (x VolumeConfig_NfsExport_Permissions) String() string
func (VolumeConfig_NfsExport_Permissions) Type
func (VolumeConfig_NfsExport_Permissions) Type() protoreflect.EnumType
VolumeConfig_Protocol
type VolumeConfig_Protocol int32
The protocol used to access the volume.
VolumeConfig_PROTOCOL_UNSPECIFIED, VolumeConfig_PROTOCOL_FC, VolumeConfig_PROTOCOL_NFS
const (
// Unspecified value.
VolumeConfig_PROTOCOL_UNSPECIFIED VolumeConfig_Protocol = 0
// Fibre channel.
VolumeConfig_PROTOCOL_FC VolumeConfig_Protocol = 1
// Network file system.
VolumeConfig_PROTOCOL_NFS VolumeConfig_Protocol = 2
)
func (VolumeConfig_Protocol) Descriptor
func (VolumeConfig_Protocol) Descriptor() protoreflect.EnumDescriptor
func (VolumeConfig_Protocol) Enum
func (x VolumeConfig_Protocol) Enum() *VolumeConfig_Protocol
func (VolumeConfig_Protocol) EnumDescriptor
func (VolumeConfig_Protocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use VolumeConfig_Protocol.Descriptor instead.
func (VolumeConfig_Protocol) Number
func (x VolumeConfig_Protocol) Number() protoreflect.EnumNumber
func (VolumeConfig_Protocol) String
func (x VolumeConfig_Protocol) String() string
func (VolumeConfig_Protocol) Type
func (VolumeConfig_Protocol) Type() protoreflect.EnumType
VolumeConfig_Type
type VolumeConfig_Type int32
The types of Volumes.
VolumeConfig_TYPE_UNSPECIFIED, VolumeConfig_FLASH, VolumeConfig_DISK
const (
// The unspecified type.
VolumeConfig_TYPE_UNSPECIFIED VolumeConfig_Type = 0
// This Volume is on flash.
VolumeConfig_FLASH VolumeConfig_Type = 1
// This Volume is on disk.
VolumeConfig_DISK VolumeConfig_Type = 2
)
func (VolumeConfig_Type) Descriptor
func (VolumeConfig_Type) Descriptor() protoreflect.EnumDescriptor
func (VolumeConfig_Type) Enum
func (x VolumeConfig_Type) Enum() *VolumeConfig_Type
func (VolumeConfig_Type) EnumDescriptor
func (VolumeConfig_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use VolumeConfig_Type.Descriptor instead.
func (VolumeConfig_Type) Number
func (x VolumeConfig_Type) Number() protoreflect.EnumNumber
func (VolumeConfig_Type) String
func (x VolumeConfig_Type) String() string
func (VolumeConfig_Type) Type
func (VolumeConfig_Type) Type() protoreflect.EnumType
VolumePerformanceTier
type VolumePerformanceTier int32
Performance tier of the Volume.
VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_UNSPECIFIED, VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_SHARED, VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_ASSIGNED, VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_HT
const (
// Value is not specified.
VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_UNSPECIFIED VolumePerformanceTier = 0
// Regular volumes, shared aggregates.
VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_SHARED VolumePerformanceTier = 1
// Assigned aggregates.
VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_ASSIGNED VolumePerformanceTier = 2
// High throughput aggregates.
VolumePerformanceTier_VOLUME_PERFORMANCE_TIER_HT VolumePerformanceTier = 3
)
func (VolumePerformanceTier) Descriptor
func (VolumePerformanceTier) Descriptor() protoreflect.EnumDescriptor
func (VolumePerformanceTier) Enum
func (x VolumePerformanceTier) Enum() *VolumePerformanceTier
func (VolumePerformanceTier) EnumDescriptor
func (VolumePerformanceTier) EnumDescriptor() ([]byte, []int)
Deprecated: Use VolumePerformanceTier.Descriptor instead.
func (VolumePerformanceTier) Number
func (x VolumePerformanceTier) Number() protoreflect.EnumNumber
func (VolumePerformanceTier) String
func (x VolumePerformanceTier) String() string
func (VolumePerformanceTier) Type
func (VolumePerformanceTier) Type() protoreflect.EnumType
VolumeSnapshot
type VolumeSnapshot struct {
// The name of the snapshot.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. An identifier for the snapshot, generated by the backend.
Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
// The description of the snapshot.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The creation time of the snapshot.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The name of the volume which this snapshot belongs to.
StorageVolume string `protobuf:"bytes,5,opt,name=storage_volume,json=storageVolume,proto3" json:"storage_volume,omitempty"`
// Output only. The type of the snapshot which indicates whether it was
// scheduled or manual/ad-hoc.
Type VolumeSnapshot_SnapshotType `protobuf:"varint,7,opt,name=type,proto3,enum=google.cloud.baremetalsolution.v2.VolumeSnapshot_SnapshotType" json:"type,omitempty"`
// contains filtered or unexported fields
}
A snapshot of a volume. Only boot volumes can have snapshots.
func (*VolumeSnapshot) Descriptor
func (*VolumeSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use VolumeSnapshot.ProtoReflect.Descriptor instead.
func (*VolumeSnapshot) GetCreateTime
func (x *VolumeSnapshot) GetCreateTime() *timestamppb.Timestamp
func (*VolumeSnapshot) GetDescription
func (x *VolumeSnapshot) GetDescription() string
func (*VolumeSnapshot) GetId
func (x *VolumeSnapshot) GetId() string
func (*VolumeSnapshot) GetName
func (x *VolumeSnapshot) GetName() string
func (*VolumeSnapshot) GetStorageVolume
func (x *VolumeSnapshot) GetStorageVolume() string
func (*VolumeSnapshot) GetType
func (x *VolumeSnapshot) GetType() VolumeSnapshot_SnapshotType
func (*VolumeSnapshot) ProtoMessage
func (*VolumeSnapshot) ProtoMessage()
func (*VolumeSnapshot) ProtoReflect
func (x *VolumeSnapshot) ProtoReflect() protoreflect.Message
func (*VolumeSnapshot) Reset
func (x *VolumeSnapshot) Reset()
func (*VolumeSnapshot) String
func (x *VolumeSnapshot) String() string
VolumeSnapshot_SnapshotType
type VolumeSnapshot_SnapshotType int32
Represents the type of a snapshot.
VolumeSnapshot_SNAPSHOT_TYPE_UNSPECIFIED, VolumeSnapshot_AD_HOC, VolumeSnapshot_SCHEDULED
const (
// Type is not specified.
VolumeSnapshot_SNAPSHOT_TYPE_UNSPECIFIED VolumeSnapshot_SnapshotType = 0
// Snapshot was taken manually by user.
VolumeSnapshot_AD_HOC VolumeSnapshot_SnapshotType = 1
// Snapshot was taken automatically as a part of a snapshot schedule.
VolumeSnapshot_SCHEDULED VolumeSnapshot_SnapshotType = 2
)
func (VolumeSnapshot_SnapshotType) Descriptor
func (VolumeSnapshot_SnapshotType) Descriptor() protoreflect.EnumDescriptor
func (VolumeSnapshot_SnapshotType) Enum
func (x VolumeSnapshot_SnapshotType) Enum() *VolumeSnapshot_SnapshotType
func (VolumeSnapshot_SnapshotType) EnumDescriptor
func (VolumeSnapshot_SnapshotType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VolumeSnapshot_SnapshotType.Descriptor instead.
func (VolumeSnapshot_SnapshotType) Number
func (x VolumeSnapshot_SnapshotType) Number() protoreflect.EnumNumber
func (VolumeSnapshot_SnapshotType) String
func (x VolumeSnapshot_SnapshotType) String() string
func (VolumeSnapshot_SnapshotType) Type
func (VolumeSnapshot_SnapshotType) Type() protoreflect.EnumType
Volume_Protocol
type Volume_Protocol int32
Storage protocol.
Volume_PROTOCOL_UNSPECIFIED, Volume_FIBRE_CHANNEL, Volume_NFS
const (
// Value is not specified.
Volume_PROTOCOL_UNSPECIFIED Volume_Protocol = 0
// Fibre Channel protocol.
Volume_FIBRE_CHANNEL Volume_Protocol = 1
// NFS protocol means Volume is a NFS Share volume.
// Such volumes cannot be manipulated via Volumes API.
Volume_NFS Volume_Protocol = 2
)
func (Volume_Protocol) Descriptor
func (Volume_Protocol) Descriptor() protoreflect.EnumDescriptor
func (Volume_Protocol) Enum
func (x Volume_Protocol) Enum() *Volume_Protocol
func (Volume_Protocol) EnumDescriptor
func (Volume_Protocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_Protocol.Descriptor instead.
func (Volume_Protocol) Number
func (x Volume_Protocol) Number() protoreflect.EnumNumber
func (Volume_Protocol) String
func (x Volume_Protocol) String() string
func (Volume_Protocol) Type
func (Volume_Protocol) Type() protoreflect.EnumType
Volume_SnapshotAutoDeleteBehavior
type Volume_SnapshotAutoDeleteBehavior int32
The kinds of auto delete behavior to use when snapshot reserved space is full.
Volume_SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED, Volume_DISABLED, Volume_OLDEST_FIRST, Volume_NEWEST_FIRST
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) Descriptor() protoreflect.EnumDescriptor
func (Volume_SnapshotAutoDeleteBehavior) Enum
func (x Volume_SnapshotAutoDeleteBehavior) Enum() *Volume_SnapshotAutoDeleteBehavior
func (Volume_SnapshotAutoDeleteBehavior) EnumDescriptor
func (Volume_SnapshotAutoDeleteBehavior) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_SnapshotAutoDeleteBehavior.Descriptor instead.
func (Volume_SnapshotAutoDeleteBehavior) Number
func (x Volume_SnapshotAutoDeleteBehavior) Number() protoreflect.EnumNumber
func (Volume_SnapshotAutoDeleteBehavior) String
func (x Volume_SnapshotAutoDeleteBehavior) String() string
func (Volume_SnapshotAutoDeleteBehavior) Type
func (Volume_SnapshotAutoDeleteBehavior) Type() protoreflect.EnumType
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 `protobuf:"varint,2,opt,name=reserved_space_used_percent,json=reservedSpaceUsedPercent,proto3" json:"reserved_space_used_percent,omitempty"`
// The amount, in GiB, of available space in this storage volume's reserved
// snapshot space.
ReservedSpaceRemainingGib int64 `protobuf:"varint,3,opt,name=reserved_space_remaining_gib,json=reservedSpaceRemainingGib,proto3" json:"reserved_space_remaining_gib,omitempty"`
// 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
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 (x *Volume_SnapshotReservationDetail) ProtoReflect() protoreflect.Message
func (*Volume_SnapshotReservationDetail) Reset
func (x *Volume_SnapshotReservationDetail) Reset()
func (*Volume_SnapshotReservationDetail) String
func (x *Volume_SnapshotReservationDetail) String() string
Volume_State
type Volume_State int32
The possible states for a storage volume.
Volume_STATE_UNSPECIFIED, Volume_CREATING, Volume_READY, Volume_DELETING, Volume_UPDATING, Volume_COOL_OFF
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
// The storage volume is being updated.
Volume_UPDATING Volume_State = 4
// The storage volume is in cool off state. It will be deleted after
// `expire_time`.
Volume_COOL_OFF Volume_State = 5
)
func (Volume_State) Descriptor
func (Volume_State) Descriptor() protoreflect.EnumDescriptor
func (Volume_State) Enum
func (x Volume_State) Enum() *Volume_State
func (Volume_State) EnumDescriptor
func (Volume_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_State.Descriptor instead.
func (Volume_State) Number
func (x Volume_State) Number() protoreflect.EnumNumber
func (Volume_State) String
func (x Volume_State) String() string
func (Volume_State) Type
func (Volume_State) Type() protoreflect.EnumType
Volume_StorageType
type Volume_StorageType int32
The storage type for a volume.
Volume_STORAGE_TYPE_UNSPECIFIED, Volume_SSD, Volume_HDD
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) Descriptor() protoreflect.EnumDescriptor
func (Volume_StorageType) Enum
func (x Volume_StorageType) Enum() *Volume_StorageType
func (Volume_StorageType) EnumDescriptor
func (Volume_StorageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_StorageType.Descriptor instead.
func (Volume_StorageType) Number
func (x Volume_StorageType) Number() protoreflect.EnumNumber
func (Volume_StorageType) String
func (x Volume_StorageType) String() string
func (Volume_StorageType) Type
func (Volume_StorageType) Type() protoreflect.EnumType
Volume_WorkloadProfile
type Volume_WorkloadProfile int32
The possible values for a workload profile.
Volume_WORKLOAD_PROFILE_UNSPECIFIED, Volume_GENERIC, Volume_HANA
const (
// The workload profile is in an unknown state.
Volume_WORKLOAD_PROFILE_UNSPECIFIED Volume_WorkloadProfile = 0
// The workload profile is generic.
Volume_GENERIC Volume_WorkloadProfile = 1
// The workload profile is hana.
Volume_HANA Volume_WorkloadProfile = 2
)
func (Volume_WorkloadProfile) Descriptor
func (Volume_WorkloadProfile) Descriptor() protoreflect.EnumDescriptor
func (Volume_WorkloadProfile) Enum
func (x Volume_WorkloadProfile) Enum() *Volume_WorkloadProfile
func (Volume_WorkloadProfile) EnumDescriptor
func (Volume_WorkloadProfile) EnumDescriptor() ([]byte, []int)
Deprecated: Use Volume_WorkloadProfile.Descriptor instead.
func (Volume_WorkloadProfile) Number
func (x Volume_WorkloadProfile) Number() protoreflect.EnumNumber
func (Volume_WorkloadProfile) String
func (x Volume_WorkloadProfile) String() string
func (Volume_WorkloadProfile) Type
func (Volume_WorkloadProfile) Type() protoreflect.EnumType
WorkloadProfile
type WorkloadProfile int32
The possible values for a workload profile.
WorkloadProfile_WORKLOAD_PROFILE_UNSPECIFIED, WorkloadProfile_WORKLOAD_PROFILE_GENERIC, WorkloadProfile_WORKLOAD_PROFILE_HANA
const (
// The workload profile is in an unknown state.
WorkloadProfile_WORKLOAD_PROFILE_UNSPECIFIED WorkloadProfile = 0
// The workload profile is generic.
WorkloadProfile_WORKLOAD_PROFILE_GENERIC WorkloadProfile = 1
// The workload profile is hana.
WorkloadProfile_WORKLOAD_PROFILE_HANA WorkloadProfile = 2
)
func (WorkloadProfile) Descriptor
func (WorkloadProfile) Descriptor() protoreflect.EnumDescriptor
func (WorkloadProfile) Enum
func (x WorkloadProfile) Enum() *WorkloadProfile
func (WorkloadProfile) EnumDescriptor
func (WorkloadProfile) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkloadProfile.Descriptor instead.
func (WorkloadProfile) Number
func (x WorkloadProfile) Number() protoreflect.EnumNumber
func (WorkloadProfile) String
func (x WorkloadProfile) String() string
func (WorkloadProfile) Type
func (WorkloadProfile) Type() protoreflect.EnumType