Skip to content

Commit 280e954

Browse files
authored
Merge pull request #323 from microsoftgraph/po/TermsOfUseFix
Terms of Use Fix
2 parents 5ae2518 + 929b77f commit 280e954

File tree

2 files changed

+26
-8
lines changed

2 files changed

+26
-8
lines changed

src/Identity.TermsOfUse/Identity.TermsOfUse/Microsoft.Graph.Identity.TermsOfUse.psd1

+12-8
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/11/2020
77
#
88

99
@{
@@ -12,13 +12,13 @@
1212
RootModule = './Microsoft.Graph.Identity.TermsOfUse.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 = 'e2dba82b-3bad-46a7-ac83-ecfe5e873824'
21+
GUID = 'ffdc7898-a776-425d-ad61-339458b87aa4'
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.9.0'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = './bin/Microsoft.Graph.Identity.TermsOfUse.private.dll'
@@ -70,11 +70,15 @@ FormatsToProcess = './Microsoft.Graph.Identity.TermsOfUse.format.ps1xml'
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.
7272
FunctionsToExport = 'Get-MgAgreement', 'Get-MgAgreementAcceptance', 'Get-MgAgreementFile',
73-
'Get-MgUserAgreementAcceptance', 'New-MgAgreement',
73+
'Get-MgAgreementFileLocalization', 'Get-MgUserAgreementAcceptance',
74+
'Get-MgUserAgreementAcceptanceByRef', 'New-MgAgreement',
7475
'New-MgAgreementAcceptance', 'New-MgAgreementFile',
75-
'Remove-MgAgreement', 'Remove-MgAgreementAcceptance',
76-
'Update-MgAgreement', 'Update-MgAgreementAcceptance',
77-
'Update-MgAgreementFile'
76+
'New-MgAgreementFileLocalization',
77+
'New-MgUserAgreementAcceptanceByRef', 'Remove-MgAgreement',
78+
'Remove-MgAgreementAcceptance', 'Remove-MgAgreementFile',
79+
'Remove-MgAgreementFileLocalization', 'Update-MgAgreement',
80+
'Update-MgAgreementAcceptance', 'Update-MgAgreementFile',
81+
'Update-MgAgreementFileLocalization'
7882

7983
# 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.
8084
CmdletsToExport = @()

src/Identity.TermsOfUse/Identity.TermsOfUse/readme.md

+14
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,20 @@ 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+
# Rename cmdlets
43+
- where:
44+
subject: AgreementFile
45+
variant: Get1|GetViaIdentity1|Delete1|DeleteViaIdentity1|Update1|UpdateExpanded1|UpdateViaIdentity1|UpdateViaIdentityExpanded1
46+
remove: true
47+
```
48+
3549
### Versioning
3650
3751
``` yaml

0 commit comments

Comments
 (0)