Documentation ¶
Index ¶
- type AggTag
- type BatchCreateDeleteTagsRequest
- type BatchCreateDeleteTagsRequestResourceType
- type BatchCreateDeleteTagsRequestResourceTypeEnum
- type BatchCreateDeleteTagsResponse
- type BatchCreateGcbResourceTagsRequest
- type BatchCreateGcbResourceTagsResponse
- type BatchDeleteGcbResourceTagsRequest
- type BatchDeleteGcbResourceTagsResponse
- type CountGcbResourceByTagRequest
- type CountGcbResourceByTagResponse
- type CreateDeleteGcbTagsRequestBody
- type CreateGcbResourceTagRequest
- type CreateGcbResourceTagResponse
- type CreateGcbTagRequestBody
- type CreateTagRequest
- type CreateTagRequestBody
- type CreateTagRequestResourceType
- type CreateTagRequestResourceTypeEnum
- type CreateTagResponse
- type DeleteGcbResourceTagRequest
- type DeleteGcbResourceTagResponse
- type DeleteTagRequest
- type DeleteTagRequestResourceType
- type DeleteTagRequestResourceTypeEnum
- type DeleteTagResponse
- type FilterTagResource
- type ListDomainTagsRequest
- type ListDomainTagsRequestResourceType
- type ListDomainTagsRequestResourceTypeEnum
- type ListDomainTagsResponse
- type ListGcbResourceByTagRequest
- type ListGcbResourceByTagResponse
- type ListGcbResourceTagsRequest
- type ListGcbResourceTagsResponse
- type ListGcbTenantTagsRequest
- type ListGcbTenantTagsResponse
- type ListResourceByFilterTagRequest
- type ListResourceByFilterTagRequestBody
- type ListResourceByFilterTagRequestBodyAction
- type ListResourceByFilterTagRequestBodyActionEnum
- type ListResourceByFilterTagRequestResourceType
- type ListResourceByFilterTagRequestResourceTypeEnum
- type ListResourceByFilterTagResponse
- type ListTagsRequest
- type ListTagsRequestResourceType
- type ListTagsRequestResourceTypeEnum
- type ListTagsResponse
- type QueryResourceByTagRequestBody
- type QueryTag
- type RequiredTag
- type ResourceTags
- type ResourceTagsAction
- type ResourceTagsActionEnum
- type Tag
- type TmsMatch
- type TmsResource
- type TmsTagValues
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 BatchCreateGcbResourceTagsRequest ¶ added in v0.1.80
type BatchCreateGcbResourceTagsRequest struct { // 资源唯一标识符。 ResourceId string `json:"resource_id"` Body *CreateDeleteGcbTagsRequestBody `json:"body,omitempty"` }
BatchCreateGcbResourceTagsRequest Request Object
func (BatchCreateGcbResourceTagsRequest) String ¶ added in v0.1.80
func (o BatchCreateGcbResourceTagsRequest) String() string
type BatchCreateGcbResourceTagsResponse ¶ added in v0.1.80
type BatchCreateGcbResourceTagsResponse struct {
HttpStatusCode int `json:"-"`
}
BatchCreateGcbResourceTagsResponse Response Object
func (BatchCreateGcbResourceTagsResponse) String ¶ added in v0.1.80
func (o BatchCreateGcbResourceTagsResponse) String() string
type BatchDeleteGcbResourceTagsRequest ¶ added in v0.1.80
type BatchDeleteGcbResourceTagsRequest struct { // 资源唯一标识符。 ResourceId string `json:"resource_id"` Body *CreateDeleteGcbTagsRequestBody `json:"body,omitempty"` }
BatchDeleteGcbResourceTagsRequest Request Object
func (BatchDeleteGcbResourceTagsRequest) String ¶ added in v0.1.80
func (o BatchDeleteGcbResourceTagsRequest) String() string
type BatchDeleteGcbResourceTagsResponse ¶ added in v0.1.80
type BatchDeleteGcbResourceTagsResponse struct {
HttpStatusCode int `json:"-"`
}
BatchDeleteGcbResourceTagsResponse Response Object
func (BatchDeleteGcbResourceTagsResponse) String ¶ added in v0.1.80
func (o BatchDeleteGcbResourceTagsResponse) String() string
type CountGcbResourceByTagRequest ¶ added in v0.1.80
type CountGcbResourceByTagRequest struct {
Body *QueryResourceByTagRequestBody `json:"body,omitempty"`
}
CountGcbResourceByTagRequest Request Object
func (CountGcbResourceByTagRequest) String ¶ added in v0.1.80
func (o CountGcbResourceByTagRequest) String() string
type CountGcbResourceByTagResponse ¶ added in v0.1.80
type CountGcbResourceByTagResponse struct { // 总记录数。 TotalCount *int32 `json:"total_count,omitempty"` // 请求ID。 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
CountGcbResourceByTagResponse Response Object
func (CountGcbResourceByTagResponse) String ¶ added in v0.1.80
func (o CountGcbResourceByTagResponse) String() string
type CreateDeleteGcbTagsRequestBody ¶ added in v0.1.80
type CreateDeleteGcbTagsRequestBody struct { // 批量添加/删除资源标签。 Tags []RequiredTag `json:"tags"` }
CreateDeleteGcbTagsRequestBody 资源标签Tag汇总复数。
func (CreateDeleteGcbTagsRequestBody) String ¶ added in v0.1.80
func (o CreateDeleteGcbTagsRequestBody) String() string
type CreateGcbResourceTagRequest ¶ added in v0.1.80
type CreateGcbResourceTagRequest struct { // 资源唯一标识符。 ResourceId string `json:"resource_id"` Body *CreateGcbTagRequestBody `json:"body,omitempty"` }
CreateGcbResourceTagRequest Request Object
func (CreateGcbResourceTagRequest) String ¶ added in v0.1.80
func (o CreateGcbResourceTagRequest) String() string
type CreateGcbResourceTagResponse ¶ added in v0.1.80
type CreateGcbResourceTagResponse struct {
HttpStatusCode int `json:"-"`
}
CreateGcbResourceTagResponse Response Object
func (CreateGcbResourceTagResponse) String ¶ added in v0.1.80
func (o CreateGcbResourceTagResponse) String() string
type CreateGcbTagRequestBody ¶ added in v0.1.80
type CreateGcbTagRequestBody struct {
Tag *RequiredTag `json:"tag"`
}
CreateGcbTagRequestBody 创建Tag请求体。
func (CreateGcbTagRequestBody) String ¶ added in v0.1.80
func (o CreateGcbTagRequestBody) 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 DeleteGcbResourceTagRequest ¶ added in v0.1.80
type DeleteGcbResourceTagRequest struct { // 资源唯一标识符。 ResourceId string `json:"resource_id"` // 删除的tag的key。 TagKey string `json:"tag_key"` }
DeleteGcbResourceTagRequest Request Object
func (DeleteGcbResourceTagRequest) String ¶ added in v0.1.80
func (o DeleteGcbResourceTagRequest) String() string
type DeleteGcbResourceTagResponse ¶ added in v0.1.80
type DeleteGcbResourceTagResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteGcbResourceTagResponse Response Object
func (DeleteGcbResourceTagResponse) String ¶ added in v0.1.80
func (o DeleteGcbResourceTagResponse) 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 ListGcbResourceByTagRequest ¶ added in v0.1.80
type ListGcbResourceByTagRequest struct { // 查询记录数。 Limit *int32 `json:"limit,omitempty"` // 索引位置,偏移量。 Offset *int32 `json:"offset,omitempty"` Body *QueryResourceByTagRequestBody `json:"body,omitempty"` }
ListGcbResourceByTagRequest Request Object
func (ListGcbResourceByTagRequest) String ¶ added in v0.1.80
func (o ListGcbResourceByTagRequest) String() string
type ListGcbResourceByTagResponse ¶ added in v0.1.80
type ListGcbResourceByTagResponse struct { // 资源列表。 Resources *[]TmsResource `json:"resources,omitempty"` // 总记录数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ListGcbResourceByTagResponse Response Object
func (ListGcbResourceByTagResponse) String ¶ added in v0.1.80
func (o ListGcbResourceByTagResponse) String() string
type ListGcbResourceTagsRequest ¶ added in v0.1.80
type ListGcbResourceTagsRequest struct { // 资源唯一标识符。 ResourceId string `json:"resource_id"` }
ListGcbResourceTagsRequest Request Object
func (ListGcbResourceTagsRequest) String ¶ added in v0.1.80
func (o ListGcbResourceTagsRequest) String() string
type ListGcbResourceTagsResponse ¶ added in v0.1.80
type ListGcbResourceTagsResponse struct { // 标签列表。 Tags *[]Tag `json:"tags,omitempty"` // 请求ID。 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListGcbResourceTagsResponse Response Object
func (ListGcbResourceTagsResponse) String ¶ added in v0.1.80
func (o ListGcbResourceTagsResponse) String() string
type ListGcbTenantTagsRequest ¶ added in v0.1.80
type ListGcbTenantTagsRequest struct { }
ListGcbTenantTagsRequest Request Object
func (ListGcbTenantTagsRequest) String ¶ added in v0.1.80
func (o ListGcbTenantTagsRequest) String() string
type ListGcbTenantTagsResponse ¶ added in v0.1.80
type ListGcbTenantTagsResponse struct { // 标签列表。 Tags *[]TmsTagValues `json:"tags,omitempty"` // 总记录数。 TotalCount *int32 `json:"total_count,omitempty"` // 请求ID。 RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
ListGcbTenantTagsResponse Response Object
func (ListGcbTenantTagsResponse) String ¶ added in v0.1.80
func (o ListGcbTenantTagsResponse) 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 QueryResourceByTagRequestBody ¶ added in v0.1.80
type QueryResourceByTagRequestBody struct { // 请求ID。 RequestId *string `json:"request_id,omitempty"` // 不包含任意一个标签,该字段为true时查询所有不带标签的资源,此时忽略 “tags”、“tags_any”、“not_tags”、“not_tags_any”字段。 WithoutAnyTag *bool `json:"without_any_tag,omitempty"` // 包含标签,最多包含20个key,每个key下面的value最多10个,每个key对应的value可以为空数组但结构体不能缺失。Key不能重复,同一个key中values不能重复。结果返回包含所有标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。无tag过滤条件时返回全量数据。 Tags *[]QueryTag `json:"tags,omitempty"` // 包含任意标签,最多包含20个key,每个key下面的value最多10个, 每个key对应的value可以为空数组但结构体不能缺失。Key不能重复,同一个key中values不能重复。结果返回包含标签的资源列表,key之间是或的关系,key-value结构中value是或的关系。无过滤条件时返回全量数据。 TagsAny *[]QueryTag `json:"tags_any,omitempty"` // 不包含标签,最多包含20个key,每个key下面的value最多10个, 每个key对应的value可以为空数组但结构体不能缺失。Key不能重复,同一个key中values不能重复。结果返回不包含标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。无过滤条件时返回全量数据。 NotTags *[]QueryTag `json:"not_tags,omitempty"` // 不包含任意标签,最多包含20个key,每个key下面的value最多10个, 每个key对应的value可以为空数组但结构体不能缺失。Key不能重复,同一个key中values不能重复。结果返回不包含标签的资源列表,key之间是或的关系,key-value结构中value是或的关系。无过滤条件时返回全量数据。 NotTagsAny *[]QueryTag `json:"not_tags_any,omitempty"` // 是否匹配以下tag,key必须为\"resource_name\",value如果有值则模糊匹配,如果为空字符串则精确匹配。 Matches *[]TmsMatch `json:"matches,omitempty"` }
func (QueryResourceByTagRequestBody) String ¶ added in v0.1.80
func (o QueryResourceByTagRequestBody) String() string
type RequiredTag ¶ added in v0.1.80
RequiredTag 一个key/value键值对
func (RequiredTag) String ¶ added in v0.1.80
func (o RequiredTag) 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
type Tag ¶
type Tag struct { // 键 Key *string `json:"key,omitempty"` // 值 Value *string `json:"value,omitempty"` }
Tag 一个key/value键值对
type TmsMatch ¶ added in v0.1.80
type TmsResource ¶ added in v0.1.80
type TmsResource struct { // 资源ID。 ResourceId string `json:"resource_id"` // 标签列表,没有标签默认为空数组。 Tags []Tag `json:"tags"` // 资源名称,资源没有名称时默认为空字符串。 ResourceName string `json:"resource_name"` }
func (TmsResource) String ¶ added in v0.1.80
func (o TmsResource) String() string
type TmsTagValues ¶ added in v0.1.80
func (TmsTagValues) String ¶ added in v0.1.80
func (o TmsTagValues) String() string
Source Files ¶
- model_agg_tag.go
- model_batch_create_delete_tags_request.go
- model_batch_create_delete_tags_response.go
- model_batch_create_gcb_resource_tags_request.go
- model_batch_create_gcb_resource_tags_response.go
- model_batch_delete_gcb_resource_tags_request.go
- model_batch_delete_gcb_resource_tags_response.go
- model_count_gcb_resource_by_tag_request.go
- model_count_gcb_resource_by_tag_response.go
- model_create_delete_gcb_tags_request_body.go
- model_create_gcb_resource_tag_request.go
- model_create_gcb_resource_tag_response.go
- model_create_gcb_tag_request_body.go
- model_create_tag_request.go
- model_create_tag_request_body.go
- model_create_tag_response.go
- model_delete_gcb_resource_tag_request.go
- model_delete_gcb_resource_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_gcb_resource_by_tag_request.go
- model_list_gcb_resource_by_tag_response.go
- model_list_gcb_resource_tags_request.go
- model_list_gcb_resource_tags_response.go
- model_list_gcb_tenant_tags_request.go
- model_list_gcb_tenant_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_query_resource_by_tag_request_body.go
- model_query_tag.go
- model_required_tag.go
- model_resource_tags.go
- model_tag.go
- model_tms_match.go
- model_tms_resource.go
- model_tms_tag_values.go