-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update schema json and API files based-on v1.56.0 (#3467)
- Loading branch information
1 parent
e7a8c8b
commit 7fe169c
Showing
14 changed files
with
316 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
info: | ||
version: | ||
title: resource_huaweicloud_eg_event_subscription | ||
description: | ||
schemes: | ||
- https | ||
host: huaweicloud.com | ||
tags: | ||
- name: EG | ||
paths: | ||
/v1/{project_id}/subscriptions/{subscriptionId}: | ||
delete: | ||
tag: EG | ||
operationId: Delete | ||
get: | ||
tag: EG | ||
operationId: Get | ||
put: | ||
tag: EG | ||
operationId: Update | ||
/v1/{project_id}/subscriptions: | ||
post: | ||
tag: EG | ||
operationId: Create |
27 changes: 27 additions & 0 deletions
27
docs/api/resource_huaweicloud_lts_notification_template.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
info: | ||
title: resource_huaweicloud_lts_notification_template | ||
description: 'Manages a LTS notification template resource within HuaweiCloud. ' | ||
host: myhuaweicloud.com | ||
tags: | ||
- name: LTS | ||
servers: | ||
- url: https://lts.myhuaweicloud.com | ||
paths: | ||
/v2/{project_id}/{domain_id}/lts/events/notification/template/{id}: | ||
GET: | ||
tag: LTS | ||
operationId: GetNotificationTemplate | ||
x-ref-api: GET /v2/{project_id}/{domain_id}/lts/events/notification/template/{id} | ||
/v2/{project_id}/{domain_id}/lts/events/notification/templates: | ||
DELETE: | ||
tag: LTS | ||
operationId: DeleteNotificationTemplate | ||
x-ref-api: DELETE /v2/{project_id}/{domain_id}/lts/events/notification/templates | ||
POST: | ||
tag: LTS | ||
operationId: CreateNotificationTemplate | ||
x-ref-api: POST /v2/{project_id}/{domain_id}/lts/events/notification/templates | ||
PUT: | ||
tag: LTS | ||
operationId: UpdateNotificationTemplate | ||
x-ref-api: PUT /v2/{project_id}/{domain_id}/lts/events/notification/templates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
info: | ||
version: v1.xx.y | ||
title: resource_huaweicloud_lts_search_criteria | ||
description: | ||
schemes: | ||
- https | ||
host: huaweicloud.com | ||
tags: | ||
- name: LTS | ||
paths: | ||
/v1.0/{project_id}/groups/{group_id}/topics/{topic_id}/search-criterias: | ||
post: | ||
tag: LTS | ||
operationId: CreateSearchCriterias | ||
get: | ||
tag: LTS | ||
operationId: ListCriterias | ||
delete: | ||
tag: LTS | ||
operationId: DeleteSearchCriterias |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
{ | ||
"provider_schemas": { | ||
"huaweicloud/huaweicloud": { | ||
"resource_schemas": { | ||
"huaweicloud_eg_event_subscription": { | ||
"block": { | ||
"attributes": { | ||
"channel_id": { | ||
"type": "string", | ||
"description": "The channel ID to which the event subscription belongs.", | ||
"required": true, | ||
"forcenew": true | ||
}, | ||
"created_at": { | ||
"type": "string", | ||
"description": "The creation time of the event subscription.", | ||
"computed": true | ||
}, | ||
"description": { | ||
"type": "string", | ||
"description": "The description of the event subscription.", | ||
"optional": true | ||
}, | ||
"id": { | ||
"type": "string", | ||
"computed": true | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "The name of the event subscription.", | ||
"required": true, | ||
"forcenew": true | ||
}, | ||
"region": { | ||
"type": "string", | ||
"description": "The region where the event subscription is located.", | ||
"computed": true | ||
}, | ||
"status": { | ||
"type": "string", | ||
"description": "The status of the event subscription.", | ||
"computed": true | ||
}, | ||
"updated_at": { | ||
"type": "string", | ||
"description": "The latest update time of the event subscription.", | ||
"computed": true | ||
} | ||
}, | ||
"block_types": { | ||
"sources": { | ||
"block": { | ||
"attributes": { | ||
"filter_rule": { | ||
"type": "string", | ||
"description": "The filter rule of the event source", | ||
"required": true | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "The name of the event source.", | ||
"required": true | ||
}, | ||
"provider_type": { | ||
"type": "string", | ||
"description": "The provider type of the event source.", | ||
"required": true | ||
} | ||
}, | ||
"description": "The list of the event sources." | ||
}, | ||
"nesting_mode": "list", | ||
"min_items": 1, | ||
"max_items": 1 | ||
}, | ||
"targets": { | ||
"block": { | ||
"attributes": { | ||
"connection_id": { | ||
"type": "string", | ||
"description": "The connection ID of the EG event target.", | ||
"optional": true | ||
}, | ||
"dead_letter_queue": { | ||
"type": "string", | ||
"description": "The specified queue to which failure events sent, in JSON format.", | ||
"optional": true, | ||
"computed": true | ||
}, | ||
"detail": { | ||
"type": "string", | ||
"description": "The configuration detail of the event target, in JSON format.", | ||
"required": true | ||
}, | ||
"detail_name": { | ||
"type": "string", | ||
"description": "The name (key) of the target configuration detail.", | ||
"required": true | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "The name of the event target.", | ||
"required": true | ||
}, | ||
"provider_type": { | ||
"type": "string", | ||
"description": "The provider type of the event target.", | ||
"required": true | ||
}, | ||
"transform": { | ||
"type": "string", | ||
"description": "The transform configuration of the event target, in JSON format.", | ||
"required": true | ||
} | ||
}, | ||
"description": "The list of the event targets." | ||
}, | ||
"nesting_mode": "list", | ||
"min_items": 1 | ||
} | ||
} | ||
}, | ||
"product": { | ||
"short": "EG", | ||
"name": "EventGrid", | ||
"catalog": "Middleware", | ||
"name_cn": "事件网格", | ||
"catalog_cn": "应用中间件" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.