New-AzsComputeQuota

Hiermee maakt of Updates u een rekenquotum met de opgegeven quotumparameters.

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>]

Description

Hiermee maakt of Updates u een rekenquotum met de opgegeven quotumparameters.

Voorbeelden

-------------------------- VOORBEELD 1 --------------------------

New-AzsComputeQuota -Name ExampleComputeQuotaWithDefaultParameters

AvailabilitySetCount: 10 CoresLimit : 100 Id: /subscriptions/3ae476e5-83d3-429d-a450-2f4f2fc67c5e/providers/Microsoft.Compute.Ad min/locations /local/quota/ExampleComputeQuotaWithDefaultParameters Location : local Name : ExampleComputeQuotaWithDefaultParameters PremiumManagedDiskAndSnapshotSize : 2048 StandardManagedDiskAndSnapshotSize : 2048 Type : Microsoft.Compute. Beheer/quota VMScaleSetCount : 0 VirtualMachineCount : 100

-------------------------- VOORBEELD 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. Beheer/locat ions/local/quota/ExampleComputeQuotaWithCustomParameters Location : local Name : ExampleComputeQuotaWithCustomParameters PremiumManagedDiskAndSnapshotSize : 1024 StandardManagedDiskAndSnapshotSize : 1024 Type : Microsoft.Compute. Beheer/quota VMScaleSetCount : 2 VirtualMachineCount : 99

Parameters

-AvailabilitySetCount

Maximum aantal toegestane beschikbaarheidssets.

Type:Int32
Position:Named
Default value:10
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

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
-CoresCount

Maximum aantal toegestane kernen.

Type:Int32
Aliases:CoresLimit
Position:Named
Default value:100
Accept pipeline input:False
Accept wildcard characters:False
-DefaultProfile

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
-Location

Locatie van de resource.

Type:String
Position:Named
Default value:(Get-AzLocation)[0].Location
Accept pipeline input:False
Accept wildcard characters:False
-Location1

Locatie van de resource.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Naam van het quotum.

Type:String
Aliases:QuotaName
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-NewQuota

Bevat informatie over het berekenen van quotums die worden gebruikt om de toewijzing van resources te beheren. Zie de sectie NOTES voor EIGENSCHAPPEN VAN NEWQUOTA 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
-PremiumManagedDiskAndSnapshotSize

Maximum aantal beheerde schijven en momentopnamen van het type Premium toegestaan.

Type:Int32
Position:Named
Default value:2048
Accept pipeline input:False
Accept wildcard characters:False
-StandardManagedDiskAndSnapshotSize

Maximum aantal beheerde schijven en momentopnamen van het type standaard toegestaan.

Type:Int32
Position:Named
Default value:2048
Accept pipeline input:False
Accept wildcard characters:False
-SubscriptionId

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
-VirtualMachineCount

Maximum aantal toegestane virtuele machines.

Type:Int32
Position:Named
Default value:100
Accept pipeline input:False
Accept wildcard characters:False
-VMScaleSetCount

Maximum aantal toegestane schaalsets.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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 informatie over het rekenquotum dat wordt 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 dat is 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.