diff --git a/docs/swagger/swagger_cloudevent.yaml b/docs/swagger/swagger_cloudevent.yaml index fb44fdc7aa..d308ee6d0f 100644 --- a/docs/swagger/swagger_cloudevent.yaml +++ b/docs/swagger/swagger_cloudevent.yaml @@ -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: diff --git a/docs/swagger/swagger_cloudid.yaml b/docs/swagger/swagger_cloudid.yaml index 272e39441d..c38b8de395 100644 --- a/docs/swagger/swagger_cloudid.yaml +++ b/docs/swagger/swagger_cloudid.yaml @@ -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: diff --git a/docs/swagger/swagger_compute.yaml b/docs/swagger/swagger_compute.yaml index 9681964112..9f8b7133bf 100644 --- a/docs/swagger/swagger_compute.yaml +++ b/docs/swagger/swagger_compute.yaml @@ -254,8 +254,73 @@ definitions: type: string type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute + AppBackup: + properties: + Id: + type: string + Name: + type: string + Type: + type: string + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute + AppBackupOutput: + properties: + BackupConfig: + properties: + Enabled: + type: boolean + FrequencyInterval: + format: int64 + type: integer + FrequencyUnit: + type: string + RetentionPeriodInDays: + format: int64 + type: integer + type: object + Data: + items: + $ref: '#/definitions/AppBackup' + type: array + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute + AppCertificate: + properties: + ExpireTime: + format: date-time + type: string + Id: + type: string + IssueDate: + format: date-time + type: string + Issuer: + type: string + Name: + type: string + SubjectName: + type: string + Thumbprint: + type: string + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute + AppCertificateOutput: + properties: + Data: + items: + $ref: '#/definitions/AppCertificate' + type: array + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute AppDetails: properties: + Network: + type: string + Vpc: + type: string + VpcId: + type: string account: description: 云账号名称 example: google-account @@ -394,6 +459,26 @@ definitions: $ref: '#/definitions/Error' type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute + AppDomain: + properties: + Id: + type: string + Name: + type: string + SslState: + type: string + Status: + type: string + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute + AppDomainOutput: + properties: + Data: + items: + $ref: '#/definitions/AppDomain' + type: array + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute AppEnvironmentDetails: properties: can_delete: @@ -445,6 +530,29 @@ definitions: $ref: '#/definitions/Error' type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute + AppHybirdConnection: + properties: + Hostname: + type: string + Id: + type: string + Name: + type: string + Namespace: + type: string + Port: + format: int64 + type: integer + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute + AppHybirdConnectionOutput: + properties: + Data: + items: + $ref: '#/definitions/AppHybirdConnection' + type: array + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute AttachNetworkInput: properties: disable_sync_config: @@ -730,6 +838,19 @@ definitions: x-go-name: WT type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute + BaremetalRootDiskMatcher: + properties: + device: + type: string + x-go-name: Device + size_mb: + format: int64 + type: integer + x-go-name: SizeMB + size_mb_range: + $ref: '#/definitions/RootDiskMatcherSizeMBRange' + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute BaremetalagentCreateInput: properties: __meta__: @@ -948,6 +1069,15 @@ definitions: x-go-name: ZoneId type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute + BatchConvertToKvmCheckInput: + properties: + guest_ids: + items: + type: string + type: array + x-go-name: GuestIds + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute BucketAclInput: properties: Acl: @@ -2038,6 +2168,10 @@ definitions: description: 'swagger: ignore' type: string x-go-name: ServerId + skip_checksum_if_exists: + description: 'swagger: ignore' + type: boolean + x-go-name: SkipChecksumIfExists source_host_id: description: 'swagger: ignore' type: string @@ -2369,6 +2503,9 @@ definitions: detail: type: string x-go-name: Detail + name: + type: string + x-go-name: Name ordinal: format: int64 type: integer @@ -2421,10 +2558,6 @@ definitions: Dcs: description: 分布式缓存服务 type: string - DefaultRegion: - description: 默认区域Id, Apara及HCSO需要此参数 - example: cn-north-2 - type: string DefaultSubnetDns: description: 默认DNS example: 10.125.0.26,10.125.0.27 @@ -2463,6 +2596,8 @@ definitions: Rds: description: 关系型数据库 RDS type: string + RegionId: + type: string SfsTurbo: description: 文件系统 type: string @@ -2599,6 +2734,9 @@ definitions: description: 预检验参数,若为true则仅检查参数,并不真正创建变更 type: boolean x-go-name: DryRun + enable_auto_sync_resource: + type: boolean + x-go-name: EnableAutoSyncResource enable_project_sync: type: boolean x-go-name: EnableProjectSync @@ -2711,17 +2849,17 @@ definitions: Ctyun: 天翼云 enum: - VMware - - ' Aliyun' - - ' Qcloud' - - ' Azure' - - ' Aws' - - ' Huawei' - - ' OpenStack' - - ' Ucloud' - - ' ZStack' - - ' Google' - - ' Ctyun' - - ' JDcloud' + - Aliyun + - Qcloud + - Azure + - Aws + - Huawei + - OpenStack + - Ucloud + - ZStack + - Google + - Ctyun + - JDcloud type: string x-go-name: Provider proxy_setting_id: @@ -2773,7 +2911,6 @@ definitions: required: - name - EndpointDomain - - DefaultRegion type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute CloudaccountDetail: @@ -2882,6 +3019,9 @@ definitions: format: int64 type: integer x-go-name: EipCount + enable_auto_sync_resource: + type: boolean + x-go-name: EnableAutoSyncResource enable_project_sync: type: boolean x-go-name: EnableProjectSync @@ -3036,6 +3176,10 @@ definitions: read_only: type: boolean x-go-name: ReadOnly + region_id: + description: 云平台默认区域id + type: string + x-go-name: RegionId routetable_count: description: 路由表数量 example: 0 @@ -3179,10 +3323,6 @@ definitions: Dcs: description: 分布式缓存服务 type: string - DefaultRegion: - description: 默认区域Id, Apara及HCSO需要此参数 - example: cn-north-2 - type: string DefaultSubnetDns: description: 默认DNS example: 10.125.0.26,10.125.0.27 @@ -3221,6 +3361,8 @@ definitions: Rds: description: 关系型数据库 RDS type: string + RegionId: + type: string SfsTurbo: description: 文件系统 type: string @@ -3360,6 +3502,9 @@ definitions: dvs: type: boolean x-go-name: Dvs + enable_auto_sync_resource: + type: boolean + x-go-name: EnableAutoSyncResource enable_project_sync: type: boolean x-go-name: EnableProjectSync @@ -3472,17 +3617,17 @@ definitions: Ctyun: 天翼云 enum: - VMware - - ' Aliyun' - - ' Qcloud' - - ' Azure' - - ' Aws' - - ' Huawei' - - ' OpenStack' - - ' Ucloud' - - ' ZStack' - - ' Google' - - ' Ctyun' - - ' JDcloud' + - Aliyun + - Qcloud + - Azure + - Aws + - Huawei + - OpenStack + - Ucloud + - ZStack + - Google + - Ctyun + - JDcloud type: string x-go-name: Provider proxy_setting_id: @@ -3537,7 +3682,6 @@ definitions: required: - name - EndpointDomain - - DefaultRegion type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute CloudaccountPerformPrepareNetsOutput: @@ -3650,6 +3794,9 @@ definitions: description: 资源描述 type: string x-go-name: Description + enable_auto_sync_resource: + type: boolean + x-go-name: EnableAutoSyncResource name: description: 资源名称 type: string @@ -4302,6 +4449,41 @@ definitions: x-go-name: Drop type: object x-go-package: yunion.io/x/onecloud/pkg/apis + ContainerCommitExternalRegistry: + properties: + auth: + $ref: '#/definitions/ContainerPullImageAuthConfig' + url: + description: 'e.g.: registry.cn-beijing.aliyuncs.com/yunionio' + type: string + x-go-name: Url + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute + ContainerCommitInput: + properties: + external_registry: + $ref: '#/definitions/ContainerCommitExternalRegistry' + image_name: + description: image name + type: string + x-go-name: ImageName + registry_id: + description: Container registry id from kubeserver + type: string + x-go-name: RegistryId + tag: + description: image tag + type: string + x-go-name: Tag + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute + ContainerCommitOutput: + properties: + repository: + type: string + x-go-name: Repository + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute ContainerCreateInput: properties: __meta__: @@ -4394,6 +4576,21 @@ definitions: x-go-name: PodId type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute + ContainerExecSyncInput: + properties: + command: + items: + type: string + type: array + x-go-name: Command + timeout: + default: 0 + description: Timeout in seconds to stop the command, 0 mean run forever. + format: int64 + type: integer + x-go-name: Timeout + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute ContainerHostDevice: properties: container_path: @@ -4464,6 +4661,169 @@ definitions: ContainerMountPropagation: type: string x-go-package: yunion.io/x/onecloud/pkg/apis + ContainerProbe: + description: |- + ContainerProbe describes a health check to be performed against a container to determine whether it is + alive or ready to receive traffic. + properties: + exec: + $ref: '#/definitions/ContainerProbeHandlerExecAction' + failure_threshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. + format: int32 + type: integer + x-go-name: FailureThreshold + http_get: + $ref: '#/definitions/ContainerProbeHTTPGetAction' + period_seconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. + format: int32 + type: integer + x-go-name: PeriodSeconds + success_threshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. + format: int32 + type: integer + x-go-name: SuccessThreshold + tcp_socket: + $ref: '#/definitions/ContainerProbeTCPSocketAction' + timeout_seconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + InitialDelaySeconds int32 `json:"initial_delay_seconds,omitempty"` + Number of seconds after which the probe times out. + format: int32 + type: integer + x-go-name: TimeoutSeconds + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis + ContainerProbeHTTPGetAction: + properties: + host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. + +optional + type: string + x-go-name: Host + httpHeaders: + description: |- + Custom headers to set in the request. HTTP allows repeated headers. + +optional + items: + $ref: '#/definitions/HTTPHeader' + type: array + x-go-name: HTTPHeaders + path: + description: |- + Path to access on the HTTP server. + +optional + type: string + x-go-name: Path + port: + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + format: int64 + type: integer + x-go-name: Port + scheme: + $ref: '#/definitions/URIScheme' + title: ContainerProbeHTTPGetAction describes an action based on HTTP Get requests. + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis + ContainerProbeHandlerExecAction: + properties: + command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + +optional + items: + type: string + type: array + x-go-name: Command + title: ContainerProbeHandlerExecAction describes a "run in container" action. + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis + ContainerProbeTCPSocketAction: + description: ContainerProbeTCPSocketAction describes an action based on opening a socket + properties: + host: + description: |- + Optional: Host name to connect to, defaults to the pod IP. + +optional + type: string + x-go-name: Host + port: + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. + format: int64 + type: integer + x-go-name: Port + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis + ContainerPullImageAuthConfig: + properties: + auth: + type: string + x-go-name: Auth + identity_token: + description: |- + IdentityToken is used to authenticate the user and get + an access token for the registry. + type: string + x-go-name: IdentityToken + password: + type: string + x-go-name: Password + registry_token: + description: RegistryToken is a bearer token to be sent to a registry + type: string + x-go-name: RegistryToken + server_address: + type: string + x-go-name: ServerAddress + username: + type: string + x-go-name: Username + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis + ContainerResources: + properties: + cpu_cfs_quota: + description: CpuCfsQuota can be set to 0.5 that mapping to 0.5*100000 for cpu.cpu_cfs_quota_us + format: double + type: number + x-go-name: CpuCfsQuota + devices_allow: + description: DevicesAllow will be set to devices.allow + items: + type: string + type: array + x-go-name: DevicesAllow + pids_max: + description: |- + MemoryLimitMB will be transferred to memory.limit_in_bytes + MemoryLimitMB *int64 `json:"memory_limit_mb,omitempty"` + PidsMax will be set to pids.max + format: int64 + type: integer + x-go-name: PidsMax + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis ContainerSaveVolumeMountToImageInput: properties: image_id: @@ -4477,6 +4837,18 @@ definitions: x-go-name: VolumeMountIndex type: object x-go-package: yunion.io/x/onecloud/pkg/apis/host + ContainerSecurityContext: + properties: + run_as_group: + format: int64 + type: integer + x-go-name: RunAsGroup + run_as_user: + format: int64 + type: integer + x-go-name: RunAsUser + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis ContainerSpec: properties: args: @@ -4492,6 +4864,10 @@ definitions: type: string type: array x-go-name: CgroupDevicesAllow + cgroup_pids_max: + format: int64 + type: integer + x-go-name: CgroupPidsMax command: description: Command to execute (i.e., entrypoint for docker) items: @@ -4503,6 +4879,9 @@ definitions: $ref: '#/definitions/ContainerDevice' type: array x-go-name: Devices + disable_no_new_privs: + type: boolean + x-go-name: DisableNoNewPrivs enable_lxcfs: description: Enable lxcfs type: boolean @@ -4524,9 +4903,19 @@ definitions: privileged: type: boolean x-go-name: Privileged + resources_limit: + $ref: '#/definitions/ContainerResources' + security_context: + $ref: '#/definitions/ContainerSecurityContext' + shm_size_mb: + format: int64 + type: integer + x-go-name: ShmSizeMB simulate_cpu: type: boolean x-go-name: SimulateCpu + startup_probe: + $ref: '#/definitions/ContainerProbe' volume_mounts: description: Volume mounts items: @@ -4567,8 +4956,18 @@ definitions: x-go-package: yunion.io/x/onecloud/pkg/apis/compute ContainerVolumeMount: properties: + ceph_fs: + $ref: '#/definitions/ContainerVolumeMountCephFS' disk: $ref: '#/definitions/ContainerVolumeMountDisk' + fs_group: + format: int64 + type: integer + x-go-name: FsGroup + fs_user: + format: int64 + type: integer + x-go-name: FsUser host_path: $ref: '#/definitions/ContainerVolumeMountHostPath' mount_path: @@ -4587,10 +4986,31 @@ definitions: description: If set, the mount needs SELinux relabeling. type: boolean x-go-name: SelinuxRelabel + text: + $ref: '#/definitions/ContainerVolumeMountText' type: $ref: '#/definitions/ContainerVolumeMountType' type: object x-go-package: yunion.io/x/onecloud/pkg/apis/host + ContainerVolumeMountCephFS: + properties: + id: + type: string + x-go-name: Id + mon_host: + type: string + x-go-name: MonHost + name: + type: string + x-go-name: Name + path: + type: string + x-go-name: Path + secret: + type: string + x-go-name: Secret + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/host ContainerVolumeMountDisk: properties: id: @@ -4637,11 +5057,22 @@ definitions: ContainerVolumeMountHostPathType: type: string x-go-package: yunion.io/x/onecloud/pkg/apis + ContainerVolumeMountText: + properties: + content: + type: string + x-go-name: Content + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis ContainerVolumeMountType: type: string x-go-package: yunion.io/x/onecloud/pkg/apis ConvertToKvmInput: properties: + deploy_telegraf: + description: deploy telegraf after convert + type: boolean + x-go-name: DeployTelegraf networks: description: dest guest network configs items: @@ -5469,7 +5900,7 @@ definitions: description: 计费方式 enum: - postpaid - - ' prepaid' + - prepaid type: string address: description: Ip子网内的地址,不填则按照ip子网的地址分配策略分配一个ip @@ -5528,11 +5959,11 @@ definitions: description: rds引擎 enum: - MySQL - - ' SQLServer' - - ' PostgreSQL' - - ' MariaDB' - - ' Oracle' - - ' PPAS' + - SQLServer + - PostgreSQL + - MariaDB + - Oracle + - PPAS type: string x-go-name: Engine engine_version: @@ -6213,32 +6644,6 @@ definitions: x-go-name: ReplaceTags type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - DBInstanceSecgroupDetails: - properties: - can_delete: - description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 - example: true - type: boolean - x-go-name: CanDelete - can_update: - description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因 - example: true - type: boolean - x-go-name: CanUpdate - dbinstance: - description: RDS名称 - type: string - x-go-name: DBInstance - delete_fail_reason: - $ref: '#/definitions/Error' - secgroup: - description: 安全组名称 - type: string - x-go-name: Secgroup - update_fail_reason: - $ref: '#/definitions/Error' - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute DBInstanceSetSecgroupInput: properties: secgroup_ids: @@ -6947,6 +7352,26 @@ definitions: x-go-name: Path type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute + DiskBackupAsTarInput: + properties: + container_id: + type: string + x-go-name: ContainerId + exclude_files: + items: + type: string + type: array + x-go-name: ExcludeFiles + ignore_not_exist_file: + type: boolean + x-go-name: IgnoreNotExistFile + include_files: + items: + type: string + type: array + x-go-name: IncludeFiles + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute DiskBackupCreateInput: properties: __meta__: @@ -6958,6 +7383,12 @@ definitions: type: object x-go-name: Metadata back_storage_id: + description: 'swagger: ignore' + type: string + x-go-name: BackStorageId + backup_as_tar: + $ref: '#/definitions/DiskBackupAsTarInput' + backup_storage_id: description: 'description: backup storage id' type: string x-go-name: BackupStorageId @@ -7059,6 +7490,9 @@ definitions: description: 云账号状态 type: string x-go-name: AccountStatus + backup_storage_id: + type: string + x-go-name: BackupStorageId backup_storage_name: description: 'description: backup storage name' type: string @@ -7087,12 +7521,50 @@ definitions: description: 区域的名称 type: string x-go-name: Cloudregion + cloudregion_id: + description: 归属区域ID + type: string + x-go-name: CloudregionId + created_at: + description: 资源创建时间 + format: date-time + type: string + x-go-name: CreatedAt delete_fail_reason: $ref: '#/definitions/Error' + deleted: + description: 资源是否被删除 + type: boolean + x-go-name: Deleted + deleted_at: + description: 资源删除时间 + format: date-time + type: string + x-go-name: DeletedAt + description: + description: 资源描述信息 + type: string + x-go-name: Description + disk_config: + $ref: '#/definitions/SBackupDiskConfig' + disk_id: + type: string + x-go-name: DiskId disk_name: description: 'description: disk name' type: string x-go-name: DiskName + disk_size_mb: + format: int64 + type: integer + x-go-name: DiskSizeMb + disk_type: + type: string + x-go-name: DiskType + domain_id: + description: 域Id + type: string + x-go-name: DomainId encrypt_alg: description: 加密算法,aes-256 or sm4 type: string @@ -7101,6 +7573,10 @@ definitions: description: 秘钥名称 type: string x-go-name: EncryptKey + encrypt_key_id: + description: 加密密钥ID + type: string + x-go-name: EncryptKeyId encrypt_key_user: description: 密钥用户 type: string @@ -7121,10 +7597,28 @@ definitions: description: Environment type: string x-go-name: Environment + freezed: + description: 资源是否被冻结 + type: boolean + x-go-name: Freezed + id: + description: 资源UUID + type: string + x-go-name: Id + is_emulated: + description: |- + 是否是模拟资源, 部分从公有云上同步的资源并不真实存在, 例如宿主机 + list 接口默认不会返回这类资源,除非显示指定 is_emulate=true 过滤参数 + type: boolean + x-go-name: IsEmulated is_sub_backup: description: 'description: 是否是子备份' type: boolean x-go-name: IsSubBackup + is_system: + description: 是否是系统资源 + type: boolean + x-go-name: IsSystem manager: description: 云订阅名称 example: google-account @@ -7140,6 +7634,10 @@ definitions: example: default type: string x-go-name: ManagerDomainId + manager_id: + description: 云订阅ID + type: string + x-go-name: ManagerId manager_project: description: 子订阅所在项目名称 example: system @@ -7156,6 +7654,33 @@ definitions: description: 标签 type: object x-go-name: Metadata + name: + description: 资源名称 + type: string + x-go-name: Name + os_arch: + description: 操作系统 CPU 架构 + example: x86 arm + type: string + x-go-name: OsArch + os_type: + description: 操作系统类型 + type: string + x-go-name: OsType + pending_deleted: + description: 资源是否处于回收站中 + type: boolean + x-go-name: PendingDeleted + pending_deleted_at: + description: 资源放入回收站时间 + format: date-time + type: string + x-go-name: PendingDeletedAt + progress: + description: 操作进度0-100 + format: float + type: number + x-go-name: Progress project: description: |- 资源归属项目的名称(向后兼容别名) @@ -7177,6 +7702,11 @@ definitions: type: string type: object x-go-name: ProjectMetadata + project_src: + description: '云上同步资源是否在本地被更改过配置, local: 更改过, cloud: 未更改过' + example: local + type: string + x-go-name: ProjectSrc provider: description: 云平台名称 example: Google @@ -7202,14 +7732,40 @@ definitions: example: default type: string x-go-name: RegionId + size_mb: + description: 备份大小 + format: int64 + type: integer + x-go-name: SizeMb + status: + description: 资源状态 + type: string + x-go-name: Status + storage_id: + type: string + x-go-name: StorageId tenant: description: |- 资源归属项目的名称 alias:project type: string x-go-name: Project + tenant_id: + description: 项目Id + type: string + x-go-name: ProjectId update_fail_reason: $ref: '#/definitions/Error' + update_version: + description: 资源被更新次数 + format: int64 + type: integer + x-go-name: UpdateVersion + updated_at: + description: 资源更新时间 + format: date-time + type: string + x-go-name: UpdatedAt type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute DiskBackupRecoveryInput: @@ -7279,56 +7835,57 @@ definitions: description: 磁盘缓存模式 enum: - writeback - - ' none' - - ' writethrough' + - none + - writethrough type: string x-go-name: Cache disk_type: description: 磁盘类型 enum: - sys - - ' data' - - ' swap' + - data + - swap type: string x-go-name: DiskType driver: description: 磁盘驱动方式 enum: - virtio - - ' ide' - - ' scsi' - - ' sata' - - ' pvscsi' + - ide + - scsi + - sata + - pvscsi type: string x-go-name: Driver format: description: 磁盘存储格式 enum: - qcow2 - - ' raw' - - ' docker' - - ' iso' - - ' vmdk' - - ' vmdkflatver1' - - ' vmdkflatver2' - - ' vmdkflat' - - ' vmdksparse' - - ' vmdksparsever1' - - ' vmdksparsever2' - - ' vmdksepsparse vhd' + - raw + - docker + - iso + - vmdk + - vmdkflatver1 + - vmdkflatver2 + - vmdkflat + - vmdksparse + - vmdksparsever1 + - vmdksparsever2 + - vmdksepsparse + - vhd type: string x-go-name: Format fs: description: 文件系统,仅kvm支持自动格式化磁盘,私有云和公有云此参数不会生效 enum: - swap - - ' ext2' - - ' ext3' - - ' ext4' - - ' xfs' - - ' ntfs' - - ' fat' - - ' hfsplus' + - ext2 + - ext3 + - ext4 + - xfs + - ntfs + - fat + - hfsplus type: string x-go-name: Fs image_encrypt_key_id: @@ -7480,8 +8037,8 @@ definitions: description: 磁盘缓存模式 enum: - writeback - - ' none' - - ' writethrough' + - none + - writethrough type: string x-go-name: Cache description: @@ -7493,18 +8050,18 @@ definitions: description: 磁盘类型 enum: - sys - - ' data' - - ' swap' + - data + - swap type: string x-go-name: DiskType driver: description: 磁盘驱动方式 enum: - virtio - - ' ide' - - ' scsi' - - ' sata' - - ' pvscsi' + - ide + - scsi + - sata + - pvscsi type: string x-go-name: Driver dry_run: @@ -7532,30 +8089,31 @@ definitions: description: 磁盘存储格式 enum: - qcow2 - - ' raw' - - ' docker' - - ' iso' - - ' vmdk' - - ' vmdkflatver1' - - ' vmdkflatver2' - - ' vmdkflat' - - ' vmdksparse' - - ' vmdksparsever1' - - ' vmdksparsever2' - - ' vmdksepsparse vhd' + - raw + - docker + - iso + - vmdk + - vmdkflatver1 + - vmdkflatver2 + - vmdkflat + - vmdksparse + - vmdksparsever1 + - vmdksparsever2 + - vmdksepsparse + - vhd type: string x-go-name: Format fs: description: 文件系统,仅kvm支持自动格式化磁盘,私有云和公有云此参数不会生效 enum: - swap - - ' ext2' - - ' ext3' - - ' ext4' - - ' xfs' - - ' ntfs' - - ' fat' - - ' hfsplus' + - ext2 + - ext3 + - ext4 + - xfs + - ntfs + - fat + - hfsplus type: string x-go-name: Fs generate_name: @@ -7570,17 +8128,17 @@ definitions: description: 此参数仅适用于未指定storage时进行调度到指定平台创建磁盘 enum: - kvm - - ' openstack' - - ' esxi' - - ' aliyun' - - ' aws' - - ' qcloud' - - ' azure' - - ' huawei' - - ' openstack' - - ' ucloud' - - ' zstack google' - - ' ctyun' + - openstack + - esxi + - aliyun + - aws + - qcloud + - azure + - huawei + - ucloud + - zstack + - google + - ctyun type: string x-go-name: Hypervisor image_encrypt_key_id: @@ -8158,6 +8716,13 @@ definitions: type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute DiskRebuildInput: + properties: + backup_id: + type: string + x-go-name: BackupId + template_id: + type: string + x-go-name: TemplateId type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute DiskResetInput: @@ -8352,6 +8917,12 @@ definitions: description: 云上Id, 对应云上资源自身Id type: string x-go-name: ExternalId + extra_addresses: + description: 目前存储阿里云GTM设置地址及AWS TrafficPolicy端点地址, 仅支持同步 + items: + type: string + type: array + x-go-name: ExtraAddresses id: description: 资源UUID type: string @@ -9967,7 +10538,7 @@ definitions: description: 计费方式 enum: - postpaid - - ' prepaid' + - prepaid type: string auto_renew: default: false @@ -9999,7 +10570,7 @@ definitions: description: 弹性缓存Engine enum: - redis - - ' memcached' + - memcached type: string x-go-name: Engine engine_version: @@ -10036,11 +10607,11 @@ definitions: 华为云此参数可选,其它云该参数无效 enum: - "22:00:00" - - ' 02:00:00' - - ' 06:00:00' - - ' 10:00:00' - - ' 14:00:00' - - ' 18:00:00' + - "02:00:00" + - "06:00:00" + - "10:00:00" + - "14:00:00" + - "18:00:00" type: string x-go-name: MaintainStartTime memory_size_mb: @@ -10068,7 +10639,7 @@ definitions: description: 网络类型 enum: - vpc - - ' cLassic' + - cLassic type: string x-go-name: NetworkType node_type: @@ -10531,9 +11102,6 @@ definitions: x-go-name: ZoneId type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - ElasticcacheJointBaseUpdateInput: - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute ElasticcacheParameterDetails: properties: account: @@ -11056,40 +11624,6 @@ definitions: ElasticcacheSyncstatusInput: type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - ElasticcachesecgroupDetails: - properties: - can_delete: - description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 - example: true - type: boolean - x-go-name: CanDelete - can_update: - description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因 - example: true - type: boolean - x-go-name: CanUpdate - delete_fail_reason: - $ref: '#/definitions/Error' - elasticcache: - description: 弹性缓存实例名称 - type: string - x-go-name: Elasticcache - elasticcache_id: - description: 弹性缓存实例ID - type: string - x-go-name: ElasticcacheId - secgroup: - description: 安全组名称 - type: string - x-go-name: Secgroup - secgroup_id: - description: 本地安全组ID - type: string - x-go-name: SecgroupId - update_fail_reason: - $ref: '#/definitions/Error' - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute ElasticipAssociateInput: properties: instance_id: @@ -11549,9 +12083,6 @@ definitions: user:rd: op type: object x-go-name: Metadata - cloudaccount_id: - type: string - x-go-name: CloudaccountId description: description: 资源描述 example: test create network @@ -11650,7 +12181,9 @@ definitions: type: string x-go-name: CloudEnv cloudaccount_id: - description: 归属云账号ID + description: |- + swagger: ignore + 将在3.12之后版本移除 type: string x-go-name: CloudaccountId created_at: @@ -11681,9 +12214,6 @@ definitions: description: Environment type: string x-go-name: Environment - external_domain_id: - type: string - x-go-name: ExternalDomainId external_id: description: 云上Id, 对应云上资源自身Id type: string @@ -11853,7 +12383,7 @@ definitions: description: 计费方式 enum: - postpaid - - ' prepaid' + - prepaid type: string x-go-name: BillingType capacity: @@ -11931,8 +12461,8 @@ definitions: description: 协议类型 enum: - NFS - - ' SMB' - - ' CPFS' + - SMB + - CPFS type: string x-go-name: Protocol status: @@ -12488,89 +13018,6 @@ definitions: x-go-name: IpAddr type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - GroupguestDetails: - properties: - Guest: - type: string - Server: - type: string - can_delete: - description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 - example: true - type: boolean - x-go-name: CanDelete - can_update: - description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因 - example: true - type: boolean - x-go-name: CanUpdate - delete_fail_reason: - $ref: '#/definitions/Error' - guest_id: - type: string - x-go-name: GuestId - guest_status: - type: string - x-go-name: GuestStatus - instance_group: - description: 主机组的名称 - type: string - x-go-name: Instancegroup - tag: - type: string - x-go-name: Tag - update_fail_reason: - $ref: '#/definitions/Error' - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute - GroupnetworkDetails: - properties: - can_delete: - description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 - example: true - type: boolean - x-go-name: CanDelete - can_update: - description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因 - example: true - type: boolean - x-go-name: CanUpdate - delete_fail_reason: - $ref: '#/definitions/Error' - eip_addr: - description: EipAddr if eip is associated with this groupnetwork - type: string - x-go-name: EipAddr - eip_id: - type: string - x-go-name: EipId - index: - format: uint8 - type: integer - x-go-name: Index - instance_group: - description: 主机组的名称 - type: string - x-go-name: Instancegroup - ip_addr: - description: IPv4地址 - type: string - x-go-name: IpAddr - ip6_addr: - description: IPv6地址 - type: string - x-go-name: Ip6Addr - network: - description: IP子网名称 - type: string - x-go-name: Network - network_id: - type: string - x-go-name: NetworkId - update_fail_reason: - $ref: '#/definitions/Error' - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute GuestAddSecgroupInput: properties: secgroup_ids: @@ -12638,130 +13085,6 @@ definitions: x-go-name: Duration type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - GuestDiskDetails: - properties: - Disk: - description: 磁盘名称 - type: string - aio_mode: - description: Column(VARCHAR(32, charset='ascii'), nullable=True) - type: string - x-go-name: AioMode - boot_index: - description: Column(TINYINT(4), nullable=False, default=0) - format: uint8 - type: integer - x-go-name: BootIndex - bps: - format: int64 - type: integer - x-go-name: Bps - cache_mode: - description: Column(VARCHAR(32, charset='ascii'), nullable=True) - type: string - x-go-name: CacheMode - can_delete: - description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 - example: true - type: boolean - x-go-name: CanDelete - can_update: - description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因 - example: true - type: boolean - x-go-name: CanUpdate - created_at: - description: 资源创建时间 - format: date-time - type: string - x-go-name: CreatedAt - delete_fail_reason: - $ref: '#/definitions/Error' - deleted: - description: 资源是否被删除 - type: boolean - x-go-name: Deleted - deleted_at: - description: 资源删除时间 - format: date-time - type: string - x-go-name: DeletedAt - disk_id: - type: string - x-go-name: DiskId - disk_size: - description: 磁盘大小, 单位Mb - example: 10240 - format: int64 - type: integer - x-go-name: DiskSize - disk_type: - description: 磁盘类型 - example: data - type: string - x-go-name: DiskType - driver: - type: string - x-go-name: Driver - guest: - description: 云主机名称 - type: string - x-go-name: Guest - guest_id: - type: string - x-go-name: GuestId - image_path: - type: string - x-go-name: ImagePath - index: - format: uint8 - type: integer - x-go-name: Index - iops: - description: Column(VARCHAR(32, charset='ascii'), nullable=True) - format: int64 - type: integer - x-go-name: Iops - medium_type: - description: 介质类型 - example: ssd - type: string - x-go-name: MediumType - mountpoint: - type: string - x-go-name: Mountpoint - row_id: - format: int64 - type: integer - x-go-name: RowId - server: - description: 云主机名称 - type: string - x-go-name: Server - status: - description: 磁盘状态 - example: ready - type: string - x-go-name: Status - storage_type: - description: 存储类型 - example: local - type: string - x-go-name: StorageType - update_fail_reason: - $ref: '#/definitions/Error' - update_version: - description: 资源被更新次数 - format: int64 - type: integer - x-go-name: UpdateVersion - updated_at: - description: 资源更新时间 - format: date-time - type: string - x-go-name: UpdatedAt - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute GuestDiskInfo: properties: aio_mode: @@ -12955,6 +13278,51 @@ definitions: x-go-name: QemuVersion type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute + GuestPortMapping: + properties: + host_ip: + type: string + x-go-name: HostIp + host_port: + format: int64 + type: integer + x-go-name: HostPort + host_port_range: + $ref: '#/definitions/GuestPortMappingPortRange' + port: + format: int64 + type: integer + x-go-name: Port + protocol: + $ref: '#/definitions/GuestPortMappingProtocol' + remote_ips: + description: whitelist for remote ips + items: + type: string + type: array + x-go-name: RemoteIps + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute + GuestPortMappingPortRange: + properties: + end: + format: int64 + type: integer + x-go-name: End + start: + format: int64 + type: integer + x-go-name: Start + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute + GuestPortMappingProtocol: + type: string + x-go-package: yunion.io/x/onecloud/pkg/apis/compute + GuestPortMappings: + items: + $ref: '#/definitions/GuestPortMapping' + type: array + x-go-package: yunion.io/x/onecloud/pkg/apis/compute GuestPublicipToEipInput: properties: auto_start: @@ -13613,29 +13981,40 @@ definitions: - content type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - GuestdiskUpdateInput: + GuestUpdateSubIpsInput: properties: - aio_mode: - type: string - x-go-name: AioMode - bps: + alloc_dir: + $ref: '#/definitions/IPAllocationDirection' + count: format: int64 type: integer - x-go-name: Bps - cache_mode: - type: string - x-go-name: CacheMode - driver: - type: string - x-go-name: Driver + x-go-name: Count index: - format: int8 + format: int64 type: integer x-go-name: Index - iops: - format: int64 - type: integer - x-go-name: Iops + ip_addr: + type: string + x-go-name: IpAddr + ip6_addr: + type: string + x-go-name: Ip6Addr + mac: + type: string + x-go-name: Mac + remove_sub_ips: + items: + type: string + type: array + x-go-name: RemoveSubIps + reserved: + type: boolean + x-go-name: Reserved + sub_ips: + items: + type: string + type: array + x-go-name: SubIps type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute GuestnetworkDetails: @@ -13736,6 +14115,12 @@ definitions: format: int64 type: integer x-go-name: NumQueues + port_mappings: + description: 端口映射 + items: + $ref: '#/definitions/GuestPortMapping' + type: array + x-go-name: PortMappings row_id: format: int64 type: integer @@ -13812,6 +14197,8 @@ definitions: description: 所属Network type: string x-go-name: NetworkId + port_mappings: + $ref: '#/definitions/GuestPortMappings' sub_ips: description: 附属IP type: string @@ -13826,89 +14213,19 @@ definitions: x-go-name: VpcId type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - GuestnetworkUpdateInput: + HTTPHeader: + description: HTTPHeader describes a custom header to be used in HTTP probes properties: - bw_limit: - format: int64 - type: integer - x-go-name: BwLimit - driver: + name: + description: The header field name type: string - x-go-name: Driver - index: - format: int8 - type: integer - x-go-name: Index - is_default: - type: boolean - x-go-name: IsDefault + x-go-name: Name + value: + description: The header field value + type: string + x-go-name: Value type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute - GuestsecgroupDetails: - properties: - can_delete: - description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 - example: true - type: boolean - x-go-name: CanDelete - can_update: - description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因 - example: true - type: boolean - x-go-name: CanUpdate - created_at: - description: 资源创建时间 - format: date-time - type: string - x-go-name: CreatedAt - delete_fail_reason: - $ref: '#/definitions/Error' - deleted: - description: 资源是否被删除 - type: boolean - x-go-name: Deleted - deleted_at: - description: 资源删除时间 - format: date-time - type: string - x-go-name: DeletedAt - guest: - description: 云主机名称 - type: string - x-go-name: Guest - guest_id: - type: string - x-go-name: GuestId - row_id: - format: int64 - type: integer - x-go-name: RowId - secgroup: - description: 安全组名称 - type: string - x-go-name: Secgroup - secgroup_id: - description: 本地安全组ID - type: string - x-go-name: SecgroupId - server: - description: 云主机名称 - type: string - x-go-name: Server - update_fail_reason: - $ref: '#/definitions/Error' - update_version: - description: 资源被更新次数 - format: int64 - type: integer - x-go-name: UpdateVersion - updated_at: - description: 资源更新时间 - format: date-time - type: string - x-go-name: UpdatedAt - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute + x-go-package: yunion.io/x/onecloud/pkg/apis Header: additionalProperties: items: @@ -13916,7 +14233,7 @@ definitions: type: array description: |- The keys should be in canonical form, as returned by - CanonicalHeaderKey. + [CanonicalHeaderKey]. title: A Header represents the key-value pairs in an HTTP header. type: object x-go-package: net/http @@ -13996,191 +14313,6 @@ definitions: x-go-name: AutoMigrateOnHostShutdown type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - HostBackupstorageCreateInput: - properties: - backupstorage_id: - type: string - x-go-name: BackupstorageId - host_id: - type: string - x-go-name: HostId - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute - HostBackupstorageDetails: - properties: - account: - description: 云账号名称 - example: google-account - type: string - x-go-name: Account - account_health_status: - description: 云账号监控状态 - type: string - x-go-name: AccountHealthStatus - account_id: - description: 云账号Id - example: 4d3c8979-9dd0-439b-8d78-36fe1ab1666c - type: string - x-go-name: AccountId - account_read_only: - type: boolean - x-go-name: AccountReadOnly - account_status: - description: 云账号状态 - type: string - x-go-name: AccountStatus - backupstorage: - description: 存储名称 - type: string - x-go-name: Backupstorage - backupstorage_id: - description: 存储Id - type: string - x-go-name: BackupstorageId - brand: - description: 云平台品牌 - example: Google - type: string - x-go-name: Brand - can_delete: - description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 - example: true - type: boolean - x-go-name: CanDelete - can_update: - description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因 - example: true - type: boolean - x-go-name: CanUpdate - capacity_mb: - description: 存储大小 - format: int64 - type: integer - x-go-name: CapacityMb - cloud_env: - description: 云环境 - example: public - type: string - x-go-name: CloudEnv - cloudregion: - description: 区域的名称 - type: string - x-go-name: Cloudregion - cloudregion_id: - description: 可用区的区域ID - type: string - x-go-name: CloudregionId - delete_fail_reason: - $ref: '#/definitions/Error' - enabled: - description: 是否启用 - type: boolean - x-go-name: Enabled - environment: - description: Environment - type: string - x-go-name: Environment - host: - description: 宿主机名称 - type: string - x-go-name: Host - host_enabled: - description: 宿主是否启用 - type: boolean - x-go-name: HostEnabled - host_id: - description: 宿主机Id - type: string - x-go-name: HostId - host_service_status: - description: 宿主机服务状态` - type: string - x-go-name: HostServiceStatus - host_sn: - description: 宿主机序列号 - type: string - x-go-name: HostSN - host_status: - description: 宿主机状态 - type: string - x-go-name: HostStatus - host_type: - description: 宿主机类型 - type: string - x-go-name: HostType - manager: - description: 云订阅名称 - example: google-account - type: string - x-go-name: Manager - manager_domain: - description: 子订阅所在域名称 - example: Default - type: string - x-go-name: ManagerDomain - manager_domain_id: - description: 子订阅所在域Id - example: default - type: string - x-go-name: ManagerDomainId - manager_id: - description: 归属云订阅ID - type: string - x-go-name: ManagerId - manager_project: - description: 子订阅所在项目名称 - example: system - type: string - x-go-name: ManagerProject - manager_project_id: - description: 子订阅所在项目Id - example: 4d3c8979-9dd0-439b-8d78-36fe1ab1666c - type: string - x-go-name: ManagerProjectId - provider: - description: 云平台名称 - example: Google - type: string - x-go-name: Provider - region: - description: 区域的名称 - example: Default - type: string - x-go-name: Region - region_ext_id: - description: 纳管云区域的Id - example: 59e7bc87-a6b3-4c39-8f02-c68e8243d4e4 - type: string - x-go-name: RegionExtId - region_external_id: - description: 纳管云区域的组合Id(平台+Id) - example: ZStack/59e7bc87-a6b3-4c39-8f02-c68e8243d4e4 - type: string - x-go-name: RegionExternalId - region_id: - description: 区域的Id - example: default - type: string - x-go-name: RegionId - storage_type: - $ref: '#/definitions/TBackupStorageType' - update_fail_reason: - $ref: '#/definitions/Error' - zone: - description: 可用区名称 - example: 北京一区 - type: string - x-go-name: Zone - zone_ext_id: - description: 纳管云的zoneId - type: string - x-go-name: ZoneExtId - zone_id: - description: 归属可用区ID - type: string - x-go-name: ZoneId - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute HostCreateInput: properties: __meta__: @@ -14301,7 +14433,7 @@ definitions: x-go-name: IpmiIpAddr ipmi_lan_channel: description: lan channel - format: int64 + format: uint8 type: integer x-go-name: IpmiLanChannel ipmi_password: @@ -14397,6 +14529,10 @@ definitions: description: 指定项目归属域名称或ID type: string x-go-name: ProjectDomainId + public_ip: + description: 公网IP + type: string + x-go-name: PublicIp public_scope: description: 共享范围 type: string @@ -14864,6 +15000,10 @@ definitions: example: Google type: string x-go-name: Provider + public_ip: + description: 公网Ip地址 + type: string + x-go-name: PublicIp public_scope: description: 默认共享范围 type: string @@ -15088,8 +15228,7 @@ definitions: type: string x-go-name: Mac net_type: - type: string - x-go-name: NetType + $ref: '#/definitions/TNetworkType' network: description: Deprecated type: string @@ -15109,178 +15248,6 @@ definitions: x-go-name: VlanId type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - HostIsolatedDeviceModelDetails: - properties: - DevType: - type: string - DeviceId: - type: string - DisableAutoDetect: - type: boolean - HotPluggable: - type: boolean - Model: - type: string - VendorId: - type: string - account: - description: 云账号名称 - example: google-account - type: string - x-go-name: Account - account_health_status: - description: 云账号监控状态 - type: string - x-go-name: AccountHealthStatus - account_id: - description: 云账号Id - example: 4d3c8979-9dd0-439b-8d78-36fe1ab1666c - type: string - x-go-name: AccountId - account_read_only: - type: boolean - x-go-name: AccountReadOnly - account_status: - description: 云账号状态 - type: string - x-go-name: AccountStatus - brand: - description: 云平台品牌 - example: Google - type: string - x-go-name: Brand - can_delete: - description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 - example: true - type: boolean - x-go-name: CanDelete - can_update: - description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因 - example: true - type: boolean - x-go-name: CanUpdate - cloud_env: - description: 云环境 - example: public - type: string - x-go-name: CloudEnv - cloudregion: - description: 区域的名称 - type: string - x-go-name: Cloudregion - cloudregion_id: - description: 可用区的区域ID - type: string - x-go-name: CloudregionId - delete_fail_reason: - $ref: '#/definitions/Error' - environment: - description: Environment - type: string - x-go-name: Environment - host: - description: 宿主机名称 - type: string - x-go-name: Host - host_enabled: - description: 宿主是否启用 - type: boolean - x-go-name: HostEnabled - host_id: - description: 宿主机Id - type: string - x-go-name: HostId - host_service_status: - description: 宿主机服务状态` - type: string - x-go-name: HostServiceStatus - host_sn: - description: 宿主机序列号 - type: string - x-go-name: HostSN - host_status: - description: 宿主机状态 - type: string - x-go-name: HostStatus - host_type: - description: 宿主机类型 - type: string - x-go-name: HostType - isolated_device_model_id: - description: 存储Id - type: string - x-go-name: IsolatedDeviceModelId - manager: - description: 云订阅名称 - example: google-account - type: string - x-go-name: Manager - manager_domain: - description: 子订阅所在域名称 - example: Default - type: string - x-go-name: ManagerDomain - manager_domain_id: - description: 子订阅所在域Id - example: default - type: string - x-go-name: ManagerDomainId - manager_id: - description: 归属云订阅ID - type: string - x-go-name: ManagerId - manager_project: - description: 子订阅所在项目名称 - example: system - type: string - x-go-name: ManagerProject - manager_project_id: - description: 子订阅所在项目Id - example: 4d3c8979-9dd0-439b-8d78-36fe1ab1666c - type: string - x-go-name: ManagerProjectId - provider: - description: 云平台名称 - example: Google - type: string - x-go-name: Provider - region: - description: 区域的名称 - example: Default - type: string - x-go-name: Region - region_ext_id: - description: 纳管云区域的Id - example: 59e7bc87-a6b3-4c39-8f02-c68e8243d4e4 - type: string - x-go-name: RegionExtId - region_external_id: - description: 纳管云区域的组合Id(平台+Id) - example: ZStack/59e7bc87-a6b3-4c39-8f02-c68e8243d4e4 - type: string - x-go-name: RegionExternalId - region_id: - description: 区域的Id - example: default - type: string - x-go-name: RegionId - update_fail_reason: - $ref: '#/definitions/Error' - zone: - description: 可用区名称 - example: 北京一区 - type: string - x-go-name: Zone - zone_ext_id: - description: 纳管云的zoneId - type: string - x-go-name: ZoneExtId - zone_id: - description: 归属可用区ID - type: string - x-go-name: ZoneId - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute HostLoginInfoInput: type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute @@ -15334,19 +15301,6 @@ definitions: x-go-name: DisableSchedLoadBalance type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - HostStorageCreateInput: - properties: - host_id: - type: string - x-go-name: HostId - mount_point: - type: string - x-go-name: MountPoint - storage_id: - type: string - x-go-name: StorageId - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute HostTopologyOutput: properties: host_status: @@ -15479,7 +15433,7 @@ definitions: x-go-name: IpmiIpAddr ipmi_lan_channel: description: lan channel - format: int64 + format: uint8 type: integer x-go-name: IpmiLanChannel ipmi_password: @@ -15545,6 +15499,10 @@ definitions: format: int64 type: integer x-go-name: PageSizeKB + public_ip: + description: 公网IP + type: string + x-go-name: PublicIp rack: description: 机架 type: string @@ -15588,193 +15546,6 @@ definitions: x-go-name: Version type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - HostnetworkDetails: - properties: - account: - description: 云账号名称 - example: google-account - type: string - x-go-name: Account - account_health_status: - description: 云账号监控状态 - type: string - x-go-name: AccountHealthStatus - account_id: - description: 云账号Id - example: 4d3c8979-9dd0-439b-8d78-36fe1ab1666c - type: string - x-go-name: AccountId - account_read_only: - type: boolean - x-go-name: AccountReadOnly - account_status: - description: 云账号状态 - type: string - x-go-name: AccountStatus - baremetal_id: - description: 宿主机ID - type: string - x-go-name: BaremetalId - brand: - description: 云平台品牌 - example: Google - type: string - x-go-name: Brand - can_delete: - description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 - example: true - type: boolean - x-go-name: CanDelete - can_update: - description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因 - example: true - type: boolean - x-go-name: CanUpdate - cloud_env: - description: 云环境 - example: public - type: string - x-go-name: CloudEnv - cloudregion: - description: 区域的名称 - type: string - x-go-name: Cloudregion - cloudregion_id: - description: 可用区的区域ID - type: string - x-go-name: CloudregionId - delete_fail_reason: - $ref: '#/definitions/Error' - environment: - description: Environment - type: string - x-go-name: Environment - host: - description: 宿主机名称 - type: string - x-go-name: Host - host_enabled: - description: 宿主是否启用 - type: boolean - x-go-name: HostEnabled - host_service_status: - description: 宿主机服务状态` - type: string - x-go-name: HostServiceStatus - host_sn: - description: 宿主机序列号 - type: string - x-go-name: HostSN - host_status: - description: 宿主机状态 - type: string - x-go-name: HostStatus - host_type: - description: 宿主机类型 - type: string - x-go-name: HostType - ip_addr: - description: IP地址 - type: string - x-go-name: IpAddr - mac_addr: - description: MAC地址 - type: string - x-go-name: MacAddr - manager: - description: 云订阅名称 - example: google-account - type: string - x-go-name: Manager - manager_domain: - description: 子订阅所在域名称 - example: Default - type: string - x-go-name: ManagerDomain - manager_domain_id: - description: 子订阅所在域Id - example: default - type: string - x-go-name: ManagerDomainId - manager_id: - description: 归属云订阅ID - type: string - x-go-name: ManagerId - manager_project: - description: 子订阅所在项目名称 - example: system - type: string - x-go-name: ManagerProject - manager_project_id: - description: 子订阅所在项目Id - example: 4d3c8979-9dd0-439b-8d78-36fe1ab1666c - type: string - x-go-name: ManagerProjectId - network: - description: IP子网名称 - type: string - x-go-name: Network - network_id: - description: 网络ID - type: string - x-go-name: NetworkId - nic_type: - $ref: '#/definitions/TNicType' - provider: - description: 云平台名称 - example: Google - type: string - x-go-name: Provider - region: - description: 区域的名称 - example: Default - type: string - x-go-name: Region - region_ext_id: - description: 纳管云区域的Id - example: 59e7bc87-a6b3-4c39-8f02-c68e8243d4e4 - type: string - x-go-name: RegionExtId - region_external_id: - description: 纳管云区域的组合Id(平台+Id) - example: ZStack/59e7bc87-a6b3-4c39-8f02-c68e8243d4e4 - type: string - x-go-name: RegionExternalId - region_id: - description: 区域的Id - example: default - type: string - x-go-name: RegionId - update_fail_reason: - $ref: '#/definitions/Error' - vlan_id: - description: VLAN - format: int64 - type: integer - x-go-name: VlanId - wire: - description: 二层网络名称 - type: string - x-go-name: Wire - wire_id: - description: 二层网络ID - type: string - x-go-name: WireId - zone: - description: 可用区名称 - example: 北京一区 - type: string - x-go-name: Zone - zone_ext_id: - description: 纳管云的zoneId - type: string - x-go-name: ZoneExtId - zone_id: - description: 归属可用区ID - type: string - x-go-name: ZoneId - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute HostnetworkTopologyOutput: properties: ip_addr: @@ -15785,244 +15556,6 @@ definitions: x-go-name: MacAddr type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - HoststorageDetails: - properties: - account: - description: 云账号名称 - example: google-account - type: string - x-go-name: Account - account_health_status: - description: 云账号监控状态 - type: string - x-go-name: AccountHealthStatus - account_id: - description: 云账号Id - example: 4d3c8979-9dd0-439b-8d78-36fe1ab1666c - type: string - x-go-name: AccountId - account_read_only: - type: boolean - x-go-name: AccountReadOnly - account_status: - description: 云账号状态 - type: string - x-go-name: AccountStatus - brand: - description: 云平台品牌 - example: Google - type: string - x-go-name: Brand - can_delete: - description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 - example: true - type: boolean - x-go-name: CanDelete - can_update: - description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因 - example: true - type: boolean - x-go-name: CanUpdate - capacity: - description: 存储大小 - format: int64 - type: integer - x-go-name: Capacity - cloud_env: - description: 云环境 - example: public - type: string - x-go-name: CloudEnv - cloudregion: - description: 区域的名称 - type: string - x-go-name: Cloudregion - cloudregion_id: - description: 可用区的区域ID - type: string - x-go-name: CloudregionId - cmtbound: - description: 超售比 - format: float - type: number - x-go-name: Cmtbound - config: - description: 配置信息 - type: object - x-go-name: Config - delete_fail_reason: - $ref: '#/definitions/Error' - enabled: - description: 是否启用 - type: boolean - x-go-name: Enabled - environment: - description: Environment - type: string - x-go-name: Environment - free_capacity: - description: 可用存储大小 - format: int64 - type: integer - x-go-name: FreeCapacity - guest_disk_count: - format: int64 - type: integer - x-go-name: GuestDiskCount - host: - description: 宿主机名称 - type: string - x-go-name: Host - host_enabled: - description: 宿主是否启用 - type: boolean - x-go-name: HostEnabled - host_id: - description: 宿主机Id - type: string - x-go-name: HostId - host_service_status: - description: 宿主机服务状态` - type: string - x-go-name: HostServiceStatus - host_sn: - description: 宿主机序列号 - type: string - x-go-name: HostSN - host_status: - description: 宿主机状态 - type: string - x-go-name: HostStatus - host_type: - description: 宿主机类型 - type: string - x-go-name: HostType - imagecache_path: - description: 镜像缓存路径 - type: string - x-go-name: ImagecachePath - is_root_partition: - description: 是否是根分区 - type: boolean - x-go-name: IsRootPartition - manager: - description: 云订阅名称 - example: google-account - type: string - x-go-name: Manager - manager_domain: - description: 子订阅所在域名称 - example: Default - type: string - x-go-name: ManagerDomain - manager_domain_id: - description: 子订阅所在域Id - example: default - type: string - x-go-name: ManagerDomainId - manager_id: - description: 归属云订阅ID - type: string - x-go-name: ManagerId - manager_project: - description: 子订阅所在项目名称 - example: system - type: string - x-go-name: ManagerProject - manager_project_id: - description: 子订阅所在项目Id - example: 4d3c8979-9dd0-439b-8d78-36fe1ab1666c - type: string - x-go-name: ManagerProjectId - medium_type: - description: 介质类型 - example: ssd - type: string - x-go-name: MediumType - mount_point: - description: |- - 挂载点 - nvme pci address - type: string - x-go-name: MountPoint - provider: - description: 云平台名称 - example: Google - type: string - x-go-name: Provider - real_capacity: - description: 真实容量大小 - format: int64 - type: integer - x-go-name: RealCapacity - region: - description: 区域的名称 - example: Default - type: string - x-go-name: Region - region_ext_id: - description: 纳管云区域的Id - example: 59e7bc87-a6b3-4c39-8f02-c68e8243d4e4 - type: string - x-go-name: RegionExtId - region_external_id: - description: 纳管云区域的组合Id(平台+Id) - example: ZStack/59e7bc87-a6b3-4c39-8f02-c68e8243d4e4 - type: string - x-go-name: RegionExternalId - region_id: - description: 区域的Id - example: default - type: string - x-go-name: RegionId - storage: - description: 存储名称 - type: string - x-go-name: Storage - storage_conf: - description: 存储配置信息 - type: object - x-go-name: StorageConf - storage_id: - description: 存储Id - type: string - x-go-name: StorageId - storage_type: - description: 存储类型 - example: local - type: string - x-go-name: StorageType - storagecache_id: - description: 存储缓存Id - type: string - x-go-name: StoragecacheId - update_fail_reason: - $ref: '#/definitions/Error' - used_capacity: - description: 已使用存储大小 - format: int64 - type: integer - x-go-name: UsedCapacity - waste_capacity: - description: 浪费存储大小(异常磁盘总大小) - format: int64 - type: integer - x-go-name: WasteCapacity - zone: - description: 可用区名称 - example: 北京一区 - type: string - x-go-name: Zone - zone_ext_id: - description: 纳管云的zoneId - type: string - x-go-name: ZoneExtId - zone_id: - description: 归属可用区ID - type: string - x-go-name: ZoneId - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute IPAllocationDirection: type: string x-go-package: yunion.io/x/onecloud/pkg/apis/compute @@ -17555,6 +17088,18 @@ definitions: description: 宿主机名称 type: string x-go-name: Host + host_access_ip: + description: 宿主机管理IP + type: string + x-go-name: HostAccessIp + host_billing_type: + description: 宿主机计费类型 + type: string + x-go-name: HostBillingType + host_eip: + description: 宿主机公网IP(如果有) + type: string + x-go-name: HostEIP host_enabled: description: 宿主是否启用 type: boolean @@ -17562,6 +17107,9 @@ definitions: host_id: type: string x-go-name: HostId + host_resource_type: + type: string + x-go-name: HostResourceType host_service_status: description: 宿主机服务状态` type: string @@ -17644,6 +17192,21 @@ definitions: description: '# Specific device name read from lspci command, e.g. `Tesla K40m` ...' type: string x-go-name: Model + mps_memory_limit: + description: MPS perdevice memory limit MB + format: int64 + type: integer + x-go-name: MpsMemoryLimit + mps_memory_total: + description: MPS device memory total MB + format: int64 + type: integer + x-go-name: MpsMemoryTotal + mps_thread_percentage: + description: MPS device thread percentage + format: int64 + type: integer + x-go-name: MpsThreadPercentage name: description: 资源名称 type: string @@ -21437,10 +21000,6 @@ definitions: description: 是否是系统资源 type: boolean x-go-name: IsSystem - lb_info: - description: LB的其他配置信息 - type: object - x-go-name: LBInfo loadbalancer_spec: description: 套餐名称 type: string @@ -21774,8 +21333,8 @@ definitions: health_check_type: enum: - tcp - - ' udp' - - ' http' + - udp + - http type: string x-go-name: HealthCheckType http_request_rate: @@ -22835,8 +22394,8 @@ definitions: health_check_type: enum: - tcp - - ' udp' - - ' http' + - udp + - http type: string x-go-name: HealthCheckType http_request_rate: @@ -24889,7 +24448,7 @@ definitions: description: 计费方式 enum: - postpaid - - ' prepaid' + - prepaid type: string x-go-name: BillingType description: @@ -24926,7 +24485,7 @@ definitions: description: 弹性公网IP计费类型 enum: - bandwidth - - ' traffic' + - traffic type: string x-go-name: EipChargeType expired_at: @@ -25806,8 +25365,7 @@ definitions: type: array x-go-name: Macs net_type: - type: string - x-go-name: NetType + $ref: '#/definitions/TNetworkType' network: description: 子网名称或ID type: string @@ -25816,6 +25374,8 @@ definitions: format: int64 type: integer x-go-name: NumQueues + port_mappings: + $ref: '#/definitions/GuestPortMappings' private: type: boolean x-go-name: Private @@ -26014,15 +25574,7 @@ definitions: type: string x-go-name: PublicScope server_type: - default: guest - description: 'description: server type' - enum: - - guest - - baremetal - - pxe - - ipmi - type: string - x-go-name: ServerType + $ref: '#/definitions/TNetworkType' status: description: 用来存储资源的状态 type: string @@ -27031,8 +26583,7 @@ definitions: type: string x-go-name: Name server_type: - type: string - x-go-name: ServerType + $ref: '#/definitions/TNetworkType' status: type: string x-go-name: Status @@ -27055,8 +26606,7 @@ definitions: type: integer x-go-name: Mask server_type: - type: string - x-go-name: ServerType + $ref: '#/definitions/TNetworkType' type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute NetworkUpdateInput: @@ -27130,6 +26680,8 @@ definitions: format: float type: number x-go-name: Progress + server_type: + $ref: '#/definitions/TNetworkType' vlan_id: format: int64 type: integer @@ -27244,6 +26796,10 @@ definitions: type: string type: array x-go-name: CgroupDevicesAllow + cgroup_pids_max: + format: int64 + type: integer + x-go-name: CgroupPidsMax command: description: Command to execute (i.e., entrypoint for docker) items: @@ -27255,6 +26811,9 @@ definitions: $ref: '#/definitions/ContainerDevice' type: array x-go-name: Devices + disable_no_new_privs: + type: boolean + x-go-name: DisableNoNewPrivs enable_lxcfs: description: Enable lxcfs type: boolean @@ -27280,9 +26839,19 @@ definitions: privileged: type: boolean x-go-name: Privileged + resources_limit: + $ref: '#/definitions/ContainerResources' + security_context: + $ref: '#/definitions/ContainerSecurityContext' + shm_size_mb: + format: int64 + type: integer + x-go-name: ShmSizeMB simulate_cpu: type: boolean x-go-name: SimulateCpu + startup_probe: + $ref: '#/definitions/ContainerProbe' volume_mounts: description: Volume mounts items: @@ -27295,6 +26864,22 @@ definitions: x-go-name: WorkingDir type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute + PodContainerDesc: + properties: + id: + type: string + x-go-name: Id + image: + type: string + x-go-name: Image + name: + type: string + x-go-name: Name + status: + type: string + x-go-name: Status + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute PodCreateInput: properties: containers: @@ -27302,47 +26887,22 @@ definitions: $ref: '#/definitions/PodContainerCreateInput' type: array x-go-name: Containers - port_mappings: - items: - $ref: '#/definitions/PodPortMapping' - type: array - x-go-name: PortMappings + security_context: + $ref: '#/definitions/PodSecurityContext' type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - PodPortMapping: + PodSecurityContext: properties: - container_port: + run_as_group: format: int64 type: integer - x-go-name: ContainerPort - host_ip: - type: string - x-go-name: HostIp - host_port: + x-go-name: RunAsGroup + run_as_user: format: int64 type: integer - x-go-name: HostPort - host_port_range: - $ref: '#/definitions/PodPortMappingPortRange' - protocol: - $ref: '#/definitions/PodPortMappingProtocol' + x-go-name: RunAsUser type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - PodPortMappingPortRange: - properties: - end: - format: int64 - type: integer - x-go-name: End - start: - format: int64 - type: integer - x-go-name: Start - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute - PodPortMappingProtocol: - type: string - x-go-package: yunion.io/x/onecloud/pkg/apis/compute PolicyAssignmentCreateInput: properties: created_at: @@ -27993,6 +27553,15 @@ definitions: x-go-name: Tables type: object x-go-package: yunion.io/x/onecloud/pkg/apis + RedfishSystemInfo: + properties: + info: + x-go-name: Info + path: + type: string + x-go-name: Path + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/baremetal RenewInput: properties: duration: @@ -28232,6 +27801,18 @@ definitions: ResourceBaseUpdateInput: type: object x-go-package: yunion.io/x/onecloud/pkg/apis + RootDiskMatcherSizeMBRange: + properties: + end: + format: int64 + type: integer + x-go-name: End + start: + format: int64 + type: integer + x-go-name: Start + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute RouteTableCreateInput: properties: __meta__: @@ -28686,6 +28267,206 @@ definitions: type: string type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute + SBackupDiskConfig: + properties: + backend: + description: |- + 后端存储类型,若指定了存储ID,此参数会根据存储设置,若不指定,则作为调度的一个参考 + + + + 平台 | 存储类型 | 中文 | 数据盘 | 系统盘 | 可否扩容 | 可否单独创建 | 扩容步长 | 说明 | + ---- | ---- | ---- | ----- | ----- | ------- | ----------- | ------- | ----- | + Esxi |local |本地盘 |1-500GB |30~500GB | 是 | 否 | 1G | | + Esxi |nas |NAS盘 |30-3072GB |30~500GB | 是 | 否 | 1G | | + Esxi |vsan |VSAN盘 |30-3072GB |30~500GB | 是 | 否 | 1G | | + KVM |local |本地盘盘 |1-500GB |30~500GB | 是 | 否 | 1G | | + KVM |rbd |云硬盘 |1-3072GB |30~500GB | 是 | 是 | 1G | | + Azure |standard_lrs |标准 HDD |1-4095GB |30~4095GB | 是 | 是 | 1G | | + Azure |standardssd_lrs |标准 SSD |1-4095GB |30~4095GB | 是 | 是 | 1G | | + Azure |premium_lrs |高级SSD |1-4095GB |30~4095GB | 是 | 是 | 1G | | + AWS |gp2 |通用型SSD |1-16384GB |20~16384GB | 是 | 是 | 1G | | + AWS |io1 |预配置 IOPS SSD |4-16384GB |20-16384GB | 是 | 是 | 1G | | + AWS |st1 |吞吐优化HDD |500-16384GB |不支持 | 是 | 是 | 1G | | + AWS |sc1 |Cold HDD |500-16384GB |不支持 | 是 | 是 | 1G | | + AWS |standard |磁介质 |1-1024GB |20-1024GB | 是 | 是 | 1G | | + 腾讯云 |cloud_ssd |SSD云硬盘 |10-16000GB |50~500GB | 是 | 是 | 10G | | + 腾讯云 |cloud_basic |普通云硬盘 |10-16000GB |50~500GB | 是 | 是 | 10G | | + 腾讯云 |cloud_preium |高性能云硬盘 |10-16000GB |50~1024GB | 是 | 是 | 10G | | + 腾讯云 |local_basic |普通本地盘 |10-1600GB |不支持 | 否 | 否 | | | + 腾讯云 |local_ssd |SSD本地盘 |10-7000GB |部分区域套餐支持 | 否 | 否 | | | + 腾讯云 |local_pro |HDD本地盘 |跟随套餐 |部分区域套餐支持 | 否 | 否 | | | + 华为云或天翼云 |SSD |超高IO云硬盘 |10-32768GB |40~1024GB | 是 | 是 | 1G | | + 华为云或天翼云 |SAS |高IO云硬盘 |10-32768GB |40~1024GB | 是 | 是 | 1G | | + 华为云或天翼云 |SATA |普通IO云硬盘 |10-32768GB |40~1024GB | 是 | 是 | 1G | | + OpenStack |nova |nova |不支持 |30-500GB | 否 | 否 | | | + OpenStack |自定义 |... |无限制 |无限制 | 是 | 是 | 1G | | + Ucloud |CLOUD_NORMAL |普通云盘 |20-8000GB |不支持 | 是 | 是 | 1G | | + Ucloud |CLOUD_SSD |SSD云盘 |20-4000GB |20-500GB | 是 | 是 | 1G | | + Ucloud |LOCAL_NORMAL |普通本地盘 | | | 是 | 是 | 1G | | + Ucloud |LOCAL_SSD |SSD本地盘 | | | 是 | 是 | 1G | | + Ucloud |EXCLUSIVE_LOCAL_DISK |独享本地盘 | | | 是 | 是 | 1G | | + ZStack |localstorage |本地盘 | | | 是 | 是 | 1G | | + ZStack |ceph |云硬盘 | | | 是 | 是 | 1G | | + Google |local-ssd |本地SSD暂存盘 |375GB |不支持 | 否 | 否 | | 跟随实例创建,一次最多添加8个 | + Google |pd-standard |标准永久性磁盘 |10-65536GB |10-65536GB | 是 | 是 | 1G | | + Google |pd-ssd |SSD永久性磁盘 |10-65536GB |10-65536GB | 是 | 是 | 1G | | + type: string + x-go-name: Backend + backup_as_tar: + $ref: '#/definitions/DiskBackupAsTarInput' + backup_id: + type: string + x-go-name: BackupId + boot_index: + format: int8 + type: integer + x-go-name: BootIndex + cache: + description: 磁盘缓存模式 + enum: + - writeback + - none + - writethrough + type: string + x-go-name: Cache + disk_type: + description: 磁盘类型 + enum: + - sys + - data + - swap + type: string + x-go-name: DiskType + driver: + description: 磁盘驱动方式 + enum: + - virtio + - ide + - scsi + - sata + - pvscsi + type: string + x-go-name: Driver + format: + description: 磁盘存储格式 + enum: + - qcow2 + - raw + - docker + - iso + - vmdk + - vmdkflatver1 + - vmdkflatver2 + - vmdkflat + - vmdksparse + - vmdksparsever1 + - vmdksparsever2 + - vmdksepsparse + - vhd + type: string + x-go-name: Format + fs: + description: 文件系统,仅kvm支持自动格式化磁盘,私有云和公有云此参数不会生效 + enum: + - swap + - ext2 + - ext3 + - ext4 + - xfs + - ntfs + - fat + - hfsplus + type: string + x-go-name: Fs + image_encrypt_key_id: + description: 镜像加密key ID + type: string + x-go-name: ImageEncryptKeyId + image_id: + description: 镜像ID,通过镜像创建磁盘,创建虚拟机时第一块磁盘需要指定此参数 + type: string + x-go-name: ImageId + index: + default: -1 + description: 挂载到虚拟机的磁盘顺序, -1代表不挂载任何虚拟机 + format: int64 + type: integer + x-go-name: Index + iops: + description: requried:false + format: int64 + type: integer + x-go-name: Iops + medium: + default: hybird + description: |- + 介质类型 + rotate: 机械盘 + ssd: 固态硬盘 + hybird: 混合盘 + emum: [rotate, ssd, hybrid] + type: string + x-go-name: Medium + mountpoint: + description: |- + 挂载点,必须以 '/' 开头,例如 /opt 仅KVM此参数有效 + requried: false + type: string + x-go-name: Mountpoint + name: + type: string + x-go-name: Name + nvme_device: + $ref: '#/definitions/IsolatedDeviceConfig' + os_arch: + description: 操作系统CPU架构 + type: string + x-go-name: OsArch + preallocation: + default: "off" + description: |- + 预分配策略: + off: 关闭预分配,默认关闭 + metadata: 精简置备 + falloc: 厚置备延迟置零 + full: 厚置备快速置零 + type: string + x-go-name: Preallocation + schedtags: + items: + $ref: '#/definitions/SchedtagConfig' + type: array + x-go-name: Schedtags + size: + description: |- + 磁盘大小,单位Mb + 若创建裸金属服务器是, -1代表自动向后扩展存储 + requried:true + format: int64 + type: integer + x-go-name: SizeMb + snapshot_id: + description: 快照ID,通过快照创建磁盘,此参数必须加上 'snapshot-' 前缀 + example: snapshot-3140cecb-ccc4-4865-abae-3a5ba8c69d9b + type: string + x-go-name: SnapshotId + storage_id: + description: |- + 存储ID, 指定存储后,磁盘会在此存储上创建 + 存储列表可以参数 storage 列表API + type: string + x-go-name: Storage + throughput: + description: |- + 磁盘吞吐量, 仅对aws gp3生效 + 范围: 125-1000 + format: int64 + type: integer + x-go-name: Throughput + title: SBackupDiskConfig is an autogenerated struct via yunion.io/x/onecloud/pkg/compute/models.SBackupDiskConfig. + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute SBucketAccessUrl: properties: Description: @@ -28816,10 +28597,6 @@ definitions: Dcs: description: 分布式缓存服务 type: string - DefaultRegion: - description: 默认区域Id, Apara及HCSO需要此参数 - example: cn-north-2 - type: string DefaultSubnetDns: description: 默认DNS example: 10.125.0.26,10.125.0.27 @@ -28858,6 +28635,8 @@ definitions: Rds: description: 关系型数据库 RDS type: string + RegionId: + type: string SfsTurbo: description: 文件系统 type: string @@ -28969,7 +28748,6 @@ definitions: x-go-name: Username required: - EndpointDomain - - DefaultRegion type: object x-go-package: yunion.io/x/cloudmux/pkg/cloudprovider SDBInstanceAccountPrivilege: @@ -29153,7 +28931,7 @@ definitions: OpenStack | traffic | enum: - traffic - - ' bandwidth' + - bandwidth type: string x-go-name: ChargeType cloudregion_id: @@ -29424,6 +29202,10 @@ definitions: description: 启动顺序 type: string x-go-name: BootOrder + cpu_numa_pin: + description: CPU 内存绑定信息 + type: object + x-go-name: CpuNumaPin cpu_sockets: description: CPU插槽(socket)的数量 format: int64 @@ -29522,6 +29304,11 @@ definitions: description: 秘钥对Id type: string x-go-name: KeypairId + last_start_at: + description: 上次开机时间 + format: date-time + type: string + x-go-name: LastStartAt machine: type: string x-go-name: Machine @@ -29652,6 +29439,11 @@ definitions: format: int64 type: integer x-go-name: MemoryUsedMb + qga_running_guests: + items: + type: string + type: array + x-go-name: QgaRunningGuestIds root_partition_used_capacity_mb: format: int64 type: integer @@ -29865,6 +29657,21 @@ definitions: description: '# Specific device name read from lspci command, e.g. `Tesla K40m` ...' type: string x-go-name: Model + mps_memory_limit: + description: MPS perdevice memory limit MB + format: int64 + type: integer + x-go-name: MpsMemoryLimit + mps_memory_total: + description: MPS device memory total MB + format: int64 + type: integer + x-go-name: MpsMemoryTotal + mps_thread_percentage: + description: MPS device thread percentage + format: int64 + type: integer + x-go-name: MpsThreadPercentage name: description: 资源名称 type: string @@ -30950,7 +30757,7 @@ definitions: allow: 允许 enum: - deny - - ' allow' + - allow type: string x-go-name: Action cidr: @@ -30969,7 +30776,7 @@ definitions: description: 方向 enum: - in - - ' out' + - out type: string x-go-name: Direction ports: @@ -30996,9 +30803,9 @@ definitions: description: 协议 enum: - any - - ' tcp' - - ' udp' - - ' icmp' + - tcp + - udp + - icmp type: string x-go-name: Protocol secgroup_id: @@ -31026,7 +30833,7 @@ definitions: allow: 允许 enum: - deny - - ' allow' + - allow type: string x-go-name: Action cidr: @@ -31052,9 +30859,9 @@ definitions: description: 协议 enum: - any - - ' tcp' - - ' udp' - - ' icmp' + - tcp + - udp + - icmp type: string x-go-name: Protocol required: @@ -32678,8 +32485,8 @@ definitions: description: 动态标签策略 enum: - exclude - - ' prefer' - - ' avoid' + - prefer + - avoid type: string x-go-name: DefaultStrategy description: @@ -32726,8 +32533,8 @@ definitions: description: 资源类型 enum: - servers - - ' hosts' - - ' .....' + - hosts + - '....' type: string x-go-name: ResourceType scope: @@ -33440,6 +33247,9 @@ definitions: mac: type: string x-go-name: Mac + no_sync: + type: boolean + x-go-name: NoSync type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute ServerChangeConfigInput: @@ -33608,6 +33418,8 @@ definitions: $ref: '#/definitions/BaremetalDiskConfig' type: array x-go-name: BaremetalDiskConfigs + baremetal_root_disk_matcher: + $ref: '#/definitions/BaremetalRootDiskMatcher' bios: description: |- BIOS类型, 若镜像是Windows,并且支持UEFI,则自动会设置为UEFI @@ -33821,6 +33633,7 @@ definitions: type: string x-go-name: InstanceType is_daemon: + default: false description: 设置为 daemon 虚机 type: boolean x-go-name: IsDaemon @@ -33909,6 +33722,10 @@ definitions: description: 指定项目的名称或ID type: string x-go-name: ProjectId + provider: + description: 'swagger: ignore' + type: string + x-go-name: Provider public_ip_bw: description: |- 公网IP带宽(单位MB) @@ -33961,7 +33778,10 @@ definitions: description: |- 关机后执行的操作 terminate: 关机后自动删除 - emum: stop, terminate + enum: + - stop + - terminate + - stop_release_gpu type: string x-go-name: ShutdownBehavior status: @@ -33990,16 +33810,16 @@ definitions: description: 远程连接协议 enum: - vnc - - ' spice' + - spice type: string x-go-name: Vdi vga: default: std enum: - cirros - - ' vmware' - - ' qxl' - - ' std' + - vmware + - qxl + - std type: string x-go-name: Vga vmem_size: @@ -34075,6 +33895,10 @@ definitions: description: 秘钥Id type: string x-go-name: KeypairId + login_account: + description: 'swagger: ignore' + type: string + x-go-name: LoginAccount password: description: 重置指定密码 type: string @@ -34168,11 +33992,6 @@ definitions: description: 系统管理员可见的安全组规则 type: string x-go-name: AdminSecurityRules - attach_time: - description: list - format: date-time - type: string - x-go-name: AttachTime auto_delete_at: description: 自动释放时间 format: date-time @@ -34259,6 +34078,16 @@ definitions: description: 可用区的区域ID type: string x-go-name: CloudregionId + containers: + description: 容器描述信息 + items: + $ref: '#/definitions/PodContainerDesc' + type: array + x-go-name: Containers + cpu_numa_pin: + description: CPU 内存绑定信息 + type: object + x-go-name: CpuNumaPin cpu_sockets: description: CPU插槽(socket)的数量 format: int64 @@ -34390,6 +34219,18 @@ definitions: description: 宿主机名称 type: string x-go-name: Host + host_access_ip: + description: 宿主机管理IP + type: string + x-go-name: HostAccessIp + host_billing_type: + description: 宿主机计费类型 + type: string + x-go-name: HostBillingType + host_eip: + description: 宿主机公网IP(如果有) + type: string + x-go-name: HostEIP host_enabled: description: 宿主是否启用 type: boolean @@ -34397,6 +34238,9 @@ definitions: host_id: type: string x-go-name: HostId + host_resource_type: + type: string + x-go-name: HostResourceType host_service_status: description: 宿主机服务状态` type: string @@ -34479,6 +34323,11 @@ definitions: description: 秘钥对Id type: string x-go-name: KeypairId + last_start_at: + description: 上次开机时间 + format: date-time + type: string + x-go-name: LastStartAt machine: type: string x-go-name: Machine @@ -34998,6 +34847,9 @@ definitions: prefer_host_id: type: string x-go-name: PreferHostId + reset_cpu_numa_pin: + type: boolean + x-go-name: ResetCpuNumaPin skip_cpu_check: type: boolean x-go-name: SkipCpuCheck @@ -35129,6 +34981,10 @@ definitions: description: 秘钥Id type: string x-go-name: KeypairId + login_account: + description: 'swagger: ignore' + type: string + x-go-name: LoginAccount password: description: 重置指定密码 type: string @@ -35875,6 +35731,12 @@ definitions: name: type: string x-go-name: Name + prefer_host_id: + description: |- + Perfer clone destination host + 指定期望的迁移目标宿主机 + type: string + x-go-name: PreferHostId type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute ServerStopInput: @@ -35889,6 +35751,11 @@ definitions: 目前仅阿里云,腾讯云此参数生效 type: boolean x-go-name: StopCharging + timeout_secs: + description: 关机等待时间,如果是强制关机,则等待时间为0,如果不设置,默认为30秒 + format: int64 + type: integer + x-go-name: TimeoutSecs type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute ServerUpdateInput: @@ -37244,6 +37111,9 @@ definitions: description: 资源描述信息 type: string x-go-name: Description + disk_backup_id: + type: string + x-go-name: DiskBackupId disk_id: description: 磁盘Id type: string @@ -37482,6 +37352,10 @@ definitions: description: 资源状态 type: string x-go-name: Status + storage: + description: 存储名称 + type: string + x-go-name: Storage storage_id: description: Only onecloud has StorageId type: string @@ -38174,8 +38048,8 @@ definitions: description: 存储介质类型 enum: - rotate - - ' ssd' - - ' hybird' + - ssd + - hybird type: string x-go-name: MediumType name: @@ -38266,9 +38140,9 @@ definitions: 计算节点会验证参数,若挂载失败,宿主机和存储不会关联,可以通过查看存储日志查找挂载失败原因 enum: - local - - ' rbd' - - ' nfs' - - ' gpfs' + - rbd + - nfs + - gpfs type: string x-go-name: StorageType zone_id: @@ -38665,6 +38539,28 @@ definitions: type: string type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute + StorageInfo: + properties: + id: + type: string + x-go-name: Id + medium_type: + type: string + x-go-name: MediumType + name: + type: string + x-go-name: Name + storage_type: + type: string + x-go-name: StorageType + zone: + type: string + x-go-name: Zone + zone_id: + type: string + x-go-name: ZoneId + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/compute StorageShortDesc: properties: capacity_mb: @@ -38937,6 +38833,10 @@ definitions: description: 缓存镜像名称 type: string x-go-name: Cachedimage + cachedimage_id: + description: 镜像缓存Id + type: string + x-go-name: CachedimageId can_delete: description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 example: true @@ -38947,25 +38847,64 @@ definitions: example: true type: boolean x-go-name: CanUpdate + cdrom_reference: + description: Cdrom引用次数 + format: int64 + type: integer + x-go-name: CdromReference cloud_env: description: 云环境 example: public type: string x-go-name: CloudEnv + created_at: + description: 资源创建时间 + format: date-time + type: string + x-go-name: CreatedAt delete_fail_reason: $ref: '#/definitions/Error' + deleted: + description: 资源是否被删除 + type: boolean + x-go-name: Deleted + deleted_at: + description: 资源删除时间 + format: date-time + type: string + x-go-name: DeletedAt + disk_reference: + description: Disk引用次数 + format: int64 + type: integer + x-go-name: DiskReference + download_refcnt: + description: 下载引用次数 + format: int64 + type: integer + x-go-name: DownloadRefcnt environment: description: Environment type: string x-go-name: Environment - host: - description: 通过一致性哈希获取的一个宿主机详情 - type: object - x-go-name: Host + external_id: + description: 云上Id, 对应云上资源自身Id + type: string + x-go-name: ExternalId image: description: 镜像名称 type: string x-go-name: Image + imported_at: + description: 资源导入时间 + format: date-time + type: string + x-go-name: ImportedAt + last_download: + description: 上次下载时间 + format: date-time + type: string + x-go-name: LastDownload manager: description: 云订阅名称 example: google-account @@ -38995,6 +38934,9 @@ definitions: example: 4d3c8979-9dd0-439b-8d78-36fe1ab1666c type: string x-go-name: ManagerProjectId + path: + type: string + x-go-name: Path provider: description: 云平台名称 example: Google @@ -39005,23 +38947,55 @@ definitions: format: int64 type: integer x-go-name: Reference + row_id: + format: int64 + type: integer + x-go-name: RowId size: description: 镜像大小 format: int64 type: integer x-go-name: Size + source: + description: '资源来源, cloud: 从云上同步下来的资源, local: 从本地创建的资源或资源在本地更改过项目' + type: string + x-go-name: Source + status: + description: 镜像状态 + type: string + x-go-name: Status + storage_info: + description: 关联存储信息 + items: + $ref: '#/definitions/StorageInfo' + type: array + x-go-name: StorageInfo storagecache: description: 存储缓存名称 type: string x-go-name: Storagecache + storagecache_id: + description: 存储缓存Id + type: string + x-go-name: StoragecacheId storages: - description: 存储列表 + description: 关联存储名称 items: type: string type: array x-go-name: Storages update_fail_reason: $ref: '#/definitions/Error' + update_version: + description: 资源被更新次数 + format: int64 + type: integer + x-go-name: UpdateVersion + updated_at: + description: 资源更新时间 + format: date-time + type: string + x-go-name: UpdatedAt type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute SubAccounts: @@ -39116,9 +39090,6 @@ definitions: SyncstatusInput: type: object x-go-package: yunion.io/x/onecloud/pkg/apis - TBackupStorageType: - type: string - x-go-package: yunion.io/x/onecloud/pkg/apis/compute TBucketACLType: type: string x-go-package: yunion.io/x/cloudmux/pkg/cloudprovider @@ -39134,6 +39105,9 @@ definitions: description: 备份方式 type: string x-go-package: yunion.io/x/cloudmux/pkg/cloudprovider + TNetworkType: + type: string + x-go-package: yunion.io/x/onecloud/pkg/apis/compute TNicType: type: string x-go-package: yunion.io/x/cloudmux/pkg/apis/compute @@ -39409,6 +39383,10 @@ definitions: x-go-name: ExecTime type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute + URIScheme: + description: URIScheme identifies the scheme used for connection to a host for Get actions + type: string + x-go-package: yunion.io/x/onecloud/pkg/apis VSwitch: properties: distributed: @@ -39437,6 +39415,30 @@ definitions: x-go-name: Name type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute + ValidateIPMIRequest: + properties: + ip: + type: string + x-go-name: Ip + password: + type: string + x-go-name: Password + username: + type: string + x-go-name: Username + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/baremetal + ValidateIPMIResponse: + properties: + ipmi_system_info: + x-go-name: IPMISystemInfo + is_redfish_supported: + type: boolean + x-go-name: IsRedfishSupported + redfish_system_info: + $ref: '#/definitions/RedfishSystemInfo' + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/baremetal VirtualJointResourceBaseDetails: properties: can_delete: @@ -40266,7 +40268,7 @@ definitions: title: WafAddresses is an autogenerated struct via yunion.io/x/cloudmux/pkg/cloudprovider.WafAddresses. type: array x-go-package: yunion.io/x/onecloud/pkg/apis/cloudprovider - WafIPSetCacheDetails: + WafIPSetDetails: properties: account: description: 云账号名称 @@ -40289,6 +40291,8 @@ definitions: description: 云账号状态 type: string x-go-name: AccountStatus + addresses: + $ref: '#/definitions/WafAddresses' brand: description: 云平台品牌 example: Google @@ -40337,6 +40341,15 @@ definitions: description: 资源描述信息 type: string x-go-name: Description + domain_id: + description: 域Id + type: string + x-go-name: DomainId + domain_src: + description: '归属Domain信息的来源, local: 本地设置, cloud: 从云上同步过来' + example: local + type: string + x-go-name: DomainSrc environment: description: Environment type: string @@ -40360,6 +40373,10 @@ definitions: list 接口默认不会返回这类资源,除非显示指定 is_emulate=true 过滤参数 type: boolean x-go-name: IsEmulated + is_public: + description: 是否共享 + type: boolean + x-go-name: IsPublic manager: description: 云订阅名称 example: google-account @@ -40404,11 +40421,24 @@ definitions: format: float type: number x-go-name: Progress + project_domain: + description: 资源归属项目的域名称 + type: string + x-go-name: ProjectDomain provider: description: 云平台名称 example: Google type: string x-go-name: Provider + public_scope: + description: 默认共享范围 + type: string + x-go-name: PublicScope + public_src: + description: '共享设置的来源, local: 本地设置, cloud: 从云上同步过来' + example: local + type: string + x-go-name: PublicSrc region: description: 区域的名称 example: Default @@ -40429,119 +40459,6 @@ definitions: example: default type: string x-go-name: RegionId - source: - description: '资源来源, cloud: 从云上同步下来的资源, local: 从本地创建的资源或资源在本地更改过项目' - type: string - x-go-name: Source - status: - description: 资源状态 - type: string - x-go-name: Status - type: - type: string - x-go-name: Type - update_fail_reason: - $ref: '#/definitions/Error' - update_version: - description: 资源被更新次数 - format: int64 - type: integer - x-go-name: UpdateVersion - updated_at: - description: 资源更新时间 - format: date-time - type: string - x-go-name: UpdatedAt - waf_ip_set_id: - type: string - x-go-name: WafIPSetId - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute - WafIPSetDetails: - properties: - addresses: - $ref: '#/definitions/WafAddresses' - can_delete: - description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 - example: true - type: boolean - x-go-name: CanDelete - can_update: - description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因 - example: true - type: boolean - x-go-name: CanUpdate - created_at: - description: 资源创建时间 - format: date-time - type: string - x-go-name: CreatedAt - delete_fail_reason: - $ref: '#/definitions/Error' - deleted: - description: 资源是否被删除 - type: boolean - x-go-name: Deleted - deleted_at: - description: 资源删除时间 - format: date-time - type: string - x-go-name: DeletedAt - description: - description: 资源描述信息 - type: string - x-go-name: Description - domain_id: - description: 域Id - type: string - x-go-name: DomainId - domain_src: - description: '归属Domain信息的来源, local: 本地设置, cloud: 从云上同步过来' - example: local - type: string - x-go-name: DomainSrc - id: - description: 资源UUID - type: string - x-go-name: Id - is_emulated: - description: |- - 是否是模拟资源, 部分从公有云上同步的资源并不真实存在, 例如宿主机 - list 接口默认不会返回这类资源,除非显示指定 is_emulate=true 过滤参数 - type: boolean - x-go-name: IsEmulated - is_public: - description: 是否共享 - type: boolean - x-go-name: IsPublic - metadata: - additionalProperties: - type: string - description: 标签 - type: object - x-go-name: Metadata - name: - description: 资源名称 - type: string - x-go-name: Name - progress: - description: 操作进度0-100 - format: float - type: number - x-go-name: Progress - project_domain: - description: 资源归属项目的域名称 - type: string - x-go-name: ProjectDomain - public_scope: - description: 默认共享范围 - type: string - x-go-name: PublicScope - public_src: - description: '共享设置的来源, local: 本地设置, cloud: 从云上同步过来' - example: local - type: string - x-go-name: PublicSrc shared_domains: description: 共享的域列表 items: @@ -40554,10 +40471,17 @@ definitions: $ref: '#/definitions/SharedProject' type: array x-go-name: SharedProjects + source: + description: '资源来源, cloud: 从云上同步下来的资源, local: 从本地创建的资源或资源在本地更改过项目' + type: string + x-go-name: Source status: description: 资源状态 type: string x-go-name: Status + type: + type: string + x-go-name: Type update_fail_reason: $ref: '#/definitions/Error' update_version: @@ -40668,6 +40592,11 @@ definitions: items: $ref: '#/definitions/SWafRule' type: array + access_headers: + items: + type: string + type: array + x-go-name: AccessHeaders account: description: 云账号名称 example: google-account @@ -40704,6 +40633,18 @@ definitions: example: true type: boolean x-go-name: CanUpdate + cc_list: + description: 回源地址 + items: + type: string + type: array + x-go-name: CcList + cert_id: + type: string + x-go-name: CertId + cert_name: + type: string + x-go-name: CertName cloud_env: description: 云环境 example: public @@ -40717,6 +40658,9 @@ definitions: description: 归属区域ID type: string x-go-name: CloudregionId + cname: + type: string + x-go-name: Cname created_at: description: 资源创建时间 format: date-time @@ -40760,6 +40704,18 @@ definitions: description: 云上Id, 对应云上资源自身Id type: string x-go-name: ExternalId + http_ports: + items: + format: int64 + type: integer + type: array + x-go-name: HttpPorts + https_ports: + items: + format: int64 + type: integer + type: array + x-go-name: HttpsPorts id: description: 资源UUID type: string @@ -40769,6 +40725,10 @@ definitions: format: date-time type: string x-go-name: ImportedAt + is_access_product: + description: 前面是否有代理服务 + type: boolean + x-go-name: IsAccessProduct is_emulated: description: |- 是否是模拟资源, 部分从公有云上同步的资源并不真实存在, 例如宿主机 @@ -40877,6 +40837,12 @@ definitions: description: '资源来源, cloud: 从云上同步下来的资源, local: 从本地创建的资源或资源在本地更改过项目' type: string x-go-name: Source + source_ips: + description: 源站地址 + items: + type: string + type: array + x-go-name: SourceIps status: description: 资源状态 type: string @@ -40896,6 +40862,13 @@ definitions: format: date-time type: string x-go-name: UpdatedAt + upstream_port: + format: int64 + type: integer + x-go-name: UpstreamPort + upstream_scheme: + type: string + x-go-name: UpstreamScheme type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute WafRegexPatterns: @@ -40904,7 +40877,7 @@ definitions: title: WafRegexPatterns is an autogenerated struct via yunion.io/x/cloudmux/pkg/cloudprovider.WafRegexPatterns. type: array x-go-package: yunion.io/x/onecloud/pkg/apis/cloudprovider - WafRegexSetCacheDetails: + WafRegexSetDetails: properties: account: description: 云账号名称 @@ -40975,6 +40948,15 @@ definitions: description: 资源描述信息 type: string x-go-name: Description + domain_id: + description: 域Id + type: string + x-go-name: DomainId + domain_src: + description: '归属Domain信息的来源, local: 本地设置, cloud: 从云上同步过来' + example: local + type: string + x-go-name: DomainSrc environment: description: Environment type: string @@ -40998,6 +40980,10 @@ definitions: list 接口默认不会返回这类资源,除非显示指定 is_emulate=true 过滤参数 type: boolean x-go-name: IsEmulated + is_public: + description: 是否共享 + type: boolean + x-go-name: IsPublic manager: description: 云订阅名称 example: google-account @@ -41042,11 +41028,26 @@ definitions: format: float type: number x-go-name: Progress + project_domain: + description: 资源归属项目的域名称 + type: string + x-go-name: ProjectDomain provider: description: 云平台名称 example: Google type: string x-go-name: Provider + public_scope: + description: 默认共享范围 + type: string + x-go-name: PublicScope + public_src: + description: '共享设置的来源, local: 本地设置, cloud: 从云上同步过来' + example: local + type: string + x-go-name: PublicSrc + regex_patterns: + $ref: '#/definitions/WafRegexPatterns' region: description: 区域的名称 example: Default @@ -41067,119 +41068,6 @@ definitions: example: default type: string x-go-name: RegionId - source: - description: '资源来源, cloud: 从云上同步下来的资源, local: 从本地创建的资源或资源在本地更改过项目' - type: string - x-go-name: Source - status: - description: 资源状态 - type: string - x-go-name: Status - type: - type: string - x-go-name: Type - update_fail_reason: - $ref: '#/definitions/Error' - update_version: - description: 资源被更新次数 - format: int64 - type: integer - x-go-name: UpdateVersion - updated_at: - description: 资源更新时间 - format: date-time - type: string - x-go-name: UpdatedAt - waf_regex_set_id: - type: string - x-go-name: WafRegexSetId - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute - WafRegexSetDetails: - properties: - can_delete: - description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 - example: true - type: boolean - x-go-name: CanDelete - can_update: - description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因 - example: true - type: boolean - x-go-name: CanUpdate - created_at: - description: 资源创建时间 - format: date-time - type: string - x-go-name: CreatedAt - delete_fail_reason: - $ref: '#/definitions/Error' - deleted: - description: 资源是否被删除 - type: boolean - x-go-name: Deleted - deleted_at: - description: 资源删除时间 - format: date-time - type: string - x-go-name: DeletedAt - description: - description: 资源描述信息 - type: string - x-go-name: Description - domain_id: - description: 域Id - type: string - x-go-name: DomainId - domain_src: - description: '归属Domain信息的来源, local: 本地设置, cloud: 从云上同步过来' - example: local - type: string - x-go-name: DomainSrc - id: - description: 资源UUID - type: string - x-go-name: Id - is_emulated: - description: |- - 是否是模拟资源, 部分从公有云上同步的资源并不真实存在, 例如宿主机 - list 接口默认不会返回这类资源,除非显示指定 is_emulate=true 过滤参数 - type: boolean - x-go-name: IsEmulated - is_public: - description: 是否共享 - type: boolean - x-go-name: IsPublic - metadata: - additionalProperties: - type: string - description: 标签 - type: object - x-go-name: Metadata - name: - description: 资源名称 - type: string - x-go-name: Name - progress: - description: 操作进度0-100 - format: float - type: number - x-go-name: Progress - project_domain: - description: 资源归属项目的域名称 - type: string - x-go-name: ProjectDomain - public_scope: - description: 默认共享范围 - type: string - x-go-name: PublicScope - public_src: - description: '共享设置的来源, local: 本地设置, cloud: 从云上同步过来' - example: local - type: string - x-go-name: PublicSrc - regex_patterns: - $ref: '#/definitions/WafRegexPatterns' shared_domains: description: 共享的域列表 items: @@ -41192,10 +41080,17 @@ definitions: $ref: '#/definitions/SharedProject' type: array x-go-name: SharedProjects + source: + description: '资源来源, cloud: 从云上同步下来的资源, local: 从本地创建的资源或资源在本地更改过项目' + type: string + x-go-name: Source status: description: 资源状态 type: string x-go-name: Status + type: + type: string + x-go-name: Type update_fail_reason: $ref: '#/definitions/Error' update_version: @@ -41398,7 +41293,7 @@ definitions: x-go-name: WafRuleGroupId type: object x-go-package: yunion.io/x/onecloud/pkg/apis/compute - WafRuleGroupCacheDetails: + WafRuleGroupDetails: properties: account: description: 云账号名称 @@ -41469,6 +41364,15 @@ definitions: description: 资源描述信息 type: string x-go-name: Description + domain_id: + description: 域Id + type: string + x-go-name: DomainId + domain_src: + description: '归属Domain信息的来源, local: 本地设置, cloud: 从云上同步过来' + example: local + type: string + x-go-name: DomainSrc environment: description: Environment type: string @@ -41492,6 +41396,10 @@ definitions: list 接口默认不会返回这类资源,除非显示指定 is_emulate=true 过滤参数 type: boolean x-go-name: IsEmulated + is_public: + description: 是否共享 + type: boolean + x-go-name: IsPublic manager: description: 云订阅名称 example: google-account @@ -41536,11 +41444,24 @@ definitions: format: float type: number x-go-name: Progress + project_domain: + description: 资源归属项目的域名称 + type: string + x-go-name: ProjectDomain provider: description: 云平台名称 example: Google type: string x-go-name: Provider + public_scope: + description: 默认共享范围 + type: string + x-go-name: PublicScope + public_src: + description: '共享设置的来源, local: 本地设置, cloud: 从云上同步过来' + example: local + type: string + x-go-name: PublicSrc region: description: 区域的名称 example: Default @@ -41561,135 +41482,6 @@ definitions: example: default type: string x-go-name: RegionId - source: - description: '资源来源, cloud: 从云上同步下来的资源, local: 从本地创建的资源或资源在本地更改过项目' - type: string - x-go-name: Source - status: - description: 资源状态 - type: string - x-go-name: Status - type: - type: string - x-go-name: Type - update_fail_reason: - $ref: '#/definitions/Error' - update_version: - description: 资源被更新次数 - format: int64 - type: integer - x-go-name: UpdateVersion - updated_at: - description: 资源更新时间 - format: date-time - type: string - x-go-name: UpdatedAt - waf_rule_group_id: - type: string - x-go-name: WafRuleGroupId - type: object - x-go-package: yunion.io/x/onecloud/pkg/apis/compute - WafRuleGroupDetails: - properties: - can_delete: - description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 - example: true - type: boolean - x-go-name: CanDelete - can_update: - description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因 - example: true - type: boolean - x-go-name: CanUpdate - cloud_env: - type: string - x-go-name: CloudEnv - created_at: - description: 资源创建时间 - format: date-time - type: string - x-go-name: CreatedAt - delete_fail_reason: - $ref: '#/definitions/Error' - deleted: - description: 资源是否被删除 - type: boolean - x-go-name: Deleted - deleted_at: - description: 资源删除时间 - format: date-time - type: string - x-go-name: DeletedAt - description: - description: 资源描述信息 - type: string - x-go-name: Description - domain_id: - description: 域Id - type: string - x-go-name: DomainId - domain_src: - description: '归属Domain信息的来源, local: 本地设置, cloud: 从云上同步过来' - example: local - type: string - x-go-name: DomainSrc - external_id: - description: 云上Id, 对应云上资源自身Id - type: string - x-go-name: ExternalId - id: - description: 资源UUID - type: string - x-go-name: Id - imported_at: - description: 资源导入时间 - format: date-time - type: string - x-go-name: ImportedAt - is_emulated: - description: |- - 是否是模拟资源, 部分从公有云上同步的资源并不真实存在, 例如宿主机 - list 接口默认不会返回这类资源,除非显示指定 is_emulate=true 过滤参数 - type: boolean - x-go-name: IsEmulated - is_public: - description: 是否共享 - type: boolean - x-go-name: IsPublic - is_system: - type: boolean - x-go-name: IsSystem - metadata: - additionalProperties: - type: string - description: 标签 - type: object - x-go-name: Metadata - name: - description: 资源名称 - type: string - x-go-name: Name - progress: - description: 操作进度0-100 - format: float - type: number - x-go-name: Progress - project_domain: - description: 资源归属项目的域名称 - type: string - x-go-name: ProjectDomain - provider: - type: string - x-go-name: Provider - public_scope: - description: 默认共享范围 - type: string - x-go-name: PublicScope - public_src: - description: '共享设置的来源, local: 本地设置, cloud: 从云上同步过来' - example: local - type: string - x-go-name: PublicSrc shared_domains: description: 共享的域列表 items: @@ -41723,7 +41515,6 @@ definitions: type: string x-go-name: UpdatedAt waf_type: - description: 支持的WAF类型,仅is_system=true时有效 type: string x-go-name: WafType type: object @@ -42883,6 +42674,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - access_group_rule + /access_group_rules/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: access_group_rule_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/access_group_rule_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - access_group_rule /access_group_rules/purge-splitable: post: description: 执行操作PurgeSplitable @@ -43226,7 +43027,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -43763,6 +43564,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - access_group + /access_groups/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: access_group_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/access_group_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - access_group /access_groups/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -44577,6 +44388,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - app_environment + /app_environments/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: app_environment_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/app_environment_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - app_environment /app_environments/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -45017,7 +44838,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -45208,6 +45029,23 @@ paths: summary: 更新 tags: - app + /apps/{id}/backups: + get: + description: 获取指定信息Backups + operationId: app_GetDetailsBackups + parameters: + - description: The Id or Name of app + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/app_GetDetailsBackupsOutput' + summary: 获取备份列表 + tags: + - app /apps/{id}/cancel-delete: post: description: 执行操作CancelDelete @@ -45225,6 +45063,23 @@ paths: summary: 执行操作CancelDelete tags: - app + /apps/{id}/certificates: + get: + description: 获取指定信息Certificates + operationId: app_GetDetailsCertificates + parameters: + - description: The Id or Name of app + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/app_GetDetailsCertificatesOutput' + summary: 获取证书列表 + tags: + - app /apps/{id}/change-owner: post: description: 执行操作ChangeOwner @@ -45311,6 +45166,23 @@ paths: summary: 更新资源的 class 标签 tags: - app + /apps/{id}/custom-domains: + get: + description: 获取指定信息CustomDomains + operationId: app_GetDetailsCustomDomains + parameters: + - description: The Id or Name of app + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/app_GetDetailsCustomDomainsOutput' + summary: 获取自定义域列表 + tags: + - app /apps/{id}/freeze: post: description: 执行操作Freeze @@ -45336,6 +45208,23 @@ paths: summary: freezed update and perform action operation except for unfreeze tags: - app + /apps/{id}/hybird-connections: + get: + description: 获取指定信息HybirdConnections + operationId: app_GetDetailsHybirdConnections + parameters: + - description: The Id or Name of app + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/app_GetDetailsHybirdConnectionsOutput' + summary: 获取混合连接 + tags: + - app /apps/{id}/metadata: get: description: 获取指定信息Metadata @@ -45592,6 +45481,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - app + /apps/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: app_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/app_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - app /apps/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -46446,6 +46345,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - backup_storage + /backup_storages/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: backup_storage_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/backup_storage_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - backup_storage /backup_storages/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -47171,6 +47080,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - baremetalagent + /baremetalagents/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: baremetalagent_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/baremetalagent_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - baremetalagent /baremetalagents/purge-splitable: post: description: 执行操作PurgeSplitable @@ -47449,6 +47368,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - billing_resource_check + /billing_resource_checks/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: billing_resource_check_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/billing_resource_check_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - billing_resource_check /billing_resource_checks/purge-splitable: post: description: 执行操作PurgeSplitable @@ -47824,7 +47753,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -48958,6 +48887,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - bucket + /buckets/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: bucket_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/bucket_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - bucket /buckets/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -49945,6 +49884,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - cachedimage + /cachedimages/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: cachedimage_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/cachedimage_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - cachedimage /cachedimages/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -50385,7 +50334,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -50992,6 +50941,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - cdn_domain + /cdn_domains/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: cdn_domain_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/cdn_domain_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - cdn_domain /cdn_domains/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -51385,7 +51344,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -52192,6 +52151,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - cloudaccount + /cloudaccounts/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: cloudaccount_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/cloudaccount_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - cloudaccount /cloudaccounts/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -52772,6 +52741,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - cloudimage + /cloudimages/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: cloudimage_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/cloudimage_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - cloudimage /cloudimages/purge-splitable: post: description: 执行操作PurgeSplitable @@ -53051,7 +53030,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -53238,6 +53217,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - cloudproviderregion + /cloudproviderregions/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: cloudproviderregion_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/cloudproviderregion_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - cloudproviderregion /cloudproviderregions/purge-splitable: post: description: 执行操作PurgeSplitable @@ -53518,7 +53507,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -54264,6 +54253,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 @@ -54612,7 +54611,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -55230,6 +55229,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - cloudregion + /cloudregions/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: cloudregion_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/cloudregion_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - cloudregion /cloudregions/purge-splitable: post: description: 执行操作PurgeSplitable @@ -55815,6 +55824,31 @@ paths: summary: 更新资源的 class 标签 tags: - container + /containers/{id}/commit: + post: + description: 执行操作Commit + operationId: container_PerformCommit + parameters: + - description: The Id or Name of container + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + container: + $ref: '#/definitions/ContainerCommitInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/container_PerformCommitOutput' + summary: 执行操作Commit + tags: + - container /containers/{id}/exec-info: get: description: 获取指定信息ExecInfo @@ -55832,6 +55866,31 @@ paths: summary: 获取指定信息ExecInfo tags: - container + /containers/{id}/exec-sync: + post: + description: 执行操作ExecSync + operationId: container_PerformExecSync + parameters: + - description: The Id or Name of container + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + container: + $ref: '#/definitions/ContainerExecSyncInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/container_PerformExecSyncOutput' + summary: 执行操作ExecSync + tags: + - container /containers/{id}/freeze: post: description: 执行操作Freeze @@ -55992,6 +56051,31 @@ paths: summary: 全量替换资源的所有 class 标签 tags: - container + /containers/{id}/set-resources-limit: + post: + description: 执行操作SetResourcesLimit + operationId: container_PerformSetResourcesLimit + parameters: + - description: The Id or Name of container + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + container: + $ref: '#/definitions/ContainerResources' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/container_PerformSetResourcesLimitOutput' + summary: 执行操作SetResourcesLimit + tags: + - container /containers/{id}/set-user-metadata: post: description: 执行操作SetUserMetadata @@ -56075,7 +56159,7 @@ paths: responses: "200": $ref: '#/responses/container_PerformStatusOutput' - summary: 更新资源状态 + summary: 执行操作Status tags: - container /containers/{id}/stop: @@ -56155,6 +56239,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - container + /containers/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: container_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/container_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - container /containers/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -56588,7 +56682,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -57054,6 +57148,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - db_instance_account + /db_instance_accounts/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: db_instance_account_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/db_instance_account_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - db_instance_account /db_instance_accounts/purge-splitable: post: description: 执行操作PurgeSplitable @@ -57449,7 +57553,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -58041,6 +58145,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - db_instance_backup + /db_instance_backups/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: db_instance_backup_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/db_instance_backup_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - db_instance_backup /db_instance_backups/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -58474,7 +58588,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -58879,6 +58993,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - db_instance_database + /db_instance_databases/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: db_instance_database_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/db_instance_database_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - db_instance_database /db_instance_databases/purge-splitable: post: description: 执行操作PurgeSplitable @@ -58963,500 +59087,6 @@ paths: summary: 获取指定资源类的信息TagValueTree tags: - db_instance_database - /db_instance_networks: - get: - description: 列表 - operationId: db_instance_network_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为关联表column,origin_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 - - description: RDS实例(ID or Name) - in: query - name: dbinstance_id - type: string - x-go-name: DBInstanceId - - description: 以RDS实例名字排序 - in: query - name: order_by_dbinstance - type: string - x-go-name: OrderByDBInstance - - description: 关联VPC(ID或Name) - in: query - items: - type: string - name: vpc_id - type: array - x-go-name: VpcId - - description: Vpc外网访问模式 - in: query - name: external_access_mode - type: string - x-go-name: ExternalAccessMode - - description: 按VPC名称排序 - in: query - name: order_by_vpc - pattern: asc|desc - type: string - x-go-name: OrderByVpc - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - - description: 可用区ID或名称 - example: zone1 - in: query - name: zone_id - type: string - x-go-name: ZoneId - - description: 过滤处于多个指定可用区内的资源 - in: query - items: - type: string - name: zone_ids - type: array - x-go-name: ZoneIds - - description: 按可用区名称排序 - in: query - name: order_by_zone - pattern: asc|desc - type: string - x-go-name: OrderByZone - - description: 二层网络(ID或Name)的资源 - in: query - name: wire_id - type: string - x-go-name: WireId - - description: 以二层网络名称排序 - in: query - name: order_by_wire - type: string - x-go-name: OrderByWire - - description: IP子网(ID或Name) - in: query - name: network_id - type: string - x-go-name: NetworkId - - description: 以IP子网的名称排序 - in: query - name: order_by_network - type: string - x-go-name: OrderByNetwork - responses: - "200": - $ref: '#/responses/db_instance_network_ListItemFilterOutput' - summary: RDS网络列表 - tags: - - db_instance_network - post: - description: 新建 - operationId: db_instance_network_ValidateCreateData - parameters: - - in: body - name: body - schema: - properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - db_instance_network: - $ref: '#/definitions/JoinResourceBaseCreateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/db_instance_network_ValidateCreateDataOutput' - summary: 新建 - tags: - - db_instance_network - /db_instance_networks/{id}: - delete: - description: 删除 - operationId: db_instance_network_CustomizeDelete - parameters: - - description: The Id or Name of db_instance_network - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/db_instance_network_CustomizeDeleteOutput' - summary: 删除 - tags: - - db_instance_network - get: - description: 获取详情 - operationId: db_instance_network_FetchCustomizeColumns - parameters: - - description: The Id or Name of db_instance_network - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/db_instance_network_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - db_instance_network - put: - description: 更新 - operationId: db_instance_network_ValidateUpdateData - parameters: - - description: The Id or Name of db_instance_network - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - db_instance_network: - $ref: '#/definitions/VirtualJointResourceBaseUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/db_instance_network_ValidateUpdateDataOutput' - summary: 更新 - tags: - - db_instance_network - /db_instance_networks/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: db_instance_network_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/db_instance_network_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - db_instance_network - /db_instance_networks/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: db_instance_network_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - db_instance_network: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/db_instance_network_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - db_instance_network - /db_instance_networks/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: db_instance_network_GetPropertySplitable - responses: - "200": - $ref: '#/responses/db_instance_network_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - db_instance_network - /db_instance_networks/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: db_instance_network_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/db_instance_network_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - db_instance_network /db_instance_parameters: get: description: 列表 @@ -59759,7 +59389,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -60116,6 +59746,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - db_instance_parameter + /db_instance_parameters/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: db_instance_parameter_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/db_instance_parameter_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - db_instance_parameter /db_instance_parameters/purge-splitable: post: description: 执行操作PurgeSplitable @@ -60402,6 +60042,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - db_instance_privilege + /db_instance_privileges/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: db_instance_privilege_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/db_instance_privilege_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - db_instance_privilege /db_instance_privileges/purge-splitable: post: description: 执行操作PurgeSplitable @@ -60456,476 +60106,6 @@ paths: summary: 获取指定资源类的信息SplitableExport tags: - db_instance_privilege - /db_instance_secgroups: - get: - description: 列表 - operationId: db_instance_secgroup_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为关联表column,origin_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 - - description: RDS实例(ID or Name) - in: query - name: dbinstance_id - type: string - x-go-name: DBInstanceId - - description: 以RDS实例名字排序 - in: query - name: order_by_dbinstance - type: string - x-go-name: OrderByDBInstance - - description: 关联VPC(ID或Name) - in: query - items: - type: string - name: vpc_id - type: array - x-go-name: VpcId - - description: Vpc外网访问模式 - in: query - name: external_access_mode - type: string - x-go-name: ExternalAccessMode - - description: 按VPC名称排序 - in: query - name: order_by_vpc - pattern: asc|desc - type: string - x-go-name: OrderByVpc - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - - description: 过滤关联指定安全组(ID或Name)的列表结果 - in: query - name: secgroup_id - type: string - x-go-name: SecgroupId - - description: 模糊匹配安全组规则名称 - in: query - name: secgroup_name - type: string - x-go-name: SecgroupName - - description: 以安全组排序 - in: query - name: order_by_secgroup - type: string - x-go-name: OrderBySecgroup - responses: - "200": - $ref: '#/responses/db_instance_secgroup_ListItemFilterOutput' - summary: 列表 - tags: - - db_instance_secgroup - post: - description: 新建 - operationId: db_instance_secgroup_ValidateCreateData - parameters: - - in: body - name: body - schema: - properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - db_instance_secgroup: - $ref: '#/definitions/JoinResourceBaseCreateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/db_instance_secgroup_ValidateCreateDataOutput' - summary: 新建 - tags: - - db_instance_secgroup - /db_instance_secgroups/{id}: - delete: - description: 删除 - operationId: db_instance_secgroup_CustomizeDelete - parameters: - - description: The Id or Name of db_instance_secgroup - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/db_instance_secgroup_CustomizeDeleteOutput' - summary: 删除 - tags: - - db_instance_secgroup - get: - description: 获取详情 - operationId: db_instance_secgroup_FetchCustomizeColumns - parameters: - - description: The Id or Name of db_instance_secgroup - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/db_instance_secgroup_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - db_instance_secgroup - put: - description: 更新 - operationId: db_instance_secgroup_ValidateUpdateData - parameters: - - description: The Id or Name of db_instance_secgroup - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - db_instance_secgroup: - $ref: '#/definitions/VirtualJointResourceBaseUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/db_instance_secgroup_ValidateUpdateDataOutput' - summary: 更新 - tags: - - db_instance_secgroup - /db_instance_secgroups/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: db_instance_secgroup_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/db_instance_secgroup_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - db_instance_secgroup - /db_instance_secgroups/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: db_instance_secgroup_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - db_instance_secgroup: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/db_instance_secgroup_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - db_instance_secgroup - /db_instance_secgroups/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: db_instance_secgroup_GetPropertySplitable - responses: - "200": - $ref: '#/responses/db_instance_secgroup_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - db_instance_secgroup - /db_instance_secgroups/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: db_instance_secgroup_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/db_instance_secgroup_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - db_instance_secgroup /db_instance_skus: get: description: 列表 @@ -61190,7 +60370,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -61741,6 +60921,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - db_instance_sku + /db_instance_skus/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: db_instance_sku_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/db_instance_sku_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - db_instance_sku /db_instance_skus/instance-specs: get: description: 获取指定资源类的信息InstanceSpecs @@ -62228,7 +61418,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -63075,6 +62265,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - db_instance + /db_instances/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: db_instance_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/db_instance_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - db_instance /db_instances/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -63505,7 +62705,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -64116,6 +63316,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - disk_backup + /disk_backups/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: disk_backup_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/disk_backup_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - disk_backup /disk_backups/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -64662,7 +63872,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -65473,6 +64683,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - disk + /disks/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: disk_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/disk_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - disk /disks/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -65856,7 +65076,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -66308,6 +65528,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - dns_record + /dns_records/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: dns_record_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/dns_record_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - dns_record /dns_records/purge-splitable: post: description: 执行操作PurgeSplitable @@ -66596,6 +65826,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - dns_zone_vpc + /dns_zone_vpcs/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: dns_zone_vpc_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/dns_zone_vpc_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - dns_zone_vpc /dns_zone_vpcs/purge-splitable: post: description: 执行操作PurgeSplitable @@ -66966,7 +66206,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -67667,6 +66907,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - dns_zone + /dns_zones/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: dns_zone_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/dns_zone_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - dns_zone /dns_zones/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -68345,6 +67595,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - dynamicschedtag + /dynamicschedtags/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: dynamicschedtag_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/dynamicschedtag_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - dynamicschedtag /dynamicschedtags/purge-splitable: post: description: 执行操作PurgeSplitable @@ -68775,7 +68035,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -69316,6 +68576,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - elastic_search + /elastic_searches/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: elastic_search_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/elastic_search_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - elastic_search /elastic_searches/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -69744,7 +69014,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -70200,6 +69470,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - elasticcache_account + /elasticcache_accounts/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: elasticcache_account_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/elasticcache_account_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - elasticcache_account /elasticcache_accounts/purge-splitable: post: description: 执行操作PurgeSplitable @@ -70581,7 +69861,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -70986,6 +70266,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - elasticcache_acl + /elasticcache_acls/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: elasticcache_acl_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/elasticcache_acl_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - elasticcache_acl /elasticcache_acls/purge-splitable: post: description: 执行操作PurgeSplitable @@ -71364,7 +70654,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -71803,6 +71093,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - elasticcache_backup + /elasticcache_backups/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: elasticcache_backup_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/elasticcache_backup_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - elasticcache_backup /elasticcache_backups/purge-splitable: post: description: 执行操作PurgeSplitable @@ -72184,7 +71484,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -72612,6 +71912,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - elasticcache_parameter + /elasticcache_parameters/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: elasticcache_parameter_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/elasticcache_parameter_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - elasticcache_parameter /elasticcache_parameters/purge-splitable: post: description: 执行操作PurgeSplitable @@ -72945,7 +72255,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -73501,6 +72811,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - elasticcache_sku + /elasticcache_skus/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: elasticcache_sku_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/elasticcache_sku_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - elasticcache_sku /elasticcache_skus/instance-specs: get: description: 获取指定资源类的信息InstanceSpecs @@ -73988,7 +73308,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -75045,6 +74365,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - elasticcache + /elasticcaches/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: elasticcache_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/elasticcache_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - elasticcache /elasticcaches/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -75169,495 +74499,6 @@ paths: summary: 获取指定资源类的信息TagValueTree tags: - elasticcache - /elasticcachesecgroups: - get: - description: 列表 - operationId: elasticcachesecgroup_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为关联表column,origin_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 - - description: 弹性缓存实例(ID or Name) - in: query - name: elasticcache_id - type: string - x-go-name: ElasticcacheId - - description: 关联VPC(ID或Name) - in: query - items: - type: string - name: vpc_id - type: array - x-go-name: VpcId - - description: Vpc外网访问模式 - in: query - name: external_access_mode - type: string - x-go-name: ExternalAccessMode - - description: 按VPC名称排序 - in: query - name: order_by_vpc - pattern: asc|desc - type: string - x-go-name: OrderByVpc - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - - description: 可用区ID或名称 - example: zone1 - in: query - name: zone_id - type: string - x-go-name: ZoneId - - description: 过滤处于多个指定可用区内的资源 - in: query - items: - type: string - name: zone_ids - type: array - x-go-name: ZoneIds - - description: 按可用区名称排序 - in: query - name: order_by_zone - pattern: asc|desc - type: string - x-go-name: OrderByZone - - description: 以弹性缓存实例名称排序 - in: query - name: order_by_elasticcache - type: string - x-go-name: OrderByElasticcache - - description: 过滤关联指定安全组(ID或Name)的列表结果 - in: query - name: secgroup_id - type: string - x-go-name: SecgroupId - - description: 模糊匹配安全组规则名称 - in: query - name: secgroup_name - type: string - x-go-name: SecgroupName - - description: 以安全组排序 - in: query - name: order_by_secgroup - type: string - x-go-name: OrderBySecgroup - responses: - "200": - $ref: '#/responses/elasticcachesecgroup_ListItemFilterOutput' - summary: 列表 - tags: - - elasticcachesecgroup - post: - description: 新建 - operationId: elasticcachesecgroup_ValidateCreateData - parameters: - - in: body - name: body - schema: - properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - elasticcachesecgroup: - $ref: '#/definitions/JoinResourceBaseCreateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/elasticcachesecgroup_ValidateCreateDataOutput' - summary: 新建 - tags: - - elasticcachesecgroup - /elasticcachesecgroups/{id}: - delete: - description: 删除 - operationId: elasticcachesecgroup_CustomizeDelete - parameters: - - description: The Id or Name of elasticcachesecgroup - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/elasticcachesecgroup_CustomizeDeleteOutput' - summary: 删除 - tags: - - elasticcachesecgroup - get: - description: 获取详情 - operationId: elasticcachesecgroup_FetchCustomizeColumns - parameters: - - description: The Id or Name of elasticcachesecgroup - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/elasticcachesecgroup_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - elasticcachesecgroup - put: - description: 更新 - operationId: elasticcachesecgroup_ValidateUpdateData - parameters: - - description: The Id or Name of elasticcachesecgroup - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - elasticcachesecgroup: - $ref: '#/definitions/ElasticcacheJointBaseUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/elasticcachesecgroup_ValidateUpdateDataOutput' - summary: 更新 - tags: - - elasticcachesecgroup - /elasticcachesecgroups/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: elasticcachesecgroup_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/elasticcachesecgroup_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - elasticcachesecgroup - /elasticcachesecgroups/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: elasticcachesecgroup_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - elasticcachesecgroup: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/elasticcachesecgroup_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - elasticcachesecgroup - /elasticcachesecgroups/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: elasticcachesecgroup_GetPropertySplitable - responses: - "200": - $ref: '#/responses/elasticcachesecgroup_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - elasticcachesecgroup - /elasticcachesecgroups/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: elasticcachesecgroup_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/elasticcachesecgroup_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - elasticcachesecgroup /elasticips: get: description: 列表 @@ -75969,7 +74810,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -76108,6 +74949,11 @@ paths: name: mode type: string x-go-name: Mode + - description: 是否已关联资源 + in: query + name: is_associated + type: boolean + x-go-name: IsAssociated - description: IP地址 in: query items: @@ -76117,13 +74963,24 @@ paths: x-go-name: IpAddr - description: 绑定资源类型 in: query + items: + type: string name: associate_type - type: string + type: array x-go-name: AssociateType + - description: 绑定资源名称,模糊查询 + in: query + items: + type: string + name: associate_name + type: array + x-go-name: AssociateName - description: 绑定资源Id in: query + items: + type: string name: associate_id - type: string + type: array x-go-name: AssociateId - description: '计费类型: 流量、带宽' example: bandwidth @@ -76730,6 +75587,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - elasticip + /elasticips/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: elasticip_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/elasticip_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - elasticip /elasticips/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -77165,7 +76032,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -77697,6 +76564,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - external_project + /external_projects/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: external_project_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/external_project_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - external_project /external_projects/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -78132,7 +77009,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -78711,6 +77588,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - file_system + /file_systems/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: file_system_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/file_system_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - file_system /file_systems/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -79109,7 +77996,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -79680,6 +78567,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - global_vpc + /global_vpcs/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: global_vpc_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/global_vpc_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - global_vpc /global_vpcs/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -79784,1014 +78681,6 @@ paths: summary: 获取指定资源类的信息TagValueTree tags: - global_vpc - /groupguests: - get: - description: 列表 - operationId: groupguest_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为关联表column,origin_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 - - description: 实例组(ID或Name) - in: query - name: group_id - type: string - x-go-name: GroupId - - description: 按组名排序 - in: query - name: order_by_group - type: string - x-go-name: OrderByGroup - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - - description: 可用区ID或名称 - example: zone1 - in: query - name: zone_id - type: string - x-go-name: ZoneId - - description: 过滤处于多个指定可用区内的资源 - in: query - items: - type: string - name: zone_ids - type: array - x-go-name: ZoneIds - - description: 按可用区名称排序 - in: query - name: order_by_zone - pattern: asc|desc - type: string - x-go-name: OrderByZone - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - - description: 宿主机或物理机(ID或Name) - in: query - name: host_id - type: string - x-go-name: HostId - - description: 以宿主机序列号过滤 - in: query - items: - type: string - name: host_sn - type: array - x-go-name: HostSN - - description: 以宿主机对接二层网络过滤 - in: query - name: host_wire_id - type: string - x-go-name: HostWireId - - description: 以宿主机名称排序 - in: query - name: order_by_host - type: string - x-go-name: OrderByHost - - description: 以宿主机序列号名称排序 - in: query - name: order_by_host_sn - type: string - x-go-name: OrderByHostSN - - description: 主机(ID或Name) - in: query - name: server_id - type: string - x-go-name: ServerId - - description: 以主机名称排序 - in: query - name: order_by_server - type: string - x-go-name: OrderByServer - - description: 标签 - in: query - items: - type: string - name: tag - type: array - x-go-name: Tag - responses: - "200": - $ref: '#/responses/groupguest_ListItemFilterOutput' - summary: 列表 - tags: - - groupguest - post: - description: 新建 - operationId: groupguest_ValidateCreateData - parameters: - - in: body - name: body - schema: - properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - groupguest: - $ref: '#/definitions/JoinResourceBaseCreateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/groupguest_ValidateCreateDataOutput' - summary: 新建 - tags: - - groupguest - /groupguests/{id}: - delete: - description: 删除 - operationId: groupguest_CustomizeDelete - parameters: - - description: The Id or Name of groupguest - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/groupguest_CustomizeDeleteOutput' - summary: 删除 - tags: - - groupguest - get: - description: 获取详情 - operationId: groupguest_FetchCustomizeColumns - parameters: - - description: The Id or Name of groupguest - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/groupguest_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - groupguest - put: - description: 更新 - operationId: groupguest_ValidateUpdateData - parameters: - - description: The Id or Name of groupguest - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - groupguest: - $ref: '#/definitions/VirtualJointResourceBaseUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/groupguest_ValidateUpdateDataOutput' - summary: 更新 - tags: - - groupguest - /groupguests/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: groupguest_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/groupguest_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - groupguest - /groupguests/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: groupguest_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - groupguest: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/groupguest_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - groupguest - /groupguests/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: groupguest_GetPropertySplitable - responses: - "200": - $ref: '#/responses/groupguest_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - groupguest - /groupguests/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: groupguest_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/groupguest_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - groupguest - /groupnetworks: - get: - description: 列表 - operationId: groupnetwork_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为关联表column,origin_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 - - description: 实例组(ID或Name) - in: query - name: group_id - type: string - x-go-name: GroupId - - description: 按组名排序 - in: query - name: order_by_group - type: string - x-go-name: OrderByGroup - - description: 关联VPC(ID或Name) - in: query - items: - type: string - name: vpc_id - type: array - x-go-name: VpcId - - description: Vpc外网访问模式 - in: query - name: external_access_mode - type: string - x-go-name: ExternalAccessMode - - description: 按VPC名称排序 - in: query - name: order_by_vpc - pattern: asc|desc - type: string - x-go-name: OrderByVpc - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - - description: 可用区ID或名称 - example: zone1 - in: query - name: zone_id - type: string - x-go-name: ZoneId - - description: 过滤处于多个指定可用区内的资源 - in: query - items: - type: string - name: zone_ids - type: array - x-go-name: ZoneIds - - description: 按可用区名称排序 - in: query - name: order_by_zone - pattern: asc|desc - type: string - x-go-name: OrderByZone - - description: 二层网络(ID或Name)的资源 - in: query - name: wire_id - type: string - x-go-name: WireId - - description: 以二层网络名称排序 - in: query - name: order_by_wire - type: string - x-go-name: OrderByWire - - description: IP子网(ID或Name) - in: query - name: network_id - type: string - x-go-name: NetworkId - - description: 以IP子网的名称排序 - in: query - name: order_by_network - type: string - x-go-name: OrderByNetwork - - description: IP地址 - in: query - items: - type: string - name: ip_addr - type: array - x-go-name: IpAddr - - description: IPv6地址 - in: query - items: - type: string - name: ip6_addr - type: array - x-go-name: Ip6Addr - responses: - "200": - $ref: '#/responses/groupnetwork_ListItemFilterOutput' - summary: 列表 - tags: - - groupnetwork - post: - description: 新建 - operationId: groupnetwork_ValidateCreateData - parameters: - - in: body - name: body - schema: - properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - groupnetwork: - $ref: '#/definitions/JoinResourceBaseCreateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/groupnetwork_ValidateCreateDataOutput' - summary: 新建 - tags: - - groupnetwork - /groupnetworks/{id}: - delete: - description: 删除 - operationId: groupnetwork_CustomizeDelete - parameters: - - description: The Id or Name of groupnetwork - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/groupnetwork_CustomizeDeleteOutput' - summary: 删除 - tags: - - groupnetwork - get: - description: 获取详情 - operationId: groupnetwork_FetchCustomizeColumns - parameters: - - description: The Id or Name of groupnetwork - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/groupnetwork_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - groupnetwork - put: - description: 更新 - operationId: groupnetwork_ValidateUpdateData - parameters: - - description: The Id or Name of groupnetwork - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - groupnetwork: - $ref: '#/definitions/VirtualJointResourceBaseUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/groupnetwork_ValidateUpdateDataOutput' - summary: 更新 - tags: - - groupnetwork - /groupnetworks/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: groupnetwork_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/groupnetwork_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - groupnetwork - /groupnetworks/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: groupnetwork_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - groupnetwork: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/groupnetwork_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - groupnetwork - /groupnetworks/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: groupnetwork_GetPropertySplitable - responses: - "200": - $ref: '#/responses/groupnetwork_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - groupnetwork - /groupnetworks/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: groupnetwork_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/groupnetwork_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - groupnetwork /groups: get: description: 列表 @@ -81144,7 +79033,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -81924,6 +79813,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-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -82404,7 +80303,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -82986,6 +80885,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - guest_template + /guest_templates/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: guest_template_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/guest_template_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - guest_template /guest_templates/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -83110,3076 +81019,6 @@ paths: summary: 获取指定资源类的信息TagValueTree tags: - guest_template - /guestdisks: - get: - description: 列表 - operationId: guestdisk_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为关联表column,origin_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 - - description: 宿主机或物理机(ID或Name) - in: query - name: host_id - type: string - x-go-name: HostId - - description: 以宿主机序列号过滤 - in: query - items: - type: string - name: host_sn - type: array - x-go-name: HostSN - - description: 以宿主机对接二层网络过滤 - in: query - name: host_wire_id - type: string - x-go-name: HostWireId - - description: 以宿主机名称排序 - in: query - name: order_by_host - type: string - x-go-name: OrderByHost - - description: 以宿主机序列号名称排序 - in: query - name: order_by_host_sn - type: string - x-go-name: OrderByHostSN - - description: 主机(ID或Name) - in: query - name: server_id - type: string - x-go-name: ServerId - - description: 以主机名称排序 - in: query - name: order_by_server - type: string - x-go-name: OrderByServer - - description: 存储(ID或Name) - in: query - name: storage_id - type: string - x-go-name: StorageId - - description: 以存储名称排序 - in: query - name: order_by_storage - pattern: asc|desc - type: string - x-go-name: OrderByStorage - - description: filter shared storage - in: query - name: share - type: boolean - x-go-name: Share - - description: filter local storage - in: query - name: local - type: boolean - x-go-name: Local - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - - description: 可用区ID或名称 - example: zone1 - in: query - name: zone_id - type: string - x-go-name: ZoneId - - description: 过滤处于多个指定可用区内的资源 - in: query - items: - type: string - name: zone_ids - type: array - x-go-name: ZoneIds - - description: 按可用区名称排序 - in: query - name: order_by_zone - pattern: asc|desc - type: string - x-go-name: OrderByZone - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - - description: 虚拟磁盘(ID或Name) - in: query - name: disk_id - type: string - x-go-name: DiskId - - description: 以磁盘名称排序 - in: query - name: order_by_disk - pattern: asc|desc - type: string - x-go-name: OrderByDisk - - in: query - items: - type: string - name: driver - type: array - x-go-name: Driver - - in: query - items: - type: string - name: cache_mode - type: array - x-go-name: CacheMode - - in: query - items: - type: string - name: aio_mode - type: array - x-go-name: AioMode - responses: - "200": - $ref: '#/responses/guestdisk_ListItemFilterOutput' - summary: 列表 - tags: - - guestdisk - post: - description: 新建 - operationId: guestdisk_ValidateCreateData - parameters: - - in: body - name: body - schema: - properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - guestdisk: - $ref: '#/definitions/JoinResourceBaseCreateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/guestdisk_ValidateCreateDataOutput' - summary: 新建 - tags: - - guestdisk - /guestdisks/{id}: - delete: - description: 删除 - operationId: guestdisk_CustomizeDelete - parameters: - - description: The Id or Name of guestdisk - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/guestdisk_CustomizeDeleteOutput' - summary: 删除 - tags: - - guestdisk - get: - description: 获取详情 - operationId: guestdisk_FetchCustomizeColumns - parameters: - - description: The Id or Name of guestdisk - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/guestdisk_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - guestdisk - put: - description: 更新 - operationId: guestdisk_ValidateUpdateData - parameters: - - description: The Id or Name of guestdisk - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - guestdisk: - $ref: '#/definitions/GuestdiskUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/guestdisk_ValidateUpdateDataOutput' - summary: 更新 - tags: - - guestdisk - /guestdisks/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: guestdisk_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/guestdisk_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - guestdisk - /guestdisks/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: guestdisk_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - guestdisk: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/guestdisk_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - guestdisk - /guestdisks/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: guestdisk_GetPropertySplitable - responses: - "200": - $ref: '#/responses/guestdisk_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - guestdisk - /guestdisks/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: guestdisk_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/guestdisk_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - guestdisk - /guestnetworks: - get: - description: 列表 - operationId: guestnetwork_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为关联表column,origin_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 - - description: 宿主机或物理机(ID或Name) - in: query - name: host_id - type: string - x-go-name: HostId - - description: 以宿主机序列号过滤 - in: query - items: - type: string - name: host_sn - type: array - x-go-name: HostSN - - description: 以宿主机对接二层网络过滤 - in: query - name: host_wire_id - type: string - x-go-name: HostWireId - - description: 以宿主机名称排序 - in: query - name: order_by_host - type: string - x-go-name: OrderByHost - - description: 以宿主机序列号名称排序 - in: query - name: order_by_host_sn - type: string - x-go-name: OrderByHostSN - - description: 主机(ID或Name) - in: query - name: server_id - type: string - x-go-name: ServerId - - description: 以主机名称排序 - in: query - name: order_by_server - type: string - x-go-name: OrderByServer - - description: 关联VPC(ID或Name) - in: query - items: - type: string - name: vpc_id - type: array - x-go-name: VpcId - - description: Vpc外网访问模式 - in: query - name: external_access_mode - type: string - x-go-name: ExternalAccessMode - - description: 按VPC名称排序 - in: query - name: order_by_vpc - pattern: asc|desc - type: string - x-go-name: OrderByVpc - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - - description: 可用区ID或名称 - example: zone1 - in: query - name: zone_id - type: string - x-go-name: ZoneId - - description: 过滤处于多个指定可用区内的资源 - in: query - items: - type: string - name: zone_ids - type: array - x-go-name: ZoneIds - - description: 按可用区名称排序 - in: query - name: order_by_zone - pattern: asc|desc - type: string - x-go-name: OrderByZone - - description: 二层网络(ID或Name)的资源 - in: query - name: wire_id - type: string - x-go-name: WireId - - description: 以二层网络名称排序 - in: query - name: order_by_wire - type: string - x-go-name: OrderByWire - - description: IP子网(ID或Name) - in: query - name: network_id - type: string - x-go-name: NetworkId - - description: 以IP子网的名称排序 - in: query - name: order_by_network - type: string - x-go-name: OrderByNetwork - - in: query - items: - type: string - name: mac_addr - type: array - x-go-name: MacAddr - - in: query - items: - type: string - name: ip_addr - type: array - x-go-name: IpAddr - - in: query - items: - type: string - name: ip6_addr - type: array - x-go-name: Ip6Addr - - in: query - items: - type: string - name: driver - type: array - x-go-name: Driver - - in: query - items: - type: string - name: ifname - type: array - x-go-name: Ifname - - in: query - items: - type: string - name: team_with - type: array - x-go-name: TeamWith - responses: - "200": - $ref: '#/responses/guestnetwork_ListItemFilterOutput' - summary: 列表 - tags: - - guestnetwork - post: - description: 新建 - operationId: guestnetwork_ValidateCreateData - parameters: - - in: body - name: body - schema: - properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - guestnetwork: - $ref: '#/definitions/JoinResourceBaseCreateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/guestnetwork_ValidateCreateDataOutput' - summary: 新建 - tags: - - guestnetwork - /guestnetworks/{id}: - delete: - description: 删除 - operationId: guestnetwork_CustomizeDelete - parameters: - - description: The Id or Name of guestnetwork - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/guestnetwork_CustomizeDeleteOutput' - summary: 删除 - tags: - - guestnetwork - get: - description: 获取详情 - operationId: guestnetwork_FetchCustomizeColumns - parameters: - - description: The Id or Name of guestnetwork - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/guestnetwork_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - guestnetwork - put: - description: 更新 - operationId: guestnetwork_ValidateUpdateData - parameters: - - description: The Id or Name of guestnetwork - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - guestnetwork: - $ref: '#/definitions/GuestnetworkUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/guestnetwork_ValidateUpdateDataOutput' - summary: 更新 - tags: - - guestnetwork - /guestnetworks/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: guestnetwork_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/guestnetwork_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - guestnetwork - /guestnetworks/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: guestnetwork_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - guestnetwork: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/guestnetwork_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - guestnetwork - /guestnetworks/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: guestnetwork_GetPropertySplitable - responses: - "200": - $ref: '#/responses/guestnetwork_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - guestnetwork - /guestnetworks/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: guestnetwork_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/guestnetwork_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - guestnetwork - /guestsecgroups: - get: - description: 列表 - operationId: guestsecgroup_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为关联表column,origin_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 - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - - description: 可用区ID或名称 - example: zone1 - in: query - name: zone_id - type: string - x-go-name: ZoneId - - description: 过滤处于多个指定可用区内的资源 - in: query - items: - type: string - name: zone_ids - type: array - x-go-name: ZoneIds - - description: 按可用区名称排序 - in: query - name: order_by_zone - pattern: asc|desc - type: string - x-go-name: OrderByZone - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - - description: 宿主机或物理机(ID或Name) - in: query - name: host_id - type: string - x-go-name: HostId - - description: 以宿主机序列号过滤 - in: query - items: - type: string - name: host_sn - type: array - x-go-name: HostSN - - description: 以宿主机对接二层网络过滤 - in: query - name: host_wire_id - type: string - x-go-name: HostWireId - - description: 以宿主机名称排序 - in: query - name: order_by_host - type: string - x-go-name: OrderByHost - - description: 以宿主机序列号名称排序 - in: query - name: order_by_host_sn - type: string - x-go-name: OrderByHostSN - - description: 主机(ID或Name) - in: query - name: server_id - type: string - x-go-name: ServerId - - description: 以主机名称排序 - in: query - name: order_by_server - type: string - x-go-name: OrderByServer - - description: 过滤关联指定安全组(ID或Name)的列表结果 - in: query - name: secgroup_id - type: string - x-go-name: SecgroupId - - description: 模糊匹配安全组规则名称 - in: query - name: secgroup_name - type: string - x-go-name: SecgroupName - - description: 以安全组排序 - in: query - name: order_by_secgroup - type: string - x-go-name: OrderBySecgroup - responses: - "200": - $ref: '#/responses/guestsecgroup_ListItemFilterOutput' - summary: 列表 - tags: - - guestsecgroup - post: - description: 新建 - operationId: guestsecgroup_ValidateCreateData - parameters: - - in: body - name: body - schema: - properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - guestsecgroup: - $ref: '#/definitions/JoinResourceBaseCreateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/guestsecgroup_ValidateCreateDataOutput' - summary: 新建 - tags: - - guestsecgroup - /guestsecgroups/{id}: - delete: - description: 删除 - operationId: guestsecgroup_CustomizeDelete - parameters: - - description: The Id or Name of guestsecgroup - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/guestsecgroup_CustomizeDeleteOutput' - summary: 删除 - tags: - - guestsecgroup - get: - description: 获取详情 - operationId: guestsecgroup_FetchCustomizeColumns - parameters: - - description: The Id or Name of guestsecgroup - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/guestsecgroup_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - guestsecgroup - put: - description: 更新 - operationId: guestsecgroup_ValidateUpdateData - parameters: - - description: The Id or Name of guestsecgroup - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - guestsecgroup: - $ref: '#/definitions/GuestJointBaseUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/guestsecgroup_ValidateUpdateDataOutput' - summary: 更新 - tags: - - guestsecgroup - /guestsecgroups/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: guestsecgroup_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/guestsecgroup_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - guestsecgroup - /guestsecgroups/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: guestsecgroup_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - guestsecgroup: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/guestsecgroup_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - guestsecgroup - /guestsecgroups/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: guestsecgroup_GetPropertySplitable - responses: - "200": - $ref: '#/responses/guestsecgroup_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - guestsecgroup - /guestsecgroups/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: guestsecgroup_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/guestsecgroup_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - guestsecgroup - /host_backupstorages: - get: - description: 列表 - operationId: host_backupstorage_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为关联表column,origin_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 - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - - description: 可用区ID或名称 - example: zone1 - in: query - name: zone_id - type: string - x-go-name: ZoneId - - description: 过滤处于多个指定可用区内的资源 - in: query - items: - type: string - name: zone_ids - type: array - x-go-name: ZoneIds - - description: 按可用区名称排序 - in: query - name: order_by_zone - pattern: asc|desc - type: string - x-go-name: OrderByZone - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - - description: 宿主机或物理机(ID或Name) - in: query - name: host_id - type: string - x-go-name: HostId - - description: 以宿主机序列号过滤 - in: query - items: - type: string - name: host_sn - type: array - x-go-name: HostSN - - description: 以宿主机对接二层网络过滤 - in: query - name: host_wire_id - type: string - x-go-name: HostWireId - - description: 以宿主机名称排序 - in: query - name: order_by_host - type: string - x-go-name: OrderByHost - - description: 以宿主机序列号名称排序 - in: query - name: order_by_host_sn - type: string - x-go-name: OrderByHostSN - - description: 备份存储(ID或Name) - in: query - name: backupstorage_id - type: string - x-go-name: BackupstorageId - - description: 以备份存储名称排序 - in: query - name: order_by_backupstorage - pattern: asc|desc - type: string - x-go-name: OrderByBackupstorage - responses: - "200": - $ref: '#/responses/host_backupstorage_ListItemFilterOutput' - summary: 列表 - tags: - - host_backupstorage - post: - description: 新建 - operationId: host_backupstorage_ValidateCreateData - parameters: - - in: body - name: body - schema: - properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - host_backupstorage: - $ref: '#/definitions/HostBackupstorageCreateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/host_backupstorage_ValidateCreateDataOutput' - summary: 新建 - tags: - - host_backupstorage - /host_backupstorages/{id}: - delete: - description: 删除 - operationId: host_backupstorage_CustomizeDelete - parameters: - - description: The Id or Name of host_backupstorage - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/host_backupstorage_CustomizeDeleteOutput' - summary: 删除 - tags: - - host_backupstorage - get: - description: 获取详情 - operationId: host_backupstorage_FetchCustomizeColumns - parameters: - - description: The Id or Name of host_backupstorage - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/host_backupstorage_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - host_backupstorage - put: - description: 更新 - operationId: host_backupstorage_ValidateUpdateData - parameters: - - description: The Id or Name of host_backupstorage - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - host_backupstorage: - $ref: '#/definitions/JointResourceBaseUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/host_backupstorage_ValidateUpdateDataOutput' - summary: 更新 - tags: - - host_backupstorage - /host_backupstorages/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: host_backupstorage_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/host_backupstorage_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - host_backupstorage - /host_backupstorages/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: host_backupstorage_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - host_backupstorage: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/host_backupstorage_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - host_backupstorage - /host_backupstorages/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: host_backupstorage_GetPropertySplitable - responses: - "200": - $ref: '#/responses/host_backupstorage_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - host_backupstorage - /host_backupstorages/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: host_backupstorage_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/host_backupstorage_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - host_backupstorage - /host_isolated_device_models: - get: - description: 列表 - operationId: host_isolated_device_model_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为关联表column,origin_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 - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - - description: 可用区ID或名称 - example: zone1 - in: query - name: zone_id - type: string - x-go-name: ZoneId - - description: 过滤处于多个指定可用区内的资源 - in: query - items: - type: string - name: zone_ids - type: array - x-go-name: ZoneIds - - description: 按可用区名称排序 - in: query - name: order_by_zone - pattern: asc|desc - type: string - x-go-name: OrderByZone - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - - description: 宿主机或物理机(ID或Name) - in: query - name: host_id - type: string - x-go-name: HostId - - description: 以宿主机序列号过滤 - in: query - items: - type: string - name: host_sn - type: array - x-go-name: HostSN - - description: 以宿主机对接二层网络过滤 - in: query - name: host_wire_id - type: string - x-go-name: HostWireId - - description: 以宿主机名称排序 - in: query - name: order_by_host - type: string - x-go-name: OrderByHost - - description: 以宿主机序列号名称排序 - in: query - name: order_by_host_sn - type: string - x-go-name: OrderByHostSN - responses: - "200": - $ref: '#/responses/host_isolated_device_model_ListItemFilterOutput' - summary: 列表 - tags: - - host_isolated_device_model - post: - description: 新建 - operationId: host_isolated_device_model_ValidateCreateData - parameters: - - in: body - name: body - schema: - properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - host_isolated_device_model: - $ref: '#/definitions/JoinResourceBaseCreateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/host_isolated_device_model_ValidateCreateDataOutput' - summary: 新建 - tags: - - host_isolated_device_model - /host_isolated_device_models/{id}: - delete: - description: 删除 - operationId: host_isolated_device_model_CustomizeDelete - parameters: - - description: The Id or Name of host_isolated_device_model - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/host_isolated_device_model_CustomizeDeleteOutput' - summary: 删除 - tags: - - host_isolated_device_model - get: - description: 获取详情 - operationId: host_isolated_device_model_FetchCustomizeColumns - parameters: - - description: The Id or Name of host_isolated_device_model - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/host_isolated_device_model_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - host_isolated_device_model - put: - description: 更新 - operationId: host_isolated_device_model_ValidateUpdateData - parameters: - - description: The Id or Name of host_isolated_device_model - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - host_isolated_device_model: - $ref: '#/definitions/JointResourceBaseUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/host_isolated_device_model_ValidateUpdateDataOutput' - summary: 更新 - tags: - - host_isolated_device_model - /host_isolated_device_models/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: host_isolated_device_model_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/host_isolated_device_model_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - host_isolated_device_model - /host_isolated_device_models/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: host_isolated_device_model_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - host_isolated_device_model: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/host_isolated_device_model_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - host_isolated_device_model - /host_isolated_device_models/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: host_isolated_device_model_GetPropertySplitable - responses: - "200": - $ref: '#/responses/host_isolated_device_model_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - host_isolated_device_model - /host_isolated_device_models/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: host_isolated_device_model_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/host_isolated_device_model_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - host_isolated_device_model - /hostnetworks: - get: - description: 列表 - operationId: hostnetwork_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为关联表column,origin_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 - - description: 宿主机或物理机(ID或Name) - in: query - name: host_id - type: string - x-go-name: HostId - - description: 以宿主机序列号过滤 - in: query - items: - type: string - name: host_sn - type: array - x-go-name: HostSN - - description: 以宿主机对接二层网络过滤 - in: query - name: host_wire_id - type: string - x-go-name: HostWireId - - description: 以宿主机名称排序 - in: query - name: order_by_host - type: string - x-go-name: OrderByHost - - description: 以宿主机序列号名称排序 - in: query - name: order_by_host_sn - type: string - x-go-name: OrderByHostSN - - description: 关联VPC(ID或Name) - in: query - items: - type: string - name: vpc_id - type: array - x-go-name: VpcId - - description: Vpc外网访问模式 - in: query - name: external_access_mode - type: string - x-go-name: ExternalAccessMode - - description: 按VPC名称排序 - in: query - name: order_by_vpc - pattern: asc|desc - type: string - x-go-name: OrderByVpc - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - - description: 可用区ID或名称 - example: zone1 - in: query - name: zone_id - type: string - x-go-name: ZoneId - - description: 过滤处于多个指定可用区内的资源 - in: query - items: - type: string - name: zone_ids - type: array - x-go-name: ZoneIds - - description: 按可用区名称排序 - in: query - name: order_by_zone - pattern: asc|desc - type: string - x-go-name: OrderByZone - - description: 二层网络(ID或Name)的资源 - in: query - name: wire_id - type: string - x-go-name: WireId - - description: 以二层网络名称排序 - in: query - name: order_by_wire - type: string - x-go-name: OrderByWire - - description: IP子网(ID或Name) - in: query - name: network_id - type: string - x-go-name: NetworkId - - description: 以IP子网的名称排序 - in: query - name: order_by_network - type: string - x-go-name: OrderByNetwork - - description: IP地址 - in: query - items: - type: string - name: ip_addr - type: array - x-go-name: IpAddr - - description: MAC地址 - in: query - items: - type: string - name: mac_addr - type: array - x-go-name: MacAddr - responses: - "200": - $ref: '#/responses/hostnetwork_ListItemFilterOutput' - summary: 列表 - tags: - - hostnetwork - post: - description: 新建 - operationId: hostnetwork_ValidateCreateData - parameters: - - in: body - name: body - schema: - properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - hostnetwork: - $ref: '#/definitions/JoinResourceBaseCreateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/hostnetwork_ValidateCreateDataOutput' - summary: 新建 - tags: - - hostnetwork - /hostnetworks/{id}: - delete: - description: 删除 - operationId: hostnetwork_CustomizeDelete - parameters: - - description: The Id or Name of hostnetwork - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/hostnetwork_CustomizeDeleteOutput' - summary: 删除 - tags: - - hostnetwork - get: - description: 获取详情 - operationId: hostnetwork_FetchCustomizeColumns - parameters: - - description: The Id or Name of hostnetwork - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/hostnetwork_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - hostnetwork - put: - description: 更新 - operationId: hostnetwork_ValidateUpdateData - parameters: - - description: The Id or Name of hostnetwork - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - hostnetwork: - $ref: '#/definitions/JointResourceBaseUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/hostnetwork_ValidateUpdateDataOutput' - summary: 更新 - tags: - - hostnetwork - /hostnetworks/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: hostnetwork_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/hostnetwork_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - hostnetwork - /hostnetworks/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: hostnetwork_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - hostnetwork: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/hostnetwork_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - hostnetwork - /hostnetworks/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: hostnetwork_GetPropertySplitable - responses: - "200": - $ref: '#/responses/hostnetwork_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - hostnetwork - /hostnetworks/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: hostnetwork_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/hostnetwork_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - hostnetwork /hosts: get: description: 列表 @@ -86555,7 +81394,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -88048,6 +82887,23 @@ paths: summary: 执行操作SyncGuestNicTraffics tags: - host + /hosts/{id}/sync-isolated-devices: + post: + description: 执行操作SyncIsolatedDevices + operationId: host_PerformSyncIsolatedDevices + parameters: + - description: The Id or Name of host + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/host_PerformSyncIsolatedDevicesOutput' + summary: 执行操作SyncIsolatedDevices + tags: + - host /hosts/{id}/syncstatus: post: description: 执行操作Syncstatus @@ -88204,6 +83060,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - host + /hosts/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: host_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/host_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - host /hosts/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -88599,7 +83465,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -89307,7 +84173,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -89714,500 +84580,25 @@ paths: summary: 获取指定资源类的信息TagValueTree tags: - host - /hoststorages: - get: - description: 列表 - operationId: hoststorage_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为关联表column,origin_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 - - description: 宿主机或物理机(ID或Name) - in: query - name: host_id - type: string - x-go-name: HostId - - description: 以宿主机序列号过滤 - in: query - items: - type: string - name: host_sn - type: array - x-go-name: HostSN - - description: 以宿主机对接二层网络过滤 - in: query - name: host_wire_id - type: string - x-go-name: HostWireId - - description: 以宿主机名称排序 - in: query - name: order_by_host - type: string - x-go-name: OrderByHost - - description: 以宿主机序列号名称排序 - in: query - name: order_by_host_sn - type: string - x-go-name: OrderByHostSN - - description: 存储(ID或Name) - in: query - name: storage_id - type: string - x-go-name: StorageId - - description: 以存储名称排序 - in: query - name: order_by_storage - pattern: asc|desc - type: string - x-go-name: OrderByStorage - - description: filter shared storage - in: query - name: share - type: boolean - x-go-name: Share - - description: filter local storage - in: query - name: local - type: boolean - x-go-name: Local - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - - description: 可用区ID或名称 - example: zone1 - in: query - name: zone_id - type: string - x-go-name: ZoneId - - description: 过滤处于多个指定可用区内的资源 - in: query - items: - type: string - name: zone_ids - type: array - x-go-name: ZoneIds - - description: 按可用区名称排序 - in: query - name: order_by_zone - pattern: asc|desc - type: string - x-go-name: OrderByZone - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - responses: - "200": - $ref: '#/responses/hoststorage_ListItemFilterOutput' - summary: 列表 - tags: - - hoststorage + /hosts/validate-ipmi: post: - description: 新建 - operationId: hoststorage_ValidateCreateData + description: 执行操作ValidateIpmi + operationId: host_PerformValidateIpmi parameters: - in: body name: body schema: properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - hoststorage: - $ref: '#/definitions/HostStorageCreateInput' + host: + $ref: '#/definitions/ValidateIPMIRequest' type: object x-go-name: Body responses: "200": - $ref: '#/responses/hoststorage_ValidateCreateDataOutput' - summary: 新建 + $ref: '#/responses/host_PerformValidateIpmiOutput' + summary: 执行操作ValidateIpmi tags: - - hoststorage - /hoststorages/{id}: - delete: - description: 删除 - operationId: hoststorage_CustomizeDelete - parameters: - - description: The Id or Name of hoststorage - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/hoststorage_CustomizeDeleteOutput' - summary: 删除 - tags: - - hoststorage - get: - description: 获取详情 - operationId: hoststorage_FetchCustomizeColumns - parameters: - - description: The Id or Name of hoststorage - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/hoststorage_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - hoststorage - put: - description: 更新 - operationId: hoststorage_ValidateUpdateData - parameters: - - description: The Id or Name of hoststorage - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - hoststorage: - $ref: '#/definitions/JointResourceBaseUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/hoststorage_ValidateUpdateDataOutput' - summary: 更新 - tags: - - hoststorage - /hoststorages/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: hoststorage_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/hoststorage_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - hoststorage - /hoststorages/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: hoststorage_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - hoststorage: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/hoststorage_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - hoststorage - /hoststorages/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: hoststorage_GetPropertySplitable - responses: - "200": - $ref: '#/responses/hoststorage_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - hoststorage - /hoststorages/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: hoststorage_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/hoststorage_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - hoststorage + - host /infras_quotas/domains: get: description: 获取所有域的基础设施配额 @@ -90647,7 +85038,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -91279,6 +85670,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - instance_backup + /instance_backups/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: instance_backup_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/instance_backup_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - instance_backup /instance_backups/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -91767,7 +86168,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -92335,6 +86736,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - instance_snapshot + /instance_snapshots/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: instance_snapshot_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/instance_snapshot_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - instance_snapshot /instance_snapshots/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -92763,7 +87174,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -93218,6 +87629,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - inter_vpc_network_route_set + /inter_vpc_network_route_sets/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: inter_vpc_network_route_set_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/inter_vpc_network_route_set_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - inter_vpc_network_route_set /inter_vpc_network_route_sets/purge-splitable: post: description: 执行操作PurgeSplitable @@ -93506,6 +87927,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - inter_vpc_network_vpc + /inter_vpc_network_vpcs/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: inter_vpc_network_vpc_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/inter_vpc_network_vpc_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - inter_vpc_network_vpc /inter_vpc_network_vpcs/purge-splitable: post: description: 执行操作PurgeSplitable @@ -93829,7 +88260,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -94444,6 +88875,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - inter_vpc_network + /inter_vpc_networks/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: inter_vpc_network_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/inter_vpc_network_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - inter_vpc_network /inter_vpc_networks/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -94909,7 +89350,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -95466,6 +89907,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - ipv6_gateway + /ipv6_gateways/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: ipv6_gateway_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/ipv6_gateway_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - ipv6_gateway /ipv6_gateways/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -96117,6 +90568,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - isolated_device_model + /isolated_device_models/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: isolated_device_model_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/isolated_device_model_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - isolated_device_model /isolated_device_models/purge-splitable: post: description: 执行操作PurgeSplitable @@ -96479,7 +90940,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -96935,6 +91396,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - isolated_device + /isolated_devices/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: isolated_device_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/isolated_device_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - isolated_device /isolated_devices/purge-splitable: post: description: 执行操作PurgeSplitable @@ -97365,7 +91836,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -97906,6 +92377,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - kafka + /kafkas/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: kafka_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/kafka_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - kafka /kafkas/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -98607,6 +93088,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - keypair + /keypairs/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: keypair_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/keypair_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - keypair /keypairs/purge-splitable: post: description: 执行操作PurgeSplitable @@ -98995,7 +93486,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -99599,6 +94090,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - kube_cluster + /kube_clusters/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: kube_cluster_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/kube_cluster_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - kube_cluster /kube_clusters/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -99984,7 +94485,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -100411,6 +94912,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - kube_node_pool + /kube_node_pools/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: kube_node_pool_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/kube_node_pool_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - kube_node_pool /kube_node_pools/purge-splitable: post: description: 执行操作PurgeSplitable @@ -100776,7 +95287,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -101174,6 +95685,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - kube_node + /kube_nodes/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: kube_node_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/kube_node_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - kube_node /kube_nodes/purge-splitable: post: description: 执行操作PurgeSplitable @@ -101579,7 +96100,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -102217,6 +96738,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - loadbalancer_acl + /loadbalancer_acls/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: loadbalancer_acl_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/loadbalancer_acl_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - loadbalancer_acl /loadbalancer_acls/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -102991,6 +97522,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - loadbalancer_agent + /loadbalancer_agents/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: loadbalancer_agent_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/loadbalancer_agent_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - loadbalancer_agent /loadbalancer_agents/purge-splitable: post: description: 执行操作PurgeSplitable @@ -103364,7 +97905,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -103819,6 +98360,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - loadbalancer_backend_group + /loadbalancer_backend_groups/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: loadbalancer_backend_group_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/loadbalancer_backend_group_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - loadbalancer_backend_group /loadbalancer_backend_groups/purge-splitable: post: description: 执行操作PurgeSplitable @@ -104202,7 +98753,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -104691,6 +99242,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - loadbalancer_backend + /loadbalancer_backends/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: loadbalancer_backend_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/loadbalancer_backend_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - loadbalancer_backend /loadbalancer_backends/purge-splitable: post: description: 执行操作PurgeSplitable @@ -105123,7 +99684,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -105709,6 +100270,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - loadbalancer_certificate + /loadbalancer_certificates/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: loadbalancer_certificate_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/loadbalancer_certificate_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - loadbalancer_certificate /loadbalancer_certificates/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -106336,6 +100907,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - loadbalancer_cluster + /loadbalancer_clusters/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: loadbalancer_cluster_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/loadbalancer_cluster_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - loadbalancer_cluster /loadbalancer_clusters/purge-splitable: post: description: 执行操作PurgeSplitable @@ -106709,7 +101290,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -107202,6 +101783,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - loadbalancer_listener_rule + /loadbalancer_listener_rules/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: loadbalancer_listener_rule_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/loadbalancer_listener_rule_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - loadbalancer_listener_rule /loadbalancer_listener_rules/purge-splitable: post: description: 执行操作PurgeSplitable @@ -107585,7 +102176,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -108133,6 +102724,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - loadbalancer_listener + /loadbalancer_listeners/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: loadbalancer_listener_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/loadbalancer_listener_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - loadbalancer_listener /loadbalancer_listeners/purge-splitable: post: description: 执行操作PurgeSplitable @@ -108421,6 +103022,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - loadbalancer_security_group + /loadbalancer_security_groups/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: loadbalancer_security_group_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/loadbalancer_security_group_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - loadbalancer_security_group /loadbalancer_security_groups/purge-splitable: post: description: 执行操作PurgeSplitable @@ -108855,7 +103466,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -109578,6 +104189,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - loadbalancer + /loadbalancers/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: loadbalancer_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/loadbalancer_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - loadbalancer /loadbalancers/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -110013,7 +104634,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -110542,6 +105163,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - misc_resource + /misc_resources/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: misc_resource_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/misc_resource_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - misc_resource /misc_resources/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -111259,6 +105890,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - modelarts_pool_sku + /modelarts_pool_skus/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: modelarts_pool_sku_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/modelarts_pool_sku_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - modelarts_pool_sku /modelarts_pool_skus/purge-splitable: post: description: 执行操作PurgeSplitable @@ -111654,7 +106295,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -112238,6 +106879,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - modelarts_pool + /modelarts_pools/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: modelarts_pool_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/modelarts_pool_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - modelarts_pool /modelarts_pools/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -112718,7 +107369,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -113358,6 +108009,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - mongo_db + /mongo_dbs/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: mongo_db_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/mongo_db_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - mongo_db /mongo_dbs/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -113791,7 +108452,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -114291,6 +108952,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - mount_target + /mount_targets/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: mount_target_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/mount_target_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - mount_target /mount_targets/purge-splitable: post: description: 执行操作PurgeSplitable @@ -114976,6 +109647,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - nas_sku + /nas_skus/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: nas_sku_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/nas_sku_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - nas_sku /nas_skus/purge-splitable: post: description: 执行操作PurgeSplitable @@ -115411,7 +110092,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -115938,6 +110619,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - nat_dentry + /nat_dentries/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: nat_dentry_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/nat_dentry_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - nat_dentry /nat_dentries/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -116356,7 +111047,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -116851,6 +111542,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - nat_entry + /nat_entries/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: nat_entry_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/nat_entry_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - nat_entry /nat_entries/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -117269,7 +111970,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -117970,6 +112671,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - nat_gateway + /nat_gateways/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: nat_gateway_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/nat_gateway_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - nat_gateway /nat_gateways/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -118388,7 +113099,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -118905,6 +113616,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - nat_sentry + /nat_sentries/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: nat_sentry_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/nat_sentry_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - nat_sentry /nat_sentries/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -119610,6 +114331,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - nat_sku + /nat_skus/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: nat_sku_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/nat_sku_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - nat_sku /nat_skus/purge-splitable: post: description: 执行操作PurgeSplitable @@ -120299,6 +115030,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - net_tap_flow + /net_tap_flows/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: net_tap_flow_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/net_tap_flow_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - net_tap_flow /net_tap_flows/purge-splitable: post: description: 执行操作PurgeSplitable @@ -120959,6 +115700,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - net_tap_service + /net_tap_services/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: net_tap_service_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/net_tap_service_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - net_tap_service /net_tap_services/purge-splitable: post: description: 执行操作PurgeSplitable @@ -121247,6 +115998,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - network_additional_wire + /network_additional_wires/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: network_additional_wire_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/network_additional_wire_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - network_additional_wire /network_additional_wires/purge-splitable: post: description: 执行操作PurgeSplitable @@ -121620,7 +116381,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -121982,6 +116743,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - network_address + /network_addresses/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: network_address_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/network_address_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - network_address /network_addresses/purge-splitable: post: description: 执行操作PurgeSplitable @@ -122325,7 +117096,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -122858,6 +117629,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - network_interface + /network_interfaces/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: network_interface_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/network_interface_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - network_interface /network_interfaces/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -123447,6 +118228,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - network_ip_mac + /network_ip_macs/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: network_ip_mac_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/network_ip_mac_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - network_ip_mac /network_ip_macs/purge-splitable: post: description: 执行操作PurgeSplitable @@ -123725,6 +118516,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - networkinterfacenetwork + /networkinterfacenetworks/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: networkinterfacenetwork_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/networkinterfacenetwork_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - networkinterfacenetwork /networkinterfacenetworks/purge-splitable: post: description: 执行操作PurgeSplitable @@ -124145,7 +118946,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -125248,6 +120049,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - network + /networks/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: network_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/network_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - network /networks/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -125638,7 +120449,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -126040,6 +120851,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - policy_assignment + /policy_assignments/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: policy_assignment_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/policy_assignment_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - policy_assignment /policy_assignments/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -126388,7 +121209,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -126786,6 +121607,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - policy_definition + /policy_definitions/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: policy_definition_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/policy_definition_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - policy_definition /policy_definitions/purge-splitable: post: description: 执行操作PurgeSplitable @@ -127565,6 +122396,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - project_mapping + /project_mappings/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: project_mapping_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/project_mapping_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - project_mapping /project_mappings/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -127937,18 +122778,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: @@ -128179,7 +123020,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -128412,6 +123253,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - reservedip + /reservedips/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: reservedip_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/reservedip_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - reservedip /reservedips/purge-splitable: post: description: 执行操作PurgeSplitable @@ -128768,7 +123619,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -129166,6 +124017,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - route_table_association + /route_table_associations/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: route_table_association_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/route_table_association_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - route_table_association /route_table_associations/purge-splitable: post: description: 执行操作PurgeSplitable @@ -129552,7 +124413,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -129966,6 +124827,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - route_table_route_set + /route_table_route_sets/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: route_table_route_set_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/route_table_route_set_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - route_table_route_set /route_table_route_sets/purge-splitable: post: description: 执行操作PurgeSplitable @@ -130359,7 +125230,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -130932,6 +125803,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - route_table + /route_tables/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: route_table_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/route_table_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - route_table /route_tables/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -131547,6 +126428,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - scaling_activity + /scaling_activities/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: scaling_activity_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/scaling_activity_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - scaling_activity /scaling_activities/purge-splitable: post: description: 执行操作PurgeSplitable @@ -132088,6 +126979,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - scaling_alarm + /scaling_alarms/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: scaling_alarm_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/scaling_alarm_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - scaling_alarm /scaling_alarms/purge-splitable: post: description: 执行操作PurgeSplitable @@ -132379,7 +127280,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -132591,6 +127492,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - scaling_group_guest + /scaling_group_guests/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: scaling_group_guest_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/scaling_group_guest_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - scaling_group_guest /scaling_group_guests/purge-splitable: post: description: 执行操作PurgeSplitable @@ -132849,6 +127760,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - scaling_group_network + /scaling_group_networks/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: scaling_group_network_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/scaling_group_network_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - scaling_group_network /scaling_group_networks/purge-splitable: post: description: 执行操作PurgeSplitable @@ -133288,7 +128209,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -133877,6 +128798,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - scaling_group + /scaling_groups/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: scaling_group_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/scaling_group_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - scaling_group /scaling_groups/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -134788,6 +129719,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - scaling_policy + /scaling_policies/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: scaling_policy_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/scaling_policy_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - scaling_policy /scaling_policies/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -135369,6 +130310,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - scaling_timer + /scaling_timers/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: scaling_timer_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/scaling_timer_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - scaling_timer /scaling_timers/purge-splitable: post: description: 执行操作PurgeSplitable @@ -135922,6 +130873,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - schedpolicy + /schedpolicies/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: schedpolicy_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/schedpolicy_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - schedpolicy /schedpolicies/purge-splitable: post: description: 执行操作PurgeSplitable @@ -136585,6 +131546,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - schedtag + /schedtags/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: schedtag_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/schedtag_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - schedtag /schedtags/purge-splitable: post: description: 执行操作PurgeSplitable @@ -136931,6 +131902,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - security_group_rule + /security_group_rules/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: security_group_rule_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/security_group_rule_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - security_group_rule /security_group_rules/purge-splitable: post: description: 执行操作PurgeSplitable @@ -137343,7 +132324,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -138015,6 +132996,16 @@ paths: summary: 执行操作Unfreeze tags: - security_group + /security_groups/clean: + post: + description: 执行操作Clean + operationId: security_group_PerformClean + responses: + "200": + $ref: '#/responses/security_group_PerformCleanOutput' + summary: 执行操作Clean + tags: + - security_group /security_groups/distinct-field: get: description: 获取指定资源类的信息DistinctField @@ -138025,6 +133016,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - security_group + /security_groups/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: security_group_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/security_group_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - security_group /security_groups/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -138408,7 +133409,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -138971,6 +133972,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - server_sku + /server_skus/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: server_sku_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/server_sku_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - server_sku /server_skus/instance-specs: get: description: 获取指定资源类的信息InstanceSpecs @@ -139497,7 +134508,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -139734,7 +134745,7 @@ paths: - cloudpods - ecloud - jdcloud - - remotefile` + - remotefile in: query items: type: string @@ -142832,6 +137843,31 @@ paths: summary: 执行操作Unfreeze tags: - server + /servers/{id}/update-sub-ips: + post: + description: 执行操作UpdateSubIps + operationId: server_PerformUpdateSubIps + parameters: + - description: The Id or Name of server + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + server: + $ref: '#/definitions/GuestUpdateSubIpsInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/server_PerformUpdateSubIpsOutput' + summary: 执行操作UpdateSubIps + tags: + - server /servers/{id}/user-data: post: description: 执行操作UserData @@ -142897,6 +137933,25 @@ paths: summary: 获取VNC信息 tags: - server + /servers/batch-convert-precheck: + post: + description: 执行操作BatchConvertPrecheck + operationId: server_PerformBatchConvertPrecheck + parameters: + - in: body + name: body + schema: + properties: + server: + $ref: '#/definitions/BatchConvertToKvmCheckInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/server_PerformBatchConvertPrecheckOutput' + summary: 执行操作BatchConvertPrecheck + tags: + - server /servers/batch-migrate: post: description: 执行操作BatchMigrate @@ -142957,6 +138012,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - server + /servers/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: server_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/server_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - server /servers/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -143890,6 +138955,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - service_catalog + /service_catalogs/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: service_catalog_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/service_catalog_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - service_catalog /service_catalogs/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -144325,7 +139400,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -144927,6 +140002,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - snapshot_policy + /snapshot_policies/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: snapshot_policy_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/snapshot_policy_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - snapshot_policy /snapshot_policies/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -145255,6 +140340,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - snapshot_policy_disk + /snapshot_policy_disks/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: snapshot_policy_disk_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/snapshot_policy_disk_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - snapshot_policy_disk /snapshot_policy_disks/purge-splitable: post: description: 执行操作PurgeSplitable @@ -145632,7 +140727,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -146304,6 +141399,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - snapshot + /snapshots/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: snapshot_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/snapshot_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - snapshot /snapshots/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -146766,7 +141871,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -147273,6 +142378,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - ssl_certificate + /ssl_certificates/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: ssl_certificate_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/ssl_certificate_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - ssl_certificate /ssl_certificates/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -147589,7 +142704,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -147776,6 +142891,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - storagecachedimage + /storagecachedimages/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: storagecachedimage_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/storagecachedimage_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - storagecachedimage /storagecachedimages/purge-splitable: post: description: 执行操作PurgeSplitable @@ -148082,7 +143207,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -148488,6 +143613,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - storagecache + /storagecaches/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: storagecache_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/storagecache_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - storagecache /storagecaches/purge-splitable: post: description: 执行操作PurgeSplitable @@ -148841,7 +143976,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -149606,6 +144741,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - storage + /storages/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: storage_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/storage_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - storage /storages/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -150043,7 +145188,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -150550,6 +145695,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - tablestore + /tablestores/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: tablestore_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/tablestore_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - tablestore /tablestores/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -150988,7 +146143,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -151556,6 +146711,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - vpc_peering_connection + /vpc_peering_connections/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: vpc_peering_connection_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/vpc_peering_connection_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - vpc_peering_connection /vpc_peering_connections/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -151967,7 +147132,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -152661,6 +147826,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - vpc + /vpcs/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: vpc_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/vpc_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - vpc /vpcs/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -153039,7 +148214,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -153668,6 +148843,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - waf_instance + /waf_instances/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: waf_instance_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/waf_instance_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - waf_instance /waf_instances/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -153772,769 +148957,6 @@ paths: summary: 获取指定资源类的信息TagValueTree tags: - waf_instance - /waf_ip_set_caches: - get: - description: 列表 - operationId: waf_ip_set_cache_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为关联表column,origin_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 - - $ref: '#/definitions/TTagSet' - description: 通过标签过滤(包含这些标签) - in: query - name: tags - x-go-name: Tags - - $ref: '#/definitions/TTagSetList' - description: 通过一组标签过滤(还包含这些标签,OR的关系) - in: query - name: obj_tags - x-go-name: ObjTags - - $ref: '#/definitions/TTagSet' - description: 通过标签过滤(不包含这些标签) - in: query - name: no_tags - x-go-name: NoTags - - $ref: '#/definitions/TTagSetList' - description: 通过一组标签过滤(还不包含这些标签,AND的关系) - in: query - name: no_obj_tags - x-go-name: NoObjTags - - description: 通过标签排序 - in: query - name: order_by_tag - type: string - x-go-name: OrderByTag - - description: |- - deprecated - 返回资源的标签不包含用户标签 - in: query - name: without_user_meta - type: boolean - x-go-name: WithoutUserMeta - - description: 返回包含用户标签的资源 - in: query - name: with_user_meta - type: boolean - x-go-name: WithUserMeta - - description: 返回包含外部标签的资源 - in: query - name: with_cloud_meta - type: boolean - x-go-name: WithCloudMeta - - description: 返回包含任意标签的资源 - in: query - name: with_any_meta - type: boolean - x-go-name: WithAnyMeta - - description: 返回列表数据中包含资源的标签数据(Metadata) - in: query - name: with_meta - type: boolean - x-go-name: WithMeta - - description: 显示所有的资源,包括模拟的资源 - in: query - name: show_emulated - type: boolean - x-go-name: ShowEmulated - - description: 以资源ID过滤列表 - in: query - items: - type: string - name: id - type: array - x-go-name: Ids - - description: 以资源名称过滤列表 - in: query - items: - type: string - name: name - type: array - x-go-name: Names - - description: 以资源的状态过滤列表 - in: query - items: - type: string - name: status - type: array - x-go-name: Status - - description: 以资源外部ID过滤 - in: query - name: external_id - type: string - x-go-name: ExternalId - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_ListItemFilterOutput' - summary: 列出WAF IPSet缓存 - tags: - - waf_ip_set_cache - post: - description: 新建 - operationId: waf_ip_set_cache_ValidateCreateData - parameters: - - in: body - name: body - schema: - properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - waf_ip_set_cache: - $ref: '#/definitions/StatusStandaloneResourceCreateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_ValidateCreateDataOutput' - summary: 新建 - tags: - - waf_ip_set_cache - /waf_ip_set_caches/{id}: - delete: - description: 删除 - operationId: waf_ip_set_cache_CustomizeDelete - parameters: - - description: The Id or Name of waf_ip_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_CustomizeDeleteOutput' - summary: 删除 - tags: - - waf_ip_set_cache - get: - description: 获取详情 - operationId: waf_ip_set_cache_FetchCustomizeColumns - parameters: - - description: The Id or Name of waf_ip_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - waf_ip_set_cache - put: - description: 更新 - operationId: waf_ip_set_cache_ValidateUpdateData - parameters: - - description: The Id or Name of waf_ip_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_ip_set_cache: - $ref: '#/definitions/StatusStandaloneResourceBaseUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_ValidateUpdateDataOutput' - summary: 更新 - tags: - - waf_ip_set_cache - /waf_ip_set_caches/{id}/class-metadata: - get: - description: 获取指定信息ClassMetadata - operationId: waf_ip_set_cache_GetDetailsClassMetadata - parameters: - - description: The Id or Name of waf_ip_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_GetDetailsClassMetadataOutput' - summary: 获取指定信息ClassMetadata - tags: - - waf_ip_set_cache - post: - description: 执行操作ClassMetadata - operationId: waf_ip_set_cache_PerformClassMetadata - parameters: - - description: The Id or Name of waf_ip_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_ip_set_cache: - additionalProperties: - type: string - type: object - x-go-name: Input - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_PerformClassMetadataOutput' - summary: 更新资源的 class 标签 - tags: - - waf_ip_set_cache - /waf_ip_set_caches/{id}/metadata: - get: - description: 获取指定信息Metadata - operationId: waf_ip_set_cache_GetDetailsMetadata - parameters: - - description: |- - 指定需要获取的所有标签的KEY列表,如果列表为空,则获取全部标签 - 标签分为 - - 类型 | 说明 | - ----------|---------------------------------------------| - 系统标签 | 平台定义的标签 | - 用户标签 | key以user:为前缀,用户自定义标签 | - 外部标签 | key以ext:为前缀,为从其他平台同步过来的标签 | - in: query - items: - type: string - name: field - type: array - x-go-name: Field - - description: 按标签前缀过滤 - in: query - name: prefix - type: string - x-go-name: Prefix - - description: The Id or Name of waf_ip_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_GetDetailsMetadataOutput' - summary: 获取资源标签(元数据) - tags: - - waf_ip_set_cache - /waf_ip_set_caches/{id}/org-metadata: - get: - description: 获取指定信息OrgMetadata - operationId: waf_ip_set_cache_GetDetailsOrgMetadata - parameters: - - description: The Id or Name of waf_ip_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_GetDetailsOrgMetadataOutput' - summary: 获取指定信息OrgMetadata - tags: - - waf_ip_set_cache - /waf_ip_set_caches/{id}/set-class-metadata: - post: - description: 执行操作SetClassMetadata - operationId: waf_ip_set_cache_PerformSetClassMetadata - parameters: - - description: The Id or Name of waf_ip_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_ip_set_cache: - additionalProperties: - type: string - type: object - x-go-name: Input - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_PerformSetClassMetadataOutput' - summary: 全量替换资源的所有 class 标签 - tags: - - waf_ip_set_cache - /waf_ip_set_caches/{id}/set-org-metadata: - post: - description: 执行操作SetOrgMetadata - operationId: waf_ip_set_cache_PerformSetOrgMetadata - parameters: - - description: The Id or Name of waf_ip_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_ip_set_cache: - additionalProperties: - type: string - type: object - x-go-name: Input - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_PerformSetOrgMetadataOutput' - summary: 全量替换资源的所有 class 标签 - tags: - - waf_ip_set_cache - /waf_ip_set_caches/{id}/set-user-metadata: - post: - description: 执行操作SetUserMetadata - operationId: waf_ip_set_cache_PerformSetUserMetadata - parameters: - - description: The Id or Name of waf_ip_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_ip_set_cache: - additionalProperties: - type: string - type: object - x-go-name: Input - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_PerformSetUserMetadataOutput' - summary: 全量替换资源的所有用户标签 - tags: - - waf_ip_set_cache - /waf_ip_set_caches/{id}/status: - get: - description: 获取指定信息Status - operationId: waf_ip_set_cache_GetDetailsStatus - parameters: - - description: The Id or Name of waf_ip_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_GetDetailsStatusOutput' - summary: 获取资源状态 - tags: - - waf_ip_set_cache - post: - description: 执行操作Status - operationId: waf_ip_set_cache_PerformStatus - parameters: - - description: The Id or Name of waf_ip_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_ip_set_cache: - $ref: '#/definitions/PerformStatusInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_PerformStatusOutput' - summary: 更新资源状态 - tags: - - waf_ip_set_cache - /waf_ip_set_caches/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: waf_ip_set_cache_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - waf_ip_set_cache - /waf_ip_set_caches/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: waf_ip_set_cache_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - waf_ip_set_cache: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - waf_ip_set_cache - /waf_ip_set_caches/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: waf_ip_set_cache_GetPropertySplitable - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - waf_ip_set_cache - /waf_ip_set_caches/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: waf_ip_set_cache_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/waf_ip_set_cache_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - waf_ip_set_cache - /waf_ip_set_caches/statistics: - get: - description: 获取指定资源类的信息Statistics - operationId: waf_ip_set_cache_GetPropertyStatistics - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_GetPropertyStatisticsOutput' - summary: 获取指定资源类的信息Statistics - tags: - - waf_ip_set_cache - /waf_ip_set_caches/tag-value-pairs: - get: - description: 获取指定资源类的信息TagValuePairs - operationId: waf_ip_set_cache_GetPropertyTagValuePairs - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_GetPropertyTagValuePairsOutput' - summary: 获取指定资源类的信息TagValuePairs - tags: - - waf_ip_set_cache - /waf_ip_set_caches/tag-value-tree: - get: - description: 获取指定资源类的信息TagValueTree - operationId: waf_ip_set_cache_GetPropertyTagValueTree - responses: - "200": - $ref: '#/responses/waf_ip_set_cache_GetPropertyTagValueTreeOutput' - summary: 获取指定资源类的信息TagValueTree - tags: - - waf_ip_set_cache /waf_ip_sets: get: description: 列表 @@ -154714,6 +149136,28 @@ paths: name: name type: array x-go-name: Names + - description: 以资源是否共享过滤列表 + in: query + name: is_public + type: boolean + x-go-name: IsPublic + - description: 根据资源的共享范围过滤列表,可能值为:system, domain, project + in: query + name: public_scope + type: string + x-go-name: PublicScope + - description: 以资源的状态过滤列表 + in: query + items: + type: string + name: status + type: array + x-go-name: Status + - description: 以资源外部ID过滤 + in: query + name: external_id + type: string + x-go-name: ExternalId - description: 指定查询的权限范围,可能值为project, domain or system in: query name: scope @@ -154747,23 +149191,142 @@ paths: in: query name: no_domain_tags x-go-name: NoDomainTags - - description: 以资源是否共享过滤列表 - in: query - name: is_public - type: boolean - x-go-name: IsPublic - - description: 根据资源的共享范围过滤列表,可能值为:system, domain, project - in: query - name: public_scope - type: string - x-go-name: PublicScope - - description: 以资源的状态过滤列表 + - description: |- + 列出指定云平台的资源,支持的云平台如下 + + Provider | 开始支持版本 | 平台 | + -----------|------------|-------------------------------------| + OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | + VMware | 1.2 | VMware vCenter | + OpenStack | 2.6 | OpenStack M版本以上私有云 | + ZStack | 2.10 | ZStack私有云 | + Aliyun | 2.0 | 阿里云 | + Aws | 2.3 | Amazon AWS | + Azure | 2.2 | Microsoft Azure | + Google | 2.13 | Google Cloud Platform | + Qcloud | 2.3 | 腾讯云 | + Huawei | 2.5 | 华为公有云 | + Ucloud | 2.7 | UCLOUD | + Ctyun | 2.13 | 天翼云 | + S3 | 2.11 | 通用s3对象存储 | + Ceph | 2.11 | Ceph对象存储 | + Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | + enum: + - OneCloud + - VMware + - Aliyun + - Qcloud + - Azure + - Aws + - Huawei + - OpenStack + - Ucloud + - ZStack + - Google + - Ctyun + - S3 + - Ceph + - Xsky in: query items: type: string - name: status + name: providers type: array - x-go-name: Status + x-go-name: Providers + - description: |- + 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band + + Brand | Provider | 说明 | + ----------|----------|------------| + DStack | ZStack | 滴滴云私有云 | + in: query + items: + type: string + name: brands + type: array + x-go-name: Brands + - description: |- + 列出指定云环境的资源,支持云环境如下: + + CloudEnv | 说明 | + -----------|--------| + public | 公有云 | + private | 私有云 | + onpremise | 本地IDC | + enum: + - public + - private + - onpremise + in: query + name: cloud_env + type: string + x-go-name: CloudEnv + - description: 以平台名称排序 + in: query + name: order_by_provider + pattern: asc|desc + type: string + x-go-name: OrderByProvider + - description: 以平台品牌排序 + in: query + name: order_by_brand + pattern: asc|desc + type: string + x-go-name: OrderByBrand + - description: 列出关联指定云订阅(ID或Name)的资源 + in: query + items: + type: string + name: cloudprovider_id + type: array + x-go-name: CloudproviderId + - description: 列出关联指定云账号(ID或Name)的资源 + in: query + items: + type: string + name: cloudaccount_id + type: array + x-go-name: CloudaccountId + - default: false + description: 过滤资源,是否为非OneCloud内置私有云管理的资源 + in: query + name: is_managed + type: boolean + x-go-name: IsManaged + - description: 以云账号名称排序 + in: query + name: order_by_account + pattern: asc|desc + type: string + x-go-name: OrderByAccount + - description: 以云订阅名称排序 + in: query + name: order_by_manager + pattern: asc|desc + type: string + x-go-name: OrderByManager + - description: 区域名称或ID + in: query + items: + type: string + name: cloudregion_id + type: array + x-go-name: CloudregionId + - description: 过滤位于指定城市区域的资源 + in: query + name: city + type: string + x-go-name: City + - description: 按区域名称过滤 + in: query + name: order_by_region + type: string + x-go-name: OrderByRegion + - description: 按城市过滤 + in: query + name: order_by_city + type: string + x-go-name: OrderByCity responses: "200": $ref: '#/responses/waf_ip_set_ListItemFilterOutput' @@ -155175,6 +149738,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - waf_ip_set + /waf_ip_sets/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: waf_ip_set_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/waf_ip_set_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - waf_ip_set /waf_ip_sets/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -155279,769 +149852,6 @@ paths: summary: 获取指定资源类的信息TagValueTree tags: - waf_ip_set - /waf_regex_set_caches: - get: - description: 列表 - operationId: waf_regex_set_cache_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为关联表column,origin_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 - - $ref: '#/definitions/TTagSet' - description: 通过标签过滤(包含这些标签) - in: query - name: tags - x-go-name: Tags - - $ref: '#/definitions/TTagSetList' - description: 通过一组标签过滤(还包含这些标签,OR的关系) - in: query - name: obj_tags - x-go-name: ObjTags - - $ref: '#/definitions/TTagSet' - description: 通过标签过滤(不包含这些标签) - in: query - name: no_tags - x-go-name: NoTags - - $ref: '#/definitions/TTagSetList' - description: 通过一组标签过滤(还不包含这些标签,AND的关系) - in: query - name: no_obj_tags - x-go-name: NoObjTags - - description: 通过标签排序 - in: query - name: order_by_tag - type: string - x-go-name: OrderByTag - - description: |- - deprecated - 返回资源的标签不包含用户标签 - in: query - name: without_user_meta - type: boolean - x-go-name: WithoutUserMeta - - description: 返回包含用户标签的资源 - in: query - name: with_user_meta - type: boolean - x-go-name: WithUserMeta - - description: 返回包含外部标签的资源 - in: query - name: with_cloud_meta - type: boolean - x-go-name: WithCloudMeta - - description: 返回包含任意标签的资源 - in: query - name: with_any_meta - type: boolean - x-go-name: WithAnyMeta - - description: 返回列表数据中包含资源的标签数据(Metadata) - in: query - name: with_meta - type: boolean - x-go-name: WithMeta - - description: 显示所有的资源,包括模拟的资源 - in: query - name: show_emulated - type: boolean - x-go-name: ShowEmulated - - description: 以资源ID过滤列表 - in: query - items: - type: string - name: id - type: array - x-go-name: Ids - - description: 以资源名称过滤列表 - in: query - items: - type: string - name: name - type: array - x-go-name: Names - - description: 以资源的状态过滤列表 - in: query - items: - type: string - name: status - type: array - x-go-name: Status - - description: 以资源外部ID过滤 - in: query - name: external_id - type: string - x-go-name: ExternalId - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_ListItemFilterOutput' - summary: 列出WAF RegexSet缓存 - tags: - - waf_regex_set_cache - post: - description: 新建 - operationId: waf_regex_set_cache_ValidateCreateData - parameters: - - in: body - name: body - schema: - properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - waf_regex_set_cache: - $ref: '#/definitions/StatusStandaloneResourceCreateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_ValidateCreateDataOutput' - summary: 新建 - tags: - - waf_regex_set_cache - /waf_regex_set_caches/{id}: - delete: - description: 删除 - operationId: waf_regex_set_cache_CustomizeDelete - parameters: - - description: The Id or Name of waf_regex_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_CustomizeDeleteOutput' - summary: 删除 - tags: - - waf_regex_set_cache - get: - description: 获取详情 - operationId: waf_regex_set_cache_FetchCustomizeColumns - parameters: - - description: The Id or Name of waf_regex_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - waf_regex_set_cache - put: - description: 更新 - operationId: waf_regex_set_cache_ValidateUpdateData - parameters: - - description: The Id or Name of waf_regex_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_regex_set_cache: - $ref: '#/definitions/StatusStandaloneResourceBaseUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_ValidateUpdateDataOutput' - summary: 更新 - tags: - - waf_regex_set_cache - /waf_regex_set_caches/{id}/class-metadata: - get: - description: 获取指定信息ClassMetadata - operationId: waf_regex_set_cache_GetDetailsClassMetadata - parameters: - - description: The Id or Name of waf_regex_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_GetDetailsClassMetadataOutput' - summary: 获取指定信息ClassMetadata - tags: - - waf_regex_set_cache - post: - description: 执行操作ClassMetadata - operationId: waf_regex_set_cache_PerformClassMetadata - parameters: - - description: The Id or Name of waf_regex_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_regex_set_cache: - additionalProperties: - type: string - type: object - x-go-name: Input - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_PerformClassMetadataOutput' - summary: 更新资源的 class 标签 - tags: - - waf_regex_set_cache - /waf_regex_set_caches/{id}/metadata: - get: - description: 获取指定信息Metadata - operationId: waf_regex_set_cache_GetDetailsMetadata - parameters: - - description: |- - 指定需要获取的所有标签的KEY列表,如果列表为空,则获取全部标签 - 标签分为 - - 类型 | 说明 | - ----------|---------------------------------------------| - 系统标签 | 平台定义的标签 | - 用户标签 | key以user:为前缀,用户自定义标签 | - 外部标签 | key以ext:为前缀,为从其他平台同步过来的标签 | - in: query - items: - type: string - name: field - type: array - x-go-name: Field - - description: 按标签前缀过滤 - in: query - name: prefix - type: string - x-go-name: Prefix - - description: The Id or Name of waf_regex_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_GetDetailsMetadataOutput' - summary: 获取资源标签(元数据) - tags: - - waf_regex_set_cache - /waf_regex_set_caches/{id}/org-metadata: - get: - description: 获取指定信息OrgMetadata - operationId: waf_regex_set_cache_GetDetailsOrgMetadata - parameters: - - description: The Id or Name of waf_regex_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_GetDetailsOrgMetadataOutput' - summary: 获取指定信息OrgMetadata - tags: - - waf_regex_set_cache - /waf_regex_set_caches/{id}/set-class-metadata: - post: - description: 执行操作SetClassMetadata - operationId: waf_regex_set_cache_PerformSetClassMetadata - parameters: - - description: The Id or Name of waf_regex_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_regex_set_cache: - additionalProperties: - type: string - type: object - x-go-name: Input - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_PerformSetClassMetadataOutput' - summary: 全量替换资源的所有 class 标签 - tags: - - waf_regex_set_cache - /waf_regex_set_caches/{id}/set-org-metadata: - post: - description: 执行操作SetOrgMetadata - operationId: waf_regex_set_cache_PerformSetOrgMetadata - parameters: - - description: The Id or Name of waf_regex_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_regex_set_cache: - additionalProperties: - type: string - type: object - x-go-name: Input - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_PerformSetOrgMetadataOutput' - summary: 全量替换资源的所有 class 标签 - tags: - - waf_regex_set_cache - /waf_regex_set_caches/{id}/set-user-metadata: - post: - description: 执行操作SetUserMetadata - operationId: waf_regex_set_cache_PerformSetUserMetadata - parameters: - - description: The Id or Name of waf_regex_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_regex_set_cache: - additionalProperties: - type: string - type: object - x-go-name: Input - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_PerformSetUserMetadataOutput' - summary: 全量替换资源的所有用户标签 - tags: - - waf_regex_set_cache - /waf_regex_set_caches/{id}/status: - get: - description: 获取指定信息Status - operationId: waf_regex_set_cache_GetDetailsStatus - parameters: - - description: The Id or Name of waf_regex_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_GetDetailsStatusOutput' - summary: 获取资源状态 - tags: - - waf_regex_set_cache - post: - description: 执行操作Status - operationId: waf_regex_set_cache_PerformStatus - parameters: - - description: The Id or Name of waf_regex_set_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_regex_set_cache: - $ref: '#/definitions/PerformStatusInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_PerformStatusOutput' - summary: 更新资源状态 - tags: - - waf_regex_set_cache - /waf_regex_set_caches/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: waf_regex_set_cache_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - waf_regex_set_cache - /waf_regex_set_caches/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: waf_regex_set_cache_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - waf_regex_set_cache: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - waf_regex_set_cache - /waf_regex_set_caches/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: waf_regex_set_cache_GetPropertySplitable - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - waf_regex_set_cache - /waf_regex_set_caches/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: waf_regex_set_cache_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/waf_regex_set_cache_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - waf_regex_set_cache - /waf_regex_set_caches/statistics: - get: - description: 获取指定资源类的信息Statistics - operationId: waf_regex_set_cache_GetPropertyStatistics - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_GetPropertyStatisticsOutput' - summary: 获取指定资源类的信息Statistics - tags: - - waf_regex_set_cache - /waf_regex_set_caches/tag-value-pairs: - get: - description: 获取指定资源类的信息TagValuePairs - operationId: waf_regex_set_cache_GetPropertyTagValuePairs - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_GetPropertyTagValuePairsOutput' - summary: 获取指定资源类的信息TagValuePairs - tags: - - waf_regex_set_cache - /waf_regex_set_caches/tag-value-tree: - get: - description: 获取指定资源类的信息TagValueTree - operationId: waf_regex_set_cache_GetPropertyTagValueTree - responses: - "200": - $ref: '#/responses/waf_regex_set_cache_GetPropertyTagValueTreeOutput' - summary: 获取指定资源类的信息TagValueTree - tags: - - waf_regex_set_cache /waf_regex_sets: get: description: 列表 @@ -156221,6 +150031,28 @@ paths: name: name type: array x-go-name: Names + - description: 以资源是否共享过滤列表 + in: query + name: is_public + type: boolean + x-go-name: IsPublic + - description: 根据资源的共享范围过滤列表,可能值为:system, domain, project + in: query + name: public_scope + type: string + x-go-name: PublicScope + - description: 以资源的状态过滤列表 + in: query + items: + type: string + name: status + type: array + x-go-name: Status + - description: 以资源外部ID过滤 + in: query + name: external_id + type: string + x-go-name: ExternalId - description: 指定查询的权限范围,可能值为project, domain or system in: query name: scope @@ -156254,23 +150086,142 @@ paths: in: query name: no_domain_tags x-go-name: NoDomainTags - - description: 以资源是否共享过滤列表 - in: query - name: is_public - type: boolean - x-go-name: IsPublic - - description: 根据资源的共享范围过滤列表,可能值为:system, domain, project - in: query - name: public_scope - type: string - x-go-name: PublicScope - - description: 以资源的状态过滤列表 + - description: |- + 列出指定云平台的资源,支持的云平台如下 + + Provider | 开始支持版本 | 平台 | + -----------|------------|-------------------------------------| + OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | + VMware | 1.2 | VMware vCenter | + OpenStack | 2.6 | OpenStack M版本以上私有云 | + ZStack | 2.10 | ZStack私有云 | + Aliyun | 2.0 | 阿里云 | + Aws | 2.3 | Amazon AWS | + Azure | 2.2 | Microsoft Azure | + Google | 2.13 | Google Cloud Platform | + Qcloud | 2.3 | 腾讯云 | + Huawei | 2.5 | 华为公有云 | + Ucloud | 2.7 | UCLOUD | + Ctyun | 2.13 | 天翼云 | + S3 | 2.11 | 通用s3对象存储 | + Ceph | 2.11 | Ceph对象存储 | + Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | + enum: + - OneCloud + - VMware + - Aliyun + - Qcloud + - Azure + - Aws + - Huawei + - OpenStack + - Ucloud + - ZStack + - Google + - Ctyun + - S3 + - Ceph + - Xsky in: query items: type: string - name: status + name: providers type: array - x-go-name: Status + x-go-name: Providers + - description: |- + 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band + + Brand | Provider | 说明 | + ----------|----------|------------| + DStack | ZStack | 滴滴云私有云 | + in: query + items: + type: string + name: brands + type: array + x-go-name: Brands + - description: |- + 列出指定云环境的资源,支持云环境如下: + + CloudEnv | 说明 | + -----------|--------| + public | 公有云 | + private | 私有云 | + onpremise | 本地IDC | + enum: + - public + - private + - onpremise + in: query + name: cloud_env + type: string + x-go-name: CloudEnv + - description: 以平台名称排序 + in: query + name: order_by_provider + pattern: asc|desc + type: string + x-go-name: OrderByProvider + - description: 以平台品牌排序 + in: query + name: order_by_brand + pattern: asc|desc + type: string + x-go-name: OrderByBrand + - description: 列出关联指定云订阅(ID或Name)的资源 + in: query + items: + type: string + name: cloudprovider_id + type: array + x-go-name: CloudproviderId + - description: 列出关联指定云账号(ID或Name)的资源 + in: query + items: + type: string + name: cloudaccount_id + type: array + x-go-name: CloudaccountId + - default: false + description: 过滤资源,是否为非OneCloud内置私有云管理的资源 + in: query + name: is_managed + type: boolean + x-go-name: IsManaged + - description: 以云账号名称排序 + in: query + name: order_by_account + pattern: asc|desc + type: string + x-go-name: OrderByAccount + - description: 以云订阅名称排序 + in: query + name: order_by_manager + pattern: asc|desc + type: string + x-go-name: OrderByManager + - description: 区域名称或ID + in: query + items: + type: string + name: cloudregion_id + type: array + x-go-name: CloudregionId + - description: 过滤位于指定城市区域的资源 + in: query + name: city + type: string + x-go-name: City + - description: 按区域名称过滤 + in: query + name: order_by_region + type: string + x-go-name: OrderByRegion + - description: 按城市过滤 + in: query + name: order_by_city + type: string + x-go-name: OrderByCity responses: "200": $ref: '#/responses/waf_regex_set_ListItemFilterOutput' @@ -156682,6 +150633,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - waf_regex_set + /waf_regex_sets/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: waf_regex_set_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/waf_regex_set_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - waf_regex_set /waf_regex_sets/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -156786,769 +150747,6 @@ paths: summary: 获取指定资源类的信息TagValueTree tags: - waf_regex_set - /waf_rule_group_caches: - get: - description: 列表 - operationId: waf_rule_group_cache_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为关联表column,origin_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 - - $ref: '#/definitions/TTagSet' - description: 通过标签过滤(包含这些标签) - in: query - name: tags - x-go-name: Tags - - $ref: '#/definitions/TTagSetList' - description: 通过一组标签过滤(还包含这些标签,OR的关系) - in: query - name: obj_tags - x-go-name: ObjTags - - $ref: '#/definitions/TTagSet' - description: 通过标签过滤(不包含这些标签) - in: query - name: no_tags - x-go-name: NoTags - - $ref: '#/definitions/TTagSetList' - description: 通过一组标签过滤(还不包含这些标签,AND的关系) - in: query - name: no_obj_tags - x-go-name: NoObjTags - - description: 通过标签排序 - in: query - name: order_by_tag - type: string - x-go-name: OrderByTag - - description: |- - deprecated - 返回资源的标签不包含用户标签 - in: query - name: without_user_meta - type: boolean - x-go-name: WithoutUserMeta - - description: 返回包含用户标签的资源 - in: query - name: with_user_meta - type: boolean - x-go-name: WithUserMeta - - description: 返回包含外部标签的资源 - in: query - name: with_cloud_meta - type: boolean - x-go-name: WithCloudMeta - - description: 返回包含任意标签的资源 - in: query - name: with_any_meta - type: boolean - x-go-name: WithAnyMeta - - description: 返回列表数据中包含资源的标签数据(Metadata) - in: query - name: with_meta - type: boolean - x-go-name: WithMeta - - description: 显示所有的资源,包括模拟的资源 - in: query - name: show_emulated - type: boolean - x-go-name: ShowEmulated - - description: 以资源ID过滤列表 - in: query - items: - type: string - name: id - type: array - x-go-name: Ids - - description: 以资源名称过滤列表 - in: query - items: - type: string - name: name - type: array - x-go-name: Names - - description: 以资源的状态过滤列表 - in: query - items: - type: string - name: status - type: array - x-go-name: Status - - description: 以资源外部ID过滤 - in: query - name: external_id - type: string - x-go-name: ExternalId - - description: 指定查询的权限范围,可能值为project, domain or system - in: query - name: scope - type: string - x-go-name: Scope - - description: 指定项目归属域名称或ID - in: query - name: project_domain_id - type: string - x-go-name: ProjectDomainId - - description: 对具有域属性的资源,严格匹配域ID - in: query - items: - type: string - name: project_domain_ids - type: array - x-go-name: ProjectDomainIds - - description: 按domain名称排序,可能值为asc|desc - in: query - name: order_by_domain - pattern: asc|desc - type: string - x-go-name: OrderByDomain - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: domain_tags - x-go-name: DomainTags - - $ref: '#/definitions/TTagSetList' - description: filter by domain tags - in: query - name: no_domain_tags - x-go-name: NoDomainTags - - description: |- - 列出指定云平台的资源,支持的云平台如下 - - Provider | 开始支持版本 | 平台 | - -----------|------------|-------------------------------------| - OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | - VMware | 1.2 | VMware vCenter | - OpenStack | 2.6 | OpenStack M版本以上私有云 | - ZStack | 2.10 | ZStack私有云 | - Aliyun | 2.0 | 阿里云 | - Aws | 2.3 | Amazon AWS | - Azure | 2.2 | Microsoft Azure | - Google | 2.13 | Google Cloud Platform | - Qcloud | 2.3 | 腾讯云 | - Huawei | 2.5 | 华为公有云 | - Ucloud | 2.7 | UCLOUD | - Ctyun | 2.13 | 天翼云 | - S3 | 2.11 | 通用s3对象存储 | - Ceph | 2.11 | Ceph对象存储 | - Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | - enum: - - OneCloud - - VMware - - Aliyun - - Qcloud - - Azure - - Aws - - Huawei - - OpenStack - - Ucloud - - ZStack - - Google - - Ctyun - - S3 - - Ceph - - Xsky" - in: query - items: - type: string - name: providers - type: array - x-go-name: Providers - - description: |- - 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band - - Brand | Provider | 说明 | - ----------|----------|------------| - DStack | ZStack | 滴滴云私有云 | - in: query - items: - type: string - name: brands - type: array - x-go-name: Brands - - description: |- - 列出指定云环境的资源,支持云环境如下: - - CloudEnv | 说明 | - -----------|--------| - public | 公有云 | - private | 私有云 | - onpremise | 本地IDC | - enum: - - public - - private - - onpremise - in: query - name: cloud_env - type: string - x-go-name: CloudEnv - - description: 以平台名称排序 - in: query - name: order_by_provider - pattern: asc|desc - type: string - x-go-name: OrderByProvider - - description: 以平台品牌排序 - in: query - name: order_by_brand - pattern: asc|desc - type: string - x-go-name: OrderByBrand - - description: 列出关联指定云订阅(ID或Name)的资源 - in: query - items: - type: string - name: cloudprovider_id - type: array - x-go-name: CloudproviderId - - description: 列出关联指定云账号(ID或Name)的资源 - in: query - items: - type: string - name: cloudaccount_id - type: array - x-go-name: CloudaccountId - - default: false - description: 过滤资源,是否为非OneCloud内置私有云管理的资源 - in: query - name: is_managed - type: boolean - x-go-name: IsManaged - - description: 以云账号名称排序 - in: query - name: order_by_account - pattern: asc|desc - type: string - x-go-name: OrderByAccount - - description: 以云订阅名称排序 - in: query - name: order_by_manager - pattern: asc|desc - type: string - x-go-name: OrderByManager - - description: 区域名称或ID - in: query - items: - type: string - name: cloudregion_id - type: array - x-go-name: CloudregionId - - description: 过滤位于指定城市区域的资源 - in: query - name: city - type: string - x-go-name: City - - description: 按区域名称过滤 - in: query - name: order_by_region - type: string - x-go-name: OrderByRegion - - description: 按城市过滤 - in: query - name: order_by_city - type: string - x-go-name: OrderByCity - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_ListItemFilterOutput' - summary: 列出WAF RuleGroup缓存 - tags: - - waf_rule_group_cache - post: - description: 新建 - operationId: waf_rule_group_cache_ValidateCreateData - parameters: - - in: body - name: body - schema: - properties: - count: - default: 1 - format: int64 - type: integer - x-go-name: Count - waf_rule_group_cache: - $ref: '#/definitions/StatusStandaloneResourceCreateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_ValidateCreateDataOutput' - summary: 新建 - tags: - - waf_rule_group_cache - /waf_rule_group_caches/{id}: - delete: - description: 删除 - operationId: waf_rule_group_cache_CustomizeDelete - parameters: - - description: The Id or Name of waf_rule_group_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_CustomizeDeleteOutput' - summary: 删除 - tags: - - waf_rule_group_cache - get: - description: 获取详情 - operationId: waf_rule_group_cache_FetchCustomizeColumns - parameters: - - description: The Id or Name of waf_rule_group_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_FetchCustomizeColumnsOutput' - summary: 获取详情 - tags: - - waf_rule_group_cache - put: - description: 更新 - operationId: waf_rule_group_cache_ValidateUpdateData - parameters: - - description: The Id or Name of waf_rule_group_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_rule_group_cache: - $ref: '#/definitions/StatusStandaloneResourceBaseUpdateInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_ValidateUpdateDataOutput' - summary: 更新 - tags: - - waf_rule_group_cache - /waf_rule_group_caches/{id}/class-metadata: - get: - description: 获取指定信息ClassMetadata - operationId: waf_rule_group_cache_GetDetailsClassMetadata - parameters: - - description: The Id or Name of waf_rule_group_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_GetDetailsClassMetadataOutput' - summary: 获取指定信息ClassMetadata - tags: - - waf_rule_group_cache - post: - description: 执行操作ClassMetadata - operationId: waf_rule_group_cache_PerformClassMetadata - parameters: - - description: The Id or Name of waf_rule_group_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_rule_group_cache: - additionalProperties: - type: string - type: object - x-go-name: Input - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_PerformClassMetadataOutput' - summary: 更新资源的 class 标签 - tags: - - waf_rule_group_cache - /waf_rule_group_caches/{id}/metadata: - get: - description: 获取指定信息Metadata - operationId: waf_rule_group_cache_GetDetailsMetadata - parameters: - - description: |- - 指定需要获取的所有标签的KEY列表,如果列表为空,则获取全部标签 - 标签分为 - - 类型 | 说明 | - ----------|---------------------------------------------| - 系统标签 | 平台定义的标签 | - 用户标签 | key以user:为前缀,用户自定义标签 | - 外部标签 | key以ext:为前缀,为从其他平台同步过来的标签 | - in: query - items: - type: string - name: field - type: array - x-go-name: Field - - description: 按标签前缀过滤 - in: query - name: prefix - type: string - x-go-name: Prefix - - description: The Id or Name of waf_rule_group_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_GetDetailsMetadataOutput' - summary: 获取资源标签(元数据) - tags: - - waf_rule_group_cache - /waf_rule_group_caches/{id}/org-metadata: - get: - description: 获取指定信息OrgMetadata - operationId: waf_rule_group_cache_GetDetailsOrgMetadata - parameters: - - description: The Id or Name of waf_rule_group_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_GetDetailsOrgMetadataOutput' - summary: 获取指定信息OrgMetadata - tags: - - waf_rule_group_cache - /waf_rule_group_caches/{id}/set-class-metadata: - post: - description: 执行操作SetClassMetadata - operationId: waf_rule_group_cache_PerformSetClassMetadata - parameters: - - description: The Id or Name of waf_rule_group_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_rule_group_cache: - additionalProperties: - type: string - type: object - x-go-name: Input - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_PerformSetClassMetadataOutput' - summary: 全量替换资源的所有 class 标签 - tags: - - waf_rule_group_cache - /waf_rule_group_caches/{id}/set-org-metadata: - post: - description: 执行操作SetOrgMetadata - operationId: waf_rule_group_cache_PerformSetOrgMetadata - parameters: - - description: The Id or Name of waf_rule_group_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_rule_group_cache: - additionalProperties: - type: string - type: object - x-go-name: Input - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_PerformSetOrgMetadataOutput' - summary: 全量替换资源的所有 class 标签 - tags: - - waf_rule_group_cache - /waf_rule_group_caches/{id}/set-user-metadata: - post: - description: 执行操作SetUserMetadata - operationId: waf_rule_group_cache_PerformSetUserMetadata - parameters: - - description: The Id or Name of waf_rule_group_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_rule_group_cache: - additionalProperties: - type: string - type: object - x-go-name: Input - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_PerformSetUserMetadataOutput' - summary: 全量替换资源的所有用户标签 - tags: - - waf_rule_group_cache - /waf_rule_group_caches/{id}/status: - get: - description: 获取指定信息Status - operationId: waf_rule_group_cache_GetDetailsStatus - parameters: - - description: The Id or Name of waf_rule_group_cache - in: path - name: id - required: true - type: string - x-go-name: Id - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_GetDetailsStatusOutput' - summary: 获取资源状态 - tags: - - waf_rule_group_cache - post: - description: 执行操作Status - operationId: waf_rule_group_cache_PerformStatus - parameters: - - description: The Id or Name of waf_rule_group_cache - in: path - name: id - required: true - type: string - x-go-name: Id - - in: body - name: body - schema: - properties: - waf_rule_group_cache: - $ref: '#/definitions/PerformStatusInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_PerformStatusOutput' - summary: 更新资源状态 - tags: - - waf_rule_group_cache - /waf_rule_group_caches/distinct-field: - get: - description: 获取指定资源类的信息DistinctField - operationId: waf_rule_group_cache_GetPropertyDistinctField - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_GetPropertyDistinctFieldOutput' - summary: 获取指定资源类的信息DistinctField - tags: - - waf_rule_group_cache - /waf_rule_group_caches/purge-splitable: - post: - description: 执行操作PurgeSplitable - operationId: waf_rule_group_cache_PerformPurgeSplitable - parameters: - - in: body - name: body - schema: - properties: - waf_rule_group_cache: - $ref: '#/definitions/PurgeSplitTableInput' - type: object - x-go-name: Body - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_PerformPurgeSplitableOutput' - summary: 执行操作PurgeSplitable - tags: - - waf_rule_group_cache - /waf_rule_group_caches/splitable: - get: - description: 获取指定资源类的信息Splitable - operationId: waf_rule_group_cache_GetPropertySplitable - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_GetPropertySplitableOutput' - summary: 获取指定资源类的信息Splitable - tags: - - waf_rule_group_cache - /waf_rule_group_caches/splitable-export: - get: - description: 获取指定资源类的信息SplitableExport - operationId: waf_rule_group_cache_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/waf_rule_group_cache_GetPropertySplitableExportOutput' - summary: 获取指定资源类的信息SplitableExport - tags: - - waf_rule_group_cache - /waf_rule_group_caches/statistics: - get: - description: 获取指定资源类的信息Statistics - operationId: waf_rule_group_cache_GetPropertyStatistics - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_GetPropertyStatisticsOutput' - summary: 获取指定资源类的信息Statistics - tags: - - waf_rule_group_cache - /waf_rule_group_caches/tag-value-pairs: - get: - description: 获取指定资源类的信息TagValuePairs - operationId: waf_rule_group_cache_GetPropertyTagValuePairs - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_GetPropertyTagValuePairsOutput' - summary: 获取指定资源类的信息TagValuePairs - tags: - - waf_rule_group_cache - /waf_rule_group_caches/tag-value-tree: - get: - description: 获取指定资源类的信息TagValueTree - operationId: waf_rule_group_cache_GetPropertyTagValueTree - responses: - "200": - $ref: '#/responses/waf_rule_group_cache_GetPropertyTagValueTreeOutput' - summary: 获取指定资源类的信息TagValueTree - tags: - - waf_rule_group_cache /waf_rule_groups: get: description: 列表 @@ -157728,6 +150926,28 @@ paths: name: name type: array x-go-name: Names + - description: 以资源是否共享过滤列表 + in: query + name: is_public + type: boolean + x-go-name: IsPublic + - description: 根据资源的共享范围过滤列表,可能值为:system, domain, project + in: query + name: public_scope + type: string + x-go-name: PublicScope + - description: 以资源的状态过滤列表 + in: query + items: + type: string + name: status + type: array + x-go-name: Status + - description: 以资源外部ID过滤 + in: query + name: external_id + type: string + x-go-name: ExternalId - description: 指定查询的权限范围,可能值为project, domain or system in: query name: scope @@ -157761,38 +150981,142 @@ paths: in: query name: no_domain_tags x-go-name: NoDomainTags - - description: 以资源是否共享过滤列表 - in: query - name: is_public - type: boolean - x-go-name: IsPublic - - description: 根据资源的共享范围过滤列表,可能值为:system, domain, project - in: query - name: public_scope - type: string - x-go-name: PublicScope - - description: 以资源的状态过滤列表 + - description: |- + 列出指定云平台的资源,支持的云平台如下 + + Provider | 开始支持版本 | 平台 | + -----------|------------|-------------------------------------| + OneCloud | 0.0 | OneCloud内置私有云,包括KVM和裸金属管理 | + VMware | 1.2 | VMware vCenter | + OpenStack | 2.6 | OpenStack M版本以上私有云 | + ZStack | 2.10 | ZStack私有云 | + Aliyun | 2.0 | 阿里云 | + Aws | 2.3 | Amazon AWS | + Azure | 2.2 | Microsoft Azure | + Google | 2.13 | Google Cloud Platform | + Qcloud | 2.3 | 腾讯云 | + Huawei | 2.5 | 华为公有云 | + Ucloud | 2.7 | UCLOUD | + Ctyun | 2.13 | 天翼云 | + S3 | 2.11 | 通用s3对象存储 | + Ceph | 2.11 | Ceph对象存储 | + Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | + enum: + - OneCloud + - VMware + - Aliyun + - Qcloud + - Azure + - Aws + - Huawei + - OpenStack + - Ucloud + - ZStack + - Google + - Ctyun + - S3 + - Ceph + - Xsky in: query items: type: string - name: status + name: providers type: array - x-go-name: Status - - description: 是否是系统RuleGroup + x-go-name: Providers + - description: |- + 列出指定云平台品牌的资源,一般来说brand和provider相同,除了以上支持的provider之外,还支持以下band + + Brand | Provider | 说明 | + ----------|----------|------------| + DStack | ZStack | 滴滴云私有云 | in: query - name: is_system - type: boolean - x-go-name: IsSystem - - description: 云平台 - in: query - name: provider - type: string - x-go-name: Provider - - description: 云环境 + items: + type: string + name: brands + type: array + x-go-name: Brands + - description: |- + 列出指定云环境的资源,支持云环境如下: + + CloudEnv | 说明 | + -----------|--------| + public | 公有云 | + private | 私有云 | + onpremise | 本地IDC | + enum: + - public + - private + - onpremise in: query name: cloud_env type: string x-go-name: CloudEnv + - description: 以平台名称排序 + in: query + name: order_by_provider + pattern: asc|desc + type: string + x-go-name: OrderByProvider + - description: 以平台品牌排序 + in: query + name: order_by_brand + pattern: asc|desc + type: string + x-go-name: OrderByBrand + - description: 列出关联指定云订阅(ID或Name)的资源 + in: query + items: + type: string + name: cloudprovider_id + type: array + x-go-name: CloudproviderId + - description: 列出关联指定云账号(ID或Name)的资源 + in: query + items: + type: string + name: cloudaccount_id + type: array + x-go-name: CloudaccountId + - default: false + description: 过滤资源,是否为非OneCloud内置私有云管理的资源 + in: query + name: is_managed + type: boolean + x-go-name: IsManaged + - description: 以云账号名称排序 + in: query + name: order_by_account + pattern: asc|desc + type: string + x-go-name: OrderByAccount + - description: 以云订阅名称排序 + in: query + name: order_by_manager + pattern: asc|desc + type: string + x-go-name: OrderByManager + - description: 区域名称或ID + in: query + items: + type: string + name: cloudregion_id + type: array + x-go-name: CloudregionId + - description: 过滤位于指定城市区域的资源 + in: query + name: city + type: string + x-go-name: City + - description: 按区域名称过滤 + in: query + name: order_by_region + type: string + x-go-name: OrderByRegion + - description: 按城市过滤 + in: query + name: order_by_city + type: string + x-go-name: OrderByCity responses: "200": $ref: '#/responses/waf_rule_group_ListItemFilterOutput' @@ -158204,6 +151528,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - waf_rule_group + /waf_rule_groups/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: waf_rule_group_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/waf_rule_group_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - waf_rule_group /waf_rule_groups/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -158512,6 +151846,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - waf_rule_statement + /waf_rule_statements/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: waf_rule_statement_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/waf_rule_statement_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - waf_rule_statement /waf_rule_statements/purge-splitable: post: description: 执行操作PurgeSplitable @@ -159111,6 +152455,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - waf_rule + /waf_rules/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: waf_rule_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/waf_rule_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - waf_rule /waf_rules/purge-splitable: post: description: 执行操作PurgeSplitable @@ -159504,7 +152858,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -160125,6 +153479,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - wire + /wires/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: wire_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/wire_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - wire /wires/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -160586,7 +153950,7 @@ paths: - Ctyun - S3 - Ceph - - Xsky" + - Xsky in: query items: type: string @@ -161124,6 +154488,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - zone + /zones/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: zone_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/zone_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - zone /zones/purge-splitable: post: description: 执行操作PurgeSplitable @@ -161271,6 +154645,8 @@ responses: type: object access_group_GetPropertyDistinctFieldOutput: description: "" + access_group_GetPropertyDistinctFieldsOutput: + description: "" access_group_GetPropertyDomainTagValuePairsOutput: description: "" access_group_GetPropertyDomainTagValueTreeOutput: @@ -161399,6 +154775,8 @@ responses: type: object access_group_rule_GetPropertyDistinctFieldOutput: description: "" + access_group_rule_GetPropertyDistinctFieldsOutput: + description: "" access_group_rule_GetPropertySplitableExportOutput: description: "" access_group_rule_GetPropertySplitableOutput: @@ -161467,6 +154845,20 @@ responses: app: $ref: '#/definitions/AppDetails' type: object + app_GetDetailsBackupsOutput: + description: "" + schema: + properties: + app: + $ref: '#/definitions/AppBackupOutput' + type: object + app_GetDetailsCertificatesOutput: + description: "" + schema: + properties: + app: + $ref: '#/definitions/AppCertificateOutput' + type: object app_GetDetailsChangeOwnerCandidateDomainsOutput: description: "" schema: @@ -161484,6 +154876,20 @@ responses: type: object x-go-name: Output type: object + app_GetDetailsCustomDomainsOutput: + description: "" + schema: + properties: + app: + $ref: '#/definitions/AppDomainOutput' + type: object + app_GetDetailsHybirdConnectionsOutput: + description: "" + schema: + properties: + app: + $ref: '#/definitions/AppHybirdConnectionOutput' + type: object app_GetDetailsMetadataOutput: description: "" schema: @@ -161513,6 +154919,8 @@ responses: type: object app_GetPropertyDistinctFieldOutput: description: "" + app_GetPropertyDistinctFieldsOutput: + description: "" app_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -161672,6 +155080,8 @@ responses: type: object app_environment_GetPropertyDistinctFieldOutput: description: "" + app_environment_GetPropertyDistinctFieldsOutput: + description: "" app_environment_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -161827,6 +155237,8 @@ responses: type: object backup_storage_GetPropertyDistinctFieldOutput: description: "" + backup_storage_GetPropertyDistinctFieldsOutput: + description: "" backup_storage_GetPropertyDomainTagValuePairsOutput: description: "" backup_storage_GetPropertyDomainTagValueTreeOutput: @@ -161952,6 +155364,8 @@ responses: type: object baremetalagent_GetPropertyDistinctFieldOutput: description: "" + baremetalagent_GetPropertyDistinctFieldsOutput: + description: "" baremetalagent_GetPropertySplitableExportOutput: description: "" baremetalagent_GetPropertySplitableOutput: @@ -162034,6 +155448,8 @@ responses: type: object billing_resource_check_GetPropertyDistinctFieldOutput: description: "" + billing_resource_check_GetPropertyDistinctFieldsOutput: + description: "" billing_resource_check_GetPropertySplitableExportOutput: description: "" billing_resource_check_GetPropertySplitableOutput: @@ -162187,6 +155603,8 @@ responses: type: object bucket_GetPropertyDistinctFieldOutput: description: "" + bucket_GetPropertyDistinctFieldsOutput: + description: "" bucket_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -162383,6 +155801,8 @@ responses: type: object cachedimage_GetPropertyDistinctFieldOutput: description: "" + cachedimage_GetPropertyDistinctFieldsOutput: + description: "" cachedimage_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -162548,6 +155968,8 @@ responses: type: object cdn_domain_GetPropertyDistinctFieldOutput: description: "" + cdn_domain_GetPropertyDistinctFieldsOutput: + description: "" cdn_domain_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -162725,6 +156147,8 @@ responses: type: object cloudaccount_GetPropertyDistinctFieldOutput: description: "" + cloudaccount_GetPropertyDistinctFieldsOutput: + description: "" cloudaccount_GetPropertyDomainTagValuePairsOutput: description: "" cloudaccount_GetPropertyDomainTagValueTreeOutput: @@ -162869,6 +156293,8 @@ responses: type: object cloudimage_GetPropertyDistinctFieldOutput: description: "" + cloudimage_GetPropertyDistinctFieldsOutput: + description: "" cloudimage_GetPropertySplitableExportOutput: description: "" cloudimage_GetPropertySplitableOutput: @@ -162999,6 +156425,8 @@ responses: type: object cloudprovider_GetPropertyDistinctFieldOutput: description: "" + cloudprovider_GetPropertyDistinctFieldsOutput: + description: "" cloudprovider_GetPropertySplitableExportOutput: description: "" cloudprovider_GetPropertySplitableOutput: @@ -163085,6 +156513,8 @@ responses: type: object cloudproviderregion_GetPropertyDistinctFieldOutput: description: "" + cloudproviderregion_GetPropertyDistinctFieldsOutput: + description: "" cloudproviderregion_GetPropertySplitableExportOutput: description: "" cloudproviderregion_GetPropertySplitableOutput: @@ -163184,6 +156614,8 @@ responses: type: object cloudregion_GetPropertyDistinctFieldOutput: description: "" + cloudregion_GetPropertyDistinctFieldsOutput: + description: "" cloudregion_GetPropertySplitableExportOutput: description: "" cloudregion_GetPropertySplitableOutput: @@ -163330,6 +156762,8 @@ responses: type: object container_GetPropertyDistinctFieldOutput: description: "" + container_GetPropertyDistinctFieldsOutput: + description: "" container_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -163397,6 +156831,15 @@ responses: description: "" container_PerformClassMetadataOutput: description: "" + container_PerformCommitOutput: + description: "" + schema: + properties: + container: + $ref: '#/definitions/ContainerCommitOutput' + type: object + container_PerformExecSyncOutput: + description: "" container_PerformFreezeOutput: description: "" container_PerformPurgeSplitableOutput: @@ -163412,6 +156855,8 @@ responses: description: "" container_PerformSetOrgMetadataOutput: description: "" + container_PerformSetResourcesLimitOutput: + description: "" container_PerformSetUserMetadataOutput: description: "" container_PerformStartOutput: @@ -163498,6 +156943,8 @@ responses: type: object db_instance_GetPropertyDistinctFieldOutput: description: "" + db_instance_GetPropertyDistinctFieldsOutput: + description: "" db_instance_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -163674,6 +157121,8 @@ responses: type: object db_instance_account_GetPropertyDistinctFieldOutput: description: "" + db_instance_account_GetPropertyDistinctFieldsOutput: + description: "" db_instance_account_GetPropertySplitableExportOutput: description: "" db_instance_account_GetPropertySplitableOutput: @@ -163805,6 +157254,8 @@ responses: type: object db_instance_backup_GetPropertyDistinctFieldOutput: description: "" + db_instance_backup_GetPropertyDistinctFieldsOutput: + description: "" db_instance_backup_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -163955,6 +157406,8 @@ responses: type: object db_instance_database_GetPropertyDistinctFieldOutput: description: "" + db_instance_database_GetPropertyDistinctFieldsOutput: + description: "" db_instance_database_GetPropertySplitableExportOutput: description: "" db_instance_database_GetPropertySplitableOutput: @@ -164018,64 +157471,6 @@ responses: db_instance_database: $ref: '#/definitions/DBInstancedatabaseDetails' type: object - db_instance_network_CustomizeDeleteOutput: - description: "" - schema: - properties: - db_instance_network: - $ref: '#/definitions/VirtualJointResourceBaseDetails' - type: object - db_instance_network_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - db_instance_network: - $ref: '#/definitions/VirtualJointResourceBaseDetails' - type: object - db_instance_network_GetPropertyDistinctFieldOutput: - description: "" - db_instance_network_GetPropertySplitableExportOutput: - description: "" - db_instance_network_GetPropertySplitableOutput: - description: "" - db_instance_network_ListItemFilterOutput: - description: "" - schema: - properties: - db_instance_networks: - items: - $ref: '#/definitions/VirtualJointResourceBaseDetails' - type: array - x-go-name: Output - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - type: object - db_instance_network_PerformPurgeSplitableOutput: - description: "" - db_instance_network_ValidateCreateDataOutput: - description: "" - schema: - properties: - db_instance_network: - $ref: '#/definitions/VirtualJointResourceBaseDetails' - type: object - db_instance_network_ValidateUpdateDataOutput: - description: "" - schema: - properties: - db_instance_network: - $ref: '#/definitions/VirtualJointResourceBaseDetails' - type: object db_instance_parameter_CustomizeDeleteOutput: description: "" schema: @@ -164122,6 +157517,8 @@ responses: type: object db_instance_parameter_GetPropertyDistinctFieldOutput: description: "" + db_instance_parameter_GetPropertyDistinctFieldsOutput: + description: "" db_instance_parameter_GetPropertySplitableExportOutput: description: "" db_instance_parameter_GetPropertySplitableOutput: @@ -164192,6 +157589,8 @@ responses: type: object db_instance_privilege_GetPropertyDistinctFieldOutput: description: "" + db_instance_privilege_GetPropertyDistinctFieldsOutput: + description: "" db_instance_privilege_GetPropertySplitableExportOutput: description: "" db_instance_privilege_GetPropertySplitableOutput: @@ -164234,64 +157633,6 @@ responses: db_instance_privilege: $ref: '#/definitions/ResourceBaseDetails' type: object - db_instance_secgroup_CustomizeDeleteOutput: - description: "" - schema: - properties: - db_instance_secgroup: - $ref: '#/definitions/DBInstanceSecgroupDetails' - type: object - db_instance_secgroup_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - db_instance_secgroup: - $ref: '#/definitions/DBInstanceSecgroupDetails' - type: object - db_instance_secgroup_GetPropertyDistinctFieldOutput: - description: "" - db_instance_secgroup_GetPropertySplitableExportOutput: - description: "" - db_instance_secgroup_GetPropertySplitableOutput: - description: "" - db_instance_secgroup_ListItemFilterOutput: - description: "" - schema: - properties: - db_instance_secgroups: - items: - $ref: '#/definitions/DBInstanceSecgroupDetails' - type: array - x-go-name: Output - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - type: object - db_instance_secgroup_PerformPurgeSplitableOutput: - description: "" - db_instance_secgroup_ValidateCreateDataOutput: - description: "" - schema: - properties: - db_instance_secgroup: - $ref: '#/definitions/DBInstanceSecgroupDetails' - type: object - db_instance_secgroup_ValidateUpdateDataOutput: - description: "" - schema: - properties: - db_instance_secgroup: - $ref: '#/definitions/DBInstanceSecgroupDetails' - type: object db_instance_sku_CustomizeDeleteOutput: description: "" schema: @@ -164345,6 +157686,8 @@ responses: type: object db_instance_sku_GetPropertyDistinctFieldOutput: description: "" + db_instance_sku_GetPropertyDistinctFieldsOutput: + description: "" db_instance_sku_GetPropertyInstanceSpecsOutput: description: "" db_instance_sku_GetPropertySplitableExportOutput: @@ -164478,6 +157821,8 @@ responses: type: object disk_GetPropertyDistinctFieldOutput: description: "" + disk_GetPropertyDistinctFieldsOutput: + description: "" disk_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -164651,6 +157996,8 @@ responses: type: object disk_backup_GetPropertyDistinctFieldOutput: description: "" + disk_backup_GetPropertyDistinctFieldsOutput: + description: "" disk_backup_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -164803,6 +158150,8 @@ responses: type: object dns_record_GetPropertyDistinctFieldOutput: description: "" + dns_record_GetPropertyDistinctFieldsOutput: + description: "" dns_record_GetPropertySplitableExportOutput: description: "" dns_record_GetPropertySplitableOutput: @@ -164934,6 +158283,8 @@ responses: description: "" dns_zone_GetPropertyDistinctFieldOutput: description: "" + dns_zone_GetPropertyDistinctFieldsOutput: + description: "" dns_zone_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -165057,6 +158408,8 @@ responses: type: object dns_zone_vpc_GetPropertyDistinctFieldOutput: description: "" + dns_zone_vpc_GetPropertyDistinctFieldsOutput: + description: "" dns_zone_vpc_GetPropertySplitableExportOutput: description: "" dns_zone_vpc_GetPropertySplitableOutput: @@ -165145,6 +158498,8 @@ responses: type: object dynamicschedtag_GetPropertyDistinctFieldOutput: description: "" + dynamicschedtag_GetPropertyDistinctFieldsOutput: + description: "" dynamicschedtag_GetPropertySplitableExportOutput: description: "" dynamicschedtag_GetPropertySplitableOutput: @@ -165268,6 +158623,8 @@ responses: type: object elastic_search_GetPropertyDistinctFieldOutput: description: "" + elastic_search_GetPropertyDistinctFieldsOutput: + description: "" elastic_search_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -165427,6 +158784,8 @@ responses: type: object elasticcache_GetPropertyDistinctFieldOutput: description: "" + elasticcache_GetPropertyDistinctFieldsOutput: + description: "" elasticcache_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -165617,6 +158976,8 @@ responses: type: object elasticcache_account_GetPropertyDistinctFieldOutput: description: "" + elasticcache_account_GetPropertyDistinctFieldsOutput: + description: "" elasticcache_account_GetPropertySplitableExportOutput: description: "" elasticcache_account_GetPropertySplitableOutput: @@ -165735,6 +159096,8 @@ responses: type: object elasticcache_acl_GetPropertyDistinctFieldOutput: description: "" + elasticcache_acl_GetPropertyDistinctFieldsOutput: + description: "" elasticcache_acl_GetPropertySplitableExportOutput: description: "" elasticcache_acl_GetPropertySplitableOutput: @@ -165844,6 +159207,8 @@ responses: type: object elasticcache_backup_GetPropertyDistinctFieldOutput: description: "" + elasticcache_backup_GetPropertyDistinctFieldsOutput: + description: "" elasticcache_backup_GetPropertySplitableExportOutput: description: "" elasticcache_backup_GetPropertySplitableOutput: @@ -165962,6 +159327,8 @@ responses: type: object elasticcache_parameter_GetPropertyDistinctFieldOutput: description: "" + elasticcache_parameter_GetPropertyDistinctFieldsOutput: + description: "" elasticcache_parameter_GetPropertySplitableExportOutput: description: "" elasticcache_parameter_GetPropertySplitableOutput: @@ -166073,6 +159440,8 @@ responses: description: "" elasticcache_sku_GetPropertyDistinctFieldOutput: description: "" + elasticcache_sku_GetPropertyDistinctFieldsOutput: + description: "" elasticcache_sku_GetPropertyInstanceSpecsOutput: description: "" elasticcache_sku_GetPropertySplitableExportOutput: @@ -166142,64 +159511,6 @@ responses: elasticcache_sku: $ref: '#/definitions/ElasticcacheSkuDetails' type: object - elasticcachesecgroup_CustomizeDeleteOutput: - description: "" - schema: - properties: - elasticcachesecgroup: - $ref: '#/definitions/ElasticcachesecgroupDetails' - type: object - elasticcachesecgroup_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - elasticcachesecgroup: - $ref: '#/definitions/ElasticcachesecgroupDetails' - type: object - elasticcachesecgroup_GetPropertyDistinctFieldOutput: - description: "" - elasticcachesecgroup_GetPropertySplitableExportOutput: - description: "" - elasticcachesecgroup_GetPropertySplitableOutput: - description: "" - elasticcachesecgroup_ListItemFilterOutput: - description: "" - schema: - properties: - elasticcachesecgroups: - items: - $ref: '#/definitions/ElasticcachesecgroupDetails' - type: array - x-go-name: Output - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - type: object - elasticcachesecgroup_PerformPurgeSplitableOutput: - description: "" - elasticcachesecgroup_ValidateCreateDataOutput: - description: "" - schema: - properties: - elasticcachesecgroup: - $ref: '#/definitions/ElasticcachesecgroupDetails' - type: object - elasticcachesecgroup_ValidateUpdateDataOutput: - description: "" - schema: - properties: - elasticcachesecgroup: - $ref: '#/definitions/ElasticcachesecgroupDetails' - type: object elasticip_CustomizeDeleteOutput: description: "" schema: @@ -166260,6 +159571,8 @@ responses: type: object elasticip_GetPropertyDistinctFieldOutput: description: "" + elasticip_GetPropertyDistinctFieldsOutput: + description: "" elasticip_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -166434,6 +159747,8 @@ responses: type: object external_project_GetPropertyDistinctFieldOutput: description: "" + external_project_GetPropertyDistinctFieldsOutput: + description: "" external_project_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -166591,6 +159906,8 @@ responses: type: object file_system_GetPropertyDistinctFieldOutput: description: "" + file_system_GetPropertyDistinctFieldsOutput: + description: "" file_system_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -166750,6 +160067,8 @@ responses: type: object global_vpc_GetPropertyDistinctFieldOutput: description: "" + global_vpc_GetPropertyDistinctFieldsOutput: + description: "" global_vpc_GetPropertyDomainTagValuePairsOutput: description: "" global_vpc_GetPropertyDomainTagValueTreeOutput: @@ -166889,6 +160208,8 @@ responses: type: object group_GetPropertyDistinctFieldOutput: description: "" + group_GetPropertyDistinctFieldsOutput: + description: "" group_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -167012,122 +160333,6 @@ responses: group: $ref: '#/definitions/InstanceGroupDetail' type: object - groupguest_CustomizeDeleteOutput: - description: "" - schema: - properties: - groupguest: - $ref: '#/definitions/GroupguestDetails' - type: object - groupguest_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - groupguest: - $ref: '#/definitions/GroupguestDetails' - type: object - groupguest_GetPropertyDistinctFieldOutput: - description: "" - groupguest_GetPropertySplitableExportOutput: - description: "" - groupguest_GetPropertySplitableOutput: - description: "" - groupguest_ListItemFilterOutput: - description: "" - schema: - properties: - groupguests: - items: - $ref: '#/definitions/GroupguestDetails' - type: array - x-go-name: Output - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - type: object - groupguest_PerformPurgeSplitableOutput: - description: "" - groupguest_ValidateCreateDataOutput: - description: "" - schema: - properties: - groupguest: - $ref: '#/definitions/GroupguestDetails' - type: object - groupguest_ValidateUpdateDataOutput: - description: "" - schema: - properties: - groupguest: - $ref: '#/definitions/GroupguestDetails' - type: object - groupnetwork_CustomizeDeleteOutput: - description: "" - schema: - properties: - groupnetwork: - $ref: '#/definitions/GroupnetworkDetails' - type: object - groupnetwork_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - groupnetwork: - $ref: '#/definitions/GroupnetworkDetails' - type: object - groupnetwork_GetPropertyDistinctFieldOutput: - description: "" - groupnetwork_GetPropertySplitableExportOutput: - description: "" - groupnetwork_GetPropertySplitableOutput: - description: "" - groupnetwork_ListItemFilterOutput: - description: "" - schema: - properties: - groupnetworks: - items: - $ref: '#/definitions/GroupnetworkDetails' - type: array - x-go-name: Output - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - type: object - groupnetwork_PerformPurgeSplitableOutput: - description: "" - groupnetwork_ValidateCreateDataOutput: - description: "" - schema: - properties: - groupnetwork: - $ref: '#/definitions/GroupnetworkDetails' - type: object - groupnetwork_ValidateUpdateDataOutput: - description: "" - schema: - properties: - groupnetwork: - $ref: '#/definitions/GroupnetworkDetails' - type: object guest_template_CustomizeDeleteOutput: description: "" schema: @@ -167188,6 +160393,8 @@ responses: type: object guest_template_GetPropertyDistinctFieldOutput: description: "" + guest_template_GetPropertyDistinctFieldsOutput: + description: "" guest_template_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -167289,180 +160496,6 @@ responses: guest_template: $ref: '#/definitions/GuestTemplateDetails' type: object - guestdisk_CustomizeDeleteOutput: - description: "" - schema: - properties: - guestdisk: - $ref: '#/definitions/GuestDiskDetails' - type: object - guestdisk_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - guestdisk: - $ref: '#/definitions/GuestDiskDetails' - type: object - guestdisk_GetPropertyDistinctFieldOutput: - description: "" - guestdisk_GetPropertySplitableExportOutput: - description: "" - guestdisk_GetPropertySplitableOutput: - description: "" - guestdisk_ListItemFilterOutput: - description: "" - schema: - properties: - guestdisks: - items: - $ref: '#/definitions/GuestDiskDetails' - type: array - x-go-name: Output - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - type: object - guestdisk_PerformPurgeSplitableOutput: - description: "" - guestdisk_ValidateCreateDataOutput: - description: "" - schema: - properties: - guestdisk: - $ref: '#/definitions/GuestDiskDetails' - type: object - guestdisk_ValidateUpdateDataOutput: - description: "" - schema: - properties: - guestdisk: - $ref: '#/definitions/GuestDiskDetails' - type: object - guestnetwork_CustomizeDeleteOutput: - description: "" - schema: - properties: - guestnetwork: - $ref: '#/definitions/GuestnetworkDetails' - type: object - guestnetwork_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - guestnetwork: - $ref: '#/definitions/GuestnetworkDetails' - type: object - guestnetwork_GetPropertyDistinctFieldOutput: - description: "" - guestnetwork_GetPropertySplitableExportOutput: - description: "" - guestnetwork_GetPropertySplitableOutput: - description: "" - guestnetwork_ListItemFilterOutput: - description: "" - schema: - properties: - guestnetworks: - items: - $ref: '#/definitions/GuestnetworkDetails' - type: array - x-go-name: Output - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - type: object - guestnetwork_PerformPurgeSplitableOutput: - description: "" - guestnetwork_ValidateCreateDataOutput: - description: "" - schema: - properties: - guestnetwork: - $ref: '#/definitions/GuestnetworkDetails' - type: object - guestnetwork_ValidateUpdateDataOutput: - description: "" - schema: - properties: - guestnetwork: - $ref: '#/definitions/GuestnetworkDetails' - type: object - guestsecgroup_CustomizeDeleteOutput: - description: "" - schema: - properties: - guestsecgroup: - $ref: '#/definitions/GuestsecgroupDetails' - type: object - guestsecgroup_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - guestsecgroup: - $ref: '#/definitions/GuestsecgroupDetails' - type: object - guestsecgroup_GetPropertyDistinctFieldOutput: - description: "" - guestsecgroup_GetPropertySplitableExportOutput: - description: "" - guestsecgroup_GetPropertySplitableOutput: - description: "" - guestsecgroup_ListItemFilterOutput: - description: "" - schema: - properties: - guestsecgroups: - items: - $ref: '#/definitions/GuestsecgroupDetails' - type: array - x-go-name: Output - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - type: object - guestsecgroup_PerformPurgeSplitableOutput: - description: "" - guestsecgroup_ValidateCreateDataOutput: - description: "" - schema: - properties: - guestsecgroup: - $ref: '#/definitions/GuestsecgroupDetails' - type: object - guestsecgroup_ValidateUpdateDataOutput: - description: "" - schema: - properties: - guestsecgroup: - $ref: '#/definitions/GuestsecgroupDetails' - type: object host_CustomizeDeleteOutput: description: "" schema: @@ -167549,6 +160582,8 @@ responses: description: "" host_GetPropertyDistinctFieldOutput: description: "" + host_GetPropertyDistinctFieldsOutput: + description: "" host_GetPropertyDomainTagValuePairsOutput: description: "" host_GetPropertyDomainTagValueTreeOutput: @@ -167687,6 +160722,8 @@ responses: description: "" host_PerformSyncGuestNicTrafficsOutput: description: "" + host_PerformSyncIsolatedDevicesOutput: + description: "" host_PerformSyncstatusOutput: description: "" host_PerformUndoConvertOutput: @@ -167699,6 +160736,13 @@ responses: description: "" host_PerformUpdateStorageOutput: description: "" + host_PerformValidateIpmiOutput: + description: "" + schema: + properties: + host: + $ref: '#/definitions/ValidateIPMIResponse' + type: object host_ValidateCreateDataOutput: description: "" schema: @@ -167713,238 +160757,6 @@ responses: host: $ref: '#/definitions/HostDetails' type: object - host_backupstorage_CustomizeDeleteOutput: - description: "" - schema: - properties: - host_backupstorage: - $ref: '#/definitions/HostBackupstorageDetails' - type: object - host_backupstorage_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - host_backupstorage: - $ref: '#/definitions/HostBackupstorageDetails' - type: object - host_backupstorage_GetPropertyDistinctFieldOutput: - description: "" - host_backupstorage_GetPropertySplitableExportOutput: - description: "" - host_backupstorage_GetPropertySplitableOutput: - description: "" - host_backupstorage_ListItemFilterOutput: - description: "" - schema: - properties: - host_backupstorages: - items: - $ref: '#/definitions/HostBackupstorageDetails' - type: array - x-go-name: Output - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - type: object - host_backupstorage_PerformPurgeSplitableOutput: - description: "" - host_backupstorage_ValidateCreateDataOutput: - description: "" - schema: - properties: - host_backupstorage: - $ref: '#/definitions/HostBackupstorageDetails' - type: object - host_backupstorage_ValidateUpdateDataOutput: - description: "" - schema: - properties: - host_backupstorage: - $ref: '#/definitions/HostBackupstorageDetails' - type: object - host_isolated_device_model_CustomizeDeleteOutput: - description: "" - schema: - properties: - host_isolated_device_model: - $ref: '#/definitions/HostIsolatedDeviceModelDetails' - type: object - host_isolated_device_model_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - host_isolated_device_model: - $ref: '#/definitions/HostIsolatedDeviceModelDetails' - type: object - host_isolated_device_model_GetPropertyDistinctFieldOutput: - description: "" - host_isolated_device_model_GetPropertySplitableExportOutput: - description: "" - host_isolated_device_model_GetPropertySplitableOutput: - description: "" - host_isolated_device_model_ListItemFilterOutput: - description: "" - schema: - properties: - host_isolated_device_models: - items: - $ref: '#/definitions/HostIsolatedDeviceModelDetails' - type: array - x-go-name: Output - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - type: object - host_isolated_device_model_PerformPurgeSplitableOutput: - description: "" - host_isolated_device_model_ValidateCreateDataOutput: - description: "" - schema: - properties: - host_isolated_device_model: - $ref: '#/definitions/HostIsolatedDeviceModelDetails' - type: object - host_isolated_device_model_ValidateUpdateDataOutput: - description: "" - schema: - properties: - host_isolated_device_model: - $ref: '#/definitions/HostIsolatedDeviceModelDetails' - type: object - hostnetwork_CustomizeDeleteOutput: - description: "" - schema: - properties: - hostnetwork: - $ref: '#/definitions/HostnetworkDetails' - type: object - hostnetwork_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - hostnetwork: - $ref: '#/definitions/HostnetworkDetails' - type: object - hostnetwork_GetPropertyDistinctFieldOutput: - description: "" - hostnetwork_GetPropertySplitableExportOutput: - description: "" - hostnetwork_GetPropertySplitableOutput: - description: "" - hostnetwork_ListItemFilterOutput: - description: "" - schema: - properties: - hostnetworks: - items: - $ref: '#/definitions/HostnetworkDetails' - type: array - x-go-name: Output - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - type: object - hostnetwork_PerformPurgeSplitableOutput: - description: "" - hostnetwork_ValidateCreateDataOutput: - description: "" - schema: - properties: - hostnetwork: - $ref: '#/definitions/HostnetworkDetails' - type: object - hostnetwork_ValidateUpdateDataOutput: - description: "" - schema: - properties: - hostnetwork: - $ref: '#/definitions/HostnetworkDetails' - type: object - hoststorage_CustomizeDeleteOutput: - description: "" - schema: - properties: - hoststorage: - $ref: '#/definitions/HoststorageDetails' - type: object - hoststorage_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - hoststorage: - $ref: '#/definitions/HoststorageDetails' - type: object - hoststorage_GetPropertyDistinctFieldOutput: - description: "" - hoststorage_GetPropertySplitableExportOutput: - description: "" - hoststorage_GetPropertySplitableOutput: - description: "" - hoststorage_ListItemFilterOutput: - description: "" - schema: - properties: - hoststorages: - items: - $ref: '#/definitions/HoststorageDetails' - type: array - x-go-name: Output - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - type: object - hoststorage_PerformPurgeSplitableOutput: - description: "" - hoststorage_ValidateCreateDataOutput: - description: "" - schema: - properties: - hoststorage: - $ref: '#/definitions/HoststorageDetails' - type: object - hoststorage_ValidateUpdateDataOutput: - description: "" - schema: - properties: - hoststorage: - $ref: '#/definitions/HoststorageDetails' - type: object instance_backup_CustomizeDeleteOutput: description: "" schema: @@ -168005,6 +160817,8 @@ responses: type: object instance_backup_GetPropertyDistinctFieldOutput: description: "" + instance_backup_GetPropertyDistinctFieldsOutput: + description: "" instance_backup_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -168166,6 +160980,8 @@ responses: type: object instance_snapshot_GetPropertyDistinctFieldOutput: description: "" + instance_snapshot_GetPropertyDistinctFieldsOutput: + description: "" instance_snapshot_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -168321,6 +161137,8 @@ responses: type: object inter_vpc_network_GetPropertyDistinctFieldOutput: description: "" + inter_vpc_network_GetPropertyDistinctFieldsOutput: + description: "" inter_vpc_network_GetPropertyDomainTagValuePairsOutput: description: "" inter_vpc_network_GetPropertyDomainTagValueTreeOutput: @@ -168457,6 +161275,8 @@ responses: type: object inter_vpc_network_route_set_GetPropertyDistinctFieldOutput: description: "" + inter_vpc_network_route_set_GetPropertyDistinctFieldsOutput: + description: "" inter_vpc_network_route_set_GetPropertySplitableExportOutput: description: "" inter_vpc_network_route_set_GetPropertySplitableOutput: @@ -168540,6 +161360,8 @@ responses: type: object inter_vpc_network_vpc_GetPropertyDistinctFieldOutput: description: "" + inter_vpc_network_vpc_GetPropertyDistinctFieldsOutput: + description: "" inter_vpc_network_vpc_GetPropertySplitableExportOutput: description: "" inter_vpc_network_vpc_GetPropertySplitableOutput: @@ -168642,6 +161464,8 @@ responses: type: object ipv6_gateway_GetPropertyDistinctFieldOutput: description: "" + ipv6_gateway_GetPropertyDistinctFieldsOutput: + description: "" ipv6_gateway_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -168787,6 +161611,8 @@ responses: type: object isolated_device_GetPropertyDistinctFieldOutput: description: "" + isolated_device_GetPropertyDistinctFieldsOutput: + description: "" isolated_device_GetPropertySplitableExportOutput: description: "" isolated_device_GetPropertySplitableOutput: @@ -168896,6 +161722,8 @@ responses: type: object isolated_device_model_GetPropertyDistinctFieldOutput: description: "" + isolated_device_model_GetPropertyDistinctFieldsOutput: + description: "" isolated_device_model_GetPropertySplitableExportOutput: description: "" isolated_device_model_GetPropertySplitableOutput: @@ -169027,6 +161855,8 @@ responses: type: object kafka_GetPropertyDistinctFieldOutput: description: "" + kafka_GetPropertyDistinctFieldsOutput: + description: "" kafka_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -169179,6 +162009,8 @@ responses: description: "" keypair_GetPropertyDistinctFieldOutput: description: "" + keypair_GetPropertyDistinctFieldsOutput: + description: "" keypair_GetPropertySplitableExportOutput: description: "" keypair_GetPropertySplitableOutput: @@ -169304,6 +162136,8 @@ responses: type: object kube_cluster_GetPropertyDistinctFieldOutput: description: "" + kube_cluster_GetPropertyDistinctFieldsOutput: + description: "" kube_cluster_GetPropertyDomainTagValuePairsOutput: description: "" kube_cluster_GetPropertyDomainTagValueTreeOutput: @@ -169436,6 +162270,8 @@ responses: type: object kube_node_GetPropertyDistinctFieldOutput: description: "" + kube_node_GetPropertyDistinctFieldsOutput: + description: "" kube_node_GetPropertySplitableExportOutput: description: "" kube_node_GetPropertySplitableOutput: @@ -169552,6 +162388,8 @@ responses: type: object kube_node_pool_GetPropertyDistinctFieldOutput: description: "" + kube_node_pool_GetPropertyDistinctFieldsOutput: + description: "" kube_node_pool_GetPropertySplitableExportOutput: description: "" kube_node_pool_GetPropertySplitableOutput: @@ -169677,6 +162515,8 @@ responses: type: object loadbalancer_GetPropertyDistinctFieldOutput: description: "" + loadbalancer_GetPropertyDistinctFieldsOutput: + description: "" loadbalancer_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -169844,6 +162684,8 @@ responses: type: object loadbalancer_acl_GetPropertyDistinctFieldOutput: description: "" + loadbalancer_acl_GetPropertyDistinctFieldsOutput: + description: "" loadbalancer_acl_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -169997,6 +162839,8 @@ responses: description: "" loadbalancer_agent_GetPropertyDistinctFieldOutput: description: "" + loadbalancer_agent_GetPropertyDistinctFieldsOutput: + description: "" loadbalancer_agent_GetPropertySplitableExportOutput: description: "" loadbalancer_agent_GetPropertySplitableOutput: @@ -170121,6 +162965,8 @@ responses: type: object loadbalancer_backend_GetPropertyDistinctFieldOutput: description: "" + loadbalancer_backend_GetPropertyDistinctFieldsOutput: + description: "" loadbalancer_backend_GetPropertySplitableExportOutput: description: "" loadbalancer_backend_GetPropertySplitableOutput: @@ -170239,6 +163085,8 @@ responses: type: object loadbalancer_backend_group_GetPropertyDistinctFieldOutput: description: "" + loadbalancer_backend_group_GetPropertyDistinctFieldsOutput: + description: "" loadbalancer_backend_group_GetPropertySplitableExportOutput: description: "" loadbalancer_backend_group_GetPropertySplitableOutput: @@ -170364,6 +163212,8 @@ responses: type: object loadbalancer_certificate_GetPropertyDistinctFieldOutput: description: "" + loadbalancer_certificate_GetPropertyDistinctFieldsOutput: + description: "" loadbalancer_certificate_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -170511,6 +163361,8 @@ responses: type: object loadbalancer_cluster_GetPropertyDistinctFieldOutput: description: "" + loadbalancer_cluster_GetPropertyDistinctFieldsOutput: + description: "" loadbalancer_cluster_GetPropertySplitableExportOutput: description: "" loadbalancer_cluster_GetPropertySplitableOutput: @@ -170622,6 +163474,8 @@ responses: type: object loadbalancer_listener_GetPropertyDistinctFieldOutput: description: "" + loadbalancer_listener_GetPropertyDistinctFieldsOutput: + description: "" loadbalancer_listener_GetPropertySplitableExportOutput: description: "" loadbalancer_listener_GetPropertySplitableOutput: @@ -170746,6 +163600,8 @@ responses: type: object loadbalancer_listener_rule_GetPropertyDistinctFieldOutput: description: "" + loadbalancer_listener_rule_GetPropertyDistinctFieldsOutput: + description: "" loadbalancer_listener_rule_GetPropertySplitableExportOutput: description: "" loadbalancer_listener_rule_GetPropertySplitableOutput: @@ -170827,6 +163683,8 @@ responses: type: object loadbalancer_security_group_GetPropertyDistinctFieldOutput: description: "" + loadbalancer_security_group_GetPropertyDistinctFieldsOutput: + description: "" loadbalancer_security_group_GetPropertySplitableExportOutput: description: "" loadbalancer_security_group_GetPropertySplitableOutput: @@ -170929,6 +163787,8 @@ responses: type: object misc_resource_GetPropertyDistinctFieldOutput: description: "" + misc_resource_GetPropertyDistinctFieldsOutput: + description: "" misc_resource_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -171084,6 +163944,8 @@ responses: type: object modelarts_pool_GetPropertyDistinctFieldOutput: description: "" + modelarts_pool_GetPropertyDistinctFieldsOutput: + description: "" modelarts_pool_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -171236,6 +164098,8 @@ responses: type: object modelarts_pool_sku_GetPropertyDistinctFieldOutput: description: "" + modelarts_pool_sku_GetPropertyDistinctFieldsOutput: + description: "" modelarts_pool_sku_GetPropertySplitableExportOutput: description: "" modelarts_pool_sku_GetPropertySplitableOutput: @@ -171550,6 +164414,8 @@ responses: type: object mongo_db_GetPropertyDistinctFieldOutput: description: "" + mongo_db_GetPropertyDistinctFieldsOutput: + description: "" mongo_db_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -171706,6 +164572,8 @@ responses: type: object mount_target_GetPropertyDistinctFieldOutput: description: "" + mount_target_GetPropertyDistinctFieldsOutput: + description: "" mount_target_GetPropertySplitableExportOutput: description: "" mount_target_GetPropertySplitableOutput: @@ -171824,6 +164692,8 @@ responses: type: object nas_sku_GetPropertyDistinctFieldOutput: description: "" + nas_sku_GetPropertyDistinctFieldsOutput: + description: "" nas_sku_GetPropertySplitableExportOutput: description: "" nas_sku_GetPropertySplitableOutput: @@ -171955,6 +164825,8 @@ responses: type: object nat_dentry_GetPropertyDistinctFieldOutput: description: "" + nat_dentry_GetPropertyDistinctFieldsOutput: + description: "" nat_dentry_GetPropertyDomainTagValuePairsOutput: description: "" nat_dentry_GetPropertyDomainTagValueTreeOutput: @@ -172088,6 +164960,8 @@ responses: type: object nat_entry_GetPropertyDistinctFieldOutput: description: "" + nat_entry_GetPropertyDistinctFieldsOutput: + description: "" nat_entry_GetPropertyDomainTagValuePairsOutput: description: "" nat_entry_GetPropertyDomainTagValueTreeOutput: @@ -172221,6 +165095,8 @@ responses: type: object nat_gateway_GetPropertyDistinctFieldOutput: description: "" + nat_gateway_GetPropertyDistinctFieldsOutput: + description: "" nat_gateway_GetPropertyDomainTagValuePairsOutput: description: "" nat_gateway_GetPropertyDomainTagValueTreeOutput: @@ -172370,6 +165246,8 @@ responses: type: object nat_sentry_GetPropertyDistinctFieldOutput: description: "" + nat_sentry_GetPropertyDistinctFieldsOutput: + description: "" nat_sentry_GetPropertyDomainTagValuePairsOutput: description: "" nat_sentry_GetPropertyDomainTagValueTreeOutput: @@ -172496,6 +165374,8 @@ responses: type: object nat_sku_GetPropertyDistinctFieldOutput: description: "" + nat_sku_GetPropertyDistinctFieldsOutput: + description: "" nat_sku_GetPropertySplitableExportOutput: description: "" nat_sku_GetPropertySplitableOutput: @@ -172620,6 +165500,8 @@ responses: type: object net_tap_flow_GetPropertyDistinctFieldOutput: description: "" + net_tap_flow_GetPropertyDistinctFieldsOutput: + description: "" net_tap_flow_GetPropertySplitableExportOutput: description: "" net_tap_flow_GetPropertySplitableOutput: @@ -172740,6 +165622,8 @@ responses: type: object net_tap_service_GetPropertyDistinctFieldOutput: description: "" + net_tap_service_GetPropertyDistinctFieldsOutput: + description: "" net_tap_service_GetPropertySplitableExportOutput: description: "" net_tap_service_GetPropertySplitableOutput: @@ -172883,6 +165767,8 @@ responses: type: object network_GetPropertyDistinctFieldOutput: description: "" + network_GetPropertyDistinctFieldsOutput: + description: "" network_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -173022,6 +165908,8 @@ responses: type: object network_additional_wire_GetPropertyDistinctFieldOutput: description: "" + network_additional_wire_GetPropertyDistinctFieldsOutput: + description: "" network_additional_wire_GetPropertySplitableExportOutput: description: "" network_additional_wire_GetPropertySplitableOutput: @@ -173110,6 +165998,8 @@ responses: type: object network_address_GetPropertyDistinctFieldOutput: description: "" + network_address_GetPropertyDistinctFieldsOutput: + description: "" network_address_GetPropertySplitableExportOutput: description: "" network_address_GetPropertySplitableOutput: @@ -173224,6 +166114,8 @@ responses: type: object network_interface_GetPropertyDistinctFieldOutput: description: "" + network_interface_GetPropertyDistinctFieldsOutput: + description: "" network_interface_GetPropertyDomainTagValuePairsOutput: description: "" network_interface_GetPropertyDomainTagValueTreeOutput: @@ -173343,6 +166235,8 @@ responses: type: object network_ip_mac_GetPropertyDistinctFieldOutput: description: "" + network_ip_mac_GetPropertyDistinctFieldsOutput: + description: "" network_ip_mac_GetPropertySplitableExportOutput: description: "" network_ip_mac_GetPropertySplitableOutput: @@ -173415,6 +166309,8 @@ responses: type: object networkinterfacenetwork_GetPropertyDistinctFieldOutput: description: "" + networkinterfacenetwork_GetPropertyDistinctFieldsOutput: + description: "" networkinterfacenetwork_GetPropertySplitableExportOutput: description: "" networkinterfacenetwork_GetPropertySplitableOutput: @@ -173510,6 +166406,8 @@ responses: type: object policy_assignment_GetPropertyDistinctFieldOutput: description: "" + policy_assignment_GetPropertyDistinctFieldsOutput: + description: "" policy_assignment_GetPropertyDomainTagValuePairsOutput: description: "" policy_assignment_GetPropertyDomainTagValueTreeOutput: @@ -173623,6 +166521,8 @@ responses: type: object policy_definition_GetPropertyDistinctFieldOutput: description: "" + policy_definition_GetPropertyDistinctFieldsOutput: + description: "" policy_definition_GetPropertySplitableExportOutput: description: "" policy_definition_GetPropertySplitableOutput: @@ -173746,6 +166646,8 @@ responses: type: object project_mapping_GetPropertyDistinctFieldOutput: description: "" + project_mapping_GetPropertyDistinctFieldsOutput: + description: "" project_mapping_GetPropertyDomainTagValuePairsOutput: description: "" project_mapping_GetPropertyDomainTagValueTreeOutput: @@ -173839,6 +166741,8 @@ responses: type: object reservedip_GetPropertyDistinctFieldOutput: description: "" + reservedip_GetPropertyDistinctFieldsOutput: + description: "" reservedip_GetPropertySplitableExportOutput: description: "" reservedip_GetPropertySplitableOutput: @@ -173941,6 +166845,8 @@ responses: type: object route_table_GetPropertyDistinctFieldOutput: description: "" + route_table_GetPropertyDistinctFieldsOutput: + description: "" route_table_GetPropertyDomainTagValuePairsOutput: description: "" route_table_GetPropertyDomainTagValueTreeOutput: @@ -174075,6 +166981,8 @@ responses: type: object route_table_association_GetPropertyDistinctFieldOutput: description: "" + route_table_association_GetPropertyDistinctFieldsOutput: + description: "" route_table_association_GetPropertySplitableExportOutput: description: "" route_table_association_GetPropertySplitableOutput: @@ -174191,6 +167099,8 @@ responses: type: object route_table_route_set_GetPropertyDistinctFieldOutput: description: "" + route_table_route_set_GetPropertyDistinctFieldsOutput: + description: "" route_table_route_set_GetPropertySplitableExportOutput: description: "" route_table_route_set_GetPropertySplitableOutput: @@ -174307,6 +167217,8 @@ responses: type: object scaling_activity_GetPropertyDistinctFieldOutput: description: "" + scaling_activity_GetPropertyDistinctFieldsOutput: + description: "" scaling_activity_GetPropertySplitableExportOutput: description: "" scaling_activity_GetPropertySplitableOutput: @@ -174416,6 +167328,8 @@ responses: type: object scaling_alarm_GetPropertyDistinctFieldOutput: description: "" + scaling_alarm_GetPropertyDistinctFieldsOutput: + description: "" scaling_alarm_GetPropertySplitableExportOutput: description: "" scaling_alarm_GetPropertySplitableOutput: @@ -174530,6 +167444,8 @@ responses: type: object scaling_group_GetPropertyDistinctFieldOutput: description: "" + scaling_group_GetPropertyDistinctFieldsOutput: + description: "" scaling_group_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -174645,6 +167561,8 @@ responses: type: object scaling_group_guest_GetPropertyDistinctFieldOutput: description: "" + scaling_group_guest_GetPropertyDistinctFieldsOutput: + description: "" scaling_group_guest_GetPropertySplitableExportOutput: description: "" scaling_group_guest_GetPropertySplitableOutput: @@ -174703,6 +167621,8 @@ responses: type: object scaling_group_network_GetPropertyDistinctFieldOutput: description: "" + scaling_group_network_GetPropertyDistinctFieldsOutput: + description: "" scaling_group_network_GetPropertySplitableExportOutput: description: "" scaling_group_network_GetPropertySplitableOutput: @@ -174805,6 +167725,8 @@ responses: type: object scaling_policy_GetPropertyDistinctFieldOutput: description: "" + scaling_policy_GetPropertyDistinctFieldsOutput: + description: "" scaling_policy_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -174952,6 +167874,8 @@ responses: type: object scaling_timer_GetPropertyDistinctFieldOutput: description: "" + scaling_timer_GetPropertyDistinctFieldsOutput: + description: "" scaling_timer_GetPropertySplitableExportOutput: description: "" scaling_timer_GetPropertySplitableOutput: @@ -175052,6 +167976,8 @@ responses: type: object schedpolicy_GetPropertyDistinctFieldOutput: description: "" + schedpolicy_GetPropertyDistinctFieldsOutput: + description: "" schedpolicy_GetPropertySplitableExportOutput: description: "" schedpolicy_GetPropertySplitableOutput: @@ -175154,6 +168080,8 @@ responses: type: object schedtag_GetPropertyDistinctFieldOutput: description: "" + schedtag_GetPropertyDistinctFieldsOutput: + description: "" schedtag_GetPropertySplitableExportOutput: description: "" schedtag_GetPropertySplitableOutput: @@ -175272,6 +168200,8 @@ responses: type: object security_group_GetPropertyDistinctFieldOutput: description: "" + security_group_GetPropertyDistinctFieldsOutput: + description: "" security_group_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -175341,6 +168271,8 @@ responses: description: "" security_group_PerformClassMetadataOutput: description: "" + security_group_PerformCleanOutput: + description: "" security_group_PerformCloneOutput: description: "" schema: @@ -175407,6 +168339,8 @@ responses: type: object security_group_rule_GetPropertyDistinctFieldOutput: description: "" + security_group_rule_GetPropertyDistinctFieldsOutput: + description: "" security_group_rule_GetPropertySplitableExportOutput: description: "" security_group_rule_GetPropertySplitableOutput: @@ -175567,6 +168501,8 @@ responses: type: object server_GetPropertyDistinctFieldOutput: description: "" + server_GetPropertyDistinctFieldsOutput: + description: "" server_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -175645,6 +168581,8 @@ responses: server: $ref: '#/definitions/SGuest' type: object + server_PerformBatchConvertPrecheckOutput: + description: "" server_PerformBatchMigrateOutput: description: "" server_PerformBatchSetUserMetadataOutput: @@ -175915,6 +168853,8 @@ responses: description: "" server_PerformUnfreezeOutput: description: "" + server_PerformUpdateSubIpsOutput: + description: "" server_PerformUserDataOutput: description: "" server_ValidateCreateDataOutput: @@ -175984,6 +168924,8 @@ responses: type: object server_sku_GetPropertyDistinctFieldOutput: description: "" + server_sku_GetPropertyDistinctFieldsOutput: + description: "" server_sku_GetPropertyInstanceSpecsOutput: description: "" server_sku_GetPropertySplitableExportOutput: @@ -176117,6 +169059,8 @@ responses: type: object service_catalog_GetPropertyDistinctFieldOutput: description: "" + service_catalog_GetPropertyDistinctFieldsOutput: + description: "" service_catalog_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -176278,6 +169222,8 @@ responses: type: object snapshot_GetPropertyDistinctFieldOutput: description: "" + snapshot_GetPropertyDistinctFieldsOutput: + description: "" snapshot_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -176441,6 +169387,8 @@ responses: type: object snapshot_policy_GetPropertyDistinctFieldOutput: description: "" + snapshot_policy_GetPropertyDistinctFieldsOutput: + description: "" snapshot_policy_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -176558,6 +169506,8 @@ responses: type: object snapshot_policy_disk_GetPropertyDistinctFieldOutput: description: "" + snapshot_policy_disk_GetPropertyDistinctFieldsOutput: + description: "" snapshot_policy_disk_GetPropertySplitableExportOutput: description: "" snapshot_policy_disk_GetPropertySplitableOutput: @@ -176660,6 +169610,8 @@ responses: type: object ssl_certificate_GetPropertyDistinctFieldOutput: description: "" + ssl_certificate_GetPropertyDistinctFieldsOutput: + description: "" ssl_certificate_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -176822,6 +169774,8 @@ responses: type: object storage_GetPropertyDistinctFieldOutput: description: "" + storage_GetPropertyDistinctFieldsOutput: + description: "" storage_GetPropertyDomainTagValuePairsOutput: description: "" storage_GetPropertyDomainTagValueTreeOutput: @@ -176964,6 +169918,8 @@ responses: type: object storagecache_GetPropertyDistinctFieldOutput: description: "" + storagecache_GetPropertyDistinctFieldsOutput: + description: "" storagecache_GetPropertySplitableExportOutput: description: "" storagecache_GetPropertySplitableOutput: @@ -177038,6 +169994,8 @@ responses: type: object storagecachedimage_GetPropertyDistinctFieldOutput: description: "" + storagecachedimage_GetPropertyDistinctFieldsOutput: + description: "" storagecachedimage_GetPropertySplitableExportOutput: description: "" storagecachedimage_GetPropertySplitableOutput: @@ -177140,6 +170098,8 @@ responses: type: object tablestore_GetPropertyDistinctFieldOutput: description: "" + tablestore_GetPropertyDistinctFieldsOutput: + description: "" tablestore_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -177302,6 +170262,8 @@ responses: type: object vpc_GetPropertyDistinctFieldOutput: description: "" + vpc_GetPropertyDistinctFieldsOutput: + description: "" vpc_GetPropertyDomainTagValuePairsOutput: description: "" vpc_GetPropertyDomainTagValueTreeOutput: @@ -177445,6 +170407,8 @@ responses: type: object vpc_peering_connection_GetPropertyDistinctFieldOutput: description: "" + vpc_peering_connection_GetPropertyDistinctFieldsOutput: + description: "" vpc_peering_connection_GetPropertyDomainTagValuePairsOutput: description: "" vpc_peering_connection_GetPropertyDomainTagValueTreeOutput: @@ -177591,6 +170555,8 @@ responses: type: object waf_instance_GetPropertyDistinctFieldOutput: description: "" + waf_instance_GetPropertyDistinctFieldsOutput: + description: "" waf_instance_GetPropertyDomainTagValuePairsOutput: description: "" waf_instance_GetPropertyDomainTagValueTreeOutput: @@ -177732,6 +170698,8 @@ responses: type: object waf_ip_set_GetPropertyDistinctFieldOutput: description: "" + waf_ip_set_GetPropertyDistinctFieldsOutput: + description: "" waf_ip_set_GetPropertyDomainTagValuePairsOutput: description: "" waf_ip_set_GetPropertyDomainTagValueTreeOutput: @@ -177805,122 +170773,6 @@ responses: waf_ip_set: $ref: '#/definitions/WafIPSetDetails' type: object - waf_ip_set_cache_CustomizeDeleteOutput: - description: "" - schema: - properties: - waf_ip_set_cache: - $ref: '#/definitions/WafIPSetCacheDetails' - type: object - waf_ip_set_cache_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - waf_ip_set_cache: - $ref: '#/definitions/WafIPSetCacheDetails' - type: object - waf_ip_set_cache_GetDetailsClassMetadataOutput: - description: "" - schema: - properties: - waf_ip_set_cache: - additionalProperties: - type: string - type: object - x-go-name: Output - type: object - waf_ip_set_cache_GetDetailsMetadataOutput: - description: "" - schema: - properties: - waf_ip_set_cache: - additionalProperties: - type: string - type: object - x-go-name: Output - type: object - waf_ip_set_cache_GetDetailsOrgMetadataOutput: - description: "" - schema: - properties: - waf_ip_set_cache: - additionalProperties: - type: string - type: object - x-go-name: Output - type: object - waf_ip_set_cache_GetDetailsStatusOutput: - description: "" - schema: - properties: - waf_ip_set_cache: - $ref: '#/definitions/GetDetailsStatusOutput' - type: object - waf_ip_set_cache_GetPropertyDistinctFieldOutput: - description: "" - waf_ip_set_cache_GetPropertySplitableExportOutput: - description: "" - waf_ip_set_cache_GetPropertySplitableOutput: - description: "" - waf_ip_set_cache_GetPropertyStatisticsOutput: - description: "" - schema: - properties: - waf_ip_set_cache: - $ref: '#/definitions/StatusStatistic' - type: object - waf_ip_set_cache_GetPropertyTagValuePairsOutput: - description: "" - waf_ip_set_cache_GetPropertyTagValueTreeOutput: - description: "" - waf_ip_set_cache_ListItemFilterOutput: - description: "" - schema: - properties: - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - waf_ip_set_caches: - items: - $ref: '#/definitions/WafIPSetCacheDetails' - type: array - x-go-name: Output - type: object - waf_ip_set_cache_PerformClassMetadataOutput: - description: "" - waf_ip_set_cache_PerformPurgeSplitableOutput: - description: "" - waf_ip_set_cache_PerformSetClassMetadataOutput: - description: "" - waf_ip_set_cache_PerformSetOrgMetadataOutput: - description: "" - waf_ip_set_cache_PerformSetUserMetadataOutput: - description: "" - waf_ip_set_cache_PerformStatusOutput: - description: "" - waf_ip_set_cache_ValidateCreateDataOutput: - description: "" - schema: - properties: - waf_ip_set_cache: - $ref: '#/definitions/WafIPSetCacheDetails' - type: object - waf_ip_set_cache_ValidateUpdateDataOutput: - description: "" - schema: - properties: - waf_ip_set_cache: - $ref: '#/definitions/WafIPSetCacheDetails' - type: object waf_regex_set_CustomizeDeleteOutput: description: "" schema: @@ -177981,6 +170833,8 @@ responses: type: object waf_regex_set_GetPropertyDistinctFieldOutput: description: "" + waf_regex_set_GetPropertyDistinctFieldsOutput: + description: "" waf_regex_set_GetPropertyDomainTagValuePairsOutput: description: "" waf_regex_set_GetPropertyDomainTagValueTreeOutput: @@ -178054,122 +170908,6 @@ responses: waf_regex_set: $ref: '#/definitions/WafRegexSetDetails' type: object - waf_regex_set_cache_CustomizeDeleteOutput: - description: "" - schema: - properties: - waf_regex_set_cache: - $ref: '#/definitions/WafRegexSetCacheDetails' - type: object - waf_regex_set_cache_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - waf_regex_set_cache: - $ref: '#/definitions/WafRegexSetCacheDetails' - type: object - waf_regex_set_cache_GetDetailsClassMetadataOutput: - description: "" - schema: - properties: - waf_regex_set_cache: - additionalProperties: - type: string - type: object - x-go-name: Output - type: object - waf_regex_set_cache_GetDetailsMetadataOutput: - description: "" - schema: - properties: - waf_regex_set_cache: - additionalProperties: - type: string - type: object - x-go-name: Output - type: object - waf_regex_set_cache_GetDetailsOrgMetadataOutput: - description: "" - schema: - properties: - waf_regex_set_cache: - additionalProperties: - type: string - type: object - x-go-name: Output - type: object - waf_regex_set_cache_GetDetailsStatusOutput: - description: "" - schema: - properties: - waf_regex_set_cache: - $ref: '#/definitions/GetDetailsStatusOutput' - type: object - waf_regex_set_cache_GetPropertyDistinctFieldOutput: - description: "" - waf_regex_set_cache_GetPropertySplitableExportOutput: - description: "" - waf_regex_set_cache_GetPropertySplitableOutput: - description: "" - waf_regex_set_cache_GetPropertyStatisticsOutput: - description: "" - schema: - properties: - waf_regex_set_cache: - $ref: '#/definitions/StatusStatistic' - type: object - waf_regex_set_cache_GetPropertyTagValuePairsOutput: - description: "" - waf_regex_set_cache_GetPropertyTagValueTreeOutput: - description: "" - waf_regex_set_cache_ListItemFilterOutput: - description: "" - schema: - properties: - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - waf_regex_set_caches: - items: - $ref: '#/definitions/WafRegexSetCacheDetails' - type: array - x-go-name: Output - type: object - waf_regex_set_cache_PerformClassMetadataOutput: - description: "" - waf_regex_set_cache_PerformPurgeSplitableOutput: - description: "" - waf_regex_set_cache_PerformSetClassMetadataOutput: - description: "" - waf_regex_set_cache_PerformSetOrgMetadataOutput: - description: "" - waf_regex_set_cache_PerformSetUserMetadataOutput: - description: "" - waf_regex_set_cache_PerformStatusOutput: - description: "" - waf_regex_set_cache_ValidateCreateDataOutput: - description: "" - schema: - properties: - waf_regex_set_cache: - $ref: '#/definitions/WafRegexSetCacheDetails' - type: object - waf_regex_set_cache_ValidateUpdateDataOutput: - description: "" - schema: - properties: - waf_regex_set_cache: - $ref: '#/definitions/WafRegexSetCacheDetails' - type: object waf_rule_CustomizeDeleteOutput: description: "" schema: @@ -178223,6 +170961,8 @@ responses: type: object waf_rule_GetPropertyDistinctFieldOutput: description: "" + waf_rule_GetPropertyDistinctFieldsOutput: + description: "" waf_rule_GetPropertySplitableExportOutput: description: "" waf_rule_GetPropertySplitableOutput: @@ -178348,6 +171088,8 @@ responses: type: object waf_rule_group_GetPropertyDistinctFieldOutput: description: "" + waf_rule_group_GetPropertyDistinctFieldsOutput: + description: "" waf_rule_group_GetPropertyDomainTagValuePairsOutput: description: "" waf_rule_group_GetPropertyDomainTagValueTreeOutput: @@ -178421,122 +171163,6 @@ responses: waf_rule_group: $ref: '#/definitions/WafRuleGroupDetails' type: object - waf_rule_group_cache_CustomizeDeleteOutput: - description: "" - schema: - properties: - waf_rule_group_cache: - $ref: '#/definitions/WafRuleGroupCacheDetails' - type: object - waf_rule_group_cache_FetchCustomizeColumnsOutput: - description: "" - schema: - properties: - waf_rule_group_cache: - $ref: '#/definitions/WafRuleGroupCacheDetails' - type: object - waf_rule_group_cache_GetDetailsClassMetadataOutput: - description: "" - schema: - properties: - waf_rule_group_cache: - additionalProperties: - type: string - type: object - x-go-name: Output - type: object - waf_rule_group_cache_GetDetailsMetadataOutput: - description: "" - schema: - properties: - waf_rule_group_cache: - additionalProperties: - type: string - type: object - x-go-name: Output - type: object - waf_rule_group_cache_GetDetailsOrgMetadataOutput: - description: "" - schema: - properties: - waf_rule_group_cache: - additionalProperties: - type: string - type: object - x-go-name: Output - type: object - waf_rule_group_cache_GetDetailsStatusOutput: - description: "" - schema: - properties: - waf_rule_group_cache: - $ref: '#/definitions/GetDetailsStatusOutput' - type: object - waf_rule_group_cache_GetPropertyDistinctFieldOutput: - description: "" - waf_rule_group_cache_GetPropertySplitableExportOutput: - description: "" - waf_rule_group_cache_GetPropertySplitableOutput: - description: "" - waf_rule_group_cache_GetPropertyStatisticsOutput: - description: "" - schema: - properties: - waf_rule_group_cache: - $ref: '#/definitions/StatusStatistic' - type: object - waf_rule_group_cache_GetPropertyTagValuePairsOutput: - description: "" - waf_rule_group_cache_GetPropertyTagValueTreeOutput: - description: "" - waf_rule_group_cache_ListItemFilterOutput: - description: "" - schema: - properties: - limit: - format: int64 - type: integer - x-go-name: Limit - offset: - format: int64 - type: integer - x-go-name: Offset - total: - format: int64 - type: integer - x-go-name: Total - waf_rule_group_caches: - items: - $ref: '#/definitions/WafRuleGroupCacheDetails' - type: array - x-go-name: Output - type: object - waf_rule_group_cache_PerformClassMetadataOutput: - description: "" - waf_rule_group_cache_PerformPurgeSplitableOutput: - description: "" - waf_rule_group_cache_PerformSetClassMetadataOutput: - description: "" - waf_rule_group_cache_PerformSetOrgMetadataOutput: - description: "" - waf_rule_group_cache_PerformSetUserMetadataOutput: - description: "" - waf_rule_group_cache_PerformStatusOutput: - description: "" - waf_rule_group_cache_ValidateCreateDataOutput: - description: "" - schema: - properties: - waf_rule_group_cache: - $ref: '#/definitions/WafRuleGroupCacheDetails' - type: object - waf_rule_group_cache_ValidateUpdateDataOutput: - description: "" - schema: - properties: - waf_rule_group_cache: - $ref: '#/definitions/WafRuleGroupCacheDetails' - type: object waf_rule_statement_CustomizeDeleteOutput: description: "" schema: @@ -178553,6 +171179,8 @@ responses: type: object waf_rule_statement_GetPropertyDistinctFieldOutput: description: "" + waf_rule_statement_GetPropertyDistinctFieldsOutput: + description: "" waf_rule_statement_GetPropertySplitableExportOutput: description: "" waf_rule_statement_GetPropertySplitableOutput: @@ -178662,6 +171290,8 @@ responses: type: object wire_GetPropertyDistinctFieldOutput: description: "" + wire_GetPropertyDistinctFieldsOutput: + description: "" wire_GetPropertyDomainTagValuePairsOutput: description: "" wire_GetPropertyDomainTagValueTreeOutput: @@ -178798,6 +171428,8 @@ responses: type: object zone_GetPropertyDistinctFieldOutput: description: "" + zone_GetPropertyDistinctFieldsOutput: + description: "" zone_GetPropertySplitableExportOutput: description: "" zone_GetPropertySplitableOutput: diff --git a/docs/swagger/swagger_identity.yaml b/docs/swagger/swagger_identity.yaml index 4377a18f08..eab4fe0021 100644 --- a/docs/swagger/swagger_identity.yaml +++ b/docs/swagger/swagger_identity.yaml @@ -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: diff --git a/docs/swagger/swagger_image.yaml b/docs/swagger/swagger_image.yaml index dfaec09c09..6c76f3e8d3 100644 --- a/docs/swagger/swagger_image.yaml +++ b/docs/swagger/swagger_image.yaml @@ -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: diff --git a/docs/swagger/swagger_monitor.yaml b/docs/swagger/swagger_monitor.yaml index d5f51fcc72..7bec4dacc0 100644 --- a/docs/swagger/swagger_monitor.yaml +++ b/docs/swagger/swagger_monitor.yaml @@ -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为关联表column,origin_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: diff --git a/docs/swagger/swagger_notify.yaml b/docs/swagger/swagger_notify.yaml index fc5f1821ad..69aed45c68 100644 --- a/docs/swagger/swagger_notify.yaml +++ b/docs/swagger/swagger_notify.yaml @@ -410,6 +410,46 @@ definitions: x-go-name: Sync type: object x-go-package: yunion.io/x/onecloud/pkg/apis/notify + EnabledStatusStandaloneResourceBaseUpdateInput: + properties: + description: + description: 资源描述 + type: string + x-go-name: Description + name: + description: 资源名称 + type: string + x-go-name: Name + progress: + format: float + type: number + x-go-name: Progress + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis + EnabledStatusStandaloneResourceDetails: + properties: + can_delete: + description: 资源是否可以删除, 若为flase, delete_fail_reason会返回不能删除的原因 + example: true + type: boolean + x-go-name: CanDelete + can_update: + description: 资源是否可以更新, 若为false,update_fail_reason会返回资源不能删除的原因 + example: true + type: boolean + x-go-name: CanUpdate + delete_fail_reason: + $ref: '#/definitions/Error' + metadata: + additionalProperties: + type: string + description: 标签 + type: object + x-go-name: Metadata + update_fail_reason: + $ref: '#/definitions/Error' + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis Error: properties: class: @@ -1009,6 +1049,10 @@ definitions: description: the resource is an emulated resource type: boolean x-go-name: IsEmulated + is_system: + description: 'description: indicate the resource is a system resource, which is not visible to user' + type: boolean + x-go-name: IsSystem name: description: |- 资源名称,如果generate_name为空,则为必填项 @@ -1021,6 +1065,10 @@ definitions: description: 指定项目归属域名称或ID type: string x-go-name: ProjectDomainId + project_id: + description: 指定项目的名称或ID + type: string + x-go-name: ProjectId status: description: 用来存储资源的状态 type: string @@ -1075,11 +1123,6 @@ definitions: description: 域Id type: string x-go-name: DomainId - domain_src: - description: '归属Domain信息的来源, local: 本地设置, cloud: 从云上同步过来' - example: local - type: string - x-go-name: DomainSrc email: type: string x-go-name: Email @@ -1094,6 +1137,10 @@ definitions: type: string type: array x-go-name: EnabledContactTypes + freezed: + description: 资源是否被冻结 + type: boolean + x-go-name: Freezed id: description: 资源UUID type: string @@ -1106,6 +1153,10 @@ definitions: list 接口默认不会返回这类资源,除非显示指定 is_emulate=true 过滤参数 type: boolean x-go-name: IsEmulated + is_system: + description: 是否是系统资源 + type: boolean + x-go-name: IsSystem lang: type: string x-go-name: Lang @@ -1119,19 +1170,60 @@ definitions: description: 资源名称 type: string x-go-name: Name + pending_deleted: + description: 资源是否处于回收站中 + type: boolean + x-go-name: PendingDeleted + pending_deleted_at: + description: 资源放入回收站时间 + format: date-time + type: string + x-go-name: PendingDeletedAt progress: description: 操作进度0-100 format: float type: number x-go-name: Progress + project: + description: |- + 资源归属项目的名称(向后兼容别名) + Deprecated + type: string + x-go-name: Tenant project_domain: description: 资源归属项目的域名称 type: string x-go-name: ProjectDomain + project_id: + description: |- + 资源归属项目的ID(向后兼容别名) + Deprecated + type: string + x-go-name: TenantId + project_metadata: + additionalProperties: + type: string + type: object + x-go-name: ProjectMetadata + project_src: + description: '云上同步资源是否在本地被更改过配置, local: 更改过, cloud: 未更改过' + example: local + type: string + x-go-name: ProjectSrc status: description: 资源状态 type: string x-go-name: Status + tenant: + description: |- + 资源归属项目的名称 + alias:project + type: string + x-go-name: Project + tenant_id: + description: 项目Id + type: string + x-go-name: ProjectId update_fail_reason: $ref: '#/definitions/Error' update_version: @@ -1229,6 +1321,10 @@ definitions: description: 资源名称 type: string x-go-name: Name + progress: + format: float + type: number + x-go-name: Progress type: object x-go-package: yunion.io/x/onecloud/pkg/apis/notify ReceiverVerifyInput: @@ -1500,7 +1596,6 @@ definitions: SNotifyConfigContent: properties: AccessKeyId: - description: sms type: string AccessKeySecret: type: string @@ -1509,6 +1604,8 @@ definitions: AgentId: description: workwx type: string + AlertsCode: + type: string AppId: description: Lark type: string @@ -1522,6 +1619,8 @@ definitions: type: string CorpId: type: string + ErrorCode: + type: string Hostname: description: Email type: string @@ -1530,6 +1629,8 @@ definitions: type: integer Password: type: string + PhoneNumber: + type: string Secret: type: string SenderAddress: @@ -1544,6 +1645,68 @@ definitions: type: boolean Username: type: string + VerifiyCode: + description: sms + type: string + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/notify + SNotifyElementCreateInput: + properties: + __meta__: + additionalProperties: + type: string + description: 标签列表,最多支持20个 + example: + user:rd: op + type: object + x-go-name: Metadata + Name: + type: string + description: + description: 资源描述 + example: test create network + type: string + x-go-name: Description + disabled: + description: 该资源是否被管理员*人为*禁用, 和enabled互斥 + type: boolean + x-go-name: Disabled + dry_run: + default: false + description: 预检验参数,若为true则仅检查参数,并不真正创建变更 + type: boolean + x-go-name: DryRun + enabled: + description: 该资源是否被管理员*人为*启用或者禁用 + type: boolean + x-go-name: Enabled + generate_name: + description: |- + 生成资源名称的模板,如果name为空,则为必填项 + description: generated resource name, given a pattern to generate name, required if name is not given + example: test### + type: string + x-go-name: GenerateName + is_emulated: + description: |- + 资源是否为模拟资源 + description: the resource is an emulated resource + type: boolean + x-go-name: IsEmulated + name: + description: |- + 资源名称,如果generate_name为空,则为必填项 + description: resource name, required if generated_name is not given + example: test-network + type: string + uniqueItems: true + x-go-name: Name + status: + description: 用来存储资源的状态 + type: string + x-go-name: Status + required: + - name type: object x-go-package: yunion.io/x/onecloud/pkg/apis/notify SResult: @@ -1561,11 +1724,23 @@ definitions: x-go-name: Value type: object x-go-package: yunion.io/x/onecloud/pkg/util/tagutils + STopicActionInput: + properties: + ActionId: + type: string + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/notify STopicGroupKeys: items: type: string type: array x-go-package: yunion.io/x/onecloud/pkg/apis/notify + STopicResourceInput: + properties: + ResourceId: + type: string + type: object + x-go-package: yunion.io/x/onecloud/pkg/apis/notify SharedDomain: properties: id: @@ -2020,10 +2195,6 @@ definitions: x-go-package: yunion.io/x/onecloud/pkg/apis/notify TopicDetails: properties: - actions: - format: uint64 - type: integer - x-go-name: Actions advance_days: items: format: int64 @@ -2107,10 +2278,6 @@ definitions: type: string type: array x-go-name: Resources - resources: - format: uint64 - type: integer - x-go-name: Resources results: type: boolean x-go-name: Results @@ -2736,6 +2903,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - config + /configs/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: config_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/config_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - config /configs/domain-tag-value-pairs: get: description: 获取指定资源类的信息DomainTagValuePairs @@ -3053,6 +3230,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - email_queue_status + /email_queue_statuses/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: email_queue_status_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/email_queue_status_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - email_queue_status /email_queue_statuses/purge-splitable: post: description: 执行操作PurgeSplitable @@ -3351,6 +3538,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - email_queue + /email_queues/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: email_queue_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/email_queue_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - email_queue /email_queues/purge-splitable: post: description: 执行操作PurgeSplitable @@ -3601,6 +3798,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - event + /events/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: event_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/event_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - event /events/purge-splitable: post: description: 执行操作PurgeSplitable @@ -3859,6 +4066,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - notification_group + /notification_groups/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: notification_group_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/notification_group_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - notification_group /notification_groups/purge-splitable: post: description: 执行操作PurgeSplitable @@ -4109,6 +4326,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - notification_log + /notification_logs/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: notification_log_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/notification_log_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - notification_log /notification_logs/purge-splitable: post: description: 执行操作PurgeSplitable @@ -4699,6 +4926,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - notification + /notifications/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: notification_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/notification_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - notification /notifications/event-notify: post: description: 执行操作EventNotify @@ -4802,6 +5039,1314 @@ paths: summary: 获取指定资源类的信息TagValueTree tags: - notification + /notify_actions: + get: + description: 列表 + operationId: notify_action_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为关联表column,origin_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 + - $ref: '#/definitions/TTagSet' + description: 通过标签过滤(包含这些标签) + in: query + name: tags + x-go-name: Tags + - $ref: '#/definitions/TTagSetList' + description: 通过一组标签过滤(还包含这些标签,OR的关系) + in: query + name: obj_tags + x-go-name: ObjTags + - $ref: '#/definitions/TTagSet' + description: 通过标签过滤(不包含这些标签) + in: query + name: no_tags + x-go-name: NoTags + - $ref: '#/definitions/TTagSetList' + description: 通过一组标签过滤(还不包含这些标签,AND的关系) + in: query + name: no_obj_tags + x-go-name: NoObjTags + - description: 通过标签排序 + in: query + name: order_by_tag + type: string + x-go-name: OrderByTag + - description: |- + deprecated + 返回资源的标签不包含用户标签 + in: query + name: without_user_meta + type: boolean + x-go-name: WithoutUserMeta + - description: 返回包含用户标签的资源 + in: query + name: with_user_meta + type: boolean + x-go-name: WithUserMeta + - description: 返回包含外部标签的资源 + in: query + name: with_cloud_meta + type: boolean + x-go-name: WithCloudMeta + - description: 返回包含任意标签的资源 + in: query + name: with_any_meta + type: boolean + x-go-name: WithAnyMeta + - description: 返回列表数据中包含资源的标签数据(Metadata) + in: query + name: with_meta + type: boolean + x-go-name: WithMeta + - description: 显示所有的资源,包括模拟的资源 + in: query + name: show_emulated + type: boolean + x-go-name: ShowEmulated + - description: 以资源ID过滤列表 + in: query + items: + type: string + name: id + type: array + x-go-name: Ids + - description: 以资源名称过滤列表 + in: query + items: + type: string + name: name + type: array + x-go-name: Names + - description: 以资源的状态过滤列表 + in: query + items: + type: string + name: status + type: array + x-go-name: Status + - description: 以资源是否启用/禁用过滤列表 + in: query + name: enabled + type: boolean + x-go-name: Enabled + responses: + "200": + $ref: '#/responses/notify_action_ListItemFilterOutput' + summary: 列表 + tags: + - notify_action + post: + description: 新建 + operationId: notify_action_ValidateCreateData + parameters: + - in: body + name: body + schema: + properties: + count: + default: 1 + format: int64 + type: integer + x-go-name: Count + notify_action: + $ref: '#/definitions/SNotifyElementCreateInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_action_ValidateCreateDataOutput' + summary: 新建 + tags: + - notify_action + /notify_actions/{id}: + delete: + description: 删除 + operationId: notify_action_CustomizeDelete + parameters: + - description: The Id or Name of notify_action + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/notify_action_CustomizeDeleteOutput' + summary: 删除 + tags: + - notify_action + get: + description: 获取详情 + operationId: notify_action_FetchCustomizeColumns + parameters: + - description: The Id or Name of notify_action + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/notify_action_FetchCustomizeColumnsOutput' + summary: 获取详情 + tags: + - notify_action + put: + description: 更新 + operationId: notify_action_ValidateUpdateData + parameters: + - description: The Id or Name of notify_action + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_action: + $ref: '#/definitions/EnabledStatusStandaloneResourceBaseUpdateInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_action_ValidateUpdateDataOutput' + summary: 更新 + tags: + - notify_action + /notify_actions/{id}/class-metadata: + get: + description: 获取指定信息ClassMetadata + operationId: notify_action_GetDetailsClassMetadata + parameters: + - description: The Id or Name of notify_action + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/notify_action_GetDetailsClassMetadataOutput' + summary: 获取指定信息ClassMetadata + tags: + - notify_action + post: + description: 执行操作ClassMetadata + operationId: notify_action_PerformClassMetadata + parameters: + - description: The Id or Name of notify_action + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_action: + additionalProperties: + type: string + type: object + x-go-name: Input + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_action_PerformClassMetadataOutput' + summary: 更新资源的 class 标签 + tags: + - notify_action + /notify_actions/{id}/disable: + post: + description: 执行操作Disable + operationId: notify_action_PerformDisable + parameters: + - description: The Id or Name of notify_action + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_action: + $ref: '#/definitions/PerformDisableInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_action_PerformDisableOutput' + summary: 禁用资源 + tags: + - notify_action + /notify_actions/{id}/enable: + post: + description: 执行操作Enable + operationId: notify_action_PerformEnable + parameters: + - description: The Id or Name of notify_action + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_action: + $ref: '#/definitions/PerformEnableInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_action_PerformEnableOutput' + summary: 启用资源 + tags: + - notify_action + /notify_actions/{id}/metadata: + get: + description: 获取指定信息Metadata + operationId: notify_action_GetDetailsMetadata + parameters: + - description: |- + 指定需要获取的所有标签的KEY列表,如果列表为空,则获取全部标签 + 标签分为 + + 类型 | 说明 | + ----------|---------------------------------------------| + 系统标签 | 平台定义的标签 | + 用户标签 | key以user:为前缀,用户自定义标签 | + 外部标签 | key以ext:为前缀,为从其他平台同步过来的标签 | + in: query + items: + type: string + name: field + type: array + x-go-name: Field + - description: 按标签前缀过滤 + in: query + name: prefix + type: string + x-go-name: Prefix + - description: The Id or Name of notify_action + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/notify_action_GetDetailsMetadataOutput' + summary: 获取资源标签(元数据) + tags: + - notify_action + /notify_actions/{id}/org-metadata: + get: + description: 获取指定信息OrgMetadata + operationId: notify_action_GetDetailsOrgMetadata + parameters: + - description: The Id or Name of notify_action + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/notify_action_GetDetailsOrgMetadataOutput' + summary: 获取指定信息OrgMetadata + tags: + - notify_action + /notify_actions/{id}/set-class-metadata: + post: + description: 执行操作SetClassMetadata + operationId: notify_action_PerformSetClassMetadata + parameters: + - description: The Id or Name of notify_action + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_action: + additionalProperties: + type: string + type: object + x-go-name: Input + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_action_PerformSetClassMetadataOutput' + summary: 全量替换资源的所有 class 标签 + tags: + - notify_action + /notify_actions/{id}/set-org-metadata: + post: + description: 执行操作SetOrgMetadata + operationId: notify_action_PerformSetOrgMetadata + parameters: + - description: The Id or Name of notify_action + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_action: + additionalProperties: + type: string + type: object + x-go-name: Input + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_action_PerformSetOrgMetadataOutput' + summary: 全量替换资源的所有 class 标签 + tags: + - notify_action + /notify_actions/{id}/set-user-metadata: + post: + description: 执行操作SetUserMetadata + operationId: notify_action_PerformSetUserMetadata + parameters: + - description: The Id or Name of notify_action + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_action: + additionalProperties: + type: string + type: object + x-go-name: Input + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_action_PerformSetUserMetadataOutput' + summary: 全量替换资源的所有用户标签 + tags: + - notify_action + /notify_actions/{id}/status: + get: + description: 获取指定信息Status + operationId: notify_action_GetDetailsStatus + parameters: + - description: The Id or Name of notify_action + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/notify_action_GetDetailsStatusOutput' + summary: 获取资源状态 + tags: + - notify_action + post: + description: 执行操作Status + operationId: notify_action_PerformStatus + parameters: + - description: The Id or Name of notify_action + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_action: + $ref: '#/definitions/PerformStatusInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_action_PerformStatusOutput' + summary: 更新资源状态 + tags: + - notify_action + /notify_actions/distinct-field: + get: + description: 获取指定资源类的信息DistinctField + operationId: notify_action_GetPropertyDistinctField + responses: + "200": + $ref: '#/responses/notify_action_GetPropertyDistinctFieldOutput' + summary: 获取指定资源类的信息DistinctField + tags: + - notify_action + /notify_actions/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: notify_action_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/notify_action_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - notify_action + /notify_actions/purge-splitable: + post: + description: 执行操作PurgeSplitable + operationId: notify_action_PerformPurgeSplitable + parameters: + - in: body + name: body + schema: + properties: + notify_action: + $ref: '#/definitions/PurgeSplitTableInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_action_PerformPurgeSplitableOutput' + summary: 执行操作PurgeSplitable + tags: + - notify_action + /notify_actions/splitable: + get: + description: 获取指定资源类的信息Splitable + operationId: notify_action_GetPropertySplitable + responses: + "200": + $ref: '#/responses/notify_action_GetPropertySplitableOutput' + summary: 获取指定资源类的信息Splitable + tags: + - notify_action + /notify_actions/splitable-export: + get: + description: 获取指定资源类的信息SplitableExport + operationId: notify_action_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/notify_action_GetPropertySplitableExportOutput' + summary: 获取指定资源类的信息SplitableExport + tags: + - notify_action + /notify_actions/statistics: + get: + description: 获取指定资源类的信息Statistics + operationId: notify_action_GetPropertyStatistics + responses: + "200": + $ref: '#/responses/notify_action_GetPropertyStatisticsOutput' + summary: 获取指定资源类的信息Statistics + tags: + - notify_action + /notify_actions/tag-value-pairs: + get: + description: 获取指定资源类的信息TagValuePairs + operationId: notify_action_GetPropertyTagValuePairs + responses: + "200": + $ref: '#/responses/notify_action_GetPropertyTagValuePairsOutput' + summary: 获取指定资源类的信息TagValuePairs + tags: + - notify_action + /notify_actions/tag-value-tree: + get: + description: 获取指定资源类的信息TagValueTree + operationId: notify_action_GetPropertyTagValueTree + responses: + "200": + $ref: '#/responses/notify_action_GetPropertyTagValueTreeOutput' + summary: 获取指定资源类的信息TagValueTree + tags: + - notify_action + /notify_resources: + get: + description: 列表 + operationId: notify_resource_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为关联表column,origin_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 + - $ref: '#/definitions/TTagSet' + description: 通过标签过滤(包含这些标签) + in: query + name: tags + x-go-name: Tags + - $ref: '#/definitions/TTagSetList' + description: 通过一组标签过滤(还包含这些标签,OR的关系) + in: query + name: obj_tags + x-go-name: ObjTags + - $ref: '#/definitions/TTagSet' + description: 通过标签过滤(不包含这些标签) + in: query + name: no_tags + x-go-name: NoTags + - $ref: '#/definitions/TTagSetList' + description: 通过一组标签过滤(还不包含这些标签,AND的关系) + in: query + name: no_obj_tags + x-go-name: NoObjTags + - description: 通过标签排序 + in: query + name: order_by_tag + type: string + x-go-name: OrderByTag + - description: |- + deprecated + 返回资源的标签不包含用户标签 + in: query + name: without_user_meta + type: boolean + x-go-name: WithoutUserMeta + - description: 返回包含用户标签的资源 + in: query + name: with_user_meta + type: boolean + x-go-name: WithUserMeta + - description: 返回包含外部标签的资源 + in: query + name: with_cloud_meta + type: boolean + x-go-name: WithCloudMeta + - description: 返回包含任意标签的资源 + in: query + name: with_any_meta + type: boolean + x-go-name: WithAnyMeta + - description: 返回列表数据中包含资源的标签数据(Metadata) + in: query + name: with_meta + type: boolean + x-go-name: WithMeta + - description: 显示所有的资源,包括模拟的资源 + in: query + name: show_emulated + type: boolean + x-go-name: ShowEmulated + - description: 以资源ID过滤列表 + in: query + items: + type: string + name: id + type: array + x-go-name: Ids + - description: 以资源名称过滤列表 + in: query + items: + type: string + name: name + type: array + x-go-name: Names + - description: 以资源的状态过滤列表 + in: query + items: + type: string + name: status + type: array + x-go-name: Status + - description: 以资源是否启用/禁用过滤列表 + in: query + name: enabled + type: boolean + x-go-name: Enabled + responses: + "200": + $ref: '#/responses/notify_resource_ListItemFilterOutput' + summary: 列表 + tags: + - notify_resource + post: + description: 新建 + operationId: notify_resource_ValidateCreateData + parameters: + - in: body + name: body + schema: + properties: + count: + default: 1 + format: int64 + type: integer + x-go-name: Count + notify_resource: + $ref: '#/definitions/SNotifyElementCreateInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_resource_ValidateCreateDataOutput' + summary: 新建 + tags: + - notify_resource + /notify_resources/{id}: + delete: + description: 删除 + operationId: notify_resource_CustomizeDelete + parameters: + - description: The Id or Name of notify_resource + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/notify_resource_CustomizeDeleteOutput' + summary: 删除 + tags: + - notify_resource + get: + description: 获取详情 + operationId: notify_resource_FetchCustomizeColumns + parameters: + - description: The Id or Name of notify_resource + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/notify_resource_FetchCustomizeColumnsOutput' + summary: 获取详情 + tags: + - notify_resource + put: + description: 更新 + operationId: notify_resource_ValidateUpdateData + parameters: + - description: The Id or Name of notify_resource + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_resource: + $ref: '#/definitions/EnabledStatusStandaloneResourceBaseUpdateInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_resource_ValidateUpdateDataOutput' + summary: 更新 + tags: + - notify_resource + /notify_resources/{id}/class-metadata: + get: + description: 获取指定信息ClassMetadata + operationId: notify_resource_GetDetailsClassMetadata + parameters: + - description: The Id or Name of notify_resource + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/notify_resource_GetDetailsClassMetadataOutput' + summary: 获取指定信息ClassMetadata + tags: + - notify_resource + post: + description: 执行操作ClassMetadata + operationId: notify_resource_PerformClassMetadata + parameters: + - description: The Id or Name of notify_resource + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_resource: + additionalProperties: + type: string + type: object + x-go-name: Input + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_resource_PerformClassMetadataOutput' + summary: 更新资源的 class 标签 + tags: + - notify_resource + /notify_resources/{id}/disable: + post: + description: 执行操作Disable + operationId: notify_resource_PerformDisable + parameters: + - description: The Id or Name of notify_resource + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_resource: + $ref: '#/definitions/PerformDisableInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_resource_PerformDisableOutput' + summary: 禁用资源 + tags: + - notify_resource + /notify_resources/{id}/enable: + post: + description: 执行操作Enable + operationId: notify_resource_PerformEnable + parameters: + - description: The Id or Name of notify_resource + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_resource: + $ref: '#/definitions/PerformEnableInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_resource_PerformEnableOutput' + summary: 启用资源 + tags: + - notify_resource + /notify_resources/{id}/metadata: + get: + description: 获取指定信息Metadata + operationId: notify_resource_GetDetailsMetadata + parameters: + - description: |- + 指定需要获取的所有标签的KEY列表,如果列表为空,则获取全部标签 + 标签分为 + + 类型 | 说明 | + ----------|---------------------------------------------| + 系统标签 | 平台定义的标签 | + 用户标签 | key以user:为前缀,用户自定义标签 | + 外部标签 | key以ext:为前缀,为从其他平台同步过来的标签 | + in: query + items: + type: string + name: field + type: array + x-go-name: Field + - description: 按标签前缀过滤 + in: query + name: prefix + type: string + x-go-name: Prefix + - description: The Id or Name of notify_resource + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/notify_resource_GetDetailsMetadataOutput' + summary: 获取资源标签(元数据) + tags: + - notify_resource + /notify_resources/{id}/org-metadata: + get: + description: 获取指定信息OrgMetadata + operationId: notify_resource_GetDetailsOrgMetadata + parameters: + - description: The Id or Name of notify_resource + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/notify_resource_GetDetailsOrgMetadataOutput' + summary: 获取指定信息OrgMetadata + tags: + - notify_resource + /notify_resources/{id}/set-class-metadata: + post: + description: 执行操作SetClassMetadata + operationId: notify_resource_PerformSetClassMetadata + parameters: + - description: The Id or Name of notify_resource + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_resource: + additionalProperties: + type: string + type: object + x-go-name: Input + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_resource_PerformSetClassMetadataOutput' + summary: 全量替换资源的所有 class 标签 + tags: + - notify_resource + /notify_resources/{id}/set-org-metadata: + post: + description: 执行操作SetOrgMetadata + operationId: notify_resource_PerformSetOrgMetadata + parameters: + - description: The Id or Name of notify_resource + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_resource: + additionalProperties: + type: string + type: object + x-go-name: Input + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_resource_PerformSetOrgMetadataOutput' + summary: 全量替换资源的所有 class 标签 + tags: + - notify_resource + /notify_resources/{id}/set-user-metadata: + post: + description: 执行操作SetUserMetadata + operationId: notify_resource_PerformSetUserMetadata + parameters: + - description: The Id or Name of notify_resource + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_resource: + additionalProperties: + type: string + type: object + x-go-name: Input + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_resource_PerformSetUserMetadataOutput' + summary: 全量替换资源的所有用户标签 + tags: + - notify_resource + /notify_resources/{id}/status: + get: + description: 获取指定信息Status + operationId: notify_resource_GetDetailsStatus + parameters: + - description: The Id or Name of notify_resource + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/notify_resource_GetDetailsStatusOutput' + summary: 获取资源状态 + tags: + - notify_resource + post: + description: 执行操作Status + operationId: notify_resource_PerformStatus + parameters: + - description: The Id or Name of notify_resource + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + notify_resource: + $ref: '#/definitions/PerformStatusInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_resource_PerformStatusOutput' + summary: 更新资源状态 + tags: + - notify_resource + /notify_resources/distinct-field: + get: + description: 获取指定资源类的信息DistinctField + operationId: notify_resource_GetPropertyDistinctField + responses: + "200": + $ref: '#/responses/notify_resource_GetPropertyDistinctFieldOutput' + summary: 获取指定资源类的信息DistinctField + tags: + - notify_resource + /notify_resources/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: notify_resource_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/notify_resource_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - notify_resource + /notify_resources/purge-splitable: + post: + description: 执行操作PurgeSplitable + operationId: notify_resource_PerformPurgeSplitable + parameters: + - in: body + name: body + schema: + properties: + notify_resource: + $ref: '#/definitions/PurgeSplitTableInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/notify_resource_PerformPurgeSplitableOutput' + summary: 执行操作PurgeSplitable + tags: + - notify_resource + /notify_resources/splitable: + get: + description: 获取指定资源类的信息Splitable + operationId: notify_resource_GetPropertySplitable + responses: + "200": + $ref: '#/responses/notify_resource_GetPropertySplitableOutput' + summary: 获取指定资源类的信息Splitable + tags: + - notify_resource + /notify_resources/splitable-export: + get: + description: 获取指定资源类的信息SplitableExport + operationId: notify_resource_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/notify_resource_GetPropertySplitableExportOutput' + summary: 获取指定资源类的信息SplitableExport + tags: + - notify_resource + /notify_resources/statistics: + get: + description: 获取指定资源类的信息Statistics + operationId: notify_resource_GetPropertyStatistics + responses: + "200": + $ref: '#/responses/notify_resource_GetPropertyStatisticsOutput' + summary: 获取指定资源类的信息Statistics + tags: + - notify_resource + /notify_resources/tag-value-pairs: + get: + description: 获取指定资源类的信息TagValuePairs + operationId: notify_resource_GetPropertyTagValuePairs + responses: + "200": + $ref: '#/responses/notify_resource_GetPropertyTagValuePairsOutput' + summary: 获取指定资源类的信息TagValuePairs + tags: + - notify_resource + /notify_resources/tag-value-tree: + get: + description: 获取指定资源类的信息TagValueTree + operationId: notify_resource_GetPropertyTagValueTree + responses: + "200": + $ref: '#/responses/notify_resource_GetPropertyTagValueTreeOutput' + summary: 获取指定资源类的信息TagValueTree + tags: + - notify_resource /receivers: get: description: 列表 @@ -4981,6 +6526,13 @@ paths: name: name type: array x-go-name: Names + - description: 以资源的状态过滤列表 + in: query + items: + type: string + name: status + type: array + x-go-name: Status - description: 指定查询的权限范围,可能值为project, domain or system in: query name: scope @@ -5014,13 +6566,58 @@ paths: in: query name: no_domain_tags x-go-name: NoDomainTags - - description: 以资源的状态过滤列表 + - description: 指定项目的名称或ID + in: query + name: project_id + type: string + x-go-name: ProjectId + - description: 对具有项目属性的资源,严格匹配项目ID in: query items: type: string - name: status + name: project_ids type: array - x-go-name: Status + x-go-name: ProjectIds + - description: 按project名称排序,可能值为asc|desc + in: query + name: order_by_project + pattern: asc|desc + type: string + x-go-name: OrderByProject + - $ref: '#/definitions/TTagSetList' + description: filter by project tags + in: query + name: project_tags + x-go-name: ProjectTags + - $ref: '#/definitions/TTagSetList' + description: filter by no project tags + in: query + name: no_project_tags + x-go-name: NoProjectTags + - description: filter by project organizations + in: query + items: + type: string + name: project_organizations + type: array + x-go-name: ProjectOrganizations + - $ref: '#/definitions/TTagSetList' + description: |- + ignore + project tag fitlers imposed by policy + in: query + name: policy_project_tags + x-go-name: PolicyProjectTags + - description: 列表中包含标记为"系统资源"的资源 + in: query + name: system + type: boolean + x-go-name: System + - description: 是否显示回收站内的资源,默认不显示(对实现了回收站的资源有效,例如主机,磁盘,镜像) + in: query + name: pending_delete + type: boolean + x-go-name: PendingDelete - description: 以资源是否启用/禁用过滤列表 in: query name: enabled @@ -5132,6 +6729,23 @@ paths: summary: 更新 tags: - receiver + /receivers/{id}/cancel-delete: + post: + description: 执行操作CancelDelete + operationId: receiver_PerformCancelDelete + parameters: + - description: The Id or Name of receiver + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/receiver_PerformCancelDeleteOutput' + summary: 执行操作CancelDelete + tags: + - receiver /receivers/{id}/change-owner: post: description: 执行操作ChangeOwner @@ -5148,7 +6762,7 @@ paths: schema: properties: receiver: - $ref: '#/definitions/PerformChangeDomainOwnerInput' + $ref: '#/definitions/PerformChangeProjectOwnerInput' type: object x-go-name: Body responses: @@ -5293,6 +6907,31 @@ paths: summary: 执行操作EnableContactType tags: - receiver + /receivers/{id}/freeze: + post: + description: 执行操作Freeze + operationId: receiver_PerformFreeze + parameters: + - description: The Id or Name of receiver + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + receiver: + $ref: '#/definitions/PerformFreezeInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/receiver_PerformFreezeOutput' + summary: freezed update and perform action operation except for unfreeze + tags: + - receiver /receivers/{id}/get-subscription: post: description: 执行操作GetSubscription @@ -5522,6 +7161,31 @@ paths: summary: 执行操作TriggerVerify tags: - receiver + /receivers/{id}/unfreeze: + post: + description: 执行操作Unfreeze + operationId: receiver_PerformUnfreeze + parameters: + - description: The Id or Name of receiver + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + receiver: + $ref: '#/definitions/PerformUnfreezeInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/receiver_PerformUnfreezeOutput' + summary: 执行操作Unfreeze + tags: + - receiver /receivers/{id}/verify: post: description: 执行操作Verify @@ -5557,24 +7221,24 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - receiver - /receivers/domain-tag-value-pairs: + /receivers/distinct-fields: get: - description: 获取指定资源类的信息DomainTagValuePairs - operationId: receiver_GetPropertyDomainTagValuePairs + description: 获取指定资源类的信息DistinctFields + operationId: receiver_GetPropertyDistinctFields responses: "200": - $ref: '#/responses/receiver_GetPropertyDomainTagValuePairsOutput' - summary: 获取指定资源类的信息DomainTagValuePairs + $ref: '#/responses/receiver_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields tags: - receiver - /receivers/domain-tag-value-tree: + /receivers/domain-statistics: get: - description: 获取指定资源类的信息DomainTagValueTree - operationId: receiver_GetPropertyDomainTagValueTree + description: 获取指定资源类的信息DomainStatistics + operationId: receiver_GetPropertyDomainStatistics responses: "200": - $ref: '#/responses/receiver_GetPropertyDomainTagValueTreeOutput' - summary: 获取指定资源类的信息DomainTagValueTree + $ref: '#/responses/receiver_GetPropertyDomainStatisticsOutput' + summary: 获取指定资源类的信息DomainStatistics tags: - receiver /receivers/get-types: @@ -5615,6 +7279,36 @@ paths: summary: 执行操作IntellijGet tags: - receiver + /receivers/project-statistics: + get: + description: 获取指定资源类的信息ProjectStatistics + operationId: receiver_GetPropertyProjectStatistics + responses: + "200": + $ref: '#/responses/receiver_GetPropertyProjectStatisticsOutput' + summary: 获取指定资源类的信息ProjectStatistics + tags: + - receiver + /receivers/project-tag-value-pairs: + get: + description: 获取指定资源类的信息ProjectTagValuePairs + operationId: receiver_GetPropertyProjectTagValuePairs + responses: + "200": + $ref: '#/responses/receiver_GetPropertyProjectTagValuePairsOutput' + summary: 获取指定资源类的信息ProjectTagValuePairs + tags: + - receiver + /receivers/project-tag-value-tree: + get: + description: 获取指定资源类的信息ProjectTagValueTree + operationId: receiver_GetPropertyProjectTagValueTree + responses: + "200": + $ref: '#/responses/receiver_GetPropertyProjectTagValueTreeOutput' + summary: 获取指定资源类的信息ProjectTagValueTree + tags: + - receiver /receivers/purge-splitable: post: description: 执行操作PurgeSplitable @@ -5695,6 +7389,16 @@ paths: summary: 获取指定资源类的信息SplitableExport tags: - receiver + /receivers/statistics: + get: + description: 获取指定资源类的信息Statistics + operationId: receiver_GetPropertyStatistics + responses: + "200": + $ref: '#/responses/receiver_GetPropertyStatisticsOutput' + summary: 获取指定资源类的信息Statistics + tags: + - receiver /receivers/tag-value-pairs: get: description: 获取指定资源类的信息TagValuePairs @@ -6546,6 +8250,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - robot + /robots/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: robot_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/robot_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - robot /robots/domain-statistics: get: description: 获取指定资源类的信息DomainStatistics @@ -6874,6 +8588,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - subscriber_receiver + /subscriber_receivers/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: subscriber_receiver_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/subscriber_receiver_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - subscriber_receiver /subscriber_receivers/purge-splitable: post: description: 执行操作PurgeSplitable @@ -7494,6 +9218,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - subscriber + /subscribers/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: subscriber_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/subscriber_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - subscriber /subscribers/purge-splitable: post: description: 执行操作PurgeSplitable @@ -8051,6 +9785,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - template + /templates/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: template_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/template_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - template /templates/purge-splitable: post: description: 执行操作PurgeSplitable @@ -8144,6 +9888,542 @@ paths: summary: 获取指定资源类的信息TagValueTree tags: - template + /topic_actions: + get: + description: 列表 + operationId: topic_action_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为关联表column,origin_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 + responses: + "200": + $ref: '#/responses/topic_action_ListItemFilterOutput' + summary: 列表 + tags: + - topic_action + post: + description: 新建 + operationId: topic_action_ValidateCreateData + parameters: + - in: body + name: body + schema: + properties: + count: + default: 1 + format: int64 + type: integer + x-go-name: Count + topic_action: + $ref: '#/definitions/JoinResourceBaseCreateInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/topic_action_ValidateCreateDataOutput' + summary: 新建 + tags: + - topic_action + /topic_actions/{id}: + delete: + description: 删除 + operationId: topic_action_CustomizeDelete + parameters: + - description: The Id or Name of topic_action + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/topic_action_CustomizeDeleteOutput' + summary: 删除 + tags: + - topic_action + get: + description: 获取详情 + operationId: topic_action_FetchCustomizeColumns + parameters: + - description: The Id or Name of topic_action + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/topic_action_FetchCustomizeColumnsOutput' + summary: 获取详情 + tags: + - topic_action + put: + description: 更新 + operationId: topic_action_ValidateUpdateData + parameters: + - description: The Id or Name of topic_action + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + topic_action: + $ref: '#/definitions/JointResourceBaseUpdateInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/topic_action_ValidateUpdateDataOutput' + summary: 更新 + tags: + - topic_action + /topic_actions/distinct-field: + get: + description: 获取指定资源类的信息DistinctField + operationId: topic_action_GetPropertyDistinctField + responses: + "200": + $ref: '#/responses/topic_action_GetPropertyDistinctFieldOutput' + summary: 获取指定资源类的信息DistinctField + tags: + - topic_action + /topic_actions/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: topic_action_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/topic_action_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - topic_action + /topic_actions/purge-splitable: + post: + description: 执行操作PurgeSplitable + operationId: topic_action_PerformPurgeSplitable + parameters: + - in: body + name: body + schema: + properties: + topic_action: + $ref: '#/definitions/PurgeSplitTableInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/topic_action_PerformPurgeSplitableOutput' + summary: 执行操作PurgeSplitable + tags: + - topic_action + /topic_actions/splitable: + get: + description: 获取指定资源类的信息Splitable + operationId: topic_action_GetPropertySplitable + responses: + "200": + $ref: '#/responses/topic_action_GetPropertySplitableOutput' + summary: 获取指定资源类的信息Splitable + tags: + - topic_action + /topic_actions/splitable-export: + get: + description: 获取指定资源类的信息SplitableExport + operationId: topic_action_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/topic_action_GetPropertySplitableExportOutput' + summary: 获取指定资源类的信息SplitableExport + tags: + - topic_action + /topic_resources: + get: + description: 列表 + operationId: topic_resource_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为关联表column,origin_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 + responses: + "200": + $ref: '#/responses/topic_resource_ListItemFilterOutput' + summary: 列表 + tags: + - topic_resource + post: + description: 新建 + operationId: topic_resource_ValidateCreateData + parameters: + - in: body + name: body + schema: + properties: + count: + default: 1 + format: int64 + type: integer + x-go-name: Count + topic_resource: + $ref: '#/definitions/JoinResourceBaseCreateInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/topic_resource_ValidateCreateDataOutput' + summary: 新建 + tags: + - topic_resource + /topic_resources/{id}: + delete: + description: 删除 + operationId: topic_resource_CustomizeDelete + parameters: + - description: The Id or Name of topic_resource + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/topic_resource_CustomizeDeleteOutput' + summary: 删除 + tags: + - topic_resource + get: + description: 获取详情 + operationId: topic_resource_FetchCustomizeColumns + parameters: + - description: The Id or Name of topic_resource + in: path + name: id + required: true + type: string + x-go-name: Id + responses: + "200": + $ref: '#/responses/topic_resource_FetchCustomizeColumnsOutput' + summary: 获取详情 + tags: + - topic_resource + put: + description: 更新 + operationId: topic_resource_ValidateUpdateData + parameters: + - description: The Id or Name of topic_resource + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + topic_resource: + $ref: '#/definitions/JointResourceBaseUpdateInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/topic_resource_ValidateUpdateDataOutput' + summary: 更新 + tags: + - topic_resource + /topic_resources/distinct-field: + get: + description: 获取指定资源类的信息DistinctField + operationId: topic_resource_GetPropertyDistinctField + responses: + "200": + $ref: '#/responses/topic_resource_GetPropertyDistinctFieldOutput' + summary: 获取指定资源类的信息DistinctField + tags: + - topic_resource + /topic_resources/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: topic_resource_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/topic_resource_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - topic_resource + /topic_resources/purge-splitable: + post: + description: 执行操作PurgeSplitable + operationId: topic_resource_PerformPurgeSplitable + parameters: + - in: body + name: body + schema: + properties: + topic_resource: + $ref: '#/definitions/PurgeSplitTableInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/topic_resource_PerformPurgeSplitableOutput' + summary: 执行操作PurgeSplitable + tags: + - topic_resource + /topic_resources/splitable: + get: + description: 获取指定资源类的信息Splitable + operationId: topic_resource_GetPropertySplitable + responses: + "200": + $ref: '#/responses/topic_resource_GetPropertySplitableOutput' + summary: 获取指定资源类的信息Splitable + tags: + - topic_resource + /topic_resources/splitable-export: + get: + description: 获取指定资源类的信息SplitableExport + operationId: topic_resource_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/topic_resource_GetPropertySplitableExportOutput' + summary: 获取指定资源类的信息SplitableExport + tags: + - topic_resource /topics: get: description: 列表 @@ -8400,6 +10680,56 @@ paths: summary: 更新 tags: - topic + /topics/{id}/add-action: + post: + description: 执行操作AddAction + operationId: topic_PerformAddAction + parameters: + - description: The Id or Name of topic + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + topic: + $ref: '#/definitions/STopicActionInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/topic_PerformAddActionOutput' + summary: 执行操作AddAction + tags: + - topic + /topics/{id}/add-resource: + post: + description: 执行操作AddResource + operationId: topic_PerformAddResource + parameters: + - description: The Id or Name of topic + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + topic: + $ref: '#/definitions/STopicResourceInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/topic_PerformAddResourceOutput' + summary: 执行操作AddResource + tags: + - topic /topics/{id}/class-metadata: get: description: 获取指定信息ClassMetadata @@ -8548,6 +10878,56 @@ paths: summary: 获取指定信息OrgMetadata tags: - topic + /topics/{id}/remove-action: + post: + description: 执行操作RemoveAction + operationId: topic_PerformRemoveAction + parameters: + - description: The Id or Name of topic + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + topic: + $ref: '#/definitions/STopicActionInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/topic_PerformRemoveActionOutput' + summary: 执行操作RemoveAction + tags: + - topic + /topics/{id}/remove-resource: + post: + description: 执行操作RemoveResource + operationId: topic_PerformRemoveResource + parameters: + - description: The Id or Name of topic + in: path + name: id + required: true + type: string + x-go-name: Id + - in: body + name: body + schema: + properties: + topic: + $ref: '#/definitions/STopicResourceInput' + type: object + x-go-name: Body + responses: + "200": + $ref: '#/responses/topic_PerformRemoveResourceOutput' + summary: 执行操作RemoveResource + tags: + - topic /topics/{id}/set-class-metadata: post: description: 执行操作SetClassMetadata @@ -8683,6 +11063,16 @@ paths: summary: 获取指定资源类的信息DistinctField tags: - topic + /topics/distinct-fields: + get: + description: 获取指定资源类的信息DistinctFields + operationId: topic_GetPropertyDistinctFields + responses: + "200": + $ref: '#/responses/topic_GetPropertyDistinctFieldsOutput' + summary: 获取指定资源类的信息DistinctFields + tags: + - topic /topics/purge-splitable: post: description: 执行操作PurgeSplitable @@ -8825,6 +11215,8 @@ responses: description: "" config_GetPropertyDistinctFieldOutput: description: "" + config_GetPropertyDistinctFieldsOutput: + description: "" config_GetPropertyDomainTagValuePairsOutput: description: "" config_GetPropertyDomainTagValueTreeOutput: @@ -8908,6 +11300,8 @@ responses: type: object email_queue_GetPropertyDistinctFieldOutput: description: "" + email_queue_GetPropertyDistinctFieldsOutput: + description: "" email_queue_GetPropertySplitableExportOutput: description: "" email_queue_GetPropertySplitableOutput: @@ -8968,6 +11362,8 @@ responses: type: object email_queue_status_GetPropertyDistinctFieldOutput: description: "" + email_queue_status_GetPropertyDistinctFieldsOutput: + description: "" email_queue_status_GetPropertySplitableExportOutput: description: "" email_queue_status_GetPropertySplitableOutput: @@ -9026,6 +11422,8 @@ responses: type: object event_GetPropertyDistinctFieldOutput: description: "" + event_GetPropertyDistinctFieldsOutput: + description: "" event_GetPropertySplitableExportOutput: description: "" event_GetPropertySplitableOutput: @@ -9121,6 +11519,8 @@ responses: type: object notification_GetPropertyDistinctFieldOutput: description: "" + notification_GetPropertyDistinctFieldsOutput: + description: "" notification_GetPropertySplitableExportOutput: description: "" notification_GetPropertySplitableOutput: @@ -9214,6 +11614,8 @@ responses: type: object notification_group_GetPropertyDistinctFieldOutput: description: "" + notification_group_GetPropertyDistinctFieldsOutput: + description: "" notification_group_GetPropertySplitableExportOutput: description: "" notification_group_GetPropertySplitableOutput: @@ -9272,6 +11674,8 @@ responses: type: object notification_log_GetPropertyDistinctFieldOutput: description: "" + notification_log_GetPropertyDistinctFieldsOutput: + description: "" notification_log_GetPropertySplitableExportOutput: description: "" notification_log_GetPropertySplitableOutput: @@ -9314,6 +11718,250 @@ responses: notification_log: $ref: '#/definitions/ModelBaseDetails' type: object + notify_action_CustomizeDeleteOutput: + description: "" + schema: + properties: + notify_action: + $ref: '#/definitions/EnabledStatusStandaloneResourceDetails' + type: object + notify_action_FetchCustomizeColumnsOutput: + description: "" + schema: + properties: + notify_action: + $ref: '#/definitions/EnabledStatusStandaloneResourceDetails' + type: object + notify_action_GetDetailsClassMetadataOutput: + description: "" + schema: + properties: + notify_action: + additionalProperties: + type: string + type: object + x-go-name: Output + type: object + notify_action_GetDetailsMetadataOutput: + description: "" + schema: + properties: + notify_action: + additionalProperties: + type: string + type: object + x-go-name: Output + type: object + notify_action_GetDetailsOrgMetadataOutput: + description: "" + schema: + properties: + notify_action: + additionalProperties: + type: string + type: object + x-go-name: Output + type: object + notify_action_GetDetailsStatusOutput: + description: "" + schema: + properties: + notify_action: + $ref: '#/definitions/GetDetailsStatusOutput' + type: object + notify_action_GetPropertyDistinctFieldOutput: + description: "" + notify_action_GetPropertyDistinctFieldsOutput: + description: "" + notify_action_GetPropertySplitableExportOutput: + description: "" + notify_action_GetPropertySplitableOutput: + description: "" + notify_action_GetPropertyStatisticsOutput: + description: "" + schema: + properties: + notify_action: + $ref: '#/definitions/StatusStatistic' + type: object + notify_action_GetPropertyTagValuePairsOutput: + description: "" + notify_action_GetPropertyTagValueTreeOutput: + description: "" + notify_action_ListItemFilterOutput: + description: "" + schema: + properties: + limit: + format: int64 + type: integer + x-go-name: Limit + notify_actions: + items: + $ref: '#/definitions/EnabledStatusStandaloneResourceDetails' + type: array + x-go-name: Output + offset: + format: int64 + type: integer + x-go-name: Offset + total: + format: int64 + type: integer + x-go-name: Total + type: object + notify_action_PerformClassMetadataOutput: + description: "" + notify_action_PerformDisableOutput: + description: "" + notify_action_PerformEnableOutput: + description: "" + notify_action_PerformPurgeSplitableOutput: + description: "" + notify_action_PerformSetClassMetadataOutput: + description: "" + notify_action_PerformSetOrgMetadataOutput: + description: "" + notify_action_PerformSetUserMetadataOutput: + description: "" + notify_action_PerformStatusOutput: + description: "" + notify_action_ValidateCreateDataOutput: + description: "" + schema: + properties: + notify_action: + $ref: '#/definitions/EnabledStatusStandaloneResourceDetails' + type: object + notify_action_ValidateUpdateDataOutput: + description: "" + schema: + properties: + notify_action: + $ref: '#/definitions/EnabledStatusStandaloneResourceDetails' + type: object + notify_resource_CustomizeDeleteOutput: + description: "" + schema: + properties: + notify_resource: + $ref: '#/definitions/EnabledStatusStandaloneResourceDetails' + type: object + notify_resource_FetchCustomizeColumnsOutput: + description: "" + schema: + properties: + notify_resource: + $ref: '#/definitions/EnabledStatusStandaloneResourceDetails' + type: object + notify_resource_GetDetailsClassMetadataOutput: + description: "" + schema: + properties: + notify_resource: + additionalProperties: + type: string + type: object + x-go-name: Output + type: object + notify_resource_GetDetailsMetadataOutput: + description: "" + schema: + properties: + notify_resource: + additionalProperties: + type: string + type: object + x-go-name: Output + type: object + notify_resource_GetDetailsOrgMetadataOutput: + description: "" + schema: + properties: + notify_resource: + additionalProperties: + type: string + type: object + x-go-name: Output + type: object + notify_resource_GetDetailsStatusOutput: + description: "" + schema: + properties: + notify_resource: + $ref: '#/definitions/GetDetailsStatusOutput' + type: object + notify_resource_GetPropertyDistinctFieldOutput: + description: "" + notify_resource_GetPropertyDistinctFieldsOutput: + description: "" + notify_resource_GetPropertySplitableExportOutput: + description: "" + notify_resource_GetPropertySplitableOutput: + description: "" + notify_resource_GetPropertyStatisticsOutput: + description: "" + schema: + properties: + notify_resource: + $ref: '#/definitions/StatusStatistic' + type: object + notify_resource_GetPropertyTagValuePairsOutput: + description: "" + notify_resource_GetPropertyTagValueTreeOutput: + description: "" + notify_resource_ListItemFilterOutput: + description: "" + schema: + properties: + limit: + format: int64 + type: integer + x-go-name: Limit + notify_resources: + items: + $ref: '#/definitions/EnabledStatusStandaloneResourceDetails' + type: array + x-go-name: Output + offset: + format: int64 + type: integer + x-go-name: Offset + total: + format: int64 + type: integer + x-go-name: Total + type: object + notify_resource_PerformClassMetadataOutput: + description: "" + notify_resource_PerformDisableOutput: + description: "" + notify_resource_PerformEnableOutput: + description: "" + notify_resource_PerformPurgeSplitableOutput: + description: "" + notify_resource_PerformSetClassMetadataOutput: + description: "" + notify_resource_PerformSetOrgMetadataOutput: + description: "" + notify_resource_PerformSetUserMetadataOutput: + description: "" + notify_resource_PerformStatusOutput: + description: "" + notify_resource_ValidateCreateDataOutput: + description: "" + schema: + properties: + notify_resource: + $ref: '#/definitions/EnabledStatusStandaloneResourceDetails' + type: object + notify_resource_ValidateUpdateDataOutput: + description: "" + schema: + properties: + notify_resource: + $ref: '#/definitions/EnabledStatusStandaloneResourceDetails' + type: object receiver_CustomizeDeleteOutput: description: "" schema: @@ -9374,9 +12022,31 @@ responses: type: object receiver_GetPropertyDistinctFieldOutput: description: "" - receiver_GetPropertyDomainTagValuePairsOutput: + receiver_GetPropertyDistinctFieldsOutput: description: "" - receiver_GetPropertyDomainTagValueTreeOutput: + receiver_GetPropertyDomainStatisticsOutput: + description: "" + schema: + properties: + receiver: + items: + $ref: '#/definitions/ProjectStatistic' + type: array + x-go-name: Output + type: object + receiver_GetPropertyProjectStatisticsOutput: + description: "" + schema: + properties: + receiver: + items: + $ref: '#/definitions/ProjectStatistic' + type: array + x-go-name: Output + type: object + receiver_GetPropertyProjectTagValuePairsOutput: + description: "" + receiver_GetPropertyProjectTagValueTreeOutput: description: "" receiver_GetPropertyRoleContactTypeOutput: description: "" @@ -9384,6 +12054,13 @@ responses: description: "" receiver_GetPropertySplitableOutput: description: "" + receiver_GetPropertyStatisticsOutput: + description: "" + schema: + properties: + receiver: + $ref: '#/definitions/StatusStatistic' + type: object receiver_GetPropertyTagValuePairsOutput: description: "" receiver_GetPropertyTagValueTreeOutput: @@ -9410,6 +12087,8 @@ responses: type: integer x-go-name: Total type: object + receiver_PerformCancelDeleteOutput: + description: "" receiver_PerformChangeOwnerOutput: description: "" receiver_PerformClassMetadataOutput: @@ -9420,6 +12099,8 @@ responses: description: "" receiver_PerformEnableOutput: description: "" + receiver_PerformFreezeOutput: + description: "" receiver_PerformGetSubscriptionOutput: description: "" receiver_PerformGetTypesOutput: @@ -9443,6 +12124,8 @@ responses: description: "" receiver_PerformTriggerVerifyOutput: description: "" + receiver_PerformUnfreezeOutput: + description: "" receiver_PerformVerifyOutput: description: "" receiver_ValidateCreateDataOutput: @@ -9519,6 +12202,8 @@ responses: type: object robot_GetPropertyDistinctFieldOutput: description: "" + robot_GetPropertyDistinctFieldsOutput: + description: "" robot_GetPropertyDomainStatisticsOutput: description: "" schema: @@ -9668,6 +12353,8 @@ responses: type: object subscriber_GetPropertyDistinctFieldOutput: description: "" + subscriber_GetPropertyDistinctFieldsOutput: + description: "" subscriber_GetPropertySplitableExportOutput: description: "" subscriber_GetPropertySplitableOutput: @@ -9746,6 +12433,8 @@ responses: type: object subscriber_receiver_GetPropertyDistinctFieldOutput: description: "" + subscriber_receiver_GetPropertyDistinctFieldsOutput: + description: "" subscriber_receiver_GetPropertySplitableExportOutput: description: "" subscriber_receiver_GetPropertySplitableOutput: @@ -9834,6 +12523,8 @@ responses: type: object template_GetPropertyDistinctFieldOutput: description: "" + template_GetPropertyDistinctFieldsOutput: + description: "" template_GetPropertySplitableExportOutput: description: "" template_GetPropertySplitableOutput: @@ -9943,6 +12634,8 @@ responses: type: object topic_GetPropertyDistinctFieldOutput: description: "" + topic_GetPropertyDistinctFieldsOutput: + description: "" topic_GetPropertySplitableExportOutput: description: "" topic_GetPropertySplitableOutput: @@ -9980,6 +12673,10 @@ responses: type: integer x-go-name: Total type: object + topic_PerformAddActionOutput: + description: "" + topic_PerformAddResourceOutput: + description: "" topic_PerformClassMetadataOutput: description: "" topic_PerformDisableOutput: @@ -9988,6 +12685,10 @@ responses: description: "" topic_PerformPurgeSplitableOutput: description: "" + topic_PerformRemoveActionOutput: + description: "" + topic_PerformRemoveResourceOutput: + description: "" topic_PerformSetClassMetadataOutput: description: "" topic_PerformSetOrgMetadataOutput: @@ -10010,6 +12711,126 @@ responses: topic: $ref: '#/definitions/TopicDetails' type: object + topic_action_CustomizeDeleteOutput: + description: "" + schema: + properties: + topic_action: + $ref: '#/definitions/JointResourceBaseDetails' + type: object + topic_action_FetchCustomizeColumnsOutput: + description: "" + schema: + properties: + topic_action: + $ref: '#/definitions/JointResourceBaseDetails' + type: object + topic_action_GetPropertyDistinctFieldOutput: + description: "" + topic_action_GetPropertyDistinctFieldsOutput: + description: "" + topic_action_GetPropertySplitableExportOutput: + description: "" + topic_action_GetPropertySplitableOutput: + description: "" + topic_action_ListItemFilterOutput: + description: "" + schema: + properties: + limit: + format: int64 + type: integer + x-go-name: Limit + offset: + format: int64 + type: integer + x-go-name: Offset + topic_actions: + items: + $ref: '#/definitions/JointResourceBaseDetails' + type: array + x-go-name: Output + total: + format: int64 + type: integer + x-go-name: Total + type: object + topic_action_PerformPurgeSplitableOutput: + description: "" + topic_action_ValidateCreateDataOutput: + description: "" + schema: + properties: + topic_action: + $ref: '#/definitions/JointResourceBaseDetails' + type: object + topic_action_ValidateUpdateDataOutput: + description: "" + schema: + properties: + topic_action: + $ref: '#/definitions/JointResourceBaseDetails' + type: object + topic_resource_CustomizeDeleteOutput: + description: "" + schema: + properties: + topic_resource: + $ref: '#/definitions/JointResourceBaseDetails' + type: object + topic_resource_FetchCustomizeColumnsOutput: + description: "" + schema: + properties: + topic_resource: + $ref: '#/definitions/JointResourceBaseDetails' + type: object + topic_resource_GetPropertyDistinctFieldOutput: + description: "" + topic_resource_GetPropertyDistinctFieldsOutput: + description: "" + topic_resource_GetPropertySplitableExportOutput: + description: "" + topic_resource_GetPropertySplitableOutput: + description: "" + topic_resource_ListItemFilterOutput: + description: "" + schema: + properties: + limit: + format: int64 + type: integer + x-go-name: Limit + offset: + format: int64 + type: integer + x-go-name: Offset + topic_resources: + items: + $ref: '#/definitions/JointResourceBaseDetails' + type: array + x-go-name: Output + total: + format: int64 + type: integer + x-go-name: Total + type: object + topic_resource_PerformPurgeSplitableOutput: + description: "" + topic_resource_ValidateCreateDataOutput: + description: "" + schema: + properties: + topic_resource: + $ref: '#/definitions/JointResourceBaseDetails' + type: object + topic_resource_ValidateUpdateDataOutput: + description: "" + schema: + properties: + topic_resource: + $ref: '#/definitions/JointResourceBaseDetails' + type: object schemes: - https - http diff --git a/docs/swagger/swagger_yunionconf.yaml b/docs/swagger/swagger_yunionconf.yaml index 3386cbfa10..50203ca7d9 100644 --- a/docs/swagger/swagger_yunionconf.yaml +++ b/docs/swagger/swagger_yunionconf.yaml @@ -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: diff --git a/pkg/apis/compute/api.go b/pkg/apis/compute/api.go index 1568d31716..dfc362006f 100644 --- a/pkg/apis/compute/api.go +++ b/pkg/apis/compute/api.go @@ -160,7 +160,7 @@ type DiskConfig struct { BackupId string `json:"backup_id"` // 磁盘类型 - // enum: sys, data, swap + // enum: ["sys", "data", "swap"] DiskType string `json:"disk_type"` Schedtags []*SchedtagConfig `json:"schedtags"` @@ -171,22 +171,22 @@ type DiskConfig struct { SizeMb int `json:"size"` // 文件系统,仅kvm支持自动格式化磁盘,私有云和公有云此参数不会生效 - // enum: swap, ext2, ext3, ext4, xfs, ntfs, fat, hfsplus + // enum: ["swap", "ext2", "ext3", "ext4", "xfs", "ntfs", "fat", "hfsplus"] // requried: false Fs string `json:"fs"` // 磁盘存储格式 - // enum: qcow2, raw, docker, iso, vmdk, vmdkflatver1, vmdkflatver2, vmdkflat, vmdksparse, vmdksparsever1, vmdksparsever2, vmdksepsparse vhd + // enum: ["qcow2", "raw", "docker", "iso", "vmdk", "vmdkflatver1", "vmdkflatver2", "vmdkflat", "vmdksparse", "vmdksparsever1", "vmdksparsever2", "vmdksepsparse", "vhd"] // requried: false Format string `json:"format"` // 磁盘驱动方式 - // enum: virtio, ide, scsi, sata, pvscsi + // enum: ["virtio", "ide", "scsi", "sata", "pvscsi"] // requried: false Driver string `json:"driver"` // 磁盘缓存模式 - // enum: writeback, none, writethrough + // enum: ["writeback", "none", "writethrough"] // requried: false Cache string `json:"cache"` @@ -393,7 +393,7 @@ type ServerConfigs struct { Backup bool `json:"backup"` // 设置为 daemon 虚机 - // default: nil + // default: false // required: false IsDaemon *bool `json:"is_daemon"` @@ -503,12 +503,12 @@ type ServerCreateInput struct { Cdrom string `json:"cdrom"` CdromBootIndex *int8 `json:"cdrom_boot_index"` - // enum: cirros, vmware, qxl, std + // enum: ["cirros", "vmware", "qxl", "std"] // default: std Vga string `json:"vga"` // 远程连接协议 - // enum: vnc, spice + // enum: ["vnc", "spice"] // default: vnc Vdi string `json:"vdi"` @@ -538,7 +538,7 @@ type ServerCreateInput struct { // 关机后执行的操作 // terminate: 关机后自动删除 - // enum: stop, terminate, stop_release_gpu + // enum: ["stop", "terminate", "stop_release_gpu"] // default: stop ShutdownBehavior string `json:"shutdown_behavior"` diff --git a/pkg/apis/compute/backup.go b/pkg/apis/compute/backup.go index e67ecfdbaf..4e6f5991c3 100644 --- a/pkg/apis/compute/backup.go +++ b/pkg/apis/compute/backup.go @@ -56,7 +56,7 @@ type BackupStorageCreateInput struct { apis.EnabledStatusInfrasResourceBaseCreateInput // description: storage type - // enum: nfs + // enum: ["nfs"] StorageType string `json:"storage_type"` SBackupStorageAccessInfo diff --git a/pkg/apis/compute/cloudaccount.go b/pkg/apis/compute/cloudaccount.go index 5cba5da9d1..927cf91e6a 100644 --- a/pkg/apis/compute/cloudaccount.go +++ b/pkg/apis/compute/cloudaccount.go @@ -66,7 +66,7 @@ type CloudenvResourceListInput struct { // | Ceph | 2.11 | Ceph对象存储 | // | Xsky | 2.11 | XSKY启明星辰Ceph对象存储 | // - // enum: OneCloud,VMware,Aliyun,Qcloud,Azure,Aws,Huawei,OpenStack,Ucloud,ZStack,Google,Ctyun,S3,Ceph,Xsky" + // enum: ["OneCloud","VMware","Aliyun","Qcloud","Azure","Aws","Huawei","OpenStack","Ucloud","ZStack","Google","Ctyun","S3","Ceph","Xsky"] Providers []string `json:"providers"` // swagger:ignore // Deprecated @@ -91,7 +91,7 @@ type CloudenvResourceListInput struct { // | private | 私有云 | // | onpremise | 本地IDC | // - // enum: public,private,onpremise + // enum: ["public","private","onpremise"] CloudEnv string `json:"cloud_env"` // swagger:ignore @@ -146,7 +146,7 @@ type CloudaccountCreateInput struct { // 指定云平台 // Qcloud: 腾讯云 // Ctyun: 天翼云 - // enum: VMware, Aliyun, Qcloud, Azure, Aws, Huawei, OpenStack, Ucloud, ZStack, Google, Ctyun, JDcloud + // enum: ["VMware", "Aliyun", "Qcloud", "Azure", "Aws", "Huawei", "OpenStack", "Ucloud", "ZStack", "Google", "Ctyun", "JDcloud"] Provider string `json:"provider"` // swagger:ignore AccountId string diff --git a/pkg/apis/compute/container.go b/pkg/apis/compute/container.go index ea13a7c420..d0dc141bb0 100644 --- a/pkg/apis/compute/container.go +++ b/pkg/apis/compute/container.go @@ -178,7 +178,8 @@ type ContainerExecInput struct { type ContainerExecSyncInput struct { Command []string `json:"command"` - // Timeout in seconds to stop the command. Default: 0 (run forever). + // Timeout in seconds to stop the command, 0 mean run forever. + // default: 0 Timeout int64 `json:"timeout"` } diff --git a/pkg/apis/compute/dbinstance.go b/pkg/apis/compute/dbinstance.go index c16089a61e..fe3ddec268 100644 --- a/pkg/apis/compute/dbinstance.go +++ b/pkg/apis/compute/dbinstance.go @@ -86,7 +86,7 @@ type DBInstanceCreateInput struct { ExpiredAt time.Time `json:"expired_at"` // 计费方式 - // enum: postpaid, prepaid + // enum: ["postpaid", "prepaid"] BillingType string // swagger:ignore BillingCycle string @@ -96,7 +96,7 @@ type DBInstanceCreateInput struct { InstanceType string `json:"instance_type"` // rds引擎 - // enum: MySQL, SQLServer, PostgreSQL, MariaDB, Oracle, PPAS + // enum: ["MySQL", "SQLServer", "PostgreSQL", "MariaDB", "Oracle", "PPAS"] // required: true Engine string `json:"engine"` diff --git a/pkg/apis/compute/disk.go b/pkg/apis/compute/disk.go index a82bb04261..55064aef4c 100644 --- a/pkg/apis/compute/disk.go +++ b/pkg/apis/compute/disk.go @@ -52,7 +52,7 @@ type DiskCreateInput struct { // 此参数仅适用于未指定storage时进行调度到指定平台创建磁盘 // default: kvm - // enum: kvm, openstack, esxi, aliyun, aws, qcloud, azure, huawei, openstack, ucloud, zstack google, ctyun + // enum: ["kvm", "openstack", "esxi", "aliyun", "aws", "qcloud", "azure", "huawei", "ucloud", "zstack", "google", "ctyun"] Hypervisor string `json:"hypervisor"` } diff --git a/pkg/apis/compute/elasticcache.go b/pkg/apis/compute/elasticcache.go index e5321573f6..364f2ce0fd 100644 --- a/pkg/apis/compute/elasticcache.go +++ b/pkg/apis/compute/elasticcache.go @@ -198,12 +198,12 @@ type ElasticcacheCreateInput struct { Network string `json:"network" yunion-deprecated-by:"network_id"` // 网络类型 - // enum: vpc, cLassic + // enum: ["vpc", "cLassic"] // required: true NetworkType string `json:"network_type"` // 弹性缓存Engine - // enum: redis, memcached + // enum: ["redis", "memcached"] // required: true Engine string `json:"engine"` @@ -252,14 +252,14 @@ type ElasticcacheCreateInput struct { ExpiredAt time.Time `json:"expired_at"` // 计费方式 - // enum: postpaid, prepaid + // enum: ["postpaid", "prepaid"] BillingType string // swagger:ignore BillingCycle string // 弹性缓存维护时间段 // 华为云此参数可选,其它云该参数无效 - // enum: 22:00:00, 02:00:00, 06:00:00, 10:00:00, 14:00:00, 18:00:00 + // enum: ["22:00:00", "02:00:00", "06:00:00", "10:00:00", "14:00:00", "18:00:00"] // required: false MaintainStartTime string `json:"maintain_start_time"` diff --git a/pkg/apis/compute/elasticip.go b/pkg/apis/compute/elasticip.go index ebdfe1e5c0..28e2842681 100644 --- a/pkg/apis/compute/elasticip.go +++ b/pkg/apis/compute/elasticip.go @@ -59,7 +59,7 @@ type SElasticipCreateInput struct { // |ZStack | traffic | // |OpenStack | traffic | // default: traffic - // enum: traffic, bandwidth + // enum: ["traffic", "bandwidth"] ChargeType string `json:"charge_type"` Mode string `json:"mode"` diff --git a/pkg/apis/compute/filesystem.go b/pkg/apis/compute/filesystem.go index 1a0b69cb57..982a0b4a6b 100644 --- a/pkg/apis/compute/filesystem.go +++ b/pkg/apis/compute/filesystem.go @@ -54,7 +54,7 @@ type FileSystemListInput struct { type FileSystemCreateInput struct { apis.VirtualResourceCreateInput // 协议类型 - // enum: NFS, SMB, CPFS + // enum: ["NFS", "SMB", "CPFS"] Protocol string `json:"protocol"` // 文件系统类型 @@ -91,7 +91,7 @@ type FileSystemCreateInput struct { ExpiredAt time.Time `json:"expired_at"` // 计费方式 - // enum: postpaid, prepaid + // enum: ["postpaid", "prepaid"] BillingType string `json:"billing_type"` // swagger:ignore BillingCycle string `json:"billing_cycle"` diff --git a/pkg/apis/compute/guests.go b/pkg/apis/compute/guests.go index 00d489ec13..26e497decd 100644 --- a/pkg/apis/compute/guests.go +++ b/pkg/apis/compute/guests.go @@ -58,12 +58,12 @@ type ServerListInput struct { // 只列出还有备份机的主机 Backup *bool `json:"bakcup"` // 列出指定类型的主机 - // enum: normal,gpu,usb,backup + // enum: ["normal","gpu","usb","backup"] ServerType []string `json:"server_type"` // 列出管理安全组为指定安全组的主机 AdminSecgroup string `json:"admin_security"` // 列出Hypervisor为指定值的主机 - // enum: kvm,esxi,baremetal,aliyun,azure,aws,huawei,ucloud,zstack,openstack,google,ctyun,cloudpods,ecloud,jdcloud,remotefile` + // enum: ["kvm","esxi","baremetal","aliyun","azure","aws","huawei","ucloud","zstack","openstack","google","ctyun","cloudpods","ecloud","jdcloud","remotefile"] Hypervisor []string `json:"hypervisor"` // 列出绑定了弹性IP(EIP)的主机 WithEip *bool `json:"with_eip"` @@ -72,13 +72,13 @@ type ServerListInput struct { // 列出可绑定弹性IP的主机 EipAssociable *bool `json:"eip_associable"` // 列出操作系统为指定值的主机 - // enum: linux,windows,vmware + // enum: ["linux","windows","vmware"] OsType []string `json:"os_type"` // 操作系统发行版 OsDist []string `json:"os_dist"` // 对列表结果按照磁盘大小进行排序 - // enum: asc,desc + // enum: ["asc","desc"] OrderByDisk string `json:"order_by_disk"` OrderByIp string `json:"order_by_ip"` @@ -97,7 +97,7 @@ type ServerListInput struct { Disk string `json:"disk" yunion-deprecated-by:"attachable_servers_for_disk"` // 按主机资源类型进行排序 - // enum: shared,prepaid,dedicated + // enum: ["shared","prepaid","dedicated"] ResourceType string `json:"resource_type"` // 返回该宿主机上的所有虚拟机,包括备份机 GetAllGuestsOnHost string `json:"get_all_guests_on_host"` diff --git a/pkg/apis/compute/host.go b/pkg/apis/compute/host.go index ee65095302..01e3fe88e3 100644 --- a/pkg/apis/compute/host.go +++ b/pkg/apis/compute/host.go @@ -134,7 +134,7 @@ type HostListInput struct { OsArch []string `json:"os_arch"` // 按虚拟机数量排序 - // enum: asc,desc + // enum: ["asc","desc"] OrderByServerCount string `json:"order_by_server_count"` // 按存储大小排序 // enmu: asc,desc diff --git a/pkg/apis/compute/keypair.go b/pkg/apis/compute/keypair.go index a0c5596bd5..ccf97bd539 100644 --- a/pkg/apis/compute/keypair.go +++ b/pkg/apis/compute/keypair.go @@ -33,7 +33,7 @@ type KeypairCreateInput struct { Fingerprint string // 秘钥类型 - // enum: RSA + // enum: ["RSA"] // default: RSA Scheme string `json:"scheme"` } diff --git a/pkg/apis/compute/loadbalancerlistener.go b/pkg/apis/compute/loadbalancerlistener.go index 3a0ada31a3..afd24f27a1 100644 --- a/pkg/apis/compute/loadbalancerlistener.go +++ b/pkg/apis/compute/loadbalancerlistener.go @@ -142,7 +142,7 @@ type LoadbalancerListenerCreateInput struct { // default: on // enmu: on, off HealthCheck string `json:"health_check"` - // enum: tcp, udp, http + // enum: ["tcp", "udp", "http"] HealthCheckType string `json:"health_check_type"` HealthCheckDomain string `json:"string"` HealthCheckPath string `json:"health_check_path"` @@ -324,7 +324,7 @@ type LoadbalancerListenerUpdateInput struct { // default: on // enmu: on, off HealthCheck *string `json:"health_check"` - // enum: tcp, udp, http + // enum: ["tcp", "udp", "http"] HealthCheckType *string `json:"health_check_type"` HealthCheckDomain *string `json:"string"` HealthCheckPath *string `json:"health_check_path"` diff --git a/pkg/apis/compute/natgateway.go b/pkg/apis/compute/natgateway.go index d69a4e8fca..f402e06f5a 100644 --- a/pkg/apis/compute/natgateway.go +++ b/pkg/apis/compute/natgateway.go @@ -121,7 +121,7 @@ type NatgatewayCreateInput struct { ExpiredAt time.Time `json:"expired_at"` // 计费方式 - // enum: postpaid, prepaid + // enum: ["postpaid", "prepaid"] BillingType string `json:"billing_type"` // swagger:ignore BillingCycle string `json:"billing_cycle"` @@ -138,7 +138,7 @@ type NatgatewayCreateInput struct { EipBw int `json:"eip_bw,omitzero"` // 弹性公网IP计费类型 - // enum: bandwidth, traffic + // enum: ["bandwidth", "traffic"] // default: traffic EipChargeType string `json:"eip_charge_type,omitempty"` EipBgpType string `json:"eip_bgp_type"` diff --git a/pkg/apis/compute/network.go b/pkg/apis/compute/network.go index 76ca318eb0..6486f57954 100644 --- a/pkg/apis/compute/network.go +++ b/pkg/apis/compute/network.go @@ -253,7 +253,7 @@ type NetworkCreateInput struct { Vpc string `json:"vpc"` // description: server type - // enum: guest,baremetal,pxe,ipmi,hostlocal + // enum: ["guest","baremetal","pxe","ipmi","hostlocal"] // default: guest ServerType TNetworkType `json:"server_type"` diff --git a/pkg/apis/compute/scaling_group.go b/pkg/apis/compute/scaling_group.go index 964e527dc1..24946b2d3b 100644 --- a/pkg/apis/compute/scaling_group.go +++ b/pkg/apis/compute/scaling_group.go @@ -57,18 +57,18 @@ type ScalingGroupCreateInput struct { GuestTemplateId string `json:"guest_template_id"` // description: 扩容策略 - // enum: balanced + // enum: ["balanced"] // required: false // example: balanced ExpansionPrinciple string `json:"expansion_principle"` // description: 缩容策略 - // enum: earliest,latest,config_earliest,config_latest + // enum: ["earliest","latest","config_earliest","config_latest"] // example: latest ShrinkPrinciple string `json:"shrink_principle"` // description: 检查健康模式 - // enum: normal,loadbalancer + // enum: ["normal","loadbalancer"] // example: normal HealthCheckMode string `json:"health_check_mode"` diff --git a/pkg/apis/compute/scaling_policy.go b/pkg/apis/compute/scaling_policy.go index b0326dfc87..54560c92d7 100644 --- a/pkg/apis/compute/scaling_policy.go +++ b/pkg/apis/compute/scaling_policy.go @@ -40,7 +40,7 @@ type ScalingPolicyCreateInput struct { ScalingGroupId string `json:"scaling_group_id"` // description: trigger type - // enum: timing,cycle,alarm + // enum: ["timing","cycle","alarm"] TriggerType string `json:"trigger_type"` Timer TimerCreateInput `json:"timer"` @@ -48,7 +48,7 @@ type ScalingPolicyCreateInput struct { Alarm ScalingAlarmCreateInput `json:"alarm"` // desciption: 伸缩策略的行为(增加还是删除或者调整为) - // enum: add,remove,set + // enum: ["add","remove","set"] // example: add Action string `json:"action"` @@ -57,7 +57,7 @@ type ScalingPolicyCreateInput struct { Number int `json:"number"` // desciption: 实例数量的单位 - // enum: s,% + // enum: ["s","%"] // example: s Unit string `json:"unit"` @@ -75,7 +75,7 @@ type ScalingPolicyListInput struct { ScalingGroupFilterListInput // description: trigger type - // enum: timing,cycel,alarm + // enum: ["timing","cycel","alarm"] // example: alarm TriggerType string `json:"trigger_type"` } diff --git a/pkg/apis/compute/scaling_trigger.go b/pkg/apis/compute/scaling_trigger.go index 5d9e2589c2..7f7608ed48 100644 --- a/pkg/apis/compute/scaling_trigger.go +++ b/pkg/apis/compute/scaling_trigger.go @@ -25,7 +25,7 @@ type TimerCreateInput struct { type CycleTimerCreateInput struct { // description: 周期类型 - // enum: day,week,month + // enum: ["day","week","month"] CycleType string `json:"cycle_type"` CycleHour int `json:"cycle_hour"` @@ -64,17 +64,17 @@ type ScalingAlarmCreateInput struct { // description: 监控指标 // example: cpu - // enum: cpu,disk_read,disk_write,flow_into,flow_out + // enum: ["cpu","disk_read","disk_write","flow_into","flow_out"] Indicator string `json:"indicator"` // description: 监控指标的取值方式(比如最大值,最小值,平均值) // example: max - // enum: max,min,average + // enum: ["max","min","average"] Wrapper string `json:"wrapper"` // descripion: 监控指标的比较符 // example: ge - // enum: ge,le + // enum: ["ge","le"] Operator string `json:"operator"` // description: 监控指标的取值 diff --git a/pkg/apis/compute/schedtag.go b/pkg/apis/compute/schedtag.go index 42d4ce88a0..e88899c290 100644 --- a/pkg/apis/compute/schedtag.go +++ b/pkg/apis/compute/schedtag.go @@ -26,11 +26,11 @@ type SchedtagCreateInput struct { apis.ScopedResourceCreateInput // 动态标签策略 - // enum: exclude, prefer, avoid + // enum: ["exclude", "prefer", "avoid"] DefaultStrategy string `json:"default_strategy"` // 资源类型 - // enum: servers, hosts, ..... + // enum: ["servers", "hosts", "...."] // default: hosts ResourceType string `json:"resource_type"` } diff --git a/pkg/apis/compute/secgroup.go b/pkg/apis/compute/secgroup.go index 4eb5b755b1..0a8ab15645 100644 --- a/pkg/apis/compute/secgroup.go +++ b/pkg/apis/compute/secgroup.go @@ -42,7 +42,7 @@ type SSecgroupRuleResource struct { // | tcp | TCP | // | icmp | ICMP | // | udp | UDP | - // enum: any, tcp, udp, icmp + // enum: ["any", "tcp", "udp", "icmp"] Protocol string `json:"protocol"` // 端口列表, 参数为空代表任意端口 @@ -62,7 +62,7 @@ type SSecgroupRuleResource struct { PortEnd int // 方向 - // enum: in, out + // enum: ["in", "out"] // required: true Direction string `json:"direction"` @@ -73,7 +73,7 @@ type SSecgroupRuleResource struct { // 行为 // deny: 拒绝 // allow: 允许 - // enum: deny, allow + // enum: ["deny", "allow"] // required: true Action string `json:"action"` @@ -120,13 +120,13 @@ type SSecgroupRuleUpdateInput struct { // | tcp | TCP | // | icmp | ICMP | // | udp | UDP | - // enum: any, tcp, udp, icmp + // enum: ["any", "tcp", "udp", "icmp"] Protocol *string `json:"protocol"` // 行为 // deny: 拒绝 // allow: 允许 - // enum: deny, allow + // enum: ["deny", "allow"] // required: true Action *string `json:"action"` diff --git a/pkg/apis/compute/storage.go b/pkg/apis/compute/storage.go index 6e3ca1a0cc..c41ce0b5b6 100644 --- a/pkg/apis/compute/storage.go +++ b/pkg/apis/compute/storage.go @@ -60,12 +60,12 @@ type StorageCreateInput struct { // local: 本地存储 // rbd: ceph块存储, ceph存储创建时仅会检测是否重复创建,不会具体检测认证参数是否合法,只有挂载存储时 // 计算节点会验证参数,若挂载失败,宿主机和存储不会关联,可以通过查看存储日志查找挂载失败原因 - // enum: local, rbd, nfs, gpfs + // enum: ["local", "rbd", "nfs", "gpfs"] // required: true StorageType string `json:"storage_type"` // 存储介质类型 - // enum: rotate, ssd, hybird + // enum: ["rotate", "ssd", "hybird"] // required: true // default: ssd MediumType string `json:"medium_type"` diff --git a/pkg/apis/compute/zz_generated.model.go b/pkg/apis/compute/zz_generated.model.go index 67fa8778d3..bff97c877d 100644 --- a/pkg/apis/compute/zz_generated.model.go +++ b/pkg/apis/compute/zz_generated.model.go @@ -17,10 +17,10 @@ package compute import ( time "time" - cloudprovider "yunion.io/x/cloudmux/pkg/cloudprovider" jsonutils "yunion.io/x/jsonutils" "yunion.io/x/onecloud/pkg/apis" + "yunion.io/x/onecloud/pkg/apis/cloudprovider" ) // SAccessGroup is an autogenerated struct via yunion.io/x/onecloud/pkg/compute/models.SAccessGroup. @@ -639,6 +639,8 @@ type SDnsRecord struct { PolicyType string `json:"policy_type"` // 解析线路 PolicyValue string `json:"policy_value"` + // 目前存储阿里云GTM设置地址及AWS TrafficPolicy端点地址, 仅支持同步 + ExtraAddresses []string `json:"extra_addresses"` } // SDnsZone is an autogenerated struct via yunion.io/x/onecloud/pkg/compute/models.SDnsZone. @@ -957,7 +959,7 @@ type SFileSystem struct { // enmu: performance, capacity, standard, advance, advance_100, advance_200 StorageType string `json:"storage_type"` // 协议类型 - // enum: NFS, SMB, cpfs + // enum: ["NFS", "SMB", "cpfs"] Protocol string `json:"protocol"` // 容量, 单位Gb Capacity int64 `json:"capacity"` @@ -1043,6 +1045,8 @@ type SGuest struct { VcpuCount int `json:"vcpu_count"` // 内存大小, 单位MB VmemSize int `json:"vmem_size"` + // CPU 内存绑定信息 + CpuNumaPin jsonutils.JSONObject `json:"cpu_numa_pin"` // 启动顺序 BootOrder string `json:"boot_order"` // 关机操作类型 diff --git a/pkg/apis/monitor/zz_generated.model.go b/pkg/apis/monitor/zz_generated.model.go index 1d10633c35..55178c1598 100644 --- a/pkg/apis/monitor/zz_generated.model.go +++ b/pkg/apis/monitor/zz_generated.model.go @@ -184,6 +184,7 @@ type SMonitorResourceAlert struct { AlertId string `json:"alert_id"` AlertRecordId string `json:"alert_record_id"` ResType string `json:"res_type"` + Metric string `json:"metric"` AlertState string `json:"alert_state"` SendState string `json:"send_state"` TriggerTime time.Time `json:"trigger_time"` diff --git a/pkg/apis/notify/config.go b/pkg/apis/notify/config.go index 764bbcef4a..812a7b0ea8 100644 --- a/pkg/apis/notify/config.go +++ b/pkg/apis/notify/config.go @@ -39,7 +39,7 @@ type ConfigCreateInput struct { // description: attribution // required: true - // enum: system,domain + // enum: ["system","domain"] // example: system Attribution string `json:"attribution"` } @@ -89,7 +89,7 @@ type ConfigManagerGetTypesInput struct { DomainIds []string `json:"domain_ids"` // description: Operation of reduce // required: false - // enum: union,merge + // enum: ["union","merge"] Operation string `json:"operation"` } diff --git a/pkg/apis/notify/notification.go b/pkg/apis/notify/notification.go index 466c8921bf..ac1b6f5230 100644 --- a/pkg/apis/notify/notification.go +++ b/pkg/apis/notify/notification.go @@ -45,7 +45,7 @@ type NotificationCreateInput struct { Topic string `json:"topic"` // description: notification priority // required: false - // enum: fatal,important,nomal + // enum: ["fatal","important","nomal"] // example: normal Priority string `json:"priority"` // description: message content or jsonobject @@ -108,7 +108,7 @@ type NotificationManagerEventNotifyInput struct { ContactTypes []string `json:"contact_type"` // description: notification priority // required: false - // enum: fatal,important,nomal + // enum: ["fatal","important","nomal"] // example: normal Priority string `json:"priority"` // description: resource details diff --git a/pkg/apis/notify/receiver.go b/pkg/apis/notify/receiver.go index 1ef6d1b2ee..527ea1b2b1 100644 --- a/pkg/apis/notify/receiver.go +++ b/pkg/apis/notify/receiver.go @@ -172,7 +172,7 @@ type ReceiverTriggerVerifyInput struct { // description: contact type // required: true // example: email - // enum: email,mobile + // enum: ["email","mobile"] ContactType string `json:"contact_type"` } @@ -180,7 +180,7 @@ type ReceiverVerifyInput struct { // description: Contact type // required: true // example: email - // enum: email,mobile + // enum: ["email","mobile"] ContactType string `json:"contact_type"` // description: token user input // required: true diff --git a/pkg/apis/notify/robot.go b/pkg/apis/notify/robot.go index 3e42d9cbdc..591923cf13 100644 --- a/pkg/apis/notify/robot.go +++ b/pkg/apis/notify/robot.go @@ -25,7 +25,7 @@ type RobotCreateInput struct { apis.SharableVirtualResourceCreateInput apis.EnabledBaseResourceCreateInput // description: robot type - // enum: feishu,dingtalk,workwx,webhook + // enum: ["feishu","dingtalk","workwx","webhook"] // example: webhook Type string `json:"type"` // description: address @@ -48,7 +48,7 @@ type RobotListInput struct { apis.SharableVirtualResourceListInput apis.EnabledResourceBaseListInput // description: robot type - // enum: feishu,dingtalk,workwx,webhook + // enum: ["feishu","dingtalk","workwx","webhook"] // example: webhook Type string `json:"type"` // description: Language preference diff --git a/pkg/apis/notify/subscriber.go b/pkg/apis/notify/subscriber.go index 531fe6437d..83cd622e18 100644 --- a/pkg/apis/notify/subscriber.go +++ b/pkg/apis/notify/subscriber.go @@ -24,7 +24,7 @@ type SubscriberCreateInput struct { TopicID string // description: scope of resource - // enum: system,domain,project + // enum: ["system","domain","project"] ResourceScope string // description: project id or domain id of resource @@ -38,7 +38,7 @@ type SubscriberCreateInput struct { DomainId string // description: Type of subscriber - // enum: receiver,robot,role + // enum: ["receiver","robot","role"] Type string // description: receivers which is required when the type is 'receiver' will Subscribe TopicID @@ -48,14 +48,14 @@ type SubscriberCreateInput struct { Role string // description: The scope of role subscribers - // enum: system,domain,project + // enum: ["system","domain","project"] RoleScope string // description: Robot(Id or Name) which is required when the type is 'robot' will Subscribe TopicID Robot string // description: scope - // enum: system,domain + // enum: ["system","domain"] Scope string // minutes GroupTimes *uint32 @@ -69,7 +69,7 @@ type SubscriberChangeInput struct { Role string // description: The scope of role subscribers - // enum: system,domain,project + // enum: ["system","domain","project"] RoleScope string // description: Robot(Id or Name) which is required when the type is 'robot' will Subscribe TopicID @@ -86,15 +86,15 @@ type SubscriberListInput struct { TopicID string // description: scope of resource - // enum: system,domain,project + // enum: ["system","domain","project"] ResourceScope string // description: type - // enum: receiver,robot,role + // enum: ["receiver","robot","role"] Type string // description: scope - // enum: system,domain + // enum: ["system","domain"] Scope string } diff --git a/pkg/apis/notify/template.go b/pkg/apis/notify/template.go index 55bdad6ad6..da64797524 100644 --- a/pkg/apis/notify/template.go +++ b/pkg/apis/notify/template.go @@ -24,7 +24,7 @@ type TemplateCreateInput struct { // example: email ContactType string `json:"contact_type"` // description: Template type - // enum: title,content,remote + // enum: ["title","content","remote"] // example: title TemplateType string `json:"template_type"` @@ -42,7 +42,7 @@ type TemplateCreateInput struct { // example: {"name": "centos7.6"} Example string `json:"example"` // description: Language - // enum: cn,en + // enum: ["cn","en"] Lang string `json:"lang"` } @@ -61,7 +61,7 @@ type TemplateListInput struct { ContactType string `json:"contact_type"` // description: Template type - // enum: title,content,remote + // enum: ["title","content","remote"] // example: title TemplateType string `json:"template_type"` @@ -71,7 +71,7 @@ type TemplateListInput struct { Topic string `json:"topic"` // description: Language - // enum: cn,en + // enum: ["cn","en"] Lang string `json:"lang"` } diff --git a/pkg/apis/scheduledtask/scheduled_task.go b/pkg/apis/scheduledtask/scheduled_task.go index 93f00b68db..eb7bce0f49 100644 --- a/pkg/apis/scheduledtask/scheduled_task.go +++ b/pkg/apis/scheduledtask/scheduled_task.go @@ -68,7 +68,7 @@ type ScheduledTaskListInput struct { // description: resource type // example: server - // enum: server + // enum: ["server"] ResourceType string `json:"resource_type"` // description: label type @@ -81,7 +81,7 @@ type ScheduledTaskListInput struct { // description: operation // example: stop - // enum: start,stop,restart + // enum: ["start","stop","restart"] Operation string `json:"operation"` } @@ -90,22 +90,22 @@ type ScheduledTaskCreateInput struct { apis.EnabledBaseResourceCreateInput // description: scheduled type - // enum: cycle,timing + // enum: ["cycle","timing"] // example: timing ScheduledType string `json:"scheduled_type"` Timer TimerCreateInput `json:"timer"` CycleTimer CycleTimerCreateInput `json:"cycle_timer"` // description: resource type - // enum: server + // enum: ["server"] // example: server ResourceType string `json:"resource_type"` // description: operation - // enum: start,stop,restart + // enum: ["start","stop","restart"] // example: stop Operation string `json:"operation"` // description: label type - // enum: tag,id + // enum: ["tag","id"] // example: id LabelType string `json:"label_type"` // description: labels @@ -122,7 +122,7 @@ type TimerCreateInput struct { type CycleTimerCreateInput struct { // description: 周期类型 - // enum: hour,day,week,month + // enum: ["hour","day","week","month"] CycleType string `json:"cycle_type"` // description: 分(0-59) diff --git a/pkg/compute/models/filesystem.go b/pkg/compute/models/filesystem.go index da6983ff49..a787d6dd70 100644 --- a/pkg/compute/models/filesystem.go +++ b/pkg/compute/models/filesystem.go @@ -83,7 +83,7 @@ type SFileSystem struct { // enmu: performance, capacity, standard, advance, advance_100, advance_200 StorageType string `width:"32" charset:"ascii" nullable:"false" list:"user" create:"required"` // 协议类型 - // enum: NFS, SMB, cpfs + // enum: ["NFS", "SMB", "cpfs"] Protocol string `width:"32" charset:"ascii" nullable:"false" list:"user" create:"required"` // 容量, 单位Gb Capacity int64 `nullable:"false" list:"user" create:"optional"`