fix(docs): update swagger api (#21332)

This commit is contained in:
屈轩
2024-10-01 08:50:40 +08:00
committed by GitHub
parent a8dd1b32e2
commit 207cb03076
39 changed files with 7604 additions and 11669 deletions
+25 -1
View File
@@ -482,7 +482,7 @@ paths:
- Ctyun
- S3
- Ceph
- Xsky"
- Xsky
in: query
items:
type: string
@@ -688,6 +688,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- cloudevent
/cloudevents/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: cloudevent_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/cloudevent_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- cloudevent
/cloudevents/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -1302,6 +1312,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- cloudprovider
/cloudproviders/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: cloudprovider_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/cloudprovider_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- cloudprovider
/cloudproviders/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -1405,6 +1425,8 @@ responses:
type: object
cloudevent_GetPropertyDistinctFieldOutput:
description: ""
cloudevent_GetPropertyDistinctFieldsOutput:
description: ""
cloudevent_GetPropertySplitableExportOutput:
description: ""
cloudevent_GetPropertySplitableOutput:
@@ -1500,6 +1522,8 @@ responses:
type: object
cloudprovider_GetPropertyDistinctFieldOutput:
description: ""
cloudprovider_GetPropertyDistinctFieldsOutput:
description: ""
cloudprovider_GetPropertySplitableExportOutput:
description: ""
cloudprovider_GetPropertySplitableOutput:
+72
View File
@@ -2605,6 +2605,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- cloudgroup
/cloudgroups/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: cloudgroup_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/cloudgroup_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- cloudgroup
/cloudgroups/domain-tag-value-pairs:
get:
description: 获取指定资源类的信息DomainTagValuePairs
@@ -3341,6 +3351,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- cloudpolicy
/cloudpolicies/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: cloudpolicy_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/cloudpolicy_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- cloudpolicy
/cloudpolicies/domain-tag-value-pairs:
get:
description: 获取指定资源类的信息DomainTagValuePairs
@@ -4157,6 +4177,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- cloudrole
/cloudroles/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: cloudrole_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/cloudrole_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- cloudrole
/cloudroles/domain-tag-value-pairs:
get:
description: 获取指定资源类的信息DomainTagValuePairs
@@ -5116,6 +5146,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- clouduser
/cloudusers/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: clouduser_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/clouduser_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- clouduser
/cloudusers/domain-tag-value-pairs:
get:
description: 获取指定资源类的信息DomainTagValuePairs
@@ -5867,6 +5907,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- saml_provider
/saml_providers/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: saml_provider_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/saml_provider_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- saml_provider
/saml_providers/domain-tag-value-pairs:
get:
description: 获取指定资源类的信息DomainTagValuePairs
@@ -6573,6 +6623,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- samluser
/samlusers/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: samluser_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/samluser_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- samluser
/samlusers/domain-tag-value-pairs:
get:
description: 获取指定资源类的信息DomainTagValuePairs
@@ -6737,6 +6797,8 @@ responses:
type: object
cloudgroup_GetPropertyDistinctFieldOutput:
description: ""
cloudgroup_GetPropertyDistinctFieldsOutput:
description: ""
cloudgroup_GetPropertyDomainTagValuePairsOutput:
description: ""
cloudgroup_GetPropertyDomainTagValueTreeOutput:
@@ -6884,6 +6946,8 @@ responses:
type: object
cloudpolicy_GetPropertyDistinctFieldOutput:
description: ""
cloudpolicy_GetPropertyDistinctFieldsOutput:
description: ""
cloudpolicy_GetPropertyDomainTagValuePairsOutput:
description: ""
cloudpolicy_GetPropertyDomainTagValueTreeOutput:
@@ -7003,6 +7067,8 @@ responses:
type: object
cloudrole_GetPropertyDistinctFieldOutput:
description: ""
cloudrole_GetPropertyDistinctFieldsOutput:
description: ""
cloudrole_GetPropertyDomainTagValuePairsOutput:
description: ""
cloudrole_GetPropertyDomainTagValueTreeOutput:
@@ -7142,6 +7208,8 @@ responses:
type: object
clouduser_GetPropertyDistinctFieldOutput:
description: ""
clouduser_GetPropertyDistinctFieldsOutput:
description: ""
clouduser_GetPropertyDomainTagValuePairsOutput:
description: ""
clouduser_GetPropertyDomainTagValueTreeOutput:
@@ -7277,6 +7345,8 @@ responses:
type: object
saml_provider_GetPropertyDistinctFieldOutput:
description: ""
saml_provider_GetPropertyDistinctFieldsOutput:
description: ""
saml_provider_GetPropertyDomainTagValuePairsOutput:
description: ""
saml_provider_GetPropertyDomainTagValueTreeOutput:
@@ -7410,6 +7480,8 @@ responses:
type: object
samluser_GetPropertyDistinctFieldOutput:
description: ""
samluser_GetPropertyDistinctFieldsOutput:
description: ""
samluser_GetPropertyDomainTagValuePairsOutput:
description: ""
samluser_GetPropertyDomainTagValueTreeOutput:
File diff suppressed because it is too large Load Diff
+254 -23
View File
@@ -3121,6 +3121,9 @@ definitions:
x-go-package: yunion.io/x/onecloud/pkg/keystone/models
SJoinProjectsInput:
properties:
Enabled:
description: 启用用户, 仅用户禁用时生效
type: boolean
projects:
items:
type: string
@@ -3143,26 +3146,7 @@ definitions:
type: object
x-go-package: yunion.io/x/onecloud/pkg/apis/identity
SOrganizationDetails:
description: +onecloud:model-api-gen
properties:
Enabled:
$ref: '#/definitions/TriState'
Extra:
description: 额外信息
type: object
IsPublic:
description: 是否共享
type: boolean
Keys:
type: string
Level:
format: int64
type: integer
PublicScope:
description: 默认共享范围
type: string
Type:
$ref: '#/definitions/TOrgType'
can_delete:
description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因
example: true
@@ -3197,6 +3181,14 @@ definitions:
description: 域Id
type: string
x-go-name: DomainId
enabled:
description: 资源是否启用
type: boolean
x-go-name: Enabled
extra:
description: 额外信息
type: object
x-go-name: Extra
id:
description: 资源UUID
type: string
@@ -3207,6 +3199,17 @@ definitions:
list 接口默认不会返回这类资源,除非显示指定 is_emulate=true 过滤参数
type: boolean
x-go-name: IsEmulated
is_public:
description: 是否共享
type: boolean
x-go-name: IsPublic
keys:
type: string
x-go-name: Keys
level:
format: int64
type: integer
x-go-name: Level
metadata:
additionalProperties:
type: string
@@ -3235,6 +3238,10 @@ definitions:
description: 资源归属项目的域名称
type: string
x-go-name: ProjectDomain
public_scope:
description: 默认共享范围
type: string
x-go-name: PublicScope
public_src:
description: '共享设置的来源, local: 本地设置, cloud: 从云上同步过来'
example: local
@@ -3256,6 +3263,9 @@ definitions:
description: 资源状态
type: string
x-go-name: Status
type:
type: string
x-go-name: Type
update_fail_reason:
$ref: '#/definitions/Error'
update_version:
@@ -3269,7 +3279,7 @@ definitions:
type: string
x-go-name: UpdatedAt
type: object
x-go-package: yunion.io/x/onecloud/pkg/keystone/models
x-go-package: yunion.io/x/onecloud/pkg/apis/identity
SOrganizationNodeDetails:
properties:
can_delete:
@@ -3384,6 +3394,8 @@ definitions:
x-go-package: yunion.io/x/onecloud/pkg/apis/identity
SProjectAddUserGroupInput:
properties:
EnableAllUsers:
type: boolean
Groups:
items:
type: string
@@ -3506,6 +3518,18 @@ definitions:
x-go-name: Value
type: object
x-go-package: yunion.io/x/onecloud/pkg/util/tagutils
SUserGroup:
properties:
Domain:
type: string
DomainId:
type: string
Id:
type: string
Name:
type: string
type: object
x-go-package: yunion.io/x/onecloud/pkg/apis/identity
SUserRole:
properties:
Role:
@@ -3920,9 +3944,6 @@ definitions:
$ref: '#/definitions/KeystoneTokenV3'
type: object
x-go-package: yunion.io/x/onecloud/pkg/mcclient
TriState:
type: string
x-go-package: yunion.io/x/pkg/tristate
UserCreateInput:
properties:
__meta__:
@@ -4109,6 +4130,12 @@ definitions:
format: int64
type: integer
x-go-name: GroupCount
groups:
description: 用户归属的组
items:
$ref: '#/definitions/SUserGroup'
type: array
x-go-name: Groups
id:
description: 资源UUID
type: string
@@ -4771,6 +4798,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- credential
/credentials/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: credential_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/credential_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- credential
/credentials/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -5346,6 +5383,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- domain
/domains/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: domain_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/domain_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- domain
/domains/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -5885,6 +5932,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- endpoint
/endpoints/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: endpoint_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/endpoint_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- endpoint
/endpoints/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -6574,6 +6631,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- group
/groups/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: group_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/group_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- group
/groups/domain-tag-value-pairs:
get:
description: 获取指定资源类的信息DomainTagValuePairs
@@ -7455,6 +7522,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- identity_provider
/identity_providers/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: identity_provider_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/identity_provider_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- identity_provider
/identity_providers/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -8154,6 +8231,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- organization_node
/organization_nodes/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: organization_node_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/organization_node_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- organization_node
/organization_nodes/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -8917,6 +9004,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- organization
/organizations/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: organization_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/organization_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- organization
/organizations/domain-tag-value-pairs:
get:
description: 获取指定资源类的信息DomainTagValuePairs
@@ -9665,6 +9762,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- policy
/policies/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: policy_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/policy_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- policy
/policies/domain-tag-value-pairs:
get:
description: 获取指定资源类的信息DomainTagValuePairs
@@ -10385,6 +10492,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- project
/projects/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: project_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/project_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- project
/projects/domain-tag-value-pairs:
get:
description: 获取指定资源类的信息DomainTagValuePairs
@@ -10922,6 +11039,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- region
/regions/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: region_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/region_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- region
/regions/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -11218,6 +11345,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- role_policy
/role_policies/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: role_policy_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/role_policy_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- role_policy
/role_policies/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -11922,6 +12059,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- role
/roles/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: role_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/role_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- role
/roles/domain-tag-value-pairs:
get:
description: 获取指定资源类的信息DomainTagValuePairs
@@ -12220,6 +12367,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- scope_resource
/scope_resources/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: scope_resource_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/scope_resource_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- scope_resource
/scope_resources/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -12709,6 +12866,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- service_certificate
/service_certificates/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: service_certificate_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/service_certificate_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- service_certificate
/service_certificates/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -13293,6 +13460,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- service
/services/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: service_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/service_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- service
/services/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -13817,6 +13994,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- token_cache
/token_caches/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: token_cache_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/token_cache_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- token_cache
/token_caches/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -14631,6 +14818,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- user
/users/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: user_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/user_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- user
/users/domain-tag-value-pairs:
get:
description: 获取指定资源类的信息DomainTagValuePairs
@@ -14851,6 +15048,8 @@ responses:
type: object
credential_GetPropertyDistinctFieldOutput:
description: ""
credential_GetPropertyDistinctFieldsOutput:
description: ""
credential_GetPropertySplitableExportOutput:
description: ""
credential_GetPropertySplitableOutput:
@@ -14951,6 +15150,8 @@ responses:
type: object
domain_GetPropertyDistinctFieldOutput:
description: ""
domain_GetPropertyDistinctFieldsOutput:
description: ""
domain_GetPropertySplitableExportOutput:
description: ""
domain_GetPropertySplitableOutput:
@@ -15053,6 +15254,8 @@ responses:
type: object
endpoint_GetPropertyDistinctFieldOutput:
description: ""
endpoint_GetPropertyDistinctFieldsOutput:
description: ""
endpoint_GetPropertySplitableExportOutput:
description: ""
endpoint_GetPropertySplitableOutput:
@@ -15153,6 +15356,8 @@ responses:
type: object
group_GetPropertyDistinctFieldOutput:
description: ""
group_GetPropertyDistinctFieldsOutput:
description: ""
group_GetPropertyDomainTagValuePairsOutput:
description: ""
group_GetPropertyDomainTagValueTreeOutput:
@@ -15295,6 +15500,8 @@ responses:
type: object
identity_provider_GetPropertyDistinctFieldOutput:
description: ""
identity_provider_GetPropertyDistinctFieldsOutput:
description: ""
identity_provider_GetPropertySplitableExportOutput:
description: ""
identity_provider_GetPropertySplitableOutput:
@@ -15451,6 +15658,8 @@ responses:
type: object
organization_GetPropertyDistinctFieldOutput:
description: ""
organization_GetPropertyDistinctFieldsOutput:
description: ""
organization_GetPropertyDomainTagValuePairsOutput:
description: ""
organization_GetPropertyDomainTagValueTreeOutput:
@@ -15567,6 +15776,8 @@ responses:
type: object
organization_node_GetPropertyDistinctFieldOutput:
description: ""
organization_node_GetPropertyDistinctFieldsOutput:
description: ""
organization_node_GetPropertySplitableExportOutput:
description: ""
organization_node_GetPropertySplitableOutput:
@@ -15671,6 +15882,8 @@ responses:
type: object
policy_GetPropertyDistinctFieldOutput:
description: ""
policy_GetPropertyDistinctFieldsOutput:
description: ""
policy_GetPropertyDomainTagValuePairsOutput:
description: ""
policy_GetPropertyDomainTagValueTreeOutput:
@@ -15785,6 +15998,8 @@ responses:
type: object
project_GetPropertyDistinctFieldOutput:
description: ""
project_GetPropertyDistinctFieldsOutput:
description: ""
project_GetPropertyDomainTagValuePairsOutput:
description: ""
project_GetPropertyDomainTagValueTreeOutput:
@@ -15897,6 +16112,8 @@ responses:
type: object
region_GetPropertyDistinctFieldOutput:
description: ""
region_GetPropertyDistinctFieldsOutput:
description: ""
region_GetPropertySplitableExportOutput:
description: ""
region_GetPropertySplitableOutput:
@@ -15997,6 +16214,8 @@ responses:
type: object
role_GetPropertyDistinctFieldOutput:
description: ""
role_GetPropertyDistinctFieldsOutput:
description: ""
role_GetPropertyDomainTagValuePairsOutput:
description: ""
role_GetPropertyDomainTagValueTreeOutput:
@@ -16081,6 +16300,8 @@ responses:
type: object
role_policy_GetPropertyDistinctFieldOutput:
description: ""
role_policy_GetPropertyDistinctFieldsOutput:
description: ""
role_policy_GetPropertySplitableExportOutput:
description: ""
role_policy_GetPropertySplitableOutput:
@@ -16139,6 +16360,8 @@ responses:
type: object
scope_resource_GetPropertyDistinctFieldOutput:
description: ""
scope_resource_GetPropertyDistinctFieldsOutput:
description: ""
scope_resource_GetPropertySplitableExportOutput:
description: ""
scope_resource_GetPropertySplitableOutput:
@@ -16229,6 +16452,8 @@ responses:
type: object
service_GetPropertyDistinctFieldOutput:
description: ""
service_GetPropertyDistinctFieldsOutput:
description: ""
service_GetPropertySplitableExportOutput:
description: ""
service_GetPropertySplitableOutput:
@@ -16331,6 +16556,8 @@ responses:
type: object
service_certificate_GetPropertyDistinctFieldOutput:
description: ""
service_certificate_GetPropertyDistinctFieldsOutput:
description: ""
service_certificate_GetPropertySplitableExportOutput:
description: ""
service_certificate_GetPropertySplitableOutput:
@@ -16431,6 +16658,8 @@ responses:
type: object
token_cache_GetPropertyDistinctFieldOutput:
description: ""
token_cache_GetPropertyDistinctFieldsOutput:
description: ""
token_cache_GetPropertySplitableExportOutput:
description: ""
token_cache_GetPropertySplitableOutput:
@@ -16545,6 +16774,8 @@ responses:
type: object
user_GetPropertyDistinctFieldOutput:
description: ""
user_GetPropertyDistinctFieldsOutput:
description: ""
user_GetPropertyDomainTagValuePairsOutput:
description: ""
user_GetPropertyDomainTagValueTreeOutput:
+30 -6
View File
@@ -1912,6 +1912,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- guest_image
/guest_images/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: guest_image_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/guest_image_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- guest_image
/guest_images/domain-statistics:
get:
description: 获取指定资源类的信息DomainStatistics
@@ -2108,18 +2118,18 @@ paths:
description: 设置指定项目或者域的镜像配额
operationId: models_SetRegionQuotas
parameters:
- description: 指定项目或者域的ID
in: path
name: scopeId
required: true
type: string
x-go-name: ScopeId
- description: 配额所属范围,可能值为projects和domains,分别代表项目的配额和域的配额
in: path
name: scope
required: true
type: string
x-go-name: Scope
- description: 指定项目或者域的ID
in: path
name: scopeId
required: true
type: string
x-go-name: ScopeId
- in: body
name: body
schema:
@@ -3082,6 +3092,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- image
/images/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: image_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/image_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- image
/images/domain-statistics:
get:
description: 获取指定资源类的信息DomainStatistics
@@ -3288,6 +3308,8 @@ responses:
type: object
guest_image_GetPropertyDistinctFieldOutput:
description: ""
guest_image_GetPropertyDistinctFieldsOutput:
description: ""
guest_image_GetPropertyDomainStatisticsOutput:
description: ""
schema:
@@ -3451,6 +3473,8 @@ responses:
description: ""
image_GetPropertyDistinctFieldOutput:
description: ""
image_GetPropertyDistinctFieldsOutput:
description: ""
image_GetPropertyDomainStatisticsOutput:
description: ""
schema:
+337 -288
View File
@@ -804,6 +804,8 @@ definitions:
x-go-name: From
model:
$ref: '#/definitions/MetricQuery'
result_reducer:
$ref: '#/definitions/Condition'
to:
type: string
x-go-name: To
@@ -819,11 +821,14 @@ definitions:
user:rd: op
type: object
x-go-name: Metadata
AlertRule:
$ref: '#/definitions/AlertRecordRule'
alert_id:
type: string
x-go-name: AlertId
alert_rule:
items:
$ref: '#/definitions/AlertRecordRule'
type: array
x-go-name: AlertRule
description:
description: 资源描述
example: test create network
@@ -1059,6 +1064,9 @@ definitions:
period:
type: string
x-go-name: Period
reducer:
type: string
x-go-name: Reducer
res_type:
type: string
x-go-name: ResType
@@ -2084,6 +2092,9 @@ definitions:
measurement_display_name:
type: string
x-go-name: MeasurementDisplayName
operator:
type: string
x-go-name: Operator
reduce:
description: metric points'value的运算方式
type: string
@@ -2124,10 +2135,16 @@ definitions:
x-go-name: From
model:
$ref: '#/definitions/MetricQuery'
operator:
description: Operator should be chosen from 'and | or'
type: string
x-go-name: Operator
reduce:
description: metric points'value的运算方式
type: string
x-go-name: Reduce
result_reducer:
$ref: '#/definitions/Condition'
threshold:
description: 报警阀值
format: double
@@ -2180,6 +2197,9 @@ definitions:
x-go-package: yunion.io/x/onecloud/pkg/httperrors
EvalMatch:
properties:
alert_details:
type: object
x-go-name: AlertDetails
condition:
type: string
x-go-name: Condition
@@ -4930,6 +4950,15 @@ paths:
name: status
type: array
x-go-name: Status
- description: |-
以报警是否启用/禁用过滤列表
Enabled *bool `json:"enabled"`
in: query
items:
type: string
name: monitor_resource_id
type: array
x-go-name: MonitorResourceId
responses:
"200":
$ref: '#/responses/alert_dash_board_ListItemFilterOutput'
@@ -5308,6 +5337,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- alert_dash_board
/alert_dash_boards/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: alert_dash_board_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/alert_dash_board_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- alert_dash_board
/alert_dash_boards/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -5596,6 +5635,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- alert_dashboard_panel
/alert_dashboard_panels/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: alert_dashboard_panel_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/alert_dashboard_panel_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- alert_dashboard_panel
/alert_dashboard_panels/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -6354,6 +6403,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- alert_notification
/alert_notifications/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: alert_notification_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/alert_notification_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- alert_notification
/alert_notifications/domain-statistics:
get:
description: 获取指定资源类的信息DomainStatistics
@@ -6749,6 +6808,15 @@ paths:
name: status
type: array
x-go-name: Status
- description: |-
以报警是否启用/禁用过滤列表
Enabled *bool `json:"enabled"`
in: query
items:
type: string
name: monitor_resource_id
type: array
x-go-name: MonitorResourceId
- in: query
name: dashboard_id
type: string
@@ -7064,6 +7132,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- alert_panel
/alert_panels/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: alert_panel_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/alert_panel_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- alert_panel
/alert_panels/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -7768,6 +7846,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- alert_record_shield
/alert_record_shields/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: alert_record_shield_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/alert_record_shield_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- alert_record_shield
/alert_record_shields/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -8466,6 +8554,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- alert_record
/alert_records/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: alert_record_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/alert_record_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- alert_record
/alert_records/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -8560,272 +8658,6 @@ paths:
summary: 获取指定资源类的信息TotalAlert
tags:
- alert_record
/alert_resource_alerts:
get:
description: 列表
operationId: alert_resource_alert_ListItemFilter
parameters:
- default: 20
description: 查询限制量
format: int64
in: query
name: limit
type: integer
x-go-name: Limit
- default: 0
description: 查询偏移量
format: int64
in: query
name: offset
type: integer
x-go-name: Offset
- description: 列表排序时,用于排序的字段的名称,该字段不提供时,则按默认字段排序。一般时按照资源的新建时间逆序排序。
in: query
items:
type: string
name: order_by
type: array
x-go-name: OrderBy
- description: 列表排序时的顺序,desc为从高到低,asc为从低到高。默认是按照资源的创建时间desc排序。
example: desc|asc
in: query
name: order
type: string
x-go-name: Order
- description: 列表返回资源的更多详细信息。默认只显示基本字段,该字段为true则返回扩展字段信息。
in: query
name: details
type: boolean
x-go-name: Details
- description: 模糊搜索所有字段
in: query
name: search
type: string
x-go-name: Search
- description: |-
指定过滤条件,允许指定多个,每个条件的格式为"字段名称.操作符(匹配信息)",例如name字段等于test的过滤器为:name.equals('test')
支持的操作符如下:
操作符 | 参数个数 | 举例 | 说明 |
---------------|----------|------------------------------------------------|-----------------------------|
in | > 0 | name.in("test", "good") | 在给定数组中 |
notin | > 0 | name.notin('test') | 不在给定数组中 |
between | 2 | created_at.between('2019-12-10', '2020-01-02') | 在两个值之间 |
ge | 1 | created_at.ge('2020-01-01') | 大于或等于给定值 |
gt | 1 | created_at.gt('2020-01-01') | 严格大于给定值 |
le | 1 | created_at.le('2020-01-01') | 小于或等于给定值 |
lt | 1 | sync_seconds.lt(900) | 严格大于给定值 |
like | > 0 | name.like('%test%') | sql字符串匹配任意一个字符串 |
contains | > 0 | name.contains('test') | 包含任意一个给定字符串 |
startswith | > 0 | name.startswith('test') | 以任意一个给定字符串开头 |
endswith | > 0 | name.endswith('test') | 以任意一个给定字符串结尾 |
equals | > 0 | name.equals('test') | 等于任意一个给定值 |
notequals | 1 | name.notequals('test') | 不等于给定值 |
isnull | 0 | name.isnull() | 值为SQL的NULL |
isnotnull | 0 | name.isnotnull() | 值不为SQL的NULL |
isempty | 0 | name.isempty('test') | 值为空字符串 |
isnotempty | 0 | name.isnotempty('test') | 值不是空字符串 |
isnullorempty | 0 | name.isnullorempty('test') | 值为SQL的NULL或者空字符串 |
in: query
items:
type: string
name: filter
type: array
x-go-name: Filter
- description: |-
指定关联过滤条件,允许指定多个,后端将根据关联过滤条件和其他表关联查询,支持的查询语法和filter相同,
和其他表关联的语法如下:
joint_resources.related_key(origin_key).filter_col.filter_ops(values)
其中,joint_resources为要关联的资源名称,related_key为关联表columnorigin_key为当前表column, filter_col为
关联表用于查询匹配的field名称,field_ops为filter支持的操作,values为匹配的值
举例:
guestnetworks.guest_id(id).ip_addr.equals('10.168.21.222')
in: query
items:
type: string
name: joint_filter
type: array
x-go-name: JointFilter
- description: 如果filter_any为true,则查询所有filter的并集,否则为交集
in: query
name: filter_any
type: boolean
x-go-name: FilterAny
- description: 返回结果只包含指定的字段
in: query
items:
type: string
name: field
type: array
x-go-name: Field
- description: 用于数据导出,指定导出的数据字段
in: query
name: export_keys
type: string
x-go-name: ExportKeys
- description: 返回结果携带delete_fail_reason和update_fail_reason字段
in: query
name: show_fail_reason
type: boolean
x-go-name: ShowFailReason
- in: query
name: alert_resource_id
type: string
x-go-name: AlertResourceId
- in: query
name: alert_id
type: string
x-go-name: AlertId
responses:
"200":
$ref: '#/responses/alert_resource_alert_ListItemFilterOutput'
summary: 列表
tags:
- alert_resource_alert
post:
description: 新建
operationId: alert_resource_alert_ValidateCreateData
parameters:
- in: body
name: body
schema:
properties:
alert_resource_alert:
$ref: '#/definitions/JoinResourceBaseCreateInput'
count:
default: 1
format: int64
type: integer
x-go-name: Count
type: object
x-go-name: Body
responses:
"200":
$ref: '#/responses/alert_resource_alert_ValidateCreateDataOutput'
summary: 新建
tags:
- alert_resource_alert
/alert_resource_alerts/{id}:
delete:
description: 删除
operationId: alert_resource_alert_CustomizeDelete
parameters:
- description: The Id or Name of alert_resource_alert
in: path
name: id
required: true
type: string
x-go-name: Id
responses:
"200":
$ref: '#/responses/alert_resource_alert_CustomizeDeleteOutput'
summary: 删除
tags:
- alert_resource_alert
get:
description: 获取详情
operationId: alert_resource_alert_FetchCustomizeColumns
parameters:
- description: The Id or Name of alert_resource_alert
in: path
name: id
required: true
type: string
x-go-name: Id
responses:
"200":
$ref: '#/responses/alert_resource_alert_FetchCustomizeColumnsOutput'
summary: 获取详情
tags:
- alert_resource_alert
put:
description: 更新
operationId: alert_resource_alert_ValidateUpdateData
parameters:
- description: The Id or Name of alert_resource_alert
in: path
name: id
required: true
type: string
x-go-name: Id
- in: body
name: body
schema:
properties:
alert_resource_alert:
$ref: '#/definitions/JointResourceBaseUpdateInput'
type: object
x-go-name: Body
responses:
"200":
$ref: '#/responses/alert_resource_alert_ValidateUpdateDataOutput'
summary: 更新
tags:
- alert_resource_alert
/alert_resource_alerts/distinct-field:
get:
description: 获取指定资源类的信息DistinctField
operationId: alert_resource_alert_GetPropertyDistinctField
responses:
"200":
$ref: '#/responses/alert_resource_alert_GetPropertyDistinctFieldOutput'
summary: 获取指定资源类的信息DistinctField
tags:
- alert_resource_alert
/alert_resource_alerts/purge-splitable:
post:
description: 执行操作PurgeSplitable
operationId: alert_resource_alert_PerformPurgeSplitable
parameters:
- in: body
name: body
schema:
properties:
alert_resource_alert:
$ref: '#/definitions/PurgeSplitTableInput'
type: object
x-go-name: Body
responses:
"200":
$ref: '#/responses/alert_resource_alert_PerformPurgeSplitableOutput'
summary: 执行操作PurgeSplitable
tags:
- alert_resource_alert
/alert_resource_alerts/splitable:
get:
description: 获取指定资源类的信息Splitable
operationId: alert_resource_alert_GetPropertySplitable
responses:
"200":
$ref: '#/responses/alert_resource_alert_GetPropertySplitableOutput'
summary: 获取指定资源类的信息Splitable
tags:
- alert_resource_alert
/alert_resource_alerts/splitable-export:
get:
description: 获取指定资源类的信息SplitableExport
operationId: alert_resource_alert_GetPropertySplitableExport
parameters:
- in: query
name: table
type: string
x-go-name: Table
- format: int64
in: query
name: offset
type: integer
x-go-name: Offset
- format: int64
in: query
name: limit
type: integer
x-go-name: Limit
responses:
"200":
$ref: '#/responses/alert_resource_alert_GetPropertySplitableExportOutput'
summary: 获取指定资源类的信息SplitableExport
tags:
- alert_resource_alert
/alert_resources:
get:
description: 列表
@@ -9287,6 +9119,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- alert_resource
/alert_resources/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: alert_resource_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/alert_resource_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- alert_resource
/alert_resources/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -9632,6 +9474,15 @@ paths:
name: status
type: array
x-go-name: Status
- description: |-
以报警是否启用/禁用过滤列表
Enabled *bool `json:"enabled"`
in: query
items:
type: string
name: monitor_resource_id
type: array
x-go-name: MonitorResourceId
responses:
"200":
$ref: '#/responses/alert_ListItemFilterOutput'
@@ -10051,6 +9902,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- alert
/alerts/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: alert_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/alert_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- alert
/alerts/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -10399,6 +10260,15 @@ paths:
name: status
type: array
x-go-name: Status
- description: |-
以报警是否启用/禁用过滤列表
Enabled *bool `json:"enabled"`
in: query
items:
type: string
name: monitor_resource_id
type: array
x-go-name: MonitorResourceId
- description: |-
V1AlertListInput
报警类型
@@ -10877,6 +10747,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- common_alert
/common_alerts/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: common_alert_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/common_alert_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- common_alert
/common_alerts/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -11418,6 +11298,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- data_source
/data_sources/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: data_source_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/data_source_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- data_source
/data_sources/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -11758,6 +11648,15 @@ paths:
name: status
type: array
x-go-name: Status
- description: |-
以报警是否启用/禁用过滤列表
Enabled *bool `json:"enabled"`
in: query
items:
type: string
name: monitor_resource_id
type: array
x-go-name: MonitorResourceId
- description: '监控资源类型, 比如: balance, resFree, monthFee'
in: query
name: type
@@ -12197,6 +12096,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- meter_alert
/meter_alerts/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: meter_alert_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/meter_alert_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- meter_alert
/meter_alerts/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -12879,6 +12788,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- metric_field
/metric_fields/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: metric_field_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/metric_field_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- metric_field
/metric_fields/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -13299,6 +13218,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- metric_measurement
/metric_measurements/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: metric_measurement_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/metric_measurement_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- metric_measurement
/metric_measurements/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -13587,6 +13516,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- metric
/metrics/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: metric_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/metric_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- metric
/metrics/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -13912,6 +13851,15 @@ paths:
name: status
type: array
x-go-name: Status
- description: |-
以报警是否启用/禁用过滤列表
Enabled *bool `json:"enabled"`
in: query
items:
type: string
name: monitor_resource_id
type: array
x-go-name: MonitorResourceId
- in: query
name: metric_type
type: string
@@ -14335,6 +14283,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- migration_alert
/migration_alerts/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: migration_alert_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/migration_alert_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- migration_alert
/migration_alerts/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -14706,9 +14664,13 @@ paths:
type: array
x-go-name: JointId
- in: query
name: alertinng
name: alerting
type: boolean
x-go-name: Alerting
- in: query
name: alert_state
type: string
x-go-name: AlertState
- in: query
name: send_state
type: string
@@ -14717,6 +14679,10 @@ paths:
name: res_type
type: string
x-go-name: ResType
- in: query
name: metric
type: string
x-go-name: Metric
- in: query
name: res_name
type: string
@@ -14729,6 +14695,11 @@ paths:
name: level
type: string
x-go-name: Level
- description: 查询所有状态
in: query
name: all_state
type: boolean
x-go-name: AllState
responses:
"200":
$ref: '#/responses/monitor_resource_alert_ListItemFilterOutput'
@@ -14825,6 +14796,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- monitor_resource_alert
/monitor_resource_alerts/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: monitor_resource_alert_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/monitor_resource_alert_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- monitor_resource_alert
/monitor_resource_alerts/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -15190,7 +15171,7 @@ paths:
- Ctyun
- S3
- Ceph
- Xsky"
- Xsky
in: query
items:
type: string
@@ -15725,6 +15706,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- monitor_resource
/monitor_resources/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: monitor_resource_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/monitor_resource_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- monitor_resource
/monitor_resources/domain-statistics:
get:
description: 获取指定资源类的信息DomainStatistics
@@ -16120,6 +16111,15 @@ paths:
name: status
type: array
x-go-name: Status
- description: |-
以报警是否启用/禁用过滤列表
Enabled *bool `json:"enabled"`
in: query
items:
type: string
name: monitor_resource_id
type: array
x-go-name: MonitorResourceId
- description: 监控指标名称
in: query
name: metric
@@ -16593,6 +16593,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- node_alert
/node_alerts/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: node_alert_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/node_alert_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- node_alert
/node_alerts/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -16948,6 +16958,15 @@ paths:
name: status
type: array
x-go-name: Status
- description: |-
以报警是否启用/禁用过滤列表
Enabled *bool `json:"enabled"`
in: query
items:
type: string
name: monitor_resource_id
type: array
x-go-name: MonitorResourceId
responses:
"200":
$ref: '#/responses/v1_alert_ListItemFilterOutput'
@@ -17367,6 +17386,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- v1_alert
/v1_alerts/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: v1_alert_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/v1_alert_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- v1_alert
/v1_alerts/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -17507,6 +17536,8 @@ responses:
type: object
alert_GetPropertyDistinctFieldOutput:
description: ""
alert_GetPropertyDistinctFieldsOutput:
description: ""
alert_GetPropertySplitableExportOutput:
description: ""
alert_GetPropertySplitableOutput:
@@ -17636,6 +17667,8 @@ responses:
type: object
alert_dash_board_GetPropertyDistinctFieldOutput:
description: ""
alert_dash_board_GetPropertyDistinctFieldsOutput:
description: ""
alert_dash_board_GetPropertySplitableExportOutput:
description: ""
alert_dash_board_GetPropertySplitableOutput:
@@ -17721,6 +17754,8 @@ responses:
type: object
alert_dashboard_panel_GetPropertyDistinctFieldOutput:
description: ""
alert_dashboard_panel_GetPropertyDistinctFieldsOutput:
description: ""
alert_dashboard_panel_GetPropertySplitableExportOutput:
description: ""
alert_dashboard_panel_GetPropertySplitableOutput:
@@ -17823,6 +17858,8 @@ responses:
type: object
alert_notification_GetPropertyDistinctFieldOutput:
description: ""
alert_notification_GetPropertyDistinctFieldsOutput:
description: ""
alert_notification_GetPropertyDomainStatisticsOutput:
description: ""
schema:
@@ -17971,6 +18008,8 @@ responses:
type: object
alert_panel_GetPropertyDistinctFieldOutput:
description: ""
alert_panel_GetPropertyDistinctFieldsOutput:
description: ""
alert_panel_GetPropertySplitableExportOutput:
description: ""
alert_panel_GetPropertySplitableOutput:
@@ -18087,6 +18126,8 @@ responses:
type: object
alert_record_GetPropertyDistinctFieldOutput:
description: ""
alert_record_GetPropertyDistinctFieldsOutput:
description: ""
alert_record_GetPropertySplitableExportOutput:
description: ""
alert_record_GetPropertySplitableOutput:
@@ -18205,6 +18246,8 @@ responses:
type: object
alert_record_shield_GetPropertyDistinctFieldOutput:
description: ""
alert_record_shield_GetPropertyDistinctFieldsOutput:
description: ""
alert_record_shield_GetPropertySplitableExportOutput:
description: ""
alert_record_shield_GetPropertySplitableOutput:
@@ -18314,6 +18357,8 @@ responses:
type: object
alert_resource_GetPropertyDistinctFieldOutput:
description: ""
alert_resource_GetPropertyDistinctFieldsOutput:
description: ""
alert_resource_GetPropertySplitableExportOutput:
description: ""
alert_resource_GetPropertySplitableOutput:
@@ -18368,24 +18413,6 @@ responses:
alert_resource:
$ref: '#/definitions/AlertResourceDetails'
type: object
alert_resource_alert_CustomizeDeleteOutput:
description: ""
alert_resource_alert_FetchCustomizeColumnsOutput:
description: ""
alert_resource_alert_GetPropertyDistinctFieldOutput:
description: ""
alert_resource_alert_GetPropertySplitableExportOutput:
description: ""
alert_resource_alert_GetPropertySplitableOutput:
description: ""
alert_resource_alert_ListItemFilterOutput:
description: ""
alert_resource_alert_PerformPurgeSplitableOutput:
description: ""
alert_resource_alert_ValidateCreateDataOutput:
description: ""
alert_resource_alert_ValidateUpdateDataOutput:
description: ""
common_alert_CustomizeDeleteOutput:
description: ""
schema:
@@ -18439,6 +18466,8 @@ responses:
type: object
common_alert_GetPropertyDistinctFieldOutput:
description: ""
common_alert_GetPropertyDistinctFieldsOutput:
description: ""
common_alert_GetPropertySplitableExportOutput:
description: ""
common_alert_GetPropertySplitableOutput:
@@ -18565,6 +18594,8 @@ responses:
type: object
data_source_GetPropertyDistinctFieldOutput:
description: ""
data_source_GetPropertyDistinctFieldsOutput:
description: ""
data_source_GetPropertySplitableExportOutput:
description: ""
data_source_GetPropertySplitableOutput:
@@ -18672,6 +18703,8 @@ responses:
type: object
meter_alert_GetPropertyDistinctFieldOutput:
description: ""
meter_alert_GetPropertyDistinctFieldsOutput:
description: ""
meter_alert_GetPropertySplitableExportOutput:
description: ""
meter_alert_GetPropertySplitableOutput:
@@ -18764,6 +18797,8 @@ responses:
type: object
metric_GetPropertyDistinctFieldOutput:
description: ""
metric_GetPropertyDistinctFieldsOutput:
description: ""
metric_GetPropertySplitableExportOutput:
description: ""
metric_GetPropertySplitableOutput:
@@ -18859,6 +18894,8 @@ responses:
type: object
metric_field_GetPropertyDistinctFieldOutput:
description: ""
metric_field_GetPropertyDistinctFieldsOutput:
description: ""
metric_field_GetPropertySplitableExportOutput:
description: ""
metric_field_GetPropertySplitableOutput:
@@ -18975,6 +19012,8 @@ responses:
type: object
metric_measurement_GetPropertyDistinctFieldOutput:
description: ""
metric_measurement_GetPropertyDistinctFieldsOutput:
description: ""
metric_measurement_GetPropertySplitableExportOutput:
description: ""
metric_measurement_GetPropertySplitableOutput:
@@ -19091,6 +19130,8 @@ responses:
type: object
migration_alert_GetPropertyDistinctFieldOutput:
description: ""
migration_alert_GetPropertyDistinctFieldsOutput:
description: ""
migration_alert_GetPropertySplitableExportOutput:
description: ""
migration_alert_GetPropertySplitableOutput:
@@ -19229,6 +19270,8 @@ responses:
description: ""
monitor_resource_GetPropertyDistinctFieldOutput:
description: ""
monitor_resource_GetPropertyDistinctFieldsOutput:
description: ""
monitor_resource_GetPropertyDomainStatisticsOutput:
description: ""
schema:
@@ -19340,6 +19383,8 @@ responses:
type: object
monitor_resource_alert_GetPropertyDistinctFieldOutput:
description: ""
monitor_resource_alert_GetPropertyDistinctFieldsOutput:
description: ""
monitor_resource_alert_GetPropertySplitableExportOutput:
description: ""
monitor_resource_alert_GetPropertySplitableOutput:
@@ -19435,6 +19480,8 @@ responses:
type: object
node_alert_GetPropertyDistinctFieldOutput:
description: ""
node_alert_GetPropertyDistinctFieldsOutput:
description: ""
node_alert_GetPropertySplitableExportOutput:
description: ""
node_alert_GetPropertySplitableOutput:
@@ -19568,6 +19615,8 @@ responses:
type: object
v1_alert_GetPropertyDistinctFieldOutput:
description: ""
v1_alert_GetPropertyDistinctFieldsOutput:
description: ""
v1_alert_GetPropertySplitableExportOutput:
description: ""
v1_alert_GetPropertySplitableOutput:
File diff suppressed because it is too large Load Diff
+76
View File
@@ -25,6 +25,19 @@ definitions:
x-go-name: Details
type: object
x-go-package: yunion.io/x/onecloud/pkg/httperrors
ParameterCloneInput:
properties:
dest_name:
type: string
x-go-name: DestName
dest_ns:
type: string
x-go-name: DestNs
dest_ns_id:
type: string
x-go-name: DestNsId
type: object
x-go-package: yunion.io/x/onecloud/pkg/apis/yunionconf
PerformChangeDomainOwnerInput:
properties:
project_domain_id:
@@ -621,6 +634,31 @@ paths:
summary: 更新
tags:
- parameter
/parameters/{id}/clone:
post:
description: 执行操作Clone
operationId: parameter_PerformClone
parameters:
- description: The Id or Name of parameter
in: path
name: id
required: true
type: string
x-go-name: Id
- in: body
name: body
schema:
properties:
parameter:
$ref: '#/definitions/ParameterCloneInput'
type: object
x-go-name: Body
responses:
"200":
$ref: '#/responses/parameter_PerformCloneOutput'
summary: 执行操作Clone
tags:
- parameter
/parameters/distinct-field:
get:
description: 获取指定资源类的信息DistinctField
@@ -631,6 +669,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- parameter
/parameters/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: parameter_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/parameter_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- parameter
/parameters/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -1309,6 +1357,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- scopedpolicy
/scopedpolicies/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: scopedpolicy_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/scopedpolicy_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- scopedpolicy
/scopedpolicies/domain-tag-value-pairs:
get:
description: 获取指定资源类的信息DomainTagValuePairs
@@ -1643,6 +1701,16 @@ paths:
summary: 获取指定资源类的信息DistinctField
tags:
- scopedpolicybinding
/scopedpolicybindings/distinct-fields:
get:
description: 获取指定资源类的信息DistinctFields
operationId: scopedpolicybinding_GetPropertyDistinctFields
responses:
"200":
$ref: '#/responses/scopedpolicybinding_GetPropertyDistinctFieldsOutput'
summary: 获取指定资源类的信息DistinctFields
tags:
- scopedpolicybinding
/scopedpolicybindings/purge-splitable:
post:
description: 执行操作PurgeSplitable
@@ -1716,6 +1784,8 @@ responses:
type: object
parameter_GetPropertyDistinctFieldOutput:
description: ""
parameter_GetPropertyDistinctFieldsOutput:
description: ""
parameter_GetPropertySplitableExportOutput:
description: ""
parameter_GetPropertySplitableOutput:
@@ -1742,6 +1812,8 @@ responses:
type: integer
x-go-name: Total
type: object
parameter_PerformCloneOutput:
description: ""
parameter_PerformPurgeSplitableOutput:
description: ""
parameter_ValidateCreateDataOutput:
@@ -1811,6 +1883,8 @@ responses:
type: object
scopedpolicy_GetPropertyDistinctFieldOutput:
description: ""
scopedpolicy_GetPropertyDistinctFieldsOutput:
description: ""
scopedpolicy_GetPropertyDomainTagValuePairsOutput:
description: ""
scopedpolicy_GetPropertyDomainTagValueTreeOutput:
@@ -1893,6 +1967,8 @@ responses:
type: object
scopedpolicybinding_GetPropertyDistinctFieldOutput:
description: ""
scopedpolicybinding_GetPropertyDistinctFieldsOutput:
description: ""
scopedpolicybinding_GetPropertySplitableExportOutput:
description: ""
scopedpolicybinding_GetPropertySplitableOutput: