New-AzNetAppFilesPool
Creates a new Azure NetApp Files (ANF) pool.
Syntax
New-AzNetAppFilesPool
-ResourceGroupName <String>
-Location <String>
-AccountName <String>
-Name <String>
-PoolSize <Int64>
-ServiceLevel <String>
[-QosType <String>]
[-CoolAccess]
[-EncryptionType <String>]
[-Tag <Hashtable>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzNetAppFilesPool
-Name <String>
-PoolSize <Int64>
-ServiceLevel <String>
[-QosType <String>]
[-CoolAccess]
[-EncryptionType <String>]
[-Tag <Hashtable>]
-AccountObject <PSNetAppFilesAccount>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The New-AzNetAppFilesPool cmdlet creates an ANF pool.
Examples
Example 1: Create an ANF pool
New-AzNetAppFilesPool -ResourceGroupName "MyRG" -AccountName "MyAnfAccount" -Name "MyAnfPool" -Location "westus2" -PoolSize 4398046511104 -ServiceLevel "Premium" -QosType "Auto"
Location : westus2
Id : /subscriptions/subsID/resourceGroups/MyRG/providers/Microsoft.NetApp/netAppAccounts/MyAnfAccount/capacityPools/MyAnfPool
Name : MyAnfAccount/MyAnfPool
Type : Microsoft.NetApp/netAppAccounts/capacityPools
Tags :
PoolId : a3a53a09-fd70-37ab-39dc-392a04cba525
Size : 4398046511104
ServiceLevel : Premium
TotalThroughputMibps: 262.144
UtilizedThroughputMibps: 164.221
QosType : Auto
ProvisioningState : Succeeded
This command creates the new ANF pool "MyAnfPool" within the account "MyAnfAccount".
Parameters
The name of the ANF account
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The account for the new pool object
| Type: | PSNetAppFilesAccount |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Prompts you for confirmation before running the cmdlet.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
If enabled (true) the pool can contain cool Access enabled volumes.
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with Azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Encryption type of the capacity pool (Single, Double), set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The location of the resource
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The name of the ANF pool
| Type: | String |
| Aliases: | PoolName |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The size of the ANF pool
| Type: | Int64 |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The qos type of the pool. Possible values include: 'Auto', 'Manual'
| Type: | String |
| Position: | Named |
| Default value: | Auto |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The resource group of the ANF account
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The service level of the ANF pool
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
A hashtable which represents resource tags
| Type: | Hashtable |
| Aliases: | Tags |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
Outputs
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ