Skip to content

Commit

Permalink
Update schema json files based-on v1.56.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiChangkuo authored and github-actions[bot] committed Sep 28, 2023
1 parent 9a71b82 commit 37e3efe
Show file tree
Hide file tree
Showing 4 changed files with 220 additions and 0 deletions.
134 changes: 134 additions & 0 deletions docs/json/resources/eg_event_subscription.json
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": "应用中间件"
}
}
}
}
}
}
20 changes: 20 additions & 0 deletions docs/json/resources/fgs_function.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,26 @@
"optional": true,
"computed": true
},
"log_group_id": {
"type": "string",
"optional": true,
"computed": true
},
"log_group_name": {
"type": "string",
"optional": true,
"computed": true
},
"log_stream_id": {
"type": "string",
"optional": true,
"computed": true
},
"log_stream_name": {
"type": "string",
"optional": true,
"computed": true
},
"max_instance_num": {
"type": "string",
"optional": true,
Expand Down
60 changes: 60 additions & 0 deletions docs/json/resources/lts_search_criteria.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"resource_schemas": {
"huaweicloud_lts_search_criteria": {
"block": {
"attributes": {
"criteria": {
"type": "string",
"required": true,
"forcenew": true
},
"enterprise_project_id": {
"type": "string",
"optional": true,
"computed": true,
"forcenew": true
},
"id": {
"type": "string",
"computed": true
},
"log_group_id": {
"type": "string",
"required": true,
"forcenew": true
},
"log_stream_id": {
"type": "string",
"required": true,
"forcenew": true
},
"name": {
"type": "string",
"required": true,
"forcenew": true
},
"region": {
"type": "string",
"computed": true
},
"type": {
"type": "string",
"required": true,
"forcenew": true
}
}
},
"product": {
"short": "LTS",
"name": "Log Tank Service",
"catalog": "Management & Governance",
"name_cn": "云日志服务",
"catalog_cn": "管理与监管"
}
}
}
}
}
}
6 changes: 6 additions & 0 deletions docs/json/resources/workspace_desktop.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"optional": true,
"forcenew": true
},
"enterprise_project_id": {
"type": "string",
"optional": true,
"computed": true,
"forcenew": true
},
"flavor_id": {
"type": "string",
"required": true
Expand Down

0 comments on commit 37e3efe

Please sign in to comment.