Documentation ¶
Index ¶
- Variables
- type ChildResourceCommonArgs
- type CloudProvider
- func (CloudProvider) Descriptor() protoreflect.EnumDescriptor
- func (x CloudProvider) Enum() *CloudProvider
- func (CloudProvider) EnumDescriptor() ([]byte, []int)deprecated
- func (x CloudProvider) Number() protoreflect.EnumNumber
- func (x CloudProvider) String() string
- func (CloudProvider) Type() protoreflect.EnumType
- type CommonChildResourceParameters
- func (*CommonChildResourceParameters) Descriptor() ([]byte, []int)deprecated
- func (x *CommonChildResourceParameters) GetNeedsUpdate() bool
- func (x *CommonChildResourceParameters) GetResourceId() string
- func (x *CommonChildResourceParameters) GetResourceStatus() *ResourceStatus
- func (*CommonChildResourceParameters) ProtoMessage()
- func (x *CommonChildResourceParameters) ProtoReflect() protoreflect.Message
- func (x *CommonChildResourceParameters) Reset()
- func (x *CommonChildResourceParameters) String() string
- type CommonResourceParameters
- func (*CommonResourceParameters) Descriptor() ([]byte, []int)deprecated
- func (x *CommonResourceParameters) GetCloudProvider() CloudProvider
- func (x *CommonResourceParameters) GetLocation() Location
- func (x *CommonResourceParameters) GetNeedsUpdate() bool
- func (x *CommonResourceParameters) GetResourceGroupId() string
- func (x *CommonResourceParameters) GetResourceId() string
- func (x *CommonResourceParameters) GetResourceStatus() *ResourceStatus
- func (*CommonResourceParameters) ProtoMessage()
- func (x *CommonResourceParameters) ProtoReflect() protoreflect.Message
- func (x *CommonResourceParameters) Reset()
- func (x *CommonResourceParameters) String() string
- type DatabaseSize
- type DatabaseSize_Enum
- func (DatabaseSize_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x DatabaseSize_Enum) Enum() *DatabaseSize_Enum
- func (DatabaseSize_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x DatabaseSize_Enum) Number() protoreflect.EnumNumber
- func (x DatabaseSize_Enum) String() string
- func (DatabaseSize_Enum) Type() protoreflect.EnumType
- type Empty
- type ListResourcesResponse
- func (*ListResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourcesResponse) GetResources() []*ListResourcesResponse_ResourceMetadata
- func (*ListResourcesResponse) ProtoMessage()
- func (x *ListResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourcesResponse) Reset()
- func (x *ListResourcesResponse) String() string
- type ListResourcesResponse_ResourceMetadata
- func (*ListResourcesResponse_ResourceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourcesResponse_ResourceMetadata) GetResourceId() string
- func (x *ListResourcesResponse_ResourceMetadata) GetResourceType() string
- func (*ListResourcesResponse_ResourceMetadata) ProtoMessage()
- func (x *ListResourcesResponse_ResourceMetadata) ProtoReflect() protoreflect.Message
- func (x *ListResourcesResponse_ResourceMetadata) Reset()
- func (x *ListResourcesResponse_ResourceMetadata) String() string
- type Location
- type OperatingSystem
- type OperatingSystem_Enum
- func (OperatingSystem_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x OperatingSystem_Enum) Enum() *OperatingSystem_Enum
- func (OperatingSystem_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperatingSystem_Enum) Number() protoreflect.EnumNumber
- func (x OperatingSystem_Enum) String() string
- func (OperatingSystem_Enum) Type() protoreflect.EnumType
- type ResourceCommonArgs
- func (*ResourceCommonArgs) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceCommonArgs) GetCloudProvider() CloudProvider
- func (x *ResourceCommonArgs) GetLocation() Location
- func (x *ResourceCommonArgs) GetResourceGroupId() string
- func (*ResourceCommonArgs) ProtoMessage()
- func (x *ResourceCommonArgs) ProtoReflect() protoreflect.Message
- func (x *ResourceCommonArgs) Reset()
- func (x *ResourceCommonArgs) String() string
- type ResourceStatus
- func (*ResourceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceStatus) GetStatuses() map[string]ResourceStatus_Status
- func (*ResourceStatus) ProtoMessage()
- func (x *ResourceStatus) ProtoReflect() protoreflect.Message
- func (x *ResourceStatus) Reset()
- func (x *ResourceStatus) String() string
- type ResourceStatus_Status
- func (ResourceStatus_Status) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceStatus_Status) Enum() *ResourceStatus_Status
- func (ResourceStatus_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceStatus_Status) Number() protoreflect.EnumNumber
- func (x ResourceStatus_Status) String() string
- func (ResourceStatus_Status) Type() protoreflect.EnumType
- type VmSize
- type VmSize_Enum
- func (VmSize_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x VmSize_Enum) Enum() *VmSize_Enum
- func (VmSize_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x VmSize_Enum) Number() protoreflect.EnumNumber
- func (x VmSize_Enum) String() string
- func (VmSize_Enum) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( Location_name = map[int32]string{ 0: "UNKNOWN_LOCATION", 1: "US_EAST_1", 2: "US_EAST_2", 3: "US_WEST_1", 4: "US_WEST_2", 5: "EU_WEST_1", 6: "EU_WEST_2", 7: "EU_WEST_3", 8: "EU_NORTH_1", 9: "EU_CENTRAL_1", 10: "SA_EAST_1", 11: "CA_CENTRAL_1", 12: "AP_NORTH_EAST_1", 13: "AP_NORTH_EAST_2", 14: "AP_NORTH_EAST_3", 15: "AP_SOUTH_EAST_2", 16: "AP_SOUTH_1", 17: "AP_SOUTH_EAST_1", } Location_value = map[string]int32{ "UNKNOWN_LOCATION": 0, "US_EAST_1": 1, "US_EAST_2": 2, "US_WEST_1": 3, "US_WEST_2": 4, "EU_WEST_1": 5, "EU_WEST_2": 6, "EU_WEST_3": 7, "EU_NORTH_1": 8, "EU_CENTRAL_1": 9, "SA_EAST_1": 10, "CA_CENTRAL_1": 11, "AP_NORTH_EAST_1": 12, "AP_NORTH_EAST_2": 13, "AP_NORTH_EAST_3": 14, "AP_SOUTH_EAST_2": 15, "AP_SOUTH_1": 16, "AP_SOUTH_EAST_1": 17, } )
Enum value maps for Location.
var ( CloudProvider_name = map[int32]string{ 0: "UNKNOWN_PROVIDER", 1: "AWS", 2: "AZURE", 3: "GCP", } CloudProvider_value = map[string]int32{ "UNKNOWN_PROVIDER": 0, "AWS": 1, "AZURE": 2, "GCP": 3, } )
Enum value maps for CloudProvider.
var ( OperatingSystem_Enum_name = map[int32]string{ 0: "UNKNOWN_OS", 1: "LINUX", } OperatingSystem_Enum_value = map[string]int32{ "UNKNOWN_OS": 0, "LINUX": 1, } )
Enum value maps for OperatingSystem_Enum.
var ( DatabaseSize_Enum_name = map[int32]string{ 0: "UNKNOWN_VM_SIZE", 2: "MICRO", 4: "SMALL", 3: "MEDIUM", } DatabaseSize_Enum_value = map[string]int32{ "UNKNOWN_VM_SIZE": 0, "MICRO": 2, "SMALL": 4, "MEDIUM": 3, } )
Enum value maps for DatabaseSize_Enum.
var ( VmSize_Enum_name = map[int32]string{ 0: "UNKNOWN_VM_SIZE", 1: "GENERAL_MICRO", 2: "GENERAL_MEDIUM", 3: "GENERAL_LARGE", 4: "GENERAL_NANO", 5: "GENERAL_SMALL", 6: "GENERAL_XLARGE", 7: "GENERAL_2XLARGE", 8: "COMPUTE_LARGE", 9: "COMPUTE_XLARGE", 10: "COMPUTE_2XLARGE", 11: "COMPUTE_4XLARGE", 12: "COMPUTE_8XLARGE", 13: "MEMORY_LARGE", 14: "MEMORY_XLARGE", 15: "MEMORY_2XLARGE", 16: "MEMORY_4XLARGE", 17: "MEMORY_8XLARGE", 18: "MEMORY_12XLARGE", 19: "MEMORY_16XLARGE", } VmSize_Enum_value = map[string]int32{ "UNKNOWN_VM_SIZE": 0, "GENERAL_MICRO": 1, "GENERAL_MEDIUM": 2, "GENERAL_LARGE": 3, "GENERAL_NANO": 4, "GENERAL_SMALL": 5, "GENERAL_XLARGE": 6, "GENERAL_2XLARGE": 7, "COMPUTE_LARGE": 8, "COMPUTE_XLARGE": 9, "COMPUTE_2XLARGE": 10, "COMPUTE_4XLARGE": 11, "COMPUTE_8XLARGE": 12, "MEMORY_LARGE": 13, "MEMORY_XLARGE": 14, "MEMORY_2XLARGE": 15, "MEMORY_4XLARGE": 16, "MEMORY_8XLARGE": 17, "MEMORY_12XLARGE": 18, "MEMORY_16XLARGE": 19, } )
Enum value maps for VmSize_Enum.
var ( ResourceStatus_Status_name = map[int32]string{ 0: "UKNOWN_STATUS", 1: "NEEDS_UPDATE", 2: "NEEDS_RECREATE", 3: "NEEDS_CREATE", } ResourceStatus_Status_value = map[string]int32{ "UKNOWN_STATUS": 0, "NEEDS_UPDATE": 1, "NEEDS_RECREATE": 2, "NEEDS_CREATE": 3, } )
Enum value maps for ResourceStatus_Status.
var File_api_proto_commonpb_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ChildResourceCommonArgs ¶
type ChildResourceCommonArgs struct {
// contains filtered or unexported fields
}
func (*ChildResourceCommonArgs) Descriptor
deprecated
func (*ChildResourceCommonArgs) Descriptor() ([]byte, []int)
Deprecated: Use ChildResourceCommonArgs.ProtoReflect.Descriptor instead.
func (*ChildResourceCommonArgs) ProtoMessage ¶
func (*ChildResourceCommonArgs) ProtoMessage()
func (*ChildResourceCommonArgs) ProtoReflect ¶
func (x *ChildResourceCommonArgs) ProtoReflect() protoreflect.Message
func (*ChildResourceCommonArgs) Reset ¶
func (x *ChildResourceCommonArgs) Reset()
func (*ChildResourceCommonArgs) String ¶
func (x *ChildResourceCommonArgs) String() string
type CloudProvider ¶
type CloudProvider int32
const ( CloudProvider_UNKNOWN_PROVIDER CloudProvider = 0 CloudProvider_AWS CloudProvider = 1 CloudProvider_AZURE CloudProvider = 2 CloudProvider_GCP CloudProvider = 3 )
func (CloudProvider) Descriptor ¶
func (CloudProvider) Descriptor() protoreflect.EnumDescriptor
func (CloudProvider) Enum ¶
func (x CloudProvider) Enum() *CloudProvider
func (CloudProvider) EnumDescriptor
deprecated
func (CloudProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use CloudProvider.Descriptor instead.
func (CloudProvider) Number ¶
func (x CloudProvider) Number() protoreflect.EnumNumber
func (CloudProvider) String ¶
func (x CloudProvider) String() string
func (CloudProvider) Type ¶
func (CloudProvider) Type() protoreflect.EnumType
type CommonChildResourceParameters ¶
type CommonChildResourceParameters struct { ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` NeedsUpdate bool `protobuf:"varint,2,opt,name=needs_update,json=needsUpdate,proto3" json:"needs_update,omitempty"` ResourceStatus *ResourceStatus `protobuf:"bytes,3,opt,name=resource_status,json=resourceStatus,proto3" json:"resource_status,omitempty"` // contains filtered or unexported fields }
func (*CommonChildResourceParameters) Descriptor
deprecated
func (*CommonChildResourceParameters) Descriptor() ([]byte, []int)
Deprecated: Use CommonChildResourceParameters.ProtoReflect.Descriptor instead.
func (*CommonChildResourceParameters) GetNeedsUpdate ¶
func (x *CommonChildResourceParameters) GetNeedsUpdate() bool
func (*CommonChildResourceParameters) GetResourceId ¶
func (x *CommonChildResourceParameters) GetResourceId() string
func (*CommonChildResourceParameters) GetResourceStatus ¶ added in v0.1.57
func (x *CommonChildResourceParameters) GetResourceStatus() *ResourceStatus
func (*CommonChildResourceParameters) ProtoMessage ¶
func (*CommonChildResourceParameters) ProtoMessage()
func (*CommonChildResourceParameters) ProtoReflect ¶
func (x *CommonChildResourceParameters) ProtoReflect() protoreflect.Message
func (*CommonChildResourceParameters) Reset ¶
func (x *CommonChildResourceParameters) Reset()
func (*CommonChildResourceParameters) String ¶
func (x *CommonChildResourceParameters) String() string
type CommonResourceParameters ¶
type CommonResourceParameters struct { ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` ResourceGroupId string `protobuf:"bytes,2,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"` Location Location `protobuf:"varint,3,opt,name=location,proto3,enum=dev.multy.common.Location" json:"location,omitempty"` CloudProvider CloudProvider `` /* 137-byte string literal not displayed */ NeedsUpdate bool `protobuf:"varint,5,opt,name=needs_update,json=needsUpdate,proto3" json:"needs_update,omitempty"` ResourceStatus *ResourceStatus `protobuf:"bytes,6,opt,name=resource_status,json=resourceStatus,proto3" json:"resource_status,omitempty"` // contains filtered or unexported fields }
Common messages for READ requests
func (*CommonResourceParameters) Descriptor
deprecated
func (*CommonResourceParameters) Descriptor() ([]byte, []int)
Deprecated: Use CommonResourceParameters.ProtoReflect.Descriptor instead.
func (*CommonResourceParameters) GetCloudProvider ¶
func (x *CommonResourceParameters) GetCloudProvider() CloudProvider
func (*CommonResourceParameters) GetLocation ¶
func (x *CommonResourceParameters) GetLocation() Location
func (*CommonResourceParameters) GetNeedsUpdate ¶
func (x *CommonResourceParameters) GetNeedsUpdate() bool
func (*CommonResourceParameters) GetResourceGroupId ¶
func (x *CommonResourceParameters) GetResourceGroupId() string
func (*CommonResourceParameters) GetResourceId ¶
func (x *CommonResourceParameters) GetResourceId() string
func (*CommonResourceParameters) GetResourceStatus ¶ added in v0.1.57
func (x *CommonResourceParameters) GetResourceStatus() *ResourceStatus
func (*CommonResourceParameters) ProtoMessage ¶
func (*CommonResourceParameters) ProtoMessage()
func (*CommonResourceParameters) ProtoReflect ¶
func (x *CommonResourceParameters) ProtoReflect() protoreflect.Message
func (*CommonResourceParameters) Reset ¶
func (x *CommonResourceParameters) Reset()
func (*CommonResourceParameters) String ¶
func (x *CommonResourceParameters) String() string
type DatabaseSize ¶
type DatabaseSize struct {
// contains filtered or unexported fields
}
func (*DatabaseSize) Descriptor
deprecated
func (*DatabaseSize) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseSize.ProtoReflect.Descriptor instead.
func (*DatabaseSize) ProtoMessage ¶
func (*DatabaseSize) ProtoMessage()
func (*DatabaseSize) ProtoReflect ¶
func (x *DatabaseSize) ProtoReflect() protoreflect.Message
func (*DatabaseSize) Reset ¶
func (x *DatabaseSize) Reset()
func (*DatabaseSize) String ¶
func (x *DatabaseSize) String() string
type DatabaseSize_Enum ¶
type DatabaseSize_Enum int32
const ( DatabaseSize_UNKNOWN_VM_SIZE DatabaseSize_Enum = 0 DatabaseSize_MICRO DatabaseSize_Enum = 2 DatabaseSize_SMALL DatabaseSize_Enum = 4 DatabaseSize_MEDIUM DatabaseSize_Enum = 3 )
func (DatabaseSize_Enum) Descriptor ¶
func (DatabaseSize_Enum) Descriptor() protoreflect.EnumDescriptor
func (DatabaseSize_Enum) Enum ¶
func (x DatabaseSize_Enum) Enum() *DatabaseSize_Enum
func (DatabaseSize_Enum) EnumDescriptor
deprecated
func (DatabaseSize_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatabaseSize_Enum.Descriptor instead.
func (DatabaseSize_Enum) Number ¶
func (x DatabaseSize_Enum) Number() protoreflect.EnumNumber
func (DatabaseSize_Enum) String ¶
func (x DatabaseSize_Enum) String() string
func (DatabaseSize_Enum) Type ¶
func (DatabaseSize_Enum) Type() protoreflect.EnumType
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
Common messages for DELETE requests
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type ListResourcesResponse ¶ added in v0.1.30
type ListResourcesResponse struct { Resources []*ListResourcesResponse_ResourceMetadata `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*ListResourcesResponse) Descriptor
deprecated
added in
v0.1.30
func (*ListResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResourcesResponse.ProtoReflect.Descriptor instead.
func (*ListResourcesResponse) GetResources ¶ added in v0.1.30
func (x *ListResourcesResponse) GetResources() []*ListResourcesResponse_ResourceMetadata
func (*ListResourcesResponse) ProtoMessage ¶ added in v0.1.30
func (*ListResourcesResponse) ProtoMessage()
func (*ListResourcesResponse) ProtoReflect ¶ added in v0.1.30
func (x *ListResourcesResponse) ProtoReflect() protoreflect.Message
func (*ListResourcesResponse) Reset ¶ added in v0.1.30
func (x *ListResourcesResponse) Reset()
func (*ListResourcesResponse) String ¶ added in v0.1.30
func (x *ListResourcesResponse) String() string
type ListResourcesResponse_ResourceMetadata ¶ added in v0.1.30
type ListResourcesResponse_ResourceMetadata struct { ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` // contains filtered or unexported fields }
func (*ListResourcesResponse_ResourceMetadata) Descriptor
deprecated
added in
v0.1.30
func (*ListResourcesResponse_ResourceMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ListResourcesResponse_ResourceMetadata.ProtoReflect.Descriptor instead.
func (*ListResourcesResponse_ResourceMetadata) GetResourceId ¶ added in v0.1.30
func (x *ListResourcesResponse_ResourceMetadata) GetResourceId() string
func (*ListResourcesResponse_ResourceMetadata) GetResourceType ¶ added in v0.1.30
func (x *ListResourcesResponse_ResourceMetadata) GetResourceType() string
func (*ListResourcesResponse_ResourceMetadata) ProtoMessage ¶ added in v0.1.30
func (*ListResourcesResponse_ResourceMetadata) ProtoMessage()
func (*ListResourcesResponse_ResourceMetadata) ProtoReflect ¶ added in v0.1.30
func (x *ListResourcesResponse_ResourceMetadata) ProtoReflect() protoreflect.Message
func (*ListResourcesResponse_ResourceMetadata) Reset ¶ added in v0.1.30
func (x *ListResourcesResponse_ResourceMetadata) Reset()
func (*ListResourcesResponse_ResourceMetadata) String ¶ added in v0.1.30
func (x *ListResourcesResponse_ResourceMetadata) String() string
type Location ¶
type Location int32
const ( Location_UNKNOWN_LOCATION Location = 0 // N. Virginia Location_US_EAST_1 Location = 1 // Ohio / Virginia Location_US_EAST_2 Location = 2 // N. California / Washington Location_US_WEST_1 Location = 3 // Oregon / Phoenix Location_US_WEST_2 Location = 4 // Ireland Location_EU_WEST_1 Location = 5 // England Location_EU_WEST_2 Location = 6 // France Location_EU_WEST_3 Location = 7 // Sweden Location_EU_NORTH_1 Location = 8 // Germany Location_EU_CENTRAL_1 Location = 9 // Brazil Location_SA_EAST_1 Location = 10 // Canda, Quebec Location_CA_CENTRAL_1 Location = 11 // Japan, Tokyo area Location_AP_NORTH_EAST_1 Location = 12 // Korea, Seoul Location_AP_NORTH_EAST_2 Location = 13 // Japan, Osaka Location_AP_NORTH_EAST_3 Location = 14 // Australia, Sydney area Location_AP_SOUTH_EAST_2 Location = 15 // India, Mumbai Location_AP_SOUTH_1 Location = 16 // Singapore Location_AP_SOUTH_EAST_1 Location = 17 )
func (Location) Descriptor ¶
func (Location) Descriptor() protoreflect.EnumDescriptor
func (Location) EnumDescriptor
deprecated
func (Location) Number ¶
func (x Location) Number() protoreflect.EnumNumber
func (Location) Type ¶
func (Location) Type() protoreflect.EnumType
type OperatingSystem ¶
type OperatingSystem struct {
// contains filtered or unexported fields
}
func (*OperatingSystem) Descriptor
deprecated
func (*OperatingSystem) Descriptor() ([]byte, []int)
Deprecated: Use OperatingSystem.ProtoReflect.Descriptor instead.
func (*OperatingSystem) ProtoMessage ¶
func (*OperatingSystem) ProtoMessage()
func (*OperatingSystem) ProtoReflect ¶
func (x *OperatingSystem) ProtoReflect() protoreflect.Message
func (*OperatingSystem) Reset ¶
func (x *OperatingSystem) Reset()
func (*OperatingSystem) String ¶
func (x *OperatingSystem) String() string
type OperatingSystem_Enum ¶
type OperatingSystem_Enum int32
const ( OperatingSystem_UNKNOWN_OS OperatingSystem_Enum = 0 OperatingSystem_LINUX OperatingSystem_Enum = 1 )
func (OperatingSystem_Enum) Descriptor ¶
func (OperatingSystem_Enum) Descriptor() protoreflect.EnumDescriptor
func (OperatingSystem_Enum) Enum ¶
func (x OperatingSystem_Enum) Enum() *OperatingSystem_Enum
func (OperatingSystem_Enum) EnumDescriptor
deprecated
func (OperatingSystem_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use OperatingSystem_Enum.Descriptor instead.
func (OperatingSystem_Enum) Number ¶
func (x OperatingSystem_Enum) Number() protoreflect.EnumNumber
func (OperatingSystem_Enum) String ¶
func (x OperatingSystem_Enum) String() string
func (OperatingSystem_Enum) Type ¶
func (OperatingSystem_Enum) Type() protoreflect.EnumType
type ResourceCommonArgs ¶
type ResourceCommonArgs struct { ResourceGroupId string `protobuf:"bytes,1,opt,name=resource_group_id,json=resourceGroupId,proto3" json:"resource_group_id,omitempty"` Location Location `protobuf:"varint,2,opt,name=location,proto3,enum=dev.multy.common.Location" json:"location,omitempty"` CloudProvider CloudProvider `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
Common messages for CREATE and UPDATE requests
func (*ResourceCommonArgs) Descriptor
deprecated
func (*ResourceCommonArgs) Descriptor() ([]byte, []int)
Deprecated: Use ResourceCommonArgs.ProtoReflect.Descriptor instead.
func (*ResourceCommonArgs) GetCloudProvider ¶
func (x *ResourceCommonArgs) GetCloudProvider() CloudProvider
func (*ResourceCommonArgs) GetLocation ¶
func (x *ResourceCommonArgs) GetLocation() Location
func (*ResourceCommonArgs) GetResourceGroupId ¶
func (x *ResourceCommonArgs) GetResourceGroupId() string
func (*ResourceCommonArgs) ProtoMessage ¶
func (*ResourceCommonArgs) ProtoMessage()
func (*ResourceCommonArgs) ProtoReflect ¶
func (x *ResourceCommonArgs) ProtoReflect() protoreflect.Message
func (*ResourceCommonArgs) Reset ¶
func (x *ResourceCommonArgs) Reset()
func (*ResourceCommonArgs) String ¶
func (x *ResourceCommonArgs) String() string
type ResourceStatus ¶ added in v0.1.57
type ResourceStatus struct { // key will generally be resource id, unless value is NEEDS_CREATE Statuses map[string]ResourceStatus_Status `` /* 202-byte string literal not displayed */ // contains filtered or unexported fields }
Statuses of underlying created resources if they do not match the expected state.
func (*ResourceStatus) Descriptor
deprecated
added in
v0.1.57
func (*ResourceStatus) Descriptor() ([]byte, []int)
Deprecated: Use ResourceStatus.ProtoReflect.Descriptor instead.
func (*ResourceStatus) GetStatuses ¶ added in v0.1.57
func (x *ResourceStatus) GetStatuses() map[string]ResourceStatus_Status
func (*ResourceStatus) ProtoMessage ¶ added in v0.1.57
func (*ResourceStatus) ProtoMessage()
func (*ResourceStatus) ProtoReflect ¶ added in v0.1.57
func (x *ResourceStatus) ProtoReflect() protoreflect.Message
func (*ResourceStatus) Reset ¶ added in v0.1.57
func (x *ResourceStatus) Reset()
func (*ResourceStatus) String ¶ added in v0.1.57
func (x *ResourceStatus) String() string
type ResourceStatus_Status ¶ added in v0.1.57
type ResourceStatus_Status int32
const ( ResourceStatus_UKNOWN_STATUS ResourceStatus_Status = 0 ResourceStatus_NEEDS_UPDATE ResourceStatus_Status = 1 ResourceStatus_NEEDS_RECREATE ResourceStatus_Status = 2 ResourceStatus_NEEDS_CREATE ResourceStatus_Status = 3 )
func (ResourceStatus_Status) Descriptor ¶ added in v0.1.57
func (ResourceStatus_Status) Descriptor() protoreflect.EnumDescriptor
func (ResourceStatus_Status) Enum ¶ added in v0.1.57
func (x ResourceStatus_Status) Enum() *ResourceStatus_Status
func (ResourceStatus_Status) EnumDescriptor
deprecated
added in
v0.1.57
func (ResourceStatus_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceStatus_Status.Descriptor instead.
func (ResourceStatus_Status) Number ¶ added in v0.1.57
func (x ResourceStatus_Status) Number() protoreflect.EnumNumber
func (ResourceStatus_Status) String ¶ added in v0.1.57
func (x ResourceStatus_Status) String() string
func (ResourceStatus_Status) Type ¶ added in v0.1.57
func (ResourceStatus_Status) Type() protoreflect.EnumType
type VmSize ¶
type VmSize struct {
// contains filtered or unexported fields
}
func (*VmSize) Descriptor
deprecated
func (*VmSize) ProtoMessage ¶
func (*VmSize) ProtoMessage()
func (*VmSize) ProtoReflect ¶
func (x *VmSize) ProtoReflect() protoreflect.Message
type VmSize_Enum ¶
type VmSize_Enum int32
const ( VmSize_UNKNOWN_VM_SIZE VmSize_Enum = 0 VmSize_GENERAL_MICRO VmSize_Enum = 1 VmSize_GENERAL_MEDIUM VmSize_Enum = 2 VmSize_GENERAL_LARGE VmSize_Enum = 3 VmSize_GENERAL_NANO VmSize_Enum = 4 VmSize_GENERAL_SMALL VmSize_Enum = 5 VmSize_GENERAL_XLARGE VmSize_Enum = 6 VmSize_GENERAL_2XLARGE VmSize_Enum = 7 VmSize_COMPUTE_LARGE VmSize_Enum = 8 VmSize_COMPUTE_XLARGE VmSize_Enum = 9 VmSize_COMPUTE_2XLARGE VmSize_Enum = 10 VmSize_COMPUTE_4XLARGE VmSize_Enum = 11 VmSize_COMPUTE_8XLARGE VmSize_Enum = 12 VmSize_MEMORY_LARGE VmSize_Enum = 13 VmSize_MEMORY_XLARGE VmSize_Enum = 14 VmSize_MEMORY_2XLARGE VmSize_Enum = 15 VmSize_MEMORY_4XLARGE VmSize_Enum = 16 VmSize_MEMORY_8XLARGE VmSize_Enum = 17 VmSize_MEMORY_12XLARGE VmSize_Enum = 18 VmSize_MEMORY_16XLARGE VmSize_Enum = 19 )
func (VmSize_Enum) Descriptor ¶
func (VmSize_Enum) Descriptor() protoreflect.EnumDescriptor
func (VmSize_Enum) Enum ¶
func (x VmSize_Enum) Enum() *VmSize_Enum
func (VmSize_Enum) EnumDescriptor
deprecated
func (VmSize_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use VmSize_Enum.Descriptor instead.
func (VmSize_Enum) Number ¶
func (x VmSize_Enum) Number() protoreflect.EnumNumber
func (VmSize_Enum) String ¶
func (x VmSize_Enum) String() string
func (VmSize_Enum) Type ¶
func (VmSize_Enum) Type() protoreflect.EnumType