Skip to content

Commit

Permalink
Update schema json files based-on v1.66.3
Browse files Browse the repository at this point in the history
  • Loading branch information
niuzhenguo authored and github-actions[bot] committed Jul 19, 2024
1 parent 352a357 commit 31b4103
Show file tree
Hide file tree
Showing 13 changed files with 687 additions and 10 deletions.
72 changes: 72 additions & 0 deletions docs/json/data-sources/ccm_certificates.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"data_source_schemas": {
"huaweicloud_ccm_certificates": {
"block": {
"attributes": {
"certificates": {
"type": [
"list",
[
"object",
{
"brand": "string",
"deploy_support": "bool",
"description": "string",
"domain": "string",
"domain_count": "number",
"domain_type": "string",
"enterprise_project_id": "string",
"expire_time": "string",
"id": "string",
"name": "string",
"sans": "string",
"signature_algorithm": "string",
"status": "string",
"type": "string",
"validity_period": "number",
"wildcard_count": "number"
}
]
],
"computed": true
},
"deploy_support": {
"type": "bool",
"optional": true
},
"enterprise_project_id": {
"type": "string",
"optional": true
},
"id": {
"type": "string",
"computed": true
},
"name": {
"type": "string",
"optional": true
},
"region": {
"type": "string",
"computed": true
},
"status": {
"type": "string",
"optional": true
}
}
},
"product": {
"short": "CCM",
"name": "Cloud Certificate Manager Service",
"catalog": "Security & Compliance",
"name_cn": "云证书管理服务",
"catalog_cn": "安全与合规"
}
}
}
}
}
}
46 changes: 46 additions & 0 deletions docs/json/data-sources/dws_quotas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"data_source_schemas": {
"huaweicloud_dws_quotas": {
"block": {
"attributes": {
"id": {
"type": "string",
"computed": true
},
"quotas": {
"type": [
"list",
[
"object",
{
"limit": "number",
"type": "string",
"unit": "string",
"used": "number"
}
]
],
"description": "All quotas that match the filter parameters.",
"computed": true
},
"region": {
"type": "string",
"description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.",
"computed": true
}
}
},
"product": {
"short": "DWS",
"name": "Data Warehouse Service",
"catalog": "Analytics",
"name_cn": "数据仓库服务",
"catalog_cn": "大数据"
}
}
}
}
}
}
44 changes: 44 additions & 0 deletions docs/json/data-sources/evs_availability_zones.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"data_source_schemas": {
"huaweicloud_evs_availability_zones": {
"block": {
"attributes": {
"availability_zones": {
"type": [
"list",
[
"object",
{
"is_available": "bool",
"name": "string"
}
]
],
"description": "The list of availability zones.",
"computed": true
},
"id": {
"type": "string",
"computed": true
},
"region": {
"type": "string",
"description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.",
"computed": true
}
}
},
"product": {
"short": "EVS",
"name": "Elastic Volume Service",
"catalog": "Storage",
"name_cn": "云硬盘",
"catalog_cn": "存储"
}
}
}
}
}
}
55 changes: 55 additions & 0 deletions docs/json/data-sources/evs_volume_types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"data_source_schemas": {
"huaweicloud_evs_volume_types": {
"block": {
"attributes": {
"id": {
"type": "string",
"computed": true
},
"region": {
"type": "string",
"description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.",
"computed": true
},
"types": {
"type": [
"list",
[
"object",
{
"description": "string",
"extra_specs": [
"list",
[
"object",
{
"available_availability_zones": "string",
"sold_out_availability_zones": "string"
}
]
],
"id": "string",
"name": "string"
}
]
],
"description": "The list of volume types.",
"computed": true
}
}
},
"product": {
"short": "EVS",
"name": "Elastic Volume Service",
"catalog": "Storage",
"name_cn": "云硬盘",
"catalog_cn": "存储"
}
}
}
}
}
}
5 changes: 0 additions & 5 deletions docs/json/data-sources/scm_certificates.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,14 @@
}
]
],
"description": "Certificate list. For details, see Data structure of the Certificate field.",
"computed": true
},
"deploy_support": {
"type": "bool",
"description": "Whether to support deployment.",
"optional": true
},
"enterprise_project_id": {
"type": "string",
"description": "The enterprise project id of the project.",
"optional": true
},
"id": {
Expand All @@ -49,7 +46,6 @@
},
"name": {
"type": "string",
"description": "Certificate name.",
"optional": true
},
"region": {
Expand All @@ -58,7 +54,6 @@
},
"status": {
"type": "string",
"description": "Certificate status.",
"optional": true
}
}
Expand Down
67 changes: 67 additions & 0 deletions docs/json/data-sources/sfs_turbo_data_tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"data_source_schemas": {
"huaweicloud_sfs_turbo_data_tasks": {
"block": {
"attributes": {
"id": {
"type": "string",
"computed": true
},
"region": {
"type": "string",
"description": "Specifies the region in which to query the resource. If omitted, the provider-level region will be used.",
"computed": true
},
"share_id": {
"type": "string",
"description": "Specifies the ID of the SFS Turbo file system to which the data tasks belong.",
"required": true
},
"status": {
"type": "string",
"description": "Specifies the status of the data task.",
"optional": true
},
"tasks": {
"type": [
"list",
[
"object",
{
"dest_prefix": "string",
"dest_target": "string",
"end_time": "string",
"id": "string",
"message": "string",
"src_prefix": "string",
"src_target": "string",
"start_time": "string",
"status": "string",
"type": "string"
}
]
],
"description": "The list of the data task.",
"computed": true
},
"type": {
"type": "string",
"description": "Specifies the type of the data task.",
"optional": true
}
}
},
"product": {
"short": "SFS",
"name": "Scalable File Service(General Purpose File System)",
"catalog": "Storage",
"name_cn": "弹性文件服务(通用文件系统)",
"catalog_cn": "存储"
}
}
}
}
}
}
51 changes: 51 additions & 0 deletions docs/json/resources/cce_node_pool_nodes_add.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"resource_schemas": {
"huaweicloud_cce_node_pool_nodes_add": {
"block": {
"attributes": {
"cluster_id": {
"type": "string",
"required": true
},
"id": {
"type": "string",
"computed": true
},
"nodepool_id": {
"type": "string",
"required": true
},
"region": {
"type": "string",
"computed": true
}
},
"block_types": {
"node_list": {
"block": {
"attributes": {
"server_id": {
"type": "string",
"required": true
}
}
},
"nesting_mode": "list",
"min_items": 1
}
}
},
"product": {
"short": "CCE",
"name": "Cloud Container Engine",
"catalog": "Containers",
"name_cn": "云容器引擎",
"catalog_cn": "容器"
}
}
}
}
}
}
Loading

0 comments on commit 31b4103

Please sign in to comment.