Share via


Microsoft.DocumentDB-DatenbankAccounts/apis/databases/graphs/settings 2016-03-31

Bicep-Ressourcendefinition

Der Ressourcentyp databaseAccounts/apis/databases/graphs/settings kann mit Vorgängen bereitgestellt werden, die auf Folgendes abzielen:

Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.

Ressourcenformat

Um eine Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings-Ressource zu erstellen, fügen Sie der Vorlage den folgenden Bicep hinzu.

resource symbolicname 'Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings@2016-03-31' = {
  name: 'throughput'
  parent: resourceSymbolicName
  properties: {
    resource: {
      throughput: int
    }
  }
}

Eigenschaftswerte

databaseAccounts/apis/databases/graphs/settings

Name BESCHREIBUNG Wert
name Der Ressourcenname

Erfahren Sie, wie Sie Namen und Typen für untergeordnete Ressourcen in Bicep festlegen.
"Durchsatz"
parent In Bicep können Sie die übergeordnete Ressource für eine untergeordnete Ressource angeben. Sie müssen diese Eigenschaft nur hinzufügen, wenn die untergeordnete Ressource außerhalb der übergeordneten Ressource deklariert wird.

Weitere Informationen finden Sie unter Untergeordnete Ressource außerhalb der übergeordneten Ressource.
Symbolischer Name für Ressource vom Typ: Graphen
properties Eigenschaften zum Aktualisieren des Azure Cosmos DB-Ressourcendurchsatzes. ThroughputUpdatePropertiesOrThroughputProperties (erforderlich)

ThroughputUpdatePropertiesOrThroughputProperties

Name BESCHREIBUNG Wert
resource Das JSON-Standardformat eines Ressourcendurchsatzes ThroughputResource (erforderlich)

ThroughputResource

Name BESCHREIBUNG Wert
throughput Wert des Cosmos DB-Ressourcendurchsatzes int (erforderlich)

Ressourcendefinition mit einer ARM-Vorlage

Der Ressourcentyp databaseAccounts/apis/databases/graphs/settings kann mit Vorgängen bereitgestellt werden, die auf Folgendes abzielen:

Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.

Ressourcenformat

Um eine Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings-Ressource zu erstellen, fügen Sie der Vorlage den folgenden JSON-Code hinzu.

{
  "type": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings",
  "apiVersion": "2016-03-31",
  "name": "throughput",
  "properties": {
    "resource": {
      "throughput": "int"
    }
  }
}

Eigenschaftswerte

databaseAccounts/apis/databases/graphs/settings

Name BESCHREIBUNG Wert
type Ressourcentyp "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings"
apiVersion Die Ressourcen-API-Version '2016-03-31'
name Der Ressourcenname

Erfahren Sie, wie Sie Namen und Typen für untergeordnete Ressourcen in JSON-ARM-Vorlagen festlegen.
"Durchsatz"
properties Eigenschaften zum Aktualisieren des Azure Cosmos DB-Ressourcendurchsatzes. ThroughputUpdatePropertiesOrThroughputProperties (erforderlich)

ThroughputUpdatePropertiesOrThroughputProperties

Name BESCHREIBUNG Wert
resource Das JSON-Standardformat eines Ressourcendurchsatzes ThroughputResource (erforderlich)

ThroughputResource

Name BESCHREIBUNG Wert
throughput Wert des Cosmos DB-Ressourcendurchsatzes int (erforderlich)

Terraform (AzAPI-Anbieter) Ressourcendefinition

Der Ressourcentyp databaseAccounts/apis/databases/graphs/settings kann mit Vorgängen bereitgestellt werden, die auf Folgendes abzielen:

  • Ressourcengruppen

Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.

Ressourcenformat

Um eine Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings-Ressource zu erstellen, fügen Sie Der Vorlage die folgende Terraform-Ressource hinzu.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings@2016-03-31"
  name = "throughput"
  parent_id = "string"
  body = jsonencode({
    properties = {
      resource = {
        throughput = int
      }
    }
  })
}

Eigenschaftswerte

databaseAccounts/apis/databases/graphs/settings

Name BESCHREIBUNG Wert
type Ressourcentyp "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings@2016-03-31"
name Der Ressourcenname "Durchsatz"
parent_id Die ID der Ressource, die das übergeordnete Element für diese Ressource ist. ID für Ressource vom Typ: Graphen
properties Eigenschaften zum Aktualisieren des Azure Cosmos DB-Ressourcendurchsatzes. ThroughputUpdatePropertiesOrThroughputProperties (erforderlich)

ThroughputUpdatePropertiesOrThroughputProperties

Name BESCHREIBUNG Wert
resource Das JSON-Standardformat eines Ressourcendurchsatzes ThroughputResource (erforderlich)

ThroughputResource

Name BESCHREIBUNG Wert
throughput Wert des Cosmos DB-Ressourcendurchsatzes int (erforderlich)