Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterOfferingServiceServer(s grpc.ServiceRegistrar, srv OfferingServiceServer)
- type CreateDiskOfferingRequest
- func (*CreateDiskOfferingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDiskOfferingRequest) GetBytesReadRate() int64
- func (x *CreateDiskOfferingRequest) GetBytesReadRateMax() int64
- func (x *CreateDiskOfferingRequest) GetBytesReadRateMaxLength() int64
- func (x *CreateDiskOfferingRequest) GetBytesWriteRate() int64
- func (x *CreateDiskOfferingRequest) GetBytesWriteRateMax() int64
- func (x *CreateDiskOfferingRequest) GetBytesWriteRateMaxLength() int64
- func (x *CreateDiskOfferingRequest) GetCacheMode() string
- func (x *CreateDiskOfferingRequest) GetCustomized() bool
- func (x *CreateDiskOfferingRequest) GetCustomizedIops() bool
- func (x *CreateDiskOfferingRequest) GetDetails() map[string]string
- func (x *CreateDiskOfferingRequest) GetDiskSize() int64
- func (x *CreateDiskOfferingRequest) GetDiskSizeStrictness() bool
- func (x *CreateDiskOfferingRequest) GetDisplayOffering() bool
- func (x *CreateDiskOfferingRequest) GetDisplayText() string
- func (x *CreateDiskOfferingRequest) GetDomainIds() []string
- func (x *CreateDiskOfferingRequest) GetEncrypt() bool
- func (x *CreateDiskOfferingRequest) GetHypervisorSnapshotReserve() int32
- func (x *CreateDiskOfferingRequest) GetIopsReadRate() int64
- func (x *CreateDiskOfferingRequest) GetIopsReadRateMax() int64
- func (x *CreateDiskOfferingRequest) GetIopsReadRateMaxLength() int64
- func (x *CreateDiskOfferingRequest) GetIopsWriteRate() int64
- func (x *CreateDiskOfferingRequest) GetIopsWriteRateMax() int64
- func (x *CreateDiskOfferingRequest) GetIopsWriteRateMaxLength() int64
- func (x *CreateDiskOfferingRequest) GetMaxIops() int64
- func (x *CreateDiskOfferingRequest) GetMinIops() int64
- func (x *CreateDiskOfferingRequest) GetOfferingName() string
- func (x *CreateDiskOfferingRequest) GetProvisioningType() string
- func (x *CreateDiskOfferingRequest) GetResponseType() string
- func (x *CreateDiskOfferingRequest) GetStoragePolicy() int64
- func (x *CreateDiskOfferingRequest) GetStorageType() string
- func (x *CreateDiskOfferingRequest) GetTags() string
- func (x *CreateDiskOfferingRequest) GetZoneIds() []string
- func (*CreateDiskOfferingRequest) ProtoMessage()
- func (x *CreateDiskOfferingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDiskOfferingRequest) Reset()
- func (x *CreateDiskOfferingRequest) String() string
- type CreateDiskOfferingResponse
- func (*CreateDiskOfferingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDiskOfferingResponse) GetResult() *Result
- func (*CreateDiskOfferingResponse) ProtoMessage()
- func (x *CreateDiskOfferingResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDiskOfferingResponse) Reset()
- func (x *CreateDiskOfferingResponse) String() string
- type CreateServiceOfferingRequest
- func (*CreateServiceOfferingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServiceOfferingRequest) GetBytesReadRate() int64
- func (x *CreateServiceOfferingRequest) GetBytesReadRateMax() int64
- func (x *CreateServiceOfferingRequest) GetBytesReadRateMaxLength() int64
- func (x *CreateServiceOfferingRequest) GetBytesWriteRate() int64
- func (x *CreateServiceOfferingRequest) GetBytesWriteRateMax() int64
- func (x *CreateServiceOfferingRequest) GetBytesWriteRateMaxLength() int64
- func (x *CreateServiceOfferingRequest) GetCacheMode() string
- func (x *CreateServiceOfferingRequest) GetCpuNumber() int32
- func (x *CreateServiceOfferingRequest) GetCpuSpeed() int32
- func (x *CreateServiceOfferingRequest) GetCustomized() bool
- func (x *CreateServiceOfferingRequest) GetCustomizedIops() bool
- func (x *CreateServiceOfferingRequest) GetDeploymentPlanner() string
- func (x *CreateServiceOfferingRequest) GetDetails() map[string]string
- func (x *CreateServiceOfferingRequest) GetDiskOfferingId() int64
- func (x *CreateServiceOfferingRequest) GetDiskOfferingStrictness() bool
- func (x *CreateServiceOfferingRequest) GetDisplayText() string
- func (x *CreateServiceOfferingRequest) GetDomainIds() []string
- func (x *CreateServiceOfferingRequest) GetEncryptRoot() bool
- func (x *CreateServiceOfferingRequest) GetHostTag() string
- func (x *CreateServiceOfferingRequest) GetHypervisorSnapshotReserve() int32
- func (x *CreateServiceOfferingRequest) GetIopsReadRate() int64
- func (x *CreateServiceOfferingRequest) GetIopsReadRateMax() int64
- func (x *CreateServiceOfferingRequest) GetIopsReadRateMaxLength() int64
- func (x *CreateServiceOfferingRequest) GetIopsWriteRate() int64
- func (x *CreateServiceOfferingRequest) GetIopsWriteRateMax() int64
- func (x *CreateServiceOfferingRequest) GetIopsWriteRateMaxLength() int64
- func (x *CreateServiceOfferingRequest) GetIsDynamicScalingEnabled() bool
- func (x *CreateServiceOfferingRequest) GetIsSystem() bool
- func (x *CreateServiceOfferingRequest) GetIsVolatile() bool
- func (x *CreateServiceOfferingRequest) GetLimitCpuUse() bool
- func (x *CreateServiceOfferingRequest) GetMaxCPU() int32
- func (x *CreateServiceOfferingRequest) GetMaxIops() int64
- func (x *CreateServiceOfferingRequest) GetMaxMemory() int32
- func (x *CreateServiceOfferingRequest) GetMemory() int32
- func (x *CreateServiceOfferingRequest) GetMinCPU() int32
- func (x *CreateServiceOfferingRequest) GetMinIops() int64
- func (x *CreateServiceOfferingRequest) GetMinMemory() int32
- func (x *CreateServiceOfferingRequest) GetNetworkRate() int32
- func (x *CreateServiceOfferingRequest) GetOfferHa() bool
- func (x *CreateServiceOfferingRequest) GetProvisioningType() string
- func (x *CreateServiceOfferingRequest) GetPurgeResources() bool
- func (x *CreateServiceOfferingRequest) GetResponseType() string
- func (x *CreateServiceOfferingRequest) GetRootDiskSize() int64
- func (x *CreateServiceOfferingRequest) GetServiceOfferingName() string
- func (x *CreateServiceOfferingRequest) GetStoragePolicy() int64
- func (x *CreateServiceOfferingRequest) GetStorageType() string
- func (x *CreateServiceOfferingRequest) GetSystemVmType() string
- func (x *CreateServiceOfferingRequest) GetTags() string
- func (x *CreateServiceOfferingRequest) GetZoneIds() []string
- func (*CreateServiceOfferingRequest) ProtoMessage()
- func (x *CreateServiceOfferingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateServiceOfferingRequest) Reset()
- func (x *CreateServiceOfferingRequest) String() string
- type CreateServiceOfferingResponse
- func (*CreateServiceOfferingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServiceOfferingResponse) GetResult() *Result
- func (*CreateServiceOfferingResponse) ProtoMessage()
- func (x *CreateServiceOfferingResponse) ProtoReflect() protoreflect.Message
- func (x *CreateServiceOfferingResponse) Reset()
- func (x *CreateServiceOfferingResponse) String() string
- type DeleteDiskOfferingRequest
- func (*DeleteDiskOfferingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDiskOfferingRequest) GetId() int64
- func (x *DeleteDiskOfferingRequest) GetResponseType() string
- func (*DeleteDiskOfferingRequest) ProtoMessage()
- func (x *DeleteDiskOfferingRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDiskOfferingRequest) Reset()
- func (x *DeleteDiskOfferingRequest) String() string
- type DeleteDiskOfferingResponse
- func (*DeleteDiskOfferingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDiskOfferingResponse) GetResult() *Result
- func (*DeleteDiskOfferingResponse) ProtoMessage()
- func (x *DeleteDiskOfferingResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDiskOfferingResponse) Reset()
- func (x *DeleteDiskOfferingResponse) String() string
- type DeleteServiceOfferingRequest
- func (*DeleteServiceOfferingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServiceOfferingRequest) GetId() int64
- func (x *DeleteServiceOfferingRequest) GetResponseType() string
- func (*DeleteServiceOfferingRequest) ProtoMessage()
- func (x *DeleteServiceOfferingRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteServiceOfferingRequest) Reset()
- func (x *DeleteServiceOfferingRequest) String() string
- type DeleteServiceOfferingResponse
- func (*DeleteServiceOfferingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServiceOfferingResponse) GetResult() *Result
- func (*DeleteServiceOfferingResponse) ProtoMessage()
- func (x *DeleteServiceOfferingResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteServiceOfferingResponse) Reset()
- func (x *DeleteServiceOfferingResponse) String() string
- type DiskOffering
- func (*DiskOffering) Descriptor() ([]byte, []int)deprecated
- func (x *DiskOffering) GetCreated() string
- func (x *DiskOffering) GetDescription() string
- func (x *DiskOffering) GetDisplayName() string
- func (x *DiskOffering) GetId() string
- func (x *DiskOffering) GetName() string
- func (*DiskOffering) ProtoMessage()
- func (x *DiskOffering) ProtoReflect() protoreflect.Message
- func (x *DiskOffering) Reset()
- func (x *DiskOffering) String() string
- type IsAccountAllowedToCreateOfferingsWithTagsRequest
- func (*IsAccountAllowedToCreateOfferingsWithTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsAccountAllowedToCreateOfferingsWithTagsRequest) GetId() int64
- func (x *IsAccountAllowedToCreateOfferingsWithTagsRequest) GetResponseType() string
- func (*IsAccountAllowedToCreateOfferingsWithTagsRequest) ProtoMessage()
- func (x *IsAccountAllowedToCreateOfferingsWithTagsRequest) ProtoReflect() protoreflect.Message
- func (x *IsAccountAllowedToCreateOfferingsWithTagsRequest) Reset()
- func (x *IsAccountAllowedToCreateOfferingsWithTagsRequest) String() string
- type IsAccountAllowedToCreateOfferingsWithTagsResponse
- func (*IsAccountAllowedToCreateOfferingsWithTagsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsAccountAllowedToCreateOfferingsWithTagsResponse) GetResult() *Result
- func (*IsAccountAllowedToCreateOfferingsWithTagsResponse) ProtoMessage()
- func (x *IsAccountAllowedToCreateOfferingsWithTagsResponse) ProtoReflect() protoreflect.Message
- func (x *IsAccountAllowedToCreateOfferingsWithTagsResponse) Reset()
- func (x *IsAccountAllowedToCreateOfferingsWithTagsResponse) String() string
- type ListDiskOfferingsRequest
- func (*ListDiskOfferingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDiskOfferingsRequest) GetAccountName() string
- func (x *ListDiskOfferingsRequest) GetDiskOfferingName() string
- func (x *ListDiskOfferingsRequest) GetDiskOfferingState() string
- func (x *ListDiskOfferingsRequest) GetDomainId() int64
- func (x *ListDiskOfferingsRequest) GetEncrypt() bool
- func (x *ListDiskOfferingsRequest) GetId() int64
- func (x *ListDiskOfferingsRequest) GetKeyword() string
- func (x *ListDiskOfferingsRequest) GetListAll() bool
- func (x *ListDiskOfferingsRequest) GetPage() int32
- func (x *ListDiskOfferingsRequest) GetPageSize() int32
- func (x *ListDiskOfferingsRequest) GetProjectId() int64
- func (x *ListDiskOfferingsRequest) GetRecursive() bool
- func (x *ListDiskOfferingsRequest) GetResponseType() string
- func (x *ListDiskOfferingsRequest) GetStoragePoolId() int64
- func (x *ListDiskOfferingsRequest) GetStorageType() string
- func (x *ListDiskOfferingsRequest) GetVirtualMachineId() int64
- func (x *ListDiskOfferingsRequest) GetVolumeId() int64
- func (x *ListDiskOfferingsRequest) GetZoneId() int64
- func (*ListDiskOfferingsRequest) ProtoMessage()
- func (x *ListDiskOfferingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDiskOfferingsRequest) Reset()
- func (x *ListDiskOfferingsRequest) String() string
- type ListDiskOfferingsResponse
- func (*ListDiskOfferingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDiskOfferingsResponse) GetItems() []*DiskOffering
- func (x *ListDiskOfferingsResponse) GetTotalCount() int32
- func (*ListDiskOfferingsResponse) ProtoMessage()
- func (x *ListDiskOfferingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDiskOfferingsResponse) Reset()
- func (x *ListDiskOfferingsResponse) String() string
- type ListServiceOfferingsRequest
- func (*ListServiceOfferingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListServiceOfferingsRequest) GetAccountName() string
- func (x *ListServiceOfferingsRequest) GetCpuNumber() int32
- func (x *ListServiceOfferingsRequest) GetCpuSpeed() int32
- func (x *ListServiceOfferingsRequest) GetDomainId() int64
- func (x *ListServiceOfferingsRequest) GetEncryptRoot() bool
- func (x *ListServiceOfferingsRequest) GetId() int64
- func (x *ListServiceOfferingsRequest) GetIsSystem() bool
- func (x *ListServiceOfferingsRequest) GetKeyword() string
- func (x *ListServiceOfferingsRequest) GetListAll() bool
- func (x *ListServiceOfferingsRequest) GetMemory() int32
- func (x *ListServiceOfferingsRequest) GetPage() int32
- func (x *ListServiceOfferingsRequest) GetPageSize() int32
- func (x *ListServiceOfferingsRequest) GetProjectId() int64
- func (x *ListServiceOfferingsRequest) GetRecursive() bool
- func (x *ListServiceOfferingsRequest) GetResponseType() string
- func (x *ListServiceOfferingsRequest) GetServiceOfferingName() string
- func (x *ListServiceOfferingsRequest) GetServiceOfferingState() string
- func (x *ListServiceOfferingsRequest) GetStorageType() string
- func (x *ListServiceOfferingsRequest) GetSystemVmType() string
- func (x *ListServiceOfferingsRequest) GetTemplateId() int64
- func (x *ListServiceOfferingsRequest) GetVirtualMachineId() int64
- func (x *ListServiceOfferingsRequest) GetZoneId() int64
- func (*ListServiceOfferingsRequest) ProtoMessage()
- func (x *ListServiceOfferingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListServiceOfferingsRequest) Reset()
- func (x *ListServiceOfferingsRequest) String() string
- type ListServiceOfferingsResponse
- func (*ListServiceOfferingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListServiceOfferingsResponse) GetItems() []*ServiceOffering
- func (x *ListServiceOfferingsResponse) GetTotalCount() int32
- func (*ListServiceOfferingsResponse) ProtoMessage()
- func (x *ListServiceOfferingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListServiceOfferingsResponse) Reset()
- func (x *ListServiceOfferingsResponse) String() string
- type OfferingServiceClient
- type OfferingServiceServer
- type ProvisioningType
- func (ProvisioningType) Descriptor() protoreflect.EnumDescriptor
- func (x ProvisioningType) Enum() *ProvisioningType
- func (ProvisioningType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProvisioningType) Number() protoreflect.EnumNumber
- func (x ProvisioningType) String() string
- func (ProvisioningType) Type() protoreflect.EnumType
- 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 ServiceOffering
- func (*ServiceOffering) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceOffering) GetCreated() string
- func (x *ServiceOffering) GetDescription() string
- func (x *ServiceOffering) GetDisplayName() string
- func (x *ServiceOffering) GetId() string
- func (x *ServiceOffering) GetName() string
- func (*ServiceOffering) ProtoMessage()
- func (x *ServiceOffering) ProtoReflect() protoreflect.Message
- func (x *ServiceOffering) Reset()
- func (x *ServiceOffering) String() string
- type Success
- type UnimplementedOfferingServiceServer
- func (UnimplementedOfferingServiceServer) CreateDiskOffering(context.Context, *CreateDiskOfferingRequest) (*CreateDiskOfferingResponse, error)
- func (UnimplementedOfferingServiceServer) CreateServiceOffering(context.Context, *CreateServiceOfferingRequest) (*CreateServiceOfferingResponse, error)
- func (UnimplementedOfferingServiceServer) DeleteDiskOffering(context.Context, *DeleteDiskOfferingRequest) (*DeleteDiskOfferingResponse, error)
- func (UnimplementedOfferingServiceServer) DeleteServiceOffering(context.Context, *DeleteServiceOfferingRequest) (*DeleteServiceOfferingResponse, error)
- func (UnimplementedOfferingServiceServer) IsAccountAllowedToCreateOfferingsWithTags(context.Context, *IsAccountAllowedToCreateOfferingsWithTagsRequest) (*IsAccountAllowedToCreateOfferingsWithTagsResponse, error)
- func (UnimplementedOfferingServiceServer) ListDiskOfferings(context.Context, *ListDiskOfferingsRequest) (*ListDiskOfferingsResponse, error)
- func (UnimplementedOfferingServiceServer) ListServiceOfferings(context.Context, *ListServiceOfferingsRequest) (*ListServiceOfferingsResponse, error)
- func (UnimplementedOfferingServiceServer) UpdateDiskOffering(context.Context, *UpdateDiskOfferingRequest) (*UpdateDiskOfferingResponse, error)
- func (UnimplementedOfferingServiceServer) UpdateServiceOffering(context.Context, *UpdateServiceOfferingRequest) (*UpdateServiceOfferingResponse, error)
- type UnsafeOfferingServiceServer
- type UpdateDiskOfferingRequest
- func (*UpdateDiskOfferingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDiskOfferingRequest) GetBytesReadRate() int64
- func (x *UpdateDiskOfferingRequest) GetBytesReadRateMax() int64
- func (x *UpdateDiskOfferingRequest) GetBytesReadRateMaxLength() int64
- func (x *UpdateDiskOfferingRequest) GetBytesWriteRate() int64
- func (x *UpdateDiskOfferingRequest) GetBytesWriteRateMax() int64
- func (x *UpdateDiskOfferingRequest) GetBytesWriteRateMaxLength() int64
- func (x *UpdateDiskOfferingRequest) GetCacheMode() string
- func (x *UpdateDiskOfferingRequest) GetDiskOfferingName() string
- func (x *UpdateDiskOfferingRequest) GetDiskOfferingState() string
- func (x *UpdateDiskOfferingRequest) GetDisplayOffering() bool
- func (x *UpdateDiskOfferingRequest) GetDisplayText() string
- func (x *UpdateDiskOfferingRequest) GetDomainIds() string
- func (x *UpdateDiskOfferingRequest) GetId() int64
- func (x *UpdateDiskOfferingRequest) GetIopsReadRate() int64
- func (x *UpdateDiskOfferingRequest) GetIopsReadRateMax() int64
- func (x *UpdateDiskOfferingRequest) GetIopsReadRateMaxLength() int64
- func (x *UpdateDiskOfferingRequest) GetIopsWriteRate() int64
- func (x *UpdateDiskOfferingRequest) GetIopsWriteRateMax() int64
- func (x *UpdateDiskOfferingRequest) GetIopsWriteRateMaxLength() int64
- func (x *UpdateDiskOfferingRequest) GetResponseType() string
- func (x *UpdateDiskOfferingRequest) GetSortKey() int32
- func (x *UpdateDiskOfferingRequest) GetTags() string
- func (x *UpdateDiskOfferingRequest) GetZoneIds() string
- func (*UpdateDiskOfferingRequest) ProtoMessage()
- func (x *UpdateDiskOfferingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDiskOfferingRequest) Reset()
- func (x *UpdateDiskOfferingRequest) String() string
- type UpdateDiskOfferingResponse
- func (*UpdateDiskOfferingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDiskOfferingResponse) GetResult() *Result
- func (*UpdateDiskOfferingResponse) ProtoMessage()
- func (x *UpdateDiskOfferingResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDiskOfferingResponse) Reset()
- func (x *UpdateDiskOfferingResponse) String() string
- type UpdateServiceOfferingRequest
- func (*UpdateServiceOfferingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServiceOfferingRequest) GetDisplayText() string
- func (x *UpdateServiceOfferingRequest) GetDomainIds() string
- func (x *UpdateServiceOfferingRequest) GetHostTags() string
- func (x *UpdateServiceOfferingRequest) GetId() int64
- func (x *UpdateServiceOfferingRequest) GetPurgeResources() bool
- func (x *UpdateServiceOfferingRequest) GetResponseType() string
- func (x *UpdateServiceOfferingRequest) GetServiceOfferingName() string
- func (x *UpdateServiceOfferingRequest) GetServiceOfferingState() string
- func (x *UpdateServiceOfferingRequest) GetSortKey() int32
- func (x *UpdateServiceOfferingRequest) GetStorageTags() string
- func (x *UpdateServiceOfferingRequest) GetZoneIds() string
- func (*UpdateServiceOfferingRequest) ProtoMessage()
- func (x *UpdateServiceOfferingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateServiceOfferingRequest) Reset()
- func (x *UpdateServiceOfferingRequest) String() string
- type UpdateServiceOfferingResponse
- func (*UpdateServiceOfferingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServiceOfferingResponse) GetResult() *Result
- func (*UpdateServiceOfferingResponse) ProtoMessage()
- func (x *UpdateServiceOfferingResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateServiceOfferingResponse) Reset()
- func (x *UpdateServiceOfferingResponse) String() string
Constants ¶
const ( OfferingService_CreateDiskOffering_FullMethodName = "/cloudstack.management.offering.v1.OfferingService/CreateDiskOffering" OfferingService_CreateServiceOffering_FullMethodName = "/cloudstack.management.offering.v1.OfferingService/CreateServiceOffering" OfferingService_DeleteDiskOffering_FullMethodName = "/cloudstack.management.offering.v1.OfferingService/DeleteDiskOffering" OfferingService_DeleteServiceOffering_FullMethodName = "/cloudstack.management.offering.v1.OfferingService/DeleteServiceOffering" OfferingService_IsAccountAllowedToCreateOfferingsWithTags_FullMethodName = "/cloudstack.management.offering.v1.OfferingService/IsAccountAllowedToCreateOfferingsWithTags" OfferingService_ListDiskOfferings_FullMethodName = "/cloudstack.management.offering.v1.OfferingService/ListDiskOfferings" OfferingService_ListServiceOfferings_FullMethodName = "/cloudstack.management.offering.v1.OfferingService/ListServiceOfferings" OfferingService_UpdateDiskOffering_FullMethodName = "/cloudstack.management.offering.v1.OfferingService/UpdateDiskOffering" OfferingService_UpdateServiceOffering_FullMethodName = "/cloudstack.management.offering.v1.OfferingService/UpdateServiceOffering" )
Variables ¶
var ( ProvisioningType_name = map[int32]string{ 0: "PROVISIONING_TYPE_UNSPECIFIED", 1: "PROVISIONING_TYPE_FAT", 2: "PROVISIONING_TYPE_SPARSE", 3: "PROVISIONING_TYPE_THIN", } ProvisioningType_value = map[string]int32{ "PROVISIONING_TYPE_UNSPECIFIED": 0, "PROVISIONING_TYPE_FAT": 1, "PROVISIONING_TYPE_SPARSE": 2, "PROVISIONING_TYPE_THIN": 3, } )
Enum value maps for ProvisioningType.
var File_cloudstack_management_offering_v1_offering_gen_proto protoreflect.FileDescriptor
var OfferingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cloudstack.management.offering.v1.OfferingService", HandlerType: (*OfferingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateDiskOffering", Handler: _OfferingService_CreateDiskOffering_Handler, }, { MethodName: "CreateServiceOffering", Handler: _OfferingService_CreateServiceOffering_Handler, }, { MethodName: "DeleteDiskOffering", Handler: _OfferingService_DeleteDiskOffering_Handler, }, { MethodName: "DeleteServiceOffering", Handler: _OfferingService_DeleteServiceOffering_Handler, }, { MethodName: "IsAccountAllowedToCreateOfferingsWithTags", Handler: _OfferingService_IsAccountAllowedToCreateOfferingsWithTags_Handler, }, { MethodName: "ListDiskOfferings", Handler: _OfferingService_ListDiskOfferings_Handler, }, { MethodName: "ListServiceOfferings", Handler: _OfferingService_ListServiceOfferings_Handler, }, { MethodName: "UpdateDiskOffering", Handler: _OfferingService_UpdateDiskOffering_Handler, }, { MethodName: "UpdateServiceOffering", Handler: _OfferingService_UpdateServiceOffering_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cloudstack/management/offering/v1/offering.gen.proto", }
OfferingService_ServiceDesc is the grpc.ServiceDesc for OfferingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOfferingServiceServer ¶
func RegisterOfferingServiceServer(s grpc.ServiceRegistrar, srv OfferingServiceServer)
Types ¶
type CreateDiskOfferingRequest ¶
type CreateDiskOfferingRequest struct {
// size of the disk offering in GB (1GB = 1,073,741,824 bytes)
DiskSize *int64 `protobuf:"varint,1,opt,name=disk_size,json=diskSize" json:"disk_size,omitempty"`
// An alternate display text of the disk offering, defaults to 'name'.
DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
// name of the disk offering
OfferingName *string `protobuf:"bytes,3,opt,name=offering_name,json=offeringName" json:"offering_name,omitempty"`
// tags for the disk offering
Tags *string `protobuf:"bytes,4,opt,name=tags" json:"tags,omitempty"`
// whether disk offering size is custom or not
Customized *bool `protobuf:"varint,5,opt,name=customized" json:"customized,omitempty"`
// the ID of the containing domain(s), null for public offerings
DomainIds []string `protobuf:"bytes,6,rep,name=domain_ids,json=domainIds" json:"domain_ids,omitempty"`
// the ID of the containing zone(s), null for public offerings
ZoneIds []string `protobuf:"bytes,7,rep,name=zone_ids,json=zoneIds" json:"zone_ids,omitempty"`
// the storage type of the disk offering. Values are local and shared.
StorageType *string `protobuf:"bytes,8,opt,name=storage_type,json=storageType" json:"storage_type,omitempty"`
// provisioning type used to create volumes. Valid values are thin, sparse, fat.
ProvisioningType *string `protobuf:"bytes,9,opt,name=provisioning_type,json=provisioningType" json:"provisioning_type,omitempty"`
// an optional field, whether to display the offering to the end user or not.
DisplayOffering *bool `protobuf:"varint,10,opt,name=display_offering,json=displayOffering" json:"display_offering,omitempty"`
// bytes read rate of the disk offering
BytesReadRate *int64 `protobuf:"varint,11,opt,name=bytes_read_rate,json=bytesReadRate" json:"bytes_read_rate,omitempty"`
// burst bytes read rate of the disk offering
BytesReadRateMax *int64 `protobuf:"varint,12,opt,name=bytes_read_rate_max,json=bytesReadRateMax" json:"bytes_read_rate_max,omitempty"`
// length (in seconds) of the burst
BytesReadRateMaxLength *int64 `` /* 128-byte string literal not displayed */
// bytes write rate of the disk offering
BytesWriteRate *int64 `protobuf:"varint,14,opt,name=bytes_write_rate,json=bytesWriteRate" json:"bytes_write_rate,omitempty"`
// burst bytes write rate of the disk offering
BytesWriteRateMax *int64 `protobuf:"varint,15,opt,name=bytes_write_rate_max,json=bytesWriteRateMax" json:"bytes_write_rate_max,omitempty"`
// length (in seconds) of the burst
BytesWriteRateMaxLength *int64 `` /* 131-byte string literal not displayed */
// io requests read rate of the disk offering
IopsReadRate *int64 `protobuf:"varint,17,opt,name=iops_read_rate,json=iopsReadRate" json:"iops_read_rate,omitempty"`
// burst requests read rate of the disk offering
IopsReadRateMax *int64 `protobuf:"varint,18,opt,name=iops_read_rate_max,json=iopsReadRateMax" json:"iops_read_rate_max,omitempty"`
// length (in seconds) of the burst
IopsReadRateMaxLength *int64 `protobuf:"varint,19,opt,name=iops_read_rate_max_length,json=iopsReadRateMaxLength" json:"iops_read_rate_max_length,omitempty"`
// io requests write rate of the disk offering
IopsWriteRate *int64 `protobuf:"varint,20,opt,name=iops_write_rate,json=iopsWriteRate" json:"iops_write_rate,omitempty"`
// burst io requests write rate of the disk offering
IopsWriteRateMax *int64 `protobuf:"varint,21,opt,name=iops_write_rate_max,json=iopsWriteRateMax" json:"iops_write_rate_max,omitempty"`
// length (in seconds) of the burst
IopsWriteRateMaxLength *int64 `` /* 128-byte string literal not displayed */
// whether disk offering iops is custom or not
CustomizedIops *bool `protobuf:"varint,23,opt,name=customized_iops,json=customizedIops" json:"customized_iops,omitempty"`
// min iops of the disk offering
MinIops *int64 `protobuf:"varint,24,opt,name=min_iops,json=minIops" json:"min_iops,omitempty"`
// max iops of the disk offering
MaxIops *int64 `protobuf:"varint,25,opt,name=max_iops,json=maxIops" json:"max_iops,omitempty"`
// Hypervisor snapshot reserve space as a percent of a volume (for managed storage using Xen or VMware)
HypervisorSnapshotReserve *int32 `` /* 133-byte string literal not displayed */
// the cache mode to use for this disk offering. none, writeback or writethrough
CacheMode *string `protobuf:"bytes,27,opt,name=cache_mode,json=cacheMode" json:"cache_mode,omitempty"`
// Name of the storage policy defined at vCenter, this is applicable only for VMware
StoragePolicy *int64 `protobuf:"varint,28,opt,name=storage_policy,json=storagePolicy" json:"storage_policy,omitempty"`
// To allow or disallow the resize operation on the disks created from this disk offering, if the flag is true then resize is not allowed
DiskSizeStrictness *bool `protobuf:"varint,29,opt,name=disk_size_strictness,json=diskSizeStrictness" json:"disk_size_strictness,omitempty"`
// Volumes using this offering should be encrypted
Encrypt *bool `protobuf:"varint,30,opt,name=encrypt" json:"encrypt,omitempty"`
// details to specify disk offering parameters
Details map[string]string `` /* 135-byte string literal not displayed */
ResponseType *string `protobuf:"bytes,32,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
CreateDiskOfferingRequest represents the parameters for creates a disk offering.
func (*CreateDiskOfferingRequest) Descriptor
deprecated
func (*CreateDiskOfferingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDiskOfferingRequest.ProtoReflect.Descriptor instead.
func (*CreateDiskOfferingRequest) GetBytesReadRate ¶
func (x *CreateDiskOfferingRequest) GetBytesReadRate() int64
func (*CreateDiskOfferingRequest) GetBytesReadRateMax ¶
func (x *CreateDiskOfferingRequest) GetBytesReadRateMax() int64
func (*CreateDiskOfferingRequest) GetBytesReadRateMaxLength ¶
func (x *CreateDiskOfferingRequest) GetBytesReadRateMaxLength() int64
func (*CreateDiskOfferingRequest) GetBytesWriteRate ¶
func (x *CreateDiskOfferingRequest) GetBytesWriteRate() int64
func (*CreateDiskOfferingRequest) GetBytesWriteRateMax ¶
func (x *CreateDiskOfferingRequest) GetBytesWriteRateMax() int64
func (*CreateDiskOfferingRequest) GetBytesWriteRateMaxLength ¶
func (x *CreateDiskOfferingRequest) GetBytesWriteRateMaxLength() int64
func (*CreateDiskOfferingRequest) GetCacheMode ¶
func (x *CreateDiskOfferingRequest) GetCacheMode() string
func (*CreateDiskOfferingRequest) GetCustomized ¶
func (x *CreateDiskOfferingRequest) GetCustomized() bool
func (*CreateDiskOfferingRequest) GetCustomizedIops ¶
func (x *CreateDiskOfferingRequest) GetCustomizedIops() bool
func (*CreateDiskOfferingRequest) GetDetails ¶
func (x *CreateDiskOfferingRequest) GetDetails() map[string]string
func (*CreateDiskOfferingRequest) GetDiskSize ¶
func (x *CreateDiskOfferingRequest) GetDiskSize() int64
func (*CreateDiskOfferingRequest) GetDiskSizeStrictness ¶
func (x *CreateDiskOfferingRequest) GetDiskSizeStrictness() bool
func (*CreateDiskOfferingRequest) GetDisplayOffering ¶
func (x *CreateDiskOfferingRequest) GetDisplayOffering() bool
func (*CreateDiskOfferingRequest) GetDisplayText ¶
func (x *CreateDiskOfferingRequest) GetDisplayText() string
func (*CreateDiskOfferingRequest) GetDomainIds ¶
func (x *CreateDiskOfferingRequest) GetDomainIds() []string
func (*CreateDiskOfferingRequest) GetEncrypt ¶
func (x *CreateDiskOfferingRequest) GetEncrypt() bool
func (*CreateDiskOfferingRequest) GetHypervisorSnapshotReserve ¶
func (x *CreateDiskOfferingRequest) GetHypervisorSnapshotReserve() int32
func (*CreateDiskOfferingRequest) GetIopsReadRate ¶
func (x *CreateDiskOfferingRequest) GetIopsReadRate() int64
func (*CreateDiskOfferingRequest) GetIopsReadRateMax ¶
func (x *CreateDiskOfferingRequest) GetIopsReadRateMax() int64
func (*CreateDiskOfferingRequest) GetIopsReadRateMaxLength ¶
func (x *CreateDiskOfferingRequest) GetIopsReadRateMaxLength() int64
func (*CreateDiskOfferingRequest) GetIopsWriteRate ¶
func (x *CreateDiskOfferingRequest) GetIopsWriteRate() int64
func (*CreateDiskOfferingRequest) GetIopsWriteRateMax ¶
func (x *CreateDiskOfferingRequest) GetIopsWriteRateMax() int64
func (*CreateDiskOfferingRequest) GetIopsWriteRateMaxLength ¶
func (x *CreateDiskOfferingRequest) GetIopsWriteRateMaxLength() int64
func (*CreateDiskOfferingRequest) GetMaxIops ¶
func (x *CreateDiskOfferingRequest) GetMaxIops() int64
func (*CreateDiskOfferingRequest) GetMinIops ¶
func (x *CreateDiskOfferingRequest) GetMinIops() int64
func (*CreateDiskOfferingRequest) GetOfferingName ¶
func (x *CreateDiskOfferingRequest) GetOfferingName() string
func (*CreateDiskOfferingRequest) GetProvisioningType ¶
func (x *CreateDiskOfferingRequest) GetProvisioningType() string
func (*CreateDiskOfferingRequest) GetResponseType ¶
func (x *CreateDiskOfferingRequest) GetResponseType() string
func (*CreateDiskOfferingRequest) GetStoragePolicy ¶
func (x *CreateDiskOfferingRequest) GetStoragePolicy() int64
func (*CreateDiskOfferingRequest) GetStorageType ¶
func (x *CreateDiskOfferingRequest) GetStorageType() string
func (*CreateDiskOfferingRequest) GetTags ¶
func (x *CreateDiskOfferingRequest) GetTags() string
func (*CreateDiskOfferingRequest) GetZoneIds ¶
func (x *CreateDiskOfferingRequest) GetZoneIds() []string
func (*CreateDiskOfferingRequest) ProtoMessage ¶
func (*CreateDiskOfferingRequest) ProtoMessage()
func (*CreateDiskOfferingRequest) ProtoReflect ¶
func (x *CreateDiskOfferingRequest) ProtoReflect() protoreflect.Message
func (*CreateDiskOfferingRequest) Reset ¶
func (x *CreateDiskOfferingRequest) Reset()
func (*CreateDiskOfferingRequest) String ¶
func (x *CreateDiskOfferingRequest) String() string
type CreateDiskOfferingResponse ¶
type CreateDiskOfferingResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
CreateDiskOfferingResponse represents the response from creates a disk offering.
func (*CreateDiskOfferingResponse) Descriptor
deprecated
func (*CreateDiskOfferingResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDiskOfferingResponse.ProtoReflect.Descriptor instead.
func (*CreateDiskOfferingResponse) GetResult ¶
func (x *CreateDiskOfferingResponse) GetResult() *Result
func (*CreateDiskOfferingResponse) ProtoMessage ¶
func (*CreateDiskOfferingResponse) ProtoMessage()
func (*CreateDiskOfferingResponse) ProtoReflect ¶
func (x *CreateDiskOfferingResponse) ProtoReflect() protoreflect.Message
func (*CreateDiskOfferingResponse) Reset ¶
func (x *CreateDiskOfferingResponse) Reset()
func (*CreateDiskOfferingResponse) String ¶
func (x *CreateDiskOfferingResponse) String() string
type CreateServiceOfferingRequest ¶
type CreateServiceOfferingRequest struct {
// the CPU number of the service offering
CpuNumber *int32 `protobuf:"varint,1,opt,name=cpu_number,json=cpuNumber" json:"cpu_number,omitempty"`
// For VMware and Xen based hypervisors this is the CPU speed of the service offering in MHz.
// For the KVM hypervisor, the values of the parameters cpuSpeed and cpuNumber will be used to calculate the `shares` value. This value is used by the KVM hypervisor to calculate how much time the VM will have access to the host's CPU. The `shares` value does not have a unit, and its purpose is being a weight value for the host to compare between its guest VMs. For more information, see https://libvirt.org/formatdomain.html#cpu-tuning.
CpuSpeed *int32 `protobuf:"varint,2,opt,name=cpu_speed,json=cpuSpeed" json:"cpu_speed,omitempty"`
// The display text of the service offering, defaults to 'name'.
DisplayText *string `protobuf:"bytes,3,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
// provisioning type used to create volumes. Valid values are thin, sparse, fat.
ProvisioningType *string `protobuf:"bytes,4,opt,name=provisioning_type,json=provisioningType" json:"provisioning_type,omitempty"`
// the total memory of the service offering in MB
Memory *int32 `protobuf:"varint,5,opt,name=memory" json:"memory,omitempty"`
// the name of the service offering
ServiceOfferingName *string `protobuf:"bytes,6,opt,name=service_offering_name,json=serviceOfferingName" json:"service_offering_name,omitempty"`
// the HA for the service offering
OfferHa *bool `protobuf:"varint,7,opt,name=offer_ha,json=offerHa" json:"offer_ha,omitempty"`
// restrict the CPU usage to committed service offering
LimitCpuUse *bool `protobuf:"varint,8,opt,name=limit_cpu_use,json=limitCpuUse" json:"limit_cpu_use,omitempty"`
// true if the virtual machine needs to be volatile so that on every reboot of VM, original root disk is dettached then destroyed and a fresh root disk is created and attached to VM
IsVolatile *bool `protobuf:"varint,9,opt,name=is_volatile,json=isVolatile" json:"is_volatile,omitempty"`
// the storage type of the service offering. Values are local and shared.
StorageType *string `protobuf:"bytes,10,opt,name=storage_type,json=storageType" json:"storage_type,omitempty"`
// the tags for this service offering.
Tags *string `protobuf:"bytes,11,opt,name=tags" json:"tags,omitempty"`
// the ID of the containing domain(s), null for public offerings
DomainIds []string `protobuf:"bytes,12,rep,name=domain_ids,json=domainIds" json:"domain_ids,omitempty"`
// the ID of the containing zone(s), null for public offerings
ZoneIds []string `protobuf:"bytes,13,rep,name=zone_ids,json=zoneIds" json:"zone_ids,omitempty"`
// the host tag for this service offering.
HostTag *string `protobuf:"bytes,14,opt,name=host_tag,json=hostTag" json:"host_tag,omitempty"`
// is this a system vm offering
IsSystem *bool `protobuf:"varint,15,opt,name=is_system,json=isSystem" json:"is_system,omitempty"`
// the system VM type. Possible types are "domainrouter", "consoleproxy" and "secondarystoragevm".
SystemVmType *string `protobuf:"bytes,16,opt,name=system_vm_type,json=systemVmType" json:"system_vm_type,omitempty"`
// data transfer rate in megabits per second allowed. Supported only for non-System offering and system offerings having "domainrouter" systemvmtype
NetworkRate *int32 `protobuf:"varint,17,opt,name=network_rate,json=networkRate" json:"network_rate,omitempty"`
// The deployment planner heuristics used to deploy a VM of this offering. If null, value of global config vm.deployment.planner is used
DeploymentPlanner *string `protobuf:"bytes,18,opt,name=deployment_planner,json=deploymentPlanner" json:"deployment_planner,omitempty"`
// details for planner, used to store specific parameters
Details map[string]string `` /* 135-byte string literal not displayed */
// the Root disk size in GB.
RootDiskSize *int64 `protobuf:"varint,20,opt,name=root_disk_size,json=rootDiskSize" json:"root_disk_size,omitempty"`
// bytes read rate of the disk offering
BytesReadRate *int64 `protobuf:"varint,21,opt,name=bytes_read_rate,json=bytesReadRate" json:"bytes_read_rate,omitempty"`
// burst bytes read rate of the disk offering
BytesReadRateMax *int64 `protobuf:"varint,22,opt,name=bytes_read_rate_max,json=bytesReadRateMax" json:"bytes_read_rate_max,omitempty"`
// length (in seconds) of the burst
BytesReadRateMaxLength *int64 `` /* 128-byte string literal not displayed */
// bytes write rate of the disk offering
BytesWriteRate *int64 `protobuf:"varint,24,opt,name=bytes_write_rate,json=bytesWriteRate" json:"bytes_write_rate,omitempty"`
// burst bytes write rate of the disk offering
BytesWriteRateMax *int64 `protobuf:"varint,25,opt,name=bytes_write_rate_max,json=bytesWriteRateMax" json:"bytes_write_rate_max,omitempty"`
// length (in seconds) of the burst
BytesWriteRateMaxLength *int64 `` /* 131-byte string literal not displayed */
// io requests read rate of the disk offering
IopsReadRate *int64 `protobuf:"varint,27,opt,name=iops_read_rate,json=iopsReadRate" json:"iops_read_rate,omitempty"`
// burst requests read rate of the disk offering
IopsReadRateMax *int64 `protobuf:"varint,28,opt,name=iops_read_rate_max,json=iopsReadRateMax" json:"iops_read_rate_max,omitempty"`
// length (in seconds) of the burst
IopsReadRateMaxLength *int64 `protobuf:"varint,29,opt,name=iops_read_rate_max_length,json=iopsReadRateMaxLength" json:"iops_read_rate_max_length,omitempty"`
// io requests write rate of the disk offering
IopsWriteRate *int64 `protobuf:"varint,30,opt,name=iops_write_rate,json=iopsWriteRate" json:"iops_write_rate,omitempty"`
// burst io requests write rate of the disk offering
IopsWriteRateMax *int64 `protobuf:"varint,31,opt,name=iops_write_rate_max,json=iopsWriteRateMax" json:"iops_write_rate_max,omitempty"`
// length (in seconds) of the burst
IopsWriteRateMaxLength *int64 `` /* 128-byte string literal not displayed */
// whether compute offering iops is custom or not
CustomizedIops *bool `protobuf:"varint,33,opt,name=customized_iops,json=customizedIops" json:"customized_iops,omitempty"`
// min iops of the compute offering
MinIops *int64 `protobuf:"varint,34,opt,name=min_iops,json=minIops" json:"min_iops,omitempty"`
// max iops of the compute offering
MaxIops *int64 `protobuf:"varint,35,opt,name=max_iops,json=maxIops" json:"max_iops,omitempty"`
// Hypervisor snapshot reserve space as a percent of a volume (for managed storage using Xen or VMware)
HypervisorSnapshotReserve *int32 `` /* 133-byte string literal not displayed */
// the cache mode to use for this disk offering. none, writeback or writethrough
CacheMode *string `protobuf:"bytes,37,opt,name=cache_mode,json=cacheMode" json:"cache_mode,omitempty"`
// Whether service offering size is custom or not
Customized *bool `protobuf:"varint,38,opt,name=customized" json:"customized,omitempty"`
// The maximum number of CPUs to be set with Custom Computer Offering
MaxCPU *int32 `protobuf:"varint,39,opt,name=max_c_p_u,json=maxCPU" json:"max_c_p_u,omitempty"`
// The minimum number of CPUs to be set with Custom Computer Offering
MinCPU *int32 `protobuf:"varint,40,opt,name=min_c_p_u,json=minCPU" json:"min_c_p_u,omitempty"`
// The maximum memory size of the custom service offering in MB
MaxMemory *int32 `protobuf:"varint,41,opt,name=max_memory,json=maxMemory" json:"max_memory,omitempty"`
// The minimum memory size of the custom service offering in MB
MinMemory *int32 `protobuf:"varint,42,opt,name=min_memory,json=minMemory" json:"min_memory,omitempty"`
// Name of the storage policy defined at vCenter, this is applicable only for VMware
StoragePolicy *int64 `protobuf:"varint,43,opt,name=storage_policy,json=storagePolicy" json:"storage_policy,omitempty"`
// true if virtual machine needs to be dynamically scalable of cpu or memory
IsDynamicScalingEnabled *bool `` /* 129-byte string literal not displayed */
// the ID of the disk offering to which service offering should be mapped
DiskOfferingId *int64 `protobuf:"varint,45,opt,name=disk_offering_id,json=diskOfferingId" json:"disk_offering_id,omitempty"`
// True/False to indicate the strictness of the disk offering association with the compute offering. When set to true, override of disk offering is not allowed when VM is deployed and change disk offering is not allowed for the ROOT disk after the VM is deployed
DiskOfferingStrictness *bool `protobuf:"varint,46,opt,name=disk_offering_strictness,json=diskOfferingStrictness" json:"disk_offering_strictness,omitempty"`
// VMs using this offering require root volume encryption
EncryptRoot *bool `protobuf:"varint,47,opt,name=encrypt_root,json=encryptRoot" json:"encrypt_root,omitempty"`
// Whether to cleanup instance and its associated resource from database upon expunge of the instance
PurgeResources *bool `protobuf:"varint,48,opt,name=purge_resources,json=purgeResources" json:"purge_resources,omitempty"`
ResponseType *string `protobuf:"bytes,49,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
CreateServiceOfferingRequest represents the parameters for creates a service offering.
func (*CreateServiceOfferingRequest) Descriptor
deprecated
func (*CreateServiceOfferingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateServiceOfferingRequest.ProtoReflect.Descriptor instead.
func (*CreateServiceOfferingRequest) GetBytesReadRate ¶
func (x *CreateServiceOfferingRequest) GetBytesReadRate() int64
func (*CreateServiceOfferingRequest) GetBytesReadRateMax ¶
func (x *CreateServiceOfferingRequest) GetBytesReadRateMax() int64
func (*CreateServiceOfferingRequest) GetBytesReadRateMaxLength ¶
func (x *CreateServiceOfferingRequest) GetBytesReadRateMaxLength() int64
func (*CreateServiceOfferingRequest) GetBytesWriteRate ¶
func (x *CreateServiceOfferingRequest) GetBytesWriteRate() int64
func (*CreateServiceOfferingRequest) GetBytesWriteRateMax ¶
func (x *CreateServiceOfferingRequest) GetBytesWriteRateMax() int64
func (*CreateServiceOfferingRequest) GetBytesWriteRateMaxLength ¶
func (x *CreateServiceOfferingRequest) GetBytesWriteRateMaxLength() int64
func (*CreateServiceOfferingRequest) GetCacheMode ¶
func (x *CreateServiceOfferingRequest) GetCacheMode() string
func (*CreateServiceOfferingRequest) GetCpuNumber ¶
func (x *CreateServiceOfferingRequest) GetCpuNumber() int32
func (*CreateServiceOfferingRequest) GetCpuSpeed ¶
func (x *CreateServiceOfferingRequest) GetCpuSpeed() int32
func (*CreateServiceOfferingRequest) GetCustomized ¶
func (x *CreateServiceOfferingRequest) GetCustomized() bool
func (*CreateServiceOfferingRequest) GetCustomizedIops ¶
func (x *CreateServiceOfferingRequest) GetCustomizedIops() bool
func (*CreateServiceOfferingRequest) GetDeploymentPlanner ¶
func (x *CreateServiceOfferingRequest) GetDeploymentPlanner() string
func (*CreateServiceOfferingRequest) GetDetails ¶
func (x *CreateServiceOfferingRequest) GetDetails() map[string]string
func (*CreateServiceOfferingRequest) GetDiskOfferingId ¶
func (x *CreateServiceOfferingRequest) GetDiskOfferingId() int64
func (*CreateServiceOfferingRequest) GetDiskOfferingStrictness ¶
func (x *CreateServiceOfferingRequest) GetDiskOfferingStrictness() bool
func (*CreateServiceOfferingRequest) GetDisplayText ¶
func (x *CreateServiceOfferingRequest) GetDisplayText() string
func (*CreateServiceOfferingRequest) GetDomainIds ¶
func (x *CreateServiceOfferingRequest) GetDomainIds() []string
func (*CreateServiceOfferingRequest) GetEncryptRoot ¶
func (x *CreateServiceOfferingRequest) GetEncryptRoot() bool
func (*CreateServiceOfferingRequest) GetHostTag ¶
func (x *CreateServiceOfferingRequest) GetHostTag() string
func (*CreateServiceOfferingRequest) GetHypervisorSnapshotReserve ¶
func (x *CreateServiceOfferingRequest) GetHypervisorSnapshotReserve() int32
func (*CreateServiceOfferingRequest) GetIopsReadRate ¶
func (x *CreateServiceOfferingRequest) GetIopsReadRate() int64
func (*CreateServiceOfferingRequest) GetIopsReadRateMax ¶
func (x *CreateServiceOfferingRequest) GetIopsReadRateMax() int64
func (*CreateServiceOfferingRequest) GetIopsReadRateMaxLength ¶
func (x *CreateServiceOfferingRequest) GetIopsReadRateMaxLength() int64
func (*CreateServiceOfferingRequest) GetIopsWriteRate ¶
func (x *CreateServiceOfferingRequest) GetIopsWriteRate() int64
func (*CreateServiceOfferingRequest) GetIopsWriteRateMax ¶
func (x *CreateServiceOfferingRequest) GetIopsWriteRateMax() int64
func (*CreateServiceOfferingRequest) GetIopsWriteRateMaxLength ¶
func (x *CreateServiceOfferingRequest) GetIopsWriteRateMaxLength() int64
func (*CreateServiceOfferingRequest) GetIsDynamicScalingEnabled ¶
func (x *CreateServiceOfferingRequest) GetIsDynamicScalingEnabled() bool
func (*CreateServiceOfferingRequest) GetIsSystem ¶
func (x *CreateServiceOfferingRequest) GetIsSystem() bool
func (*CreateServiceOfferingRequest) GetIsVolatile ¶
func (x *CreateServiceOfferingRequest) GetIsVolatile() bool
func (*CreateServiceOfferingRequest) GetLimitCpuUse ¶
func (x *CreateServiceOfferingRequest) GetLimitCpuUse() bool
func (*CreateServiceOfferingRequest) GetMaxCPU ¶
func (x *CreateServiceOfferingRequest) GetMaxCPU() int32
func (*CreateServiceOfferingRequest) GetMaxIops ¶
func (x *CreateServiceOfferingRequest) GetMaxIops() int64
func (*CreateServiceOfferingRequest) GetMaxMemory ¶
func (x *CreateServiceOfferingRequest) GetMaxMemory() int32
func (*CreateServiceOfferingRequest) GetMemory ¶
func (x *CreateServiceOfferingRequest) GetMemory() int32
func (*CreateServiceOfferingRequest) GetMinCPU ¶
func (x *CreateServiceOfferingRequest) GetMinCPU() int32
func (*CreateServiceOfferingRequest) GetMinIops ¶
func (x *CreateServiceOfferingRequest) GetMinIops() int64
func (*CreateServiceOfferingRequest) GetMinMemory ¶
func (x *CreateServiceOfferingRequest) GetMinMemory() int32
func (*CreateServiceOfferingRequest) GetNetworkRate ¶
func (x *CreateServiceOfferingRequest) GetNetworkRate() int32
func (*CreateServiceOfferingRequest) GetOfferHa ¶
func (x *CreateServiceOfferingRequest) GetOfferHa() bool
func (*CreateServiceOfferingRequest) GetProvisioningType ¶
func (x *CreateServiceOfferingRequest) GetProvisioningType() string
func (*CreateServiceOfferingRequest) GetPurgeResources ¶
func (x *CreateServiceOfferingRequest) GetPurgeResources() bool
func (*CreateServiceOfferingRequest) GetResponseType ¶
func (x *CreateServiceOfferingRequest) GetResponseType() string
func (*CreateServiceOfferingRequest) GetRootDiskSize ¶
func (x *CreateServiceOfferingRequest) GetRootDiskSize() int64
func (*CreateServiceOfferingRequest) GetServiceOfferingName ¶
func (x *CreateServiceOfferingRequest) GetServiceOfferingName() string
func (*CreateServiceOfferingRequest) GetStoragePolicy ¶
func (x *CreateServiceOfferingRequest) GetStoragePolicy() int64
func (*CreateServiceOfferingRequest) GetStorageType ¶
func (x *CreateServiceOfferingRequest) GetStorageType() string
func (*CreateServiceOfferingRequest) GetSystemVmType ¶
func (x *CreateServiceOfferingRequest) GetSystemVmType() string
func (*CreateServiceOfferingRequest) GetTags ¶
func (x *CreateServiceOfferingRequest) GetTags() string
func (*CreateServiceOfferingRequest) GetZoneIds ¶
func (x *CreateServiceOfferingRequest) GetZoneIds() []string
func (*CreateServiceOfferingRequest) ProtoMessage ¶
func (*CreateServiceOfferingRequest) ProtoMessage()
func (*CreateServiceOfferingRequest) ProtoReflect ¶
func (x *CreateServiceOfferingRequest) ProtoReflect() protoreflect.Message
func (*CreateServiceOfferingRequest) Reset ¶
func (x *CreateServiceOfferingRequest) Reset()
func (*CreateServiceOfferingRequest) String ¶
func (x *CreateServiceOfferingRequest) String() string
type CreateServiceOfferingResponse ¶
type CreateServiceOfferingResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
CreateServiceOfferingResponse represents the response from creates a service offering.
func (*CreateServiceOfferingResponse) Descriptor
deprecated
func (*CreateServiceOfferingResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateServiceOfferingResponse.ProtoReflect.Descriptor instead.
func (*CreateServiceOfferingResponse) GetResult ¶
func (x *CreateServiceOfferingResponse) GetResult() *Result
func (*CreateServiceOfferingResponse) ProtoMessage ¶
func (*CreateServiceOfferingResponse) ProtoMessage()
func (*CreateServiceOfferingResponse) ProtoReflect ¶
func (x *CreateServiceOfferingResponse) ProtoReflect() protoreflect.Message
func (*CreateServiceOfferingResponse) Reset ¶
func (x *CreateServiceOfferingResponse) Reset()
func (*CreateServiceOfferingResponse) String ¶
func (x *CreateServiceOfferingResponse) String() string
type DeleteDiskOfferingRequest ¶
type DeleteDiskOfferingRequest struct {
// ID of the disk 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
}
DeleteDiskOfferingRequest represents the parameters for updates a disk offering.
func (*DeleteDiskOfferingRequest) Descriptor
deprecated
func (*DeleteDiskOfferingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDiskOfferingRequest.ProtoReflect.Descriptor instead.
func (*DeleteDiskOfferingRequest) GetId ¶
func (x *DeleteDiskOfferingRequest) GetId() int64
func (*DeleteDiskOfferingRequest) GetResponseType ¶
func (x *DeleteDiskOfferingRequest) GetResponseType() string
func (*DeleteDiskOfferingRequest) ProtoMessage ¶
func (*DeleteDiskOfferingRequest) ProtoMessage()
func (*DeleteDiskOfferingRequest) ProtoReflect ¶
func (x *DeleteDiskOfferingRequest) ProtoReflect() protoreflect.Message
func (*DeleteDiskOfferingRequest) Reset ¶
func (x *DeleteDiskOfferingRequest) Reset()
func (*DeleteDiskOfferingRequest) String ¶
func (x *DeleteDiskOfferingRequest) String() string
type DeleteDiskOfferingResponse ¶
type DeleteDiskOfferingResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
DeleteDiskOfferingResponse represents the response from updates a disk offering.
func (*DeleteDiskOfferingResponse) Descriptor
deprecated
func (*DeleteDiskOfferingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDiskOfferingResponse.ProtoReflect.Descriptor instead.
func (*DeleteDiskOfferingResponse) GetResult ¶
func (x *DeleteDiskOfferingResponse) GetResult() *Result
func (*DeleteDiskOfferingResponse) ProtoMessage ¶
func (*DeleteDiskOfferingResponse) ProtoMessage()
func (*DeleteDiskOfferingResponse) ProtoReflect ¶
func (x *DeleteDiskOfferingResponse) ProtoReflect() protoreflect.Message
func (*DeleteDiskOfferingResponse) Reset ¶
func (x *DeleteDiskOfferingResponse) Reset()
func (*DeleteDiskOfferingResponse) String ¶
func (x *DeleteDiskOfferingResponse) String() string
type DeleteServiceOfferingRequest ¶
type DeleteServiceOfferingRequest struct {
// the ID of the service 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
}
DeleteServiceOfferingRequest represents the parameters for deletes a service offering.
func (*DeleteServiceOfferingRequest) Descriptor
deprecated
func (*DeleteServiceOfferingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServiceOfferingRequest.ProtoReflect.Descriptor instead.
func (*DeleteServiceOfferingRequest) GetId ¶
func (x *DeleteServiceOfferingRequest) GetId() int64
func (*DeleteServiceOfferingRequest) GetResponseType ¶
func (x *DeleteServiceOfferingRequest) GetResponseType() string
func (*DeleteServiceOfferingRequest) ProtoMessage ¶
func (*DeleteServiceOfferingRequest) ProtoMessage()
func (*DeleteServiceOfferingRequest) ProtoReflect ¶
func (x *DeleteServiceOfferingRequest) ProtoReflect() protoreflect.Message
func (*DeleteServiceOfferingRequest) Reset ¶
func (x *DeleteServiceOfferingRequest) Reset()
func (*DeleteServiceOfferingRequest) String ¶
func (x *DeleteServiceOfferingRequest) String() string
type DeleteServiceOfferingResponse ¶
type DeleteServiceOfferingResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
DeleteServiceOfferingResponse represents the response from deletes a service offering.
func (*DeleteServiceOfferingResponse) Descriptor
deprecated
func (*DeleteServiceOfferingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServiceOfferingResponse.ProtoReflect.Descriptor instead.
func (*DeleteServiceOfferingResponse) GetResult ¶
func (x *DeleteServiceOfferingResponse) GetResult() *Result
func (*DeleteServiceOfferingResponse) ProtoMessage ¶
func (*DeleteServiceOfferingResponse) ProtoMessage()
func (*DeleteServiceOfferingResponse) ProtoReflect ¶
func (x *DeleteServiceOfferingResponse) ProtoReflect() protoreflect.Message
func (*DeleteServiceOfferingResponse) Reset ¶
func (x *DeleteServiceOfferingResponse) Reset()
func (*DeleteServiceOfferingResponse) String ¶
func (x *DeleteServiceOfferingResponse) String() string
type DiskOffering ¶
type DiskOffering struct {
// The ID of the DiskOffering
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the DiskOffering
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the DiskOffering
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the DiskOffering
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
}
DiskOffering represents a DiskOffering Item
func (*DiskOffering) Descriptor
deprecated
func (*DiskOffering) Descriptor() ([]byte, []int)
Deprecated: Use DiskOffering.ProtoReflect.Descriptor instead.
func (*DiskOffering) GetCreated ¶
func (x *DiskOffering) GetCreated() string
func (*DiskOffering) GetDescription ¶
func (x *DiskOffering) GetDescription() string
func (*DiskOffering) GetDisplayName ¶
func (x *DiskOffering) GetDisplayName() string
func (*DiskOffering) GetId ¶
func (x *DiskOffering) GetId() string
func (*DiskOffering) GetName ¶
func (x *DiskOffering) GetName() string
func (*DiskOffering) ProtoMessage ¶
func (*DiskOffering) ProtoMessage()
func (*DiskOffering) ProtoReflect ¶
func (x *DiskOffering) ProtoReflect() protoreflect.Message
func (*DiskOffering) Reset ¶
func (x *DiskOffering) Reset()
func (*DiskOffering) String ¶
func (x *DiskOffering) String() string
type IsAccountAllowedToCreateOfferingsWithTagsRequest ¶
type IsAccountAllowedToCreateOfferingsWithTagsRequest struct {
// Account UUID
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
}
IsAccountAllowedToCreateOfferingsWithTagsRequest represents the parameters for return true if the specified account is allowed to create offerings with tags.
func (*IsAccountAllowedToCreateOfferingsWithTagsRequest) Descriptor
deprecated
func (*IsAccountAllowedToCreateOfferingsWithTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsAccountAllowedToCreateOfferingsWithTagsRequest.ProtoReflect.Descriptor instead.
func (*IsAccountAllowedToCreateOfferingsWithTagsRequest) GetId ¶
func (x *IsAccountAllowedToCreateOfferingsWithTagsRequest) GetId() int64
func (*IsAccountAllowedToCreateOfferingsWithTagsRequest) GetResponseType ¶
func (x *IsAccountAllowedToCreateOfferingsWithTagsRequest) GetResponseType() string
func (*IsAccountAllowedToCreateOfferingsWithTagsRequest) ProtoMessage ¶
func (*IsAccountAllowedToCreateOfferingsWithTagsRequest) ProtoMessage()
func (*IsAccountAllowedToCreateOfferingsWithTagsRequest) ProtoReflect ¶
func (x *IsAccountAllowedToCreateOfferingsWithTagsRequest) ProtoReflect() protoreflect.Message
func (*IsAccountAllowedToCreateOfferingsWithTagsRequest) Reset ¶
func (x *IsAccountAllowedToCreateOfferingsWithTagsRequest) Reset()
func (*IsAccountAllowedToCreateOfferingsWithTagsRequest) String ¶
func (x *IsAccountAllowedToCreateOfferingsWithTagsRequest) String() string
type IsAccountAllowedToCreateOfferingsWithTagsResponse ¶
type IsAccountAllowedToCreateOfferingsWithTagsResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
IsAccountAllowedToCreateOfferingsWithTagsResponse represents the response from return true if the specified account is allowed to create offerings with tags.
func (*IsAccountAllowedToCreateOfferingsWithTagsResponse) Descriptor
deprecated
func (*IsAccountAllowedToCreateOfferingsWithTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsAccountAllowedToCreateOfferingsWithTagsResponse.ProtoReflect.Descriptor instead.
func (*IsAccountAllowedToCreateOfferingsWithTagsResponse) GetResult ¶
func (x *IsAccountAllowedToCreateOfferingsWithTagsResponse) GetResult() *Result
func (*IsAccountAllowedToCreateOfferingsWithTagsResponse) ProtoMessage ¶
func (*IsAccountAllowedToCreateOfferingsWithTagsResponse) ProtoMessage()
func (*IsAccountAllowedToCreateOfferingsWithTagsResponse) ProtoReflect ¶
func (x *IsAccountAllowedToCreateOfferingsWithTagsResponse) ProtoReflect() protoreflect.Message
func (*IsAccountAllowedToCreateOfferingsWithTagsResponse) Reset ¶
func (x *IsAccountAllowedToCreateOfferingsWithTagsResponse) Reset()
func (*IsAccountAllowedToCreateOfferingsWithTagsResponse) String ¶
func (x *IsAccountAllowedToCreateOfferingsWithTagsResponse) String() string
type ListDiskOfferingsRequest ¶
type ListDiskOfferingsRequest struct {
// ID of the disk offering
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// name of the disk offering
DiskOfferingName *string `protobuf:"bytes,2,opt,name=disk_offering_name,json=diskOfferingName" json:"disk_offering_name,omitempty"`
// id of zone disk offering is associated with
ZoneId *int64 `protobuf:"varint,3,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
// The ID of the volume, tags of the volume are used to filter the offerings
VolumeId *int64 `protobuf:"varint,4,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
// The ID of the storage pool, tags of the storage pool are used to filter the offerings
StoragePoolId *int64 `protobuf:"varint,5,opt,name=storage_pool_id,json=storagePoolId" json:"storage_pool_id,omitempty"`
// listed offerings support disk encryption
Encrypt *bool `protobuf:"varint,6,opt,name=encrypt" json:"encrypt,omitempty"`
// the storage type of the service offering. Values are local and shared.
StorageType *string `protobuf:"bytes,7,opt,name=storage_type,json=storageType" json:"storage_type,omitempty"`
// Filter by state of the disk offering. Defaults to 'Active'. If set to 'all' shows both Active & Inactive offerings.
DiskOfferingState *string `protobuf:"bytes,8,opt,name=disk_offering_state,json=diskOfferingState" json:"disk_offering_state,omitempty"`
// The ID of a virtual machine. Pass this in if you want to see the suitable disk offering that can be used to create and add a disk to the virtual machine. Suitability is returned with suitableforvirtualmachine flag in the response
VirtualMachineId *int64 `protobuf:"varint,9,opt,name=virtual_machine_id,json=virtualMachineId" json:"virtual_machine_id,omitempty"`
// list objects by project; if projectid=-1 lists All VMs
ProjectId *int64 `protobuf:"varint,10,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,11,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,12,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
// list only resources belonging to the domain specified
DomainId *int64 `protobuf:"varint,13,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,14,opt,name=recursive" json:"recursive,omitempty"`
// List by keyword
Keyword *string `protobuf:"bytes,15,opt,name=keyword" json:"keyword,omitempty"`
Page *int32 `protobuf:"varint,16,opt,name=page" json:"page,omitempty"`
PageSize *int32 `protobuf:"varint,17,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
ResponseType *string `protobuf:"bytes,18,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListDiskOfferingsRequest represents the parameters for lists all available disk offerings.
func (*ListDiskOfferingsRequest) Descriptor
deprecated
func (*ListDiskOfferingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDiskOfferingsRequest.ProtoReflect.Descriptor instead.
func (*ListDiskOfferingsRequest) GetAccountName ¶
func (x *ListDiskOfferingsRequest) GetAccountName() string
func (*ListDiskOfferingsRequest) GetDiskOfferingName ¶
func (x *ListDiskOfferingsRequest) GetDiskOfferingName() string
func (*ListDiskOfferingsRequest) GetDiskOfferingState ¶
func (x *ListDiskOfferingsRequest) GetDiskOfferingState() string
func (*ListDiskOfferingsRequest) GetDomainId ¶
func (x *ListDiskOfferingsRequest) GetDomainId() int64
func (*ListDiskOfferingsRequest) GetEncrypt ¶
func (x *ListDiskOfferingsRequest) GetEncrypt() bool
func (*ListDiskOfferingsRequest) GetId ¶
func (x *ListDiskOfferingsRequest) GetId() int64
func (*ListDiskOfferingsRequest) GetKeyword ¶
func (x *ListDiskOfferingsRequest) GetKeyword() string
func (*ListDiskOfferingsRequest) GetListAll ¶
func (x *ListDiskOfferingsRequest) GetListAll() bool
func (*ListDiskOfferingsRequest) GetPage ¶
func (x *ListDiskOfferingsRequest) GetPage() int32
func (*ListDiskOfferingsRequest) GetPageSize ¶
func (x *ListDiskOfferingsRequest) GetPageSize() int32
func (*ListDiskOfferingsRequest) GetProjectId ¶
func (x *ListDiskOfferingsRequest) GetProjectId() int64
func (*ListDiskOfferingsRequest) GetRecursive ¶
func (x *ListDiskOfferingsRequest) GetRecursive() bool
func (*ListDiskOfferingsRequest) GetResponseType ¶
func (x *ListDiskOfferingsRequest) GetResponseType() string
func (*ListDiskOfferingsRequest) GetStoragePoolId ¶
func (x *ListDiskOfferingsRequest) GetStoragePoolId() int64
func (*ListDiskOfferingsRequest) GetStorageType ¶
func (x *ListDiskOfferingsRequest) GetStorageType() string
func (*ListDiskOfferingsRequest) GetVirtualMachineId ¶
func (x *ListDiskOfferingsRequest) GetVirtualMachineId() int64
func (*ListDiskOfferingsRequest) GetVolumeId ¶
func (x *ListDiskOfferingsRequest) GetVolumeId() int64
func (*ListDiskOfferingsRequest) GetZoneId ¶
func (x *ListDiskOfferingsRequest) GetZoneId() int64
func (*ListDiskOfferingsRequest) ProtoMessage ¶
func (*ListDiskOfferingsRequest) ProtoMessage()
func (*ListDiskOfferingsRequest) ProtoReflect ¶
func (x *ListDiskOfferingsRequest) ProtoReflect() protoreflect.Message
func (*ListDiskOfferingsRequest) Reset ¶
func (x *ListDiskOfferingsRequest) Reset()
func (*ListDiskOfferingsRequest) String ¶
func (x *ListDiskOfferingsRequest) String() string
type ListDiskOfferingsResponse ¶
type ListDiskOfferingsResponse struct {
// The list of DiskOfferings
Items []*DiskOffering `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of DiskOfferings
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListDiskOfferingsResponse represents the response from lists all available disk offerings.
func (*ListDiskOfferingsResponse) Descriptor
deprecated
func (*ListDiskOfferingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDiskOfferingsResponse.ProtoReflect.Descriptor instead.
func (*ListDiskOfferingsResponse) GetItems ¶
func (x *ListDiskOfferingsResponse) GetItems() []*DiskOffering
func (*ListDiskOfferingsResponse) GetTotalCount ¶
func (x *ListDiskOfferingsResponse) GetTotalCount() int32
func (*ListDiskOfferingsResponse) ProtoMessage ¶
func (*ListDiskOfferingsResponse) ProtoMessage()
func (*ListDiskOfferingsResponse) ProtoReflect ¶
func (x *ListDiskOfferingsResponse) ProtoReflect() protoreflect.Message
func (*ListDiskOfferingsResponse) Reset ¶
func (x *ListDiskOfferingsResponse) Reset()
func (*ListDiskOfferingsResponse) String ¶
func (x *ListDiskOfferingsResponse) String() string
type ListServiceOfferingsRequest ¶
type ListServiceOfferingsRequest struct {
// ID of the service offering
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// name of the service offering
ServiceOfferingName *string `protobuf:"bytes,2,opt,name=service_offering_name,json=serviceOfferingName" json:"service_offering_name,omitempty"`
// the ID of the virtual machine. Pass this in if you want to see the available service offering that a virtual machine can be changed to.
VirtualMachineId *int64 `protobuf:"varint,3,opt,name=virtual_machine_id,json=virtualMachineId" json:"virtual_machine_id,omitempty"`
// is this a system vm offering
IsSystem *bool `protobuf:"varint,4,opt,name=is_system,json=isSystem" json:"is_system,omitempty"`
// the system VM type. Possible types are "consoleproxy", "secondarystoragevm" or "domainrouter".
SystemVmType *string `protobuf:"bytes,5,opt,name=system_vm_type,json=systemVmType" json:"system_vm_type,omitempty"`
// id of zone disk offering is associated with
ZoneId *int64 `protobuf:"varint,6,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
// the CPU number that listed offerings must support
CpuNumber *int32 `protobuf:"varint,7,opt,name=cpu_number,json=cpuNumber" json:"cpu_number,omitempty"`
// the RAM memory that listed offering must support
Memory *int32 `protobuf:"varint,8,opt,name=memory" json:"memory,omitempty"`
// the CPU speed that listed offerings must support
CpuSpeed *int32 `protobuf:"varint,9,opt,name=cpu_speed,json=cpuSpeed" json:"cpu_speed,omitempty"`
// listed offerings support root disk encryption
EncryptRoot *bool `protobuf:"varint,10,opt,name=encrypt_root,json=encryptRoot" json:"encrypt_root,omitempty"`
// the storage type of the service offering. Values are local and shared.
StorageType *string `protobuf:"bytes,11,opt,name=storage_type,json=storageType" json:"storage_type,omitempty"`
// Filter by state of the service offering. Defaults to 'Active'. If set to 'all' shows both Active & Inactive offerings.
ServiceOfferingState *string `protobuf:"bytes,12,opt,name=service_offering_state,json=serviceOfferingState" json:"service_offering_state,omitempty"`
// The ID of the template that listed offerings must support
TemplateId *int64 `protobuf:"varint,13,opt,name=template_id,json=templateId" json:"template_id,omitempty"`
// list objects by project; if projectid=-1 lists All VMs
ProjectId *int64 `protobuf:"varint,14,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,15,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,16,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
// list only resources belonging to the domain specified
DomainId *int64 `protobuf:"varint,17,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,18,opt,name=recursive" json:"recursive,omitempty"`
// List by keyword
Keyword *string `protobuf:"bytes,19,opt,name=keyword" json:"keyword,omitempty"`
Page *int32 `protobuf:"varint,20,opt,name=page" json:"page,omitempty"`
PageSize *int32 `protobuf:"varint,21,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
ResponseType *string `protobuf:"bytes,22,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListServiceOfferingsRequest represents the parameters for lists all available service offerings.
func (*ListServiceOfferingsRequest) Descriptor
deprecated
func (*ListServiceOfferingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListServiceOfferingsRequest.ProtoReflect.Descriptor instead.
func (*ListServiceOfferingsRequest) GetAccountName ¶
func (x *ListServiceOfferingsRequest) GetAccountName() string
func (*ListServiceOfferingsRequest) GetCpuNumber ¶
func (x *ListServiceOfferingsRequest) GetCpuNumber() int32
func (*ListServiceOfferingsRequest) GetCpuSpeed ¶
func (x *ListServiceOfferingsRequest) GetCpuSpeed() int32
func (*ListServiceOfferingsRequest) GetDomainId ¶
func (x *ListServiceOfferingsRequest) GetDomainId() int64
func (*ListServiceOfferingsRequest) GetEncryptRoot ¶
func (x *ListServiceOfferingsRequest) GetEncryptRoot() bool
func (*ListServiceOfferingsRequest) GetId ¶
func (x *ListServiceOfferingsRequest) GetId() int64
func (*ListServiceOfferingsRequest) GetIsSystem ¶
func (x *ListServiceOfferingsRequest) GetIsSystem() bool
func (*ListServiceOfferingsRequest) GetKeyword ¶
func (x *ListServiceOfferingsRequest) GetKeyword() string
func (*ListServiceOfferingsRequest) GetListAll ¶
func (x *ListServiceOfferingsRequest) GetListAll() bool
func (*ListServiceOfferingsRequest) GetMemory ¶
func (x *ListServiceOfferingsRequest) GetMemory() int32
func (*ListServiceOfferingsRequest) GetPage ¶
func (x *ListServiceOfferingsRequest) GetPage() int32
func (*ListServiceOfferingsRequest) GetPageSize ¶
func (x *ListServiceOfferingsRequest) GetPageSize() int32
func (*ListServiceOfferingsRequest) GetProjectId ¶
func (x *ListServiceOfferingsRequest) GetProjectId() int64
func (*ListServiceOfferingsRequest) GetRecursive ¶
func (x *ListServiceOfferingsRequest) GetRecursive() bool
func (*ListServiceOfferingsRequest) GetResponseType ¶
func (x *ListServiceOfferingsRequest) GetResponseType() string
func (*ListServiceOfferingsRequest) GetServiceOfferingName ¶
func (x *ListServiceOfferingsRequest) GetServiceOfferingName() string
func (*ListServiceOfferingsRequest) GetServiceOfferingState ¶
func (x *ListServiceOfferingsRequest) GetServiceOfferingState() string
func (*ListServiceOfferingsRequest) GetStorageType ¶
func (x *ListServiceOfferingsRequest) GetStorageType() string
func (*ListServiceOfferingsRequest) GetSystemVmType ¶
func (x *ListServiceOfferingsRequest) GetSystemVmType() string
func (*ListServiceOfferingsRequest) GetTemplateId ¶
func (x *ListServiceOfferingsRequest) GetTemplateId() int64
func (*ListServiceOfferingsRequest) GetVirtualMachineId ¶
func (x *ListServiceOfferingsRequest) GetVirtualMachineId() int64
func (*ListServiceOfferingsRequest) GetZoneId ¶
func (x *ListServiceOfferingsRequest) GetZoneId() int64
func (*ListServiceOfferingsRequest) ProtoMessage ¶
func (*ListServiceOfferingsRequest) ProtoMessage()
func (*ListServiceOfferingsRequest) ProtoReflect ¶
func (x *ListServiceOfferingsRequest) ProtoReflect() protoreflect.Message
func (*ListServiceOfferingsRequest) Reset ¶
func (x *ListServiceOfferingsRequest) Reset()
func (*ListServiceOfferingsRequest) String ¶
func (x *ListServiceOfferingsRequest) String() string
type ListServiceOfferingsResponse ¶
type ListServiceOfferingsResponse struct {
// The list of ServiceOfferings
Items []*ServiceOffering `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of ServiceOfferings
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListServiceOfferingsResponse represents the response from lists all available service offerings.
func (*ListServiceOfferingsResponse) Descriptor
deprecated
func (*ListServiceOfferingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListServiceOfferingsResponse.ProtoReflect.Descriptor instead.
func (*ListServiceOfferingsResponse) GetItems ¶
func (x *ListServiceOfferingsResponse) GetItems() []*ServiceOffering
func (*ListServiceOfferingsResponse) GetTotalCount ¶
func (x *ListServiceOfferingsResponse) GetTotalCount() int32
func (*ListServiceOfferingsResponse) ProtoMessage ¶
func (*ListServiceOfferingsResponse) ProtoMessage()
func (*ListServiceOfferingsResponse) ProtoReflect ¶
func (x *ListServiceOfferingsResponse) ProtoReflect() protoreflect.Message
func (*ListServiceOfferingsResponse) Reset ¶
func (x *ListServiceOfferingsResponse) Reset()
func (*ListServiceOfferingsResponse) String ¶
func (x *ListServiceOfferingsResponse) String() string
type OfferingServiceClient ¶
type OfferingServiceClient interface {
// CreateDiskOffering Creates a disk offering.
CreateDiskOffering(ctx context.Context, in *CreateDiskOfferingRequest, opts ...grpc.CallOption) (*CreateDiskOfferingResponse, error)
// CreateServiceOffering Creates a service offering.
CreateServiceOffering(ctx context.Context, in *CreateServiceOfferingRequest, opts ...grpc.CallOption) (*CreateServiceOfferingResponse, error)
// DeleteDiskOffering Updates a disk offering.
DeleteDiskOffering(ctx context.Context, in *DeleteDiskOfferingRequest, opts ...grpc.CallOption) (*DeleteDiskOfferingResponse, error)
// DeleteServiceOffering Deletes a service offering.
DeleteServiceOffering(ctx context.Context, in *DeleteServiceOfferingRequest, opts ...grpc.CallOption) (*DeleteServiceOfferingResponse, error)
// IsAccountAllowedToCreateOfferingsWithTags Return true if the specified account is allowed to create offerings with tags.
IsAccountAllowedToCreateOfferingsWithTags(ctx context.Context, in *IsAccountAllowedToCreateOfferingsWithTagsRequest, opts ...grpc.CallOption) (*IsAccountAllowedToCreateOfferingsWithTagsResponse, error)
// ListDiskOfferings Lists all available disk offerings.
ListDiskOfferings(ctx context.Context, in *ListDiskOfferingsRequest, opts ...grpc.CallOption) (*ListDiskOfferingsResponse, error)
// ListServiceOfferings Lists all available service offerings.
ListServiceOfferings(ctx context.Context, in *ListServiceOfferingsRequest, opts ...grpc.CallOption) (*ListServiceOfferingsResponse, error)
// UpdateDiskOffering Updates a disk offering.
UpdateDiskOffering(ctx context.Context, in *UpdateDiskOfferingRequest, opts ...grpc.CallOption) (*UpdateDiskOfferingResponse, error)
// UpdateServiceOffering Updates a service offering.
UpdateServiceOffering(ctx context.Context, in *UpdateServiceOfferingRequest, opts ...grpc.CallOption) (*UpdateServiceOfferingResponse, error)
}
OfferingServiceClient is the client API for OfferingService 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.
OfferingService provides operations for managing Offerings
func NewOfferingServiceClient ¶
func NewOfferingServiceClient(cc grpc.ClientConnInterface) OfferingServiceClient
type OfferingServiceServer ¶
type OfferingServiceServer interface {
// CreateDiskOffering Creates a disk offering.
CreateDiskOffering(context.Context, *CreateDiskOfferingRequest) (*CreateDiskOfferingResponse, error)
// CreateServiceOffering Creates a service offering.
CreateServiceOffering(context.Context, *CreateServiceOfferingRequest) (*CreateServiceOfferingResponse, error)
// DeleteDiskOffering Updates a disk offering.
DeleteDiskOffering(context.Context, *DeleteDiskOfferingRequest) (*DeleteDiskOfferingResponse, error)
// DeleteServiceOffering Deletes a service offering.
DeleteServiceOffering(context.Context, *DeleteServiceOfferingRequest) (*DeleteServiceOfferingResponse, error)
// IsAccountAllowedToCreateOfferingsWithTags Return true if the specified account is allowed to create offerings with tags.
IsAccountAllowedToCreateOfferingsWithTags(context.Context, *IsAccountAllowedToCreateOfferingsWithTagsRequest) (*IsAccountAllowedToCreateOfferingsWithTagsResponse, error)
// ListDiskOfferings Lists all available disk offerings.
ListDiskOfferings(context.Context, *ListDiskOfferingsRequest) (*ListDiskOfferingsResponse, error)
// ListServiceOfferings Lists all available service offerings.
ListServiceOfferings(context.Context, *ListServiceOfferingsRequest) (*ListServiceOfferingsResponse, error)
// UpdateDiskOffering Updates a disk offering.
UpdateDiskOffering(context.Context, *UpdateDiskOfferingRequest) (*UpdateDiskOfferingResponse, error)
// UpdateServiceOffering Updates a service offering.
UpdateServiceOffering(context.Context, *UpdateServiceOfferingRequest) (*UpdateServiceOfferingResponse, error)
// contains filtered or unexported methods
}
OfferingServiceServer is the server API for OfferingService service. All implementations must embed UnimplementedOfferingServiceServer for forward compatibility.
OfferingService provides operations for managing Offerings
type ProvisioningType ¶
type ProvisioningType int32
ProvisioningType represents the possible values for provisioning type used to create volumes. Valid values are thin, sparse, fat.
const ( // Default unspecified value ProvisioningType_PROVISIONING_TYPE_UNSPECIFIED ProvisioningType = 0 // FAT value ProvisioningType_PROVISIONING_TYPE_FAT ProvisioningType = 1 // SPARSE value ProvisioningType_PROVISIONING_TYPE_SPARSE ProvisioningType = 2 // THIN value ProvisioningType_PROVISIONING_TYPE_THIN ProvisioningType = 3 )
func (ProvisioningType) Descriptor ¶
func (ProvisioningType) Descriptor() protoreflect.EnumDescriptor
func (ProvisioningType) Enum ¶
func (x ProvisioningType) Enum() *ProvisioningType
func (ProvisioningType) EnumDescriptor
deprecated
func (ProvisioningType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProvisioningType.Descriptor instead.
func (ProvisioningType) Number ¶
func (x ProvisioningType) Number() protoreflect.EnumNumber
func (ProvisioningType) String ¶
func (x ProvisioningType) String() string
func (ProvisioningType) Type ¶
func (ProvisioningType) Type() protoreflect.EnumType
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 ServiceOffering ¶
type ServiceOffering struct {
// The ID of the ServiceOffering
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the ServiceOffering
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the ServiceOffering
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the ServiceOffering
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
}
ServiceOffering represents a ServiceOffering Item
func (*ServiceOffering) Descriptor
deprecated
func (*ServiceOffering) Descriptor() ([]byte, []int)
Deprecated: Use ServiceOffering.ProtoReflect.Descriptor instead.
func (*ServiceOffering) GetCreated ¶
func (x *ServiceOffering) GetCreated() string
func (*ServiceOffering) GetDescription ¶
func (x *ServiceOffering) GetDescription() string
func (*ServiceOffering) GetDisplayName ¶
func (x *ServiceOffering) GetDisplayName() string
func (*ServiceOffering) GetId ¶
func (x *ServiceOffering) GetId() string
func (*ServiceOffering) GetName ¶
func (x *ServiceOffering) GetName() string
func (*ServiceOffering) ProtoMessage ¶
func (*ServiceOffering) ProtoMessage()
func (*ServiceOffering) ProtoReflect ¶
func (x *ServiceOffering) ProtoReflect() protoreflect.Message
func (*ServiceOffering) Reset ¶
func (x *ServiceOffering) Reset()
func (*ServiceOffering) String ¶
func (x *ServiceOffering) 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) GetDisplayText ¶
func (*Success) GetSuccess ¶
func (*Success) ProtoMessage ¶
func (*Success) ProtoMessage()
func (*Success) ProtoReflect ¶
func (x *Success) ProtoReflect() protoreflect.Message
type UnimplementedOfferingServiceServer ¶
type UnimplementedOfferingServiceServer struct{}
UnimplementedOfferingServiceServer 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 (UnimplementedOfferingServiceServer) CreateDiskOffering ¶
func (UnimplementedOfferingServiceServer) CreateDiskOffering(context.Context, *CreateDiskOfferingRequest) (*CreateDiskOfferingResponse, error)
func (UnimplementedOfferingServiceServer) CreateServiceOffering ¶
func (UnimplementedOfferingServiceServer) CreateServiceOffering(context.Context, *CreateServiceOfferingRequest) (*CreateServiceOfferingResponse, error)
func (UnimplementedOfferingServiceServer) DeleteDiskOffering ¶
func (UnimplementedOfferingServiceServer) DeleteDiskOffering(context.Context, *DeleteDiskOfferingRequest) (*DeleteDiskOfferingResponse, error)
func (UnimplementedOfferingServiceServer) DeleteServiceOffering ¶
func (UnimplementedOfferingServiceServer) DeleteServiceOffering(context.Context, *DeleteServiceOfferingRequest) (*DeleteServiceOfferingResponse, error)
func (UnimplementedOfferingServiceServer) IsAccountAllowedToCreateOfferingsWithTags ¶
func (UnimplementedOfferingServiceServer) IsAccountAllowedToCreateOfferingsWithTags(context.Context, *IsAccountAllowedToCreateOfferingsWithTagsRequest) (*IsAccountAllowedToCreateOfferingsWithTagsResponse, error)
func (UnimplementedOfferingServiceServer) ListDiskOfferings ¶
func (UnimplementedOfferingServiceServer) ListDiskOfferings(context.Context, *ListDiskOfferingsRequest) (*ListDiskOfferingsResponse, error)
func (UnimplementedOfferingServiceServer) ListServiceOfferings ¶
func (UnimplementedOfferingServiceServer) ListServiceOfferings(context.Context, *ListServiceOfferingsRequest) (*ListServiceOfferingsResponse, error)
func (UnimplementedOfferingServiceServer) UpdateDiskOffering ¶
func (UnimplementedOfferingServiceServer) UpdateDiskOffering(context.Context, *UpdateDiskOfferingRequest) (*UpdateDiskOfferingResponse, error)
func (UnimplementedOfferingServiceServer) UpdateServiceOffering ¶
func (UnimplementedOfferingServiceServer) UpdateServiceOffering(context.Context, *UpdateServiceOfferingRequest) (*UpdateServiceOfferingResponse, error)
type UnsafeOfferingServiceServer ¶
type UnsafeOfferingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOfferingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OfferingServiceServer will result in compilation errors.
type UpdateDiskOfferingRequest ¶
type UpdateDiskOfferingRequest struct {
// updates alternate display text of the disk offering with this value
DisplayText *string `protobuf:"bytes,1,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
// ID of the disk offering
Id *int64 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
// updates name of the disk offering with this value
DiskOfferingName *string `protobuf:"bytes,3,opt,name=disk_offering_name,json=diskOfferingName" json:"disk_offering_name,omitempty"`
// sort key of the disk offering, integer
SortKey *int32 `protobuf:"varint,4,opt,name=sort_key,json=sortKey" json:"sort_key,omitempty"`
// an optional field, whether to display the offering to the end user or not.
DisplayOffering *bool `protobuf:"varint,5,opt,name=display_offering,json=displayOffering" json:"display_offering,omitempty"`
// the ID of the containing domain(s) as comma separated string, public for public offerings
DomainIds *string `protobuf:"bytes,6,opt,name=domain_ids,json=domainIds" json:"domain_ids,omitempty"`
// the ID of the containing zone(s) as comma separated string, all for all zones offerings
ZoneIds *string `protobuf:"bytes,7,opt,name=zone_ids,json=zoneIds" json:"zone_ids,omitempty"`
// comma-separated list of tags for the disk offering, tags should match with existing storage pool tags
Tags *string `protobuf:"bytes,8,opt,name=tags" json:"tags,omitempty"`
// bytes read rate of the disk offering
BytesReadRate *int64 `protobuf:"varint,9,opt,name=bytes_read_rate,json=bytesReadRate" json:"bytes_read_rate,omitempty"`
// burst bytes read rate of the disk offering
BytesReadRateMax *int64 `protobuf:"varint,10,opt,name=bytes_read_rate_max,json=bytesReadRateMax" json:"bytes_read_rate_max,omitempty"`
// length (in seconds) of the burst
BytesReadRateMaxLength *int64 `` /* 128-byte string literal not displayed */
// bytes write rate of the disk offering
BytesWriteRate *int64 `protobuf:"varint,12,opt,name=bytes_write_rate,json=bytesWriteRate" json:"bytes_write_rate,omitempty"`
// burst bytes write rate of the disk offering
BytesWriteRateMax *int64 `protobuf:"varint,13,opt,name=bytes_write_rate_max,json=bytesWriteRateMax" json:"bytes_write_rate_max,omitempty"`
// length (in seconds) of the burst
BytesWriteRateMaxLength *int64 `` /* 131-byte string literal not displayed */
// io requests read rate of the disk offering
IopsReadRate *int64 `protobuf:"varint,15,opt,name=iops_read_rate,json=iopsReadRate" json:"iops_read_rate,omitempty"`
// burst requests read rate of the disk offering
IopsReadRateMax *int64 `protobuf:"varint,16,opt,name=iops_read_rate_max,json=iopsReadRateMax" json:"iops_read_rate_max,omitempty"`
// length (in seconds) of the burst
IopsReadRateMaxLength *int64 `protobuf:"varint,17,opt,name=iops_read_rate_max_length,json=iopsReadRateMaxLength" json:"iops_read_rate_max_length,omitempty"`
// io requests write rate of the disk offering
IopsWriteRate *int64 `protobuf:"varint,18,opt,name=iops_write_rate,json=iopsWriteRate" json:"iops_write_rate,omitempty"`
// burst io requests write rate of the disk offering
IopsWriteRateMax *int64 `protobuf:"varint,19,opt,name=iops_write_rate_max,json=iopsWriteRateMax" json:"iops_write_rate_max,omitempty"`
// length (in seconds) of the burst
IopsWriteRateMaxLength *int64 `` /* 128-byte string literal not displayed */
// the cache mode to use for this disk offering
CacheMode *string `protobuf:"bytes,21,opt,name=cache_mode,json=cacheMode" json:"cache_mode,omitempty"`
// state of the disk offering
DiskOfferingState *string `protobuf:"bytes,22,opt,name=disk_offering_state,json=diskOfferingState" json:"disk_offering_state,omitempty"`
ResponseType *string `protobuf:"bytes,23,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
UpdateDiskOfferingRequest represents the parameters for updates a disk offering.
func (*UpdateDiskOfferingRequest) Descriptor
deprecated
func (*UpdateDiskOfferingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDiskOfferingRequest.ProtoReflect.Descriptor instead.
func (*UpdateDiskOfferingRequest) GetBytesReadRate ¶
func (x *UpdateDiskOfferingRequest) GetBytesReadRate() int64
func (*UpdateDiskOfferingRequest) GetBytesReadRateMax ¶
func (x *UpdateDiskOfferingRequest) GetBytesReadRateMax() int64
func (*UpdateDiskOfferingRequest) GetBytesReadRateMaxLength ¶
func (x *UpdateDiskOfferingRequest) GetBytesReadRateMaxLength() int64
func (*UpdateDiskOfferingRequest) GetBytesWriteRate ¶
func (x *UpdateDiskOfferingRequest) GetBytesWriteRate() int64
func (*UpdateDiskOfferingRequest) GetBytesWriteRateMax ¶
func (x *UpdateDiskOfferingRequest) GetBytesWriteRateMax() int64
func (*UpdateDiskOfferingRequest) GetBytesWriteRateMaxLength ¶
func (x *UpdateDiskOfferingRequest) GetBytesWriteRateMaxLength() int64
func (*UpdateDiskOfferingRequest) GetCacheMode ¶
func (x *UpdateDiskOfferingRequest) GetCacheMode() string
func (*UpdateDiskOfferingRequest) GetDiskOfferingName ¶
func (x *UpdateDiskOfferingRequest) GetDiskOfferingName() string
func (*UpdateDiskOfferingRequest) GetDiskOfferingState ¶
func (x *UpdateDiskOfferingRequest) GetDiskOfferingState() string
func (*UpdateDiskOfferingRequest) GetDisplayOffering ¶
func (x *UpdateDiskOfferingRequest) GetDisplayOffering() bool
func (*UpdateDiskOfferingRequest) GetDisplayText ¶
func (x *UpdateDiskOfferingRequest) GetDisplayText() string
func (*UpdateDiskOfferingRequest) GetDomainIds ¶
func (x *UpdateDiskOfferingRequest) GetDomainIds() string
func (*UpdateDiskOfferingRequest) GetId ¶
func (x *UpdateDiskOfferingRequest) GetId() int64
func (*UpdateDiskOfferingRequest) GetIopsReadRate ¶
func (x *UpdateDiskOfferingRequest) GetIopsReadRate() int64
func (*UpdateDiskOfferingRequest) GetIopsReadRateMax ¶
func (x *UpdateDiskOfferingRequest) GetIopsReadRateMax() int64
func (*UpdateDiskOfferingRequest) GetIopsReadRateMaxLength ¶
func (x *UpdateDiskOfferingRequest) GetIopsReadRateMaxLength() int64
func (*UpdateDiskOfferingRequest) GetIopsWriteRate ¶
func (x *UpdateDiskOfferingRequest) GetIopsWriteRate() int64
func (*UpdateDiskOfferingRequest) GetIopsWriteRateMax ¶
func (x *UpdateDiskOfferingRequest) GetIopsWriteRateMax() int64
func (*UpdateDiskOfferingRequest) GetIopsWriteRateMaxLength ¶
func (x *UpdateDiskOfferingRequest) GetIopsWriteRateMaxLength() int64
func (*UpdateDiskOfferingRequest) GetResponseType ¶
func (x *UpdateDiskOfferingRequest) GetResponseType() string
func (*UpdateDiskOfferingRequest) GetSortKey ¶
func (x *UpdateDiskOfferingRequest) GetSortKey() int32
func (*UpdateDiskOfferingRequest) GetTags ¶
func (x *UpdateDiskOfferingRequest) GetTags() string
func (*UpdateDiskOfferingRequest) GetZoneIds ¶
func (x *UpdateDiskOfferingRequest) GetZoneIds() string
func (*UpdateDiskOfferingRequest) ProtoMessage ¶
func (*UpdateDiskOfferingRequest) ProtoMessage()
func (*UpdateDiskOfferingRequest) ProtoReflect ¶
func (x *UpdateDiskOfferingRequest) ProtoReflect() protoreflect.Message
func (*UpdateDiskOfferingRequest) Reset ¶
func (x *UpdateDiskOfferingRequest) Reset()
func (*UpdateDiskOfferingRequest) String ¶
func (x *UpdateDiskOfferingRequest) String() string
type UpdateDiskOfferingResponse ¶
type UpdateDiskOfferingResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
UpdateDiskOfferingResponse represents the response from updates a disk offering.
func (*UpdateDiskOfferingResponse) Descriptor
deprecated
func (*UpdateDiskOfferingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDiskOfferingResponse.ProtoReflect.Descriptor instead.
func (*UpdateDiskOfferingResponse) GetResult ¶
func (x *UpdateDiskOfferingResponse) GetResult() *Result
func (*UpdateDiskOfferingResponse) ProtoMessage ¶
func (*UpdateDiskOfferingResponse) ProtoMessage()
func (*UpdateDiskOfferingResponse) ProtoReflect ¶
func (x *UpdateDiskOfferingResponse) ProtoReflect() protoreflect.Message
func (*UpdateDiskOfferingResponse) Reset ¶
func (x *UpdateDiskOfferingResponse) Reset()
func (*UpdateDiskOfferingResponse) String ¶
func (x *UpdateDiskOfferingResponse) String() string
type UpdateServiceOfferingRequest ¶
type UpdateServiceOfferingRequest struct {
// the ID of the service offering to be updated
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// the display text of the service offering to be updated
DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
// the name of the service offering to be updated
ServiceOfferingName *string `protobuf:"bytes,3,opt,name=service_offering_name,json=serviceOfferingName" json:"service_offering_name,omitempty"`
// sort key of the service offering, integer
SortKey *int32 `protobuf:"varint,4,opt,name=sort_key,json=sortKey" json:"sort_key,omitempty"`
// the ID of the containing domain(s) as comma separated string, public for public offerings
DomainIds *string `protobuf:"bytes,5,opt,name=domain_ids,json=domainIds" json:"domain_ids,omitempty"`
// the ID of the containing zone(s) as comma separated string, all for all zones offerings
ZoneIds *string `protobuf:"bytes,6,opt,name=zone_ids,json=zoneIds" json:"zone_ids,omitempty"`
// comma-separated list of tags for the service offering, tags should match with existing storage pool tags
StorageTags *string `protobuf:"bytes,7,opt,name=storage_tags,json=storageTags" json:"storage_tags,omitempty"`
// the host tag for this service offering.
HostTags *string `protobuf:"bytes,8,opt,name=host_tags,json=hostTags" json:"host_tags,omitempty"`
// state of the service offering
ServiceOfferingState *string `protobuf:"bytes,9,opt,name=service_offering_state,json=serviceOfferingState" json:"service_offering_state,omitempty"`
// Whether to cleanup VM and its associated resource upon expunge
PurgeResources *bool `protobuf:"varint,10,opt,name=purge_resources,json=purgeResources" json:"purge_resources,omitempty"`
ResponseType *string `protobuf:"bytes,11,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
UpdateServiceOfferingRequest represents the parameters for updates a service offering.
func (*UpdateServiceOfferingRequest) Descriptor
deprecated
func (*UpdateServiceOfferingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateServiceOfferingRequest.ProtoReflect.Descriptor instead.
func (*UpdateServiceOfferingRequest) GetDisplayText ¶
func (x *UpdateServiceOfferingRequest) GetDisplayText() string
func (*UpdateServiceOfferingRequest) GetDomainIds ¶
func (x *UpdateServiceOfferingRequest) GetDomainIds() string
func (*UpdateServiceOfferingRequest) GetHostTags ¶
func (x *UpdateServiceOfferingRequest) GetHostTags() string
func (*UpdateServiceOfferingRequest) GetId ¶
func (x *UpdateServiceOfferingRequest) GetId() int64
func (*UpdateServiceOfferingRequest) GetPurgeResources ¶
func (x *UpdateServiceOfferingRequest) GetPurgeResources() bool
func (*UpdateServiceOfferingRequest) GetResponseType ¶
func (x *UpdateServiceOfferingRequest) GetResponseType() string
func (*UpdateServiceOfferingRequest) GetServiceOfferingName ¶
func (x *UpdateServiceOfferingRequest) GetServiceOfferingName() string
func (*UpdateServiceOfferingRequest) GetServiceOfferingState ¶
func (x *UpdateServiceOfferingRequest) GetServiceOfferingState() string
func (*UpdateServiceOfferingRequest) GetSortKey ¶
func (x *UpdateServiceOfferingRequest) GetSortKey() int32
func (*UpdateServiceOfferingRequest) GetStorageTags ¶
func (x *UpdateServiceOfferingRequest) GetStorageTags() string
func (*UpdateServiceOfferingRequest) GetZoneIds ¶
func (x *UpdateServiceOfferingRequest) GetZoneIds() string
func (*UpdateServiceOfferingRequest) ProtoMessage ¶
func (*UpdateServiceOfferingRequest) ProtoMessage()
func (*UpdateServiceOfferingRequest) ProtoReflect ¶
func (x *UpdateServiceOfferingRequest) ProtoReflect() protoreflect.Message
func (*UpdateServiceOfferingRequest) Reset ¶
func (x *UpdateServiceOfferingRequest) Reset()
func (*UpdateServiceOfferingRequest) String ¶
func (x *UpdateServiceOfferingRequest) String() string
type UpdateServiceOfferingResponse ¶
type UpdateServiceOfferingResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
UpdateServiceOfferingResponse represents the response from updates a service offering.
func (*UpdateServiceOfferingResponse) Descriptor
deprecated
func (*UpdateServiceOfferingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateServiceOfferingResponse.ProtoReflect.Descriptor instead.
func (*UpdateServiceOfferingResponse) GetResult ¶
func (x *UpdateServiceOfferingResponse) GetResult() *Result
func (*UpdateServiceOfferingResponse) ProtoMessage ¶
func (*UpdateServiceOfferingResponse) ProtoMessage()
func (*UpdateServiceOfferingResponse) ProtoReflect ¶
func (x *UpdateServiceOfferingResponse) ProtoReflect() protoreflect.Message
func (*UpdateServiceOfferingResponse) Reset ¶
func (x *UpdateServiceOfferingResponse) Reset()
func (*UpdateServiceOfferingResponse) String ¶
func (x *UpdateServiceOfferingResponse) String() string