Bicep-resourcedefinitie
Het resourcetype databaseAccounts/gremlinDatabases/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/gremlinDatabases/throughputSettings wilt maken, voegt u de volgende Bicep toe aan uw sjabloon.
resource symbolicname 'Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings@2021-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/gremlinDatabases/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/gremlinDatabases/throughputSettings kan worden geïmplementeerd met bewerkingen die zijn gericht op:
Gebruiksvoorbeelden
Als u een Resource Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings wilt maken, voegt u de volgende JSON toe aan uw sjabloon.
{
"type": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings",
"apiVersion": "2021-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/gremlinDatabases/throughputSettings
| Naam |
Beschrijving |
Waarde |
| apiVersion |
De API-versie |
'2021-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/gremlinDatabases/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
Het resourcetype databaseAccounts/gremlinDatabases/throughputSettings kan worden geïmplementeerd met bewerkingen die zijn gericht op:
-
Resourcegroepen Voor een lijst van gewijzigde eigenschappen in elke API-versie, zie wijzigingslogboek.
Als u een Resource Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings wilt maken, voegt u de volgende Terraform toe aan uw sjabloon.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings@2021-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/gremlinDatabases/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/gremlinDatabases |
| 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/gremlinDatabases/throughputSettings@2021-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