Skip to content

Commit e1133d1

Browse files
authored
Merge pull request #147 from microsoftgraph/dev
Release 0.3.0
2 parents 8a6a762 + 529d5ce commit e1133d1

File tree

139 files changed

+4022
-1715
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+4022
-1715
lines changed

openApiDocs/Beta/Identity.Organization.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ paths:
4343
- countryLetterCode desc
4444
- createdDateTime
4545
- createdDateTime desc
46+
- directorySizeQuota
47+
- directorySizeQuota desc
4648
- displayName
4749
- displayName desc
4850
- isMultipleDataLocationsForServicesEnabled
@@ -95,6 +97,7 @@ paths:
9597
- country
9698
- countryLetterCode
9799
- createdDateTime
100+
- directorySizeQuota
98101
- displayName
99102
- isMultipleDataLocationsForServicesEnabled
100103
- marketingNotificationEmails
@@ -199,6 +202,7 @@ paths:
199202
- country
200203
- countryLetterCode
201204
- createdDateTime
205+
- directorySizeQuota
202206
- displayName
203207
- isMultipleDataLocationsForServicesEnabled
204208
- marketingNotificationEmails
@@ -1169,6 +1173,8 @@ components:
11691173
description: 'Timestamp of when the organization was created. The value cannot be modified and is automatically populated when the organization is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: ''2014-01-01T00:00:00Z''. Read-only.'
11701174
format: date-time
11711175
nullable: true
1176+
directorySizeQuota:
1177+
$ref: '#/components/schemas/microsoft.graph.directorySizeQuota'
11721178
displayName:
11731179
type: string
11741180
description: The display name for the tenant.
@@ -1263,6 +1269,8 @@ components:
12631269
country: string
12641270
countryLetterCode: string
12651271
createdDateTime: string (timestamp)
1272+
directorySizeQuota:
1273+
'@odata.type': microsoft.graph.directorySizeQuota
12661274
displayName: string
12671275
isMultipleDataLocationsForServicesEnabled: true
12681276
marketingNotificationEmails:
@@ -1397,6 +1405,25 @@ components:
13971405
capabilityStatus: string
13981406
service: string
13991407
servicePlanId: string
1408+
microsoft.graph.directorySizeQuota:
1409+
title: directorySizeQuota
1410+
type: object
1411+
properties:
1412+
used:
1413+
maximum: 2147483647
1414+
minimum: -2147483648
1415+
type: integer
1416+
format: int32
1417+
nullable: true
1418+
total:
1419+
maximum: 2147483647
1420+
minimum: -2147483648
1421+
type: integer
1422+
format: int32
1423+
nullable: true
1424+
example:
1425+
used: integer
1426+
total: integer
14001427
microsoft.graph.privacyProfile:
14011428
title: privacyProfile
14021429
type: object

samples/0-InstallModule.ps1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ Install-module Microsoft.Graph
66
# Uninstalling the old preview version, before installing the new
77

88
# Remove the main meta module
9-
Uninstall-Module Microsoft.Graph.Beta
9+
Uninstall-Module Microsoft.Graph
1010

1111
# Remove all the dependent modules
12-
Get-InstalledModule Microsoft.Graph.Beta.* | uninstall-module
12+
Get-InstalledModule Microsoft.Graph.* | %{ if($_.Name -ne "Microsoft.Graph.Authentication"){ Uninstall-Module $_.Name } }
1313

14-
# Update the authentication module from 0.1.4 to 0.1.5
14+
# Update the authentication module from 0.1.5 to 0.2.0
1515
Install-Module Microsoft.Graph.Authentication -Repository PSGallery -force
1616

17+
# Or uninstall the authentication module
18+
Uninstall-Module Microsoft.Graph.Authentication
19+

src/Beta/Identity.AdministrativeUnits/Identity.AdministrativeUnits/Microsoft.Graph.Identity.AdministrativeUnits.psd1

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 3/12/2020
6+
# Generated on: 3/19/2020
77
#
88

99
@{
@@ -12,13 +12,13 @@
1212
RootModule = './Microsoft.Graph.Identity.AdministrativeUnits.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.2.0'
15+
ModuleVersion = '0.2.2'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
1919

2020
# ID used to uniquely identify this module
21-
GUID = '9bf8df7f-5dd7-4a27-97e1-e04934d1c7c2'
21+
GUID = 'bc946137-ea60-484e-901d-fdfed544df8b'
2222

2323
# Author of this module
2424
Author = 'Microsoft Corporation'
@@ -69,7 +69,24 @@ FormatsToProcess = './Microsoft.Graph.Identity.AdministrativeUnits.format.ps1xml
6969
# NestedModules = @()
7070

7171
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
72-
FunctionsToExport = '*'
72+
FunctionsToExport = 'Confirm-MgAdministrativeUnitMemberGroup',
73+
'Confirm-MgAdministrativeUnitMemberObject',
74+
'Confirm-MgAdministrativeUnitProperty', 'Get-MgAdministrativeUnit',
75+
'Get-MgAdministrativeUnitById', 'Get-MgAdministrativeUnitDelta',
76+
'Get-MgAdministrativeUnitExtension',
77+
'Get-MgAdministrativeUnitMember',
78+
'Get-MgAdministrativeUnitMemberGroup',
79+
'Get-MgAdministrativeUnitMemberObject',
80+
'Get-MgAdministrativeUnitScopedRoleMember',
81+
'Get-MgAdministrativeUnitUserOwnedObject',
82+
'Get-MgUserScopedRoleMember', 'New-MgAdministrativeUnit',
83+
'New-MgAdministrativeUnitExtension',
84+
'New-MgAdministrativeUnitScopedRoleMember',
85+
'New-MgUserScopedRoleMember', 'Remove-MgAdministrativeUnit',
86+
'Restore-MgAdministrativeUnit', 'Update-MgAdministrativeUnit',
87+
'Update-MgAdministrativeUnitExtension',
88+
'Update-MgAdministrativeUnitScopedRoleMember',
89+
'Update-MgUserScopedRoleMember'
7390

7491
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
7592
CmdletsToExport = @()

src/Beta/Identity.AdministrativeUnits/Identity.AdministrativeUnits/docs/Get-MgAdministrativeUnit.md

Lines changed: 5 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ Get entity from administrativeUnits by key
1212

1313
## SYNTAX
1414

15-
### GetExpanded (Default)
15+
### List (Default)
1616
```
17-
Get-MgAdministrativeUnit [-Ids <String[]>] [-Types <String[]>] [-Confirm] [-WhatIf] [<CommonParameters>]
17+
Get-MgAdministrativeUnit [-Count] [-Expand <String[]>] [-Filter <String>] [-Orderby <String[]>]
18+
[-Search <String>] [-Select <String[]>] [-Skip <Int32>] [-Top <Int32>] [<CommonParameters>]
1819
```
1920

2021
### Get
@@ -23,25 +24,12 @@ Get-MgAdministrativeUnit -AdministrativeUnitId <String> [-Expand <String[]>] [-S
2324
[<CommonParameters>]
2425
```
2526

26-
### Get1
27-
```
28-
Get-MgAdministrativeUnit
29-
-BodyParameter <IPaths1Q1Zk0IAdministrativeunitsMicrosoftGraphGetbyidsPostRequestbodyContentApplicationJsonSchema>
30-
[-Confirm] [-WhatIf] [<CommonParameters>]
31-
```
32-
3327
### GetViaIdentity
3428
```
3529
Get-MgAdministrativeUnit -InputObject <IIdentityAdministrativeUnitsIdentity> [-Expand <String[]>]
3630
[-Select <String[]>] [<CommonParameters>]
3731
```
3832

39-
### List
40-
```
41-
Get-MgAdministrativeUnit [-Count] [-Expand <String[]>] [-Filter <String>] [-Orderby <String[]>]
42-
[-Search <String>] [-Select <String[]>] [-Skip <Int32>] [-Top <Int32>] [<CommonParameters>]
43-
```
44-
4533
## DESCRIPTION
4634
Get entity from administrativeUnits by key
4735

@@ -83,23 +71,6 @@ Accept wildcard characters: False
8371
Dynamic: False
8472
```
8573
86-
### -BodyParameter
87-
.
88-
To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
89-
90-
```yaml
91-
Type: Microsoft.Graph.PowerShell.Models.IPaths1Q1Zk0IAdministrativeunitsMicrosoftGraphGetbyidsPostRequestbodyContentApplicationJsonSchema
92-
Parameter Sets: Get1
93-
Aliases:
94-
95-
Required: True
96-
Position: Named
97-
Default value: None
98-
Accept pipeline input: True (ByValue)
99-
Accept wildcard characters: False
100-
Dynamic: False
101-
```
102-
10374
### -Count
10475
Include count of items
10576
@@ -121,7 +92,7 @@ Expand related entities
12192
12293
```yaml
12394
Type: System.String[]
124-
Parameter Sets: Get, GetViaIdentity, List
95+
Parameter Sets: (All)
12596
Aliases:
12697

12798
Required: False
@@ -148,22 +119,6 @@ Accept wildcard characters: False
148119
Dynamic: False
149120
```
150121
151-
### -Ids
152-
.
153-
154-
```yaml
155-
Type: System.String[]
156-
Parameter Sets: GetExpanded
157-
Aliases:
158-
159-
Required: False
160-
Position: Named
161-
Default value: None
162-
Accept pipeline input: False
163-
Accept wildcard characters: False
164-
Dynamic: False
165-
```
166-
167122
### -InputObject
168123
Identity Parameter
169124
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
@@ -218,7 +173,7 @@ Select properties to be returned
218173
219174
```yaml
220175
Type: System.String[]
221-
Parameter Sets: Get, GetViaIdentity, List
176+
Parameter Sets: (All)
222177
Aliases:
223178

224179
Required: False
@@ -261,81 +216,24 @@ Accept wildcard characters: False
261216
Dynamic: False
262217
```
263218
264-
### -Types
265-
.
266-
267-
```yaml
268-
Type: System.String[]
269-
Parameter Sets: GetExpanded
270-
Aliases:
271-
272-
Required: False
273-
Position: Named
274-
Default value: None
275-
Accept pipeline input: False
276-
Accept wildcard characters: False
277-
Dynamic: False
278-
```
279-
280-
### -Confirm
281-
Prompts you for confirmation before running the cmdlet.
282-
283-
```yaml
284-
Type: System.Management.Automation.SwitchParameter
285-
Parameter Sets: (All)
286-
Aliases: cf
287-
288-
Required: False
289-
Position: Named
290-
Default value: None
291-
Accept pipeline input: False
292-
Accept wildcard characters: False
293-
Dynamic: False
294-
```
295-
296-
### -WhatIf
297-
Shows what would happen if the cmdlet runs.
298-
The cmdlet is not run.
299-
300-
```yaml
301-
Type: System.Management.Automation.SwitchParameter
302-
Parameter Sets: (All)
303-
Aliases: wi
304-
305-
Required: False
306-
Position: Named
307-
Default value: None
308-
Accept pipeline input: False
309-
Accept wildcard characters: False
310-
Dynamic: False
311-
```
312-
313219
### CommonParameters
314220
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
315221
316222
## INPUTS
317223
318224
### Microsoft.Graph.PowerShell.Models.IIdentityAdministrativeUnitsIdentity
319225
320-
### Microsoft.Graph.PowerShell.Models.IPaths1Q1Zk0IAdministrativeunitsMicrosoftGraphGetbyidsPostRequestbodyContentApplicationJsonSchema
321-
322226
## OUTPUTS
323227
324228
### Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAdministrativeUnit
325229
326-
### Microsoft.Graph.PowerShell.Models.IMicrosoftGraphDirectoryObject
327-
328230
## ALIASES
329231
330232
## NOTES
331233
332234
### COMPLEX PARAMETER PROPERTIES
333235
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
334236
335-
#### BODYPARAMETER <IPaths1Q1Zk0IAdministrativeunitsMicrosoftGraphGetbyidsPostRequestbodyContentApplicationJsonSchema>: .
336-
- `[Ids <String[]>]`:
337-
- `[Types <String[]>]`:
338-
339237
#### INPUTOBJECT <IIdentityAdministrativeUnitsIdentity>: Identity Parameter
340238
- `[AdministrativeUnitId <String>]`: key: administrativeUnit-id of administrativeUnit
341239
- `[DirectoryObjectId <String>]`: key: directoryObject-id of directoryObject

0 commit comments

Comments
 (0)