Skip to content

Commit

Permalink
Update schema json files based-on v1.53.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiChangkuo authored and github-actions[bot] committed Jul 31, 2023
1 parent 658a58a commit b7658ef
Show file tree
Hide file tree
Showing 24 changed files with 1,286 additions and 78 deletions.
5 changes: 5 additions & 0 deletions docs/json/data-sources/dms_kafka_instances.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@
"dumping": "bool",
"enable_auto_topic": "bool",
"enable_public_ip": "bool",
"enabled_mechanisms": [
"set",
"string"
],
"engine_version": "string",
"enterprise_project_id": "string",
"id": "string",
Expand All @@ -73,6 +77,7 @@
"resource_spec_code": "string",
"retention_policy": "string",
"security_group_id": "string",
"security_protocol": "string",
"ssl_enable": "bool",
"status": "string",
"storage_space": "number",
Expand Down
86 changes: 86 additions & 0 deletions docs/json/data-sources/er_attachments.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"data_source_schemas": {
"huaweicloud_er_attachments": {
"block": {
"attributes": {
"attachment_id": {
"type": "string",
"description": "The specified attachment ID used to query.",
"optional": true
},
"attachments": {
"type": [
"list",
[
"object",
{
"created_at": "string",
"description": "string",
"id": "string",
"name": "string",
"route_table_id": "string",
"status": "string",
"tags": [
"map",
"string"
],
"type": "string",
"updated_at": "string"
}
]
],
"description": "All attachments that match the filter parameters.",
"computed": true
},
"id": {
"type": "string",
"computed": true
},
"instance_id": {
"type": "string",
"description": "The ER instance ID to which the attachment belongs.",
"required": true
},
"name": {
"type": "string",
"description": "The name used to filter the attachments.",
"optional": true
},
"region": {
"type": "string",
"description": "The region where the ER attachments are located."
},
"status": {
"type": "string",
"description": "The status used to filter the attachments.",
"optional": true
},
"tags": {
"type": [
"map",
"string"
],
"description": "The key/value pairs used to filter the attachments.",
"optional": true
},
"type": {
"type": "string",
"description": "The resource type to be filtered.",
"optional": true
}
}
},
"product": {
"short": "ER",
"name": "Enterprise Router",
"catalog": "Networking",
"name_cn": "企业路由器",
"catalog_cn": "网络"
}
}
}
}
}
}
3 changes: 3 additions & 0 deletions docs/json/data-sources/evs_volumes.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"description": "string",
"enterprise_project_id": "string",
"id": "string",
"iops": "number",
"name": "string",
"service_type": "string",
"shareable": "bool",
Expand All @@ -73,7 +74,9 @@
"map",
"string"
],
"throughput": "number",
"update_at": "string",
"volume_type": "string",
"wwn": "string"
}
]
Expand Down
75 changes: 75 additions & 0 deletions docs/json/data-sources/modelarts_service_flavors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"data_source_schemas": {
"huaweicloud_modelarts_service_flavors": {
"block": {
"attributes": {
"flavors": {
"type": [
"list",
[
"object",
{
"billing_spec": "string",
"description": "string",
"extend_params": "number",
"id": "string",
"is_free": "bool",
"is_open": "bool",
"over_quota": "bool",
"source_type": "string",
"status": "string"
}
]
],
"description": "The list of flavors.",
"computed": true
},
"id": {
"type": "string",
"computed": true
},
"infer_type": {
"type": "string",
"description": "Inference mode.",
"optional": true
},
"is_free": {
"type": "bool",
"description": "Whether the flavor is free of charge.",
"optional": true
},
"is_open": {
"type": "bool",
"description": "Whether this flavor is open or not.",
"optional": true
},
"is_personal_cluster": {
"type": "bool",
"description": "Whether this flavors is supported by dedicated resource pool.",
"optional": true
},
"region": {
"type": "string",
"computed": true
},
"status": {
"type": "string",
"description": "Flavor status.",
"optional": true
}
}
},
"product": {
"short": "ModelArts",
"name": "ModelArts",
"catalog": "AI",
"name_cn": "AI开发平台",
"catalog_cn": "人工智能"
}
}
}
}
}
}
41 changes: 41 additions & 0 deletions docs/json/resources/api_gateway_environment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"resource_schemas": {
"huaweicloud_api_gateway_environment": {
"block": {
"attributes": {
"created_at": {
"type": "string",
"computed": true
},
"description": {
"type": "string",
"optional": true
},
"id": {
"type": "string",
"computed": true
},
"name": {
"type": "string",
"required": true
},
"region": {
"type": "string",
"computed": true
}
}
},
"product": {
"short": "APIG",
"name": "API Gateway",
"catalog": "Middleware",
"name_cn": "API网关",
"catalog_cn": "应用中间件"
}
}
}
}
}
}
90 changes: 90 additions & 0 deletions docs/json/resources/apig_certificate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"provider_schemas": {
"huaweicloud/huaweicloud": {
"resource_schemas": {
"huaweicloud_apig_certificate": {
"block": {
"attributes": {
"content": {
"type": "string",
"description": "The certificate content.",
"required": true,
"sensitive": true
},
"effected_at": {
"type": "string",
"description": "The effective time of the certificate.",
"computed": true
},
"expires_at": {
"type": "string",
"description": "The expiration time of the certificate.",
"computed": true
},
"id": {
"type": "string",
"computed": true
},
"instance_id": {
"type": "string",
"description": "The dedicated instance ID to which the certificate belongs.",
"optional": true,
"computed": true,
"forcenew": true
},
"name": {
"type": "string",
"description": "The certificate name.",
"required": true
},
"private_key": {
"type": "string",
"description": "The private key of the certificate.",
"required": true,
"sensitive": true
},
"region": {
"type": "string",
"description": "The region where the certificate is located.",
"computed": true
},
"sans": {
"type": [
"list",
"string"
],
"description": "The SAN (Subject Alternative Names) of the certificate.",
"computed": true
},
"signature_algorithm": {
"type": "string",
"description": "What signature algorithm the certificate uses.",
"computed": true
},
"trusted_root_ca": {
"type": "string",
"description": "The trusted root CA certificate.",
"optional": true,
"sensitive": true
},
"type": {
"type": "string",
"description": "The certificate type.",
"optional": true,
"computed": true,
"forcenew": true
}
}
},
"product": {
"short": "APIG",
"name": "API Gateway",
"catalog": "Middleware",
"name_cn": "API网关",
"catalog_cn": "应用中间件"
}
}
}
}
}
}
Loading

0 comments on commit b7658ef

Please sign in to comment.