This commit is contained in:
zhihaoguo 2021-11-21 21:02:52 +08:00
Родитель 94d3108529
Коммит ecb2adebee
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -24,7 +24,7 @@ This Spring Cloud Azure Starter provides the following properties:
|===
|Name | Default | Description
|spring.cloud.azure.cosmos.enabled | `true` | Whether Azure Cosmos Service is enabled.
|spring.cloud.azure.cosmos.database | |
|spring.cloud.azure.cosmos.database | | The CosmosDB database id
|spring.cloud.azure.cosmos.endpoint | | Uri to connect CosmosDB
|spring.cloud.azure.cosmos.key | | PrivateKey to connect CosmosDB
|spring.cloud.azure.cosmos.credential.client-certificate-password | | Password of the certificate file.
@ -48,8 +48,8 @@ spring:
azure:
cosmos:
key: ${YOUR_COSMOS_KEY}
endpoint: [YOUR_COSMOS_ENDPOINT]
database: [YOUR_COSMOS_DATABASE]
endpoint: ${YOUR_COSMOS_ENDPOINT}
database: ${YOUR_COSMOS_DATABASE}
----
=== Samples