backupv1

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

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

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

Documentation

Index

Constants

View Source
const (
	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

View Source
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.

View Source
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)

View Source
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

Deprecated: Use AssignVirtualMachineToBackupOfferingRequest.ProtoReflect.Descriptor instead.

func (*AssignVirtualMachineToBackupOfferingRequest) GetInjectedJobId

func (*AssignVirtualMachineToBackupOfferingRequest) GetOfferingId

func (*AssignVirtualMachineToBackupOfferingRequest) GetResponseType

func (*AssignVirtualMachineToBackupOfferingRequest) GetStartEventId

func (*AssignVirtualMachineToBackupOfferingRequest) GetVmId

func (*AssignVirtualMachineToBackupOfferingRequest) ProtoMessage

func (*AssignVirtualMachineToBackupOfferingRequest) ProtoReflect

func (*AssignVirtualMachineToBackupOfferingRequest) Reset

func (*AssignVirtualMachineToBackupOfferingRequest) 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

Deprecated: Use AssignVirtualMachineToBackupOfferingResponse.ProtoReflect.Descriptor instead.

func (*AssignVirtualMachineToBackupOfferingResponse) GetResult

func (*AssignVirtualMachineToBackupOfferingResponse) ProtoMessage

func (*AssignVirtualMachineToBackupOfferingResponse) ProtoReflect

func (*AssignVirtualMachineToBackupOfferingResponse) Reset

func (*AssignVirtualMachineToBackupOfferingResponse) 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) Descriptor() ([]byte, []int)

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetCreated

func (x *Backup) GetCreated() string

func (*Backup) GetDescription

func (x *Backup) GetDescription() string

func (*Backup) GetDisplayName

func (x *Backup) GetDisplayName() string

func (*Backup) GetId

func (x *Backup) GetId() string

func (*Backup) GetName

func (x *Backup) GetName() string

func (*Backup) ProtoMessage

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect

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

func (*Backup) Reset

func (x *Backup) Reset()

func (*Backup) String

func (x *Backup) String() string

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

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 (*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 (*CreateBackupScheduleResponse) Reset

func (x *CreateBackupScheduleResponse) Reset()

func (*CreateBackupScheduleResponse) 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 (*DeleteBackupOfferingRequest) GetResponseType

func (x *DeleteBackupOfferingRequest) GetResponseType() string

func (*DeleteBackupOfferingRequest) ProtoMessage

func (*DeleteBackupOfferingRequest) ProtoMessage()

func (*DeleteBackupOfferingRequest) ProtoReflect

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 (*DeleteBackupOfferingResponse) Reset

func (x *DeleteBackupOfferingResponse) Reset()

func (*DeleteBackupOfferingResponse) 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 (*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 (*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 (*DeleteBackupScheduleResponse) Reset

func (x *DeleteBackupScheduleResponse) Reset()

func (*DeleteBackupScheduleResponse) 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 (*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 (*ImportBackupOfferingResponse) Reset

func (x *ImportBackupOfferingResponse) Reset()

func (*ImportBackupOfferingResponse) 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) Enum

func (x IntervalType) Enum() *IntervalType

func (IntervalType) EnumDescriptor deprecated

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

Deprecated: Use IntervalType.Descriptor instead.

func (IntervalType) Number

func (IntervalType) String

func (x IntervalType) String() string

func (IntervalType) Type

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 (*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 (*ListBackupOfferingsResponse) GetTotalCount

func (x *ListBackupOfferingsResponse) GetTotalCount() int32

func (*ListBackupOfferingsResponse) ProtoMessage

func (*ListBackupOfferingsResponse) ProtoMessage()

func (*ListBackupOfferingsResponse) ProtoReflect

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 (*ListBackupProviderOfferingsRequest) GetPage

func (*ListBackupProviderOfferingsRequest) GetPageSize

func (x *ListBackupProviderOfferingsRequest) GetPageSize() int32

func (*ListBackupProviderOfferingsRequest) GetResponseType

func (x *ListBackupProviderOfferingsRequest) GetResponseType() string

func (*ListBackupProviderOfferingsRequest) GetZoneId

func (*ListBackupProviderOfferingsRequest) ProtoMessage

func (*ListBackupProviderOfferingsRequest) ProtoMessage()

func (*ListBackupProviderOfferingsRequest) ProtoReflect

func (*ListBackupProviderOfferingsRequest) Reset

func (*ListBackupProviderOfferingsRequest) 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 (*ListBackupProviderOfferingsResponse) GetTotalCount

func (x *ListBackupProviderOfferingsResponse) GetTotalCount() int32

func (*ListBackupProviderOfferingsResponse) ProtoMessage

func (*ListBackupProviderOfferingsResponse) ProtoMessage()

func (*ListBackupProviderOfferingsResponse) ProtoReflect

func (*ListBackupProviderOfferingsResponse) Reset

func (*ListBackupProviderOfferingsResponse) 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 (*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 (*ListBackupProvidersResponse) GetTotalCount

func (x *ListBackupProvidersResponse) GetTotalCount() int32

func (*ListBackupProvidersResponse) ProtoMessage

func (*ListBackupProvidersResponse) ProtoMessage()

func (*ListBackupProvidersResponse) ProtoReflect

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 (*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 (*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

Deprecated: Use RemoveVirtualMachineFromBackupOfferingRequest.ProtoReflect.Descriptor instead.

func (*RemoveVirtualMachineFromBackupOfferingRequest) GetForced

func (*RemoveVirtualMachineFromBackupOfferingRequest) GetInjectedJobId

func (*RemoveVirtualMachineFromBackupOfferingRequest) GetResponseType

func (*RemoveVirtualMachineFromBackupOfferingRequest) GetStartEventId

func (*RemoveVirtualMachineFromBackupOfferingRequest) GetVmId

func (*RemoveVirtualMachineFromBackupOfferingRequest) ProtoMessage

func (*RemoveVirtualMachineFromBackupOfferingRequest) ProtoReflect

func (*RemoveVirtualMachineFromBackupOfferingRequest) Reset

func (*RemoveVirtualMachineFromBackupOfferingRequest) 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

Deprecated: Use RemoveVirtualMachineFromBackupOfferingResponse.ProtoReflect.Descriptor instead.

func (*RemoveVirtualMachineFromBackupOfferingResponse) GetResult

func (*RemoveVirtualMachineFromBackupOfferingResponse) ProtoMessage

func (*RemoveVirtualMachineFromBackupOfferingResponse) ProtoReflect

func (*RemoveVirtualMachineFromBackupOfferingResponse) Reset

func (*RemoveVirtualMachineFromBackupOfferingResponse) 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

Deprecated: Use RestoreVolumeFromBackupAndAttachToVMRequest.ProtoReflect.Descriptor instead.

func (*RestoreVolumeFromBackupAndAttachToVMRequest) GetBackupId

func (*RestoreVolumeFromBackupAndAttachToVMRequest) GetInjectedJobId

func (*RestoreVolumeFromBackupAndAttachToVMRequest) GetResponseType

func (*RestoreVolumeFromBackupAndAttachToVMRequest) GetStartEventId

func (*RestoreVolumeFromBackupAndAttachToVMRequest) GetVmId

func (*RestoreVolumeFromBackupAndAttachToVMRequest) GetVolumeUuid

func (*RestoreVolumeFromBackupAndAttachToVMRequest) ProtoMessage

func (*RestoreVolumeFromBackupAndAttachToVMRequest) ProtoReflect

func (*RestoreVolumeFromBackupAndAttachToVMRequest) Reset

func (*RestoreVolumeFromBackupAndAttachToVMRequest) 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

Deprecated: Use RestoreVolumeFromBackupAndAttachToVMResponse.ProtoReflect.Descriptor instead.

func (*RestoreVolumeFromBackupAndAttachToVMResponse) GetResult

func (*RestoreVolumeFromBackupAndAttachToVMResponse) ProtoMessage

func (*RestoreVolumeFromBackupAndAttachToVMResponse) ProtoReflect

func (*RestoreVolumeFromBackupAndAttachToVMResponse) Reset

func (*RestoreVolumeFromBackupAndAttachToVMResponse) String

type Result

type Result struct {

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

Result represents a generic operation result

func (*Result) Descriptor deprecated

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetDisplayText

func (x *Result) GetDisplayText() string

func (*Result) GetId

func (x *Result) GetId() string

func (*Result) GetJobId

func (x *Result) GetJobId() string

func (*Result) GetJobStatus

func (x *Result) GetJobStatus() string

func (*Result) GetSuccess

func (x *Result) GetSuccess() bool

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

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

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type Success

type Success struct {

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

Success represents a Success Operation Response

func (*Success) Descriptor deprecated

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

Deprecated: Use Success.ProtoReflect.Descriptor instead.

func (*Success) GetDisplayText

func (x *Success) GetDisplayText() string

func (*Success) GetSuccess

func (x *Success) GetSuccess() bool

func (*Success) ProtoMessage

func (*Success) ProtoMessage()

func (*Success) ProtoReflect

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

func (*Success) Reset

func (x *Success) Reset()

func (*Success) String

func (x *Success) String() string

type 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) CreateBackup

func (UnimplementedBackupServiceServer) DeleteBackup

func (UnimplementedBackupServiceServer) ListBackupSchedule

func (UnimplementedBackupServiceServer) ListBackups

func (UnimplementedBackupServiceServer) RestoreBackup

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 (*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 (*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 (*UpdateBackupOfferingResponse) Reset

func (x *UpdateBackupOfferingResponse) Reset()

func (*UpdateBackupOfferingResponse) 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 (*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 (*UpdateBackupScheduleResponse) Reset

func (x *UpdateBackupScheduleResponse) Reset()

func (*UpdateBackupScheduleResponse) String

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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