Skip to content

Commit

Permalink
Update APIs that resources depend-on v1.50.0 (#3110)
Browse files Browse the repository at this point in the history
Co-authored-by: ShiChangkuo <[email protected]>
  • Loading branch information
ShiChangkuo and ShiChangkuo authored Jun 13, 2023
1 parent 5192a3c commit 7bc1c7c
Show file tree
Hide file tree
Showing 33 changed files with 411 additions and 75 deletions.
24 changes: 24 additions & 0 deletions docs/api/data_source_huaweicloud_organizations_organization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
info:
title: data_source_huaweicloud_organizations_organization
description: Use this data source to get the Organization info and the root info of the organization.
host: myhuaweicloud.com
tags:
- name: Organizations
servers:
- url: https://organizations.cn-north-4.myhuaweicloud.com
paths:
/v1/organizations:
GET:
tag: Organizations
operationId: GetOrganization
x-ref-api: GET /v1/organizations
/v1/organizations/{resource_type}/{resource_id}/tags:
GET:
tag: Organizations
operationId: GetOrganizationsTags
x-ref-api: GET /v1/organizations/{resource_type}/{resource_id}/tags
/v1/organizations/roots:
GET:
tag: Organizations
operationId: GetOrganizationsRoot
x-ref-api: GET /v1/organizations/roots
14 changes: 14 additions & 0 deletions docs/api/data_source_huaweicloud_ram_resource_permissions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
info:
title: data_source_huaweicloud_ram_resource_permissions
description: Use this data source to get the list of RAM permissions.
host: myhuaweicloud.com
tags:
- name: RAM
servers:
- url: https://ram.myhuaweicloud.com
paths:
/v1/permissions:
GET:
tag: RAM
operationId: GetRAMPermissions
x-ref-api: GET /v1/permissions
27 changes: 27 additions & 0 deletions docs/api/resource_huaweicloud_aom_alarm_action_rule.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
info:
title: resource_huaweicloud_aom_alarm_action_rule
description: Manages an AOM alarm action rule resource within HuaweiCloud.
host: myhuaweicloud.com
tags:
- name: AOM
servers:
- url: https://aom.cn-east-3.myhuaweicloud.com
paths:
/v2/{project_id}/alert/action-rules:
DELETE:
tag: AOM
operationId: DeleteAlarmActionRule
x-ref-api: DELETE /v2/{project_id}/alert/action-rules
POST:
tag: AOM
operationId: CreateAlarmActionRule
x-ref-api: POST /v2/{project_id}/alert/action-rules
PUT:
tag: AOM
operationId: UpdateAlarmActionRule
x-ref-api: PUT /v2/{project_id}/alert/action-rules
/v2/{project_id}/alert/action-rules/{id}:
GET:
tag: AOM
operationId: GetAlarmActionRule
x-ref-api: GET /v2/{project_id}/alert/action-rules/{id}
26 changes: 26 additions & 0 deletions docs/api/resource_huaweicloud_aom_alarm_silence_rule.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
info:
title: resource_huaweicloud_aom_alarm_silence_rule
description: Manages an AOM alarm silence rule resource within HuaweiCloud.
host: myhuaweicloud.com
tags:
- name: AOM
servers:
- url: https://aom.cn-east-3.myhuaweicloud.com
paths:
/v2/{project_id}/alert/mute-rules:
DELETE:
tag: AOM
operationId: DeleteAlarmSilenceRule
x-ref-api: DELETE /v2/{project_id}/alert/mute-rules
GET:
tag: AOM
operationId: GetAlarmSilenceRule
x-ref-api: GET /v2/{project_id}/alert/mute-rules
POST:
tag: AOM
operationId: CreateAlarmSilenceRule
x-ref-api: POST /v2/{project_id}/alert/mute-rules
PUT:
tag: AOM
operationId: UpdateAlarmSilenceRule
x-ref-api: PUT /v2/{project_id}/alert/mute-rules
26 changes: 26 additions & 0 deletions docs/api/resource_huaweicloud_aom_event_alarm_rule.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
info:
title: resource_huaweicloud_aom_event_alarm_rule
description: Manages an AOM event alarm rule resource within HuaweiCloud.
host: myhuaweicloud.com
tags:
- name: AOM
servers:
- url: https://aom.cn-east-3.myhuaweicloud.com
paths:
/v2/{project_id}/event2alarm-rule:
DELETE:
tag: AOM
operationId: DeleteEventAlarmRule
x-ref-api: DELETE /v2/{project_id}/event2alarm-rule
GET:
tag: AOM
operationId: GetEventAlarmRule
x-ref-api: GET /v2/{project_id}/event2alarm-rule
POST:
tag: AOM
operationId: CreateEventAlarmRule
x-ref-api: POST /v2/{project_id}/event2alarm-rule
PUT:
tag: AOM
operationId: UpdateEventAlarmRule
x-ref-api: PUT /v2/{project_id}/event2alarm-rule
24 changes: 0 additions & 24 deletions docs/api/resource_huaweicloud_cce_partition.yaml

This file was deleted.

9 changes: 5 additions & 4 deletions docs/api/resource_huaweicloud_cph_server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ servers:
- url: https://sdg.myhuaweicloud.com
paths:
/v1/{project_id}/cloud-phone/servers/{id}:
DELETE:
tag: CPH
operationId: DeleteCphServer
x-ref-api: DELETE /v1/{project_id}/cloud-phone/servers/{id}
GET:
tag: CPH
operationId: GetCphServer
Expand All @@ -25,3 +21,8 @@ paths:
tag: CPH
operationId: CreateCphServer
x-ref-api: POST /v2/{project_id}/cloud-phone/servers
/v2/orders/subscriptions/resources/unsubscribe:
POST:
tag: BSS
operationId: DeleteCphServer
x-ref-api: POST /v2/orders/subscriptions/resources/unsubscribe
2 changes: 1 addition & 1 deletion docs/api/resource_huaweicloud_dds_audit_log_policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ paths:
x-ref-api: GET /v3/{project_id}/instances/{instance_id}/auditlog-policy
POST:
tag: DDS
operationId: DeleteAuditLogPolicy
operationId: UpdateAuditLogPolicy
x-ref-api: POST /v3/{project_id}/instances/{instance_id}/auditlog-policy
2 changes: 1 addition & 1 deletion docs/api/resource_huaweicloud_dli_agency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ paths:
x-ref-api: GET /v2/{project_id}/agency
POST:
tag: DLI
operationId: CreateAgency
operationId: DeleteAgency
x-ref-api: POST /v2/{project_id}/agency
9 changes: 5 additions & 4 deletions docs/api/resource_huaweicloud_dsc_instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ paths:
operationId: CreateDscInstance
x-ref-api: POST /v1/{project_id}/period/order
/v1/{project_id}/period/product/specification:
DELETE:
tag: DSC
operationId: DeleteDscInstance
x-ref-api: DELETE /v1/{project_id}/period/product/specification
GET:
tag: DSC
operationId: GetDscInstance
x-ref-api: GET /v1/{project_id}/period/product/specification
/v2/orders/subscriptions/resources/unsubscribe:
POST:
tag: BSS
operationId: DeleteDscInstance
x-ref-api: POST /v2/orders/subscriptions/resources/unsubscribe
61 changes: 35 additions & 26 deletions docs/api/resource_huaweicloud_dws_cluster.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,38 @@
info:
version:
title: resource_huaweicloud_dws_cluster
description:
schemes:
- https
host: huaweicloud.com
title: resource_huaweicloud_dws_cluster
description: 'Manages a DWS cluster resource within HuaweiCloud. '
host: myhuaweicloud.com
tags:
- name: DWS
- name: DWS
servers:
- url: https://dws.myhuaweicloud.com
paths:
/v1.0/{project_id}/clusters/{clusterId}/reset-password:
post:
tag: DWS
operationId: ResetPassword
/v1.0/{project_id}/clusters/{clusterId}/resize:
post:
tag: DWS
operationId: Resize
/v1.0/{project_id}/clusters/{id}:
delete:
tag: DWS
operationId: Delete
get:
tag: DWS
operationId: Get
/v1.0/{project_id}/clusters:
post:
tag: DWS
operationId: Create
/v1.0/{project_id}/clusters/{id}:
DELETE:
tag: DWS
operationId: DeleteDwsCluster
x-ref-api: DELETE /v1.0/{project_id}/clusters/{id}
GET:
tag: DWS
operationId: DeleteDwsClusterWaiting
x-ref-api: GET /v1.0/{project_id}/clusters/{id}
/v1.0/{project_id}/clusters/{id}/expand-instance-storage:
POST:
tag: DWS
operationId: expandInstanceStorage
x-ref-api: POST /v1.0/{project_id}/clusters/{id}/expand-instance-storage
/v1.0/{project_id}/clusters/{id}/reset-password:
POST:
tag: DWS
operationId: resetPasswordOfCluster
x-ref-api: POST /v1.0/{project_id}/clusters/{id}/reset-password
/v1.0/{project_id}/clusters/{id}/resize:
POST:
tag: DWS
operationId: ScaleOutCluster
x-ref-api: POST /v1.0/{project_id}/clusters/{id}/resize
/v2/{project_id}/clusters:
POST:
tag: DWS
operationId: CreateDwsCluster
x-ref-api: POST /v2/{project_id}/clusters
2 changes: 1 addition & 1 deletion docs/api/resource_huaweicloud_dws_ext_data_source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ paths:
/v1.0/{project_id}/job/{job_id}:
GET:
tag: DWS
operationId: CreateDwsExtDataSourceWaiting
operationId: DeleteDwsExtDataSourceWaiting
x-ref-api: GET /v1.0/{project_id}/job/{job_id}
2 changes: 1 addition & 1 deletion docs/api/resource_huaweicloud_dws_snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ paths:
x-ref-api: DELETE /v1.0/{project_id}/snapshots/{id}
GET:
tag: DWS
operationId: GetDwsSnapshot
operationId: CreateDwsSnapshotWaiting
x-ref-api: GET /v1.0/{project_id}/snapshots/{id}
2 changes: 1 addition & 1 deletion docs/api/resource_huaweicloud_er_instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ paths:
x-ref-api: DELETE /v3/{project_id}/enterprise-router/instances/{id}
GET:
tag: ER
operationId: UpdateInstanceWaiting
operationId: DeleteInstanceWaiting
x-ref-api: GET /v3/{project_id}/enterprise-router/instances/{id}
PUT:
tag: ER
Expand Down
4 changes: 4 additions & 0 deletions docs/api/resource_huaweicloud_fgs_function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ paths:
delete:
tag: FunctionGraph
operationId: Delete
/v2/{project_id}/fgs/functions:
post:
tag: FunctionGraph
operationId: Create
3 changes: 3 additions & 0 deletions docs/api/resource_huaweicloud_fgs_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ paths:
tag: APIG
operationId: List
/v2/{project_id}/fgs/triggers/{functionUrn}/{triggerTypeCode}/{triggerId}:
delete:
tag: FunctionGraph
operationId: Delete
put:
tag: FunctionGraph
operationId: Update
Expand Down
2 changes: 1 addition & 1 deletion docs/api/resource_huaweicloud_ga_endpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ paths:
x-ref-api: DELETE /v1/endpoint-groups/{endpoint_group_id}/endpoints/{id}
GET:
tag: GA
operationId: DeleteEndpointWaiting
operationId: UpdateEndpointWaiting
x-ref-api: GET /v1/endpoint-groups/{endpoint_group_id}/endpoints/{id}
PUT:
tag: GA
Expand Down
2 changes: 1 addition & 1 deletion docs/api/resource_huaweicloud_ga_endpoint_group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ paths:
x-ref-api: DELETE /v1/endpoint-groups/{id}
GET:
tag: GA
operationId: GetEndpointGroup
operationId: UpdateEndpointGroupWaiting
x-ref-api: GET /v1/endpoint-groups/{id}
PUT:
tag: GA
Expand Down
2 changes: 1 addition & 1 deletion docs/api/resource_huaweicloud_ga_listener.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ paths:
x-ref-api: DELETE /v1/listeners/{id}
GET:
tag: GA
operationId: UpdateListenerWaiting
operationId: DeleteListenerWaiting
x-ref-api: GET /v1/listeners/{id}
PUT:
tag: GA
Expand Down
33 changes: 33 additions & 0 deletions docs/api/resource_huaweicloud_ges_graph.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
info:
title: resource_huaweicloud_ges_graph
description: 'Manages a GES graph resource within HuaweiCloud. '
host: myhuaweicloud.com
tags:
- name: GES
servers:
- url: https://ges.myhuaweicloud.com
paths:
/v2/{project_id}/graphs:
POST:
tag: GES
operationId: CreateGraph
x-ref-api: POST /v2/{project_id}/graphs
/v2/{project_id}/graphs/{id}:
DELETE:
tag: GES
operationId: DeleteGraph
x-ref-api: DELETE /v2/{project_id}/graphs/{id}
GET:
tag: GES
operationId: expandGraphReplicationWaiting
x-ref-api: GET /v2/{project_id}/graphs/{id}
/v2/{project_id}/graphs/{id}/expand:
POST:
tag: GES
operationId: expandGraphReplication
x-ref-api: POST /v2/{project_id}/graphs/{id}/expand
/v2/{project_id}/graphs/{id}/resize:
POST:
tag: GES
operationId: ResizeGraph
x-ref-api: POST /v2/{project_id}/graphs/{id}/resize
28 changes: 28 additions & 0 deletions docs/api/resource_huaweicloud_ges_metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
info:
title: resource_huaweicloud_ges_metadata
description: "Manages a GES metadata resource within HuaweiCloud. \n\n-> Only 50 metadata resources can be created."
host: myhuaweicloud.com
tags:
- name: GES
servers:
- url: https://ges.myhuaweicloud.com
paths:
/v1.0/{project_id}/graphs/metadatas/{id}:
GET:
tag: GES
operationId: GetMetadataDetail
x-ref-api: GET /v1.0/{project_id}/graphs/metadatas/{id}
/v2/{project_id}/graphs/metadatas:
GET:
tag: GES
operationId: GetMetadataList
x-ref-api: GET /v2/{project_id}/graphs/metadatas
POST:
tag: GES
operationId: UpdateMetadata
x-ref-api: POST /v2/{project_id}/graphs/metadatas
/v2/{project_id}/graphs/metadatas/{id}:
DELETE:
tag: GES
operationId: DeleteMetadata
x-ref-api: DELETE /v2/{project_id}/graphs/metadatas/{id}
Loading

0 comments on commit 7bc1c7c

Please sign in to comment.