New-AzsComputeQuota
Erstellt oder Aktualisierungen ein ComputeKontingent mit den bereitgestellten Kontingentparametern.
Syntax
New-AzsComputeQuota
-Name <String>
[-Location <String>]
[-SubscriptionId <String>]
[-AvailabilitySetCount \<Int32>]
[-CoresCount \<Int32>]
[-Location1 <String>]
[-PremiumManagedDiskAndSnapshotSize \<Int32>]
[-StandardManagedDiskAndSnapshotSize \<Int32>]
[-VirtualMachineCount \<Int32>]
[-VMScaleSetCount \<Int32>]
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
New-AzsComputeQuota
-Name <String>
-NewQuota \<IQuota>
[-Location <String>]
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Beschreibung
Erstellt oder Aktualisierungen ein ComputeKontingent mit den bereitgestellten Kontingentparametern.
Beispiele
-------------------------- BEISPIEL 1 --------------------------
New-AzsComputeQuota -Name ExampleComputeQuotaWithDefaultParameters
AvailabilitySetCount : 10 CoresLimit : 100 Id : /subscriptions/3ae476e5-83d3-429d-a450-2f4f2fc67c5e/providers/Microsoft.Compute.Ad min/locations/local/local/quotas/ExampleComputeQuotaWithDefaultParameters Location : local Name : ExampleComputeQuotaWithDefaultParameters PremiumManagedDiskAndSnapshotSize : 2048 StandardManagedDiskAndSnapshotSize : 2048 Type : Microsoft.Compute. Admin/Kontingente VMScaleSetCount : 0 VirtualMachineCount : 100
-------------------------- BEISPIEL 2 --------------------------
New-AzsComputeQuota -Name ExampleComputeQuotaWithCustomParameters -Location local -AvailabilitySetCount 9 -CoresCount 99 -PremiumManagedDiskAndSnapshotSize 1024 -StandardManagedDiskAndSnapshotSize 1024 -VirtualMachineCount 99 -VMScaleSetCount 2
AvailabilitySetCount : 9 CoresLimit : 99 Id : /subscriptions/3ae476e5-83d3-429d-a450-2f4f2fc67c5e/providers/Microsoft.Compute. Admin/locat ions/local/quotas/ExampleComputeQuotaWithCustomParameters Location : local Name : ExampleComputeQuotaWithCustomParameters PremiumManagedDiskAndSnapshotSize : 1024 StandardManagedDiskAndSnapshotSize : 1024 Type : Microsoft.Compute. Admin/Kontingente VMScaleSetCount : 2 VirtualMachineCount : 99
Parameter
Maximale Anzahl zulässiger Verfügbarkeitssätze.
| Type: | Int32 |
| Position: | Named |
| Default value: | 10 |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Hiermit werden Sie vor der Ausführung des Cmdlets zur Bestätigung aufgefordert.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Maximale Anzahl zulässiger Kerne.
| Type: | Int32 |
| Aliases: | CoresLimit |
| Position: | Named |
| Default value: | 100 |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure
| Type: | PSObject |
| Aliases: | AzureRMContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Speicherort der Ressource.
| Type: | String |
| Position: | Named |
| Default value: | (Get-AzLocation)[0].Location |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Speicherort der Ressource.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Name des Kontingents.
| Type: | String |
| Aliases: | QuotaName |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Enthält Computekontingentinformationen, die zum Steuern der Ressourcenzuordnung verwendet werden. Informationen zum Erstellen finden Sie im Abschnitt "NOTES" für NEWQUOTA-Eigenschaften und Erstellen einer Hashtabelle.
| Type: | Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api202101.IQuota |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Maximale Anzahl von verwalteten Datenträgern und Momentaufnahmen vom Typ Premium zulässig.
| Type: | Int32 |
| Position: | Named |
| Default value: | 2048 |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Maximale Anzahl von verwalteten Datenträgern und Momentaufnahmen des typstandard zulässigen Typs.
| Type: | Int32 |
| Position: | Named |
| Default value: | 2048 |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Abonnementanmeldeinformationen, die das Microsoft Azure-Abonnement eindeutig identifizieren. Die Abonnement-ID ist Teil des URI für jeden Dienstaufruf.
| Type: | String |
| Position: | Named |
| Default value: | (Get-AzContext).Subscription.Id |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Maximale Anzahl der zulässigen virtuellen Computer.
| Type: | Int32 |
| Position: | Named |
| Default value: | 100 |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Maximale Anzahl zulässiger Skalierungssätze.
| Type: | Int32 |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Eingaben
Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api202101.IQuota
Ausgaben
Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api202101.IQuota
Hinweise
ALIASE
KOMPLEXE PARAMETEREIGENSCHAFTEN
Um die unten beschriebenen Parameter zu erstellen, erstellen Sie eine Hashtabelle mit den entsprechenden Eigenschaften. Führen Sie Get-Help about_Hash_Tables aus, um Informationen zu Hashtabellen zu erfahren.
NEWQUOTA <IQuota>: Enthält Computekontingentinformationen, die zum Steuern der Ressourcenzuordnung verwendet werden.
[Location <String>]: Speicherort der Ressource.[AvailabilitySetCount \<Int32?>]: Maximale Anzahl zulässiger Verfügbarkeitssätze.[CoresLimit \<Int32?>]: Maximale Anzahl zulässiger Kerne.[DdagpuCount \<Int32?>]: Maximale Anzahl der zulässigen dda gpus.[PartitionedGpuCount \<Int32?>]: Maximale Anzahl von partitionierten GPUs zulässig.[PremiumManagedDiskAndSnapshotSize \<Int32?>]: Maximale Anzahl von verwalteten Datenträgern und Momentaufnahmen vom Typ Premium zulässig.[StandardManagedDiskAndSnapshotSize \<Int32?>]: Maximale Anzahl von verwalteten Datenträgern und Momentaufnahmen des typstandard zulässigen Typs.[VMScaleSetCount \<Int32?>]: Maximale Anzahl zulässiger Skalierungssätze.[VirtualMachineCount \<Int32?>]: Maximale Anzahl der zulässigen virtuellen Computer.