Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
cab5f1a
Copy files from preview/2025-05-01-preview
pjohari-ms Sep 18, 2025
3e1ef6e
Update version to preview/2025-11-01-preview
pjohari-ms Sep 18, 2025
ee1c195
Added tag for 2025-11-01-preview in readme file
pjohari-ms Sep 18, 2025
00b6c40
[Materialized View/GSI]: Added container API Specification (#37657)
sourabh1007 Sep 26, 2025
917f68e
Add isDefaultBucket property in ThroughputBucketResource (#37844)
Achint-Agrawal Oct 7, 2025
8888bdc
Vector index spec additions (#37719)
ritikamor-microsoft Oct 7, 2025
9d8f23d
Garnet cache preview specs (#37868)
mbhaskar Oct 7, 2025
2f208d0
Support fullTextIndexes (#37866)
changanhan Oct 7, 2025
7909f98
Fleet GA Improvements
pjohari-ms Oct 10, 2025
11a530c
CopyJobs .NET SDK changes
pjohari-ms Oct 10, 2025
54060ff
add throughput pool dedicated rus and max achievable rus to account a…
lnajaroen Oct 21, 2025
b129060
Updating some properties (#38363)
mbhaskar Oct 23, 2025
0e25175
Merge with main
pjohari-ms Oct 24, 2025
3b98676
Moved preview folder correctly
pjohari-ms Oct 24, 2025
fea19a8
Removed merge issues
pjohari-ms Oct 27, 2025
806daf3
Removed another merge issue
pjohari-ms Oct 27, 2025
81be445
Added new float16 vector embedding datatype
pjohari-ms Oct 27, 2025
97ceefb
Update description of garnet ipaddress field.
pjohari-ms Oct 30, 2025
7b6f39f
Merge with main
pjohari-ms Oct 30, 2025
8e05846
Merge branch 'cdb251101pr' of https://github.com/Azure/azure-rest-api…
pjohari-ms Oct 30, 2025
df275c9
Porting keyVaultKeyUriVersion stable changes
pjohari-ms Oct 30, 2025
2a78f5c
Added fixes
pjohari-ms Oct 30, 2025
ecc7fa0
[CosmosDB] Add dataMaskingPolicy in container resource (#38523)
niteshvijay1995 Oct 30, 2025
bd62901
Added more fleet fixes
pjohari-ms Oct 30, 2025
feca21e
Merge branch 'cdb251101pr' of https://github.com/Azure/azure-rest-api…
pjohari-ms Oct 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
{

Check notice on line 1 in specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2025-11-01-preview/chaosFault.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Your service description will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.

Check notice on line 1 in specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2025-11-01-preview/chaosFault.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Your service description will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.

Check notice on line 1 in specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2025-11-01-preview/chaosFault.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Your service description will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.

Check notice on line 1 in specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2025-11-01-preview/chaosFault.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Your service description will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.

Check notice on line 1 in specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2025-11-01-preview/chaosFault.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Your service description will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.

Check notice on line 1 in specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2025-11-01-preview/chaosFault.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Your service description will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.
"swagger": "2.0",
"info": {
"title": "Cosmos DB",
"description": "Azure Cosmos DB Chaos Fault REST API",
"version": "2025-11-01-preview"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "Impersonate your user account"
}
}
},
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/chaosFaults": {
"get": {
"operationId": "ChaosFault_List",
"description": "List Chaos Faults for CosmosDB account.",
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"ChaosFaultList": {
"$ref": "./examples/ChaosFaultList.json"
}
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "cosmos-db.json#/parameters/accountNameParameter"
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/chaosFaultListResponse"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/chaosFaults/{chaosFault}": {
"put": {
"operationId": "ChaosFault_EnableDisable",
"description": "Enable, disable Chaos Fault in a CosmosDB account.",
"x-ms-examples": {
"ChaosFaultEnableDisable": {
"$ref": "./examples/ChaosFaultEnableDisable.json"
}
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "cosmos-db.json#/parameters/accountNameParameter"
},
{
"$ref": "#/parameters/chaosFault"
},
{
"name": "chaosFaultRequest",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/chaosFaultResource"
},
"description": "A request object to enable/disable the chaos fault."
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/chaosFaultResource"
}
},
"201": {
"description": "Success",
"schema": {
"$ref": "#/definitions/chaosFaultResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
},
"get": {
"operationId": "ChaosFault_Get",
"description": "Get Chaos Fault for a CosmosdB account for a particular Chaos Fault.",
"x-ms-examples": {
"ChaosFaultGet": {
"$ref": "./examples/ChaosFaultGet.json"
}
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "cosmos-db.json#/parameters/accountNameParameter"
},
{
"$ref": "#/parameters/chaosFault"
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/chaosFaultResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
}
}
}
},
"definitions": {
"ProvisioningState": {
"readOnly": true,
"description": "The provisioning state of the resource.",
"type": "string"
},
"chaosFaultResource": {
"description": "A request object to enable/disable the chaos fault",
"type": "object",
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/chaosFaultProperties"
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
}
]
},
"chaosFaultProperties": {
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"Enable",
"Disable"
],
"description": "Indicates whether what action to take for the Chaos Fault.",
"x-ms-enum": {
"name": "SupportedActions",
"modelAsString": false
}
},
"region": {
"type": "string",
"description": "Region of the account where the Chaos Fault is to be enabled/disabled."
},
"databaseName": {
"type": "string",
"description": "Database name."
},
"containerName": {
"type": "string",
"description": "Container name."
},
"provisioningState": {
"$ref": "#/definitions/ProvisioningState",
"description": "A provisioning state of the Chaos Fault."
}
},
"description": "A request object to enable/disable the chaos fault."
},
"chaosFaultListResponse": {
"type": "object",
"properties": {
"value": {
"readOnly": true,
"type": "array",
"items": {
"$ref": "#/definitions/chaosFaultResource"
},
"description": "List of Chaos Faults."
},
"nextLink": {
"description": "The link used to get the next page of results.",
"type": "string",
"readOnly": true
}
},
"description": "Chaos Fault List Response."
}
},
"parameters": {
"chaosFault": {
"name": "chaosFault",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the ChaosFault.",
"x-ms-parameter-location": "method"
}
}
}
Loading
Loading