model

package
v0.1.77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

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

func (AggTag) String

func (o AggTag) String() string

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

type BatchCreateDeleteTagsRequestResourceType

type BatchCreateDeleteTagsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (BatchCreateDeleteTagsRequestResourceType) MarshalJSON

func (*BatchCreateDeleteTagsRequestResourceType) UnmarshalJSON

func (c *BatchCreateDeleteTagsRequestResourceType) UnmarshalJSON(b []byte) error

func (BatchCreateDeleteTagsRequestResourceType) Value

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

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

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

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

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

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

type ListResourceByFilterTagRequestBodyAction

type ListResourceByFilterTagRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (ListResourceByFilterTagRequestBodyAction) MarshalJSON

func (*ListResourceByFilterTagRequestBodyAction) UnmarshalJSON

func (c *ListResourceByFilterTagRequestBodyAction) UnmarshalJSON(b []byte) error

func (ListResourceByFilterTagRequestBodyAction) Value

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 (*ListResourceByFilterTagRequestResourceType) UnmarshalJSON

func (ListResourceByFilterTagRequestResourceType) Value

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

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

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

type Tag

type Tag struct {

	// 键
	Key *string `json:"key,omitempty"`

	// 值
	Value *string `json:"value,omitempty"`
}

Tag 一个key/value键值对

func (Tag) String

func (o Tag) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL