Skip to content

Commit 4df3ab2

Browse files
authored
Nfsaas 1707 add netapp (#13)
* NFSAAS-1707 update from review comments * NFSAAS-1707 update from review comments * NFSAAS-1707 updates from review comments
1 parent f3fc634 commit 4df3ab2

14 files changed

+198
-198
lines changed

src/NetAppFiles/NetAppFiles/help/Get-AzNetAppFilesAccount.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Gets details of an Azure NetApp Files (ANF) account.
1414

1515
### ByFieldsParameterSet (Default)
1616
```
17-
Get-AzNetAppFilesAccount -ResourceGroupName <String> [-Name <String> | -AccountName <String>]
17+
Get-AzNetAppFilesAccount -ResourceGroupName <String> [-Name <String>]
1818
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
1919
```
2020

src/NetAppFiles/NetAppFiles/help/Get-AzNetAppFilesPool.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Gets details of an Azure NetApp Files (ANF) pool.
1414

1515
### ByFieldsParameterSet (Default)
1616
```
17-
Get-AzNetAppFilesPool -ResourceGroupName <String> -AccountName <String> [-Name <String> | -PoolName <String>]
17+
Get-AzNetAppFilesPool -ResourceGroupName <String> -AccountName <String> [-Name <String>]
1818
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
1919
```
2020

@@ -25,7 +25,7 @@ Get-AzNetAppFilesPool -ResourceId <String> [-DefaultProfile <IAzureContextContai
2525

2626
### ByObjectParameterSet
2727
```
28-
Get-AzNetAppFilesPool [-AccountInputObject <PSNetAppFilesAccount>] [-DefaultProfile <IAzureContextContainer>]
28+
Get-AzNetAppFilesPool -AccountObject <PSNetAppFilesAccount> [-DefaultProfile <IAzureContextContainer>]
2929
[<CommonParameters>]
3030
```
3131

@@ -55,33 +55,33 @@ This command gets the account named MyAnfPool from the account "MyAnfAccount".
5555

5656
## PARAMETERS
5757

58-
### -AccountInputObject
59-
The account object containing the pool to return
58+
### -AccountName
59+
The name of the ANF account
6060

6161
```yaml
62-
Type: PSNetAppFilesAccount
63-
Parameter Sets: ByObjectParameterSet
62+
Type: String
63+
Parameter Sets: ByFieldsParameterSet
6464
Aliases:
6565

66-
Required: False
66+
Required: True
6767
Position: Named
6868
Default value: None
69-
Accept pipeline input: True (ByValue)
69+
Accept pipeline input: False
7070
Accept wildcard characters: False
7171
```
7272
73-
### -AccountName
74-
The name of the ANF account
73+
### -AccountObject
74+
The account object containing the pool to return
7575
7676
```yaml
77-
Type: String
78-
Parameter Sets: ByFieldsParameterSet
77+
Type: PSNetAppFilesAccount
78+
Parameter Sets: ByObjectParameterSet
7979
Aliases:
8080

8181
Required: True
8282
Position: Named
8383
Default value: None
84-
Accept pipeline input: False
84+
Accept pipeline input: True (ByValue)
8585
Accept wildcard characters: False
8686
```
8787

src/NetAppFiles/NetAppFiles/help/Get-AzNetAppFilesSnapshot.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ Gets details of an Azure NetApp Files (ANF) snapshot.
1515
### ByFieldsParameterSet (Default)
1616
```
1717
Get-AzNetAppFilesSnapshot -ResourceGroupName <String> -AccountName <String> -PoolName <String>
18-
-VolumeName <String> [-Name <String> | -SnapshotName <String>] [-DefaultProfile <IAzureContextContainer>]
19-
[<CommonParameters>]
18+
-VolumeName <String> [-Name <String>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
2019
```
2120

2221
### ByResourceIdParameterSet
2322
```
24-
Get-AzNetAppFilesSnapshot -ResourceId <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
23+
Get-AzNetAppFilesSnapshot [-Name <String>] -ResourceId <String> [-DefaultProfile <IAzureContextContainer>]
24+
[<CommonParameters>]
2525
```
2626

2727
### ByParentObjectParameterSet
2828
```
29-
Get-AzNetAppFilesSnapshot [-Name <String> | -SnapshotName <String>] [-VolumeInputObject <PSNetAppFilesPool>]
29+
Get-AzNetAppFilesSnapshot [-Name <String>] -VolumeObject <PSNetAppFilesVolume>
3030
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
3131
```
3232

@@ -147,33 +147,33 @@ Accept pipeline input: True (ByPropertyName)
147147
Accept wildcard characters: False
148148
```
149149
150-
### -VolumeInputObject
151-
The pool object containing the volume to return
150+
### -VolumeName
151+
The name of the ANF volume
152152
153153
```yaml
154-
Type: PSNetAppFilesPool
155-
Parameter Sets: ByParentObjectParameterSet
154+
Type: String
155+
Parameter Sets: ByFieldsParameterSet
156156
Aliases:
157157

158-
Required: False
158+
Required: True
159159
Position: Named
160160
Default value: None
161-
Accept pipeline input: True (ByValue)
161+
Accept pipeline input: False
162162
Accept wildcard characters: False
163163
```
164164
165-
### -VolumeName
166-
The name of the ANF volume
165+
### -VolumeObject
166+
The volume object containing the snapshot to return
167167
168168
```yaml
169-
Type: String
170-
Parameter Sets: ByFieldsParameterSet
169+
Type: PSNetAppFilesVolume
170+
Parameter Sets: ByParentObjectParameterSet
171171
Aliases:
172172

173173
Required: True
174174
Position: Named
175175
Default value: None
176-
Accept pipeline input: False
176+
Accept pipeline input: True (ByValue)
177177
Accept wildcard characters: False
178178
```
179179
@@ -185,7 +185,7 @@ For more information, see about_CommonParameters (http://go.microsoft.com/fwlink
185185
186186
### System.String
187187
188-
### Microsoft.Azure.Commands.NetAppFiles.Models.PSNetAppFilesPool
188+
### Microsoft.Azure.Commands.NetAppFiles.Models.PSNetAppFilesVolume
189189
190190
## OUTPUTS
191191

src/NetAppFiles/NetAppFiles/help/Get-AzNetAppFilesVolume.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Gets details of an Azure NetApp Files (ANF) volume.
1414

1515
### ByFieldsParameterSet (Default)
1616
```
17-
Get-AzNetAppFilesVolume -ResourceGroupName <String> -AccountName <String> -PoolName <String> [-Name <String> | -VolumeName <String>]
17+
Get-AzNetAppFilesVolume -ResourceGroupName <String> -AccountName <String> -PoolName <String> [-Name <String>]
1818
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
1919
```
2020

@@ -25,7 +25,7 @@ Get-AzNetAppFilesVolume -ResourceId <String> [-DefaultProfile <IAzureContextCont
2525

2626
### ByParentObjectParameterSet
2727
```
28-
Get-AzNetAppFilesVolume [-PoolInputObject <PSNetAppFilesPool>] [-DefaultProfile <IAzureContextContainer>]
28+
Get-AzNetAppFilesVolume -PoolObject <PSNetAppFilesPool> [-DefaultProfile <IAzureContextContainer>]
2929
[<CommonParameters>]
3030
```
3131

@@ -103,33 +103,33 @@ Accept pipeline input: False
103103
Accept wildcard characters: False
104104
```
105105
106-
### -PoolInputObject
107-
The pool object containing the volume to return
106+
### -PoolName
107+
The name of the ANF pool
108108
109109
```yaml
110-
Type: PSNetAppFilesPool
111-
Parameter Sets: ByParentObjectParameterSet
110+
Type: String
111+
Parameter Sets: ByFieldsParameterSet
112112
Aliases:
113113

114-
Required: False
114+
Required: True
115115
Position: Named
116116
Default value: None
117-
Accept pipeline input: True (ByValue)
117+
Accept pipeline input: False
118118
Accept wildcard characters: False
119119
```
120120
121-
### -PoolName
122-
The name of the ANF pool
121+
### -PoolObject
122+
The pool object containing the volume to return
123123
124124
```yaml
125-
Type: String
126-
Parameter Sets: ByFieldsParameterSet
125+
Type: PSNetAppFilesPool
126+
Parameter Sets: ByParentObjectParameterSet
127127
Aliases:
128128

129129
Required: True
130130
Position: Named
131131
Default value: None
132-
Accept pipeline input: False
132+
Accept pipeline input: True (ByValue)
133133
Accept wildcard characters: False
134134
```
135135

src/NetAppFiles/NetAppFiles/help/New-AzNetAppFilesAccount.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Creates a new Azure NetApp Files (ANF) account.
1313
## SYNTAX
1414

1515
```
16-
New-AzNetAppFilesAccount -ResourceGroupName <String> -Location <String> [-Tag <Hashtable>] -Name <String> | -AccountName <String>
16+
New-AzNetAppFilesAccount -ResourceGroupName <String> -Location <String> [-Tag <Hashtable>] -Name <String>
1717
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
1818
```
1919

src/NetAppFiles/NetAppFiles/help/New-AzNetAppFilesPool.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ Creates a new Azure NetApp Files (ANF) pool.
1414

1515
### ByFieldsParameterSet (Default)
1616
```
17-
New-AzNetAppFilesPool -ResourceGroupName <String> -Location <String> -AccountName <String> [-Name <String> | -PoolName <String>]
17+
New-AzNetAppFilesPool -ResourceGroupName <String> -Location <String> -AccountName <String> -Name <String>
1818
-PoolSize <Int64> -ServiceLevel <String> [-Tag <Hashtable>] [-DefaultProfile <IAzureContextContainer>]
1919
[-WhatIf] [-Confirm] [<CommonParameters>]
2020
```
2121

2222
### ByParentObjectParameterSet
2323
```
24-
New-AzNetAppFilesPool -Name <String> | -PoolName <String> -PoolSize <Int64> -ServiceLevel <String> [-Tag <Hashtable>]
25-
[-InputObject <PSNetAppFilesAccount>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
24+
New-AzNetAppFilesPool -Name <String> -PoolSize <Int64> -ServiceLevel <String> [-Tag <Hashtable>]
25+
-AccountObject <PSNetAppFilesAccount> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
2626
[<CommonParameters>]
2727
```
2828

@@ -67,33 +67,33 @@ Accept pipeline input: False
6767
Accept wildcard characters: False
6868
```
6969
70-
### -DefaultProfile
71-
The credentials, account, tenant, and subscription used for communication with Azure.
70+
### -AccountObject
71+
The account for the new pool object
7272
7373
```yaml
74-
Type: IAzureContextContainer
75-
Parameter Sets: (All)
76-
Aliases: AzContext, AzureRmContext, AzureCredential
74+
Type: PSNetAppFilesAccount
75+
Parameter Sets: ByParentObjectParameterSet
76+
Aliases:
7777

78-
Required: False
78+
Required: True
7979
Position: Named
8080
Default value: None
81-
Accept pipeline input: False
81+
Accept pipeline input: True (ByValue)
8282
Accept wildcard characters: False
8383
```
8484
85-
### -InputObject
86-
The account for the new pool object
85+
### -DefaultProfile
86+
The credentials, account, tenant, and subscription used for communication with Azure.
8787
8888
```yaml
89-
Type: PSNetAppFilesAccount
90-
Parameter Sets: ByParentObjectParameterSet
91-
Aliases:
89+
Type: IAzureContextContainer
90+
Parameter Sets: (All)
91+
Aliases: AzContext, AzureRmContext, AzureCredential
9292

9393
Required: False
9494
Position: Named
9595
Default value: None
96-
Accept pipeline input: True (ByValue)
96+
Accept pipeline input: False
9797
Accept wildcard characters: False
9898
```
9999

src/NetAppFiles/NetAppFiles/help/New-AzNetAppFilesSnapshot.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Creates a new Azure NetApp Files (ANF) snapshot.
1515
### ByFieldsParameterSet (Default)
1616
```
1717
New-AzNetAppFilesSnapshot -ResourceGroupName <String> -Location <String> -AccountName <String>
18-
-PoolName <String> -VolumeName <String> -Name <String> | -SnapshotName <String> -FileSystemId <String> [-Tag <Hashtable>]
18+
-PoolName <String> -VolumeName <String> -Name <String> -FileSystemId <String> [-Tag <Hashtable>]
1919
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2020
```
2121

2222
### ByParentObjectParameterSet
2323
```
24-
New-AzNetAppFilesSnapshot -Name <String> | -SnapshotName <String> [-Tag <Hashtable>] [-InputObject <PSNetAppFilesVolume>]
24+
New-AzNetAppFilesSnapshot -Name <String> [-Tag <Hashtable>] -VolumeObject <PSNetAppFilesVolume>
2525
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2626
```
2727

@@ -96,21 +96,6 @@ Accept pipeline input: False
9696
Accept wildcard characters: False
9797
```
9898
99-
### -InputObject
100-
The volume for the new snapshot object
101-
102-
```yaml
103-
Type: PSNetAppFilesVolume
104-
Parameter Sets: ByParentObjectParameterSet
105-
Aliases:
106-
107-
Required: False
108-
Position: Named
109-
Default value: None
110-
Accept pipeline input: True (ByValue)
111-
Accept wildcard characters: False
112-
```
113-
11499
### -Location
115100
The location of the resource
116101
@@ -201,6 +186,21 @@ Accept pipeline input: False
201186
Accept wildcard characters: False
202187
```
203188
189+
### -VolumeObject
190+
The volume for the new snapshot object
191+
192+
```yaml
193+
Type: PSNetAppFilesVolume
194+
Parameter Sets: ByParentObjectParameterSet
195+
Aliases:
196+
197+
Required: True
198+
Position: Named
199+
Default value: None
200+
Accept pipeline input: True (ByValue)
201+
Accept wildcard characters: False
202+
```
203+
204204
### -Confirm
205205
Prompts you for confirmation before running the cmdlet.
206206

0 commit comments

Comments
 (0)