Documentation ¶
Index ¶
- type BatchCreateDedicatedHostTagsRequest
- type BatchCreateDedicatedHostTagsResponse
- type BatchDeleteDedicatedHostTagsRequest
- type BatchDeleteDedicatedHostTagsResponse
- type CreateDedicatedHostRequest
- type CreateDedicatedHostResponse
- type DeleteDedicatedHostRequest
- type DeleteDedicatedHostResponse
- type ListDedicatedHostTypesRequest
- type ListDedicatedHostTypesResponse
- type ListDedicatedHostsByTagsRequest
- type ListDedicatedHostsByTagsResponse
- type ListDedicatedHostsRequest
- type ListDedicatedHostsRequestState
- type ListDedicatedHostsRequestStateEnum
- type ListDedicatedHostsResponse
- type ListServersDedicatedHostRequest
- type ListServersDedicatedHostResponse
- type Match
- type MatchKey
- type MatchKeyEnum
- type ReqAllocateDeh
- type ReqAllocateDehAutoPlacement
- type ReqAllocateDehAutoPlacementEnum
- type ReqListDehByTags
- type ReqListDehByTagsAction
- type ReqListDehByTagsActionEnum
- type ReqSetOrDeleteTags
- type ReqSetOrDeleteTagsAction
- type ReqSetOrDeleteTagsActionEnum
- type ReqUpdateDeh
- type ReqUpdateDehMessage
- type ReqUpdateDehMessageAutoPlacement
- type ReqUpdateDehMessageAutoPlacementEnum
- type ResourceTag
- type RespAddr
- type RespAddresses
- type RespDedicatedHost
- type RespDedicatedHostAutoPlacement
- type RespDedicatedHostAutoPlacementEnum
- type RespDedicatedHostState
- type RespDedicatedHostStateEnum
- type RespDeh
- type RespFlavor
- type RespHostProperty
- type RespHostType
- type RespImage
- type RespInstanceCapacity
- type RespMetadata
- type RespQuotaSet
- type RespServer
- type ShowDedicatedHostRequest
- type ShowDedicatedHostResponse
- type ShowDedicatedHostTagsRequest
- type ShowDedicatedHostTagsResponse
- type ShowQuotaSetsRequest
- type ShowQuotaSetsResponse
- type Tag
- type UpdateDedicatedHostRequest
- type UpdateDedicatedHostResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchCreateDedicatedHostTagsRequest ¶
type BatchCreateDedicatedHostTagsRequest struct { DedicatedHostId string `json:"dedicated_host_id"` Body *ReqSetOrDeleteTags `json:"body,omitempty"` }
Request Object
func (BatchCreateDedicatedHostTagsRequest) String ¶
func (o BatchCreateDedicatedHostTagsRequest) String() string
type BatchCreateDedicatedHostTagsResponse ¶
type BatchCreateDedicatedHostTagsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchCreateDedicatedHostTagsResponse) String ¶
func (o BatchCreateDedicatedHostTagsResponse) String() string
type BatchDeleteDedicatedHostTagsRequest ¶
type BatchDeleteDedicatedHostTagsRequest struct { DedicatedHostId string `json:"dedicated_host_id"` Body *ReqSetOrDeleteTags `json:"body,omitempty"` }
Request Object
func (BatchDeleteDedicatedHostTagsRequest) String ¶
func (o BatchDeleteDedicatedHostTagsRequest) String() string
type BatchDeleteDedicatedHostTagsResponse ¶
type BatchDeleteDedicatedHostTagsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDeleteDedicatedHostTagsResponse) String ¶
func (o BatchDeleteDedicatedHostTagsResponse) String() string
type CreateDedicatedHostRequest ¶
type CreateDedicatedHostRequest struct {
Body *ReqAllocateDeh `json:"body,omitempty"`
}
Request Object
func (CreateDedicatedHostRequest) String ¶
func (o CreateDedicatedHostRequest) String() string
type CreateDedicatedHostResponse ¶
type CreateDedicatedHostResponse struct { DedicatedHostIds *[]string `json:"dedicated_host_ids,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDedicatedHostResponse) String ¶
func (o CreateDedicatedHostResponse) String() string
type DeleteDedicatedHostRequest ¶
type DeleteDedicatedHostRequest struct {
DedicatedHostId string `json:"dedicated_host_id"`
}
Request Object
func (DeleteDedicatedHostRequest) String ¶
func (o DeleteDedicatedHostRequest) String() string
type DeleteDedicatedHostResponse ¶
type DeleteDedicatedHostResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteDedicatedHostResponse) String ¶
func (o DeleteDedicatedHostResponse) String() string
type ListDedicatedHostTypesRequest ¶
type ListDedicatedHostTypesRequest struct {
AvailabilityZone string `json:"availability_zone"`
}
Request Object
func (ListDedicatedHostTypesRequest) String ¶
func (o ListDedicatedHostTypesRequest) String() string
type ListDedicatedHostTypesResponse ¶
type ListDedicatedHostTypesResponse struct { DedicatedHostTypes *[]RespHostType `json:"dedicated_host_types,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDedicatedHostTypesResponse) String ¶
func (o ListDedicatedHostTypesResponse) String() string
type ListDedicatedHostsByTagsRequest ¶
type ListDedicatedHostsByTagsRequest struct {
Body *ReqListDehByTags `json:"body,omitempty"`
}
Request Object
func (ListDedicatedHostsByTagsRequest) String ¶
func (o ListDedicatedHostsByTagsRequest) String() string
type ListDedicatedHostsByTagsResponse ¶
type ListDedicatedHostsByTagsResponse struct { Resources *[]RespDeh `json:"resources,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDedicatedHostsByTagsResponse) String ¶
func (o ListDedicatedHostsByTagsResponse) String() string
type ListDedicatedHostsRequest ¶
type ListDedicatedHostsRequest struct { DedicatedHostId *string `json:"dedicated_host_id,omitempty"` Name *string `json:"name,omitempty"` HostType *string `json:"host_type,omitempty"` HostTypeName *string `json:"host_type_name,omitempty"` Flavor *string `json:"flavor,omitempty"` State *ListDedicatedHostsRequestState `json:"state,omitempty"` Tenant *string `json:"tenant,omitempty"` AvailabilityZone *string `json:"availability_zone,omitempty"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Tags *string `json:"tags,omitempty"` InstanceUuid *string `json:"instance_uuid,omitempty"` ReleasedAt *string `json:"released_at,omitempty"` ChangesSince *string `json:"changes-since,omitempty"` }
Request Object
func (ListDedicatedHostsRequest) String ¶
func (o ListDedicatedHostsRequest) String() string
type ListDedicatedHostsRequestState ¶
type ListDedicatedHostsRequestState struct {
// contains filtered or unexported fields
}
func (ListDedicatedHostsRequestState) MarshalJSON ¶
func (c ListDedicatedHostsRequestState) MarshalJSON() ([]byte, error)
func (*ListDedicatedHostsRequestState) UnmarshalJSON ¶
func (c *ListDedicatedHostsRequestState) UnmarshalJSON(b []byte) error
type ListDedicatedHostsRequestStateEnum ¶
type ListDedicatedHostsRequestStateEnum struct { AVAILABLE ListDedicatedHostsRequestState FAULT ListDedicatedHostsRequestState RELEASED ListDedicatedHostsRequestState }
func GetListDedicatedHostsRequestStateEnum ¶
func GetListDedicatedHostsRequestStateEnum() ListDedicatedHostsRequestStateEnum
type ListDedicatedHostsResponse ¶
type ListDedicatedHostsResponse struct { DedicatedHosts *[]RespDedicatedHost `json:"dedicated_hosts,omitempty"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDedicatedHostsResponse) String ¶
func (o ListDedicatedHostsResponse) String() string
type ListServersDedicatedHostRequest ¶
type ListServersDedicatedHostRequest struct { DedicatedHostId string `json:"dedicated_host_id"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` }
Request Object
func (ListServersDedicatedHostRequest) String ¶
func (o ListServersDedicatedHostRequest) String() string
type ListServersDedicatedHostResponse ¶
type ListServersDedicatedHostResponse struct { Servers *[]RespServer `json:"servers,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListServersDedicatedHostResponse) String ¶
func (o ListServersDedicatedHostResponse) String() string
type MatchKey ¶
type MatchKey struct {
// contains filtered or unexported fields
}
func (MatchKey) MarshalJSON ¶
func (*MatchKey) UnmarshalJSON ¶
type MatchKeyEnum ¶
type MatchKeyEnum struct {
RESOURCE_NAME MatchKey
}
func GetMatchKeyEnum ¶
func GetMatchKeyEnum() MatchKeyEnum
type ReqAllocateDeh ¶
type ReqAllocateDeh struct { Name string `json:"name"` AutoPlacement *ReqAllocateDehAutoPlacement `json:"auto_placement,omitempty"` AvailabilityZone string `json:"availability_zone"` HostType string `json:"host_type"` Quantity int32 `json:"quantity"` Tags *[]ResourceTag `json:"tags,omitempty"` }
创建专属主机消息体。
func (ReqAllocateDeh) String ¶
func (o ReqAllocateDeh) String() string
type ReqAllocateDehAutoPlacement ¶
type ReqAllocateDehAutoPlacement struct {
// contains filtered or unexported fields
}
func (ReqAllocateDehAutoPlacement) MarshalJSON ¶
func (c ReqAllocateDehAutoPlacement) MarshalJSON() ([]byte, error)
func (*ReqAllocateDehAutoPlacement) UnmarshalJSON ¶
func (c *ReqAllocateDehAutoPlacement) UnmarshalJSON(b []byte) error
type ReqAllocateDehAutoPlacementEnum ¶
type ReqAllocateDehAutoPlacementEnum struct { OFF ReqAllocateDehAutoPlacement ON ReqAllocateDehAutoPlacement }
func GetReqAllocateDehAutoPlacementEnum ¶
func GetReqAllocateDehAutoPlacementEnum() ReqAllocateDehAutoPlacementEnum
type ReqListDehByTags ¶
type ReqListDehByTags struct { Tags *[]Tag `json:"tags,omitempty"` NotTags *[]Tag `json:"not_tags,omitempty"` Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` Action ReqListDehByTagsAction `json:"action"` TagsAny *[]Tag `json:"tags_any,omitempty"` NotTagsAny *[]Tag `json:"not_tags_any,omitempty"` Matches *[]Match `json:"matches,omitempty"` }
按标签查询专属主机列表请求参数。
func (ReqListDehByTags) String ¶
func (o ReqListDehByTags) String() string
type ReqListDehByTagsAction ¶
type ReqListDehByTagsAction struct {
// contains filtered or unexported fields
}
func (ReqListDehByTagsAction) MarshalJSON ¶
func (c ReqListDehByTagsAction) MarshalJSON() ([]byte, error)
func (*ReqListDehByTagsAction) UnmarshalJSON ¶
func (c *ReqListDehByTagsAction) UnmarshalJSON(b []byte) error
type ReqListDehByTagsActionEnum ¶
type ReqListDehByTagsActionEnum struct { FILTER ReqListDehByTagsAction COUNT ReqListDehByTagsAction }
func GetReqListDehByTagsActionEnum ¶
func GetReqListDehByTagsActionEnum() ReqListDehByTagsActionEnum
type ReqSetOrDeleteTags ¶
type ReqSetOrDeleteTags struct { Tags []ResourceTag `json:"tags"` Action ReqSetOrDeleteTagsAction `json:"action"` }
批量添加的标签。
func (ReqSetOrDeleteTags) String ¶
func (o ReqSetOrDeleteTags) String() string
type ReqSetOrDeleteTagsAction ¶
type ReqSetOrDeleteTagsAction struct {
// contains filtered or unexported fields
}
func (ReqSetOrDeleteTagsAction) MarshalJSON ¶
func (c ReqSetOrDeleteTagsAction) MarshalJSON() ([]byte, error)
func (*ReqSetOrDeleteTagsAction) UnmarshalJSON ¶
func (c *ReqSetOrDeleteTagsAction) UnmarshalJSON(b []byte) error
type ReqSetOrDeleteTagsActionEnum ¶
type ReqSetOrDeleteTagsActionEnum struct { CREATE ReqSetOrDeleteTagsAction DELETE ReqSetOrDeleteTagsAction }
func GetReqSetOrDeleteTagsActionEnum ¶
func GetReqSetOrDeleteTagsActionEnum() ReqSetOrDeleteTagsActionEnum
type ReqUpdateDeh ¶
type ReqUpdateDeh struct {
DedicatedHost *ReqUpdateDehMessage `json:"dedicated_host"`
}
更新专属主机属性消息体。
func (ReqUpdateDeh) String ¶
func (o ReqUpdateDeh) String() string
type ReqUpdateDehMessage ¶
type ReqUpdateDehMessage struct { AutoPlacement *ReqUpdateDehMessageAutoPlacement `json:"auto_placement,omitempty"` Name *string `json:"name,omitempty"` }
更新专属主机属性消息体。
func (ReqUpdateDehMessage) String ¶
func (o ReqUpdateDehMessage) String() string
type ReqUpdateDehMessageAutoPlacement ¶
type ReqUpdateDehMessageAutoPlacement struct {
// contains filtered or unexported fields
}
func (ReqUpdateDehMessageAutoPlacement) MarshalJSON ¶
func (c ReqUpdateDehMessageAutoPlacement) MarshalJSON() ([]byte, error)
func (*ReqUpdateDehMessageAutoPlacement) UnmarshalJSON ¶
func (c *ReqUpdateDehMessageAutoPlacement) UnmarshalJSON(b []byte) error
type ReqUpdateDehMessageAutoPlacementEnum ¶
type ReqUpdateDehMessageAutoPlacementEnum struct { ON ReqUpdateDehMessageAutoPlacement OFF ReqUpdateDehMessageAutoPlacement }
func GetReqUpdateDehMessageAutoPlacementEnum ¶
func GetReqUpdateDehMessageAutoPlacementEnum() ReqUpdateDehMessageAutoPlacementEnum
type RespAddresses ¶
type RespAddresses struct {
VpcId []RespAddr `json:"vpc_id"`
}
弹性云服务器的网络属性。
func (RespAddresses) String ¶
func (o RespAddresses) String() string
type RespDedicatedHost ¶
type RespDedicatedHost struct { DedicatedHostId string `json:"dedicated_host_id"` Name string `json:"name"` AutoPlacement RespDedicatedHostAutoPlacement `json:"auto_placement"` AvailabilityZone string `json:"availability_zone"` ProjectId string `json:"project_id"` HostProperties *RespHostProperty `json:"host_properties"` State RespDedicatedHostState `json:"state"` AvailableVcpus int32 `json:"available_vcpus"` AvailableMemory int32 `json:"available_memory"` AllocatedAt string `json:"allocated_at"` ReleasedAt string `json:"released_at"` InstanceTotal int32 `json:"instance_total"` InstanceUuids []string `json:"instance_uuids"` Tags *interface{} `json:"tags"` SysTags *interface{} `json:"sys_tags"` }
专属主机结构体。
func (RespDedicatedHost) String ¶
func (o RespDedicatedHost) String() string
type RespDedicatedHostAutoPlacement ¶
type RespDedicatedHostAutoPlacement struct {
// contains filtered or unexported fields
}
func (RespDedicatedHostAutoPlacement) MarshalJSON ¶
func (c RespDedicatedHostAutoPlacement) MarshalJSON() ([]byte, error)
func (*RespDedicatedHostAutoPlacement) UnmarshalJSON ¶
func (c *RespDedicatedHostAutoPlacement) UnmarshalJSON(b []byte) error
type RespDedicatedHostAutoPlacementEnum ¶
type RespDedicatedHostAutoPlacementEnum struct { ON RespDedicatedHostAutoPlacement OFF RespDedicatedHostAutoPlacement }
func GetRespDedicatedHostAutoPlacementEnum ¶
func GetRespDedicatedHostAutoPlacementEnum() RespDedicatedHostAutoPlacementEnum
type RespDedicatedHostState ¶
type RespDedicatedHostState struct {
// contains filtered or unexported fields
}
func (RespDedicatedHostState) MarshalJSON ¶
func (c RespDedicatedHostState) MarshalJSON() ([]byte, error)
func (*RespDedicatedHostState) UnmarshalJSON ¶
func (c *RespDedicatedHostState) UnmarshalJSON(b []byte) error
type RespDedicatedHostStateEnum ¶
type RespDedicatedHostStateEnum struct { AVAILABLE RespDedicatedHostState RELEASED RespDedicatedHostState FAULT RespDedicatedHostState }
func GetRespDedicatedHostStateEnum ¶
func GetRespDedicatedHostStateEnum() RespDedicatedHostStateEnum
type RespDeh ¶
type RespDeh struct { ResourceId string `json:"resource_id"` ResouceDetail string `json:"resouce_detail"` Tags []ResourceTag `json:"tags"` ResourceName string `json:"resource_name"` }
resource字段数据结构。
type RespFlavor ¶
type RespFlavor struct {
Id string `json:"id"`
}
弹性云服务器规格信息。
func (RespFlavor) String ¶
func (o RespFlavor) String() string
type RespHostProperty ¶
type RespHostProperty struct { HostType string `json:"host_type"` HostTypeName string `json:"host_type_name"` Vcpus int32 `json:"vcpus"` Cores int32 `json:"cores"` Sockets int32 `json:"sockets"` Memory int32 `json:"memory"` AvailableInstanceCapacities []RespInstanceCapacity `json:"available_instance_capacities"` }
专属主机属性。
func (RespHostProperty) String ¶
func (o RespHostProperty) String() string
type RespHostType ¶
type RespHostType struct { HostType string `json:"host_type"` HostTypeName string `json:"host_type_name"` }
可用的专属主机类型。
func (RespHostType) String ¶
func (o RespHostType) String() string
type RespInstanceCapacity ¶
type RespInstanceCapacity struct {
Flavor string `json:"flavor"`
}
专属主机上创建的云服务器规格。
func (RespInstanceCapacity) String ¶
func (o RespInstanceCapacity) String() string
type RespMetadata ¶
type RespMetadata struct {
OsType *string `json:"os_type,omitempty"`
}
弹性云服务器元数据。
func (RespMetadata) String ¶
func (o RespMetadata) String() string
type RespQuotaSet ¶
type RespQuotaSet struct { Resource string `json:"resource"` HardLimit int32 `json:"hard_limit"` Used int32 `json:"used"` }
专属主机的配额。
func (RespQuotaSet) String ¶
func (o RespQuotaSet) String() string
type RespServer ¶
type RespServer struct { Addresses *RespAddresses `json:"addresses"` Created string `json:"created"` Flavor *RespFlavor `json:"flavor"` Id string `json:"id"` Name string `json:"name"` Status string `json:"status"` TenantId string `json:"tenant_id"` Updated string `json:"updated"` UserId string `json:"user_id"` TaskState string `json:"task_state"` Image *RespImage `json:"image"` Metadata *RespMetadata `json:"metadata"` }
server字段数据结构说明。
func (RespServer) String ¶
func (o RespServer) String() string
type ShowDedicatedHostRequest ¶
type ShowDedicatedHostRequest struct {
DedicatedHostId string `json:"dedicated_host_id"`
}
Request Object
func (ShowDedicatedHostRequest) String ¶
func (o ShowDedicatedHostRequest) String() string
type ShowDedicatedHostResponse ¶
type ShowDedicatedHostResponse struct { DedicatedHost *RespDedicatedHost `json:"dedicated_host,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDedicatedHostResponse) String ¶
func (o ShowDedicatedHostResponse) String() string
type ShowDedicatedHostTagsRequest ¶
type ShowDedicatedHostTagsRequest struct {
DedicatedHostId string `json:"dedicated_host_id"`
}
Request Object
func (ShowDedicatedHostTagsRequest) String ¶
func (o ShowDedicatedHostTagsRequest) String() string
type ShowDedicatedHostTagsResponse ¶
type ShowDedicatedHostTagsResponse struct { Tags *[]ResourceTag `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDedicatedHostTagsResponse) String ¶
func (o ShowDedicatedHostTagsResponse) String() string
type ShowQuotaSetsRequest ¶
type ShowQuotaSetsRequest struct { TenantId string `json:"tenant_id"` Resource *string `json:"resource,omitempty"` }
Request Object
func (ShowQuotaSetsRequest) String ¶
func (o ShowQuotaSetsRequest) String() string
type ShowQuotaSetsResponse ¶
type ShowQuotaSetsResponse struct { QuotaSet *[]RespQuotaSet `json:"quota_set,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowQuotaSetsResponse) String ¶
func (o ShowQuotaSetsResponse) String() string
type UpdateDedicatedHostRequest ¶
type UpdateDedicatedHostRequest struct { DedicatedHostId string `json:"dedicated_host_id"` Body *ReqUpdateDeh `json:"body,omitempty"` }
Request Object
func (UpdateDedicatedHostRequest) String ¶
func (o UpdateDedicatedHostRequest) String() string
type UpdateDedicatedHostResponse ¶
type UpdateDedicatedHostResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateDedicatedHostResponse) String ¶
func (o UpdateDedicatedHostResponse) String() string
Source Files ¶
- model_batch_create_dedicated_host_tags_request.go
- model_batch_create_dedicated_host_tags_response.go
- model_batch_delete_dedicated_host_tags_request.go
- model_batch_delete_dedicated_host_tags_response.go
- model_create_dedicated_host_request.go
- model_create_dedicated_host_response.go
- model_delete_dedicated_host_request.go
- model_delete_dedicated_host_response.go
- model_list_dedicated_host_types_request.go
- model_list_dedicated_host_types_response.go
- model_list_dedicated_hosts_by_tags_request.go
- model_list_dedicated_hosts_by_tags_response.go
- model_list_dedicated_hosts_request.go
- model_list_dedicated_hosts_response.go
- model_list_servers_dedicated_host_request.go
- model_list_servers_dedicated_host_response.go
- model_match.go
- model_req_allocate_deh.go
- model_req_list_deh_by_tags.go
- model_req_set_or_delete_tags.go
- model_req_update_deh.go
- model_req_update_deh_message.go
- model_resource_tag.go
- model_resp_addr.go
- model_resp_addresses.go
- model_resp_dedicated_host.go
- model_resp_deh.go
- model_resp_flavor.go
- model_resp_host_property.go
- model_resp_host_type.go
- model_resp_image.go
- model_resp_instance_capacity.go
- model_resp_metadata.go
- model_resp_quota_set.go
- model_resp_server.go
- model_show_dedicated_host_request.go
- model_show_dedicated_host_response.go
- model_show_dedicated_host_tags_request.go
- model_show_dedicated_host_tags_response.go
- model_show_quota_sets_request.go
- model_show_quota_sets_response.go
- model_tag.go
- model_update_dedicated_host_request.go
- model_update_dedicated_host_response.go
Click to show internal directories.
Click to hide internal directories.