Skip to content

Commit cddd32e

Browse files
committed
NFSAAS-1707 updates from review comments
1 parent 75a0061 commit cddd32e

File tree

23 files changed

+23135
-0
lines changed

23 files changed

+23135
-0
lines changed

src/NetAppFiles/NetAppFiles.Test/SessionRecords/Microsoft.Azure.Commands.NetAppFiles.Test.ScenarioTests.ScenarioTest.AccountTests/TestAccountCrud.json

Lines changed: 1463 additions & 0 deletions
Large diffs are not rendered by default.

src/NetAppFiles/NetAppFiles.Test/SessionRecords/Microsoft.Azure.Commands.NetAppFiles.Test.ScenarioTests.ScenarioTest.AccountTests/TestAccountPipelines.json

Lines changed: 1202 additions & 0 deletions
Large diffs are not rendered by default.

src/NetAppFiles/NetAppFiles.Test/SessionRecords/Microsoft.Azure.Commands.NetAppFiles.Test.ScenarioTests.ScenarioTest.PoolTests/TestPoolCrud.json

Lines changed: 2144 additions & 0 deletions
Large diffs are not rendered by default.

src/NetAppFiles/NetAppFiles.Test/SessionRecords/Microsoft.Azure.Commands.NetAppFiles.Test.ScenarioTests.ScenarioTest.PoolTests/TestPoolPipelines.json

Lines changed: 2723 additions & 0 deletions
Large diffs are not rendered by default.

src/NetAppFiles/NetAppFiles.Test/SessionRecords/Microsoft.Azure.Commands.NetAppFiles.Test.ScenarioTests.ScenarioTest.SnapshotTests/TestSnapshotCrud.json

Lines changed: 3284 additions & 0 deletions
Large diffs are not rendered by default.

src/NetAppFiles/NetAppFiles.Test/SessionRecords/Microsoft.Azure.Commands.NetAppFiles.Test.ScenarioTests.ScenarioTest.SnapshotTests/TestSnapshotPipelines.json

Lines changed: 2891 additions & 0 deletions
Large diffs are not rendered by default.

src/NetAppFiles/NetAppFiles.Test/SessionRecords/Microsoft.Azure.Commands.NetAppFiles.Test.ScenarioTests.ScenarioTest.VolumeTests/TestVolumeCrud.json

Lines changed: 3344 additions & 0 deletions
Large diffs are not rendered by default.

src/NetAppFiles/NetAppFiles.Test/SessionRecords/Microsoft.Azure.Commands.NetAppFiles.Test.ScenarioTests.ScenarioTest.VolumeTests/TestVolumePipelines.json

Lines changed: 3020 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
Module Name: az.NetAppFiles
3+
Module Guid: e20e99dc-6df9-479b-8504-2960f0088f00
4+
Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.netappfiles
5+
Help Version: 0.9.0.0
6+
Locale: en-US
7+
---
8+
9+
# Az.NetAppFiles Module
10+
## Description
11+
The topics in this section document the Azure PowerShell cmdlets for Azure NetApp Files in the Azure Resource Manager (ARM) framework. The cmdlets exist in the Microsoft.Azure.Commands.NetAppFiles namespace.
12+
13+
## Az.NetAppFiles Cmdlets
14+
### [Get-AzNetAppFilesAccount](Get-AzNetAppFilesAccount.md)
15+
Gets details of an Azure NetApp Files (ANF) account.
16+
17+
### [Get-AzNetAppFilesPool](Get-AzNetAppFilesPool.md)
18+
Gets details of an Azure NetApp Files (ANF) pool.
19+
20+
### [Get-AzNetAppFilesSnapshot](Get-AzNetAppFilesSnapshot.md)
21+
Gets details of an Azure NetApp Files (ANF) snapshot.
22+
23+
### [Get-AzNetAppFilesVolume](Get-AzNetAppFilesVolume.md)
24+
Gets details of an Azure NetApp Files (ANF) volume.
25+
26+
### [New-AzNetAppFilesAccount](New-AzNetAppFilesAccount.md)
27+
Creates a new Azure NetApp Files (ANF) account.
28+
29+
### [New-AzNetAppFilesPool](New-AzNetAppFilesPool.md)
30+
Creates a new Azure NetApp Files (ANF) pool.
31+
32+
### [New-AzNetAppFilesSnapshot](New-AzNetAppFilesSnapshot.md)
33+
Creates a new Azure NetApp Files (ANF) snapshot.
34+
35+
### [New-AzNetAppFilesVolume](New-AzNetAppFilesVolume.md)
36+
Creates a new Azure NetApp Files (ANF) volume.
37+
38+
### [Remove-AzNetAppFilesAccount](Remove-AzNetAppFilesAccount.md)
39+
Deletes an Azure NetApp Files (ANF) account.
40+
41+
### [Remove-AzNetAppFilesPool](Remove-AzNetAppFilesPool.md)
42+
Deletes an Azure NetApp Files (ANF) pool.
43+
44+
### [Remove-AzNetAppFilesSnapshot](Remove-AzNetAppFilesSnapshot.md)
45+
Deletes an Azure NetApp Files (ANF) snapshot.
46+
47+
### [Remove-AzNetAppFilesVolume](Remove-AzNetAppFilesVolume.md)
48+
Deletes an Azure NetApp Files (ANF) volume.
49+
50+
### [Update-AzNetAppFilesPool](Update-AzNetAppFilesPool.md)
51+
Updates an Azure NetApp Files (ANF) pool.
52+
53+
### [Update-AzNetAppFilesVolume](Update-AzNetAppFilesVolume.md)
54+
Updates an Azure NetApp Files (ANF) volume.
55+
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
---
2+
external help file: Microsoft.Azure.PowerShell.Cmdlets.NetAppFiles.dll-Help.xml
3+
Module Name: Az.NetAppFiles
4+
online version: https://docs.microsoft.com/en-us/powershell/module/az.netappfiles/get-aznetappfilesaccount
5+
schema: 2.0.0
6+
---
7+
8+
# Get-AzNetAppFilesAccount
9+
10+
## SYNOPSIS
11+
Gets details of an Azure NetApp Files (ANF) account.
12+
13+
## SYNTAX
14+
15+
### ByFieldsParameterSet (Default)
16+
```
17+
Get-AzNetAppFilesAccount -ResourceGroupName <String> [-Name <String> | -AccountName <String>]
18+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
19+
```
20+
21+
### ByResourceIdParameterSet
22+
```
23+
Get-AzNetAppFilesAccount -ResourceId <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
24+
```
25+
26+
## DESCRIPTION
27+
The **Get-AzNetAppFilesAccount** cmdlet gets details of an ANF account.
28+
29+
## EXAMPLES
30+
31+
### Example 1: Get an ANF account
32+
```
33+
PS C:\>Get-AzNetAppFilesAccount -ResourceGroupName "MyRG" -Name "MyAnfAccount"
34+
35+
Output:
36+
37+
Location : westus2
38+
Id : /subscriptions/mySubs/resourceGroups/MyRG/providers/Microsoft.NetApp/netAppAccounts/MyAnfAccount
39+
Name : MyAnfAccount
40+
Type : Microsoft.NetApp/netAppAccounts
41+
Tags :
42+
ProvisioningState : Succeeded
43+
```
44+
45+
This command gets the account named MyAnfAccount.
46+
47+
## PARAMETERS
48+
49+
### -DefaultProfile
50+
The credentials, account, tenant, and subscription used for communication with Azure.
51+
52+
```yaml
53+
Type: IAzureContextContainer
54+
Parameter Sets: (All)
55+
Aliases: AzContext, AzureRmContext, AzureCredential
56+
57+
Required: False
58+
Position: Named
59+
Default value: None
60+
Accept pipeline input: False
61+
Accept wildcard characters: False
62+
```
63+
64+
### -Name
65+
The name of the ANF account
66+
67+
```yaml
68+
Type: String
69+
Parameter Sets: ByFieldsParameterSet
70+
Aliases: AccountName
71+
72+
Required: False
73+
Position: Named
74+
Default value: None
75+
Accept pipeline input: False
76+
Accept wildcard characters: False
77+
```
78+
79+
### -ResourceGroupName
80+
The resource group of the ANF account
81+
82+
```yaml
83+
Type: String
84+
Parameter Sets: ByFieldsParameterSet
85+
Aliases:
86+
87+
Required: True
88+
Position: Named
89+
Default value: None
90+
Accept pipeline input: False
91+
Accept wildcard characters: False
92+
```
93+
94+
### -ResourceId
95+
The resource id of the ANF account
96+
97+
```yaml
98+
Type: String
99+
Parameter Sets: ByResourceIdParameterSet
100+
Aliases:
101+
102+
Required: True
103+
Position: Named
104+
Default value: None
105+
Accept pipeline input: True (ByPropertyName)
106+
Accept wildcard characters: False
107+
```
108+
109+
### CommonParameters
110+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
111+
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
112+
113+
## INPUTS
114+
115+
### System.String
116+
117+
## OUTPUTS
118+
119+
### Microsoft.Azure.Commands.NetAppFiles.Models.PSNetAppFilesAccount
120+
121+
## NOTES
122+
123+
## RELATED LINKS
Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
---
2+
external help file: Microsoft.Azure.PowerShell.Cmdlets.NetAppFiles.dll-Help.xml
3+
Module Name: Az.NetAppFiles
4+
online version: https://docs.microsoft.com/en-us/powershell/module/az.netappfiles/get-aznetappfilespool
5+
schema: 2.0.0
6+
---
7+
8+
# Get-AzNetAppFilesPool
9+
10+
## SYNOPSIS
11+
Gets details of an Azure NetApp Files (ANF) pool.
12+
13+
## SYNTAX
14+
15+
### ByFieldsParameterSet (Default)
16+
```
17+
Get-AzNetAppFilesPool -ResourceGroupName <String> -AccountName <String> [-Name <String> | -PoolName <String>]
18+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
19+
```
20+
21+
### ByResourceIdParameterSet
22+
```
23+
Get-AzNetAppFilesPool -ResourceId <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
24+
```
25+
26+
### ByObjectParameterSet
27+
```
28+
Get-AzNetAppFilesPool [-AccountInputObject <PSNetAppFilesAccount>] [-DefaultProfile <IAzureContextContainer>]
29+
[<CommonParameters>]
30+
```
31+
32+
## DESCRIPTION
33+
The **Get-AzNetAppFilesPool** cmdlet gets details of an ANF pool.
34+
35+
## EXAMPLES
36+
37+
### Example 1: Get an ANF pool
38+
```
39+
PS C:\>Get-AzAnfPool -ResourceGroupName "MyRG" -AccountName "MyAnfAccount" -Name "MyAnfPool"
40+
41+
Output:
42+
43+
Location : westus2
44+
Id : /subscriptions/subsID/resourceGroups/MyRG/providers/Microsoft.NetApp/netAppAccounts/MyAnfAccount/capacityPools/MyAnfPool
45+
Name : MyAnfAccount/MyAnfPool
46+
Type : Microsoft.NetApp/netAppAccounts/capacityPools
47+
Tags :
48+
PoolId : a3a53a09-fd70-37ab-39dc-392a04cba525
49+
Size : 4398046511104
50+
ServiceLevel : Premium
51+
ProvisioningState : Succeeded
52+
```
53+
54+
This command gets the account named MyAnfPool from the account "MyAnfAccount".
55+
56+
## PARAMETERS
57+
58+
### -AccountInputObject
59+
The account object containing the pool to return
60+
61+
```yaml
62+
Type: PSNetAppFilesAccount
63+
Parameter Sets: ByObjectParameterSet
64+
Aliases:
65+
66+
Required: False
67+
Position: Named
68+
Default value: None
69+
Accept pipeline input: True (ByValue)
70+
Accept wildcard characters: False
71+
```
72+
73+
### -AccountName
74+
The name of the ANF account
75+
76+
```yaml
77+
Type: String
78+
Parameter Sets: ByFieldsParameterSet
79+
Aliases:
80+
81+
Required: True
82+
Position: Named
83+
Default value: None
84+
Accept pipeline input: False
85+
Accept wildcard characters: False
86+
```
87+
88+
### -DefaultProfile
89+
The credentials, account, tenant, and subscription used for communication with Azure.
90+
91+
```yaml
92+
Type: IAzureContextContainer
93+
Parameter Sets: (All)
94+
Aliases: AzContext, AzureRmContext, AzureCredential
95+
96+
Required: False
97+
Position: Named
98+
Default value: None
99+
Accept pipeline input: False
100+
Accept wildcard characters: False
101+
```
102+
103+
### -Name
104+
The name of the ANF pool
105+
106+
```yaml
107+
Type: String
108+
Parameter Sets: ByFieldsParameterSet
109+
Aliases: PoolName
110+
111+
Required: False
112+
Position: Named
113+
Default value: None
114+
Accept pipeline input: False
115+
Accept wildcard characters: False
116+
```
117+
118+
### -ResourceGroupName
119+
The resource group of the ANF pool
120+
121+
```yaml
122+
Type: String
123+
Parameter Sets: ByFieldsParameterSet
124+
Aliases:
125+
126+
Required: True
127+
Position: Named
128+
Default value: None
129+
Accept pipeline input: False
130+
Accept wildcard characters: False
131+
```
132+
133+
### -ResourceId
134+
The resource id of the ANF pool
135+
136+
```yaml
137+
Type: String
138+
Parameter Sets: ByResourceIdParameterSet
139+
Aliases:
140+
141+
Required: True
142+
Position: Named
143+
Default value: None
144+
Accept pipeline input: True (ByPropertyName)
145+
Accept wildcard characters: False
146+
```
147+
148+
### CommonParameters
149+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
150+
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
151+
152+
## INPUTS
153+
154+
### System.String
155+
156+
### Microsoft.Azure.Commands.NetAppFiles.Models.PSNetAppFilesAccount
157+
158+
## OUTPUTS
159+
160+
### Microsoft.Azure.Commands.NetAppFiles.Models.PSNetAppFilesPool
161+
162+
## NOTES
163+
164+
## RELATED LINKS

0 commit comments

Comments
 (0)