Skip to main content

azure-cosmosdb

Query and manage Azure Cosmos DB accounts, databases, and containers.

소스 정보

저장소
ThinkfleetAI/thinkfleet-engine
최근 소스 활동
2026년 2월 1일 16:21
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
azure-cosmosdb
description
Query and manage Azure Cosmos DB accounts, databases, and containers.
metadata
{"thinkfleetbot":{"emoji":"🌌","requires":{"bins":"[Truncated]"}}}
# Azure Cosmos DB Manage Cosmos DB databases and query data. ## List accounts ```bash az cosmosdb list --query '[].{Name:name,ResourceGroup:resourceGroup,Kind:kind,Location:locations[0].locationName}' -o table ``` ## List databases ```bash az cosmosdb sql database list --account-name my-cosmos --resource-group my-rg --query '[].{Name:name}' -o table ``` ## List containers ```bash az cosmosdb sql container list --account-name my-cosmos --resource-group my-rg --database-name my-db --query '[].{Name:name,PartitionKey:resource.partitionKey.paths[0]}' -o table ``` ## Query documents ```bash az cosmosdb sql container query --account-name my-cosmos --resource-group my-rg \ --database-name my-db --container-name my-container \ --query-text "SELECT TOP 10 * FROM c WHERE c.status = 'active'" | jq '.[] | {id, status}' ``` ## Get connection strings ```bash az cosmosdb keys list --name my-cosmos --resource-group my-rg --type connection-strings | jq '.connectionStrings[0].connectionString' ``` ## Get throughput ```bash az cosmosdb sql container throughput show --account-name my-cosmos --resource-group my-rg \ --database-name my-db --container-name my-container | jq '{throughput: .resource.throughput, autoscaleMax: .resource.autoscaleSettings.maxThroughput}' ``` ## Update throughput ```bash az cosmosdb sql container throughput update --account-name my-cosmos --resource-group my-rg \ --database-name my-db --container-name my-container --throughput 1000 ``` ## Notes - Cosmos DB supports SQL, MongoDB, Cassandra, Gremlin, and Table APIs. - Use `az cosmosdb sql` for SQL API; replace `sql` with the API type for others. - Confirm before modifying throughput (cost implications).
GitHub에서 보기