Skip to content

Commit ed15cb9

Browse files
Migrate Resources from generation to main (#19656)
* Move Resources to main * Update ChangeLog.md Co-authored-by: Yabo Hu <[email protected]>
1 parent 1c98bd0 commit ed15cb9

17 files changed

+196
-9
lines changed

src/Resources/Authorization.Autorest/docs/Az.Authorization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.Authorization
3-
Module Guid: d3d396b9-c02d-407b-b0ce-c83a1289ce6c
3+
Module Guid: faf9dbcb-8de4-4d0e-861b-ad848ca5d95b
44
Download Help Link: https://docs.microsoft.com/powershell/module/az.authorization
55
Help Version: 1.0.0.0
66
Locale: en-US
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"autorest": "`-- (empty)",
3-
"node": "v14.15.5",
4-
"autorest_powershell": "3.0.494",
2+
"swagger_commit": "71ceebe95c8b5b129930c014d062bcf2cf80961a",
53
"autorest_modelerfour": "4.15.414",
64
"autorest_core": "3.9.2",
7-
"swagger_commit": "99977890f7a2e8cf9b4e229f452c1af7b30184e4"
5+
"autorest": "`-- (empty)",
6+
"node": "v14.15.5",
7+
"autorest_powershell": "3.0.494"
88
}

src/Resources/MSGraph.Autorest/custom/Get-AzADApplication.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ param(
7171
# Select properties to be returned
7272
${Select},
7373

74+
[Parameter(ParameterSetName='List')]
75+
[Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Category('Query')]
76+
[System.Management.Automation.SwitchParameter]
77+
# Include count of items
78+
${Count},
79+
7480
[Parameter(ParameterSetName='EmptyParameterSet')]
7581
[Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Category('Query')]
7682
[System.String]

src/Resources/MSGraph.Autorest/custom/Get-AzADGroup.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ function Get-AzADGroup {
5353
# Select properties to be returned
5454
${Select},
5555

56+
[Parameter(ParameterSetName='List')]
57+
[Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Category('Query')]
58+
[System.Management.Automation.SwitchParameter]
59+
# Include count of items
60+
${Count},
61+
5662
[Parameter(ParameterSetName='EmptyParameterSet')]
5763
[System.String]
5864
# Filter items by property values, for more detail about filter query please see: https://learn.microsoft.com/en-us/graph/filter-query-parameter

src/Resources/MSGraph.Autorest/custom/Get-AzADServicePrincipal.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ param(
7272
# Select properties to be returned
7373
${Select},
7474

75+
[Parameter(ParameterSetName='List')]
76+
[Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Category('Query')]
77+
[System.Management.Automation.SwitchParameter]
78+
# Include count of items
79+
${Count},
80+
7581
[Parameter(ParameterSetName='EmptyParameterSet')]
7682
[Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Category('Query')]
7783
[System.String]

src/Resources/MSGraph.Autorest/docs/Get-AzADApplication.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ Get-AzADApplication -DisplayName <String> [-Select <String[]>] [-AppendSelected]
4343
[-Skip <UInt64>] [-DefaultProfile <PSObject>] [<CommonParameters>]
4444
```
4545

46+
### List
47+
```
48+
Get-AzADApplication [-Count] [-Select <String[]>] [-AppendSelected] [-First <UInt64>] [-Skip <UInt64>]
49+
[-DefaultProfile <PSObject>] [<CommonParameters>]
50+
```
51+
4652
### OwnedApplicationParameterSet
4753
```
4854
Get-AzADApplication -OwnedApplication [-Orderby <String[]>] [-Select <String[]>] [-AppendSelected]
@@ -150,6 +156,21 @@ Accept pipeline input: False
150156
Accept wildcard characters: False
151157
```
152158
159+
### -Count
160+
Include count of items
161+
162+
```yaml
163+
Type: System.Management.Automation.SwitchParameter
164+
Parameter Sets: List
165+
Aliases:
166+
167+
Required: False
168+
Position: Named
169+
Default value: None
170+
Accept pipeline input: False
171+
Accept wildcard characters: False
172+
```
173+
153174
### -DefaultProfile
154175
The credentials, account, tenant, and subscription used for communication with Azure.
155176

src/Resources/MSGraph.Autorest/docs/Get-AzADGroup.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ Get-AzADGroup -DisplayName <String> [-AppendSelected] [-ConsistencyLevel <String
2525
[-First <UInt64>] [-Select <String[]>] [-Skip <UInt64>] [-DefaultProfile <PSObject>] [<CommonParameters>]
2626
```
2727

28+
### List
29+
```
30+
Get-AzADGroup [-Count] [-AppendSelected] [-ConsistencyLevel <String>] [-Expand <String[]>]
31+
[-Select <String[]>] [-DefaultProfile <PSObject>] [<CommonParameters>]
32+
```
33+
2834
### ObjectIdParameterSet
2935
```
3036
Get-AzADGroup -ObjectId <Guid> [-AppendSelected] [-ConsistencyLevel <String>] [-Expand <String[]>]
@@ -104,6 +110,21 @@ Accept pipeline input: False
104110
Accept wildcard characters: False
105111
```
106112
113+
### -Count
114+
Include count of items
115+
116+
```yaml
117+
Type: System.Management.Automation.SwitchParameter
118+
Parameter Sets: List
119+
Aliases:
120+
121+
Required: False
122+
Position: Named
123+
Default value: None
124+
Accept pipeline input: False
125+
Accept wildcard characters: False
126+
```
127+
107128
### -DefaultProfile
108129
The credentials, account, tenant, and subscription used for communication with Azure.
109130

src/Resources/MSGraph.Autorest/docs/Get-AzADServicePrincipal.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ Get-AzADServicePrincipal -DisplayName <String> [-Select <String[]>] [-AppendSele
3737
[-Skip <UInt64>] [-DefaultProfile <PSObject>] [<CommonParameters>]
3838
```
3939

40+
### List
41+
```
42+
Get-AzADServicePrincipal [-Count] [-Select <String[]>] [-AppendSelected] [-First <UInt64>] [-Skip <UInt64>]
43+
[-DefaultProfile <PSObject>] [<CommonParameters>]
44+
```
45+
4046
### ObjectIdParameterSet
4147
```
4248
Get-AzADServicePrincipal -ObjectId <String> [-Select <String[]>] [-AppendSelected] [-First <UInt64>]
@@ -166,6 +172,21 @@ Accept pipeline input: False
166172
Accept wildcard characters: False
167173
```
168174
175+
### -Count
176+
Include count of items
177+
178+
```yaml
179+
Type: System.Management.Automation.SwitchParameter
180+
Parameter Sets: List
181+
Aliases:
182+
183+
Required: False
184+
Position: Named
185+
Default value: None
186+
Accept pipeline input: False
187+
Accept wildcard characters: False
188+
```
189+
169190
### -DefaultProfile
170191
The credentials, account, tenant, and subscription used for communication with Azure.
171192

src/Resources/MSGraph.Autorest/exports/Get-AzADApplication.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ param(
107107
# application identifier uri
108108
${IdentifierUri},
109109

110+
[Parameter(ParameterSetName='List')]
111+
[Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Category('Query')]
112+
[System.Management.Automation.SwitchParameter]
113+
# Include count of items
114+
${Count},
115+
110116
[Parameter(ParameterSetName='EmptyParameterSet')]
111117
[Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Category('Header')]
112118
[System.String]
@@ -213,6 +219,7 @@ begin {
213219
ApplicationIdParameterSet = 'Az.MSGraph.custom\Get-AzADApplication';
214220
ApplicationIdentifierUriParameterSet = 'Az.MSGraph.custom\Get-AzADApplication';
215221
OwnedApplicationParameterSet = 'Az.MSGraph.custom\Get-AzADApplication';
222+
List = 'Az.MSGraph.custom\Get-AzADApplication';
216223
}
217224
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
218225
[Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)

src/Resources/MSGraph.Autorest/exports/Get-AzADGroup.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ function Get-AzADGroup {
3737
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.IMicrosoftGraphGroup])]
3838
[CmdletBinding(DefaultParameterSetName='EmptyParameterSet', PositionalBinding=$false)]
3939
param(
40+
[Parameter(ParameterSetName='List')]
41+
[Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Category('Query')]
42+
[System.Management.Automation.SwitchParameter]
43+
# Include count of items
44+
${Count},
45+
4046
[Parameter()]
4147
[AllowEmptyCollection()]
4248
[Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Category('Body')]
@@ -196,6 +202,7 @@ begin {
196202
ObjectIdParameterSet = 'Az.MSGraph.custom\Get-AzADGroup';
197203
SearchStringParameterSet = 'Az.MSGraph.custom\Get-AzADGroup';
198204
DisplayNameParameterSet = 'Az.MSGraph.custom\Get-AzADGroup';
205+
List = 'Az.MSGraph.custom\Get-AzADGroup';
199206
}
200207
$cmdInfo = Get-Command -Name $mapping[$parameterSet]
201208
[Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)

0 commit comments

Comments
 (0)