Documentation ¶
Index ¶
- type AggTag
- type BatchCreateDeleteTagsRequest
- type BatchCreateDeleteTagsRequestResourceType
- type BatchCreateDeleteTagsRequestResourceTypeEnum
- type BatchCreateDeleteTagsResponse
- type CreateTagRequest
- type CreateTagRequestBody
- type CreateTagRequestResourceType
- type CreateTagRequestResourceTypeEnum
- type CreateTagResponse
- type DeleteTagRequest
- type DeleteTagRequestResourceType
- type DeleteTagRequestResourceTypeEnum
- type DeleteTagResponse
- type FilterTagResource
- type ListDomainTagsRequest
- type ListDomainTagsRequestResourceType
- type ListDomainTagsRequestResourceTypeEnum
- type ListDomainTagsResponse
- type ListResourceByFilterTagRequest
- type ListResourceByFilterTagRequestBody
- type ListResourceByFilterTagRequestBodyAction
- type ListResourceByFilterTagRequestBodyActionEnum
- type ListResourceByFilterTagRequestResourceType
- type ListResourceByFilterTagRequestResourceTypeEnum
- type ListResourceByFilterTagResponse
- type ListTagsRequest
- type ListTagsRequestResourceType
- type ListTagsRequestResourceTypeEnum
- type ListTagsResponse
- type ResourceTags
- type ResourceTagsAction
- type ResourceTagsActionEnum
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggTag ¶
type AggTag struct { // 键 Key *string `json:"key,omitempty"` // 相同键的值列表 Values *[]string `json:"values,omitempty"` }
AggTag 对于多个key相同的value,聚合成为key/values
type BatchCreateDeleteTagsRequest ¶
type BatchCreateDeleteTagsRequest struct { // 资源ID ResourceId string `json:"resource_id"` // 资源类型: - cloud-connection: 云连接 - bandwidth-package: 带宽包 ResourceType BatchCreateDeleteTagsRequestResourceType `json:"resource_type"` Body *ResourceTags `json:"body,omitempty"` }
BatchCreateDeleteTagsRequest Request Object
func (BatchCreateDeleteTagsRequest) String ¶
func (o BatchCreateDeleteTagsRequest) String() string
type BatchCreateDeleteTagsRequestResourceType ¶
type BatchCreateDeleteTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (BatchCreateDeleteTagsRequestResourceType) MarshalJSON ¶
func (c BatchCreateDeleteTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*BatchCreateDeleteTagsRequestResourceType) UnmarshalJSON ¶
func (c *BatchCreateDeleteTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (BatchCreateDeleteTagsRequestResourceType) Value ¶
func (c BatchCreateDeleteTagsRequestResourceType) Value() string
type BatchCreateDeleteTagsRequestResourceTypeEnum ¶
type BatchCreateDeleteTagsRequestResourceTypeEnum struct { CLOUD_CONNECTION BatchCreateDeleteTagsRequestResourceType BANDWIDTH_PACKAGE BatchCreateDeleteTagsRequestResourceType }
func GetBatchCreateDeleteTagsRequestResourceTypeEnum ¶
func GetBatchCreateDeleteTagsRequestResourceTypeEnum() BatchCreateDeleteTagsRequestResourceTypeEnum
type BatchCreateDeleteTagsResponse ¶
type BatchCreateDeleteTagsResponse struct {
HttpStatusCode int `json:"-"`
}
BatchCreateDeleteTagsResponse Response Object
func (BatchCreateDeleteTagsResponse) String ¶
func (o BatchCreateDeleteTagsResponse) String() string
type CreateTagRequest ¶
type CreateTagRequest struct { // 资源ID。 ResourceId string `json:"resource_id"` // 资源类型: - cloud-connection: 云连接 - bandwidth-package: 带宽包 ResourceType CreateTagRequestResourceType `json:"resource_type"` Body *CreateTagRequestBody `json:"body,omitempty"` }
CreateTagRequest Request Object
func (CreateTagRequest) String ¶
func (o CreateTagRequest) String() string
type CreateTagRequestBody ¶
type CreateTagRequestBody struct {
Tag *Tag `json:"tag,omitempty"`
}
CreateTagRequestBody 创建Tag请求体
func (CreateTagRequestBody) String ¶
func (o CreateTagRequestBody) String() string
type CreateTagRequestResourceType ¶
type CreateTagRequestResourceType struct {
// contains filtered or unexported fields
}
func (CreateTagRequestResourceType) MarshalJSON ¶
func (c CreateTagRequestResourceType) MarshalJSON() ([]byte, error)
func (*CreateTagRequestResourceType) UnmarshalJSON ¶
func (c *CreateTagRequestResourceType) UnmarshalJSON(b []byte) error
func (CreateTagRequestResourceType) Value ¶
func (c CreateTagRequestResourceType) Value() string
type CreateTagRequestResourceTypeEnum ¶
type CreateTagRequestResourceTypeEnum struct { CLOUD_CONNECTION CreateTagRequestResourceType BANDWIDTH_PACKAGE CreateTagRequestResourceType }
func GetCreateTagRequestResourceTypeEnum ¶
func GetCreateTagRequestResourceTypeEnum() CreateTagRequestResourceTypeEnum
type CreateTagResponse ¶
type CreateTagResponse struct {
HttpStatusCode int `json:"-"`
}
CreateTagResponse Response Object
func (CreateTagResponse) String ¶
func (o CreateTagResponse) String() string
type DeleteTagRequest ¶
type DeleteTagRequest struct { // 资源ID ResourceId string `json:"resource_id"` // 待删除资源标签的key TagKey string `json:"tag_key"` // 资源类型: - cloud-connection: 云连接 - bandwidth-package: 带宽包 ResourceType DeleteTagRequestResourceType `json:"resource_type"` }
DeleteTagRequest Request Object
func (DeleteTagRequest) String ¶
func (o DeleteTagRequest) String() string
type DeleteTagRequestResourceType ¶
type DeleteTagRequestResourceType struct {
// contains filtered or unexported fields
}
func (DeleteTagRequestResourceType) MarshalJSON ¶
func (c DeleteTagRequestResourceType) MarshalJSON() ([]byte, error)
func (*DeleteTagRequestResourceType) UnmarshalJSON ¶
func (c *DeleteTagRequestResourceType) UnmarshalJSON(b []byte) error
func (DeleteTagRequestResourceType) Value ¶
func (c DeleteTagRequestResourceType) Value() string
type DeleteTagRequestResourceTypeEnum ¶
type DeleteTagRequestResourceTypeEnum struct { CLOUD_CONNECTION DeleteTagRequestResourceType BANDWIDTH_PACKAGE DeleteTagRequestResourceType }
func GetDeleteTagRequestResourceTypeEnum ¶
func GetDeleteTagRequestResourceTypeEnum() DeleteTagRequestResourceTypeEnum
type DeleteTagResponse ¶
type DeleteTagResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteTagResponse Response Object
func (DeleteTagResponse) String ¶
func (o DeleteTagResponse) String() string
type FilterTagResource ¶
type FilterTagResource struct { // 资源ID ResourceId *string `json:"resource_id,omitempty"` // 资源名称 ResourceName string `json:"resource_name"` // 资源详情 ResourceDetail *string `json:"resource_detail,omitempty"` // 资源下包含的标签 Tags *[]Tag `json:"tags,omitempty"` }
FilterTagResource 标签资源
func (FilterTagResource) String ¶
func (o FilterTagResource) String() string
type ListDomainTagsRequest ¶
type ListDomainTagsRequest struct { // 资源类型: - cloud-connection: 云连接 - bandwidth-package: 带宽包 ResourceType ListDomainTagsRequestResourceType `json:"resource_type"` }
ListDomainTagsRequest Request Object
func (ListDomainTagsRequest) String ¶
func (o ListDomainTagsRequest) String() string
type ListDomainTagsRequestResourceType ¶
type ListDomainTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListDomainTagsRequestResourceType) MarshalJSON ¶
func (c ListDomainTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListDomainTagsRequestResourceType) UnmarshalJSON ¶
func (c *ListDomainTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (ListDomainTagsRequestResourceType) Value ¶
func (c ListDomainTagsRequestResourceType) Value() string
type ListDomainTagsRequestResourceTypeEnum ¶
type ListDomainTagsRequestResourceTypeEnum struct { CLOUD_CONNECTION ListDomainTagsRequestResourceType BANDWIDTH_PACKAGE ListDomainTagsRequestResourceType }
func GetListDomainTagsRequestResourceTypeEnum ¶
func GetListDomainTagsRequestResourceTypeEnum() ListDomainTagsRequestResourceTypeEnum
type ListDomainTagsResponse ¶
type ListDomainTagsResponse struct { // 标签列表 Tags *[]AggTag `json:"tags,omitempty"` // 请求ID。 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListDomainTagsResponse Response Object
func (ListDomainTagsResponse) String ¶
func (o ListDomainTagsResponse) String() string
type ListResourceByFilterTagRequest ¶
type ListResourceByFilterTagRequest struct { // 资源类型: - cloud-connection: 云连接 - bandwidth-package: 带宽包 ResourceType ListResourceByFilterTagRequestResourceType `json:"resource_type"` Body *ListResourceByFilterTagRequestBody `json:"body,omitempty"` }
ListResourceByFilterTagRequest Request Object
func (ListResourceByFilterTagRequest) String ¶
func (o ListResourceByFilterTagRequest) String() string
type ListResourceByFilterTagRequestBody ¶
type ListResourceByFilterTagRequestBody struct { // 动作。|- filter:过滤。 count:查询总条数。 Action *ListResourceByFilterTagRequestBodyAction `json:"action,omitempty"` // 查询结果数量限制 Limit *int32 `json:"limit,omitempty"` // 查询结果偏移 Offset *int32 `json:"offset,omitempty"` // 是否包含以下tag(多个key取\"与\"关系,多个value取\"或\"关系) Tags *[]AggTag `json:"tags,omitempty"` // 是否匹配以下tag,key必须为\"resource_name\",value如果有值则模糊匹配,如果为空字符串则精确匹配 Matches *[]Tag `json:"matches,omitempty"` }
ListResourceByFilterTagRequestBody 用于查询资源实例的Tag过滤条件
func (ListResourceByFilterTagRequestBody) String ¶
func (o ListResourceByFilterTagRequestBody) String() string
type ListResourceByFilterTagRequestBodyAction ¶
type ListResourceByFilterTagRequestBodyAction struct {
// contains filtered or unexported fields
}
func (ListResourceByFilterTagRequestBodyAction) MarshalJSON ¶
func (c ListResourceByFilterTagRequestBodyAction) MarshalJSON() ([]byte, error)
func (*ListResourceByFilterTagRequestBodyAction) UnmarshalJSON ¶
func (c *ListResourceByFilterTagRequestBodyAction) UnmarshalJSON(b []byte) error
func (ListResourceByFilterTagRequestBodyAction) Value ¶
func (c ListResourceByFilterTagRequestBodyAction) Value() string
type ListResourceByFilterTagRequestBodyActionEnum ¶
type ListResourceByFilterTagRequestBodyActionEnum struct { FILTER ListResourceByFilterTagRequestBodyAction COUNT ListResourceByFilterTagRequestBodyAction }
func GetListResourceByFilterTagRequestBodyActionEnum ¶
func GetListResourceByFilterTagRequestBodyActionEnum() ListResourceByFilterTagRequestBodyActionEnum
type ListResourceByFilterTagRequestResourceType ¶
type ListResourceByFilterTagRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListResourceByFilterTagRequestResourceType) MarshalJSON ¶
func (c ListResourceByFilterTagRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListResourceByFilterTagRequestResourceType) UnmarshalJSON ¶
func (c *ListResourceByFilterTagRequestResourceType) UnmarshalJSON(b []byte) error
func (ListResourceByFilterTagRequestResourceType) Value ¶
func (c ListResourceByFilterTagRequestResourceType) Value() string
type ListResourceByFilterTagRequestResourceTypeEnum ¶
type ListResourceByFilterTagRequestResourceTypeEnum struct { CLOUD_CONNECTION ListResourceByFilterTagRequestResourceType BANDWIDTH_PACKAGE ListResourceByFilterTagRequestResourceType }
func GetListResourceByFilterTagRequestResourceTypeEnum ¶
func GetListResourceByFilterTagRequestResourceTypeEnum() ListResourceByFilterTagRequestResourceTypeEnum
type ListResourceByFilterTagResponse ¶
type ListResourceByFilterTagResponse struct { // 资源实例实例列表。 Resources *[]FilterTagResource `json:"resources,omitempty"` // 请求ID。 RequestId *string `json:"request_id,omitempty"` // 符合过滤条件的资源总数量。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ListResourceByFilterTagResponse Response Object
func (ListResourceByFilterTagResponse) String ¶
func (o ListResourceByFilterTagResponse) String() string
type ListTagsRequest ¶
type ListTagsRequest struct { // 资源类型: - cloud-connection: 云连接 - bandwidth-package: 带宽包 ResourceType ListTagsRequestResourceType `json:"resource_type"` // 资源ID ResourceId string `json:"resource_id"` }
ListTagsRequest Request Object
func (ListTagsRequest) String ¶
func (o ListTagsRequest) String() string
type ListTagsRequestResourceType ¶
type ListTagsRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListTagsRequestResourceType) MarshalJSON ¶
func (c ListTagsRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListTagsRequestResourceType) UnmarshalJSON ¶
func (c *ListTagsRequestResourceType) UnmarshalJSON(b []byte) error
func (ListTagsRequestResourceType) Value ¶
func (c ListTagsRequestResourceType) Value() string
type ListTagsRequestResourceTypeEnum ¶
type ListTagsRequestResourceTypeEnum struct { CLOUD_CONNECTION ListTagsRequestResourceType BANDWIDTH_PACKAGE ListTagsRequestResourceType }
func GetListTagsRequestResourceTypeEnum ¶
func GetListTagsRequestResourceTypeEnum() ListTagsRequestResourceTypeEnum
type ListTagsResponse ¶
type ListTagsResponse struct { // 标签列表 Tags *[]Tag `json:"tags,omitempty"` // 请求ID。 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListTagsResponse Response Object
func (ListTagsResponse) String ¶
func (o ListTagsResponse) String() string
type ResourceTags ¶
type ResourceTags struct { // 动作。|- create:创建。 delete:删除。 Action *ResourceTagsAction `json:"action,omitempty"` // 批量添加/删除资源标签 Tags *[]Tag `json:"tags,omitempty"` }
ResourceTags 资源标签Tag汇总复数
func (ResourceTags) String ¶
func (o ResourceTags) String() string
type ResourceTagsAction ¶
type ResourceTagsAction struct {
// contains filtered or unexported fields
}
func (ResourceTagsAction) MarshalJSON ¶
func (c ResourceTagsAction) MarshalJSON() ([]byte, error)
func (*ResourceTagsAction) UnmarshalJSON ¶
func (c *ResourceTagsAction) UnmarshalJSON(b []byte) error
func (ResourceTagsAction) Value ¶
func (c ResourceTagsAction) Value() string
type ResourceTagsActionEnum ¶
type ResourceTagsActionEnum struct { CREATE ResourceTagsAction DELETE ResourceTagsAction }
func GetResourceTagsActionEnum ¶
func GetResourceTagsActionEnum() ResourceTagsActionEnum
Source Files ¶
- model_agg_tag.go
- model_batch_create_delete_tags_request.go
- model_batch_create_delete_tags_response.go
- model_create_tag_request.go
- model_create_tag_request_body.go
- model_create_tag_response.go
- model_delete_tag_request.go
- model_delete_tag_response.go
- model_filter_tag_resource.go
- model_list_domain_tags_request.go
- model_list_domain_tags_response.go
- model_list_resource_by_filter_tag_request.go
- model_list_resource_by_filter_tag_request_body.go
- model_list_resource_by_filter_tag_response.go
- model_list_tags_request.go
- model_list_tags_response.go
- model_resource_tags.go
- model_tag.go
Click to show internal directories.
Click to hide internal directories.