Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterBackupServiceServer(s grpc.ServiceRegistrar, srv BackupServiceServer)
- type AssignVirtualMachineToBackupOfferingRequest
- func (*AssignVirtualMachineToBackupOfferingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignVirtualMachineToBackupOfferingRequest) GetInjectedJobId() string
- func (x *AssignVirtualMachineToBackupOfferingRequest) GetOfferingId() int64
- func (x *AssignVirtualMachineToBackupOfferingRequest) GetResponseType() string
- func (x *AssignVirtualMachineToBackupOfferingRequest) GetStartEventId() int64
- func (x *AssignVirtualMachineToBackupOfferingRequest) GetVmId() int64
- func (*AssignVirtualMachineToBackupOfferingRequest) ProtoMessage()
- func (x *AssignVirtualMachineToBackupOfferingRequest) ProtoReflect() protoreflect.Message
- func (x *AssignVirtualMachineToBackupOfferingRequest) Reset()
- func (x *AssignVirtualMachineToBackupOfferingRequest) String() string
- type AssignVirtualMachineToBackupOfferingResponse
- func (*AssignVirtualMachineToBackupOfferingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssignVirtualMachineToBackupOfferingResponse) GetResult() *Result
- func (*AssignVirtualMachineToBackupOfferingResponse) ProtoMessage()
- func (x *AssignVirtualMachineToBackupOfferingResponse) ProtoReflect() protoreflect.Message
- func (x *AssignVirtualMachineToBackupOfferingResponse) Reset()
- func (x *AssignVirtualMachineToBackupOfferingResponse) String() string
- type Backup
- func (*Backup) Descriptor() ([]byte, []int)deprecated
- func (x *Backup) GetCreated() string
- func (x *Backup) GetDescription() string
- func (x *Backup) GetDisplayName() string
- func (x *Backup) GetId() string
- func (x *Backup) GetName() string
- func (*Backup) ProtoMessage()
- func (x *Backup) ProtoReflect() protoreflect.Message
- func (x *Backup) Reset()
- func (x *Backup) String() string
- type BackupOffering
- func (*BackupOffering) Descriptor() ([]byte, []int)deprecated
- func (x *BackupOffering) GetCreated() string
- func (x *BackupOffering) GetDescription() string
- func (x *BackupOffering) GetDisplayName() string
- func (x *BackupOffering) GetId() string
- func (x *BackupOffering) GetName() string
- func (*BackupOffering) ProtoMessage()
- func (x *BackupOffering) ProtoReflect() protoreflect.Message
- func (x *BackupOffering) Reset()
- func (x *BackupOffering) String() string
- type BackupProvider
- func (*BackupProvider) Descriptor() ([]byte, []int)deprecated
- func (x *BackupProvider) GetCreated() string
- func (x *BackupProvider) GetDescription() string
- func (x *BackupProvider) GetDisplayName() string
- func (x *BackupProvider) GetId() string
- func (x *BackupProvider) GetName() string
- func (*BackupProvider) ProtoMessage()
- func (x *BackupProvider) ProtoReflect() protoreflect.Message
- func (x *BackupProvider) Reset()
- func (x *BackupProvider) String() string
- type BackupSchedule
- func (*BackupSchedule) Descriptor() ([]byte, []int)deprecated
- func (x *BackupSchedule) GetCreated() string
- func (x *BackupSchedule) GetDescription() string
- func (x *BackupSchedule) GetDisplayName() string
- func (x *BackupSchedule) GetId() string
- func (x *BackupSchedule) GetName() string
- func (*BackupSchedule) ProtoMessage()
- func (x *BackupSchedule) ProtoReflect() protoreflect.Message
- func (x *BackupSchedule) Reset()
- func (x *BackupSchedule) String() string
- type BackupServiceClient
- type BackupServiceServer
- type CreateBackupRequest
- func (*CreateBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBackupRequest) GetInjectedJobId() string
- func (x *CreateBackupRequest) GetResponseType() string
- func (x *CreateBackupRequest) GetScheduleId() int64
- func (x *CreateBackupRequest) GetStartEventId() int64
- func (x *CreateBackupRequest) GetVmId() int64
- func (*CreateBackupRequest) ProtoMessage()
- func (x *CreateBackupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBackupRequest) Reset()
- func (x *CreateBackupRequest) String() string
- type CreateBackupResponse
- func (*CreateBackupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBackupResponse) GetResult() *Result
- func (*CreateBackupResponse) ProtoMessage()
- func (x *CreateBackupResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBackupResponse) Reset()
- func (x *CreateBackupResponse) String() string
- type CreateBackupScheduleRequest
- func (*CreateBackupScheduleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBackupScheduleRequest) GetIntervalType() string
- func (x *CreateBackupScheduleRequest) GetMaxBackups() int32
- func (x *CreateBackupScheduleRequest) GetResponseType() string
- func (x *CreateBackupScheduleRequest) GetSchedule() string
- func (x *CreateBackupScheduleRequest) GetTimezone() string
- func (x *CreateBackupScheduleRequest) GetVmId() int64
- func (*CreateBackupScheduleRequest) ProtoMessage()
- func (x *CreateBackupScheduleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBackupScheduleRequest) Reset()
- func (x *CreateBackupScheduleRequest) String() string
- type CreateBackupScheduleResponse
- func (*CreateBackupScheduleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBackupScheduleResponse) GetResult() *Result
- func (*CreateBackupScheduleResponse) ProtoMessage()
- func (x *CreateBackupScheduleResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBackupScheduleResponse) Reset()
- func (x *CreateBackupScheduleResponse) String() string
- type DeleteBackupOfferingRequest
- func (*DeleteBackupOfferingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupOfferingRequest) GetId() int64
- func (x *DeleteBackupOfferingRequest) GetResponseType() string
- func (*DeleteBackupOfferingRequest) ProtoMessage()
- func (x *DeleteBackupOfferingRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupOfferingRequest) Reset()
- func (x *DeleteBackupOfferingRequest) String() string
- type DeleteBackupOfferingResponse
- func (*DeleteBackupOfferingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupOfferingResponse) GetResult() *Result
- func (*DeleteBackupOfferingResponse) ProtoMessage()
- func (x *DeleteBackupOfferingResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupOfferingResponse) Reset()
- func (x *DeleteBackupOfferingResponse) String() string
- type DeleteBackupRequest
- func (*DeleteBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupRequest) GetBackupId() int64
- func (x *DeleteBackupRequest) GetForced() bool
- func (x *DeleteBackupRequest) GetInjectedJobId() string
- func (x *DeleteBackupRequest) GetResponseType() string
- func (x *DeleteBackupRequest) GetStartEventId() int64
- func (*DeleteBackupRequest) ProtoMessage()
- func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupRequest) Reset()
- func (x *DeleteBackupRequest) String() string
- type DeleteBackupResponse
- func (*DeleteBackupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupResponse) GetResult() *Result
- func (*DeleteBackupResponse) ProtoMessage()
- func (x *DeleteBackupResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupResponse) Reset()
- func (x *DeleteBackupResponse) String() string
- type DeleteBackupScheduleRequest
- func (*DeleteBackupScheduleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupScheduleRequest) GetId() int64
- func (x *DeleteBackupScheduleRequest) GetResponseType() string
- func (x *DeleteBackupScheduleRequest) GetVmId() int64
- func (*DeleteBackupScheduleRequest) ProtoMessage()
- func (x *DeleteBackupScheduleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupScheduleRequest) Reset()
- func (x *DeleteBackupScheduleRequest) String() string
- type DeleteBackupScheduleResponse
- func (*DeleteBackupScheduleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupScheduleResponse) GetResult() *Result
- func (*DeleteBackupScheduleResponse) ProtoMessage()
- func (x *DeleteBackupScheduleResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupScheduleResponse) Reset()
- func (x *DeleteBackupScheduleResponse) String() string
- type ImportBackupOfferingRequest
- func (*ImportBackupOfferingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportBackupOfferingRequest) GetDescription() string
- func (x *ImportBackupOfferingRequest) GetExternalId() string
- func (x *ImportBackupOfferingRequest) GetInjectedJobId() string
- func (x *ImportBackupOfferingRequest) GetName() string
- func (x *ImportBackupOfferingRequest) GetResponseType() string
- func (x *ImportBackupOfferingRequest) GetStartEventId() int64
- func (x *ImportBackupOfferingRequest) GetUserDrivenBackups() bool
- func (x *ImportBackupOfferingRequest) GetZoneId() int64
- func (*ImportBackupOfferingRequest) ProtoMessage()
- func (x *ImportBackupOfferingRequest) ProtoReflect() protoreflect.Message
- func (x *ImportBackupOfferingRequest) Reset()
- func (x *ImportBackupOfferingRequest) String() string
- type ImportBackupOfferingResponse
- func (*ImportBackupOfferingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportBackupOfferingResponse) GetResult() *Result
- func (*ImportBackupOfferingResponse) ProtoMessage()
- func (x *ImportBackupOfferingResponse) ProtoReflect() protoreflect.Message
- func (x *ImportBackupOfferingResponse) Reset()
- func (x *ImportBackupOfferingResponse) String() string
- type IntervalType
- func (IntervalType) Descriptor() protoreflect.EnumDescriptor
- func (x IntervalType) Enum() *IntervalType
- func (IntervalType) EnumDescriptor() ([]byte, []int)deprecated
- func (x IntervalType) Number() protoreflect.EnumNumber
- func (x IntervalType) String() string
- func (IntervalType) Type() protoreflect.EnumType
- type ListBackupOfferingsRequest
- func (*ListBackupOfferingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupOfferingsRequest) GetKeyword() string
- func (x *ListBackupOfferingsRequest) GetOfferingId() int64
- func (x *ListBackupOfferingsRequest) GetPage() int32
- func (x *ListBackupOfferingsRequest) GetPageSize() int32
- func (x *ListBackupOfferingsRequest) GetResponseType() string
- func (x *ListBackupOfferingsRequest) GetZoneId() int64
- func (*ListBackupOfferingsRequest) ProtoMessage()
- func (x *ListBackupOfferingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupOfferingsRequest) Reset()
- func (x *ListBackupOfferingsRequest) String() string
- type ListBackupOfferingsResponse
- func (*ListBackupOfferingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupOfferingsResponse) GetItems() []*BackupOffering
- func (x *ListBackupOfferingsResponse) GetTotalCount() int32
- func (*ListBackupOfferingsResponse) ProtoMessage()
- func (x *ListBackupOfferingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupOfferingsResponse) Reset()
- func (x *ListBackupOfferingsResponse) String() string
- type ListBackupProviderOfferingsRequest
- func (*ListBackupProviderOfferingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupProviderOfferingsRequest) GetKeyword() string
- func (x *ListBackupProviderOfferingsRequest) GetPage() int32
- func (x *ListBackupProviderOfferingsRequest) GetPageSize() int32
- func (x *ListBackupProviderOfferingsRequest) GetResponseType() string
- func (x *ListBackupProviderOfferingsRequest) GetZoneId() int64
- func (*ListBackupProviderOfferingsRequest) ProtoMessage()
- func (x *ListBackupProviderOfferingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupProviderOfferingsRequest) Reset()
- func (x *ListBackupProviderOfferingsRequest) String() string
- type ListBackupProviderOfferingsResponse
- func (*ListBackupProviderOfferingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupProviderOfferingsResponse) GetItems() []*BackupOffering
- func (x *ListBackupProviderOfferingsResponse) GetTotalCount() int32
- func (*ListBackupProviderOfferingsResponse) ProtoMessage()
- func (x *ListBackupProviderOfferingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupProviderOfferingsResponse) Reset()
- func (x *ListBackupProviderOfferingsResponse) String() string
- type ListBackupProvidersRequest
- func (*ListBackupProvidersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupProvidersRequest) GetName() string
- func (x *ListBackupProvidersRequest) GetResponseType() string
- func (*ListBackupProvidersRequest) ProtoMessage()
- func (x *ListBackupProvidersRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupProvidersRequest) Reset()
- func (x *ListBackupProvidersRequest) String() string
- type ListBackupProvidersResponse
- func (*ListBackupProvidersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupProvidersResponse) GetItems() []*BackupProvider
- func (x *ListBackupProvidersResponse) GetTotalCount() int32
- func (*ListBackupProvidersResponse) ProtoMessage()
- func (x *ListBackupProvidersResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupProvidersResponse) Reset()
- func (x *ListBackupProvidersResponse) String() string
- type ListBackupScheduleRequest
- func (*ListBackupScheduleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupScheduleRequest) GetResponseType() string
- func (x *ListBackupScheduleRequest) GetVmId() int64
- func (*ListBackupScheduleRequest) ProtoMessage()
- func (x *ListBackupScheduleRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupScheduleRequest) Reset()
- func (x *ListBackupScheduleRequest) String() string
- type ListBackupScheduleResponse
- func (*ListBackupScheduleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupScheduleResponse) GetItems() []*BackupSchedule
- func (x *ListBackupScheduleResponse) GetTotalCount() int32
- func (*ListBackupScheduleResponse) ProtoMessage()
- func (x *ListBackupScheduleResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupScheduleResponse) Reset()
- func (x *ListBackupScheduleResponse) String() string
- type ListBackupsRequest
- func (*ListBackupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsRequest) GetAccountName() string
- func (x *ListBackupsRequest) GetDomainId() int64
- func (x *ListBackupsRequest) GetId() int64
- func (x *ListBackupsRequest) GetKeyword() string
- func (x *ListBackupsRequest) GetListAll() bool
- func (x *ListBackupsRequest) GetPage() int32
- func (x *ListBackupsRequest) GetPageSize() int32
- func (x *ListBackupsRequest) GetProjectId() int64
- func (x *ListBackupsRequest) GetRecursive() bool
- func (x *ListBackupsRequest) GetResponseType() string
- func (x *ListBackupsRequest) GetVmId() int64
- func (x *ListBackupsRequest) GetZoneId() int64
- func (*ListBackupsRequest) ProtoMessage()
- func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupsRequest) Reset()
- func (x *ListBackupsRequest) String() string
- type ListBackupsResponse
- func (*ListBackupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsResponse) GetItems() []*Backup
- func (x *ListBackupsResponse) GetTotalCount() int32
- func (*ListBackupsResponse) ProtoMessage()
- func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupsResponse) Reset()
- func (x *ListBackupsResponse) String() string
- type RemoveVirtualMachineFromBackupOfferingRequest
- func (*RemoveVirtualMachineFromBackupOfferingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveVirtualMachineFromBackupOfferingRequest) GetForced() bool
- func (x *RemoveVirtualMachineFromBackupOfferingRequest) GetInjectedJobId() string
- func (x *RemoveVirtualMachineFromBackupOfferingRequest) GetResponseType() string
- func (x *RemoveVirtualMachineFromBackupOfferingRequest) GetStartEventId() int64
- func (x *RemoveVirtualMachineFromBackupOfferingRequest) GetVmId() int64
- func (*RemoveVirtualMachineFromBackupOfferingRequest) ProtoMessage()
- func (x *RemoveVirtualMachineFromBackupOfferingRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveVirtualMachineFromBackupOfferingRequest) Reset()
- func (x *RemoveVirtualMachineFromBackupOfferingRequest) String() string
- type RemoveVirtualMachineFromBackupOfferingResponse
- func (*RemoveVirtualMachineFromBackupOfferingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveVirtualMachineFromBackupOfferingResponse) GetResult() *Result
- func (*RemoveVirtualMachineFromBackupOfferingResponse) ProtoMessage()
- func (x *RemoveVirtualMachineFromBackupOfferingResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveVirtualMachineFromBackupOfferingResponse) Reset()
- func (x *RemoveVirtualMachineFromBackupOfferingResponse) String() string
- type RestoreBackupRequest
- func (*RestoreBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreBackupRequest) GetBackupId() int64
- func (x *RestoreBackupRequest) GetInjectedJobId() string
- func (x *RestoreBackupRequest) GetResponseType() string
- func (x *RestoreBackupRequest) GetStartEventId() int64
- func (*RestoreBackupRequest) ProtoMessage()
- func (x *RestoreBackupRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreBackupRequest) Reset()
- func (x *RestoreBackupRequest) String() string
- type RestoreBackupResponse
- func (*RestoreBackupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreBackupResponse) GetResult() *Result
- func (*RestoreBackupResponse) ProtoMessage()
- func (x *RestoreBackupResponse) ProtoReflect() protoreflect.Message
- func (x *RestoreBackupResponse) Reset()
- func (x *RestoreBackupResponse) String() string
- type RestoreVolumeFromBackupAndAttachToVMRequest
- func (*RestoreVolumeFromBackupAndAttachToVMRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreVolumeFromBackupAndAttachToVMRequest) GetBackupId() int64
- func (x *RestoreVolumeFromBackupAndAttachToVMRequest) GetInjectedJobId() string
- func (x *RestoreVolumeFromBackupAndAttachToVMRequest) GetResponseType() string
- func (x *RestoreVolumeFromBackupAndAttachToVMRequest) GetStartEventId() int64
- func (x *RestoreVolumeFromBackupAndAttachToVMRequest) GetVmId() int64
- func (x *RestoreVolumeFromBackupAndAttachToVMRequest) GetVolumeUuid() string
- func (*RestoreVolumeFromBackupAndAttachToVMRequest) ProtoMessage()
- func (x *RestoreVolumeFromBackupAndAttachToVMRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreVolumeFromBackupAndAttachToVMRequest) Reset()
- func (x *RestoreVolumeFromBackupAndAttachToVMRequest) String() string
- type RestoreVolumeFromBackupAndAttachToVMResponse
- func (*RestoreVolumeFromBackupAndAttachToVMResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreVolumeFromBackupAndAttachToVMResponse) GetResult() *Result
- func (*RestoreVolumeFromBackupAndAttachToVMResponse) ProtoMessage()
- func (x *RestoreVolumeFromBackupAndAttachToVMResponse) ProtoReflect() protoreflect.Message
- func (x *RestoreVolumeFromBackupAndAttachToVMResponse) Reset()
- func (x *RestoreVolumeFromBackupAndAttachToVMResponse) String() string
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetDisplayText() string
- func (x *Result) GetId() string
- func (x *Result) GetJobId() string
- func (x *Result) GetJobStatus() string
- func (x *Result) GetSuccess() bool
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type Success
- type UnimplementedBackupServiceServer
- func (UnimplementedBackupServiceServer) AssignVirtualMachineToBackupOffering(context.Context, *AssignVirtualMachineToBackupOfferingRequest) (*AssignVirtualMachineToBackupOfferingResponse, error)
- func (UnimplementedBackupServiceServer) CreateBackup(context.Context, *CreateBackupRequest) (*CreateBackupResponse, error)
- func (UnimplementedBackupServiceServer) CreateBackupSchedule(context.Context, *CreateBackupScheduleRequest) (*CreateBackupScheduleResponse, error)
- func (UnimplementedBackupServiceServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*DeleteBackupResponse, error)
- func (UnimplementedBackupServiceServer) DeleteBackupOffering(context.Context, *DeleteBackupOfferingRequest) (*DeleteBackupOfferingResponse, error)
- func (UnimplementedBackupServiceServer) DeleteBackupSchedule(context.Context, *DeleteBackupScheduleRequest) (*DeleteBackupScheduleResponse, error)
- func (UnimplementedBackupServiceServer) ImportBackupOffering(context.Context, *ImportBackupOfferingRequest) (*ImportBackupOfferingResponse, error)
- func (UnimplementedBackupServiceServer) ListBackupOfferings(context.Context, *ListBackupOfferingsRequest) (*ListBackupOfferingsResponse, error)
- func (UnimplementedBackupServiceServer) ListBackupProviderOfferings(context.Context, *ListBackupProviderOfferingsRequest) (*ListBackupProviderOfferingsResponse, error)
- func (UnimplementedBackupServiceServer) ListBackupProviders(context.Context, *ListBackupProvidersRequest) (*ListBackupProvidersResponse, error)
- func (UnimplementedBackupServiceServer) ListBackupSchedule(context.Context, *ListBackupScheduleRequest) (*ListBackupScheduleResponse, error)
- func (UnimplementedBackupServiceServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
- func (UnimplementedBackupServiceServer) RemoveVirtualMachineFromBackupOffering(context.Context, *RemoveVirtualMachineFromBackupOfferingRequest) (*RemoveVirtualMachineFromBackupOfferingResponse, error)
- func (UnimplementedBackupServiceServer) RestoreBackup(context.Context, *RestoreBackupRequest) (*RestoreBackupResponse, error)
- func (UnimplementedBackupServiceServer) RestoreVolumeFromBackupAndAttachToVM(context.Context, *RestoreVolumeFromBackupAndAttachToVMRequest) (*RestoreVolumeFromBackupAndAttachToVMResponse, error)
- func (UnimplementedBackupServiceServer) UpdateBackupOffering(context.Context, *UpdateBackupOfferingRequest) (*UpdateBackupOfferingResponse, error)
- func (UnimplementedBackupServiceServer) UpdateBackupSchedule(context.Context, *UpdateBackupScheduleRequest) (*UpdateBackupScheduleResponse, error)
- type UnsafeBackupServiceServer
- type UpdateBackupOfferingRequest
- func (*UpdateBackupOfferingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBackupOfferingRequest) GetAllowUserDrivenBackups() bool
- func (x *UpdateBackupOfferingRequest) GetDescription() string
- func (x *UpdateBackupOfferingRequest) GetId() int64
- func (x *UpdateBackupOfferingRequest) GetName() string
- func (x *UpdateBackupOfferingRequest) GetResponseType() string
- func (*UpdateBackupOfferingRequest) ProtoMessage()
- func (x *UpdateBackupOfferingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBackupOfferingRequest) Reset()
- func (x *UpdateBackupOfferingRequest) String() string
- type UpdateBackupOfferingResponse
- func (*UpdateBackupOfferingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBackupOfferingResponse) GetResult() *Result
- func (*UpdateBackupOfferingResponse) ProtoMessage()
- func (x *UpdateBackupOfferingResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateBackupOfferingResponse) Reset()
- func (x *UpdateBackupOfferingResponse) String() string
- type UpdateBackupScheduleRequest
- func (*UpdateBackupScheduleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBackupScheduleRequest) GetIntervalType() string
- func (x *UpdateBackupScheduleRequest) GetMaxBackups() int32
- func (x *UpdateBackupScheduleRequest) GetResponseType() string
- func (x *UpdateBackupScheduleRequest) GetSchedule() string
- func (x *UpdateBackupScheduleRequest) GetTimezone() string
- func (x *UpdateBackupScheduleRequest) GetVmId() int64
- func (*UpdateBackupScheduleRequest) ProtoMessage()
- func (x *UpdateBackupScheduleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBackupScheduleRequest) Reset()
- func (x *UpdateBackupScheduleRequest) String() string
- type UpdateBackupScheduleResponse
- func (*UpdateBackupScheduleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBackupScheduleResponse) GetResult() *Result
- func (*UpdateBackupScheduleResponse) ProtoMessage()
- func (x *UpdateBackupScheduleResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateBackupScheduleResponse) Reset()
- func (x *UpdateBackupScheduleResponse) String() string
Constants ¶
const ( BackupService_AssignVirtualMachineToBackupOffering_FullMethodName = "/cloudstack.management.backup.v1.BackupService/AssignVirtualMachineToBackupOffering" BackupService_CreateBackup_FullMethodName = "/cloudstack.management.backup.v1.BackupService/CreateBackup" BackupService_CreateBackupSchedule_FullMethodName = "/cloudstack.management.backup.v1.BackupService/CreateBackupSchedule" BackupService_DeleteBackup_FullMethodName = "/cloudstack.management.backup.v1.BackupService/DeleteBackup" BackupService_DeleteBackupOffering_FullMethodName = "/cloudstack.management.backup.v1.BackupService/DeleteBackupOffering" BackupService_DeleteBackupSchedule_FullMethodName = "/cloudstack.management.backup.v1.BackupService/DeleteBackupSchedule" BackupService_ImportBackupOffering_FullMethodName = "/cloudstack.management.backup.v1.BackupService/ImportBackupOffering" BackupService_ListBackupOfferings_FullMethodName = "/cloudstack.management.backup.v1.BackupService/ListBackupOfferings" BackupService_ListBackupProviderOfferings_FullMethodName = "/cloudstack.management.backup.v1.BackupService/ListBackupProviderOfferings" BackupService_ListBackupProviders_FullMethodName = "/cloudstack.management.backup.v1.BackupService/ListBackupProviders" BackupService_ListBackupSchedule_FullMethodName = "/cloudstack.management.backup.v1.BackupService/ListBackupSchedule" BackupService_ListBackups_FullMethodName = "/cloudstack.management.backup.v1.BackupService/ListBackups" BackupService_RemoveVirtualMachineFromBackupOffering_FullMethodName = "/cloudstack.management.backup.v1.BackupService/RemoveVirtualMachineFromBackupOffering" BackupService_RestoreBackup_FullMethodName = "/cloudstack.management.backup.v1.BackupService/RestoreBackup" BackupService_RestoreVolumeFromBackupAndAttachToVM_FullMethodName = "/cloudstack.management.backup.v1.BackupService/RestoreVolumeFromBackupAndAttachToVM" BackupService_UpdateBackupOffering_FullMethodName = "/cloudstack.management.backup.v1.BackupService/UpdateBackupOffering" BackupService_UpdateBackupSchedule_FullMethodName = "/cloudstack.management.backup.v1.BackupService/UpdateBackupSchedule" )
Variables ¶
var ( IntervalType_name = map[int32]string{ 0: "INTERVAL_TYPE_UNSPECIFIED", 1: "INTERVAL_TYPE_DAILY", 2: "INTERVAL_TYPE_HOURLY", 3: "INTERVAL_TYPE_WEEKLY", } IntervalType_value = map[string]int32{ "INTERVAL_TYPE_UNSPECIFIED": 0, "INTERVAL_TYPE_DAILY": 1, "INTERVAL_TYPE_HOURLY": 2, "INTERVAL_TYPE_WEEKLY": 3, } )
Enum value maps for IntervalType.
var BackupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cloudstack.management.backup.v1.BackupService", HandlerType: (*BackupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AssignVirtualMachineToBackupOffering", Handler: _BackupService_AssignVirtualMachineToBackupOffering_Handler, }, { MethodName: "CreateBackup", Handler: _BackupService_CreateBackup_Handler, }, { MethodName: "CreateBackupSchedule", Handler: _BackupService_CreateBackupSchedule_Handler, }, { MethodName: "DeleteBackup", Handler: _BackupService_DeleteBackup_Handler, }, { MethodName: "DeleteBackupOffering", Handler: _BackupService_DeleteBackupOffering_Handler, }, { MethodName: "DeleteBackupSchedule", Handler: _BackupService_DeleteBackupSchedule_Handler, }, { MethodName: "ImportBackupOffering", Handler: _BackupService_ImportBackupOffering_Handler, }, { MethodName: "ListBackupOfferings", Handler: _BackupService_ListBackupOfferings_Handler, }, { MethodName: "ListBackupProviderOfferings", Handler: _BackupService_ListBackupProviderOfferings_Handler, }, { MethodName: "ListBackupProviders", Handler: _BackupService_ListBackupProviders_Handler, }, { MethodName: "ListBackupSchedule", Handler: _BackupService_ListBackupSchedule_Handler, }, { MethodName: "ListBackups", Handler: _BackupService_ListBackups_Handler, }, { MethodName: "RemoveVirtualMachineFromBackupOffering", Handler: _BackupService_RemoveVirtualMachineFromBackupOffering_Handler, }, { MethodName: "RestoreBackup", Handler: _BackupService_RestoreBackup_Handler, }, { MethodName: "RestoreVolumeFromBackupAndAttachToVM", Handler: _BackupService_RestoreVolumeFromBackupAndAttachToVM_Handler, }, { MethodName: "UpdateBackupOffering", Handler: _BackupService_UpdateBackupOffering_Handler, }, { MethodName: "UpdateBackupSchedule", Handler: _BackupService_UpdateBackupSchedule_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cloudstack/management/backup/v1/backup.gen.proto", }
BackupService_ServiceDesc is the grpc.ServiceDesc for BackupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_cloudstack_management_backup_v1_backup_gen_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBackupServiceServer ¶
func RegisterBackupServiceServer(s grpc.ServiceRegistrar, srv BackupServiceServer)
Types ¶
type AssignVirtualMachineToBackupOfferingRequest ¶
type AssignVirtualMachineToBackupOfferingRequest struct {
// ID of the virtual machine
VmId *int64 `protobuf:"varint,1,opt,name=vm_id,json=vmId" json:"vm_id,omitempty"`
// ID of the backup offering
OfferingId *int64 `protobuf:"varint,2,opt,name=offering_id,json=offeringId" json:"offering_id,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
}
AssignVirtualMachineToBackupOfferingRequest represents the parameters for assigns a vm to a backup offering
func (*AssignVirtualMachineToBackupOfferingRequest) Descriptor
deprecated
func (*AssignVirtualMachineToBackupOfferingRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignVirtualMachineToBackupOfferingRequest.ProtoReflect.Descriptor instead.
func (*AssignVirtualMachineToBackupOfferingRequest) GetInjectedJobId ¶
func (x *AssignVirtualMachineToBackupOfferingRequest) GetInjectedJobId() string
func (*AssignVirtualMachineToBackupOfferingRequest) GetOfferingId ¶
func (x *AssignVirtualMachineToBackupOfferingRequest) GetOfferingId() int64
func (*AssignVirtualMachineToBackupOfferingRequest) GetResponseType ¶
func (x *AssignVirtualMachineToBackupOfferingRequest) GetResponseType() string
func (*AssignVirtualMachineToBackupOfferingRequest) GetStartEventId ¶
func (x *AssignVirtualMachineToBackupOfferingRequest) GetStartEventId() int64
func (*AssignVirtualMachineToBackupOfferingRequest) GetVmId ¶
func (x *AssignVirtualMachineToBackupOfferingRequest) GetVmId() int64
func (*AssignVirtualMachineToBackupOfferingRequest) ProtoMessage ¶
func (*AssignVirtualMachineToBackupOfferingRequest) ProtoMessage()
func (*AssignVirtualMachineToBackupOfferingRequest) ProtoReflect ¶
func (x *AssignVirtualMachineToBackupOfferingRequest) ProtoReflect() protoreflect.Message
func (*AssignVirtualMachineToBackupOfferingRequest) Reset ¶
func (x *AssignVirtualMachineToBackupOfferingRequest) Reset()
func (*AssignVirtualMachineToBackupOfferingRequest) String ¶
func (x *AssignVirtualMachineToBackupOfferingRequest) String() string
type AssignVirtualMachineToBackupOfferingResponse ¶
type AssignVirtualMachineToBackupOfferingResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
AssignVirtualMachineToBackupOfferingResponse represents the response from assigns a vm to a backup offering
func (*AssignVirtualMachineToBackupOfferingResponse) Descriptor
deprecated
func (*AssignVirtualMachineToBackupOfferingResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignVirtualMachineToBackupOfferingResponse.ProtoReflect.Descriptor instead.
func (*AssignVirtualMachineToBackupOfferingResponse) GetResult ¶
func (x *AssignVirtualMachineToBackupOfferingResponse) GetResult() *Result
func (*AssignVirtualMachineToBackupOfferingResponse) ProtoMessage ¶
func (*AssignVirtualMachineToBackupOfferingResponse) ProtoMessage()
func (*AssignVirtualMachineToBackupOfferingResponse) ProtoReflect ¶
func (x *AssignVirtualMachineToBackupOfferingResponse) ProtoReflect() protoreflect.Message
func (*AssignVirtualMachineToBackupOfferingResponse) Reset ¶
func (x *AssignVirtualMachineToBackupOfferingResponse) Reset()
func (*AssignVirtualMachineToBackupOfferingResponse) String ¶
func (x *AssignVirtualMachineToBackupOfferingResponse) String() string
type Backup ¶
type Backup struct {
// The ID of the Backup
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the Backup
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the Backup
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the Backup
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
}
Backup represents a Backup Item
func (*Backup) Descriptor
deprecated
func (*Backup) GetCreated ¶
func (*Backup) GetDescription ¶
func (*Backup) GetDisplayName ¶
func (*Backup) ProtoMessage ¶
func (*Backup) ProtoMessage()
func (*Backup) ProtoReflect ¶
func (x *Backup) ProtoReflect() protoreflect.Message
type BackupOffering ¶
type BackupOffering struct {
// The ID of the BackupOffering
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the BackupOffering
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the BackupOffering
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the BackupOffering
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
}
BackupOffering represents a BackupOffering Item
func (*BackupOffering) Descriptor
deprecated
func (*BackupOffering) Descriptor() ([]byte, []int)
Deprecated: Use BackupOffering.ProtoReflect.Descriptor instead.
func (*BackupOffering) GetCreated ¶
func (x *BackupOffering) GetCreated() string
func (*BackupOffering) GetDescription ¶
func (x *BackupOffering) GetDescription() string
func (*BackupOffering) GetDisplayName ¶
func (x *BackupOffering) GetDisplayName() string
func (*BackupOffering) GetId ¶
func (x *BackupOffering) GetId() string
func (*BackupOffering) GetName ¶
func (x *BackupOffering) GetName() string
func (*BackupOffering) ProtoMessage ¶
func (*BackupOffering) ProtoMessage()
func (*BackupOffering) ProtoReflect ¶
func (x *BackupOffering) ProtoReflect() protoreflect.Message
func (*BackupOffering) Reset ¶
func (x *BackupOffering) Reset()
func (*BackupOffering) String ¶
func (x *BackupOffering) String() string
type BackupProvider ¶
type BackupProvider struct {
// The ID of the BackupProvider
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the BackupProvider
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the BackupProvider
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the BackupProvider
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
}
BackupProvider represents a BackupProvider Item
func (*BackupProvider) Descriptor
deprecated
func (*BackupProvider) Descriptor() ([]byte, []int)
Deprecated: Use BackupProvider.ProtoReflect.Descriptor instead.
func (*BackupProvider) GetCreated ¶
func (x *BackupProvider) GetCreated() string
func (*BackupProvider) GetDescription ¶
func (x *BackupProvider) GetDescription() string
func (*BackupProvider) GetDisplayName ¶
func (x *BackupProvider) GetDisplayName() string
func (*BackupProvider) GetId ¶
func (x *BackupProvider) GetId() string
func (*BackupProvider) GetName ¶
func (x *BackupProvider) GetName() string
func (*BackupProvider) ProtoMessage ¶
func (*BackupProvider) ProtoMessage()
func (*BackupProvider) ProtoReflect ¶
func (x *BackupProvider) ProtoReflect() protoreflect.Message
func (*BackupProvider) Reset ¶
func (x *BackupProvider) Reset()
func (*BackupProvider) String ¶
func (x *BackupProvider) String() string
type BackupSchedule ¶
type BackupSchedule struct {
// The ID of the BackupSchedule
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the BackupSchedule
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the BackupSchedule
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the BackupSchedule
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
}
BackupSchedule represents a BackupSchedule Item
func (*BackupSchedule) Descriptor
deprecated
func (*BackupSchedule) Descriptor() ([]byte, []int)
Deprecated: Use BackupSchedule.ProtoReflect.Descriptor instead.
func (*BackupSchedule) GetCreated ¶
func (x *BackupSchedule) GetCreated() string
func (*BackupSchedule) GetDescription ¶
func (x *BackupSchedule) GetDescription() string
func (*BackupSchedule) GetDisplayName ¶
func (x *BackupSchedule) GetDisplayName() string
func (*BackupSchedule) GetId ¶
func (x *BackupSchedule) GetId() string
func (*BackupSchedule) GetName ¶
func (x *BackupSchedule) GetName() string
func (*BackupSchedule) ProtoMessage ¶
func (*BackupSchedule) ProtoMessage()
func (*BackupSchedule) ProtoReflect ¶
func (x *BackupSchedule) ProtoReflect() protoreflect.Message
func (*BackupSchedule) Reset ¶
func (x *BackupSchedule) Reset()
func (*BackupSchedule) String ¶
func (x *BackupSchedule) String() string
type BackupServiceClient ¶
type BackupServiceClient interface {
// AssignVirtualMachineToBackupOffering Assigns a VM to a backup offering
AssignVirtualMachineToBackupOffering(ctx context.Context, in *AssignVirtualMachineToBackupOfferingRequest, opts ...grpc.CallOption) (*AssignVirtualMachineToBackupOfferingResponse, error)
// CreateBackup Create VM backup
CreateBackup(ctx context.Context, in *CreateBackupRequest, opts ...grpc.CallOption) (*CreateBackupResponse, error)
// CreateBackupSchedule Creates a user-defined VM backup schedule
CreateBackupSchedule(ctx context.Context, in *CreateBackupScheduleRequest, opts ...grpc.CallOption) (*CreateBackupScheduleResponse, error)
// DeleteBackup Delete VM backup
DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*DeleteBackupResponse, error)
// DeleteBackupOffering Deletes a backup offering
DeleteBackupOffering(ctx context.Context, in *DeleteBackupOfferingRequest, opts ...grpc.CallOption) (*DeleteBackupOfferingResponse, error)
// DeleteBackupSchedule Deletes the backup schedule of a VM
DeleteBackupSchedule(ctx context.Context, in *DeleteBackupScheduleRequest, opts ...grpc.CallOption) (*DeleteBackupScheduleResponse, error)
// ImportBackupOffering Imports a backup offering using a backup provider
ImportBackupOffering(ctx context.Context, in *ImportBackupOfferingRequest, opts ...grpc.CallOption) (*ImportBackupOfferingResponse, error)
// ListBackupOfferings Lists backup offerings
ListBackupOfferings(ctx context.Context, in *ListBackupOfferingsRequest, opts ...grpc.CallOption) (*ListBackupOfferingsResponse, error)
// ListBackupProviderOfferings Lists external backup offerings of the provider
ListBackupProviderOfferings(ctx context.Context, in *ListBackupProviderOfferingsRequest, opts ...grpc.CallOption) (*ListBackupProviderOfferingsResponse, error)
// ListBackupProviders Lists Backup and Recovery providers
ListBackupProviders(ctx context.Context, in *ListBackupProvidersRequest, opts ...grpc.CallOption) (*ListBackupProvidersResponse, error)
// ListBackupSchedule List backup schedule of a VM
ListBackupSchedule(ctx context.Context, in *ListBackupScheduleRequest, opts ...grpc.CallOption) (*ListBackupScheduleResponse, error)
// ListBackups Lists VM backups
ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
// RemoveVirtualMachineFromBackupOffering Removes a VM from any existing backup offering
RemoveVirtualMachineFromBackupOffering(ctx context.Context, in *RemoveVirtualMachineFromBackupOfferingRequest, opts ...grpc.CallOption) (*RemoveVirtualMachineFromBackupOfferingResponse, error)
// RestoreBackup Restores an existing stopped or deleted VM using a VM backup
RestoreBackup(ctx context.Context, in *RestoreBackupRequest, opts ...grpc.CallOption) (*RestoreBackupResponse, error)
// RestoreVolumeFromBackupAndAttachToVM Restore and attach a backed up volume to VM
RestoreVolumeFromBackupAndAttachToVM(ctx context.Context, in *RestoreVolumeFromBackupAndAttachToVMRequest, opts ...grpc.CallOption) (*RestoreVolumeFromBackupAndAttachToVMResponse, error)
// UpdateBackupOffering Updates a backup offering.
UpdateBackupOffering(ctx context.Context, in *UpdateBackupOfferingRequest, opts ...grpc.CallOption) (*UpdateBackupOfferingResponse, error)
// UpdateBackupSchedule Updates a user-defined VM backup schedule
UpdateBackupSchedule(ctx context.Context, in *UpdateBackupScheduleRequest, opts ...grpc.CallOption) (*UpdateBackupScheduleResponse, error)
}
BackupServiceClient is the client API for BackupService 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.
BackupService provides operations for managing Backups
func NewBackupServiceClient ¶
func NewBackupServiceClient(cc grpc.ClientConnInterface) BackupServiceClient
type BackupServiceServer ¶
type BackupServiceServer interface {
// AssignVirtualMachineToBackupOffering Assigns a VM to a backup offering
AssignVirtualMachineToBackupOffering(context.Context, *AssignVirtualMachineToBackupOfferingRequest) (*AssignVirtualMachineToBackupOfferingResponse, error)
// CreateBackup Create VM backup
CreateBackup(context.Context, *CreateBackupRequest) (*CreateBackupResponse, error)
// CreateBackupSchedule Creates a user-defined VM backup schedule
CreateBackupSchedule(context.Context, *CreateBackupScheduleRequest) (*CreateBackupScheduleResponse, error)
// DeleteBackup Delete VM backup
DeleteBackup(context.Context, *DeleteBackupRequest) (*DeleteBackupResponse, error)
// DeleteBackupOffering Deletes a backup offering
DeleteBackupOffering(context.Context, *DeleteBackupOfferingRequest) (*DeleteBackupOfferingResponse, error)
// DeleteBackupSchedule Deletes the backup schedule of a VM
DeleteBackupSchedule(context.Context, *DeleteBackupScheduleRequest) (*DeleteBackupScheduleResponse, error)
// ImportBackupOffering Imports a backup offering using a backup provider
ImportBackupOffering(context.Context, *ImportBackupOfferingRequest) (*ImportBackupOfferingResponse, error)
// ListBackupOfferings Lists backup offerings
ListBackupOfferings(context.Context, *ListBackupOfferingsRequest) (*ListBackupOfferingsResponse, error)
// ListBackupProviderOfferings Lists external backup offerings of the provider
ListBackupProviderOfferings(context.Context, *ListBackupProviderOfferingsRequest) (*ListBackupProviderOfferingsResponse, error)
// ListBackupProviders Lists Backup and Recovery providers
ListBackupProviders(context.Context, *ListBackupProvidersRequest) (*ListBackupProvidersResponse, error)
// ListBackupSchedule List backup schedule of a VM
ListBackupSchedule(context.Context, *ListBackupScheduleRequest) (*ListBackupScheduleResponse, error)
// ListBackups Lists VM backups
ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
// RemoveVirtualMachineFromBackupOffering Removes a VM from any existing backup offering
RemoveVirtualMachineFromBackupOffering(context.Context, *RemoveVirtualMachineFromBackupOfferingRequest) (*RemoveVirtualMachineFromBackupOfferingResponse, error)
// RestoreBackup Restores an existing stopped or deleted VM using a VM backup
RestoreBackup(context.Context, *RestoreBackupRequest) (*RestoreBackupResponse, error)
// RestoreVolumeFromBackupAndAttachToVM Restore and attach a backed up volume to VM
RestoreVolumeFromBackupAndAttachToVM(context.Context, *RestoreVolumeFromBackupAndAttachToVMRequest) (*RestoreVolumeFromBackupAndAttachToVMResponse, error)
// UpdateBackupOffering Updates a backup offering.
UpdateBackupOffering(context.Context, *UpdateBackupOfferingRequest) (*UpdateBackupOfferingResponse, error)
// UpdateBackupSchedule Updates a user-defined VM backup schedule
UpdateBackupSchedule(context.Context, *UpdateBackupScheduleRequest) (*UpdateBackupScheduleResponse, error)
// contains filtered or unexported methods
}
BackupServiceServer is the server API for BackupService service. All implementations must embed UnimplementedBackupServiceServer for forward compatibility.
BackupService provides operations for managing Backups
type CreateBackupRequest ¶
type CreateBackupRequest struct {
// ID of the VM
VmId *int64 `protobuf:"varint,1,opt,name=vm_id,json=vmId" json:"vm_id,omitempty"`
// backup schedule ID of the VM, if this is null, it indicates that it is a manual backup.
ScheduleId *int64 `protobuf:"varint,2,opt,name=schedule_id,json=scheduleId" json:"schedule_id,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
}
CreateBackupRequest represents the parameters for create vm backup
func (*CreateBackupRequest) Descriptor
deprecated
func (*CreateBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBackupRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupRequest) GetInjectedJobId ¶
func (x *CreateBackupRequest) GetInjectedJobId() string
func (*CreateBackupRequest) GetResponseType ¶
func (x *CreateBackupRequest) GetResponseType() string
func (*CreateBackupRequest) GetScheduleId ¶
func (x *CreateBackupRequest) GetScheduleId() int64
func (*CreateBackupRequest) GetStartEventId ¶
func (x *CreateBackupRequest) GetStartEventId() int64
func (*CreateBackupRequest) GetVmId ¶
func (x *CreateBackupRequest) GetVmId() int64
func (*CreateBackupRequest) ProtoMessage ¶
func (*CreateBackupRequest) ProtoMessage()
func (*CreateBackupRequest) ProtoReflect ¶
func (x *CreateBackupRequest) ProtoReflect() protoreflect.Message
func (*CreateBackupRequest) Reset ¶
func (x *CreateBackupRequest) Reset()
func (*CreateBackupRequest) String ¶
func (x *CreateBackupRequest) String() string
type CreateBackupResponse ¶
type CreateBackupResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
CreateBackupResponse represents the response from create vm backup
func (*CreateBackupResponse) Descriptor
deprecated
func (*CreateBackupResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBackupResponse.ProtoReflect.Descriptor instead.
func (*CreateBackupResponse) GetResult ¶
func (x *CreateBackupResponse) GetResult() *Result
func (*CreateBackupResponse) ProtoMessage ¶
func (*CreateBackupResponse) ProtoMessage()
func (*CreateBackupResponse) ProtoReflect ¶
func (x *CreateBackupResponse) ProtoReflect() protoreflect.Message
func (*CreateBackupResponse) Reset ¶
func (x *CreateBackupResponse) Reset()
func (*CreateBackupResponse) String ¶
func (x *CreateBackupResponse) String() string
type CreateBackupScheduleRequest ¶
type CreateBackupScheduleRequest struct {
// ID of the VM for which schedule is to be defined
VmId *int64 `protobuf:"varint,1,opt,name=vm_id,json=vmId" json:"vm_id,omitempty"`
// valid values are HOURLY, DAILY, WEEKLY, and MONTHLY
IntervalType *string `protobuf:"bytes,2,opt,name=interval_type,json=intervalType" json:"interval_type,omitempty"`
// custom backup schedule, the format is:for HOURLY MM*, for DAILY MM:HH*, for WEEKLY MM:HH:DD (1-7)*, for MONTHLY MM:HH:DD (1-28)
Schedule *string `protobuf:"bytes,3,opt,name=schedule" json:"schedule,omitempty"`
// Specifies a timezone for this command. For more information on the timezone parameter, see TimeZone Format.
Timezone *string `protobuf:"bytes,4,opt,name=timezone" json:"timezone,omitempty"`
// maximum number of backups to retain
MaxBackups *int32 `protobuf:"varint,5,opt,name=max_backups,json=maxBackups" json:"max_backups,omitempty"`
ResponseType *string `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
CreateBackupScheduleRequest represents the parameters for creates a user-defined vm backup schedule
func (*CreateBackupScheduleRequest) Descriptor
deprecated
func (*CreateBackupScheduleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBackupScheduleRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupScheduleRequest) GetIntervalType ¶
func (x *CreateBackupScheduleRequest) GetIntervalType() string
func (*CreateBackupScheduleRequest) GetMaxBackups ¶
func (x *CreateBackupScheduleRequest) GetMaxBackups() int32
func (*CreateBackupScheduleRequest) GetResponseType ¶
func (x *CreateBackupScheduleRequest) GetResponseType() string
func (*CreateBackupScheduleRequest) GetSchedule ¶
func (x *CreateBackupScheduleRequest) GetSchedule() string
func (*CreateBackupScheduleRequest) GetTimezone ¶
func (x *CreateBackupScheduleRequest) GetTimezone() string
func (*CreateBackupScheduleRequest) GetVmId ¶
func (x *CreateBackupScheduleRequest) GetVmId() int64
func (*CreateBackupScheduleRequest) ProtoMessage ¶
func (*CreateBackupScheduleRequest) ProtoMessage()
func (*CreateBackupScheduleRequest) ProtoReflect ¶
func (x *CreateBackupScheduleRequest) ProtoReflect() protoreflect.Message
func (*CreateBackupScheduleRequest) Reset ¶
func (x *CreateBackupScheduleRequest) Reset()
func (*CreateBackupScheduleRequest) String ¶
func (x *CreateBackupScheduleRequest) String() string
type CreateBackupScheduleResponse ¶
type CreateBackupScheduleResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
CreateBackupScheduleResponse represents the response from creates a user-defined vm backup schedule
func (*CreateBackupScheduleResponse) Descriptor
deprecated
func (*CreateBackupScheduleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBackupScheduleResponse.ProtoReflect.Descriptor instead.
func (*CreateBackupScheduleResponse) GetResult ¶
func (x *CreateBackupScheduleResponse) GetResult() *Result
func (*CreateBackupScheduleResponse) ProtoMessage ¶
func (*CreateBackupScheduleResponse) ProtoMessage()
func (*CreateBackupScheduleResponse) ProtoReflect ¶
func (x *CreateBackupScheduleResponse) ProtoReflect() protoreflect.Message
func (*CreateBackupScheduleResponse) Reset ¶
func (x *CreateBackupScheduleResponse) Reset()
func (*CreateBackupScheduleResponse) String ¶
func (x *CreateBackupScheduleResponse) String() string
type DeleteBackupOfferingRequest ¶
type DeleteBackupOfferingRequest struct {
// ID of the backup offering
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
ResponseType *string `protobuf:"bytes,2,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
DeleteBackupOfferingRequest represents the parameters for deletes a backup offering
func (*DeleteBackupOfferingRequest) Descriptor
deprecated
func (*DeleteBackupOfferingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupOfferingRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupOfferingRequest) GetId ¶
func (x *DeleteBackupOfferingRequest) GetId() int64
func (*DeleteBackupOfferingRequest) GetResponseType ¶
func (x *DeleteBackupOfferingRequest) GetResponseType() string
func (*DeleteBackupOfferingRequest) ProtoMessage ¶
func (*DeleteBackupOfferingRequest) ProtoMessage()
func (*DeleteBackupOfferingRequest) ProtoReflect ¶
func (x *DeleteBackupOfferingRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupOfferingRequest) Reset ¶
func (x *DeleteBackupOfferingRequest) Reset()
func (*DeleteBackupOfferingRequest) String ¶
func (x *DeleteBackupOfferingRequest) String() string
type DeleteBackupOfferingResponse ¶
type DeleteBackupOfferingResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
DeleteBackupOfferingResponse represents the response from deletes a backup offering
func (*DeleteBackupOfferingResponse) Descriptor
deprecated
func (*DeleteBackupOfferingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupOfferingResponse.ProtoReflect.Descriptor instead.
func (*DeleteBackupOfferingResponse) GetResult ¶
func (x *DeleteBackupOfferingResponse) GetResult() *Result
func (*DeleteBackupOfferingResponse) ProtoMessage ¶
func (*DeleteBackupOfferingResponse) ProtoMessage()
func (*DeleteBackupOfferingResponse) ProtoReflect ¶
func (x *DeleteBackupOfferingResponse) ProtoReflect() protoreflect.Message
func (*DeleteBackupOfferingResponse) Reset ¶
func (x *DeleteBackupOfferingResponse) Reset()
func (*DeleteBackupOfferingResponse) String ¶
func (x *DeleteBackupOfferingResponse) String() string
type DeleteBackupRequest ¶
type DeleteBackupRequest struct {
// id of the VM backup
BackupId *int64 `protobuf:"varint,1,opt,name=backup_id,json=backupId" json:"backup_id,omitempty"`
// force the deletion of backup which removes the entire backup chain but keep VM in Backup Offering
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
}
DeleteBackupRequest represents the parameters for delete vm backup
func (*DeleteBackupRequest) Descriptor
deprecated
func (*DeleteBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupRequest) GetBackupId ¶
func (x *DeleteBackupRequest) GetBackupId() int64
func (*DeleteBackupRequest) GetForced ¶
func (x *DeleteBackupRequest) GetForced() bool
func (*DeleteBackupRequest) GetInjectedJobId ¶
func (x *DeleteBackupRequest) GetInjectedJobId() string
func (*DeleteBackupRequest) GetResponseType ¶
func (x *DeleteBackupRequest) GetResponseType() string
func (*DeleteBackupRequest) GetStartEventId ¶
func (x *DeleteBackupRequest) GetStartEventId() int64
func (*DeleteBackupRequest) ProtoMessage ¶
func (*DeleteBackupRequest) ProtoMessage()
func (*DeleteBackupRequest) ProtoReflect ¶
func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupRequest) Reset ¶
func (x *DeleteBackupRequest) Reset()
func (*DeleteBackupRequest) String ¶
func (x *DeleteBackupRequest) String() string
type DeleteBackupResponse ¶
type DeleteBackupResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
DeleteBackupResponse represents the response from delete vm backup
func (*DeleteBackupResponse) Descriptor
deprecated
func (*DeleteBackupResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupResponse.ProtoReflect.Descriptor instead.
func (*DeleteBackupResponse) GetResult ¶
func (x *DeleteBackupResponse) GetResult() *Result
func (*DeleteBackupResponse) ProtoMessage ¶
func (*DeleteBackupResponse) ProtoMessage()
func (*DeleteBackupResponse) ProtoReflect ¶
func (x *DeleteBackupResponse) ProtoReflect() protoreflect.Message
func (*DeleteBackupResponse) Reset ¶
func (x *DeleteBackupResponse) Reset()
func (*DeleteBackupResponse) String ¶
func (x *DeleteBackupResponse) String() string
type DeleteBackupScheduleRequest ¶
type DeleteBackupScheduleRequest struct {
// ID of the VM
VmId *int64 `protobuf:"varint,1,opt,name=vm_id,json=vmId" json:"vm_id,omitempty"`
// ID of the schedule
Id *int64 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
ResponseType *string `protobuf:"bytes,3,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
DeleteBackupScheduleRequest represents the parameters for deletes the backup schedule of a vm
func (*DeleteBackupScheduleRequest) Descriptor
deprecated
func (*DeleteBackupScheduleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupScheduleRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupScheduleRequest) GetId ¶
func (x *DeleteBackupScheduleRequest) GetId() int64
func (*DeleteBackupScheduleRequest) GetResponseType ¶
func (x *DeleteBackupScheduleRequest) GetResponseType() string
func (*DeleteBackupScheduleRequest) GetVmId ¶
func (x *DeleteBackupScheduleRequest) GetVmId() int64
func (*DeleteBackupScheduleRequest) ProtoMessage ¶
func (*DeleteBackupScheduleRequest) ProtoMessage()
func (*DeleteBackupScheduleRequest) ProtoReflect ¶
func (x *DeleteBackupScheduleRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupScheduleRequest) Reset ¶
func (x *DeleteBackupScheduleRequest) Reset()
func (*DeleteBackupScheduleRequest) String ¶
func (x *DeleteBackupScheduleRequest) String() string
type DeleteBackupScheduleResponse ¶
type DeleteBackupScheduleResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
DeleteBackupScheduleResponse represents the response from deletes the backup schedule of a vm
func (*DeleteBackupScheduleResponse) Descriptor
deprecated
func (*DeleteBackupScheduleResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupScheduleResponse.ProtoReflect.Descriptor instead.
func (*DeleteBackupScheduleResponse) GetResult ¶
func (x *DeleteBackupScheduleResponse) GetResult() *Result
func (*DeleteBackupScheduleResponse) ProtoMessage ¶
func (*DeleteBackupScheduleResponse) ProtoMessage()
func (*DeleteBackupScheduleResponse) ProtoReflect ¶
func (x *DeleteBackupScheduleResponse) ProtoReflect() protoreflect.Message
func (*DeleteBackupScheduleResponse) Reset ¶
func (x *DeleteBackupScheduleResponse) Reset()
func (*DeleteBackupScheduleResponse) String ¶
func (x *DeleteBackupScheduleResponse) String() string
type ImportBackupOfferingRequest ¶
type ImportBackupOfferingRequest struct {
// the name of the backup offering
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// the description of the backup offering
Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
// The backup offering ID (from backup provider side)
ExternalId *string `protobuf:"bytes,3,opt,name=external_id,json=externalId" json:"external_id,omitempty"`
// The zone ID
ZoneId *int64 `protobuf:"varint,4,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
// Whether users are allowed to create adhoc backups and backup schedules
UserDrivenBackups *bool `protobuf:"varint,5,opt,name=user_driven_backups,json=userDrivenBackups" json:"user_driven_backups,omitempty"`
StartEventId *int64 `protobuf:"varint,6,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
InjectedJobId *string `protobuf:"bytes,7,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
ResponseType *string `protobuf:"bytes,8,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ImportBackupOfferingRequest represents the parameters for imports a backup offering using a backup provider
func (*ImportBackupOfferingRequest) Descriptor
deprecated
func (*ImportBackupOfferingRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportBackupOfferingRequest.ProtoReflect.Descriptor instead.
func (*ImportBackupOfferingRequest) GetDescription ¶
func (x *ImportBackupOfferingRequest) GetDescription() string
func (*ImportBackupOfferingRequest) GetExternalId ¶
func (x *ImportBackupOfferingRequest) GetExternalId() string
func (*ImportBackupOfferingRequest) GetInjectedJobId ¶
func (x *ImportBackupOfferingRequest) GetInjectedJobId() string
func (*ImportBackupOfferingRequest) GetName ¶
func (x *ImportBackupOfferingRequest) GetName() string
func (*ImportBackupOfferingRequest) GetResponseType ¶
func (x *ImportBackupOfferingRequest) GetResponseType() string
func (*ImportBackupOfferingRequest) GetStartEventId ¶
func (x *ImportBackupOfferingRequest) GetStartEventId() int64
func (*ImportBackupOfferingRequest) GetUserDrivenBackups ¶
func (x *ImportBackupOfferingRequest) GetUserDrivenBackups() bool
func (*ImportBackupOfferingRequest) GetZoneId ¶
func (x *ImportBackupOfferingRequest) GetZoneId() int64
func (*ImportBackupOfferingRequest) ProtoMessage ¶
func (*ImportBackupOfferingRequest) ProtoMessage()
func (*ImportBackupOfferingRequest) ProtoReflect ¶
func (x *ImportBackupOfferingRequest) ProtoReflect() protoreflect.Message
func (*ImportBackupOfferingRequest) Reset ¶
func (x *ImportBackupOfferingRequest) Reset()
func (*ImportBackupOfferingRequest) String ¶
func (x *ImportBackupOfferingRequest) String() string
type ImportBackupOfferingResponse ¶
type ImportBackupOfferingResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
ImportBackupOfferingResponse represents the response from imports a backup offering using a backup provider
func (*ImportBackupOfferingResponse) Descriptor
deprecated
func (*ImportBackupOfferingResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportBackupOfferingResponse.ProtoReflect.Descriptor instead.
func (*ImportBackupOfferingResponse) GetResult ¶
func (x *ImportBackupOfferingResponse) GetResult() *Result
func (*ImportBackupOfferingResponse) ProtoMessage ¶
func (*ImportBackupOfferingResponse) ProtoMessage()
func (*ImportBackupOfferingResponse) ProtoReflect ¶
func (x *ImportBackupOfferingResponse) ProtoReflect() protoreflect.Message
func (*ImportBackupOfferingResponse) Reset ¶
func (x *ImportBackupOfferingResponse) Reset()
func (*ImportBackupOfferingResponse) String ¶
func (x *ImportBackupOfferingResponse) String() string
type IntervalType ¶
type IntervalType int32
IntervalType represents the possible values for valid values are HOURLY, DAILY, WEEKLY, and MONTHLY
const ( // Default unspecified value IntervalType_INTERVAL_TYPE_UNSPECIFIED IntervalType = 0 // DAILY value IntervalType_INTERVAL_TYPE_DAILY IntervalType = 1 // HOURLY value IntervalType_INTERVAL_TYPE_HOURLY IntervalType = 2 // WEEKLY value IntervalType_INTERVAL_TYPE_WEEKLY IntervalType = 3 )
func (IntervalType) Descriptor ¶
func (IntervalType) Descriptor() protoreflect.EnumDescriptor
func (IntervalType) Enum ¶
func (x IntervalType) Enum() *IntervalType
func (IntervalType) EnumDescriptor
deprecated
func (IntervalType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IntervalType.Descriptor instead.
func (IntervalType) Number ¶
func (x IntervalType) Number() protoreflect.EnumNumber
func (IntervalType) String ¶
func (x IntervalType) String() string
func (IntervalType) Type ¶
func (IntervalType) Type() protoreflect.EnumType
type ListBackupOfferingsRequest ¶
type ListBackupOfferingsRequest struct {
// The backup offering ID
OfferingId *int64 `protobuf:"varint,1,opt,name=offering_id,json=offeringId" json:"offering_id,omitempty"`
// The zone ID
ZoneId *int64 `protobuf:"varint,2,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
// List by keyword
Keyword *string `protobuf:"bytes,3,opt,name=keyword" json:"keyword,omitempty"`
Page *int32 `protobuf:"varint,4,opt,name=page" json:"page,omitempty"`
PageSize *int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
ResponseType *string `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListBackupOfferingsRequest represents the parameters for lists backup offerings
func (*ListBackupOfferingsRequest) Descriptor
deprecated
func (*ListBackupOfferingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupOfferingsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupOfferingsRequest) GetKeyword ¶
func (x *ListBackupOfferingsRequest) GetKeyword() string
func (*ListBackupOfferingsRequest) GetOfferingId ¶
func (x *ListBackupOfferingsRequest) GetOfferingId() int64
func (*ListBackupOfferingsRequest) GetPage ¶
func (x *ListBackupOfferingsRequest) GetPage() int32
func (*ListBackupOfferingsRequest) GetPageSize ¶
func (x *ListBackupOfferingsRequest) GetPageSize() int32
func (*ListBackupOfferingsRequest) GetResponseType ¶
func (x *ListBackupOfferingsRequest) GetResponseType() string
func (*ListBackupOfferingsRequest) GetZoneId ¶
func (x *ListBackupOfferingsRequest) GetZoneId() int64
func (*ListBackupOfferingsRequest) ProtoMessage ¶
func (*ListBackupOfferingsRequest) ProtoMessage()
func (*ListBackupOfferingsRequest) ProtoReflect ¶
func (x *ListBackupOfferingsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupOfferingsRequest) Reset ¶
func (x *ListBackupOfferingsRequest) Reset()
func (*ListBackupOfferingsRequest) String ¶
func (x *ListBackupOfferingsRequest) String() string
type ListBackupOfferingsResponse ¶
type ListBackupOfferingsResponse struct {
// The list of BackupOfferings
Items []*BackupOffering `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of BackupOfferings
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListBackupOfferingsResponse represents the response from lists backup offerings
func (*ListBackupOfferingsResponse) Descriptor
deprecated
func (*ListBackupOfferingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupOfferingsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupOfferingsResponse) GetItems ¶
func (x *ListBackupOfferingsResponse) GetItems() []*BackupOffering
func (*ListBackupOfferingsResponse) GetTotalCount ¶
func (x *ListBackupOfferingsResponse) GetTotalCount() int32
func (*ListBackupOfferingsResponse) ProtoMessage ¶
func (*ListBackupOfferingsResponse) ProtoMessage()
func (*ListBackupOfferingsResponse) ProtoReflect ¶
func (x *ListBackupOfferingsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupOfferingsResponse) Reset ¶
func (x *ListBackupOfferingsResponse) Reset()
func (*ListBackupOfferingsResponse) String ¶
func (x *ListBackupOfferingsResponse) String() string
type ListBackupProviderOfferingsRequest ¶
type ListBackupProviderOfferingsRequest struct {
// The zone ID
ZoneId *int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
// List by keyword
Keyword *string `protobuf:"bytes,2,opt,name=keyword" json:"keyword,omitempty"`
Page *int32 `protobuf:"varint,3,opt,name=page" json:"page,omitempty"`
PageSize *int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
ResponseType *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListBackupProviderOfferingsRequest represents the parameters for lists external backup offerings of the provider
func (*ListBackupProviderOfferingsRequest) Descriptor
deprecated
func (*ListBackupProviderOfferingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupProviderOfferingsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupProviderOfferingsRequest) GetKeyword ¶
func (x *ListBackupProviderOfferingsRequest) GetKeyword() string
func (*ListBackupProviderOfferingsRequest) GetPage ¶
func (x *ListBackupProviderOfferingsRequest) GetPage() int32
func (*ListBackupProviderOfferingsRequest) GetPageSize ¶
func (x *ListBackupProviderOfferingsRequest) GetPageSize() int32
func (*ListBackupProviderOfferingsRequest) GetResponseType ¶
func (x *ListBackupProviderOfferingsRequest) GetResponseType() string
func (*ListBackupProviderOfferingsRequest) GetZoneId ¶
func (x *ListBackupProviderOfferingsRequest) GetZoneId() int64
func (*ListBackupProviderOfferingsRequest) ProtoMessage ¶
func (*ListBackupProviderOfferingsRequest) ProtoMessage()
func (*ListBackupProviderOfferingsRequest) ProtoReflect ¶
func (x *ListBackupProviderOfferingsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupProviderOfferingsRequest) Reset ¶
func (x *ListBackupProviderOfferingsRequest) Reset()
func (*ListBackupProviderOfferingsRequest) String ¶
func (x *ListBackupProviderOfferingsRequest) String() string
type ListBackupProviderOfferingsResponse ¶
type ListBackupProviderOfferingsResponse struct {
// The list of BackupOfferings
Items []*BackupOffering `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of BackupOfferings
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListBackupProviderOfferingsResponse represents the response from lists external backup offerings of the provider
func (*ListBackupProviderOfferingsResponse) Descriptor
deprecated
func (*ListBackupProviderOfferingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupProviderOfferingsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupProviderOfferingsResponse) GetItems ¶
func (x *ListBackupProviderOfferingsResponse) GetItems() []*BackupOffering
func (*ListBackupProviderOfferingsResponse) GetTotalCount ¶
func (x *ListBackupProviderOfferingsResponse) GetTotalCount() int32
func (*ListBackupProviderOfferingsResponse) ProtoMessage ¶
func (*ListBackupProviderOfferingsResponse) ProtoMessage()
func (*ListBackupProviderOfferingsResponse) ProtoReflect ¶
func (x *ListBackupProviderOfferingsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupProviderOfferingsResponse) Reset ¶
func (x *ListBackupProviderOfferingsResponse) Reset()
func (*ListBackupProviderOfferingsResponse) String ¶
func (x *ListBackupProviderOfferingsResponse) String() string
type ListBackupProvidersRequest ¶
type ListBackupProvidersRequest struct {
// List Backup and Recovery provider by name
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
ResponseType *string `protobuf:"bytes,2,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListBackupProvidersRequest represents the parameters for lists backup and recovery providers
func (*ListBackupProvidersRequest) Descriptor
deprecated
func (*ListBackupProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupProvidersRequest.ProtoReflect.Descriptor instead.
func (*ListBackupProvidersRequest) GetName ¶
func (x *ListBackupProvidersRequest) GetName() string
func (*ListBackupProvidersRequest) GetResponseType ¶
func (x *ListBackupProvidersRequest) GetResponseType() string
func (*ListBackupProvidersRequest) ProtoMessage ¶
func (*ListBackupProvidersRequest) ProtoMessage()
func (*ListBackupProvidersRequest) ProtoReflect ¶
func (x *ListBackupProvidersRequest) ProtoReflect() protoreflect.Message
func (*ListBackupProvidersRequest) Reset ¶
func (x *ListBackupProvidersRequest) Reset()
func (*ListBackupProvidersRequest) String ¶
func (x *ListBackupProvidersRequest) String() string
type ListBackupProvidersResponse ¶
type ListBackupProvidersResponse struct {
// The list of BackupProviders
Items []*BackupProvider `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of BackupProviders
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListBackupProvidersResponse represents the response from lists backup and recovery providers
func (*ListBackupProvidersResponse) Descriptor
deprecated
func (*ListBackupProvidersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupProvidersResponse.ProtoReflect.Descriptor instead.
func (*ListBackupProvidersResponse) GetItems ¶
func (x *ListBackupProvidersResponse) GetItems() []*BackupProvider
func (*ListBackupProvidersResponse) GetTotalCount ¶
func (x *ListBackupProvidersResponse) GetTotalCount() int32
func (*ListBackupProvidersResponse) ProtoMessage ¶
func (*ListBackupProvidersResponse) ProtoMessage()
func (*ListBackupProvidersResponse) ProtoReflect ¶
func (x *ListBackupProvidersResponse) ProtoReflect() protoreflect.Message
func (*ListBackupProvidersResponse) Reset ¶
func (x *ListBackupProvidersResponse) Reset()
func (*ListBackupProvidersResponse) String ¶
func (x *ListBackupProvidersResponse) String() string
type ListBackupScheduleRequest ¶
type ListBackupScheduleRequest struct {
// ID of the VM
VmId *int64 `protobuf:"varint,1,opt,name=vm_id,json=vmId" json:"vm_id,omitempty"`
ResponseType *string `protobuf:"bytes,2,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListBackupScheduleRequest represents the parameters for list backup schedule of a vm
func (*ListBackupScheduleRequest) Descriptor
deprecated
func (*ListBackupScheduleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupScheduleRequest.ProtoReflect.Descriptor instead.
func (*ListBackupScheduleRequest) GetResponseType ¶
func (x *ListBackupScheduleRequest) GetResponseType() string
func (*ListBackupScheduleRequest) GetVmId ¶
func (x *ListBackupScheduleRequest) GetVmId() int64
func (*ListBackupScheduleRequest) ProtoMessage ¶
func (*ListBackupScheduleRequest) ProtoMessage()
func (*ListBackupScheduleRequest) ProtoReflect ¶
func (x *ListBackupScheduleRequest) ProtoReflect() protoreflect.Message
func (*ListBackupScheduleRequest) Reset ¶
func (x *ListBackupScheduleRequest) Reset()
func (*ListBackupScheduleRequest) String ¶
func (x *ListBackupScheduleRequest) String() string
type ListBackupScheduleResponse ¶
type ListBackupScheduleResponse struct {
// The list of BackupSchedules
Items []*BackupSchedule `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of BackupSchedules
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListBackupScheduleResponse represents the response from list backup schedule of a vm
func (*ListBackupScheduleResponse) Descriptor
deprecated
func (*ListBackupScheduleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupScheduleResponse.ProtoReflect.Descriptor instead.
func (*ListBackupScheduleResponse) GetItems ¶
func (x *ListBackupScheduleResponse) GetItems() []*BackupSchedule
func (*ListBackupScheduleResponse) GetTotalCount ¶
func (x *ListBackupScheduleResponse) GetTotalCount() int32
func (*ListBackupScheduleResponse) ProtoMessage ¶
func (*ListBackupScheduleResponse) ProtoMessage()
func (*ListBackupScheduleResponse) ProtoReflect ¶
func (x *ListBackupScheduleResponse) ProtoReflect() protoreflect.Message
func (*ListBackupScheduleResponse) Reset ¶
func (x *ListBackupScheduleResponse) Reset()
func (*ListBackupScheduleResponse) String ¶
func (x *ListBackupScheduleResponse) String() string
type ListBackupsRequest ¶
type ListBackupsRequest struct {
// id of the backup
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// id of the VM
VmId *int64 `protobuf:"varint,2,opt,name=vm_id,json=vmId" json:"vm_id,omitempty"`
// list backups by zone id
ZoneId *int64 `protobuf:"varint,3,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
// list objects by project; if projectid=-1 lists All VMs
ProjectId *int64 `protobuf:"varint,4,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
// list resources by account. Must be used with the domainId parameter.
AccountName *string `protobuf:"bytes,5,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
// If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false. Resources dedicated to a project are listed only if using the projectid parameter.
ListAll *bool `protobuf:"varint,6,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
// list only resources belonging to the domain specified
DomainId *int64 `protobuf:"varint,7,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
// defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.
Recursive *bool `protobuf:"varint,8,opt,name=recursive" json:"recursive,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
}
ListBackupsRequest represents the parameters for lists vm backups
func (*ListBackupsRequest) Descriptor
deprecated
func (*ListBackupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupsRequest) GetAccountName ¶
func (x *ListBackupsRequest) GetAccountName() string
func (*ListBackupsRequest) GetDomainId ¶
func (x *ListBackupsRequest) GetDomainId() int64
func (*ListBackupsRequest) GetId ¶
func (x *ListBackupsRequest) GetId() int64
func (*ListBackupsRequest) GetKeyword ¶
func (x *ListBackupsRequest) GetKeyword() string
func (*ListBackupsRequest) GetListAll ¶
func (x *ListBackupsRequest) GetListAll() bool
func (*ListBackupsRequest) GetPage ¶
func (x *ListBackupsRequest) GetPage() int32
func (*ListBackupsRequest) GetPageSize ¶
func (x *ListBackupsRequest) GetPageSize() int32
func (*ListBackupsRequest) GetProjectId ¶
func (x *ListBackupsRequest) GetProjectId() int64
func (*ListBackupsRequest) GetRecursive ¶
func (x *ListBackupsRequest) GetRecursive() bool
func (*ListBackupsRequest) GetResponseType ¶
func (x *ListBackupsRequest) GetResponseType() string
func (*ListBackupsRequest) GetVmId ¶
func (x *ListBackupsRequest) GetVmId() int64
func (*ListBackupsRequest) GetZoneId ¶
func (x *ListBackupsRequest) GetZoneId() int64
func (*ListBackupsRequest) ProtoMessage ¶
func (*ListBackupsRequest) ProtoMessage()
func (*ListBackupsRequest) ProtoReflect ¶
func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupsRequest) Reset ¶
func (x *ListBackupsRequest) Reset()
func (*ListBackupsRequest) String ¶
func (x *ListBackupsRequest) String() string
type ListBackupsResponse ¶
type ListBackupsResponse struct {
// The list of Backups
Items []*Backup `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of Backups
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListBackupsResponse represents the response from lists vm backups
func (*ListBackupsResponse) Descriptor
deprecated
func (*ListBackupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupsResponse) GetItems ¶
func (x *ListBackupsResponse) GetItems() []*Backup
func (*ListBackupsResponse) GetTotalCount ¶
func (x *ListBackupsResponse) GetTotalCount() int32
func (*ListBackupsResponse) ProtoMessage ¶
func (*ListBackupsResponse) ProtoMessage()
func (*ListBackupsResponse) ProtoReflect ¶
func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupsResponse) Reset ¶
func (x *ListBackupsResponse) Reset()
func (*ListBackupsResponse) String ¶
func (x *ListBackupsResponse) String() string
type RemoveVirtualMachineFromBackupOfferingRequest ¶
type RemoveVirtualMachineFromBackupOfferingRequest struct {
// ID of the virtual machine
VmId *int64 `protobuf:"varint,1,opt,name=vm_id,json=vmId" json:"vm_id,omitempty"`
// Whether to force remove VM from the backup offering that may also delete VM backups.
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
}
RemoveVirtualMachineFromBackupOfferingRequest represents the parameters for removes a vm from any existing backup offering
func (*RemoveVirtualMachineFromBackupOfferingRequest) Descriptor
deprecated
func (*RemoveVirtualMachineFromBackupOfferingRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveVirtualMachineFromBackupOfferingRequest.ProtoReflect.Descriptor instead.
func (*RemoveVirtualMachineFromBackupOfferingRequest) GetForced ¶
func (x *RemoveVirtualMachineFromBackupOfferingRequest) GetForced() bool
func (*RemoveVirtualMachineFromBackupOfferingRequest) GetInjectedJobId ¶
func (x *RemoveVirtualMachineFromBackupOfferingRequest) GetInjectedJobId() string
func (*RemoveVirtualMachineFromBackupOfferingRequest) GetResponseType ¶
func (x *RemoveVirtualMachineFromBackupOfferingRequest) GetResponseType() string
func (*RemoveVirtualMachineFromBackupOfferingRequest) GetStartEventId ¶
func (x *RemoveVirtualMachineFromBackupOfferingRequest) GetStartEventId() int64
func (*RemoveVirtualMachineFromBackupOfferingRequest) GetVmId ¶
func (x *RemoveVirtualMachineFromBackupOfferingRequest) GetVmId() int64
func (*RemoveVirtualMachineFromBackupOfferingRequest) ProtoMessage ¶
func (*RemoveVirtualMachineFromBackupOfferingRequest) ProtoMessage()
func (*RemoveVirtualMachineFromBackupOfferingRequest) ProtoReflect ¶
func (x *RemoveVirtualMachineFromBackupOfferingRequest) ProtoReflect() protoreflect.Message
func (*RemoveVirtualMachineFromBackupOfferingRequest) Reset ¶
func (x *RemoveVirtualMachineFromBackupOfferingRequest) Reset()
func (*RemoveVirtualMachineFromBackupOfferingRequest) String ¶
func (x *RemoveVirtualMachineFromBackupOfferingRequest) String() string
type RemoveVirtualMachineFromBackupOfferingResponse ¶
type RemoveVirtualMachineFromBackupOfferingResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
RemoveVirtualMachineFromBackupOfferingResponse represents the response from removes a vm from any existing backup offering
func (*RemoveVirtualMachineFromBackupOfferingResponse) Descriptor
deprecated
func (*RemoveVirtualMachineFromBackupOfferingResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveVirtualMachineFromBackupOfferingResponse.ProtoReflect.Descriptor instead.
func (*RemoveVirtualMachineFromBackupOfferingResponse) GetResult ¶
func (x *RemoveVirtualMachineFromBackupOfferingResponse) GetResult() *Result
func (*RemoveVirtualMachineFromBackupOfferingResponse) ProtoMessage ¶
func (*RemoveVirtualMachineFromBackupOfferingResponse) ProtoMessage()
func (*RemoveVirtualMachineFromBackupOfferingResponse) ProtoReflect ¶
func (x *RemoveVirtualMachineFromBackupOfferingResponse) ProtoReflect() protoreflect.Message
func (*RemoveVirtualMachineFromBackupOfferingResponse) Reset ¶
func (x *RemoveVirtualMachineFromBackupOfferingResponse) Reset()
func (*RemoveVirtualMachineFromBackupOfferingResponse) String ¶
func (x *RemoveVirtualMachineFromBackupOfferingResponse) String() string
type RestoreBackupRequest ¶
type RestoreBackupRequest struct {
// ID of the backup
BackupId *int64 `protobuf:"varint,1,opt,name=backup_id,json=backupId" json:"backup_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
}
RestoreBackupRequest represents the parameters for restores an existing stopped or deleted vm using a vm backup
func (*RestoreBackupRequest) Descriptor
deprecated
func (*RestoreBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreBackupRequest.ProtoReflect.Descriptor instead.
func (*RestoreBackupRequest) GetBackupId ¶
func (x *RestoreBackupRequest) GetBackupId() int64
func (*RestoreBackupRequest) GetInjectedJobId ¶
func (x *RestoreBackupRequest) GetInjectedJobId() string
func (*RestoreBackupRequest) GetResponseType ¶
func (x *RestoreBackupRequest) GetResponseType() string
func (*RestoreBackupRequest) GetStartEventId ¶
func (x *RestoreBackupRequest) GetStartEventId() int64
func (*RestoreBackupRequest) ProtoMessage ¶
func (*RestoreBackupRequest) ProtoMessage()
func (*RestoreBackupRequest) ProtoReflect ¶
func (x *RestoreBackupRequest) ProtoReflect() protoreflect.Message
func (*RestoreBackupRequest) Reset ¶
func (x *RestoreBackupRequest) Reset()
func (*RestoreBackupRequest) String ¶
func (x *RestoreBackupRequest) String() string
type RestoreBackupResponse ¶
type RestoreBackupResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
RestoreBackupResponse represents the response from restores an existing stopped or deleted vm using a vm backup
func (*RestoreBackupResponse) Descriptor
deprecated
func (*RestoreBackupResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreBackupResponse.ProtoReflect.Descriptor instead.
func (*RestoreBackupResponse) GetResult ¶
func (x *RestoreBackupResponse) GetResult() *Result
func (*RestoreBackupResponse) ProtoMessage ¶
func (*RestoreBackupResponse) ProtoMessage()
func (*RestoreBackupResponse) ProtoReflect ¶
func (x *RestoreBackupResponse) ProtoReflect() protoreflect.Message
func (*RestoreBackupResponse) Reset ¶
func (x *RestoreBackupResponse) Reset()
func (*RestoreBackupResponse) String ¶
func (x *RestoreBackupResponse) String() string
type RestoreVolumeFromBackupAndAttachToVMRequest ¶
type RestoreVolumeFromBackupAndAttachToVMRequest struct {
// ID of the VM backup
BackupId *int64 `protobuf:"varint,1,opt,name=backup_id,json=backupId" json:"backup_id,omitempty"`
// ID of the volume backed up
VolumeUuid *string `protobuf:"bytes,2,opt,name=volume_uuid,json=volumeUuid" json:"volume_uuid,omitempty"`
// id of the VM where to attach the restored volume
VmId *int64 `protobuf:"varint,3,opt,name=vm_id,json=vmId" json:"vm_id,omitempty"`
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
}
RestoreVolumeFromBackupAndAttachToVMRequest represents the parameters for restore and attach a backed up volume to vm
func (*RestoreVolumeFromBackupAndAttachToVMRequest) Descriptor
deprecated
func (*RestoreVolumeFromBackupAndAttachToVMRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreVolumeFromBackupAndAttachToVMRequest.ProtoReflect.Descriptor instead.
func (*RestoreVolumeFromBackupAndAttachToVMRequest) GetBackupId ¶
func (x *RestoreVolumeFromBackupAndAttachToVMRequest) GetBackupId() int64
func (*RestoreVolumeFromBackupAndAttachToVMRequest) GetInjectedJobId ¶
func (x *RestoreVolumeFromBackupAndAttachToVMRequest) GetInjectedJobId() string
func (*RestoreVolumeFromBackupAndAttachToVMRequest) GetResponseType ¶
func (x *RestoreVolumeFromBackupAndAttachToVMRequest) GetResponseType() string
func (*RestoreVolumeFromBackupAndAttachToVMRequest) GetStartEventId ¶
func (x *RestoreVolumeFromBackupAndAttachToVMRequest) GetStartEventId() int64
func (*RestoreVolumeFromBackupAndAttachToVMRequest) GetVmId ¶
func (x *RestoreVolumeFromBackupAndAttachToVMRequest) GetVmId() int64
func (*RestoreVolumeFromBackupAndAttachToVMRequest) GetVolumeUuid ¶
func (x *RestoreVolumeFromBackupAndAttachToVMRequest) GetVolumeUuid() string
func (*RestoreVolumeFromBackupAndAttachToVMRequest) ProtoMessage ¶
func (*RestoreVolumeFromBackupAndAttachToVMRequest) ProtoMessage()
func (*RestoreVolumeFromBackupAndAttachToVMRequest) ProtoReflect ¶
func (x *RestoreVolumeFromBackupAndAttachToVMRequest) ProtoReflect() protoreflect.Message
func (*RestoreVolumeFromBackupAndAttachToVMRequest) Reset ¶
func (x *RestoreVolumeFromBackupAndAttachToVMRequest) Reset()
func (*RestoreVolumeFromBackupAndAttachToVMRequest) String ¶
func (x *RestoreVolumeFromBackupAndAttachToVMRequest) String() string
type RestoreVolumeFromBackupAndAttachToVMResponse ¶
type RestoreVolumeFromBackupAndAttachToVMResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
RestoreVolumeFromBackupAndAttachToVMResponse represents the response from restore and attach a backed up volume to vm
func (*RestoreVolumeFromBackupAndAttachToVMResponse) Descriptor
deprecated
func (*RestoreVolumeFromBackupAndAttachToVMResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreVolumeFromBackupAndAttachToVMResponse.ProtoReflect.Descriptor instead.
func (*RestoreVolumeFromBackupAndAttachToVMResponse) GetResult ¶
func (x *RestoreVolumeFromBackupAndAttachToVMResponse) GetResult() *Result
func (*RestoreVolumeFromBackupAndAttachToVMResponse) ProtoMessage ¶
func (*RestoreVolumeFromBackupAndAttachToVMResponse) ProtoMessage()
func (*RestoreVolumeFromBackupAndAttachToVMResponse) ProtoReflect ¶
func (x *RestoreVolumeFromBackupAndAttachToVMResponse) ProtoReflect() protoreflect.Message
func (*RestoreVolumeFromBackupAndAttachToVMResponse) Reset ¶
func (x *RestoreVolumeFromBackupAndAttachToVMResponse) Reset()
func (*RestoreVolumeFromBackupAndAttachToVMResponse) String ¶
func (x *RestoreVolumeFromBackupAndAttachToVMResponse) 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) GetDisplayText ¶
func (*Result) GetJobStatus ¶
func (*Result) GetSuccess ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
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) GetDisplayText ¶
func (*Success) GetSuccess ¶
func (*Success) ProtoMessage ¶
func (*Success) ProtoMessage()
func (*Success) ProtoReflect ¶
func (x *Success) ProtoReflect() protoreflect.Message
type UnimplementedBackupServiceServer ¶
type UnimplementedBackupServiceServer struct{}
UnimplementedBackupServiceServer 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 (UnimplementedBackupServiceServer) AssignVirtualMachineToBackupOffering ¶
func (UnimplementedBackupServiceServer) AssignVirtualMachineToBackupOffering(context.Context, *AssignVirtualMachineToBackupOfferingRequest) (*AssignVirtualMachineToBackupOfferingResponse, error)
func (UnimplementedBackupServiceServer) CreateBackup ¶
func (UnimplementedBackupServiceServer) CreateBackup(context.Context, *CreateBackupRequest) (*CreateBackupResponse, error)
func (UnimplementedBackupServiceServer) CreateBackupSchedule ¶
func (UnimplementedBackupServiceServer) CreateBackupSchedule(context.Context, *CreateBackupScheduleRequest) (*CreateBackupScheduleResponse, error)
func (UnimplementedBackupServiceServer) DeleteBackup ¶
func (UnimplementedBackupServiceServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*DeleteBackupResponse, error)
func (UnimplementedBackupServiceServer) DeleteBackupOffering ¶
func (UnimplementedBackupServiceServer) DeleteBackupOffering(context.Context, *DeleteBackupOfferingRequest) (*DeleteBackupOfferingResponse, error)
func (UnimplementedBackupServiceServer) DeleteBackupSchedule ¶
func (UnimplementedBackupServiceServer) DeleteBackupSchedule(context.Context, *DeleteBackupScheduleRequest) (*DeleteBackupScheduleResponse, error)
func (UnimplementedBackupServiceServer) ImportBackupOffering ¶
func (UnimplementedBackupServiceServer) ImportBackupOffering(context.Context, *ImportBackupOfferingRequest) (*ImportBackupOfferingResponse, error)
func (UnimplementedBackupServiceServer) ListBackupOfferings ¶
func (UnimplementedBackupServiceServer) ListBackupOfferings(context.Context, *ListBackupOfferingsRequest) (*ListBackupOfferingsResponse, error)
func (UnimplementedBackupServiceServer) ListBackupProviderOfferings ¶
func (UnimplementedBackupServiceServer) ListBackupProviderOfferings(context.Context, *ListBackupProviderOfferingsRequest) (*ListBackupProviderOfferingsResponse, error)
func (UnimplementedBackupServiceServer) ListBackupProviders ¶
func (UnimplementedBackupServiceServer) ListBackupProviders(context.Context, *ListBackupProvidersRequest) (*ListBackupProvidersResponse, error)
func (UnimplementedBackupServiceServer) ListBackupSchedule ¶
func (UnimplementedBackupServiceServer) ListBackupSchedule(context.Context, *ListBackupScheduleRequest) (*ListBackupScheduleResponse, error)
func (UnimplementedBackupServiceServer) ListBackups ¶
func (UnimplementedBackupServiceServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
func (UnimplementedBackupServiceServer) RemoveVirtualMachineFromBackupOffering ¶
func (UnimplementedBackupServiceServer) RemoveVirtualMachineFromBackupOffering(context.Context, *RemoveVirtualMachineFromBackupOfferingRequest) (*RemoveVirtualMachineFromBackupOfferingResponse, error)
func (UnimplementedBackupServiceServer) RestoreBackup ¶
func (UnimplementedBackupServiceServer) RestoreBackup(context.Context, *RestoreBackupRequest) (*RestoreBackupResponse, error)
func (UnimplementedBackupServiceServer) RestoreVolumeFromBackupAndAttachToVM ¶
func (UnimplementedBackupServiceServer) RestoreVolumeFromBackupAndAttachToVM(context.Context, *RestoreVolumeFromBackupAndAttachToVMRequest) (*RestoreVolumeFromBackupAndAttachToVMResponse, error)
func (UnimplementedBackupServiceServer) UpdateBackupOffering ¶
func (UnimplementedBackupServiceServer) UpdateBackupOffering(context.Context, *UpdateBackupOfferingRequest) (*UpdateBackupOfferingResponse, error)
func (UnimplementedBackupServiceServer) UpdateBackupSchedule ¶
func (UnimplementedBackupServiceServer) UpdateBackupSchedule(context.Context, *UpdateBackupScheduleRequest) (*UpdateBackupScheduleResponse, error)
type UnsafeBackupServiceServer ¶
type UnsafeBackupServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBackupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BackupServiceServer will result in compilation errors.
type UpdateBackupOfferingRequest ¶
type UpdateBackupOfferingRequest struct {
// The ID of the Backup Offering to be updated
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// The description of the Backup Offering to be updated
Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
// The name of the Backup Offering to be updated
Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
// Whether to allow user driven backups or not
AllowUserDrivenBackups *bool `protobuf:"varint,4,opt,name=allow_user_driven_backups,json=allowUserDrivenBackups" json:"allow_user_driven_backups,omitempty"`
ResponseType *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
UpdateBackupOfferingRequest represents the parameters for updates a backup offering.
func (*UpdateBackupOfferingRequest) Descriptor
deprecated
func (*UpdateBackupOfferingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBackupOfferingRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupOfferingRequest) GetAllowUserDrivenBackups ¶
func (x *UpdateBackupOfferingRequest) GetAllowUserDrivenBackups() bool
func (*UpdateBackupOfferingRequest) GetDescription ¶
func (x *UpdateBackupOfferingRequest) GetDescription() string
func (*UpdateBackupOfferingRequest) GetId ¶
func (x *UpdateBackupOfferingRequest) GetId() int64
func (*UpdateBackupOfferingRequest) GetName ¶
func (x *UpdateBackupOfferingRequest) GetName() string
func (*UpdateBackupOfferingRequest) GetResponseType ¶
func (x *UpdateBackupOfferingRequest) GetResponseType() string
func (*UpdateBackupOfferingRequest) ProtoMessage ¶
func (*UpdateBackupOfferingRequest) ProtoMessage()
func (*UpdateBackupOfferingRequest) ProtoReflect ¶
func (x *UpdateBackupOfferingRequest) ProtoReflect() protoreflect.Message
func (*UpdateBackupOfferingRequest) Reset ¶
func (x *UpdateBackupOfferingRequest) Reset()
func (*UpdateBackupOfferingRequest) String ¶
func (x *UpdateBackupOfferingRequest) String() string
type UpdateBackupOfferingResponse ¶
type UpdateBackupOfferingResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
UpdateBackupOfferingResponse represents the response from updates a backup offering.
func (*UpdateBackupOfferingResponse) Descriptor
deprecated
func (*UpdateBackupOfferingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBackupOfferingResponse.ProtoReflect.Descriptor instead.
func (*UpdateBackupOfferingResponse) GetResult ¶
func (x *UpdateBackupOfferingResponse) GetResult() *Result
func (*UpdateBackupOfferingResponse) ProtoMessage ¶
func (*UpdateBackupOfferingResponse) ProtoMessage()
func (*UpdateBackupOfferingResponse) ProtoReflect ¶
func (x *UpdateBackupOfferingResponse) ProtoReflect() protoreflect.Message
func (*UpdateBackupOfferingResponse) Reset ¶
func (x *UpdateBackupOfferingResponse) Reset()
func (*UpdateBackupOfferingResponse) String ¶
func (x *UpdateBackupOfferingResponse) String() string
type UpdateBackupScheduleRequest ¶
type UpdateBackupScheduleRequest struct {
// ID of the VM for which schedule is to be defined
VmId *int64 `protobuf:"varint,1,opt,name=vm_id,json=vmId" json:"vm_id,omitempty"`
// valid values are HOURLY, DAILY, WEEKLY, and MONTHLY
IntervalType *string `protobuf:"bytes,2,opt,name=interval_type,json=intervalType" json:"interval_type,omitempty"`
// custom backup schedule, the format is:for HOURLY MM*, for DAILY MM:HH*, for WEEKLY MM:HH:DD (1-7)*, for MONTHLY MM:HH:DD (1-28)
Schedule *string `protobuf:"bytes,3,opt,name=schedule" json:"schedule,omitempty"`
// Specifies a timezone for this command. For more information on the timezone parameter, see TimeZone Format.
Timezone *string `protobuf:"bytes,4,opt,name=timezone" json:"timezone,omitempty"`
// maximum number of backups to retain
MaxBackups *int32 `protobuf:"varint,5,opt,name=max_backups,json=maxBackups" json:"max_backups,omitempty"`
ResponseType *string `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
UpdateBackupScheduleRequest represents the parameters for updates a user-defined vm backup schedule
func (*UpdateBackupScheduleRequest) Descriptor
deprecated
func (*UpdateBackupScheduleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBackupScheduleRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupScheduleRequest) GetIntervalType ¶
func (x *UpdateBackupScheduleRequest) GetIntervalType() string
func (*UpdateBackupScheduleRequest) GetMaxBackups ¶
func (x *UpdateBackupScheduleRequest) GetMaxBackups() int32
func (*UpdateBackupScheduleRequest) GetResponseType ¶
func (x *UpdateBackupScheduleRequest) GetResponseType() string
func (*UpdateBackupScheduleRequest) GetSchedule ¶
func (x *UpdateBackupScheduleRequest) GetSchedule() string
func (*UpdateBackupScheduleRequest) GetTimezone ¶
func (x *UpdateBackupScheduleRequest) GetTimezone() string
func (*UpdateBackupScheduleRequest) GetVmId ¶
func (x *UpdateBackupScheduleRequest) GetVmId() int64
func (*UpdateBackupScheduleRequest) ProtoMessage ¶
func (*UpdateBackupScheduleRequest) ProtoMessage()
func (*UpdateBackupScheduleRequest) ProtoReflect ¶
func (x *UpdateBackupScheduleRequest) ProtoReflect() protoreflect.Message
func (*UpdateBackupScheduleRequest) Reset ¶
func (x *UpdateBackupScheduleRequest) Reset()
func (*UpdateBackupScheduleRequest) String ¶
func (x *UpdateBackupScheduleRequest) String() string
type UpdateBackupScheduleResponse ¶
type UpdateBackupScheduleResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
UpdateBackupScheduleResponse represents the response from updates a user-defined vm backup schedule
func (*UpdateBackupScheduleResponse) Descriptor
deprecated
func (*UpdateBackupScheduleResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBackupScheduleResponse.ProtoReflect.Descriptor instead.
func (*UpdateBackupScheduleResponse) GetResult ¶
func (x *UpdateBackupScheduleResponse) GetResult() *Result
func (*UpdateBackupScheduleResponse) ProtoMessage ¶
func (*UpdateBackupScheduleResponse) ProtoMessage()
func (*UpdateBackupScheduleResponse) ProtoReflect ¶
func (x *UpdateBackupScheduleResponse) ProtoReflect() protoreflect.Message
func (*UpdateBackupScheduleResponse) Reset ¶
func (x *UpdateBackupScheduleResponse) Reset()
func (*UpdateBackupScheduleResponse) String ¶
func (x *UpdateBackupScheduleResponse) String() string