New-AzNetAppFilesVolumeQuotaRule
Hiermee maakt u een nieuwe volumequotumregel voor Azure NetApp Files (ANF).
Syntaxis
New-AzNetAppFilesVolumeQuotaRule
-ResourceGroupName <String>
-Location <String>
-AccountName <String>
-PoolName <String>
-VolumeName <String>
-Name <String>
[-Tag <Hashtable>]
-QuotaSize <Int32>
-QuotaType <String>
[-QuotaTarget <String>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzNetAppFilesVolumeQuotaRule
-Name <String>
[-Tag <Hashtable>]
-QuotaSize <Int32>
-QuotaType <String>
[-QuotaTarget <String>]
-VolumeObject <PSNetAppFilesVolume>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
De cmdlet New-AzNetAppFilesVolumeQuotaRule maakt een ANF-volumequotaregel.
Voorbeelden
Voorbeeld 1
New-AzNetAppFilesVolumeQuotaRule -ResourceGroupName "MyRG" -Location "westus2" -AccountName "MyAnfAccount" -PoolName "MyAnfPool" -VolumeName "MyAnfVolume" -Name "MyAnfVolumeQuotaRule" -QuotaType "DefaultGroupQuota" -QuotaSize 100006
Met deze opdracht maakt u de nieuwe ANF VolumeQuotaRule "MyAnfVolumeQuotaRule" van het type DefaultGroupQuota voor het volume "MyAnfVolume" met behulp van quotaSize 100006
Parameters
-AccountName
De naam van het ANF-account
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
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 |
-Location
De locatie van de resource
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-Name
De naam van de ANF QuotaRule
Type: | String |
Aliassen: | VolumeQuotaRuleName |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-PoolName
De naam van de ANF-pool
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-QuotaSize
Grootte van quotum in KiBs
Type: | Int32 |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-QuotaTarget
UserID/GroupID/SID op basis van het quotumdoeltype. UserID en groupID zijn te vinden door de opdracht 'id' of 'getent' voor de gebruiker of groep en SID uit te voeren door <wmic useraccount uit te voeren waarbij name='user-name' get sid>
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-QuotaType
Type quotum
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-ResourceGroupName
De resourcegroep van het ANF-account
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-Tag
Een hashtabel die resourcetags vertegenwoordigt
Type: | Hashtable |
Aliassen: | Tags |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-VolumeName
De naam van het ANF-volume
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-VolumeObject
Het volume voor het nieuwe VolumeQuotaRule-object
Type: | PSNetAppFilesVolume |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
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
Uitvoerwaarden
Azure PowerShell