Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)
- type Alert
- func (*Alert) Descriptor() ([]byte, []int)deprecated
- func (x *Alert) GetCreated() string
- func (x *Alert) GetDescription() string
- func (x *Alert) GetDisplayName() string
- func (x *Alert) GetId() string
- func (x *Alert) GetName() string
- func (*Alert) ProtoMessage()
- func (x *Alert) ProtoReflect() protoreflect.Message
- func (x *Alert) Reset()
- func (x *Alert) String() string
- type ArchiveAlertsRequest
- func (*ArchiveAlertsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveAlertsRequest) GetEndDate() string
- func (x *ArchiveAlertsRequest) GetIds() []string
- func (x *ArchiveAlertsRequest) GetResponseType() string
- func (x *ArchiveAlertsRequest) GetStartDate() string
- func (x *ArchiveAlertsRequest) GetType() string
- func (*ArchiveAlertsRequest) ProtoMessage()
- func (x *ArchiveAlertsRequest) ProtoReflect() protoreflect.Message
- func (x *ArchiveAlertsRequest) Reset()
- func (x *ArchiveAlertsRequest) String() string
- type ArchiveAlertsResponse
- func (*ArchiveAlertsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveAlertsResponse) GetResult() *Result
- func (*ArchiveAlertsResponse) ProtoMessage()
- func (x *ArchiveAlertsResponse) ProtoReflect() protoreflect.Message
- func (x *ArchiveAlertsResponse) Reset()
- func (x *ArchiveAlertsResponse) String() string
- type Capacity
- func (*Capacity) Descriptor() ([]byte, []int)deprecated
- func (x *Capacity) GetCreated() string
- func (x *Capacity) GetDescription() string
- func (x *Capacity) GetDisplayName() string
- func (x *Capacity) GetId() string
- func (x *Capacity) GetName() string
- func (*Capacity) ProtoMessage()
- func (x *Capacity) ProtoReflect() protoreflect.Message
- func (x *Capacity) Reset()
- func (x *Capacity) String() string
- type CleanVMReservationsRequest
- func (*CleanVMReservationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CleanVMReservationsRequest) GetInjectedJobId() string
- func (x *CleanVMReservationsRequest) GetResponseType() string
- func (x *CleanVMReservationsRequest) GetStartEventId() int64
- func (*CleanVMReservationsRequest) ProtoMessage()
- func (x *CleanVMReservationsRequest) ProtoReflect() protoreflect.Message
- func (x *CleanVMReservationsRequest) Reset()
- func (x *CleanVMReservationsRequest) String() string
- type CleanVMReservationsResponse
- func (*CleanVMReservationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CleanVMReservationsResponse) GetResult() *Result
- func (*CleanVMReservationsResponse) ProtoMessage()
- func (x *CleanVMReservationsResponse) ProtoReflect() protoreflect.Message
- func (x *CleanVMReservationsResponse) Reset()
- func (x *CleanVMReservationsResponse) String() string
- type DeleteAlertsRequest
- func (*DeleteAlertsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAlertsRequest) GetEndDate() string
- func (x *DeleteAlertsRequest) GetIds() []string
- func (x *DeleteAlertsRequest) GetResponseType() string
- func (x *DeleteAlertsRequest) GetStartDate() string
- func (x *DeleteAlertsRequest) GetType() string
- func (*DeleteAlertsRequest) ProtoMessage()
- func (x *DeleteAlertsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAlertsRequest) Reset()
- func (x *DeleteAlertsRequest) String() string
- type DeleteAlertsResponse
- func (*DeleteAlertsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAlertsResponse) GetResult() *Result
- func (*DeleteAlertsResponse) ProtoMessage()
- func (x *DeleteAlertsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAlertsResponse) Reset()
- func (x *DeleteAlertsResponse) String() string
- type DetailOptions
- func (*DetailOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DetailOptions) GetCreated() string
- func (x *DetailOptions) GetDescription() string
- func (x *DetailOptions) GetDisplayName() string
- func (x *DetailOptions) GetId() string
- func (x *DetailOptions) GetName() string
- func (*DetailOptions) ProtoMessage()
- func (x *DetailOptions) ProtoReflect() protoreflect.Message
- func (x *DetailOptions) Reset()
- func (x *DetailOptions) String() string
- type GetCloudIdentifierRequest
- func (*GetCloudIdentifierRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCloudIdentifierRequest) GetResponseType() string
- func (x *GetCloudIdentifierRequest) GetUserid() int64
- func (*GetCloudIdentifierRequest) ProtoMessage()
- func (x *GetCloudIdentifierRequest) ProtoReflect() protoreflect.Message
- func (x *GetCloudIdentifierRequest) Reset()
- func (x *GetCloudIdentifierRequest) String() string
- type GetCloudIdentifierResponse
- func (*GetCloudIdentifierResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCloudIdentifierResponse) GetResult() *Result
- func (*GetCloudIdentifierResponse) ProtoMessage()
- func (x *GetCloudIdentifierResponse) ProtoReflect() protoreflect.Message
- func (x *GetCloudIdentifierResponse) Reset()
- func (x *GetCloudIdentifierResponse) String() string
- type Hypervisor
- func (*Hypervisor) Descriptor() ([]byte, []int)deprecated
- func (x *Hypervisor) GetCreated() string
- func (x *Hypervisor) GetDescription() string
- func (x *Hypervisor) GetDisplayName() string
- func (x *Hypervisor) GetId() string
- func (x *Hypervisor) GetName() string
- func (*Hypervisor) ProtoMessage()
- func (x *Hypervisor) ProtoReflect() protoreflect.Message
- func (x *Hypervisor) Reset()
- func (x *Hypervisor) String() string
- type ListAlertTypesRequest
- func (*ListAlertTypesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertTypesRequest) GetResponseType() string
- func (*ListAlertTypesRequest) ProtoMessage()
- func (x *ListAlertTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAlertTypesRequest) Reset()
- func (x *ListAlertTypesRequest) String() string
- type ListAlertTypesResponse
- func (*ListAlertTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertTypesResponse) GetItems() []*Alert
- func (x *ListAlertTypesResponse) GetTotalCount() int32
- func (*ListAlertTypesResponse) ProtoMessage()
- func (x *ListAlertTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAlertTypesResponse) Reset()
- func (x *ListAlertTypesResponse) String() string
- type ListAlertsRequest
- func (*ListAlertsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertsRequest) GetId() int64
- func (x *ListAlertsRequest) GetKeyword() string
- func (x *ListAlertsRequest) GetName() string
- func (x *ListAlertsRequest) GetPage() int32
- func (x *ListAlertsRequest) GetPageSize() int32
- func (x *ListAlertsRequest) GetResponseType() string
- func (x *ListAlertsRequest) GetType() string
- func (*ListAlertsRequest) ProtoMessage()
- func (x *ListAlertsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAlertsRequest) Reset()
- func (x *ListAlertsRequest) String() string
- type ListAlertsResponse
- func (*ListAlertsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertsResponse) GetItems() []*Alert
- func (x *ListAlertsResponse) GetTotalCount() int32
- func (*ListAlertsResponse) ProtoMessage()
- func (x *ListAlertsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAlertsResponse) Reset()
- func (x *ListAlertsResponse) String() string
- type ListCapacityRequest
- func (*ListCapacityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCapacityRequest) GetClusterId() int64
- func (x *ListCapacityRequest) GetFetchLatest() bool
- func (x *ListCapacityRequest) GetKeyword() string
- func (x *ListCapacityRequest) GetPage() int32
- func (x *ListCapacityRequest) GetPageSize() int32
- func (x *ListCapacityRequest) GetPodId() int64
- func (x *ListCapacityRequest) GetResponseType() string
- func (x *ListCapacityRequest) GetSortBy() string
- func (x *ListCapacityRequest) GetTag() string
- func (x *ListCapacityRequest) GetType() int32
- func (x *ListCapacityRequest) GetZoneId() int64
- func (*ListCapacityRequest) ProtoMessage()
- func (x *ListCapacityRequest) ProtoReflect() protoreflect.Message
- func (x *ListCapacityRequest) Reset()
- func (x *ListCapacityRequest) String() string
- type ListCapacityResponse
- func (*ListCapacityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCapacityResponse) GetItems() []*Capacity
- func (x *ListCapacityResponse) GetTotalCount() int32
- func (*ListCapacityResponse) ProtoMessage()
- func (x *ListCapacityResponse) ProtoReflect() protoreflect.Message
- func (x *ListCapacityResponse) Reset()
- func (x *ListCapacityResponse) String() string
- type ListDetailOptionsRequest
- func (*ListDetailOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDetailOptionsRequest) GetResourceId() string
- func (x *ListDetailOptionsRequest) GetResourceType() string
- func (x *ListDetailOptionsRequest) GetResponseType() string
- func (*ListDetailOptionsRequest) ProtoMessage()
- func (x *ListDetailOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDetailOptionsRequest) Reset()
- func (x *ListDetailOptionsRequest) String() string
- type ListDetailOptionsResponse
- func (*ListDetailOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDetailOptionsResponse) GetItems() []*DetailOptions
- func (x *ListDetailOptionsResponse) GetTotalCount() int32
- func (*ListDetailOptionsResponse) ProtoMessage()
- func (x *ListDetailOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDetailOptionsResponse) Reset()
- func (x *ListDetailOptionsResponse) String() string
- type ListHypervisorsRequest
- func (*ListHypervisorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListHypervisorsRequest) GetResponseType() string
- func (x *ListHypervisorsRequest) GetZoneId() int64
- func (*ListHypervisorsRequest) ProtoMessage()
- func (x *ListHypervisorsRequest) ProtoReflect() protoreflect.Message
- func (x *ListHypervisorsRequest) Reset()
- func (x *ListHypervisorsRequest) String() string
- type ListHypervisorsResponse
- func (*ListHypervisorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListHypervisorsResponse) GetItems() []*Hypervisor
- func (x *ListHypervisorsResponse) GetTotalCount() int32
- func (*ListHypervisorsResponse) ProtoMessage()
- func (x *ListHypervisorsResponse) ProtoReflect() protoreflect.Message
- func (x *ListHypervisorsResponse) Reset()
- func (x *ListHypervisorsResponse) String() string
- type ListResourceLimitsRequest
- func (*ListResourceLimitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceLimitsRequest) GetAccountName() string
- func (x *ListResourceLimitsRequest) GetDomainId() int64
- func (x *ListResourceLimitsRequest) GetId() int64
- func (x *ListResourceLimitsRequest) GetKeyword() string
- func (x *ListResourceLimitsRequest) GetListAll() bool
- func (x *ListResourceLimitsRequest) GetPage() int32
- func (x *ListResourceLimitsRequest) GetPageSize() int32
- func (x *ListResourceLimitsRequest) GetProjectId() int64
- func (x *ListResourceLimitsRequest) GetRecursive() bool
- func (x *ListResourceLimitsRequest) GetResourceType() int32
- func (x *ListResourceLimitsRequest) GetResourceTypeName() string
- func (x *ListResourceLimitsRequest) GetResponseType() string
- func (x *ListResourceLimitsRequest) GetTag() string
- func (*ListResourceLimitsRequest) ProtoMessage()
- func (x *ListResourceLimitsRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourceLimitsRequest) Reset()
- func (x *ListResourceLimitsRequest) String() string
- type ListResourceLimitsResponse
- func (*ListResourceLimitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceLimitsResponse) GetItems() []*ResourceLimit
- func (x *ListResourceLimitsResponse) GetTotalCount() int32
- func (*ListResourceLimitsResponse) ProtoMessage()
- func (x *ListResourceLimitsResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourceLimitsResponse) Reset()
- func (x *ListResourceLimitsResponse) String() string
- type PurgeExpungedResourcesRequest
- func (*PurgeExpungedResourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeExpungedResourcesRequest) GetBatchSize() int64
- func (x *PurgeExpungedResourcesRequest) GetEndDate() string
- func (x *PurgeExpungedResourcesRequest) GetInjectedJobId() string
- func (x *PurgeExpungedResourcesRequest) GetResourceType() string
- func (x *PurgeExpungedResourcesRequest) GetResponseType() string
- func (x *PurgeExpungedResourcesRequest) GetStartDate() string
- func (x *PurgeExpungedResourcesRequest) GetStartEventId() int64
- func (*PurgeExpungedResourcesRequest) ProtoMessage()
- func (x *PurgeExpungedResourcesRequest) ProtoReflect() protoreflect.Message
- func (x *PurgeExpungedResourcesRequest) Reset()
- func (x *PurgeExpungedResourcesRequest) String() string
- type PurgeExpungedResourcesResponse
- func (*PurgeExpungedResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeExpungedResourcesResponse) GetResult() *Result
- func (*PurgeExpungedResourcesResponse) ProtoMessage()
- func (x *PurgeExpungedResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *PurgeExpungedResourcesResponse) Reset()
- func (x *PurgeExpungedResourcesResponse) String() string
- type ResourceLimit
- func (*ResourceLimit) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceLimit) GetCreated() string
- func (x *ResourceLimit) GetDescription() string
- func (x *ResourceLimit) GetDisplayName() string
- func (x *ResourceLimit) GetId() string
- func (x *ResourceLimit) GetName() string
- func (*ResourceLimit) ProtoMessage()
- func (x *ResourceLimit) ProtoReflect() protoreflect.Message
- func (x *ResourceLimit) Reset()
- func (x *ResourceLimit) String() string
- type ResourceServiceClient
- type ResourceServiceServer
- type ResourceType
- func (ResourceType) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceType) Enum() *ResourceType
- func (ResourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceType) Number() protoreflect.EnumNumber
- func (x ResourceType) String() string
- func (ResourceType) 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 StartRollingMaintenanceRequest
- func (*StartRollingMaintenanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartRollingMaintenanceRequest) GetClusterIds() []string
- func (x *StartRollingMaintenanceRequest) GetForced() bool
- func (x *StartRollingMaintenanceRequest) GetHostIds() []string
- func (x *StartRollingMaintenanceRequest) GetInjectedJobId() string
- func (x *StartRollingMaintenanceRequest) GetPayload() string
- func (x *StartRollingMaintenanceRequest) GetPodIds() []string
- func (x *StartRollingMaintenanceRequest) GetResponseType() string
- func (x *StartRollingMaintenanceRequest) GetStartEventId() int64
- func (x *StartRollingMaintenanceRequest) GetTimeout() int32
- func (x *StartRollingMaintenanceRequest) GetZoneIds() []string
- func (*StartRollingMaintenanceRequest) ProtoMessage()
- func (x *StartRollingMaintenanceRequest) ProtoReflect() protoreflect.Message
- func (x *StartRollingMaintenanceRequest) Reset()
- func (x *StartRollingMaintenanceRequest) String() string
- type StartRollingMaintenanceResponse
- func (*StartRollingMaintenanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartRollingMaintenanceResponse) GetResult() *Result
- func (*StartRollingMaintenanceResponse) ProtoMessage()
- func (x *StartRollingMaintenanceResponse) ProtoReflect() protoreflect.Message
- func (x *StartRollingMaintenanceResponse) Reset()
- func (x *StartRollingMaintenanceResponse) String() string
- type Success
- type UnimplementedResourceServiceServer
- func (UnimplementedResourceServiceServer) ArchiveAlerts(context.Context, *ArchiveAlertsRequest) (*ArchiveAlertsResponse, error)
- func (UnimplementedResourceServiceServer) CleanVMReservations(context.Context, *CleanVMReservationsRequest) (*CleanVMReservationsResponse, error)
- func (UnimplementedResourceServiceServer) DeleteAlerts(context.Context, *DeleteAlertsRequest) (*DeleteAlertsResponse, error)
- func (UnimplementedResourceServiceServer) GetCloudIdentifier(context.Context, *GetCloudIdentifierRequest) (*GetCloudIdentifierResponse, error)
- func (UnimplementedResourceServiceServer) ListAlertTypes(context.Context, *ListAlertTypesRequest) (*ListAlertTypesResponse, error)
- func (UnimplementedResourceServiceServer) ListAlerts(context.Context, *ListAlertsRequest) (*ListAlertsResponse, error)
- func (UnimplementedResourceServiceServer) ListCapacity(context.Context, *ListCapacityRequest) (*ListCapacityResponse, error)
- func (UnimplementedResourceServiceServer) ListDetailOptions(context.Context, *ListDetailOptionsRequest) (*ListDetailOptionsResponse, error)
- func (UnimplementedResourceServiceServer) ListHypervisors(context.Context, *ListHypervisorsRequest) (*ListHypervisorsResponse, error)
- func (UnimplementedResourceServiceServer) ListResourceLimits(context.Context, *ListResourceLimitsRequest) (*ListResourceLimitsResponse, error)
- func (UnimplementedResourceServiceServer) PurgeExpungedResources(context.Context, *PurgeExpungedResourcesRequest) (*PurgeExpungedResourcesResponse, error)
- func (UnimplementedResourceServiceServer) StartRollingMaintenance(context.Context, *StartRollingMaintenanceRequest) (*StartRollingMaintenanceResponse, error)
- func (UnimplementedResourceServiceServer) UpdateResourceCount(context.Context, *UpdateResourceCountRequest) (*UpdateResourceCountResponse, error)
- func (UnimplementedResourceServiceServer) UpdateResourceLimit(context.Context, *UpdateResourceLimitRequest) (*UpdateResourceLimitResponse, error)
- func (UnimplementedResourceServiceServer) UploadCustomCertificate(context.Context, *UploadCustomCertificateRequest) (*UploadCustomCertificateResponse, error)
- type UnsafeResourceServiceServer
- type UpdateResourceCountRequest
- func (*UpdateResourceCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceCountRequest) GetAccountName() string
- func (x *UpdateResourceCountRequest) GetDomainId() int64
- func (x *UpdateResourceCountRequest) GetProjectId() int64
- func (x *UpdateResourceCountRequest) GetResourceType() int32
- func (x *UpdateResourceCountRequest) GetResponseType() string
- func (x *UpdateResourceCountRequest) GetTag() string
- func (*UpdateResourceCountRequest) ProtoMessage()
- func (x *UpdateResourceCountRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceCountRequest) Reset()
- func (x *UpdateResourceCountRequest) String() string
- type UpdateResourceCountResponse
- func (*UpdateResourceCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceCountResponse) GetResult() *Result
- func (*UpdateResourceCountResponse) ProtoMessage()
- func (x *UpdateResourceCountResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceCountResponse) Reset()
- func (x *UpdateResourceCountResponse) String() string
- type UpdateResourceLimitRequest
- func (*UpdateResourceLimitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceLimitRequest) GetAccountName() string
- func (x *UpdateResourceLimitRequest) GetDomainId() int64
- func (x *UpdateResourceLimitRequest) GetMax() int64
- func (x *UpdateResourceLimitRequest) GetProjectId() int64
- func (x *UpdateResourceLimitRequest) GetResourceType() int32
- func (x *UpdateResourceLimitRequest) GetResponseType() string
- func (x *UpdateResourceLimitRequest) GetTag() string
- func (*UpdateResourceLimitRequest) ProtoMessage()
- func (x *UpdateResourceLimitRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceLimitRequest) Reset()
- func (x *UpdateResourceLimitRequest) String() string
- type UpdateResourceLimitResponse
- func (*UpdateResourceLimitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceLimitResponse) GetResult() *Result
- func (*UpdateResourceLimitResponse) ProtoMessage()
- func (x *UpdateResourceLimitResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceLimitResponse) Reset()
- func (x *UpdateResourceLimitResponse) String() string
- type UploadCustomCertificateRequest
- func (*UploadCustomCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadCustomCertificateRequest) GetAlias() string
- func (x *UploadCustomCertificateRequest) GetCertificate() string
- func (x *UploadCustomCertificateRequest) GetDomainSuffix() string
- func (x *UploadCustomCertificateRequest) GetIndex() int32
- func (x *UploadCustomCertificateRequest) GetInjectedJobId() string
- func (x *UploadCustomCertificateRequest) GetPrivateKey() string
- func (x *UploadCustomCertificateRequest) GetResponseType() string
- func (x *UploadCustomCertificateRequest) GetStartEventId() int64
- func (*UploadCustomCertificateRequest) ProtoMessage()
- func (x *UploadCustomCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *UploadCustomCertificateRequest) Reset()
- func (x *UploadCustomCertificateRequest) String() string
- type UploadCustomCertificateResponse
- func (*UploadCustomCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadCustomCertificateResponse) GetResult() *Result
- func (*UploadCustomCertificateResponse) ProtoMessage()
- func (x *UploadCustomCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *UploadCustomCertificateResponse) Reset()
- func (x *UploadCustomCertificateResponse) String() string
Constants ¶
const ( ResourceService_ArchiveAlerts_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/ArchiveAlerts" ResourceService_CleanVMReservations_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/CleanVMReservations" ResourceService_DeleteAlerts_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/DeleteAlerts" ResourceService_GetCloudIdentifier_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/GetCloudIdentifier" ResourceService_ListAlertTypes_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/ListAlertTypes" ResourceService_ListAlerts_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/ListAlerts" ResourceService_ListCapacity_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/ListCapacity" ResourceService_ListDetailOptions_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/ListDetailOptions" ResourceService_ListHypervisors_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/ListHypervisors" ResourceService_ListResourceLimits_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/ListResourceLimits" ResourceService_PurgeExpungedResources_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/PurgeExpungedResources" ResourceService_StartRollingMaintenance_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/StartRollingMaintenance" ResourceService_UpdateResourceCount_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/UpdateResourceCount" ResourceService_UpdateResourceLimit_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/UpdateResourceLimit" ResourceService_UploadCustomCertificate_FullMethodName = "/cloudstack.management.resource.v1.ResourceService/UploadCustomCertificate" )
Variables ¶
var ( ResourceType_name = map[int32]string{ 0: "RESOURCE_TYPE_UNSPECIFIED", 1: "RESOURCE_TYPE_V_0", 2: "RESOURCE_TYPE_V_1", 3: "RESOURCE_TYPE_V_2", 4: "RESOURCE_TYPE_V_3", 5: "RESOURCE_TYPE_V_4", 6: "RESOURCE_TYPE_V_5", 7: "RESOURCE_TYPE_V_6", 8: "RESOURCE_TYPE_V_7", 9: "RESOURCE_TYPE_V_8", 10: "RESOURCE_TYPE_V_9", } ResourceType_value = map[string]int32{ "RESOURCE_TYPE_UNSPECIFIED": 0, "RESOURCE_TYPE_V_0": 1, "RESOURCE_TYPE_V_1": 2, "RESOURCE_TYPE_V_2": 3, "RESOURCE_TYPE_V_3": 4, "RESOURCE_TYPE_V_4": 5, "RESOURCE_TYPE_V_5": 6, "RESOURCE_TYPE_V_6": 7, "RESOURCE_TYPE_V_7": 8, "RESOURCE_TYPE_V_8": 9, "RESOURCE_TYPE_V_9": 10, } )
Enum value maps for ResourceType.
var File_cloudstack_management_resource_v1_resource_gen_proto protoreflect.FileDescriptor
var ResourceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cloudstack.management.resource.v1.ResourceService", HandlerType: (*ResourceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ArchiveAlerts", Handler: _ResourceService_ArchiveAlerts_Handler, }, { MethodName: "CleanVMReservations", Handler: _ResourceService_CleanVMReservations_Handler, }, { MethodName: "DeleteAlerts", Handler: _ResourceService_DeleteAlerts_Handler, }, { MethodName: "GetCloudIdentifier", Handler: _ResourceService_GetCloudIdentifier_Handler, }, { MethodName: "ListAlertTypes", Handler: _ResourceService_ListAlertTypes_Handler, }, { MethodName: "ListAlerts", Handler: _ResourceService_ListAlerts_Handler, }, { MethodName: "ListCapacity", Handler: _ResourceService_ListCapacity_Handler, }, { MethodName: "ListDetailOptions", Handler: _ResourceService_ListDetailOptions_Handler, }, { MethodName: "ListHypervisors", Handler: _ResourceService_ListHypervisors_Handler, }, { MethodName: "ListResourceLimits", Handler: _ResourceService_ListResourceLimits_Handler, }, { MethodName: "PurgeExpungedResources", Handler: _ResourceService_PurgeExpungedResources_Handler, }, { MethodName: "StartRollingMaintenance", Handler: _ResourceService_StartRollingMaintenance_Handler, }, { MethodName: "UpdateResourceCount", Handler: _ResourceService_UpdateResourceCount_Handler, }, { MethodName: "UpdateResourceLimit", Handler: _ResourceService_UpdateResourceLimit_Handler, }, { MethodName: "UploadCustomCertificate", Handler: _ResourceService_UploadCustomCertificate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cloudstack/management/resource/v1/resource.gen.proto", }
ResourceService_ServiceDesc is the grpc.ServiceDesc for ResourceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterResourceServiceServer ¶
func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)
Types ¶
type Alert ¶
type Alert struct {
// The ID of the Alert
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the Alert
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the Alert
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the Alert
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
}
Alert represents a Alert Item
func (*Alert) Descriptor
deprecated
func (*Alert) GetCreated ¶
func (*Alert) GetDescription ¶
func (*Alert) GetDisplayName ¶
func (*Alert) ProtoMessage ¶
func (*Alert) ProtoMessage()
func (*Alert) ProtoReflect ¶
func (x *Alert) ProtoReflect() protoreflect.Message
type ArchiveAlertsRequest ¶
type ArchiveAlertsRequest struct {
// the IDs of the alerts
Ids []string `protobuf:"bytes,1,rep,name=ids" json:"ids,omitempty"`
// end date range to archive alerts (including) this date (use format "yyyy-MM-dd" or the new format "yyyy-MM-ddThh:mm:ss")
EndDate *string `protobuf:"bytes,2,opt,name=end_date,json=endDate" json:"end_date,omitempty"`
// start date range to archive alerts (including) this date (use format "yyyy-MM-dd" or the new format "yyyy-MM-ddThh:mm:ss")
StartDate *string `protobuf:"bytes,3,opt,name=start_date,json=startDate" json:"start_date,omitempty"`
// archive by alert type
Type *string `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"`
ResponseType *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ArchiveAlertsRequest represents the parameters for archive one or more alerts.
func (*ArchiveAlertsRequest) Descriptor
deprecated
func (*ArchiveAlertsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveAlertsRequest.ProtoReflect.Descriptor instead.
func (*ArchiveAlertsRequest) GetEndDate ¶
func (x *ArchiveAlertsRequest) GetEndDate() string
func (*ArchiveAlertsRequest) GetIds ¶
func (x *ArchiveAlertsRequest) GetIds() []string
func (*ArchiveAlertsRequest) GetResponseType ¶
func (x *ArchiveAlertsRequest) GetResponseType() string
func (*ArchiveAlertsRequest) GetStartDate ¶
func (x *ArchiveAlertsRequest) GetStartDate() string
func (*ArchiveAlertsRequest) GetType ¶
func (x *ArchiveAlertsRequest) GetType() string
func (*ArchiveAlertsRequest) ProtoMessage ¶
func (*ArchiveAlertsRequest) ProtoMessage()
func (*ArchiveAlertsRequest) ProtoReflect ¶
func (x *ArchiveAlertsRequest) ProtoReflect() protoreflect.Message
func (*ArchiveAlertsRequest) Reset ¶
func (x *ArchiveAlertsRequest) Reset()
func (*ArchiveAlertsRequest) String ¶
func (x *ArchiveAlertsRequest) String() string
type ArchiveAlertsResponse ¶
type ArchiveAlertsResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
ArchiveAlertsResponse represents the response from archive one or more alerts.
func (*ArchiveAlertsResponse) Descriptor
deprecated
func (*ArchiveAlertsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveAlertsResponse.ProtoReflect.Descriptor instead.
func (*ArchiveAlertsResponse) GetResult ¶
func (x *ArchiveAlertsResponse) GetResult() *Result
func (*ArchiveAlertsResponse) ProtoMessage ¶
func (*ArchiveAlertsResponse) ProtoMessage()
func (*ArchiveAlertsResponse) ProtoReflect ¶
func (x *ArchiveAlertsResponse) ProtoReflect() protoreflect.Message
func (*ArchiveAlertsResponse) Reset ¶
func (x *ArchiveAlertsResponse) Reset()
func (*ArchiveAlertsResponse) String ¶
func (x *ArchiveAlertsResponse) String() string
type Capacity ¶
type Capacity struct {
// The ID of the Capacity
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the Capacity
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the Capacity
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the Capacity
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
}
Capacity represents a Capacity Item
func (*Capacity) Descriptor
deprecated
func (*Capacity) GetCreated ¶
func (*Capacity) GetDescription ¶
func (*Capacity) GetDisplayName ¶
func (*Capacity) ProtoMessage ¶
func (*Capacity) ProtoMessage()
func (*Capacity) ProtoReflect ¶
func (x *Capacity) ProtoReflect() protoreflect.Message
type CleanVMReservationsRequest ¶
type CleanVMReservationsRequest struct {
StartEventId *int64 `protobuf:"varint,1,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
InjectedJobId *string `protobuf:"bytes,2,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
ResponseType *string `protobuf:"bytes,3,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
CleanVMReservationsRequest represents the parameters for cleanups vm reservations in the database.
func (*CleanVMReservationsRequest) Descriptor
deprecated
func (*CleanVMReservationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CleanVMReservationsRequest.ProtoReflect.Descriptor instead.
func (*CleanVMReservationsRequest) GetInjectedJobId ¶
func (x *CleanVMReservationsRequest) GetInjectedJobId() string
func (*CleanVMReservationsRequest) GetResponseType ¶
func (x *CleanVMReservationsRequest) GetResponseType() string
func (*CleanVMReservationsRequest) GetStartEventId ¶
func (x *CleanVMReservationsRequest) GetStartEventId() int64
func (*CleanVMReservationsRequest) ProtoMessage ¶
func (*CleanVMReservationsRequest) ProtoMessage()
func (*CleanVMReservationsRequest) ProtoReflect ¶
func (x *CleanVMReservationsRequest) ProtoReflect() protoreflect.Message
func (*CleanVMReservationsRequest) Reset ¶
func (x *CleanVMReservationsRequest) Reset()
func (*CleanVMReservationsRequest) String ¶
func (x *CleanVMReservationsRequest) String() string
type CleanVMReservationsResponse ¶
type CleanVMReservationsResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
CleanVMReservationsResponse represents the response from cleanups vm reservations in the database.
func (*CleanVMReservationsResponse) Descriptor
deprecated
func (*CleanVMReservationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CleanVMReservationsResponse.ProtoReflect.Descriptor instead.
func (*CleanVMReservationsResponse) GetResult ¶
func (x *CleanVMReservationsResponse) GetResult() *Result
func (*CleanVMReservationsResponse) ProtoMessage ¶
func (*CleanVMReservationsResponse) ProtoMessage()
func (*CleanVMReservationsResponse) ProtoReflect ¶
func (x *CleanVMReservationsResponse) ProtoReflect() protoreflect.Message
func (*CleanVMReservationsResponse) Reset ¶
func (x *CleanVMReservationsResponse) Reset()
func (*CleanVMReservationsResponse) String ¶
func (x *CleanVMReservationsResponse) String() string
type DeleteAlertsRequest ¶
type DeleteAlertsRequest struct {
// the IDs of the alerts
Ids []string `protobuf:"bytes,1,rep,name=ids" json:"ids,omitempty"`
// end date range to delete alerts (including) this date (use format "yyyy-MM-dd" or the new format "yyyy-MM-ddThh:mm:ss")
EndDate *string `protobuf:"bytes,2,opt,name=end_date,json=endDate" json:"end_date,omitempty"`
// start date range to delete alerts (including) this date (use format "yyyy-MM-dd" or the new format "yyyy-MM-ddThh:mm:ss")
StartDate *string `protobuf:"bytes,3,opt,name=start_date,json=startDate" json:"start_date,omitempty"`
// delete by alert type
Type *string `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"`
ResponseType *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
DeleteAlertsRequest represents the parameters for delete one or more alerts.
func (*DeleteAlertsRequest) Descriptor
deprecated
func (*DeleteAlertsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAlertsRequest.ProtoReflect.Descriptor instead.
func (*DeleteAlertsRequest) GetEndDate ¶
func (x *DeleteAlertsRequest) GetEndDate() string
func (*DeleteAlertsRequest) GetIds ¶
func (x *DeleteAlertsRequest) GetIds() []string
func (*DeleteAlertsRequest) GetResponseType ¶
func (x *DeleteAlertsRequest) GetResponseType() string
func (*DeleteAlertsRequest) GetStartDate ¶
func (x *DeleteAlertsRequest) GetStartDate() string
func (*DeleteAlertsRequest) GetType ¶
func (x *DeleteAlertsRequest) GetType() string
func (*DeleteAlertsRequest) ProtoMessage ¶
func (*DeleteAlertsRequest) ProtoMessage()
func (*DeleteAlertsRequest) ProtoReflect ¶
func (x *DeleteAlertsRequest) ProtoReflect() protoreflect.Message
func (*DeleteAlertsRequest) Reset ¶
func (x *DeleteAlertsRequest) Reset()
func (*DeleteAlertsRequest) String ¶
func (x *DeleteAlertsRequest) String() string
type DeleteAlertsResponse ¶
type DeleteAlertsResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
DeleteAlertsResponse represents the response from delete one or more alerts.
func (*DeleteAlertsResponse) Descriptor
deprecated
func (*DeleteAlertsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAlertsResponse.ProtoReflect.Descriptor instead.
func (*DeleteAlertsResponse) GetResult ¶
func (x *DeleteAlertsResponse) GetResult() *Result
func (*DeleteAlertsResponse) ProtoMessage ¶
func (*DeleteAlertsResponse) ProtoMessage()
func (*DeleteAlertsResponse) ProtoReflect ¶
func (x *DeleteAlertsResponse) ProtoReflect() protoreflect.Message
func (*DeleteAlertsResponse) Reset ¶
func (x *DeleteAlertsResponse) Reset()
func (*DeleteAlertsResponse) String ¶
func (x *DeleteAlertsResponse) String() string
type DetailOptions ¶
type DetailOptions struct {
// The ID of the DetailOptions
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the DetailOptions
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the DetailOptions
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the DetailOptions
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
}
DetailOptions represents a DetailOptions Item
func (*DetailOptions) Descriptor
deprecated
func (*DetailOptions) Descriptor() ([]byte, []int)
Deprecated: Use DetailOptions.ProtoReflect.Descriptor instead.
func (*DetailOptions) GetCreated ¶
func (x *DetailOptions) GetCreated() string
func (*DetailOptions) GetDescription ¶
func (x *DetailOptions) GetDescription() string
func (*DetailOptions) GetDisplayName ¶
func (x *DetailOptions) GetDisplayName() string
func (*DetailOptions) GetId ¶
func (x *DetailOptions) GetId() string
func (*DetailOptions) GetName ¶
func (x *DetailOptions) GetName() string
func (*DetailOptions) ProtoMessage ¶
func (*DetailOptions) ProtoMessage()
func (*DetailOptions) ProtoReflect ¶
func (x *DetailOptions) ProtoReflect() protoreflect.Message
func (*DetailOptions) Reset ¶
func (x *DetailOptions) Reset()
func (*DetailOptions) String ¶
func (x *DetailOptions) String() string
type GetCloudIdentifierRequest ¶
type GetCloudIdentifierRequest struct {
// the user ID for the cloud identifier
Userid *int64 `protobuf:"varint,1,opt,name=userid" json:"userid,omitempty"`
ResponseType *string `protobuf:"bytes,2,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
GetCloudIdentifierRequest represents the parameters for retrieves a cloud identifier.
func (*GetCloudIdentifierRequest) Descriptor
deprecated
func (*GetCloudIdentifierRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCloudIdentifierRequest.ProtoReflect.Descriptor instead.
func (*GetCloudIdentifierRequest) GetResponseType ¶
func (x *GetCloudIdentifierRequest) GetResponseType() string
func (*GetCloudIdentifierRequest) GetUserid ¶
func (x *GetCloudIdentifierRequest) GetUserid() int64
func (*GetCloudIdentifierRequest) ProtoMessage ¶
func (*GetCloudIdentifierRequest) ProtoMessage()
func (*GetCloudIdentifierRequest) ProtoReflect ¶
func (x *GetCloudIdentifierRequest) ProtoReflect() protoreflect.Message
func (*GetCloudIdentifierRequest) Reset ¶
func (x *GetCloudIdentifierRequest) Reset()
func (*GetCloudIdentifierRequest) String ¶
func (x *GetCloudIdentifierRequest) String() string
type GetCloudIdentifierResponse ¶
type GetCloudIdentifierResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
GetCloudIdentifierResponse represents the response from retrieves a cloud identifier.
func (*GetCloudIdentifierResponse) Descriptor
deprecated
func (*GetCloudIdentifierResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCloudIdentifierResponse.ProtoReflect.Descriptor instead.
func (*GetCloudIdentifierResponse) GetResult ¶
func (x *GetCloudIdentifierResponse) GetResult() *Result
func (*GetCloudIdentifierResponse) ProtoMessage ¶
func (*GetCloudIdentifierResponse) ProtoMessage()
func (*GetCloudIdentifierResponse) ProtoReflect ¶
func (x *GetCloudIdentifierResponse) ProtoReflect() protoreflect.Message
func (*GetCloudIdentifierResponse) Reset ¶
func (x *GetCloudIdentifierResponse) Reset()
func (*GetCloudIdentifierResponse) String ¶
func (x *GetCloudIdentifierResponse) String() string
type Hypervisor ¶
type Hypervisor struct {
// The ID of the Hypervisor
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the Hypervisor
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the Hypervisor
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the Hypervisor
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
}
Hypervisor represents a Hypervisor Item
func (*Hypervisor) Descriptor
deprecated
func (*Hypervisor) Descriptor() ([]byte, []int)
Deprecated: Use Hypervisor.ProtoReflect.Descriptor instead.
func (*Hypervisor) GetCreated ¶
func (x *Hypervisor) GetCreated() string
func (*Hypervisor) GetDescription ¶
func (x *Hypervisor) GetDescription() string
func (*Hypervisor) GetDisplayName ¶
func (x *Hypervisor) GetDisplayName() string
func (*Hypervisor) GetId ¶
func (x *Hypervisor) GetId() string
func (*Hypervisor) GetName ¶
func (x *Hypervisor) GetName() string
func (*Hypervisor) ProtoMessage ¶
func (*Hypervisor) ProtoMessage()
func (*Hypervisor) ProtoReflect ¶
func (x *Hypervisor) ProtoReflect() protoreflect.Message
func (*Hypervisor) Reset ¶
func (x *Hypervisor) Reset()
func (*Hypervisor) String ¶
func (x *Hypervisor) String() string
type ListAlertTypesRequest ¶
type ListAlertTypesRequest struct {
ResponseType *string `protobuf:"bytes,1,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListAlertTypesRequest represents the parameters for lists all alerts types
func (*ListAlertTypesRequest) Descriptor
deprecated
func (*ListAlertTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertTypesRequest.ProtoReflect.Descriptor instead.
func (*ListAlertTypesRequest) GetResponseType ¶
func (x *ListAlertTypesRequest) GetResponseType() string
func (*ListAlertTypesRequest) ProtoMessage ¶
func (*ListAlertTypesRequest) ProtoMessage()
func (*ListAlertTypesRequest) ProtoReflect ¶
func (x *ListAlertTypesRequest) ProtoReflect() protoreflect.Message
func (*ListAlertTypesRequest) Reset ¶
func (x *ListAlertTypesRequest) Reset()
func (*ListAlertTypesRequest) String ¶
func (x *ListAlertTypesRequest) String() string
type ListAlertTypesResponse ¶
type ListAlertTypesResponse struct {
// The list of Alerts
Items []*Alert `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of Alerts
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListAlertTypesResponse represents the response from lists all alerts types
func (*ListAlertTypesResponse) Descriptor
deprecated
func (*ListAlertTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertTypesResponse.ProtoReflect.Descriptor instead.
func (*ListAlertTypesResponse) GetItems ¶
func (x *ListAlertTypesResponse) GetItems() []*Alert
func (*ListAlertTypesResponse) GetTotalCount ¶
func (x *ListAlertTypesResponse) GetTotalCount() int32
func (*ListAlertTypesResponse) ProtoMessage ¶
func (*ListAlertTypesResponse) ProtoMessage()
func (*ListAlertTypesResponse) ProtoReflect ¶
func (x *ListAlertTypesResponse) ProtoReflect() protoreflect.Message
func (*ListAlertTypesResponse) Reset ¶
func (x *ListAlertTypesResponse) Reset()
func (*ListAlertTypesResponse) String ¶
func (x *ListAlertTypesResponse) String() string
type ListAlertsRequest ¶
type ListAlertsRequest struct {
// the ID of the alert
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// list by alert type
Type *string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
// list by alert name
Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
// List by keyword
Keyword *string `protobuf:"bytes,4,opt,name=keyword" json:"keyword,omitempty"`
Page *int32 `protobuf:"varint,5,opt,name=page" json:"page,omitempty"`
PageSize *int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
ResponseType *string `protobuf:"bytes,7,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListAlertsRequest represents the parameters for lists all alerts.
func (*ListAlertsRequest) Descriptor
deprecated
func (*ListAlertsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertsRequest.ProtoReflect.Descriptor instead.
func (*ListAlertsRequest) GetId ¶
func (x *ListAlertsRequest) GetId() int64
func (*ListAlertsRequest) GetKeyword ¶
func (x *ListAlertsRequest) GetKeyword() string
func (*ListAlertsRequest) GetName ¶
func (x *ListAlertsRequest) GetName() string
func (*ListAlertsRequest) GetPage ¶
func (x *ListAlertsRequest) GetPage() int32
func (*ListAlertsRequest) GetPageSize ¶
func (x *ListAlertsRequest) GetPageSize() int32
func (*ListAlertsRequest) GetResponseType ¶
func (x *ListAlertsRequest) GetResponseType() string
func (*ListAlertsRequest) GetType ¶
func (x *ListAlertsRequest) GetType() string
func (*ListAlertsRequest) ProtoMessage ¶
func (*ListAlertsRequest) ProtoMessage()
func (*ListAlertsRequest) ProtoReflect ¶
func (x *ListAlertsRequest) ProtoReflect() protoreflect.Message
func (*ListAlertsRequest) Reset ¶
func (x *ListAlertsRequest) Reset()
func (*ListAlertsRequest) String ¶
func (x *ListAlertsRequest) String() string
type ListAlertsResponse ¶
type ListAlertsResponse struct {
// The list of Alerts
Items []*Alert `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of Alerts
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListAlertsResponse represents the response from lists all alerts.
func (*ListAlertsResponse) Descriptor
deprecated
func (*ListAlertsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertsResponse.ProtoReflect.Descriptor instead.
func (*ListAlertsResponse) GetItems ¶
func (x *ListAlertsResponse) GetItems() []*Alert
func (*ListAlertsResponse) GetTotalCount ¶
func (x *ListAlertsResponse) GetTotalCount() int32
func (*ListAlertsResponse) ProtoMessage ¶
func (*ListAlertsResponse) ProtoMessage()
func (*ListAlertsResponse) ProtoReflect ¶
func (x *ListAlertsResponse) ProtoReflect() protoreflect.Message
func (*ListAlertsResponse) Reset ¶
func (x *ListAlertsResponse) Reset()
func (*ListAlertsResponse) String ¶
func (x *ListAlertsResponse) String() string
type ListCapacityRequest ¶
type ListCapacityRequest struct {
// lists capacity by the Zone ID
ZoneId *int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
// lists capacity by the Pod ID
PodId *int64 `protobuf:"varint,2,opt,name=pod_id,json=podId" json:"pod_id,omitempty"`
// lists capacity by the Cluster ID
ClusterId *int64 `protobuf:"varint,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
// recalculate capacities and fetch the latest
FetchLatest *bool `protobuf:"varint,4,opt,name=fetch_latest,json=fetchLatest" json:"fetch_latest,omitempty"`
// lists capacity by type* CAPACITY_TYPE_MEMORY = 0* CAPACITY_TYPE_CPU = 1* CAPACITY_TYPE_STORAGE = 2* CAPACITY_TYPE_STORAGE_ALLOCATED = 3* CAPACITY_TYPE_VIRTUAL_NETWORK_PUBLIC_IP = 4* CAPACITY_TYPE_PRIVATE_IP = 5* CAPACITY_TYPE_SECONDARY_STORAGE = 6* CAPACITY_TYPE_VLAN = 7* CAPACITY_TYPE_DIRECT_ATTACHED_PUBLIC_IP = 8* CAPACITY_TYPE_LOCAL_STORAGE = 9* CAPACITY_TYPE_GPU = 19* CAPACITY_TYPE_CPU_CORE = 90.
Type *int32 `protobuf:"varint,5,opt,name=type" json:"type,omitempty"`
// Sort the results. Available values: Usage
SortBy *string `protobuf:"bytes,6,opt,name=sort_by,json=sortBy" json:"sort_by,omitempty"`
// Tag for the resource type
Tag *string `protobuf:"bytes,7,opt,name=tag" json:"tag,omitempty"`
// List by keyword
Keyword *string `protobuf:"bytes,8,opt,name=keyword" json:"keyword,omitempty"`
Page *int32 `protobuf:"varint,9,opt,name=page" json:"page,omitempty"`
PageSize *int32 `protobuf:"varint,10,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
ResponseType *string `protobuf:"bytes,11,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListCapacityRequest represents the parameters for lists all the system wide capacities.
func (*ListCapacityRequest) Descriptor
deprecated
func (*ListCapacityRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCapacityRequest.ProtoReflect.Descriptor instead.
func (*ListCapacityRequest) GetClusterId ¶
func (x *ListCapacityRequest) GetClusterId() int64
func (*ListCapacityRequest) GetFetchLatest ¶
func (x *ListCapacityRequest) GetFetchLatest() bool
func (*ListCapacityRequest) GetKeyword ¶
func (x *ListCapacityRequest) GetKeyword() string
func (*ListCapacityRequest) GetPage ¶
func (x *ListCapacityRequest) GetPage() int32
func (*ListCapacityRequest) GetPageSize ¶
func (x *ListCapacityRequest) GetPageSize() int32
func (*ListCapacityRequest) GetPodId ¶
func (x *ListCapacityRequest) GetPodId() int64
func (*ListCapacityRequest) GetResponseType ¶
func (x *ListCapacityRequest) GetResponseType() string
func (*ListCapacityRequest) GetSortBy ¶
func (x *ListCapacityRequest) GetSortBy() string
func (*ListCapacityRequest) GetTag ¶
func (x *ListCapacityRequest) GetTag() string
func (*ListCapacityRequest) GetType ¶
func (x *ListCapacityRequest) GetType() int32
func (*ListCapacityRequest) GetZoneId ¶
func (x *ListCapacityRequest) GetZoneId() int64
func (*ListCapacityRequest) ProtoMessage ¶
func (*ListCapacityRequest) ProtoMessage()
func (*ListCapacityRequest) ProtoReflect ¶
func (x *ListCapacityRequest) ProtoReflect() protoreflect.Message
func (*ListCapacityRequest) Reset ¶
func (x *ListCapacityRequest) Reset()
func (*ListCapacityRequest) String ¶
func (x *ListCapacityRequest) String() string
type ListCapacityResponse ¶
type ListCapacityResponse struct {
// The list of Capacitys
Items []*Capacity `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of Capacitys
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListCapacityResponse represents the response from lists all the system wide capacities.
func (*ListCapacityResponse) Descriptor
deprecated
func (*ListCapacityResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCapacityResponse.ProtoReflect.Descriptor instead.
func (*ListCapacityResponse) GetItems ¶
func (x *ListCapacityResponse) GetItems() []*Capacity
func (*ListCapacityResponse) GetTotalCount ¶
func (x *ListCapacityResponse) GetTotalCount() int32
func (*ListCapacityResponse) ProtoMessage ¶
func (*ListCapacityResponse) ProtoMessage()
func (*ListCapacityResponse) ProtoReflect ¶
func (x *ListCapacityResponse) ProtoReflect() protoreflect.Message
func (*ListCapacityResponse) Reset ¶
func (x *ListCapacityResponse) Reset()
func (*ListCapacityResponse) String ¶
func (x *ListCapacityResponse) String() string
type ListDetailOptionsRequest ¶
type ListDetailOptionsRequest struct {
// the resource type such as UserVm, Template etc.
ResourceType *string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
// the UUID of the resource (optional)
ResourceId *string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId" json:"resource_id,omitempty"`
ResponseType *string `protobuf:"bytes,3,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListDetailOptionsRequest represents the parameters for lists all possible details and their options for a resource type such as a vm or a template
func (*ListDetailOptionsRequest) Descriptor
deprecated
func (*ListDetailOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDetailOptionsRequest.ProtoReflect.Descriptor instead.
func (*ListDetailOptionsRequest) GetResourceId ¶
func (x *ListDetailOptionsRequest) GetResourceId() string
func (*ListDetailOptionsRequest) GetResourceType ¶
func (x *ListDetailOptionsRequest) GetResourceType() string
func (*ListDetailOptionsRequest) GetResponseType ¶
func (x *ListDetailOptionsRequest) GetResponseType() string
func (*ListDetailOptionsRequest) ProtoMessage ¶
func (*ListDetailOptionsRequest) ProtoMessage()
func (*ListDetailOptionsRequest) ProtoReflect ¶
func (x *ListDetailOptionsRequest) ProtoReflect() protoreflect.Message
func (*ListDetailOptionsRequest) Reset ¶
func (x *ListDetailOptionsRequest) Reset()
func (*ListDetailOptionsRequest) String ¶
func (x *ListDetailOptionsRequest) String() string
type ListDetailOptionsResponse ¶
type ListDetailOptionsResponse struct {
// The list of DetailOptionss
Items []*DetailOptions `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of DetailOptionss
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListDetailOptionsResponse represents the response from lists all possible details and their options for a resource type such as a vm or a template
func (*ListDetailOptionsResponse) Descriptor
deprecated
func (*ListDetailOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDetailOptionsResponse.ProtoReflect.Descriptor instead.
func (*ListDetailOptionsResponse) GetItems ¶
func (x *ListDetailOptionsResponse) GetItems() []*DetailOptions
func (*ListDetailOptionsResponse) GetTotalCount ¶
func (x *ListDetailOptionsResponse) GetTotalCount() int32
func (*ListDetailOptionsResponse) ProtoMessage ¶
func (*ListDetailOptionsResponse) ProtoMessage()
func (*ListDetailOptionsResponse) ProtoReflect ¶
func (x *ListDetailOptionsResponse) ProtoReflect() protoreflect.Message
func (*ListDetailOptionsResponse) Reset ¶
func (x *ListDetailOptionsResponse) Reset()
func (*ListDetailOptionsResponse) String ¶
func (x *ListDetailOptionsResponse) String() string
type ListHypervisorsRequest ¶
type ListHypervisorsRequest struct {
// the zone id for listing hypervisors.
ZoneId *int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
ResponseType *string `protobuf:"bytes,2,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListHypervisorsRequest represents the parameters for list hypervisors
func (*ListHypervisorsRequest) Descriptor
deprecated
func (*ListHypervisorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListHypervisorsRequest.ProtoReflect.Descriptor instead.
func (*ListHypervisorsRequest) GetResponseType ¶
func (x *ListHypervisorsRequest) GetResponseType() string
func (*ListHypervisorsRequest) GetZoneId ¶
func (x *ListHypervisorsRequest) GetZoneId() int64
func (*ListHypervisorsRequest) ProtoMessage ¶
func (*ListHypervisorsRequest) ProtoMessage()
func (*ListHypervisorsRequest) ProtoReflect ¶
func (x *ListHypervisorsRequest) ProtoReflect() protoreflect.Message
func (*ListHypervisorsRequest) Reset ¶
func (x *ListHypervisorsRequest) Reset()
func (*ListHypervisorsRequest) String ¶
func (x *ListHypervisorsRequest) String() string
type ListHypervisorsResponse ¶
type ListHypervisorsResponse struct {
// The list of Hypervisors
Items []*Hypervisor `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of Hypervisors
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListHypervisorsResponse represents the response from list hypervisors
func (*ListHypervisorsResponse) Descriptor
deprecated
func (*ListHypervisorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListHypervisorsResponse.ProtoReflect.Descriptor instead.
func (*ListHypervisorsResponse) GetItems ¶
func (x *ListHypervisorsResponse) GetItems() []*Hypervisor
func (*ListHypervisorsResponse) GetTotalCount ¶
func (x *ListHypervisorsResponse) GetTotalCount() int32
func (*ListHypervisorsResponse) ProtoMessage ¶
func (*ListHypervisorsResponse) ProtoMessage()
func (*ListHypervisorsResponse) ProtoReflect ¶
func (x *ListHypervisorsResponse) ProtoReflect() protoreflect.Message
func (*ListHypervisorsResponse) Reset ¶
func (x *ListHypervisorsResponse) Reset()
func (*ListHypervisorsResponse) String ¶
func (x *ListHypervisorsResponse) String() string
type ListResourceLimitsRequest ¶
type ListResourceLimitsRequest struct {
// Lists resource limits by ID.
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// Type of resource. Values are 0, 1, 2, 3, 4, 6, 7, 8, 9, 10 and 11. 0 - Instance. Number of instances a user can create. 1 - IP. Number of public IP addresses an account can own. 2 - Volume. Number of disk volumes an account can own. 3 - Snapshot. Number of snapshots an account can own. 4 - Template. Number of templates an account can register/create. 5 - Project. Number of projects an account can own. 6 - Network. Number of networks an account can own. 7 - VPC. Number of VPC an account can own. 8 - CPU. Number of CPU an account can allocate for their resources. 9 - Memory. Amount of RAM an account can allocate for their resources. 10 - PrimaryStorage. Total primary storage space (in GiB) a user can use. 11 - SecondaryStorage. Total secondary storage space (in GiB) a user can use.
ResourceType *int32 `protobuf:"varint,2,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
// Type of resource (wins over resourceType if both are provided). Values are: user_vm - Instance. Number of instances a user can create. public_ip - IP. Number of public IP addresses an account can own. volume - Volume. Number of disk volumes an account can own. snapshot - Snapshot. Number of snapshots an account can own. template - Template. Number of templates an account can register/create. project - Project. Number of projects an account can own. network - Network. Number of networks an account can own. vpc - VPC. Number of VPC an account can own. cpu - CPU. Number of CPU an account can allocate for their resources. memory - Memory. Amount of RAM an account can allocate for their resources. primary_storage - PrimaryStorage. Total primary storage space (in GiB) a user can use. secondary_storage - SecondaryStorage. Total secondary storage space (in GiB) a user can use.
ResourceTypeName *string `protobuf:"bytes,3,opt,name=resource_type_name,json=resourceTypeName" json:"resource_type_name,omitempty"`
// Tag for the resource type
Tag *string `protobuf:"bytes,4,opt,name=tag" json:"tag,omitempty"`
// list objects by project; if projectid=-1 lists All VMs
ProjectId *int64 `protobuf:"varint,5,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,6,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,7,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
// list only resources belonging to the domain specified
DomainId *int64 `protobuf:"varint,8,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,9,opt,name=recursive" json:"recursive,omitempty"`
// List by keyword
Keyword *string `protobuf:"bytes,10,opt,name=keyword" json:"keyword,omitempty"`
Page *int32 `protobuf:"varint,11,opt,name=page" json:"page,omitempty"`
PageSize *int32 `protobuf:"varint,12,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
ResponseType *string `protobuf:"bytes,13,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListResourceLimitsRequest represents the parameters for lists resource limits.
func (*ListResourceLimitsRequest) Descriptor
deprecated
func (*ListResourceLimitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceLimitsRequest.ProtoReflect.Descriptor instead.
func (*ListResourceLimitsRequest) GetAccountName ¶
func (x *ListResourceLimitsRequest) GetAccountName() string
func (*ListResourceLimitsRequest) GetDomainId ¶
func (x *ListResourceLimitsRequest) GetDomainId() int64
func (*ListResourceLimitsRequest) GetId ¶
func (x *ListResourceLimitsRequest) GetId() int64
func (*ListResourceLimitsRequest) GetKeyword ¶
func (x *ListResourceLimitsRequest) GetKeyword() string
func (*ListResourceLimitsRequest) GetListAll ¶
func (x *ListResourceLimitsRequest) GetListAll() bool
func (*ListResourceLimitsRequest) GetPage ¶
func (x *ListResourceLimitsRequest) GetPage() int32
func (*ListResourceLimitsRequest) GetPageSize ¶
func (x *ListResourceLimitsRequest) GetPageSize() int32
func (*ListResourceLimitsRequest) GetProjectId ¶
func (x *ListResourceLimitsRequest) GetProjectId() int64
func (*ListResourceLimitsRequest) GetRecursive ¶
func (x *ListResourceLimitsRequest) GetRecursive() bool
func (*ListResourceLimitsRequest) GetResourceType ¶
func (x *ListResourceLimitsRequest) GetResourceType() int32
func (*ListResourceLimitsRequest) GetResourceTypeName ¶
func (x *ListResourceLimitsRequest) GetResourceTypeName() string
func (*ListResourceLimitsRequest) GetResponseType ¶
func (x *ListResourceLimitsRequest) GetResponseType() string
func (*ListResourceLimitsRequest) GetTag ¶
func (x *ListResourceLimitsRequest) GetTag() string
func (*ListResourceLimitsRequest) ProtoMessage ¶
func (*ListResourceLimitsRequest) ProtoMessage()
func (*ListResourceLimitsRequest) ProtoReflect ¶
func (x *ListResourceLimitsRequest) ProtoReflect() protoreflect.Message
func (*ListResourceLimitsRequest) Reset ¶
func (x *ListResourceLimitsRequest) Reset()
func (*ListResourceLimitsRequest) String ¶
func (x *ListResourceLimitsRequest) String() string
type ListResourceLimitsResponse ¶
type ListResourceLimitsResponse struct {
// The list of ResourceLimits
Items []*ResourceLimit `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of ResourceLimits
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListResourceLimitsResponse represents the response from lists resource limits.
func (*ListResourceLimitsResponse) Descriptor
deprecated
func (*ListResourceLimitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceLimitsResponse.ProtoReflect.Descriptor instead.
func (*ListResourceLimitsResponse) GetItems ¶
func (x *ListResourceLimitsResponse) GetItems() []*ResourceLimit
func (*ListResourceLimitsResponse) GetTotalCount ¶
func (x *ListResourceLimitsResponse) GetTotalCount() int32
func (*ListResourceLimitsResponse) ProtoMessage ¶
func (*ListResourceLimitsResponse) ProtoMessage()
func (*ListResourceLimitsResponse) ProtoReflect ¶
func (x *ListResourceLimitsResponse) ProtoReflect() protoreflect.Message
func (*ListResourceLimitsResponse) Reset ¶
func (x *ListResourceLimitsResponse) Reset()
func (*ListResourceLimitsResponse) String ¶
func (x *ListResourceLimitsResponse) String() string
type PurgeExpungedResourcesRequest ¶
type PurgeExpungedResourcesRequest struct {
// The type of the resource which need to be purged. Supported types: VirtualMachine
ResourceType *string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
// The size of batch used during purging
BatchSize *int64 `protobuf:"varint,2,opt,name=batch_size,json=batchSize" json:"batch_size,omitempty"`
// The start date range of the expunged resources used for purging (use format "yyyy-MM-dd" or "yyyy-MM-dd HH:mm:ss")
StartDate *string `protobuf:"bytes,3,opt,name=start_date,json=startDate" json:"start_date,omitempty"`
// The end date range of the expunged resources used for purging (use format "yyyy-MM-dd" or "yyyy-MM-dd HH:mm:ss")
EndDate *string `protobuf:"bytes,4,opt,name=end_date,json=endDate" json:"end_date,omitempty"`
StartEventId *int64 `protobuf:"varint,5,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
InjectedJobId *string `protobuf:"bytes,6,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
ResponseType *string `protobuf:"bytes,7,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
PurgeExpungedResourcesRequest represents the parameters for purge expunged resources
func (*PurgeExpungedResourcesRequest) Descriptor
deprecated
func (*PurgeExpungedResourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use PurgeExpungedResourcesRequest.ProtoReflect.Descriptor instead.
func (*PurgeExpungedResourcesRequest) GetBatchSize ¶
func (x *PurgeExpungedResourcesRequest) GetBatchSize() int64
func (*PurgeExpungedResourcesRequest) GetEndDate ¶
func (x *PurgeExpungedResourcesRequest) GetEndDate() string
func (*PurgeExpungedResourcesRequest) GetInjectedJobId ¶
func (x *PurgeExpungedResourcesRequest) GetInjectedJobId() string
func (*PurgeExpungedResourcesRequest) GetResourceType ¶
func (x *PurgeExpungedResourcesRequest) GetResourceType() string
func (*PurgeExpungedResourcesRequest) GetResponseType ¶
func (x *PurgeExpungedResourcesRequest) GetResponseType() string
func (*PurgeExpungedResourcesRequest) GetStartDate ¶
func (x *PurgeExpungedResourcesRequest) GetStartDate() string
func (*PurgeExpungedResourcesRequest) GetStartEventId ¶
func (x *PurgeExpungedResourcesRequest) GetStartEventId() int64
func (*PurgeExpungedResourcesRequest) ProtoMessage ¶
func (*PurgeExpungedResourcesRequest) ProtoMessage()
func (*PurgeExpungedResourcesRequest) ProtoReflect ¶
func (x *PurgeExpungedResourcesRequest) ProtoReflect() protoreflect.Message
func (*PurgeExpungedResourcesRequest) Reset ¶
func (x *PurgeExpungedResourcesRequest) Reset()
func (*PurgeExpungedResourcesRequest) String ¶
func (x *PurgeExpungedResourcesRequest) String() string
type PurgeExpungedResourcesResponse ¶
type PurgeExpungedResourcesResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
PurgeExpungedResourcesResponse represents the response from purge expunged resources
func (*PurgeExpungedResourcesResponse) Descriptor
deprecated
func (*PurgeExpungedResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use PurgeExpungedResourcesResponse.ProtoReflect.Descriptor instead.
func (*PurgeExpungedResourcesResponse) GetResult ¶
func (x *PurgeExpungedResourcesResponse) GetResult() *Result
func (*PurgeExpungedResourcesResponse) ProtoMessage ¶
func (*PurgeExpungedResourcesResponse) ProtoMessage()
func (*PurgeExpungedResourcesResponse) ProtoReflect ¶
func (x *PurgeExpungedResourcesResponse) ProtoReflect() protoreflect.Message
func (*PurgeExpungedResourcesResponse) Reset ¶
func (x *PurgeExpungedResourcesResponse) Reset()
func (*PurgeExpungedResourcesResponse) String ¶
func (x *PurgeExpungedResourcesResponse) String() string
type ResourceLimit ¶
type ResourceLimit struct {
// The ID of the ResourceLimit
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the ResourceLimit
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the ResourceLimit
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the ResourceLimit
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
}
ResourceLimit represents a ResourceLimit Item
func (*ResourceLimit) Descriptor
deprecated
func (*ResourceLimit) Descriptor() ([]byte, []int)
Deprecated: Use ResourceLimit.ProtoReflect.Descriptor instead.
func (*ResourceLimit) GetCreated ¶
func (x *ResourceLimit) GetCreated() string
func (*ResourceLimit) GetDescription ¶
func (x *ResourceLimit) GetDescription() string
func (*ResourceLimit) GetDisplayName ¶
func (x *ResourceLimit) GetDisplayName() string
func (*ResourceLimit) GetId ¶
func (x *ResourceLimit) GetId() string
func (*ResourceLimit) GetName ¶
func (x *ResourceLimit) GetName() string
func (*ResourceLimit) ProtoMessage ¶
func (*ResourceLimit) ProtoMessage()
func (*ResourceLimit) ProtoReflect ¶
func (x *ResourceLimit) ProtoReflect() protoreflect.Message
func (*ResourceLimit) Reset ¶
func (x *ResourceLimit) Reset()
func (*ResourceLimit) String ¶
func (x *ResourceLimit) String() string
type ResourceServiceClient ¶
type ResourceServiceClient interface {
// ArchiveAlerts Archive one or more alerts.
ArchiveAlerts(ctx context.Context, in *ArchiveAlertsRequest, opts ...grpc.CallOption) (*ArchiveAlertsResponse, error)
// CleanVMReservations Cleanups VM reservations in the database.
CleanVMReservations(ctx context.Context, in *CleanVMReservationsRequest, opts ...grpc.CallOption) (*CleanVMReservationsResponse, error)
// DeleteAlerts Delete one or more alerts.
DeleteAlerts(ctx context.Context, in *DeleteAlertsRequest, opts ...grpc.CallOption) (*DeleteAlertsResponse, error)
// GetCloudIdentifier Retrieves a cloud identifier.
GetCloudIdentifier(ctx context.Context, in *GetCloudIdentifierRequest, opts ...grpc.CallOption) (*GetCloudIdentifierResponse, error)
// ListAlertTypes Lists all alerts types
ListAlertTypes(ctx context.Context, in *ListAlertTypesRequest, opts ...grpc.CallOption) (*ListAlertTypesResponse, error)
// ListAlerts Lists all alerts.
ListAlerts(ctx context.Context, in *ListAlertsRequest, opts ...grpc.CallOption) (*ListAlertsResponse, error)
// ListCapacity Lists all the system wide capacities.
ListCapacity(ctx context.Context, in *ListCapacityRequest, opts ...grpc.CallOption) (*ListCapacityResponse, error)
// ListDetailOptions Lists all possible details and their options for a resource type such as a VM or a template
ListDetailOptions(ctx context.Context, in *ListDetailOptionsRequest, opts ...grpc.CallOption) (*ListDetailOptionsResponse, error)
// ListHypervisors List hypervisors
ListHypervisors(ctx context.Context, in *ListHypervisorsRequest, opts ...grpc.CallOption) (*ListHypervisorsResponse, error)
// ListResourceLimits Lists resource limits.
ListResourceLimits(ctx context.Context, in *ListResourceLimitsRequest, opts ...grpc.CallOption) (*ListResourceLimitsResponse, error)
// PurgeExpungedResources Purge expunged resources
PurgeExpungedResources(ctx context.Context, in *PurgeExpungedResourcesRequest, opts ...grpc.CallOption) (*PurgeExpungedResourcesResponse, error)
// StartRollingMaintenance Start rolling maintenance
StartRollingMaintenance(ctx context.Context, in *StartRollingMaintenanceRequest, opts ...grpc.CallOption) (*StartRollingMaintenanceResponse, error)
// UpdateResourceCount Recalculate and update resource count for an account or domain. This also executes some cleanup tasks before calculating resource counts.
UpdateResourceCount(ctx context.Context, in *UpdateResourceCountRequest, opts ...grpc.CallOption) (*UpdateResourceCountResponse, error)
// UpdateResourceLimit Updates resource limits for an account or domain.
UpdateResourceLimit(ctx context.Context, in *UpdateResourceLimitRequest, opts ...grpc.CallOption) (*UpdateResourceLimitResponse, error)
// UploadCustomCertificate Uploads a custom certificate for the console proxy VMs to use for SSL. Can be used to upload a single certificate signed by a known CA. Can also be used, through multiple calls, to upload a chain of certificates from CA to the custom certificate itself.
UploadCustomCertificate(ctx context.Context, in *UploadCustomCertificateRequest, opts ...grpc.CallOption) (*UploadCustomCertificateResponse, error)
}
ResourceServiceClient is the client API for ResourceService 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.
ResourceService provides operations for managing Resources
func NewResourceServiceClient ¶
func NewResourceServiceClient(cc grpc.ClientConnInterface) ResourceServiceClient
type ResourceServiceServer ¶
type ResourceServiceServer interface {
// ArchiveAlerts Archive one or more alerts.
ArchiveAlerts(context.Context, *ArchiveAlertsRequest) (*ArchiveAlertsResponse, error)
// CleanVMReservations Cleanups VM reservations in the database.
CleanVMReservations(context.Context, *CleanVMReservationsRequest) (*CleanVMReservationsResponse, error)
// DeleteAlerts Delete one or more alerts.
DeleteAlerts(context.Context, *DeleteAlertsRequest) (*DeleteAlertsResponse, error)
// GetCloudIdentifier Retrieves a cloud identifier.
GetCloudIdentifier(context.Context, *GetCloudIdentifierRequest) (*GetCloudIdentifierResponse, error)
// ListAlertTypes Lists all alerts types
ListAlertTypes(context.Context, *ListAlertTypesRequest) (*ListAlertTypesResponse, error)
// ListAlerts Lists all alerts.
ListAlerts(context.Context, *ListAlertsRequest) (*ListAlertsResponse, error)
// ListCapacity Lists all the system wide capacities.
ListCapacity(context.Context, *ListCapacityRequest) (*ListCapacityResponse, error)
// ListDetailOptions Lists all possible details and their options for a resource type such as a VM or a template
ListDetailOptions(context.Context, *ListDetailOptionsRequest) (*ListDetailOptionsResponse, error)
// ListHypervisors List hypervisors
ListHypervisors(context.Context, *ListHypervisorsRequest) (*ListHypervisorsResponse, error)
// ListResourceLimits Lists resource limits.
ListResourceLimits(context.Context, *ListResourceLimitsRequest) (*ListResourceLimitsResponse, error)
// PurgeExpungedResources Purge expunged resources
PurgeExpungedResources(context.Context, *PurgeExpungedResourcesRequest) (*PurgeExpungedResourcesResponse, error)
// StartRollingMaintenance Start rolling maintenance
StartRollingMaintenance(context.Context, *StartRollingMaintenanceRequest) (*StartRollingMaintenanceResponse, error)
// UpdateResourceCount Recalculate and update resource count for an account or domain. This also executes some cleanup tasks before calculating resource counts.
UpdateResourceCount(context.Context, *UpdateResourceCountRequest) (*UpdateResourceCountResponse, error)
// UpdateResourceLimit Updates resource limits for an account or domain.
UpdateResourceLimit(context.Context, *UpdateResourceLimitRequest) (*UpdateResourceLimitResponse, error)
// UploadCustomCertificate Uploads a custom certificate for the console proxy VMs to use for SSL. Can be used to upload a single certificate signed by a known CA. Can also be used, through multiple calls, to upload a chain of certificates from CA to the custom certificate itself.
UploadCustomCertificate(context.Context, *UploadCustomCertificateRequest) (*UploadCustomCertificateResponse, error)
// contains filtered or unexported methods
}
ResourceServiceServer is the server API for ResourceService service. All implementations must embed UnimplementedResourceServiceServer for forward compatibility.
ResourceService provides operations for managing Resources
type ResourceType ¶
type ResourceType int32
ResourceType represents the possible values for Type of resource to update. If specifies valid values are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 and 11. If not specified will update all resource counts0 - Instance. Number of instances a user can create. 1 - IP. Number of public IP addresses a user can own. 2 - Volume. Number of disk volumes a user can create. 3 - Snapshot. Number of snapshots a user can create. 4 - Template. Number of templates that a user can register/create. 5 - Project. Number of projects that a user can create. 6 - Network. Number of guest network a user can create. 7 - VPC. Number of VPC a user can create. 8 - CPU. Total number of CPU cores a user can use. 9 - Memory. Total Memory (in MB) a user can use. 10 - PrimaryStorage. Total primary storage space (in GiB) a user can use. 11 - SecondaryStorage. Total secondary storage space (in GiB) a user can use.
const ( // Default unspecified value ResourceType_RESOURCE_TYPE_UNSPECIFIED ResourceType = 0 // V_0 value ResourceType_RESOURCE_TYPE_V_0 ResourceType = 1 // V_1 value ResourceType_RESOURCE_TYPE_V_1 ResourceType = 2 // V_2 value ResourceType_RESOURCE_TYPE_V_2 ResourceType = 3 // V_3 value ResourceType_RESOURCE_TYPE_V_3 ResourceType = 4 // V_4 value ResourceType_RESOURCE_TYPE_V_4 ResourceType = 5 // V_5 value ResourceType_RESOURCE_TYPE_V_5 ResourceType = 6 // V_6 value ResourceType_RESOURCE_TYPE_V_6 ResourceType = 7 // V_7 value ResourceType_RESOURCE_TYPE_V_7 ResourceType = 8 // V_8 value ResourceType_RESOURCE_TYPE_V_8 ResourceType = 9 // V_9 value ResourceType_RESOURCE_TYPE_V_9 ResourceType = 10 )
func (ResourceType) Descriptor ¶
func (ResourceType) Descriptor() protoreflect.EnumDescriptor
func (ResourceType) Enum ¶
func (x ResourceType) Enum() *ResourceType
func (ResourceType) EnumDescriptor
deprecated
func (ResourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceType.Descriptor instead.
func (ResourceType) Number ¶
func (x ResourceType) Number() protoreflect.EnumNumber
func (ResourceType) String ¶
func (x ResourceType) String() string
func (ResourceType) Type ¶
func (ResourceType) 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 StartRollingMaintenanceRequest ¶
type StartRollingMaintenanceRequest struct {
// the IDs of the pods to start maintenance on
PodIds []string `protobuf:"bytes,1,rep,name=pod_ids,json=podIds" json:"pod_ids,omitempty"`
// the IDs of the clusters to start maintenance on
ClusterIds []string `protobuf:"bytes,2,rep,name=cluster_ids,json=clusterIds" json:"cluster_ids,omitempty"`
// the IDs of the zones to start maintenance on
ZoneIds []string `protobuf:"bytes,3,rep,name=zone_ids,json=zoneIds" json:"zone_ids,omitempty"`
// the IDs of the hosts to start maintenance on
HostIds []string `protobuf:"bytes,4,rep,name=host_ids,json=hostIds" json:"host_ids,omitempty"`
// if rolling mechanism should continue in case of an error
Forced *bool `protobuf:"varint,5,opt,name=forced" json:"forced,omitempty"`
// the command to execute while hosts are on maintenance
Payload *string `protobuf:"bytes,6,opt,name=payload" json:"payload,omitempty"`
// optional operation timeout (in seconds) that overrides the global timeout setting
Timeout *int32 `protobuf:"varint,7,opt,name=timeout" json:"timeout,omitempty"`
StartEventId *int64 `protobuf:"varint,8,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
InjectedJobId *string `protobuf:"bytes,9,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
ResponseType *string `protobuf:"bytes,10,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
StartRollingMaintenanceRequest represents the parameters for start rolling maintenance
func (*StartRollingMaintenanceRequest) Descriptor
deprecated
func (*StartRollingMaintenanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartRollingMaintenanceRequest.ProtoReflect.Descriptor instead.
func (*StartRollingMaintenanceRequest) GetClusterIds ¶
func (x *StartRollingMaintenanceRequest) GetClusterIds() []string
func (*StartRollingMaintenanceRequest) GetForced ¶
func (x *StartRollingMaintenanceRequest) GetForced() bool
func (*StartRollingMaintenanceRequest) GetHostIds ¶
func (x *StartRollingMaintenanceRequest) GetHostIds() []string
func (*StartRollingMaintenanceRequest) GetInjectedJobId ¶
func (x *StartRollingMaintenanceRequest) GetInjectedJobId() string
func (*StartRollingMaintenanceRequest) GetPayload ¶
func (x *StartRollingMaintenanceRequest) GetPayload() string
func (*StartRollingMaintenanceRequest) GetPodIds ¶
func (x *StartRollingMaintenanceRequest) GetPodIds() []string
func (*StartRollingMaintenanceRequest) GetResponseType ¶
func (x *StartRollingMaintenanceRequest) GetResponseType() string
func (*StartRollingMaintenanceRequest) GetStartEventId ¶
func (x *StartRollingMaintenanceRequest) GetStartEventId() int64
func (*StartRollingMaintenanceRequest) GetTimeout ¶
func (x *StartRollingMaintenanceRequest) GetTimeout() int32
func (*StartRollingMaintenanceRequest) GetZoneIds ¶
func (x *StartRollingMaintenanceRequest) GetZoneIds() []string
func (*StartRollingMaintenanceRequest) ProtoMessage ¶
func (*StartRollingMaintenanceRequest) ProtoMessage()
func (*StartRollingMaintenanceRequest) ProtoReflect ¶
func (x *StartRollingMaintenanceRequest) ProtoReflect() protoreflect.Message
func (*StartRollingMaintenanceRequest) Reset ¶
func (x *StartRollingMaintenanceRequest) Reset()
func (*StartRollingMaintenanceRequest) String ¶
func (x *StartRollingMaintenanceRequest) String() string
type StartRollingMaintenanceResponse ¶
type StartRollingMaintenanceResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
StartRollingMaintenanceResponse represents the response from start rolling maintenance
func (*StartRollingMaintenanceResponse) Descriptor
deprecated
func (*StartRollingMaintenanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartRollingMaintenanceResponse.ProtoReflect.Descriptor instead.
func (*StartRollingMaintenanceResponse) GetResult ¶
func (x *StartRollingMaintenanceResponse) GetResult() *Result
func (*StartRollingMaintenanceResponse) ProtoMessage ¶
func (*StartRollingMaintenanceResponse) ProtoMessage()
func (*StartRollingMaintenanceResponse) ProtoReflect ¶
func (x *StartRollingMaintenanceResponse) ProtoReflect() protoreflect.Message
func (*StartRollingMaintenanceResponse) Reset ¶
func (x *StartRollingMaintenanceResponse) Reset()
func (*StartRollingMaintenanceResponse) String ¶
func (x *StartRollingMaintenanceResponse) 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 UnimplementedResourceServiceServer ¶
type UnimplementedResourceServiceServer struct{}
UnimplementedResourceServiceServer 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 (UnimplementedResourceServiceServer) ArchiveAlerts ¶
func (UnimplementedResourceServiceServer) ArchiveAlerts(context.Context, *ArchiveAlertsRequest) (*ArchiveAlertsResponse, error)
func (UnimplementedResourceServiceServer) CleanVMReservations ¶
func (UnimplementedResourceServiceServer) CleanVMReservations(context.Context, *CleanVMReservationsRequest) (*CleanVMReservationsResponse, error)
func (UnimplementedResourceServiceServer) DeleteAlerts ¶
func (UnimplementedResourceServiceServer) DeleteAlerts(context.Context, *DeleteAlertsRequest) (*DeleteAlertsResponse, error)
func (UnimplementedResourceServiceServer) GetCloudIdentifier ¶
func (UnimplementedResourceServiceServer) GetCloudIdentifier(context.Context, *GetCloudIdentifierRequest) (*GetCloudIdentifierResponse, error)
func (UnimplementedResourceServiceServer) ListAlertTypes ¶
func (UnimplementedResourceServiceServer) ListAlertTypes(context.Context, *ListAlertTypesRequest) (*ListAlertTypesResponse, error)
func (UnimplementedResourceServiceServer) ListAlerts ¶
func (UnimplementedResourceServiceServer) ListAlerts(context.Context, *ListAlertsRequest) (*ListAlertsResponse, error)
func (UnimplementedResourceServiceServer) ListCapacity ¶
func (UnimplementedResourceServiceServer) ListCapacity(context.Context, *ListCapacityRequest) (*ListCapacityResponse, error)
func (UnimplementedResourceServiceServer) ListDetailOptions ¶
func (UnimplementedResourceServiceServer) ListDetailOptions(context.Context, *ListDetailOptionsRequest) (*ListDetailOptionsResponse, error)
func (UnimplementedResourceServiceServer) ListHypervisors ¶
func (UnimplementedResourceServiceServer) ListHypervisors(context.Context, *ListHypervisorsRequest) (*ListHypervisorsResponse, error)
func (UnimplementedResourceServiceServer) ListResourceLimits ¶
func (UnimplementedResourceServiceServer) ListResourceLimits(context.Context, *ListResourceLimitsRequest) (*ListResourceLimitsResponse, error)
func (UnimplementedResourceServiceServer) PurgeExpungedResources ¶
func (UnimplementedResourceServiceServer) PurgeExpungedResources(context.Context, *PurgeExpungedResourcesRequest) (*PurgeExpungedResourcesResponse, error)
func (UnimplementedResourceServiceServer) StartRollingMaintenance ¶
func (UnimplementedResourceServiceServer) StartRollingMaintenance(context.Context, *StartRollingMaintenanceRequest) (*StartRollingMaintenanceResponse, error)
func (UnimplementedResourceServiceServer) UpdateResourceCount ¶
func (UnimplementedResourceServiceServer) UpdateResourceCount(context.Context, *UpdateResourceCountRequest) (*UpdateResourceCountResponse, error)
func (UnimplementedResourceServiceServer) UpdateResourceLimit ¶
func (UnimplementedResourceServiceServer) UpdateResourceLimit(context.Context, *UpdateResourceLimitRequest) (*UpdateResourceLimitResponse, error)
func (UnimplementedResourceServiceServer) UploadCustomCertificate ¶
func (UnimplementedResourceServiceServer) UploadCustomCertificate(context.Context, *UploadCustomCertificateRequest) (*UploadCustomCertificateResponse, error)
type UnsafeResourceServiceServer ¶
type UnsafeResourceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeResourceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceServiceServer will result in compilation errors.
type UpdateResourceCountRequest ¶
type UpdateResourceCountRequest struct {
// Update resource count for a specified account. Must be used with the domainId parameter.
AccountName *string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
// If account parameter specified then updates resource counts for a specified account in this domain else update resource counts for all accounts & child domains in specified domain.
DomainId *int64 `protobuf:"varint,2,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
// Type of resource to update. If specifies valid values are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 and 11. If not specified will update all resource counts0 - Instance. Number of instances a user can create. 1 - IP. Number of public IP addresses a user can own. 2 - Volume. Number of disk volumes a user can create. 3 - Snapshot. Number of snapshots a user can create. 4 - Template. Number of templates that a user can register/create. 5 - Project. Number of projects that a user can create. 6 - Network. Number of guest network a user can create. 7 - VPC. Number of VPC a user can create. 8 - CPU. Total number of CPU cores a user can use. 9 - Memory. Total Memory (in MB) a user can use. 10 - PrimaryStorage. Total primary storage space (in GiB) a user can use. 11 - SecondaryStorage. Total secondary storage space (in GiB) a user can use.
ResourceType *int32 `protobuf:"varint,3,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
// Update resource limits for project
ProjectId *int64 `protobuf:"varint,4,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
// Tag for the resource type
Tag *string `protobuf:"bytes,5,opt,name=tag" json:"tag,omitempty"`
ResponseType *string `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
UpdateResourceCountRequest represents the parameters for recalculate and update resource count for an account or domain. this also executes some cleanup tasks before calculating resource counts.
func (*UpdateResourceCountRequest) Descriptor
deprecated
func (*UpdateResourceCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceCountRequest.ProtoReflect.Descriptor instead.
func (*UpdateResourceCountRequest) GetAccountName ¶
func (x *UpdateResourceCountRequest) GetAccountName() string
func (*UpdateResourceCountRequest) GetDomainId ¶
func (x *UpdateResourceCountRequest) GetDomainId() int64
func (*UpdateResourceCountRequest) GetProjectId ¶
func (x *UpdateResourceCountRequest) GetProjectId() int64
func (*UpdateResourceCountRequest) GetResourceType ¶
func (x *UpdateResourceCountRequest) GetResourceType() int32
func (*UpdateResourceCountRequest) GetResponseType ¶
func (x *UpdateResourceCountRequest) GetResponseType() string
func (*UpdateResourceCountRequest) GetTag ¶
func (x *UpdateResourceCountRequest) GetTag() string
func (*UpdateResourceCountRequest) ProtoMessage ¶
func (*UpdateResourceCountRequest) ProtoMessage()
func (*UpdateResourceCountRequest) ProtoReflect ¶
func (x *UpdateResourceCountRequest) ProtoReflect() protoreflect.Message
func (*UpdateResourceCountRequest) Reset ¶
func (x *UpdateResourceCountRequest) Reset()
func (*UpdateResourceCountRequest) String ¶
func (x *UpdateResourceCountRequest) String() string
type UpdateResourceCountResponse ¶
type UpdateResourceCountResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
UpdateResourceCountResponse represents the response from recalculate and update resource count for an account or domain. this also executes some cleanup tasks before calculating resource counts.
func (*UpdateResourceCountResponse) Descriptor
deprecated
func (*UpdateResourceCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceCountResponse.ProtoReflect.Descriptor instead.
func (*UpdateResourceCountResponse) GetResult ¶
func (x *UpdateResourceCountResponse) GetResult() *Result
func (*UpdateResourceCountResponse) ProtoMessage ¶
func (*UpdateResourceCountResponse) ProtoMessage()
func (*UpdateResourceCountResponse) ProtoReflect ¶
func (x *UpdateResourceCountResponse) ProtoReflect() protoreflect.Message
func (*UpdateResourceCountResponse) Reset ¶
func (x *UpdateResourceCountResponse) Reset()
func (*UpdateResourceCountResponse) String ¶
func (x *UpdateResourceCountResponse) String() string
type UpdateResourceLimitRequest ¶
type UpdateResourceLimitRequest struct {
// Update resource for a specified account. Must be used with the domainId parameter.
AccountName *string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
// Update resource limits for all accounts in specified domain. If used with the account parameter, updates resource limits for a specified account in specified domain.
DomainId *int64 `protobuf:"varint,2,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
// Update resource limits for project
ProjectId *int64 `protobuf:"varint,3,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
// Maximum resource limit.
Max *int64 `protobuf:"varint,4,opt,name=max" json:"max,omitempty"`
// Type of resource to update. Values are 0, 1, 2, 3, 4, 6, 7, 8, 9, 10 and 11. 0 - Instance. Number of instances a user can create. 1 - IP. Number of public IP addresses a user can own. 2 - Volume. Number of disk volumes a user can create. 3 - Snapshot. Number of snapshots a user can create. 4 - Template. Number of templates that a user can register/create. 5 - Project. Number of projects a user can create. 6 - Network. Number of guest network a user can create. 7 - VPC. Number of VPC a user can create. 8 - CPU. Total number of CPU cores a user can use. 9 - Memory. Total Memory (in MB) a user can use. 10 - PrimaryStorage. Total primary storage space (in GiB) a user can use. 11 - SecondaryStorage. Total secondary storage space (in GiB) a user can use.
ResourceType *int32 `protobuf:"varint,5,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
// Tag for the resource type
Tag *string `protobuf:"bytes,6,opt,name=tag" json:"tag,omitempty"`
ResponseType *string `protobuf:"bytes,7,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
UpdateResourceLimitRequest represents the parameters for updates resource limits for an account or domain.
func (*UpdateResourceLimitRequest) Descriptor
deprecated
func (*UpdateResourceLimitRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceLimitRequest.ProtoReflect.Descriptor instead.
func (*UpdateResourceLimitRequest) GetAccountName ¶
func (x *UpdateResourceLimitRequest) GetAccountName() string
func (*UpdateResourceLimitRequest) GetDomainId ¶
func (x *UpdateResourceLimitRequest) GetDomainId() int64
func (*UpdateResourceLimitRequest) GetMax ¶
func (x *UpdateResourceLimitRequest) GetMax() int64
func (*UpdateResourceLimitRequest) GetProjectId ¶
func (x *UpdateResourceLimitRequest) GetProjectId() int64
func (*UpdateResourceLimitRequest) GetResourceType ¶
func (x *UpdateResourceLimitRequest) GetResourceType() int32
func (*UpdateResourceLimitRequest) GetResponseType ¶
func (x *UpdateResourceLimitRequest) GetResponseType() string
func (*UpdateResourceLimitRequest) GetTag ¶
func (x *UpdateResourceLimitRequest) GetTag() string
func (*UpdateResourceLimitRequest) ProtoMessage ¶
func (*UpdateResourceLimitRequest) ProtoMessage()
func (*UpdateResourceLimitRequest) ProtoReflect ¶
func (x *UpdateResourceLimitRequest) ProtoReflect() protoreflect.Message
func (*UpdateResourceLimitRequest) Reset ¶
func (x *UpdateResourceLimitRequest) Reset()
func (*UpdateResourceLimitRequest) String ¶
func (x *UpdateResourceLimitRequest) String() string
type UpdateResourceLimitResponse ¶
type UpdateResourceLimitResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
UpdateResourceLimitResponse represents the response from updates resource limits for an account or domain.
func (*UpdateResourceLimitResponse) Descriptor
deprecated
func (*UpdateResourceLimitResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceLimitResponse.ProtoReflect.Descriptor instead.
func (*UpdateResourceLimitResponse) GetResult ¶
func (x *UpdateResourceLimitResponse) GetResult() *Result
func (*UpdateResourceLimitResponse) ProtoMessage ¶
func (*UpdateResourceLimitResponse) ProtoMessage()
func (*UpdateResourceLimitResponse) ProtoReflect ¶
func (x *UpdateResourceLimitResponse) ProtoReflect() protoreflect.Message
func (*UpdateResourceLimitResponse) Reset ¶
func (x *UpdateResourceLimitResponse) Reset()
func (*UpdateResourceLimitResponse) String ¶
func (x *UpdateResourceLimitResponse) String() string
type UploadCustomCertificateRequest ¶
type UploadCustomCertificateRequest struct {
// The certificate to be uploaded.
Certificate *string `protobuf:"bytes,1,opt,name=certificate" json:"certificate,omitempty"`
// An integer providing the location in a chain that the certificate will hold. Usually, this can be left empty. When creating a chain, the top level certificate should have an ID of 1, with each step in the chain incrementing by one. Example, CA with id = 1, Intermediate CA with id = 2, Site certificate with ID = 3
Index *int32 `protobuf:"varint,2,opt,name=index" json:"index,omitempty"`
// A name / alias for the certificate.
Alias *string `protobuf:"bytes,3,opt,name=alias" json:"alias,omitempty"`
// The private key for the attached certificate.
PrivateKey *string `protobuf:"bytes,4,opt,name=private_key,json=privateKey" json:"private_key,omitempty"`
// DNS domain suffix that the certificate is granted for.
DomainSuffix *string `protobuf:"bytes,5,opt,name=domain_suffix,json=domainSuffix" json:"domain_suffix,omitempty"`
StartEventId *int64 `protobuf:"varint,6,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
InjectedJobId *string `protobuf:"bytes,7,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
ResponseType *string `protobuf:"bytes,8,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
UploadCustomCertificateRequest represents the parameters for uploads a custom certificate for the console proxy vms to use for ssl. can be used to upload a single certificate signed by a known ca. can also be used, through multiple calls, to upload a chain of certificates from ca to the custom certificate itself.
func (*UploadCustomCertificateRequest) Descriptor
deprecated
func (*UploadCustomCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadCustomCertificateRequest.ProtoReflect.Descriptor instead.
func (*UploadCustomCertificateRequest) GetAlias ¶
func (x *UploadCustomCertificateRequest) GetAlias() string
func (*UploadCustomCertificateRequest) GetCertificate ¶
func (x *UploadCustomCertificateRequest) GetCertificate() string
func (*UploadCustomCertificateRequest) GetDomainSuffix ¶
func (x *UploadCustomCertificateRequest) GetDomainSuffix() string
func (*UploadCustomCertificateRequest) GetIndex ¶
func (x *UploadCustomCertificateRequest) GetIndex() int32
func (*UploadCustomCertificateRequest) GetInjectedJobId ¶
func (x *UploadCustomCertificateRequest) GetInjectedJobId() string
func (*UploadCustomCertificateRequest) GetPrivateKey ¶
func (x *UploadCustomCertificateRequest) GetPrivateKey() string
func (*UploadCustomCertificateRequest) GetResponseType ¶
func (x *UploadCustomCertificateRequest) GetResponseType() string
func (*UploadCustomCertificateRequest) GetStartEventId ¶
func (x *UploadCustomCertificateRequest) GetStartEventId() int64
func (*UploadCustomCertificateRequest) ProtoMessage ¶
func (*UploadCustomCertificateRequest) ProtoMessage()
func (*UploadCustomCertificateRequest) ProtoReflect ¶
func (x *UploadCustomCertificateRequest) ProtoReflect() protoreflect.Message
func (*UploadCustomCertificateRequest) Reset ¶
func (x *UploadCustomCertificateRequest) Reset()
func (*UploadCustomCertificateRequest) String ¶
func (x *UploadCustomCertificateRequest) String() string
type UploadCustomCertificateResponse ¶
type UploadCustomCertificateResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
UploadCustomCertificateResponse represents the response from uploads a custom certificate for the console proxy vms to use for ssl. can be used to upload a single certificate signed by a known ca. can also be used, through multiple calls, to upload a chain of certificates from ca to the custom certificate itself.
func (*UploadCustomCertificateResponse) Descriptor
deprecated
func (*UploadCustomCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadCustomCertificateResponse.ProtoReflect.Descriptor instead.
func (*UploadCustomCertificateResponse) GetResult ¶
func (x *UploadCustomCertificateResponse) GetResult() *Result
func (*UploadCustomCertificateResponse) ProtoMessage ¶
func (*UploadCustomCertificateResponse) ProtoMessage()
func (*UploadCustomCertificateResponse) ProtoReflect ¶
func (x *UploadCustomCertificateResponse) ProtoReflect() protoreflect.Message
func (*UploadCustomCertificateResponse) Reset ¶
func (x *UploadCustomCertificateResponse) Reset()
func (*UploadCustomCertificateResponse) String ¶
func (x *UploadCustomCertificateResponse) String() string