Bicep-Ressourcendefinition
Der Ressourcentyp "databaseAccounts/mongodbDatabases/throughputSettings" kann mit Vorgängen bereitgestellt werden, die auf Folgendes abzielen:
Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.
Um eine Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings-Ressource zu erstellen, fügen Sie der Vorlage die folgende Bicep hinzu.
resource symbolicname 'Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings@2021-06-15' = {
parent: resourceSymbolicName
location: 'string'
name: 'default'
properties: {
resource: {
autoscaleSettings: {
autoUpgradePolicy: {
throughputPolicy: {
incrementPercent: int
isEnabled: bool
}
}
maxThroughput: int
}
throughput: int
}
}
tags: {
{customized property}: 'string'
}
}
Eigenschaftswerte
Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings
AutoscaleSettingsRessource
Name |
Beschreibung |
Wert |
autoUpgradePolicy (englisch) |
Cosmos DB-Ressourcenrichtlinie für automatische Upgrades |
AutoUpgradePolicyResource- |
max. Durchsatz |
Stellt den maximalen Durchsatzcontainer dar, der bis zu skalieren kann. |
int (erforderlich) |
AutoUpgradePolicyRessource
Name |
Beschreibung |
Wert |
throughputPolicy (Durchsatz) |
Stellt die Durchsatzrichtlinie dar, der der Dienst für das automatische Upgrade einhalten muss. |
ThroughputPolicyResource- |
ThroughputPolicyRessource
Name |
Beschreibung |
Wert |
incrementPercent (inzahlungnahme) |
Stellt den Prozentsatz dar, um den der Durchsatz bei jedem Start der Durchsatzrichtlinie erhöht werden kann. |
Int |
isEnabled (Aktiviert) |
Bestimmt, ob die Durchsatzpolicy aktiv ist oder nicht. |
Bool |
ThroughputSettingsResourceOrThroughputSettingsGetPropertiesResource
Name |
Beschreibung |
Wert |
autoscaleEinstellungen |
Cosmos DB-Ressource für Autoskaleneinstellungen. Entweder ist der Durchsatz erforderlich, oder autoscaleSettings ist erforderlich, aber nicht beides. |
AutoscaleSettingsResource- |
Durchsatz |
Wert des Cosmos DB-Ressourcendurchsatzes. Entweder ist der Durchsatz erforderlich, oder autoscaleSettings ist erforderlich, aber nicht beides. |
Int |
ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties
ARM-Vorlagenressourcendefinition
Der Ressourcentyp "databaseAccounts/mongodbDatabases/throughputSettings" kann mit Vorgängen bereitgestellt werden, die auf Folgendes abzielen:
Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.
Um eine Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings-Ressource zu erstellen, fügen Sie der Vorlage den folgenden JSON-Code hinzu.
{
"type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings",
"apiVersion": "2021-06-15",
"name": "string",
"location": "string",
"properties": {
"resource": {
"autoscaleSettings": {
"autoUpgradePolicy": {
"throughputPolicy": {
"incrementPercent": "int",
"isEnabled": "bool"
}
},
"maxThroughput": "int"
},
"throughput": "int"
}
},
"tags": {
"{customized property}": "string"
}
}
Eigenschaftswerte
Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings
Name |
Beschreibung |
Wert |
apiVersion (Englisch) |
Die API-Version |
'2021-06-15' |
Ort |
Der Speicherort der Ressourcengruppe, zu der die Ressource gehört. |
Schnur |
Name |
Der Ressourcenname |
"default" (erforderlich) |
Eigenschaften |
Eigenschaften zum Aktualisieren des Azure Cosmos DB-Ressourcendurchsatzes. |
ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties (erforderlich) |
Schilder |
Ressourcentags |
Wörterbuch der Tagnamen und -werte. Siehe Tags in Vorlagen |
Art |
Der Ressourcentyp |
'Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings' |
AutoscaleSettingsRessource
Name |
Beschreibung |
Wert |
autoUpgradePolicy (englisch) |
Cosmos DB-Ressourcenrichtlinie für automatische Upgrades |
AutoUpgradePolicyResource- |
max. Durchsatz |
Stellt den maximalen Durchsatzcontainer dar, der bis zu skalieren kann. |
int (erforderlich) |
AutoUpgradePolicyRessource
Name |
Beschreibung |
Wert |
throughputPolicy (Durchsatz) |
Stellt die Durchsatzrichtlinie dar, der der Dienst für das automatische Upgrade einhalten muss. |
ThroughputPolicyResource- |
ThroughputPolicyRessource
Name |
Beschreibung |
Wert |
incrementPercent (inzahlungnahme) |
Stellt den Prozentsatz dar, um den der Durchsatz bei jedem Start der Durchsatzrichtlinie erhöht werden kann. |
Int |
isEnabled (Aktiviert) |
Bestimmt, ob die Durchsatzpolicy aktiv ist oder nicht. |
Bool |
ThroughputSettingsResourceOrThroughputSettingsGetPropertiesResource
Name |
Beschreibung |
Wert |
autoscaleEinstellungen |
Cosmos DB-Ressource für Autoskaleneinstellungen. Entweder ist der Durchsatz erforderlich, oder autoscaleSettings ist erforderlich, aber nicht beides. |
AutoscaleSettingsResource- |
Durchsatz |
Wert des Cosmos DB-Ressourcendurchsatzes. Entweder ist der Durchsatz erforderlich, oder autoscaleSettings ist erforderlich, aber nicht beides. |
Int |
ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties
Verwendungsbeispiele
Der Ressourcentyp "databaseAccounts/mongodbDatabases/throughputSettings" kann mit Vorgängen bereitgestellt werden, die auf Folgendes abzielen:
Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.
Um eine Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings-Ressource zu erstellen, fügen Sie Ihrer Vorlage die folgende Terraform hinzu.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings@2021-06-15"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
resource = {
autoscaleSettings = {
autoUpgradePolicy = {
throughputPolicy = {
incrementPercent = int
isEnabled = bool
}
}
maxThroughput = int
}
throughput = int
}
}
}
}
Eigenschaftswerte
Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings
Name |
Beschreibung |
Wert |
Ort |
Der Speicherort der Ressourcengruppe, zu der die Ressource gehört. |
Schnur |
Name |
Der Ressourcenname |
"default" (erforderlich) |
Eltern-ID |
Die ID der Ressource, die das übergeordnete Element für diese Ressource ist. |
ID für Ressource des Typs: databaseAccounts/mongodbDatabases |
Eigenschaften |
Eigenschaften zum Aktualisieren des Azure Cosmos DB-Ressourcendurchsatzes. |
ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties (erforderlich) |
Schilder |
Ressourcentags |
Wörterbuch der Tagnamen und -werte. |
Art |
Der Ressourcentyp |
"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings@2021-06-15" |
AutoscaleSettingsRessource
Name |
Beschreibung |
Wert |
autoUpgradePolicy (englisch) |
Cosmos DB-Ressourcenrichtlinie für automatische Upgrades |
AutoUpgradePolicyResource- |
max. Durchsatz |
Stellt den maximalen Durchsatzcontainer dar, der bis zu skalieren kann. |
int (erforderlich) |
AutoUpgradePolicyRessource
Name |
Beschreibung |
Wert |
throughputPolicy (Durchsatz) |
Stellt die Durchsatzrichtlinie dar, der der Dienst für das automatische Upgrade einhalten muss. |
ThroughputPolicyResource- |
ThroughputPolicyRessource
Name |
Beschreibung |
Wert |
incrementPercent (inzahlungnahme) |
Stellt den Prozentsatz dar, um den der Durchsatz bei jedem Start der Durchsatzrichtlinie erhöht werden kann. |
Int |
isEnabled (Aktiviert) |
Bestimmt, ob die Durchsatzpolicy aktiv ist oder nicht. |
Bool |
ThroughputSettingsResourceOrThroughputSettingsGetPropertiesResource
Name |
Beschreibung |
Wert |
autoscaleEinstellungen |
Cosmos DB-Ressource für Autoskaleneinstellungen. Entweder ist der Durchsatz erforderlich, oder autoscaleSettings ist erforderlich, aber nicht beides. |
AutoscaleSettingsResource- |
Durchsatz |
Wert des Cosmos DB-Ressourcendurchsatzes. Entweder ist der Durchsatz erforderlich, oder autoscaleSettings ist erforderlich, aber nicht beides. |
Int |
ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties