次の方法で共有


Azure Cosmos DB の構成プロパティ

財産 形容
spring.cloud.azure.cosmos.client-telemetry-enabled データベース操作の集計統計、cpu/memory などのシステム情報を定期的に収集し、Cosmos 監視サービスに送信するクライアント テレメトリを有効にするかどうか。これは、デバッグ中に役立ちます。
spring.cloud.azure.cosmos.client.application-id 現在のアプリケーションを表し、テレメトリ/監視の目的で使用されます。
spring.cloud.azure.cosmos.connection-mode Azure Cosmos DB データベース サービスのクライアントによって使用される接続モード。
spring.cloud.azure.cosmos.connection-sharing-across-clients-enabled 複数の Azure Cosmos DB クライアント間での接続共有を有効にするかどうか。
spring.cloud.azure.cosmos.consistency-level 整合性レベル。 要求された ConsistencyLevel は、データベース アカウントに対してプロビジョニングされた ConsistencyLevel と一致するか、それより弱い必要があります。
spring.cloud.azure.cosmos.content-response-on-write-enabled CosmosItem の作成、更新、および削除操作の場合に、Azure Cosmos DB 応答でヘッダーと状態コードのみを返すかどうか。 false に設定すると、サービスは応答でペイロードを返しません。
spring.cloud.azure.cosmos.credential.client-certificate-password 証明書ファイルのパスワード。
spring.cloud.azure.cosmos.credential.client-certificate-path Azure でサービス プリンシパル認証を実行するときに使用する PEM 証明書ファイルのパス。
spring.cloud.azure.cosmos.credential.client-id Azure でサービス プリンシパル認証を実行するときに使用するクライアント ID。
spring.cloud.azure.cosmos.credential.client-secret Azure でサービス プリンシパル認証を実行するときに使用するクライアント シークレット。
spring.cloud.azure.cosmos.credential.managed-identity-enabled マネージド ID を有効にして Azure で認証するかどうかを指定します。 true でクライアント ID が設定されている場合は、クライアント ID をユーザー割り当てマネージド ID クライアント ID として使用します。 既定値は falseです。
spring.cloud.azure.cosmos.credential.password Azure でユーザー名/パスワード認証を実行するときに使用するパスワード。
spring.cloud.azure.cosmos.credential.token-credential-bean-name Custom Service Builder ファクトリまたはパスワードレス認証に使用されるカスタム com.azure.core.credential.TokenCredential Bean 名を取得します。
spring.cloud.azure.cosmos.credential.username Azure でユーザー名/パスワード認証を実行するときに使用するユーザー名。
spring.cloud.azure.cosmos.database Azure Cosmos DB インスタンスのデータベース名。
spring.cloud.azure.cosmos.direct-connection.connect-timeout ダイレクト クライアントの接続タイムアウト。エンドポイントとの接続を確立するためのタイムアウトを表します。
spring.cloud.azure.cosmos.direct-connection.connection-endpoint-rediscovery-enabled 直接 TCP 接続エンドポイントの再情報開示を有効にするかどうかを指定します。
spring.cloud.azure.cosmos.direct-connection.idle-connection-timeout ダイレクト クライアントのアイドル接続タイムアウト。 ダイレクト クライアントは、指定されていない限り、既定ではエンドポイントへの 1 つの接続を閉じません。
spring.cloud.azure.cosmos.direct-connection.idle-endpoint-timeout ダイレクト クライアントのアイドル 状態のエンドポイント タイムアウト。 アイドル 状態のエンドポイント タイムアウト期間に対する特定のエンドポイントへの要求がない場合、ダイレクト クライアントはそのエンドポイントへのすべての接続を閉じて、リソースと I/O コストを節約します。
エンドポイントごとのspring.cloud.azure.cosmos.direct-connection.max接続数 エンドポイントあたりの最大接続数は、特定のエンドポイントの接続プールのサイズを表します。
spring.cloud.azure.cosmos.direct-connection.max-requests-per-connection 接続あたりの最大要求数は、特定のエンドポイントの 1 つの接続でキューに登録される要求の数を表します。
spring.cloud.azure.cosmos.direct-connection.network-request-timeout ネットワーク要求のタイムアウト間隔 (ネットワーク ピアからの応答を待機する時間)。
spring.cloud.azure.cosmos.enabled Azure サービスが有効になっているかどうか。 既定値は trueです。
spring.cloud.azure.cosmos.endpoint Azure Cosmos DB インスタンスのエンドポイント。
spring.cloud.azure.cosmos.endpoint-discovery-enabled geo レプリケートされたデータベース アカウントのエンドポイント検出を有効にするかどうかを指定します。
spring.cloud.azure.cosmos.gateway-connection.idle-connection-timeout アイドル状態の接続のタイムアウト。 その後、接続は自動的に閉じられます。
spring.cloud.azure.cosmos.gateway-connection.max-connection-pool-size 接続プールのサイズ。
spring.cloud.azure.cosmos.key Azure Cosmos DB インスタンスにアクセスするための認証キー。
spring.cloud.azure.cosmos.multiple-write-regions-enabled Azure Cosmos DB サービスで geo レプリケートされたデータベース アカウントの任意のリージョンで書き込みを有効にするかどうかを指定します。
spring.cloud.azure.cosmos.populate-query-metrics 診断文字列とクエリ メトリックを設定するかどうか。 既定値は falseです。
spring.cloud.azure.cosmos.preferred-regions geo レプリケートされたデータベース アカウントの優先リージョン。 たとえば、優先リージョンとして East US
spring.cloud.azure.cosmos.profile.cloud-type 接続する Azure クラウドの名前。 サポートされている型は、AZUREAZURE_CHINAAZURE_US_GOVERNMENTOTHERです。 既定値は AZUREです。
spring.cloud.azure.cosmos.profile.environment.active-directory-endpoint 接続先の Microsoft Entra エンドポイント。
spring.cloud.azure.cosmos.profile.environment.active-directory-graph-api-version Azure Active Directory Graph API のバージョン。
spring.cloud.azure.cosmos.profile.environment.active-directory-graph-endpoint Azure Active Directory Graph エンドポイント。
spring.cloud.azure.cosmos.profile.environment.active-directory-resource-id Microsoft Entra リソース ID。
spring.cloud.azure.cosmos.profile.environment.azure-application-insights-endpoint Azure Application Insights エンドポイント。
spring.cloud.azure.cosmos.profile.environment.azure-data-lake-analytics-catalog-and-job-endpoint-suffix Data Lake Analytics カタログとジョブ エンドポイントサフィックス。
spring.cloud.azure.cosmos.profile.environment.azure-data-lake-store-file-system-endpoint-suffix Data Lake ストレージ ファイル システムエンドポイントサフィックス。
spring.cloud.azure.cosmos.profile.environment.azure-log-analytics-endpoint Azure Log Analytics エンドポイント。
spring.cloud.azure.cosmos.profile.environment.data-lake-endpoint-resource-id Data Lake エンドポイント。
spring.cloud.azure.cosmos.profile.environment.gallery-endpoint ギャラリー エンドポイント。
spring.cloud.azure.cosmos.profile.environment.key-vault-dns-suffix Key Vault DNS サフィックス。
spring.cloud.azure.cosmos.profile.environment.management-endpoint 管理サービス エンドポイント。
spring.cloud.azure.cosmos.profile.environment.microsoft-graph-endpoint Microsoft Graph エンドポイント。
spring.cloud.azure.cosmos.profile.environment.portal 管理ポータルの URL。
spring.cloud.azure.cosmos.profile.environment.publishing-profile 発行設定ファイルの URL。
spring.cloud.azure.cosmos.profile.environment.resource-manager-endpoint リソース管理エンドポイント。
spring.cloud.azure.cosmos.profile.environment.service-bus-domain-name Service Bus のドメイン名。
spring.cloud.azure.cosmos.profile.environment.sql-management-endpoint SQL 管理エンドポイント。
spring.cloud.azure.cosmos.profile.environment.sql-server-hostname-suffix SQL Server ホスト名サフィックス。
spring.cloud.azure.cosmos.profile.environment.storage-endpoint-suffix ストレージ エンドポイントサフィックス。
spring.cloud.azure.cosmos.profile.subscription-id Azure リソースに接続するときに使用するサブスクリプション ID。
spring.cloud.azure.cosmos.profile.tenant-id Azure リソースのテナント ID。 tenant-id に使用できる値は、commonorganizationsconsumers、またはテナント ID です。
spring.cloud.azure.cosmos.proxy.hostname プロキシのホスト。
spring.cloud.azure.cosmos.proxy.non-proxy-hosts プロキシ HTTP/HTTPS 接続を使用しないホストまたは CIDR の一覧。
spring.cloud.azure.cosmos.proxy.password プロキシで認証するために使用されるパスワード。
spring.cloud.azure.cosmos.proxy.port プロキシのポート。
spring.cloud.azure.cosmos.proxy.type プロキシの種類。 たとえば、http、httpsocks4socks5。 たとえば、amqp、httpsocks
spring.cloud.azure.cosmos.proxy.username プロキシで認証するために使用されるユーザー名。
spring.cloud.azure.cosmos.read-requests-fallback-enabled Azure Cosmos DB サービスのアカウントで構成された複数のリージョンへの読み取りを許可するかどうか。
spring.cloud.azure.cosmos.resource-token Azure Cosmos DB インスタンスにアクセスするために認証するリソース トークン。
spring.cloud.azure.cosmos.resource.region Azure リソースのリージョン。 たとえば、"eastus"します。
spring.cloud.azure.cosmos.resource.resource-group リソース グループは Azure リソースを保持します。
spring.cloud.azure.cosmos.resource.resource-id Azure リソースの ID。
spring.cloud.azure.cosmos.session-capturing-override-enabled セッションキャプチャを有効にするかどうかを指定します。 セッション キャプチャは、SESSION 整合性レベルで既定で有効になっています。
spring.cloud.azure.cosmos.throttling-retry-options.max-retry-attempts-on-throttled-requests サービスがクライアントにレート制限を適用したために要求が失敗した場合の再試行の最大数。
spring.cloud.azure.cosmos.throttling-retry-options.max-retry-wait-time 最大再試行時間 (秒単位)。 スロットル エラーが原因で要求が失敗した場合、サービスは、期間が経過する前にクライアントが再試行しないことを示す値を含む応答を返します (Retry-After)。 MaxRetryWaitTime フラグを使用すると、アプリケーションはすべての再試行の最大待機時間を設定できます。 累積待機時間が MaxRetryWaitTime を超えると、SDK は再試行を停止し、エラーをアプリケーションに返します。