Skip to content

Commit c851777

Browse files
committed
Remove invalid paths from users.onenote
1 parent 2853c11 commit c851777

File tree

2 files changed

+23
-223
lines changed

2 files changed

+23
-223
lines changed

src/Users.OneNote/Users.OneNote/Microsoft.Graph.Users.OneNote.psd1

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

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

1414
# Version number of this module.
15-
ModuleVersion = '0.5.1'
15+
ModuleVersion = '0.9.0'
1616

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

2020
# ID used to uniquely identify this module
21-
GUID = 'a1f4d17e-8a12-4130-b3f1-e8c983b70066'
21+
GUID = 'ffe8645e-9033-4680-9b03-aecd10bdb62c'
2222

2323
# Author of this module
2424
Author = 'Microsoft Corporation'
@@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '0.7.0'; })
54+
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '0.7.1'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = './bin/Microsoft.Graph.Users.OneNote.private.dll'
@@ -69,231 +69,20 @@ FormatsToProcess = './Microsoft.Graph.Users.OneNote.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 = 'Get-MgUserOnenote', 'Get-MgUserOnenoteNotebook',
73-
'Get-MgUserOnenoteNotebookSection',
72+
FunctionsToExport = 'Get-MgUserOnenoteNotebook', 'Get-MgUserOnenoteNotebookSection',
7473
'Get-MgUserOnenoteNotebookSectionGroup',
75-
'Get-MgUserOnenoteNotebookSectionGroupParentNotebook',
76-
'Get-MgUserOnenoteNotebookSectionGroupParentSectionGroup',
77-
'Get-MgUserOnenoteNotebookSectionGroupSection',
78-
'Get-MgUserOnenoteNotebookSectionGroupSectionPage',
79-
'Get-MgUserOnenoteNotebookSectionGroupSectionPageParentNotebook',
80-
'Get-MgUserOnenoteNotebookSectionGroupSectionPageParentSection',
81-
'Get-MgUserOnenoteNotebookSectionGroupSectionParentNotebook',
82-
'Get-MgUserOnenoteNotebookSectionGroupSectionParentSectionGroup',
83-
'Get-MgUserOnenoteNotebookSectionPage',
84-
'Get-MgUserOnenoteNotebookSectionPageParentNotebook',
85-
'Get-MgUserOnenoteNotebookSectionPageParentSection',
86-
'Get-MgUserOnenoteNotebookSectionParentNotebook',
87-
'Get-MgUserOnenoteNotebookSectionParentSectionGroup',
88-
'Get-MgUserOnenoteNotebookSectionParentSectionGroupParentNotebook',
89-
'Get-MgUserOnenoteNotebookSectionParentSectionGroupParentSectionGroup',
90-
'Get-MgUserOnenoteNotebookSectionParentSectionGroupSection',
9174
'Get-MgUserOnenoteOperation', 'Get-MgUserOnenotePage',
92-
'Get-MgUserOnenotePageParentNotebook',
93-
'Get-MgUserOnenotePageParentNotebookSection',
94-
'Get-MgUserOnenotePageParentNotebookSectionGroup',
95-
'Get-MgUserOnenotePageParentNotebookSectionGroupParentNotebook',
96-
'Get-MgUserOnenotePageParentNotebookSectionGroupParentSectionGroup',
97-
'Get-MgUserOnenotePageParentNotebookSectionGroupSection',
98-
'Get-MgUserOnenotePageParentNotebookSectionGroupSectionPage',
99-
'Get-MgUserOnenotePageParentNotebookSectionGroupSectionParentNotebook',
100-
'Get-MgUserOnenotePageParentNotebookSectionGroupSectionParentSectionGroup',
101-
'Get-MgUserOnenotePageParentNotebookSectionPage',
102-
'Get-MgUserOnenotePageParentNotebookSectionParentNotebook',
103-
'Get-MgUserOnenotePageParentNotebookSectionParentSectionGroup',
104-
'Get-MgUserOnenotePageParentNotebookSectionParentSectionGroupParentNotebook',
105-
'Get-MgUserOnenotePageParentNotebookSectionParentSectionGroupParentSectionGroup',
106-
'Get-MgUserOnenotePageParentNotebookSectionParentSectionGroupSection',
107-
'Get-MgUserOnenotePageParentSection',
108-
'Get-MgUserOnenotePageParentSectionGroup',
109-
'Get-MgUserOnenotePageParentSectionGroupParentNotebook',
110-
'Get-MgUserOnenotePageParentSectionGroupParentNotebookSection',
111-
'Get-MgUserOnenotePageParentSectionGroupParentNotebookSectionGroup',
112-
'Get-MgUserOnenotePageParentSectionGroupParentSectionGroup',
113-
'Get-MgUserOnenotePageParentSectionGroupSection',
114-
'Get-MgUserOnenotePageParentSectionPage',
115-
'Get-MgUserOnenotePageParentSectionParentNotebook',
116-
'Get-MgUserOnenotePageParentSectionParentNotebookSection',
117-
'Get-MgUserOnenotePageParentSectionParentNotebookSectionGroup',
118-
'Get-MgUserOnenotePageParentSectionParentNotebookSectionGroupParentNotebook',
119-
'Get-MgUserOnenotePageParentSectionParentNotebookSectionGroupParentSectionGroup',
120-
'Get-MgUserOnenotePageParentSectionParentNotebookSectionGroupSection',
12175
'Get-MgUserOnenoteResource', 'Get-MgUserOnenoteSection',
12276
'Get-MgUserOnenoteSectionGroup',
123-
'Get-MgUserOnenoteSectionGroupParentNotebook',
124-
'Get-MgUserOnenoteSectionGroupParentNotebookSection',
125-
'Get-MgUserOnenoteSectionGroupParentNotebookSectionGroup',
126-
'Get-MgUserOnenoteSectionGroupParentNotebookSectionPage',
127-
'Get-MgUserOnenoteSectionGroupParentNotebookSectionPageParentNotebook',
128-
'Get-MgUserOnenoteSectionGroupParentNotebookSectionPageParentSection',
129-
'Get-MgUserOnenoteSectionGroupParentNotebookSectionParentNotebook',
130-
'Get-MgUserOnenoteSectionGroupParentNotebookSectionParentSectionGroup',
131-
'Get-MgUserOnenoteSectionGroupParentSectionGroup',
13277
'Get-MgUserOnenoteSectionGroupSection',
133-
'Get-MgUserOnenoteSectionGroupSectionPage',
134-
'Get-MgUserOnenoteSectionGroupSectionPageParentNotebook',
135-
'Get-MgUserOnenoteSectionGroupSectionPageParentNotebookSection',
136-
'Get-MgUserOnenoteSectionGroupSectionPageParentNotebookSectionGroup',
137-
'Get-MgUserOnenoteSectionGroupSectionPageParentSection',
138-
'Get-MgUserOnenoteSectionGroupSectionParentNotebook',
139-
'Get-MgUserOnenoteSectionGroupSectionParentNotebookSection',
140-
'Get-MgUserOnenoteSectionGroupSectionParentNotebookSectionGroup',
141-
'Get-MgUserOnenoteSectionGroupSectionParentSectionGroup',
142-
'Get-MgUserOnenoteSectionPage',
143-
'Get-MgUserOnenoteSectionPageParentNotebook',
144-
'Get-MgUserOnenoteSectionPageParentNotebookSection',
145-
'Get-MgUserOnenoteSectionPageParentNotebookSectionGroup',
146-
'Get-MgUserOnenoteSectionPageParentNotebookSectionGroupParentNotebook',
147-
'Get-MgUserOnenoteSectionPageParentNotebookSectionGroupParentSectionGroup',
148-
'Get-MgUserOnenoteSectionPageParentNotebookSectionGroupSection',
149-
'Get-MgUserOnenoteSectionPageParentSection',
150-
'Get-MgUserOnenoteSectionParentNotebook',
151-
'Get-MgUserOnenoteSectionParentNotebookSection',
152-
'Get-MgUserOnenoteSectionParentNotebookSectionGroup',
153-
'Get-MgUserOnenoteSectionParentNotebookSectionGroupParentNotebook',
154-
'Get-MgUserOnenoteSectionParentNotebookSectionGroupParentSectionGroup',
155-
'Get-MgUserOnenoteSectionParentNotebookSectionGroupSection',
156-
'Get-MgUserOnenoteSectionParentSectionGroup',
157-
'Get-MgUserOnenoteSectionParentSectionGroupParentNotebook',
158-
'Get-MgUserOnenoteSectionParentSectionGroupParentNotebookSection',
159-
'Get-MgUserOnenoteSectionParentSectionGroupParentNotebookSectionGroup',
160-
'Get-MgUserOnenoteSectionParentSectionGroupParentSectionGroup',
161-
'Get-MgUserOnenoteSectionParentSectionGroupSection',
162-
'New-MgUserOnenoteNotebook', 'New-MgUserOnenoteNotebookSection',
163-
'New-MgUserOnenoteNotebookSectionGroup',
164-
'New-MgUserOnenoteNotebookSectionGroupSection',
165-
'New-MgUserOnenoteNotebookSectionGroupSectionPage',
166-
'New-MgUserOnenoteNotebookSectionPage',
167-
'New-MgUserOnenoteNotebookSectionParentSectionGroup',
168-
'New-MgUserOnenoteNotebookSectionParentSectionGroupSection',
169-
'New-MgUserOnenoteOperation', 'New-MgUserOnenotePage',
170-
'New-MgUserOnenotePageParentNotebookSection',
171-
'New-MgUserOnenotePageParentNotebookSectionGroup',
172-
'New-MgUserOnenotePageParentNotebookSectionGroupSection',
173-
'New-MgUserOnenotePageParentNotebookSectionGroupSectionPage',
174-
'New-MgUserOnenotePageParentNotebookSectionPage',
175-
'New-MgUserOnenotePageParentNotebookSectionParentSectionGroup',
176-
'New-MgUserOnenotePageParentNotebookSectionParentSectionGroupSection',
177-
'New-MgUserOnenotePageParentSectionGroup',
178-
'New-MgUserOnenotePageParentSectionGroupParentNotebookSection',
179-
'New-MgUserOnenotePageParentSectionGroupParentNotebookSectionGroup',
180-
'New-MgUserOnenotePageParentSectionGroupSection',
181-
'New-MgUserOnenotePageParentSectionPage',
182-
'New-MgUserOnenotePageParentSectionParentNotebookSection',
183-
'New-MgUserOnenotePageParentSectionParentNotebookSectionGroup',
184-
'New-MgUserOnenotePageParentSectionParentNotebookSectionGroupSection',
185-
'New-MgUserOnenoteResource', 'New-MgUserOnenoteSection',
186-
'New-MgUserOnenoteSectionGroup',
187-
'New-MgUserOnenoteSectionGroupParentNotebookSection',
188-
'New-MgUserOnenoteSectionGroupParentNotebookSectionGroup',
189-
'New-MgUserOnenoteSectionGroupParentNotebookSectionPage',
78+
'Get-MgUserOnenoteSectionPage', 'New-MgUserOnenoteNotebook',
79+
'New-MgUserOnenoteNotebookSection',
80+
'New-MgUserOnenoteNotebookSectionGroup', 'New-MgUserOnenotePage',
81+
'New-MgUserOnenoteSection', 'New-MgUserOnenoteSectionGroup',
19082
'New-MgUserOnenoteSectionGroupSection',
191-
'New-MgUserOnenoteSectionGroupSectionPage',
192-
'New-MgUserOnenoteSectionGroupSectionPageParentNotebookSection',
193-
'New-MgUserOnenoteSectionGroupSectionPageParentNotebookSectionGroup',
194-
'New-MgUserOnenoteSectionGroupSectionParentNotebookSection',
195-
'New-MgUserOnenoteSectionGroupSectionParentNotebookSectionGroup',
196-
'New-MgUserOnenoteSectionPage',
197-
'New-MgUserOnenoteSectionPageParentNotebookSection',
198-
'New-MgUserOnenoteSectionPageParentNotebookSectionGroup',
199-
'New-MgUserOnenoteSectionPageParentNotebookSectionGroupSection',
200-
'New-MgUserOnenoteSectionParentNotebookSection',
201-
'New-MgUserOnenoteSectionParentNotebookSectionGroup',
202-
'New-MgUserOnenoteSectionParentNotebookSectionGroupSection',
203-
'New-MgUserOnenoteSectionParentSectionGroup',
204-
'New-MgUserOnenoteSectionParentSectionGroupParentNotebookSection',
205-
'New-MgUserOnenoteSectionParentSectionGroupParentNotebookSectionGroup',
206-
'New-MgUserOnenoteSectionParentSectionGroupSection',
207-
'Update-MgUserOnenote', 'Update-MgUserOnenoteNotebook',
208-
'Update-MgUserOnenoteNotebookSection',
209-
'Update-MgUserOnenoteNotebookSectionGroup',
210-
'Update-MgUserOnenoteNotebookSectionGroupParentNotebook',
211-
'Update-MgUserOnenoteNotebookSectionGroupParentSectionGroup',
212-
'Update-MgUserOnenoteNotebookSectionGroupSection',
213-
'Update-MgUserOnenoteNotebookSectionGroupSectionPage',
214-
'Update-MgUserOnenoteNotebookSectionGroupSectionPageParentNotebook',
215-
'Update-MgUserOnenoteNotebookSectionGroupSectionPageParentSection',
216-
'Update-MgUserOnenoteNotebookSectionGroupSectionParentNotebook',
217-
'Update-MgUserOnenoteNotebookSectionGroupSectionParentSectionGroup',
218-
'Update-MgUserOnenoteNotebookSectionPage',
219-
'Update-MgUserOnenoteNotebookSectionPageParentNotebook',
220-
'Update-MgUserOnenoteNotebookSectionPageParentSection',
221-
'Update-MgUserOnenoteNotebookSectionParentNotebook',
222-
'Update-MgUserOnenoteNotebookSectionParentSectionGroup',
223-
'Update-MgUserOnenoteNotebookSectionParentSectionGroupParentNotebook',
224-
'Update-MgUserOnenoteNotebookSectionParentSectionGroupParentSectionGroup',
225-
'Update-MgUserOnenoteNotebookSectionParentSectionGroupSection',
226-
'Update-MgUserOnenoteOperation', 'Update-MgUserOnenotePage',
227-
'Update-MgUserOnenotePageParentNotebook',
228-
'Update-MgUserOnenotePageParentNotebookSection',
229-
'Update-MgUserOnenotePageParentNotebookSectionGroup',
230-
'Update-MgUserOnenotePageParentNotebookSectionGroupParentNotebook',
231-
'Update-MgUserOnenotePageParentNotebookSectionGroupParentSectionGroup',
232-
'Update-MgUserOnenotePageParentNotebookSectionGroupSection',
233-
'Update-MgUserOnenotePageParentNotebookSectionGroupSectionPage',
234-
'Update-MgUserOnenotePageParentNotebookSectionGroupSectionParentNotebook',
235-
'Update-MgUserOnenotePageParentNotebookSectionGroupSectionParentSectionGroup',
236-
'Update-MgUserOnenotePageParentNotebookSectionPage',
237-
'Update-MgUserOnenotePageParentNotebookSectionParentNotebook',
238-
'Update-MgUserOnenotePageParentNotebookSectionParentSectionGroup',
239-
'Update-MgUserOnenotePageParentNotebookSectionParentSectionGroupParentNotebook',
240-
'Update-MgUserOnenotePageParentNotebookSectionParentSectionGroupParentSectionGroup',
241-
'Update-MgUserOnenotePageParentNotebookSectionParentSectionGroupSection',
242-
'Update-MgUserOnenotePageParentSection',
243-
'Update-MgUserOnenotePageParentSectionGroup',
244-
'Update-MgUserOnenotePageParentSectionGroupParentNotebook',
245-
'Update-MgUserOnenotePageParentSectionGroupParentNotebookSection',
246-
'Update-MgUserOnenotePageParentSectionGroupParentNotebookSectionGroup',
247-
'Update-MgUserOnenotePageParentSectionGroupParentSectionGroup',
248-
'Update-MgUserOnenotePageParentSectionGroupSection',
249-
'Update-MgUserOnenotePageParentSectionPage',
250-
'Update-MgUserOnenotePageParentSectionParentNotebook',
251-
'Update-MgUserOnenotePageParentSectionParentNotebookSection',
252-
'Update-MgUserOnenotePageParentSectionParentNotebookSectionGroup',
253-
'Update-MgUserOnenotePageParentSectionParentNotebookSectionGroupParentNotebook',
254-
'Update-MgUserOnenotePageParentSectionParentNotebookSectionGroupParentSectionGroup',
255-
'Update-MgUserOnenotePageParentSectionParentNotebookSectionGroupSection',
256-
'Update-MgUserOnenoteResource', 'Update-MgUserOnenoteSection',
257-
'Update-MgUserOnenoteSectionGroup',
258-
'Update-MgUserOnenoteSectionGroupParentNotebook',
259-
'Update-MgUserOnenoteSectionGroupParentNotebookSection',
260-
'Update-MgUserOnenoteSectionGroupParentNotebookSectionGroup',
261-
'Update-MgUserOnenoteSectionGroupParentNotebookSectionPage',
262-
'Update-MgUserOnenoteSectionGroupParentNotebookSectionPageParentNotebook',
263-
'Update-MgUserOnenoteSectionGroupParentNotebookSectionPageParentSection',
264-
'Update-MgUserOnenoteSectionGroupParentNotebookSectionParentNotebook',
265-
'Update-MgUserOnenoteSectionGroupParentNotebookSectionParentSectionGroup',
266-
'Update-MgUserOnenoteSectionGroupParentSectionGroup',
267-
'Update-MgUserOnenoteSectionGroupSection',
268-
'Update-MgUserOnenoteSectionGroupSectionPage',
269-
'Update-MgUserOnenoteSectionGroupSectionPageParentNotebook',
270-
'Update-MgUserOnenoteSectionGroupSectionPageParentNotebookSection',
271-
'Update-MgUserOnenoteSectionGroupSectionPageParentNotebookSectionGroup',
272-
'Update-MgUserOnenoteSectionGroupSectionPageParentSection',
273-
'Update-MgUserOnenoteSectionGroupSectionParentNotebook',
274-
'Update-MgUserOnenoteSectionGroupSectionParentNotebookSection',
275-
'Update-MgUserOnenoteSectionGroupSectionParentNotebookSectionGroup',
276-
'Update-MgUserOnenoteSectionGroupSectionParentSectionGroup',
277-
'Update-MgUserOnenoteSectionPage',
278-
'Update-MgUserOnenoteSectionPageParentNotebook',
279-
'Update-MgUserOnenoteSectionPageParentNotebookSection',
280-
'Update-MgUserOnenoteSectionPageParentNotebookSectionGroup',
281-
'Update-MgUserOnenoteSectionPageParentNotebookSectionGroupParentNotebook',
282-
'Update-MgUserOnenoteSectionPageParentNotebookSectionGroupParentSectionGroup',
283-
'Update-MgUserOnenoteSectionPageParentNotebookSectionGroupSection',
284-
'Update-MgUserOnenoteSectionPageParentSection',
285-
'Update-MgUserOnenoteSectionParentNotebook',
286-
'Update-MgUserOnenoteSectionParentNotebookSection',
287-
'Update-MgUserOnenoteSectionParentNotebookSectionGroup',
288-
'Update-MgUserOnenoteSectionParentNotebookSectionGroupParentNotebook',
289-
'Update-MgUserOnenoteSectionParentNotebookSectionGroupParentSectionGroup',
290-
'Update-MgUserOnenoteSectionParentNotebookSectionGroupSection',
291-
'Update-MgUserOnenoteSectionParentSectionGroup',
292-
'Update-MgUserOnenoteSectionParentSectionGroupParentNotebook',
293-
'Update-MgUserOnenoteSectionParentSectionGroupParentNotebookSection',
294-
'Update-MgUserOnenoteSectionParentSectionGroupParentNotebookSectionGroup',
295-
'Update-MgUserOnenoteSectionParentSectionGroupParentSectionGroup',
296-
'Update-MgUserOnenoteSectionParentSectionGroupSection'
83+
'New-MgUserOnenoteSectionPage', 'Update-MgUserOnenoteNotebook',
84+
'Update-MgUserOnenotePage', 'Update-MgUserOnenoteSection',
85+
'Update-MgUserOnenoteSectionGroup'
29786

29887
# 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.
29988
CmdletsToExport = @()

src/Users.OneNote/Users.OneNote/readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@ title: $(service-name)
3232
subject-prefix: ''
3333

3434
```
35+
36+
### Directives
37+
38+
> see https://github.com/Azure/autorest/blob/master/docs/powershell/directives.md
39+
40+
``` yaml
41+
directive:
42+
# Remove paths that are not valid.
43+
- remove-path-by-operation: users_(Get|Create|Update|Delete)Onenote|.*.onenote..*.parent.*|.*.notebooks_(Get|Update|Delete)Section.*|.*.notebooks.section.*|.*.sectionGroups_(Get|Update|Delete)Section.*|.*.sectionGroups.section.*|.*.sections_(Get|Update|Delete)Pages|.*.sections.pages.*|.*.onenote_(List|Create|Update|Delete)(Operations|Resources)
44+
```
45+
3546
### Versioning
3647
3748
``` yaml

0 commit comments

Comments
 (0)