From 2774b9e9c34f3d86863181e52125a8adcd266588 Mon Sep 17 00:00:00 2001 From: ShiChangkuo Date: Thu, 29 Feb 2024 11:41:10 +0000 Subject: [PATCH] Update APIs that resources depend-on v1.62.0 --- .../resource_huaweicloud_ces_alarmrule.yaml | 10 ++++- ...source_huaweicloud_ces_resource_group.yaml | 3 ++ ...rce_huaweicloud_codearts_deploy_group.yaml | 7 +-- ...urce_huaweicloud_codearts_deploy_host.yaml | 7 +-- ...resource_huaweicloud_codearts_project.yaml | 2 +- ...ource_huaweicloud_codearts_repository.yaml | 6 +-- .../api/resource_huaweicloud_dcs_account.yaml | 3 ++ ...ource_huaweicloud_dcs_bigkey_analysis.yaml | 2 +- ...ource_huaweicloud_dcs_hotkey_analysis.yaml | 2 +- .../resource_huaweicloud_dcs_instance.yaml | 44 ++++++++++++------- .../resource_huaweicloud_dns_recordset.yaml | 10 ----- ...esource_huaweicloud_mapreduce_cluster.yaml | 25 ++++++++--- ...huaweicloud_mapreduce_data_connection.yaml | 2 +- .../resource_huaweicloud_mapreduce_job.yaml | 6 +-- ...source_huaweicloud_meeting_conference.yaml | 16 +++++++ .../resource_huaweicloud_meeting_user.yaml | 9 ++++ ...source_huaweicloud_ram_resource_share.yaml | 12 +++++ docs/api/resource_huaweicloud_rfs_stack.yaml | 6 +-- 18 files changed, 121 insertions(+), 51 deletions(-) diff --git a/docs/api/resource_huaweicloud_ces_alarmrule.yaml b/docs/api/resource_huaweicloud_ces_alarmrule.yaml index f7abd7e877..7d9fde738a 100644 --- a/docs/api/resource_huaweicloud_ces_alarmrule.yaml +++ b/docs/api/resource_huaweicloud_ces_alarmrule.yaml @@ -13,6 +13,9 @@ paths: tag: CES PUT: tag: CES + /v1.0/enterprise-projects/{enterprise_project_id}/resources-migrate: + POST: + tag: EPS /v2/{project_id}/alarms: GET: tag: CES @@ -27,9 +30,12 @@ paths: /v2/{project_id}/alarms/{id}/resources/{operation}: POST: tag: CES - /v2/{project_id}/alarms/action: + /v2/{project_id}/alarms/{id}/resources/batch-create: POST: tag: CES - /v2/{project_id}/alarms/batch-delete: + /v2/{project_id}/alarms/{id}/resources/batch-delete: + POST: + tag: CES + /v2/{project_id}/alarms/action: POST: tag: CES diff --git a/docs/api/resource_huaweicloud_ces_resource_group.yaml b/docs/api/resource_huaweicloud_ces_resource_group.yaml index 61504fc9ff..92a164ac61 100644 --- a/docs/api/resource_huaweicloud_ces_resource_group.yaml +++ b/docs/api/resource_huaweicloud_ces_resource_group.yaml @@ -19,6 +19,9 @@ paths: /v2/{project_id}/resource-groups/{id}/resources/batch-create: POST: tag: CES + /v2/{project_id}/resource-groups/{id}/resources/batch-delete: + POST: + tag: CES /v2/{project_id}/resource-groups/batch-delete: POST: tag: CES diff --git a/docs/api/resource_huaweicloud_codearts_deploy_group.yaml b/docs/api/resource_huaweicloud_codearts_deploy_group.yaml index fce03360d6..7ec1203077 100644 --- a/docs/api/resource_huaweicloud_codearts_deploy_group.yaml +++ b/docs/api/resource_huaweicloud_codearts_deploy_group.yaml @@ -8,13 +8,14 @@ host: huaweicloud.com tags: - name: CodeArtsDeploy paths: - /v2/host-groups: + /v1/resources/host-groups: POST: tag: CodeArtsDeploy + /v1/resources/host-groups/{group_id}: + GET: + tag: CodeArtsDeploy /v2/host-groups/{group_id}: DELETE: tag: CodeArtsDeploy - GET: - tag: CodeArtsDeploy PUT: tag: CodeArtsDeploy diff --git a/docs/api/resource_huaweicloud_codearts_deploy_host.yaml b/docs/api/resource_huaweicloud_codearts_deploy_host.yaml index 1e86657bca..e4771a988c 100644 --- a/docs/api/resource_huaweicloud_codearts_deploy_host.yaml +++ b/docs/api/resource_huaweicloud_codearts_deploy_host.yaml @@ -8,13 +8,14 @@ host: huaweicloud.com tags: - name: CodeArtsDeploy paths: - /v2/host-groups/{group_id}/hosts: + /v1/resources/host-groups/{group_id}/hosts: POST: tag: CodeArtsDeploy + /v1/resources/host-groups/{group_id}/hosts/{host_id}: + GET: + tag: CodeArtsDeploy /v2/host-groups/{group_id}/hosts/{host_id}: DELETE: tag: CodeArtsDeploy - GET: - tag: CodeArtsDeploy PUT: tag: CodeArtsDeploy diff --git a/docs/api/resource_huaweicloud_codearts_project.yaml b/docs/api/resource_huaweicloud_codearts_project.yaml index 47b22a0e2e..963b05bbc5 100644 --- a/docs/api/resource_huaweicloud_codearts_project.yaml +++ b/docs/api/resource_huaweicloud_codearts_project.yaml @@ -17,4 +17,4 @@ paths: GET: tag: CodeArts PUT: - tag: ProjectMan + tag: CodeArts diff --git a/docs/api/resource_huaweicloud_codearts_repository.yaml b/docs/api/resource_huaweicloud_codearts_repository.yaml index c5707cccce..b5121892e6 100644 --- a/docs/api/resource_huaweicloud_codearts_repository.yaml +++ b/docs/api/resource_huaweicloud_codearts_repository.yaml @@ -11,12 +11,12 @@ paths: /v1/repositories: POST: tag: CodeArts - /v1/repositories/{id}/status: - GET: - tag: CodeArts /v1/repositories/{repository_uuid}: DELETE: tag: CodeArts + /v1/repositories/{repository_uuid}/status: + GET: + tag: CodeArts /v2/repositories/{repository_uuid}: GET: tag: CodeArts diff --git a/docs/api/resource_huaweicloud_dcs_account.yaml b/docs/api/resource_huaweicloud_dcs_account.yaml index b331f94478..23d5fb19f2 100644 --- a/docs/api/resource_huaweicloud_dcs_account.yaml +++ b/docs/api/resource_huaweicloud_dcs_account.yaml @@ -8,6 +8,9 @@ host: huaweicloud.com tags: - name: DCS paths: + /v2/{project_id}/instances/{instance_id}: + GET: + tag: DCS /v2/{project_id}/instances/{instance_id}/accounts: GET: tag: DCS diff --git a/docs/api/resource_huaweicloud_dcs_bigkey_analysis.yaml b/docs/api/resource_huaweicloud_dcs_bigkey_analysis.yaml index 0d9574551f..e8d670e0b0 100644 --- a/docs/api/resource_huaweicloud_dcs_bigkey_analysis.yaml +++ b/docs/api/resource_huaweicloud_dcs_bigkey_analysis.yaml @@ -8,7 +8,7 @@ host: huaweicloud.com tags: - name: DCS paths: - /v2/{project_id}/instances/{id}: + /v2/{project_id}/instances/{instance_id}: GET: tag: DCS /v2/{project_id}/instances/{instance_id}/bigkey-task: diff --git a/docs/api/resource_huaweicloud_dcs_hotkey_analysis.yaml b/docs/api/resource_huaweicloud_dcs_hotkey_analysis.yaml index c376322ae8..deddcf8392 100644 --- a/docs/api/resource_huaweicloud_dcs_hotkey_analysis.yaml +++ b/docs/api/resource_huaweicloud_dcs_hotkey_analysis.yaml @@ -8,7 +8,7 @@ host: huaweicloud.com tags: - name: DCS paths: - /v2/{project_id}/instances/{id}: + /v2/{project_id}/instances/{instance_id}: GET: tag: DCS /v2/{project_id}/instances/{instance_id}/hotkey-task: diff --git a/docs/api/resource_huaweicloud_dcs_instance.yaml b/docs/api/resource_huaweicloud_dcs_instance.yaml index 2cc76000d9..9e1f1af033 100644 --- a/docs/api/resource_huaweicloud_dcs_instance.yaml +++ b/docs/api/resource_huaweicloud_dcs_instance.yaml @@ -8,13 +8,10 @@ host: huaweicloud.com tags: - name: DCS paths: - /v2/{project_id}/dcs/{id}/tags/action: + /v1.0/enterprise-projects/{enterprise_project_id}/resources-migrat: POST: - tag: DCS - /v2/{project_id}/flavors: - GET: - tag: DCS - /v2/{project_id}/instance/{id}/whitelist: + tag: EPS + /v2/{project_id}/instance/{instance_id}/whitelist: GET: tag: DCS PUT: @@ -22,35 +19,52 @@ paths: /v2/{project_id}/instances: POST: tag: DCS - /v2/{project_id}/instances/{id}: + /v2/{project_id}/instances/{instance_id}: DELETE: tag: DCS GET: tag: DCS PUT: tag: DCS - /v2/{project_id}/instances/{id}/password: + /v2/{project_id}/instances/{instance_id}/configs: + GET: + tag: DCS PUT: tag: DCS - /v2/{project_id}/instances/{id}/resize: - POST: + /v2/{project_id}/instances/{instance_id}/password: + PUT: tag: DCS - /v2/{project_id}/instances/{id}/tags: - GET: + /v2/{project_id}/instances/{instance_id}/resize: + POST: tag: DCS /v2/{project_id}/instances/{instance_id}/ssl: GET: tag: DCS PUT: tag: DCS - /v2/{project_id}/instances/{instancesId}/configs: + /v2/{project_id}/instances/{instance_id}/tags: GET: tag: DCS - PUT: - tag: DCS /v2/{project_id}/instances/status: PUT: tag: DCS /v2/available-zones: GET: tag: DCS + /v2/orders/customer-orders/details/{order_id}: + GET: + tag: BSS + /v2/orders/subscriptions/resources/autorenew/{instance_id}: + DELETE: + tag: BSS + POST: + tag: BSS + /v2/orders/subscriptions/resources/unsubscribe: + POST: + tag: BSS + /v2/orders/suscriptions/resources/query: + POST: + tag: BSS + /v3/{project_id}/instances/{instance_id}/tags/action: + POST: + tag: DCS diff --git a/docs/api/resource_huaweicloud_dns_recordset.yaml b/docs/api/resource_huaweicloud_dns_recordset.yaml index dae565cff4..18ecb232cd 100644 --- a/docs/api/resource_huaweicloud_dns_recordset.yaml +++ b/docs/api/resource_huaweicloud_dns_recordset.yaml @@ -21,13 +21,3 @@ paths: tag: DNS PUT: tag: DNS - /v2/zones/{zone_id}/recordsets: - POST: - tag: DNS - /v2/zones/{zone_id}/recordsets/{recordset_id}: - DELETE: - tag: DNS - GET: - tag: DNS - PUT: - tag: DNS diff --git a/docs/api/resource_huaweicloud_mapreduce_cluster.yaml b/docs/api/resource_huaweicloud_mapreduce_cluster.yaml index 3485847157..4c20cbf18e 100644 --- a/docs/api/resource_huaweicloud_mapreduce_cluster.yaml +++ b/docs/api/resource_huaweicloud_mapreduce_cluster.yaml @@ -8,23 +8,38 @@ host: huaweicloud.com tags: - name: MRS paths: + /v1.0/enterprise-projects/{enterprise_project_id}/resources-migrate: + POST: + tag: EPS + /v1.0/enterprise-projects/{enterprise_project_id}/resources/filter: + POST: + tag: EPS /v1.1/{project_id}/{resourceType}/{id}/tags/action: POST: tag: MRS - /v1.1/{project_id}/cluster_infos/{id}: + /v1.1/{project_id}/cluster_infos/{cluster_id}: GET: tag: MRS PUT: tag: MRS - /v1.1/{project_id}/clusters/{clusterId}/hosts: - GET: - tag: MRS - /v1.1/{project_id}/clusters/{id}: + /v1.1/{project_id}/clusters/{cluster_id}: DELETE: tag: MRS + /v1.1/{project_id}/clusters/{cluster_id}/hosts: + GET: + tag: MRS /v1/{project_id}/publicips: GET: tag: EIP + /v1/{project_id}/subnets: + GET: + tag: VPC + /v1/{project_id}/vpcs: + GET: + tag: VPC /v2/{project_id}/clusters: POST: tag: MRS + /v2/{project_id}/clusters/{cluster_id}/cluster-name: + PUT: + tag: MRS diff --git a/docs/api/resource_huaweicloud_mapreduce_data_connection.yaml b/docs/api/resource_huaweicloud_mapreduce_data_connection.yaml index fd2e690054..00db16dacb 100644 --- a/docs/api/resource_huaweicloud_mapreduce_data_connection.yaml +++ b/docs/api/resource_huaweicloud_mapreduce_data_connection.yaml @@ -13,7 +13,7 @@ paths: tag: MRS POST: tag: MRS - /v2/{project_id}/data-connectors/{id}: + /v2/{project_id}/data-connectors/{connector_id}: DELETE: tag: MRS PUT: diff --git a/docs/api/resource_huaweicloud_mapreduce_job.yaml b/docs/api/resource_huaweicloud_mapreduce_job.yaml index bfb80ff2b9..309754858d 100644 --- a/docs/api/resource_huaweicloud_mapreduce_job.yaml +++ b/docs/api/resource_huaweicloud_mapreduce_job.yaml @@ -8,12 +8,12 @@ host: huaweicloud.com tags: - name: MRS paths: - /v2/{project_id}/clusters/{clusterId}/job-executions: + /v2/{project_id}/clusters/{cluster_id}/job-executions: POST: tag: MRS - /v2/{project_id}/clusters/{clusterId}/job-executions/{jobId}: + /v2/{project_id}/clusters/{cluster_id}/job-executions/{job_execution_id}: GET: tag: MRS - /v2/{project_id}/clusters/{clusterId}/job-executions/batch-delete: + /v2/{project_id}/clusters/{cluster_id}/job-executions/batch-delete: POST: tag: MRS diff --git a/docs/api/resource_huaweicloud_meeting_conference.yaml b/docs/api/resource_huaweicloud_meeting_conference.yaml index 80a6c9fbce..3bc68d1913 100644 --- a/docs/api/resource_huaweicloud_meeting_conference.yaml +++ b/docs/api/resource_huaweicloud_meeting_conference.yaml @@ -29,3 +29,19 @@ paths: /v1/mmc/management/conferences/history/confDetail: GET: tag: Meeting + /v1/mmc/management/cycleconferences: + DELETE: + tag: Meeting + POST: + tag: Meeting + PUT: + tag: Meeting + /v1/usg/acs/auth/account: + POST: + tag: Meeting + /v1/usg/acs/token/validate: + POST: + tag: Meeting + /v2/usg/acs/auth/appauth: + POST: + tag: Meeting diff --git a/docs/api/resource_huaweicloud_meeting_user.yaml b/docs/api/resource_huaweicloud_meeting_user.yaml index 3220436a98..2c55a1165d 100644 --- a/docs/api/resource_huaweicloud_meeting_user.yaml +++ b/docs/api/resource_huaweicloud_meeting_user.yaml @@ -8,6 +8,12 @@ host: huaweicloud.com tags: - name: Meeting paths: + /v1/usg/acs/auth/account: + POST: + tag: Meeting + /v1/usg/acs/token/validate: + POST: + tag: Meeting /v1/usg/dcs/corp/admin: POST: tag: Meeting @@ -25,3 +31,6 @@ paths: /v1/usg/dcs/corp/member/delete: POST: tag: Meeting + /v2/usg/acs/auth/appauth: + POST: + tag: Meeting diff --git a/docs/api/resource_huaweicloud_ram_resource_share.yaml b/docs/api/resource_huaweicloud_ram_resource_share.yaml index 39609176da..e7ac41dd90 100644 --- a/docs/api/resource_huaweicloud_ram_resource_share.yaml +++ b/docs/api/resource_huaweicloud_ram_resource_share.yaml @@ -19,9 +19,21 @@ paths: tag: RAM PUT: tag: RAM + /v1/resource-shares/{resource_share_id}/associate: + POST: + tag: RAM /v1/resource-shares/{resource_share_id}/associated-permissions: GET: tag: RAM + /v1/resource-shares/{resource_share_id}/disassociate: + POST: + tag: RAM + /v1/resource-shares/{resource_share_id}/tags/create: + POST: + tag: RAM + /v1/resource-shares/{resource_share_id}/tags/delete: + POST: + tag: RAM /v1/resource-shares/search: POST: tag: RAM diff --git a/docs/api/resource_huaweicloud_rfs_stack.yaml b/docs/api/resource_huaweicloud_rfs_stack.yaml index 045a994932..0a09c7c8b5 100644 --- a/docs/api/resource_huaweicloud_rfs_stack.yaml +++ b/docs/api/resource_huaweicloud_rfs_stack.yaml @@ -13,12 +13,12 @@ paths: tag: RFS POST: tag: RFS - /v1/{project_id}/stacks/{stackName}: + /v1/{project_id}/stacks/{stack_name}: DELETE: tag: RFS - /v1/{project_id}/stacks/{stackName}/deployments: + /v1/{project_id}/stacks/{stack_name}/deployments: POST: tag: RFS - /v1/{project_id}/stacks/{stackName}/events: + /v1/{project_id}/stacks/{stack_name}/events: GET: tag: RFS