Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swagger changes for capacityMode changes #28457

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8560,6 +8560,16 @@
"type": "object",
"$ref": "#/definitions/Capacity"
},
"capacityMode": {
"description": "Indicates the capacityMode of the Cosmos DB account.",
"type": "string",
"$ref": "#/definitions/CapacityMode"
},
"capacityModeChangeTransitionState": {
"description": "The object that represents the migration state for the CapacityMode of the Cosmos DB account.",
"type": "object",
"$ref": "#/definitions/CapacityModeChangeTransitionState"
},
"enableMaterializedViews": {
"description": "Flag to indicate whether to enable MaterializedViews on the Cosmos DB account",
"type": "boolean"
Expand Down Expand Up @@ -8740,6 +8750,11 @@
"type": "object",
"$ref": "#/definitions/Capacity"
},
"capacityMode": {
"description": "Indicates the capacityMode of the Cosmos DB account.",
"type": "string",
"$ref": "#/definitions/CapacityMode"
},
"enableMaterializedViews": {
"description": "Flag to indicate whether to enable MaterializedViews on the Cosmos DB account",
"type": "boolean"
Expand Down Expand Up @@ -8944,6 +8959,11 @@
"type": "object",
"$ref": "#/definitions/Capacity"
},
"capacityMode": {
"description": "Indicates the capacityMode of the Cosmos DB account.",
"type": "string",
"$ref": "#/definitions/CapacityMode"
},
"enableMaterializedViews": {
"description": "Flag to indicate whether to enable MaterializedViews on the Cosmos DB account",
"type": "boolean"
Expand Down Expand Up @@ -10904,6 +10924,84 @@
}
}
},
"CapacityMode": {
"description": "Indicates the capacity mode of the account.",
"type": "string",
"enum": [
"None",
"Provisioned",
"Serverless"
],
"x-ms-enum": {
"name": "CapacityMode",
"modelAsString": true
}
},
"CapacityModeChangeTransitionState": {
"description": "The transition state information related capacity mode change with update request.",
"type": "object",
"properties": {
"capacityModeTransitionStatus": {
"type": "string",
"description": "The transition status of capacity mode.",
"enum": [
"Invalid",
"Initialized",
"InProgress",
"Completed",
"Failed"
],
"x-ms-enum": {
"name": "CapacityModeTransitionStatus",
"modelAsString": true
}
},
"currentCapacityMode": {
"description": "Indicates the current capacity mode of the account.",
"type": "string",
"enum": [
"None",
"Provisioned",
"Serverless"
],
"x-ms-enum": {
"name": "CapacityMode",
"modelAsString": true
}
},
"previousCapacityMode": {
"description": "Indicates the previous capacity mode of the account before successful transition.",
"type": "string",
"enum": [
"None",
"Provisioned",
"Serverless"
],
"x-ms-enum": {
"name": "CapacityMode",
"modelAsString": true
}
},
"capacityModeTransitionBeginTimestamp": {
"readOnly": true,
"type": "string",
"format": "date-time",
"description": "Begin time in UTC of the capacity mode change."
},
"capacityModeTransitionEndTimestamp": {
"readOnly": true,
"type": "string",
"format": "date-time",
"description": "End time in UTC of the capacity mode change."
},
"capacityModeLastSuccessfulTransitionEndTimestamp": {
"readOnly": true,
"type": "string",
"format": "date-time",
"description": "End time in UTC of the last successful capacity mode change."
}
}
},
"Tags": {
"type": "object",
"additionalProperties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"capacity": {
"totalThroughputLimit": 2000
},
"capacityMode": "Provisioned",
"enableMaterializedViews": false,
"enableBurstCapacity": true,
"minimalTlsVersion": "Tls12",
Expand Down Expand Up @@ -218,6 +219,7 @@
"capacity": {
"totalThroughputLimit": 2000
},
"capacityMode": "Provisioned",
"enableMaterializedViews": false,
"enableBurstCapacity": true,
"minimalTlsVersion": "Tls12",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"backupStorageRedundancy": "Geo"
}
},
"capacityMode": "Provisioned",
"enableMaterializedViews": false,
"minimalTlsVersion": "Tls",
"keysMetadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@
"diagnosticLogSettings": {
"enableFullTextQuery": "False"
},
"capacityMode": "Provisioned",
"capacityModeChangeTransitionState": {
"capacityModeTransitionBeginTimestamp": "2024-03-24T03:02:16.2747253Z",
"capacityModeTransitionStatus": "Completed",
"capacityModeLastSuccessfulTransitionEndTimestamp": "2024-03-24T03:02:18.8758329Z",
"capacityModeTransitionEndTimestamp": "2024-03-24T03:02:18.8758329Z",
"currentCapacityMode": "Provisioned",
"previousCapacityMode": "Serverless"
},
"enableMaterializedViews": false,
"keysMetadata": {
"primaryMasterKey": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,15 @@
"enablePartitionMerge": true,
"enableBurstCapacity": true,
"minimalTlsVersion": "Tls",
"capacityMode": "Provisioned",
"capacityModeChangeTransitionState": {
"capacityModeTransitionBeginTimestamp": "2024-03-24T03:02:16.2747253Z",
"capacityModeTransitionStatus": "Completed",
"capacityModeLastSuccessfulTransitionEndTimestamp": "2024-03-24T03:02:18.8758329Z",
"capacityModeTransitionEndTimestamp": "2024-03-24T03:02:18.8758329Z",
"currentCapacityMode": "Provisioned",
"previousCapacityMode": "Serverless"
},
"enableMaterializedViews": false,
"keysMetadata": {
"primaryMasterKey": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@
},
"networkAclBypass": "None",
"networkAclBypassResourceIds": [],
"capacityMode": "Provisioned",
"capacityModeChangeTransitionState": {
"capacityModeTransitionBeginTimestamp": "2024-03-24T03:02:16.2747253Z",
"capacityModeTransitionStatus": "Completed",
"capacityModeLastSuccessfulTransitionEndTimestamp": "2024-03-24T03:02:18.8758329Z",
"capacityModeTransitionEndTimestamp": "2024-03-24T03:02:18.8758329Z",
"currentCapacityMode": "Provisioned",
"previousCapacityMode": "Serverless"
},
"enableMaterializedViews": false,
"minimalTlsVersion": "Tls",
"keysMetadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"capacity": {
"totalThroughputLimit": 2000
},
"capacityMode": "Provisioned",
"diagnosticLogSettings": {
"enableFullTextQuery": "True"
},
Expand Down Expand Up @@ -192,6 +193,15 @@
"diagnosticLogSettings": {
"enableFullTextQuery": "True"
},
"capacityMode": "Provisioned",
"capacityModeChangeTransitionState": {
"capacityModeTransitionBeginTimestamp": "2024-03-24T03:02:16.2747253Z",
"capacityModeTransitionStatus": "Completed",
"capacityModeLastSuccessfulTransitionEndTimestamp": "2024-03-24T03:02:18.8758329Z",
"capacityModeTransitionEndTimestamp": "2024-03-24T03:02:18.8758329Z",
"currentCapacityMode": "Provisioned",
"previousCapacityMode": "Serverless"
},
"enableMaterializedViews": false,
"enableBurstCapacity": true,
"minimalTlsVersion": "Tls",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
"analyticalStorageConfiguration": null,
"networkAclBypass": "None",
"networkAclBypassResourceIds": [],
"capacityMode": "Provisioned",
"enableMaterializedViews": false,
"keysMetadata": {
"primaryMasterKey": {
Expand Down