{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-cosmos-db/json-schema/azure-cosmos-db-throughput-settings-get-results-schema.json",
  "title": "ThroughputSettingsGetResults",
  "description": "An Azure Cosmos DB resource throughput.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-cosmos-db-resource-provider-openapi.yml#/components/schemas/ThroughputSettingsGetResults",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/ThroughputSettingsGetProperties"
    },
    "location": {
      "type": "string",
      "description": "The location of the resource group to which the resource belongs.",
      "x-ms-mutability": [
        "read",
        "update",
        "create"
      ]
    },
    "tags": {
      "type": "object",
      "description": "Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \\\"defaultExperience\\\": \\\"Cassandra\\\". Current \\\"defaultExperience\\\" values also include \\\"Table\\\", \\\"Graph\\\", \\\"DocumentDB\\\", and \\\"MongoDB\\\".",
      "additionalProperties": {
        "type": "string"
      }
    },
    "identity": {
      "$ref": "#/$defs/ManagedServiceIdentity"
    }
  },
  "allOf": [
    {
      "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
    }
  ],
  "$defs": {
    "AutoUpgradePolicyResource": {
      "type": "object",
      "description": "Cosmos DB resource auto-upgrade policy",
      "properties": {
        "throughputPolicy": {
          "$ref": "#/$defs/ThroughputPolicyResource"
        }
      }
    },
    "AutoscaleSettingsResource": {
      "type": "object",
      "description": "Cosmos DB provisioned throughput settings object",
      "properties": {
        "maxThroughput": {
          "type": "integer",
          "format": "int32",
          "description": "Represents maximum throughput container can scale up to."
        },
        "autoUpgradePolicy": {
          "$ref": "#/$defs/AutoUpgradePolicyResource"
        },
        "targetMaxThroughput": {
          "type": "integer",
          "format": "int32",
          "description": "Represents target maximum throughput container can scale up to once offer is no longer in pending state.",
          "readOnly": true
        }
      },
      "required": [
        "maxThroughput"
      ]
    },
    "ManagedServiceIdentity": {
      "type": "object",
      "description": "Identity for the resource.",
      "properties": {
        "principalId": {
          "type": "string",
          "description": "The principal id of the system assigned identity. This property will only be provided for a system assigned identity.",
          "readOnly": true
        },
        "tenantId": {
          "type": "string",
          "description": "The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.",
          "readOnly": true
        },
        "type": {
          "$ref": "#/$defs/ResourceIdentityType"
        },
        "userAssignedIdentities": {
          "type": "object",
          "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
          "additionalProperties": {
            "$ref": "#/$defs/ManagedServiceIdentityUserAssignedIdentities"
          }
        }
      }
    },
    "ManagedServiceIdentityUserAssignedIdentities": {
      "type": "object",
      "properties": {
        "principalId": {
          "type": "string",
          "description": "The principal id of user assigned identity.",
          "readOnly": true
        },
        "clientId": {
          "type": "string",
          "description": "The client id of user assigned identity.",
          "readOnly": true
        }
      }
    },
    "ResourceIdentityType": {
      "type": "string",
      "description": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.",
      "enum": [
        "SystemAssigned",
        "UserAssigned",
        "SystemAssigned,UserAssigned",
        "None"
      ],
      "x-ms-enum": {
        "name": "ResourceIdentityType",
        "modelAsString": false,
        "values": [
          {
            "name": "SystemAssigned",
            "value": "SystemAssigned"
          },
          {
            "name": "UserAssigned",
            "value": "UserAssigned"
          },
          {
            "name": "SystemAssignedUserAssigned",
            "value": "SystemAssigned,UserAssigned"
          },
          {
            "name": "None",
            "value": "None"
          }
        ]
      }
    },
    "ThroughputBucketResource": {
      "type": "object",
      "description": "Cosmos DB throughput bucket object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32",
          "description": "Represents the throughput bucket id"
        },
        "maxThroughputPercentage": {
          "type": "integer",
          "format": "int32",
          "description": "Represents maximum percentage throughput that can be used by the bucket"
        },
        "isDefaultBucket": {
          "type": "boolean",
          "description": "Indicates whether this is the default throughput bucket"
        }
      },
      "required": [
        "id",
        "maxThroughputPercentage"
      ]
    },
    "ThroughputPolicyResource": {
      "type": "object",
      "description": "Cosmos DB resource throughput policy",
      "properties": {
        "isEnabled": {
          "type": "boolean",
          "description": "Determines whether the ThroughputPolicy is active or not"
        },
        "incrementPercent": {
          "type": "integer",
          "format": "int32",
          "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in."
        }
      }
    },
    "ThroughputSettingsGetProperties": {
      "type": "object",
      "description": "The properties of an Azure Cosmos DB resource throughput",
      "properties": {
        "resource": {
          "$ref": "#/$defs/ThroughputSettingsGetPropertiesResource"
        }
      }
    },
    "ThroughputSettingsGetPropertiesResource": {
      "type": "object",
      "properties": {
        "_rid": {
          "type": "string",
          "description": "A system generated property. A unique identifier.",
          "readOnly": true
        },
        "_ts": {
          "type": "number",
          "format": "float",
          "description": "A system generated property that denotes the last updated timestamp of the resource.",
          "readOnly": true
        },
        "_etag": {
          "type": "string",
          "description": "A system generated property representing the resource etag required for optimistic concurrency control.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ThroughputSettingsResource"
        }
      ]
    },
    "ThroughputSettingsResource": {
      "type": "object",
      "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both.",
      "properties": {
        "throughput": {
          "type": "integer",
          "format": "int32",
          "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both."
        },
        "autoscaleSettings": {
          "$ref": "#/$defs/AutoscaleSettingsResource"
        },
        "minimumThroughput": {
          "type": "string",
          "description": "The minimum throughput of the resource",
          "readOnly": true
        },
        "offerReplacePending": {
          "type": "string",
          "description": "The throughput replace is pending",
          "readOnly": true
        },
        "instantMaximumThroughput": {
          "type": "string",
          "description": "The offer throughput value to instantly scale up without triggering splits",
          "readOnly": true
        },
        "softAllowedMaximumThroughput": {
          "type": "string",
          "description": "The maximum throughput value or the maximum maxThroughput value (for autoscale) that can be specified",
          "readOnly": true
        },
        "throughputBuckets": {
          "type": "array",
          "description": "Array of throughput bucket limits to be applied to the Cosmos DB container",
          "items": {
            "$ref": "#/$defs/ThroughputBucketResource"
          }
        }
      }
    }
  }
}