Bicep-resourcedefinitie
Het resourcetype databaseAccounts/cassandraKeyspaces/throughputSettings kan worden geïmplementeerd met bewerkingen die zijn gericht op:
Zie logboek wijzigenvoor een lijst met gewijzigde eigenschappen in elke API-versie.
Als u een Resource Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings wilt maken, voegt u de volgende Bicep toe aan uw sjabloon.
resource symbolicname 'Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings@2022-05-15' = {
parent: resourceSymbolicName
location: 'string'
name: 'default'
properties: {
resource: {
autoscaleSettings: {
autoUpgradePolicy: {
throughputPolicy: {
incrementPercent: int
isEnabled: bool
}
}
maxThroughput: int
}
throughput: int
}
}
tags: {
{customized property}: 'string'
}
}
Eigenschapswaarden
Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings
AutoscaleSettingsResource
Naam |
Beschrijving |
Waarde |
autoUpgrade-beleid |
Beleid voor automatische upgrade van Cosmos DB-resources |
AutoUpgradePolicyResource- |
maximale doorvoer |
Vertegenwoordigt de maximale doorvoercontainer die omhoog kan worden geschaald. |
int (vereist) |
AutoUpgradePolicyBron
Naam |
Beschrijving |
Waarde |
doorvoerBeleid |
Vertegenwoordigt doorvoerbeleid waaraan de service moet voldoen voor automatische upgrade |
ThroughputPolicyResource- |
DoorvoerPolicyResource
Naam |
Beschrijving |
Waarde |
incrementPercent |
Vertegenwoordigt het percentage waarmee doorvoer kan toenemen telkens wanneer het doorvoerbeleid wordt geactiveerd. |
Int |
isIngeschakeld |
Bepaalt of doorvoerbeleid actief is of niet |
Bool |
DoorvoerInstellingenResourceOrDoorvoerInstellingenGetPropertiesResource
Naam |
Beschrijving |
Waarde |
autoscale-instellingen |
Cosmos DB-resource voor instellingen voor automatisch schalen. Doorvoer is vereist of autoscaleSettings is vereist, maar niet beide. |
AutoscaleSettingsResource- |
Doorvoer |
Waarde van de doorvoer van cosmos DB-resources. Doorvoer is vereist of autoscaleSettings is vereist, maar niet beide. |
Int |
DoorvoerInstellingenUpdateEigenschappenOfDoorvoerInstellingenGetEigenschappen
Resourcedefinitie van ARM-sjabloon
Het resourcetype databaseAccounts/cassandraKeyspaces/throughputSettings kan worden geïmplementeerd met bewerkingen die zijn gericht op:
Zie logboek wijzigenvoor een lijst met gewijzigde eigenschappen in elke API-versie.
Als u een Resource Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings wilt maken, voegt u de volgende JSON toe aan uw sjabloon.
{
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings",
"apiVersion": "2022-05-15",
"name": "string",
"location": "string",
"properties": {
"resource": {
"autoscaleSettings": {
"autoUpgradePolicy": {
"throughputPolicy": {
"incrementPercent": "int",
"isEnabled": "bool"
}
},
"maxThroughput": "int"
},
"throughput": "int"
}
},
"tags": {
"{customized property}": "string"
}
}
Eigenschapswaarden
Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings
Naam |
Beschrijving |
Waarde |
apiVersion |
De API-versie |
'2022-05-15' |
plaats |
De locatie van de resourcegroep waartoe de resource behoort. |
snaar |
naam |
De resourcenaam |
'standaard' (vereist) |
Eigenschappen |
Eigenschappen voor het bijwerken van azure Cosmos DB-resourcedoorvoer. |
ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties (vereist) |
Tags |
Resourcetags |
Woordenlijst met tagnamen en -waarden. Zie Tags in sjablonen |
soort |
Het resourcetype |
'Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings' |
AutoscaleSettingsResource
Naam |
Beschrijving |
Waarde |
autoUpgrade-beleid |
Beleid voor automatische upgrade van Cosmos DB-resources |
AutoUpgradePolicyResource- |
maximale doorvoer |
Vertegenwoordigt de maximale doorvoercontainer die omhoog kan worden geschaald. |
int (vereist) |
AutoUpgradePolicyBron
Naam |
Beschrijving |
Waarde |
doorvoerBeleid |
Vertegenwoordigt doorvoerbeleid waaraan de service moet voldoen voor automatische upgrade |
ThroughputPolicyResource- |
DoorvoerPolicyResource
Naam |
Beschrijving |
Waarde |
incrementPercent |
Vertegenwoordigt het percentage waarmee doorvoer kan toenemen telkens wanneer het doorvoerbeleid wordt geactiveerd. |
Int |
isIngeschakeld |
Bepaalt of doorvoerbeleid actief is of niet |
Bool |
DoorvoerInstellingenResourceOrDoorvoerInstellingenGetPropertiesResource
Naam |
Beschrijving |
Waarde |
autoscale-instellingen |
Cosmos DB-resource voor instellingen voor automatisch schalen. Doorvoer is vereist of autoscaleSettings is vereist, maar niet beide. |
AutoscaleSettingsResource- |
Doorvoer |
Waarde van de doorvoer van cosmos DB-resources. Doorvoer is vereist of autoscaleSettings is vereist, maar niet beide. |
Int |
DoorvoerInstellingenUpdateEigenschappenOfDoorvoerInstellingenGetEigenschappen
Gebruiksvoorbeelden
Het resourcetype databaseAccounts/cassandraKeyspaces/throughputSettings kan worden geïmplementeerd met bewerkingen die zijn gericht op:
Zie logboek wijzigenvoor een lijst met gewijzigde eigenschappen in elke API-versie.
Als u een Resource Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings wilt maken, voegt u de volgende Terraform toe aan uw sjabloon.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings@2022-05-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
}
}
}
}
Eigenschapswaarden
Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings
Naam |
Beschrijving |
Waarde |
plaats |
De locatie van de resourcegroep waartoe de resource behoort. |
snaar |
naam |
De resourcenaam |
'standaard' (vereist) |
ouder_id |
De id van de resource die het bovenliggende item voor deze resource is. |
Id voor resource van het type: databaseAccounts/cassandraKeyspaces |
Eigenschappen |
Eigenschappen voor het bijwerken van azure Cosmos DB-resourcedoorvoer. |
ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties (vereist) |
Tags |
Resourcetags |
Woordenlijst met tagnamen en -waarden. |
soort |
Het resourcetype |
"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings@2022-05-15" |
AutoscaleSettingsResource
Naam |
Beschrijving |
Waarde |
autoUpgrade-beleid |
Beleid voor automatische upgrade van Cosmos DB-resources |
AutoUpgradePolicyResource- |
maximale doorvoer |
Vertegenwoordigt de maximale doorvoercontainer die omhoog kan worden geschaald. |
int (vereist) |
AutoUpgradePolicyBron
Naam |
Beschrijving |
Waarde |
doorvoerBeleid |
Vertegenwoordigt doorvoerbeleid waaraan de service moet voldoen voor automatische upgrade |
ThroughputPolicyResource- |
DoorvoerPolicyResource
Naam |
Beschrijving |
Waarde |
incrementPercent |
Vertegenwoordigt het percentage waarmee doorvoer kan toenemen telkens wanneer het doorvoerbeleid wordt geactiveerd. |
Int |
isIngeschakeld |
Bepaalt of doorvoerbeleid actief is of niet |
Bool |
DoorvoerInstellingenResourceOrDoorvoerInstellingenGetPropertiesResource
Naam |
Beschrijving |
Waarde |
autoscale-instellingen |
Cosmos DB-resource voor instellingen voor automatisch schalen. Doorvoer is vereist of autoscaleSettings is vereist, maar niet beide. |
AutoscaleSettingsResource- |
Doorvoer |
Waarde van de doorvoer van cosmos DB-resources. Doorvoer is vereist of autoscaleSettings is vereist, maar niet beide. |
Int |
DoorvoerInstellingenUpdateEigenschappenOfDoorvoerInstellingenGetEigenschappen