Set-AzsComputeQuota
Hiermee maakt of Updates u een rekenquotum met de opgegeven quotumparameters.
Syntax
Set-AzsComputeQuota
-NewQuota \<IQuota>
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Description
Hiermee maakt of Updates u een rekenquotum met de opgegeven quotumparameters.
Voorbeelden
-------------------------- VOORBEELD 1 --------------------------
$myComputeQuota = Get-AzsComputeQuota -Name MyComputeQuota
PS C:\> $myComputeQuota.CoresLimit = 99;
PS C:\> Set-AzsComputeQuota -NewQuota $myComputeQuota
AvailabilitySetCount: 10 CoresLimit: 99 Id: /subscriptions/74c72bdc-d917-431c-a377-8ca80f4238a0/providers/Microsoft.Compute. Beheer/locations/northwest/quotas/MyComputeQuota Location : northwest Name : MyComputeQuota PremiumManagedDiskAndSnapshotSize : 2048 StandardManagedDiskAndSnapshotSize : 2048 Type : Microsoft.Compute. Beheer/quota VMScaleSetCount : 0 VirtualMachineCount : 100
Parameters
Hiermee wordt u gevraagd om bevestiging voordat u de cmdlet uitvoert.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
De referenties, het account, de tenant en het abonnement dat wordt gebruikt voor communicatie met Azure.
| Type: | PSObject |
| Aliases: | AzureRMContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Bevat rekenquotumgegevens die worden gebruikt om resourcetoewijzing te beheren. Zie de sectie NOTES voor NEWQUOTA-eigenschappen en maak een hash-tabel om deze samen te stellen.
| Type: | Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api202101.IQuota |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Abonnementsreferenties waarmee het Microsoft Azure-abonnement uniek wordt geïdentificeerd. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.
| Type: | String |
| Position: | Named |
| Default value: | (Get-AzContext).Subscription.Id |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Hiermee wordt weergegeven wat er zou gebeuren als u de cmdlet uitvoert. De cmdlet wordt niet uitgevoerd.
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Invoerwaarden
Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api202101.IQuota
Uitvoerwaarden
Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api202101.IQuota
Notities
ALIASSEN
EIGENSCHAPPEN VAN COMPLEXE PARAMETERS
Als u de hieronder beschreven parameters wilt maken, maakt u een hash-tabel met de juiste eigenschappen. Voer Get-Help about_Hash_Tables uit voor informatie over hashtabellen.
NEWQUOTA IQuota<>: bevat rekenquotumgegevens die worden gebruikt om de toewijzing van resources te beheren.
[Location <String>]: Locatie van de resource.[AvailabilitySetCount \<Int32?>]: Maximum aantal toegestane beschikbaarheidssets.[CoresLimit \<Int32?>]: Maximum aantal toegestane kernen.[DdagpuCount \<Int32?>]: Maximum aantal toegestane dda GPU's.[PartitionedGpuCount \<Int32?>]: Maximum aantal gepartitioneerde GPU's toegestaan.[PremiumManagedDiskAndSnapshotSize \<Int32?>]: Maximum aantal beheerde schijven en momentopnamen van het type Premium toegestaan.[StandardManagedDiskAndSnapshotSize \<Int32?>]: Maximum aantal beheerde schijven en momentopnamen van het type standaard toegestaan.[VMScaleSetCount \<Int32?>]: Maximum aantal toegestane schaalsets.[VirtualMachineCount \<Int32?>]: Maximum aantal toegestane virtuele machines.