Update-AzCosmosDBTable
Hiermee werkt u de CosmosDB-tabel bij. Voert een patchbewerking aan de clientzijde uit door de bestaande tabel te lezen.
Syntaxis
Update-AzCosmosDBTable
-ResourceGroupName <String>
-AccountName <String>
[-Name <String>]
[-Throughput <Int32>]
[-AutoscaleMaxThroughput <Int32>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzCosmosDBTable
[-Name <String>]
[-Throughput <Int32>]
[-AutoscaleMaxThroughput <Int32>]
-ParentObject <PSDatabaseAccountGetResults>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzCosmosDBTable
[-Name <String>]
[-Throughput <Int32>]
[-AutoscaleMaxThroughput <Int32>]
-InputObject <PSTableGetResults>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Hiermee werkt u de CosmosDB-tabel bij. Voert een patchbewerking aan de clientzijde uit door de bestaande tabel te lezen.
Voorbeelden
Voorbeeld 1
Update-AzCosmosDBTable -AccountName myAcccountName -Name myTableName -ResourceGroupName myRgName -Throughput 800
Name : myTableName
Id : /subscriptions/mySubscriptionId/resourceGroups/myResourcegroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/Tables/myTableName
Location :
Tags :
Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSTableGetPropertiesResource
Parameters
-AccountName
Naam van het Cosmos DB-databaseaccount.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-AutoscaleMaxThroughput
Maximale doorvoerwaarde als automatische schaalaanpassing is ingeschakeld.
Type: | Nullable<T>[Int32] |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-Confirm
U wordt gevraagd om bevestiging voordat u de cmdlet uitvoert.
Type: | SwitchParameter |
Aliassen: | cf |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Type: | IAzureContextContainer |
Aliassen: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-InputObject
Tabelobject.
Type: | PSTableGetResults |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
-Name
Naam van de tabel.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-ParentObject
CosmosDB-accountobject
Type: | PSDatabaseAccountGetResults |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
-ResourceGroupName
Naam van resourcegroep.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-Throughput
De doorvoer van Table (RU/s). De standaardwaarde is 400.
Type: | Nullable<T>[Int32] |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-WhatIf
Toont wat er zou gebeuren als de cmdlet wordt uitgevoerd. De cmdlet wordt niet uitgevoerd.
Type: | SwitchParameter |
Aliassen: | wi |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
Invoerwaarden
Microsoft.Azure.Commands.CosmosDB.Models.PSDatabaseAccount