systemvmv1

package
v0.0.0-...-94cd6a6 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SystemvmService_DestroySystemVm_FullMethodName = "/cloudstack.management.systemvm.v1.SystemvmService/DestroySystemVm"
	SystemvmService_ListSystemVMs_FullMethodName   = "/cloudstack.management.systemvm.v1.SystemvmService/ListSystemVMs"
	SystemvmService_MigrateSystemVM_FullMethodName = "/cloudstack.management.systemvm.v1.SystemvmService/MigrateSystemVM"
	SystemvmService_PatchSystemVM_FullMethodName   = "/cloudstack.management.systemvm.v1.SystemvmService/PatchSystemVM"
	SystemvmService_RebootSystemVm_FullMethodName  = "/cloudstack.management.systemvm.v1.SystemvmService/RebootSystemVm"
	SystemvmService_ScaleSystemVM_FullMethodName   = "/cloudstack.management.systemvm.v1.SystemvmService/ScaleSystemVM"
	SystemvmService_StartSystemVM_FullMethodName   = "/cloudstack.management.systemvm.v1.SystemvmService/StartSystemVM"
	SystemvmService_StopSystemVm_FullMethodName    = "/cloudstack.management.systemvm.v1.SystemvmService/StopSystemVm"
	SystemvmService_UpgradeSystemVM_FullMethodName = "/cloudstack.management.systemvm.v1.SystemvmService/UpgradeSystemVM"
)

Variables

View Source
var File_cloudstack_management_systemvm_v1_systemvm_gen_proto protoreflect.FileDescriptor
View Source
var SystemvmService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cloudstack.management.systemvm.v1.SystemvmService",
	HandlerType: (*SystemvmServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DestroySystemVm",
			Handler:    _SystemvmService_DestroySystemVm_Handler,
		},
		{
			MethodName: "ListSystemVMs",
			Handler:    _SystemvmService_ListSystemVMs_Handler,
		},
		{
			MethodName: "MigrateSystemVM",
			Handler:    _SystemvmService_MigrateSystemVM_Handler,
		},
		{
			MethodName: "PatchSystemVM",
			Handler:    _SystemvmService_PatchSystemVM_Handler,
		},
		{
			MethodName: "RebootSystemVm",
			Handler:    _SystemvmService_RebootSystemVm_Handler,
		},
		{
			MethodName: "ScaleSystemVM",
			Handler:    _SystemvmService_ScaleSystemVM_Handler,
		},
		{
			MethodName: "StartSystemVM",
			Handler:    _SystemvmService_StartSystemVM_Handler,
		},
		{
			MethodName: "StopSystemVm",
			Handler:    _SystemvmService_StopSystemVm_Handler,
		},
		{
			MethodName: "UpgradeSystemVM",
			Handler:    _SystemvmService_UpgradeSystemVM_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cloudstack/management/systemvm/v1/systemvm.gen.proto",
}

SystemvmService_ServiceDesc is the grpc.ServiceDesc for SystemvmService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSystemvmServiceServer

func RegisterSystemvmServiceServer(s grpc.ServiceRegistrar, srv SystemvmServiceServer)

Types

type DestroySystemVmRequest

type DestroySystemVmRequest struct {

	// The ID of the system virtual machine
	Id            *int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DestroySystemVmRequest represents the parameters for destroys a system virtual machine.

func (*DestroySystemVmRequest) Descriptor deprecated

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

Deprecated: Use DestroySystemVmRequest.ProtoReflect.Descriptor instead.

func (*DestroySystemVmRequest) GetId

func (x *DestroySystemVmRequest) GetId() int64

func (*DestroySystemVmRequest) GetInjectedJobId

func (x *DestroySystemVmRequest) GetInjectedJobId() string

func (*DestroySystemVmRequest) GetResponseType

func (x *DestroySystemVmRequest) GetResponseType() string

func (*DestroySystemVmRequest) GetStartEventId

func (x *DestroySystemVmRequest) GetStartEventId() int64

func (*DestroySystemVmRequest) ProtoMessage

func (*DestroySystemVmRequest) ProtoMessage()

func (*DestroySystemVmRequest) ProtoReflect

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

func (*DestroySystemVmRequest) Reset

func (x *DestroySystemVmRequest) Reset()

func (*DestroySystemVmRequest) String

func (x *DestroySystemVmRequest) String() string

type DestroySystemVmResponse

type DestroySystemVmResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

DestroySystemVmResponse represents the response from destroys a system virtual machine.

func (*DestroySystemVmResponse) Descriptor deprecated

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

Deprecated: Use DestroySystemVmResponse.ProtoReflect.Descriptor instead.

func (*DestroySystemVmResponse) GetResult

func (x *DestroySystemVmResponse) GetResult() *Result

func (*DestroySystemVmResponse) ProtoMessage

func (*DestroySystemVmResponse) ProtoMessage()

func (*DestroySystemVmResponse) ProtoReflect

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

func (*DestroySystemVmResponse) Reset

func (x *DestroySystemVmResponse) Reset()

func (*DestroySystemVmResponse) String

func (x *DestroySystemVmResponse) String() string

type ListSystemVMsRequest

type ListSystemVMsRequest struct {

	// the host ID of the system VM
	HostId *int64 `protobuf:"varint,1,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	// the ID of the system VM
	Id *int64 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
	// the name of the system VM
	SystemVmName *string `protobuf:"bytes,3,opt,name=system_vm_name,json=systemVmName" json:"system_vm_name,omitempty"`
	// the Pod ID of the system VM
	PodId *int64 `protobuf:"varint,4,opt,name=pod_id,json=podId" json:"pod_id,omitempty"`
	// the state of the system VM
	State *string `protobuf:"bytes,5,opt,name=state" json:"state,omitempty"`
	// the system VM type. Possible types are "consoleproxy" and "secondarystoragevm".
	SystemVmType *string `protobuf:"bytes,6,opt,name=system_vm_type,json=systemVmType" json:"system_vm_type,omitempty"`
	// the Zone ID of the system VM
	ZoneId *int64 `protobuf:"varint,7,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// the storage ID where vm's volumes belong to
	StorageId *int64 `protobuf:"varint,8,opt,name=storage_id,json=storageId" json:"storage_id,omitempty"`
	// List by keyword
	Keyword      *string `protobuf:"bytes,9,opt,name=keyword" json:"keyword,omitempty"`
	Page         *int32  `protobuf:"varint,10,opt,name=page" json:"page,omitempty"`
	PageSize     *int32  `protobuf:"varint,11,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
	ResponseType *string `protobuf:"bytes,12,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListSystemVMsRequest represents the parameters for list system virtual machines.

func (*ListSystemVMsRequest) Descriptor deprecated

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

Deprecated: Use ListSystemVMsRequest.ProtoReflect.Descriptor instead.

func (*ListSystemVMsRequest) GetHostId

func (x *ListSystemVMsRequest) GetHostId() int64

func (*ListSystemVMsRequest) GetId

func (x *ListSystemVMsRequest) GetId() int64

func (*ListSystemVMsRequest) GetKeyword

func (x *ListSystemVMsRequest) GetKeyword() string

func (*ListSystemVMsRequest) GetPage

func (x *ListSystemVMsRequest) GetPage() int32

func (*ListSystemVMsRequest) GetPageSize

func (x *ListSystemVMsRequest) GetPageSize() int32

func (*ListSystemVMsRequest) GetPodId

func (x *ListSystemVMsRequest) GetPodId() int64

func (*ListSystemVMsRequest) GetResponseType

func (x *ListSystemVMsRequest) GetResponseType() string

func (*ListSystemVMsRequest) GetState

func (x *ListSystemVMsRequest) GetState() string

func (*ListSystemVMsRequest) GetStorageId

func (x *ListSystemVMsRequest) GetStorageId() int64

func (*ListSystemVMsRequest) GetSystemVmName

func (x *ListSystemVMsRequest) GetSystemVmName() string

func (*ListSystemVMsRequest) GetSystemVmType

func (x *ListSystemVMsRequest) GetSystemVmType() string

func (*ListSystemVMsRequest) GetZoneId

func (x *ListSystemVMsRequest) GetZoneId() int64

func (*ListSystemVMsRequest) ProtoMessage

func (*ListSystemVMsRequest) ProtoMessage()

func (*ListSystemVMsRequest) ProtoReflect

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

func (*ListSystemVMsRequest) Reset

func (x *ListSystemVMsRequest) Reset()

func (*ListSystemVMsRequest) String

func (x *ListSystemVMsRequest) String() string

type ListSystemVMsResponse

type ListSystemVMsResponse struct {

	// The list of SystemVms
	Items []*SystemVm `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	// The total count of SystemVms
	TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

ListSystemVMsResponse represents the response from list system virtual machines.

func (*ListSystemVMsResponse) Descriptor deprecated

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

Deprecated: Use ListSystemVMsResponse.ProtoReflect.Descriptor instead.

func (*ListSystemVMsResponse) GetItems

func (x *ListSystemVMsResponse) GetItems() []*SystemVm

func (*ListSystemVMsResponse) GetTotalCount

func (x *ListSystemVMsResponse) GetTotalCount() int32

func (*ListSystemVMsResponse) ProtoMessage

func (*ListSystemVMsResponse) ProtoMessage()

func (*ListSystemVMsResponse) ProtoReflect

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

func (*ListSystemVMsResponse) Reset

func (x *ListSystemVMsResponse) Reset()

func (*ListSystemVMsResponse) String

func (x *ListSystemVMsResponse) String() string

type MigrateSystemVMRequest

type MigrateSystemVMRequest struct {

	// destination Host ID to migrate VM to
	HostId *int64 `protobuf:"varint,1,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	// the ID of the virtual machine
	VirtualMachineId *int64 `protobuf:"varint,2,opt,name=virtual_machine_id,json=virtualMachineId" json:"virtual_machine_id,omitempty"`
	// Destination storage pool ID to migrate VM volumes to. Required for migrating the root disk volume
	StorageId *int64 `protobuf:"varint,3,opt,name=storage_id,json=storageId" json:"storage_id,omitempty"`
	// Automatically select a destination host which do not require storage migration, if hostId and storageId are not specified. false by default
	AutoSelect    *bool   `protobuf:"varint,4,opt,name=auto_select,json=autoSelect" json:"auto_select,omitempty"`
	StartEventId  *int64  `protobuf:"varint,5,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,6,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,7,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

MigrateSystemVMRequest represents the parameters for attempts migration of a system virtual machine to the host specified.

func (*MigrateSystemVMRequest) Descriptor deprecated

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

Deprecated: Use MigrateSystemVMRequest.ProtoReflect.Descriptor instead.

func (*MigrateSystemVMRequest) GetAutoSelect

func (x *MigrateSystemVMRequest) GetAutoSelect() bool

func (*MigrateSystemVMRequest) GetHostId

func (x *MigrateSystemVMRequest) GetHostId() int64

func (*MigrateSystemVMRequest) GetInjectedJobId

func (x *MigrateSystemVMRequest) GetInjectedJobId() string

func (*MigrateSystemVMRequest) GetResponseType

func (x *MigrateSystemVMRequest) GetResponseType() string

func (*MigrateSystemVMRequest) GetStartEventId

func (x *MigrateSystemVMRequest) GetStartEventId() int64

func (*MigrateSystemVMRequest) GetStorageId

func (x *MigrateSystemVMRequest) GetStorageId() int64

func (*MigrateSystemVMRequest) GetVirtualMachineId

func (x *MigrateSystemVMRequest) GetVirtualMachineId() int64

func (*MigrateSystemVMRequest) ProtoMessage

func (*MigrateSystemVMRequest) ProtoMessage()

func (*MigrateSystemVMRequest) ProtoReflect

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

func (*MigrateSystemVMRequest) Reset

func (x *MigrateSystemVMRequest) Reset()

func (*MigrateSystemVMRequest) String

func (x *MigrateSystemVMRequest) String() string

type MigrateSystemVMResponse

type MigrateSystemVMResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

MigrateSystemVMResponse represents the response from attempts migration of a system virtual machine to the host specified.

func (*MigrateSystemVMResponse) Descriptor deprecated

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

Deprecated: Use MigrateSystemVMResponse.ProtoReflect.Descriptor instead.

func (*MigrateSystemVMResponse) GetResult

func (x *MigrateSystemVMResponse) GetResult() *Result

func (*MigrateSystemVMResponse) ProtoMessage

func (*MigrateSystemVMResponse) ProtoMessage()

func (*MigrateSystemVMResponse) ProtoReflect

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

func (*MigrateSystemVMResponse) Reset

func (x *MigrateSystemVMResponse) Reset()

func (*MigrateSystemVMResponse) String

func (x *MigrateSystemVMResponse) String() string

type PatchSystemVMRequest

type PatchSystemVMRequest struct {

	// patches systemVM - CPVM/SSVM with the specified ID
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// If true, initiates copy of scripts and restart of the agent, even if the scripts version matches.To be used with ID parameter only
	Force         *bool   `protobuf:"varint,2,opt,name=force" json:"force,omitempty"`
	StartEventId  *int64  `protobuf:"varint,3,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,4,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

PatchSystemVMRequest represents the parameters for attempts to live patch systemvms - cpvm, ssvm

func (*PatchSystemVMRequest) Descriptor deprecated

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

Deprecated: Use PatchSystemVMRequest.ProtoReflect.Descriptor instead.

func (*PatchSystemVMRequest) GetForce

func (x *PatchSystemVMRequest) GetForce() bool

func (*PatchSystemVMRequest) GetId

func (x *PatchSystemVMRequest) GetId() int64

func (*PatchSystemVMRequest) GetInjectedJobId

func (x *PatchSystemVMRequest) GetInjectedJobId() string

func (*PatchSystemVMRequest) GetResponseType

func (x *PatchSystemVMRequest) GetResponseType() string

func (*PatchSystemVMRequest) GetStartEventId

func (x *PatchSystemVMRequest) GetStartEventId() int64

func (*PatchSystemVMRequest) ProtoMessage

func (*PatchSystemVMRequest) ProtoMessage()

func (*PatchSystemVMRequest) ProtoReflect

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

func (*PatchSystemVMRequest) Reset

func (x *PatchSystemVMRequest) Reset()

func (*PatchSystemVMRequest) String

func (x *PatchSystemVMRequest) String() string

type PatchSystemVMResponse

type PatchSystemVMResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

PatchSystemVMResponse represents the response from attempts to live patch systemvms - cpvm, ssvm

func (*PatchSystemVMResponse) Descriptor deprecated

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

Deprecated: Use PatchSystemVMResponse.ProtoReflect.Descriptor instead.

func (*PatchSystemVMResponse) GetResult

func (x *PatchSystemVMResponse) GetResult() *Result

func (*PatchSystemVMResponse) ProtoMessage

func (*PatchSystemVMResponse) ProtoMessage()

func (*PatchSystemVMResponse) ProtoReflect

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

func (*PatchSystemVMResponse) Reset

func (x *PatchSystemVMResponse) Reset()

func (*PatchSystemVMResponse) String

func (x *PatchSystemVMResponse) String() string

type RebootSystemVmRequest

type RebootSystemVmRequest struct {

	// The ID of the system virtual machine
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// Force reboot the system VM (System VM is Stopped and then Started)
	Forced        *bool   `protobuf:"varint,2,opt,name=forced" json:"forced,omitempty"`
	StartEventId  *int64  `protobuf:"varint,3,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,4,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

RebootSystemVmRequest represents the parameters for reboots a system vm.

func (*RebootSystemVmRequest) Descriptor deprecated

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

Deprecated: Use RebootSystemVmRequest.ProtoReflect.Descriptor instead.

func (*RebootSystemVmRequest) GetForced

func (x *RebootSystemVmRequest) GetForced() bool

func (*RebootSystemVmRequest) GetId

func (x *RebootSystemVmRequest) GetId() int64

func (*RebootSystemVmRequest) GetInjectedJobId

func (x *RebootSystemVmRequest) GetInjectedJobId() string

func (*RebootSystemVmRequest) GetResponseType

func (x *RebootSystemVmRequest) GetResponseType() string

func (*RebootSystemVmRequest) GetStartEventId

func (x *RebootSystemVmRequest) GetStartEventId() int64

func (*RebootSystemVmRequest) ProtoMessage

func (*RebootSystemVmRequest) ProtoMessage()

func (*RebootSystemVmRequest) ProtoReflect

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

func (*RebootSystemVmRequest) Reset

func (x *RebootSystemVmRequest) Reset()

func (*RebootSystemVmRequest) String

func (x *RebootSystemVmRequest) String() string

type RebootSystemVmResponse

type RebootSystemVmResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

RebootSystemVmResponse represents the response from reboots a system vm.

func (*RebootSystemVmResponse) Descriptor deprecated

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

Deprecated: Use RebootSystemVmResponse.ProtoReflect.Descriptor instead.

func (*RebootSystemVmResponse) GetResult

func (x *RebootSystemVmResponse) GetResult() *Result

func (*RebootSystemVmResponse) ProtoMessage

func (*RebootSystemVmResponse) ProtoMessage()

func (*RebootSystemVmResponse) ProtoReflect

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

func (*RebootSystemVmResponse) Reset

func (x *RebootSystemVmResponse) Reset()

func (*RebootSystemVmResponse) String

func (x *RebootSystemVmResponse) String() string

type Result

type Result struct {

	// Whether the operation was successful
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// Any text associated with the success or failure
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// The ID of the resource affected by the operation
	Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
	// The job ID for an async operation
	JobId *string `protobuf:"bytes,4,opt,name=job_id,json=jobId" json:"job_id,omitempty"`
	// The status of the job
	JobStatus *string `protobuf:"bytes,5,opt,name=job_status,json=jobStatus" json:"job_status,omitempty"`
	// contains filtered or unexported fields
}

Result represents a generic operation result

func (*Result) Descriptor deprecated

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetDisplayText

func (x *Result) GetDisplayText() string

func (*Result) GetId

func (x *Result) GetId() string

func (*Result) GetJobId

func (x *Result) GetJobId() string

func (*Result) GetJobStatus

func (x *Result) GetJobStatus() string

func (*Result) GetSuccess

func (x *Result) GetSuccess() bool

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

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

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type ScaleSystemVMRequest

type ScaleSystemVMRequest struct {

	// The ID of the system vm
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// the service offering ID to apply to the system vm
	ServiceOfferingId *int64 `protobuf:"varint,2,opt,name=service_offering_id,json=serviceOfferingId" json:"service_offering_id,omitempty"`
	// name value pairs of custom parameters for cpuspeed, memory and cpunumber. example details[i].name=value
	Details       map[string]string `` /* 134-byte string literal not displayed */
	StartEventId  *int64            `protobuf:"varint,4,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string           `protobuf:"bytes,5,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string           `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ScaleSystemVMRequest represents the parameters for scale the service offering for a system vm (console proxy or secondary storage). the system vm must be in a "stopped" state for this command to take effect.

func (*ScaleSystemVMRequest) Descriptor deprecated

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

Deprecated: Use ScaleSystemVMRequest.ProtoReflect.Descriptor instead.

func (*ScaleSystemVMRequest) GetDetails

func (x *ScaleSystemVMRequest) GetDetails() map[string]string

func (*ScaleSystemVMRequest) GetId

func (x *ScaleSystemVMRequest) GetId() int64

func (*ScaleSystemVMRequest) GetInjectedJobId

func (x *ScaleSystemVMRequest) GetInjectedJobId() string

func (*ScaleSystemVMRequest) GetResponseType

func (x *ScaleSystemVMRequest) GetResponseType() string

func (*ScaleSystemVMRequest) GetServiceOfferingId

func (x *ScaleSystemVMRequest) GetServiceOfferingId() int64

func (*ScaleSystemVMRequest) GetStartEventId

func (x *ScaleSystemVMRequest) GetStartEventId() int64

func (*ScaleSystemVMRequest) ProtoMessage

func (*ScaleSystemVMRequest) ProtoMessage()

func (*ScaleSystemVMRequest) ProtoReflect

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

func (*ScaleSystemVMRequest) Reset

func (x *ScaleSystemVMRequest) Reset()

func (*ScaleSystemVMRequest) String

func (x *ScaleSystemVMRequest) String() string

type ScaleSystemVMResponse

type ScaleSystemVMResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

ScaleSystemVMResponse represents the response from scale the service offering for a system vm (console proxy or secondary storage). the system vm must be in a "stopped" state for this command to take effect.

func (*ScaleSystemVMResponse) Descriptor deprecated

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

Deprecated: Use ScaleSystemVMResponse.ProtoReflect.Descriptor instead.

func (*ScaleSystemVMResponse) GetResult

func (x *ScaleSystemVMResponse) GetResult() *Result

func (*ScaleSystemVMResponse) ProtoMessage

func (*ScaleSystemVMResponse) ProtoMessage()

func (*ScaleSystemVMResponse) ProtoReflect

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

func (*ScaleSystemVMResponse) Reset

func (x *ScaleSystemVMResponse) Reset()

func (*ScaleSystemVMResponse) String

func (x *ScaleSystemVMResponse) String() string

type StartSystemVMRequest

type StartSystemVMRequest struct {

	// The ID of the system virtual machine
	Id            *int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

StartSystemVMRequest represents the parameters for starts a system virtual machine.

func (*StartSystemVMRequest) Descriptor deprecated

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

Deprecated: Use StartSystemVMRequest.ProtoReflect.Descriptor instead.

func (*StartSystemVMRequest) GetId

func (x *StartSystemVMRequest) GetId() int64

func (*StartSystemVMRequest) GetInjectedJobId

func (x *StartSystemVMRequest) GetInjectedJobId() string

func (*StartSystemVMRequest) GetResponseType

func (x *StartSystemVMRequest) GetResponseType() string

func (*StartSystemVMRequest) GetStartEventId

func (x *StartSystemVMRequest) GetStartEventId() int64

func (*StartSystemVMRequest) ProtoMessage

func (*StartSystemVMRequest) ProtoMessage()

func (*StartSystemVMRequest) ProtoReflect

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

func (*StartSystemVMRequest) Reset

func (x *StartSystemVMRequest) Reset()

func (*StartSystemVMRequest) String

func (x *StartSystemVMRequest) String() string

type StartSystemVMResponse

type StartSystemVMResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

StartSystemVMResponse represents the response from starts a system virtual machine.

func (*StartSystemVMResponse) Descriptor deprecated

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

Deprecated: Use StartSystemVMResponse.ProtoReflect.Descriptor instead.

func (*StartSystemVMResponse) GetResult

func (x *StartSystemVMResponse) GetResult() *Result

func (*StartSystemVMResponse) ProtoMessage

func (*StartSystemVMResponse) ProtoMessage()

func (*StartSystemVMResponse) ProtoReflect

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

func (*StartSystemVMResponse) Reset

func (x *StartSystemVMResponse) Reset()

func (*StartSystemVMResponse) String

func (x *StartSystemVMResponse) String() string

type StopSystemVmRequest

type StopSystemVmRequest struct {

	// The ID of the system virtual machine
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// Force stop the VM (vm is marked as Stopped even when command fails to be send to the backend, otherwise a force poweroff is attempted). To be used if the caller knows the VM is stopped and should be marked as such.
	Forced        *bool   `protobuf:"varint,2,opt,name=forced" json:"forced,omitempty"`
	StartEventId  *int64  `protobuf:"varint,3,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,4,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

StopSystemVmRequest represents the parameters for stops a system vm.

func (*StopSystemVmRequest) Descriptor deprecated

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

Deprecated: Use StopSystemVmRequest.ProtoReflect.Descriptor instead.

func (*StopSystemVmRequest) GetForced

func (x *StopSystemVmRequest) GetForced() bool

func (*StopSystemVmRequest) GetId

func (x *StopSystemVmRequest) GetId() int64

func (*StopSystemVmRequest) GetInjectedJobId

func (x *StopSystemVmRequest) GetInjectedJobId() string

func (*StopSystemVmRequest) GetResponseType

func (x *StopSystemVmRequest) GetResponseType() string

func (*StopSystemVmRequest) GetStartEventId

func (x *StopSystemVmRequest) GetStartEventId() int64

func (*StopSystemVmRequest) ProtoMessage

func (*StopSystemVmRequest) ProtoMessage()

func (*StopSystemVmRequest) ProtoReflect

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

func (*StopSystemVmRequest) Reset

func (x *StopSystemVmRequest) Reset()

func (*StopSystemVmRequest) String

func (x *StopSystemVmRequest) String() string

type StopSystemVmResponse

type StopSystemVmResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

StopSystemVmResponse represents the response from stops a system vm.

func (*StopSystemVmResponse) Descriptor deprecated

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

Deprecated: Use StopSystemVmResponse.ProtoReflect.Descriptor instead.

func (*StopSystemVmResponse) GetResult

func (x *StopSystemVmResponse) GetResult() *Result

func (*StopSystemVmResponse) ProtoMessage

func (*StopSystemVmResponse) ProtoMessage()

func (*StopSystemVmResponse) ProtoReflect

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

func (*StopSystemVmResponse) Reset

func (x *StopSystemVmResponse) Reset()

func (*StopSystemVmResponse) String

func (x *StopSystemVmResponse) String() string

type Success

type Success struct {

	// true if operation is executed successfully
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// any text associated with the success or failure
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// contains filtered or unexported fields
}

Success represents a Success Operation Response

func (*Success) Descriptor deprecated

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

Deprecated: Use Success.ProtoReflect.Descriptor instead.

func (*Success) GetDisplayText

func (x *Success) GetDisplayText() string

func (*Success) GetSuccess

func (x *Success) GetSuccess() bool

func (*Success) ProtoMessage

func (*Success) ProtoMessage()

func (*Success) ProtoReflect

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

func (*Success) Reset

func (x *Success) Reset()

func (*Success) String

func (x *Success) String() string

type SystemVm

type SystemVm struct {

	// The ID of the SystemVm
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The name of the SystemVm
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The display name of the SystemVm
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// The description of the SystemVm
	Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	// The date this entity was created
	Created *string `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"`
	// contains filtered or unexported fields
}

SystemVm represents a SystemVm Item

func (*SystemVm) Descriptor deprecated

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

Deprecated: Use SystemVm.ProtoReflect.Descriptor instead.

func (*SystemVm) GetCreated

func (x *SystemVm) GetCreated() string

func (*SystemVm) GetDescription

func (x *SystemVm) GetDescription() string

func (*SystemVm) GetDisplayName

func (x *SystemVm) GetDisplayName() string

func (*SystemVm) GetId

func (x *SystemVm) GetId() string

func (*SystemVm) GetName

func (x *SystemVm) GetName() string

func (*SystemVm) ProtoMessage

func (*SystemVm) ProtoMessage()

func (*SystemVm) ProtoReflect

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

func (*SystemVm) Reset

func (x *SystemVm) Reset()

func (*SystemVm) String

func (x *SystemVm) String() string

type SystemvmServiceClient

type SystemvmServiceClient interface {
	// DestroySystemVm Destroys a system virtual machine.
	DestroySystemVm(ctx context.Context, in *DestroySystemVmRequest, opts ...grpc.CallOption) (*DestroySystemVmResponse, error)
	// ListSystemVMs List system virtual machines.
	ListSystemVMs(ctx context.Context, in *ListSystemVMsRequest, opts ...grpc.CallOption) (*ListSystemVMsResponse, error)
	// MigrateSystemVM Attempts Migration of a system virtual machine to the host specified.
	MigrateSystemVM(ctx context.Context, in *MigrateSystemVMRequest, opts ...grpc.CallOption) (*MigrateSystemVMResponse, error)
	// PatchSystemVM Attempts to live patch systemVMs - CPVM, SSVM
	PatchSystemVM(ctx context.Context, in *PatchSystemVMRequest, opts ...grpc.CallOption) (*PatchSystemVMResponse, error)
	// RebootSystemVm Reboots a system VM.
	RebootSystemVm(ctx context.Context, in *RebootSystemVmRequest, opts ...grpc.CallOption) (*RebootSystemVmResponse, error)
	// ScaleSystemVM Scale the service offering for a system vm (console proxy or secondary storage). The system vm must be in a "Stopped" state for this command to take effect.
	ScaleSystemVM(ctx context.Context, in *ScaleSystemVMRequest, opts ...grpc.CallOption) (*ScaleSystemVMResponse, error)
	// StartSystemVM Starts a system virtual machine.
	StartSystemVM(ctx context.Context, in *StartSystemVMRequest, opts ...grpc.CallOption) (*StartSystemVMResponse, error)
	// StopSystemVm Stops a system VM.
	StopSystemVm(ctx context.Context, in *StopSystemVmRequest, opts ...grpc.CallOption) (*StopSystemVmResponse, error)
	// UpgradeSystemVM Changes the service offering for a system vm (console proxy or secondary storage). The system vm must be in a "Stopped" state for this command to take effect.
	UpgradeSystemVM(ctx context.Context, in *UpgradeSystemVMRequest, opts ...grpc.CallOption) (*UpgradeSystemVMResponse, error)
}

SystemvmServiceClient is the client API for SystemvmService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

SystemvmService provides operations for managing Systemvms

type SystemvmServiceServer

type SystemvmServiceServer interface {
	// DestroySystemVm Destroys a system virtual machine.
	DestroySystemVm(context.Context, *DestroySystemVmRequest) (*DestroySystemVmResponse, error)
	// ListSystemVMs List system virtual machines.
	ListSystemVMs(context.Context, *ListSystemVMsRequest) (*ListSystemVMsResponse, error)
	// MigrateSystemVM Attempts Migration of a system virtual machine to the host specified.
	MigrateSystemVM(context.Context, *MigrateSystemVMRequest) (*MigrateSystemVMResponse, error)
	// PatchSystemVM Attempts to live patch systemVMs - CPVM, SSVM
	PatchSystemVM(context.Context, *PatchSystemVMRequest) (*PatchSystemVMResponse, error)
	// RebootSystemVm Reboots a system VM.
	RebootSystemVm(context.Context, *RebootSystemVmRequest) (*RebootSystemVmResponse, error)
	// ScaleSystemVM Scale the service offering for a system vm (console proxy or secondary storage). The system vm must be in a "Stopped" state for this command to take effect.
	ScaleSystemVM(context.Context, *ScaleSystemVMRequest) (*ScaleSystemVMResponse, error)
	// StartSystemVM Starts a system virtual machine.
	StartSystemVM(context.Context, *StartSystemVMRequest) (*StartSystemVMResponse, error)
	// StopSystemVm Stops a system VM.
	StopSystemVm(context.Context, *StopSystemVmRequest) (*StopSystemVmResponse, error)
	// UpgradeSystemVM Changes the service offering for a system vm (console proxy or secondary storage). The system vm must be in a "Stopped" state for this command to take effect.
	UpgradeSystemVM(context.Context, *UpgradeSystemVMRequest) (*UpgradeSystemVMResponse, error)
	// contains filtered or unexported methods
}

SystemvmServiceServer is the server API for SystemvmService service. All implementations must embed UnimplementedSystemvmServiceServer for forward compatibility.

SystemvmService provides operations for managing Systemvms

type UnimplementedSystemvmServiceServer

type UnimplementedSystemvmServiceServer struct{}

UnimplementedSystemvmServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSystemvmServiceServer) DestroySystemVm

func (UnimplementedSystemvmServiceServer) ListSystemVMs

func (UnimplementedSystemvmServiceServer) MigrateSystemVM

func (UnimplementedSystemvmServiceServer) PatchSystemVM

func (UnimplementedSystemvmServiceServer) RebootSystemVm

func (UnimplementedSystemvmServiceServer) ScaleSystemVM

func (UnimplementedSystemvmServiceServer) StartSystemVM

func (UnimplementedSystemvmServiceServer) StopSystemVm

func (UnimplementedSystemvmServiceServer) UpgradeSystemVM

type UnsafeSystemvmServiceServer

type UnsafeSystemvmServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSystemvmServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemvmServiceServer will result in compilation errors.

type UpgradeSystemVMRequest

type UpgradeSystemVMRequest struct {

	// The ID of the system vm
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// the service offering ID to apply to the system vm
	ServiceOfferingId *int64 `protobuf:"varint,2,opt,name=service_offering_id,json=serviceOfferingId" json:"service_offering_id,omitempty"`
	// name value pairs of custom parameters for cpuspeed, memory and cpunumber. example details[i].name=value
	Details      map[string]string `` /* 134-byte string literal not displayed */
	ResponseType *string           `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

UpgradeSystemVMRequest represents the parameters for changes the service offering for a system vm (console proxy or secondary storage). the system vm must be in a "stopped" state for this command to take effect.

func (*UpgradeSystemVMRequest) Descriptor deprecated

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

Deprecated: Use UpgradeSystemVMRequest.ProtoReflect.Descriptor instead.

func (*UpgradeSystemVMRequest) GetDetails

func (x *UpgradeSystemVMRequest) GetDetails() map[string]string

func (*UpgradeSystemVMRequest) GetId

func (x *UpgradeSystemVMRequest) GetId() int64

func (*UpgradeSystemVMRequest) GetResponseType

func (x *UpgradeSystemVMRequest) GetResponseType() string

func (*UpgradeSystemVMRequest) GetServiceOfferingId

func (x *UpgradeSystemVMRequest) GetServiceOfferingId() int64

func (*UpgradeSystemVMRequest) ProtoMessage

func (*UpgradeSystemVMRequest) ProtoMessage()

func (*UpgradeSystemVMRequest) ProtoReflect

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

func (*UpgradeSystemVMRequest) Reset

func (x *UpgradeSystemVMRequest) Reset()

func (*UpgradeSystemVMRequest) String

func (x *UpgradeSystemVMRequest) String() string

type UpgradeSystemVMResponse

type UpgradeSystemVMResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

UpgradeSystemVMResponse represents the response from changes the service offering for a system vm (console proxy or secondary storage). the system vm must be in a "stopped" state for this command to take effect.

func (*UpgradeSystemVMResponse) Descriptor deprecated

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

Deprecated: Use UpgradeSystemVMResponse.ProtoReflect.Descriptor instead.

func (*UpgradeSystemVMResponse) GetResult

func (x *UpgradeSystemVMResponse) GetResult() *Result

func (*UpgradeSystemVMResponse) ProtoMessage

func (*UpgradeSystemVMResponse) ProtoMessage()

func (*UpgradeSystemVMResponse) ProtoReflect

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

func (*UpgradeSystemVMResponse) Reset

func (x *UpgradeSystemVMResponse) Reset()

func (*UpgradeSystemVMResponse) String

func (x *UpgradeSystemVMResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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