From 6607c07536f659d7251d2603c7d50fec05316a70 Mon Sep 17 00:00:00 2001 From: Peter Ombwa Date: Tue, 11 Aug 2020 18:58:50 -0700 Subject: [PATCH] Fix duplicate directive in terms of use. --- .../Microsoft.Graph.Identity.TermsOfUse.psd1 | 20 +++++++++++-------- .../Identity.TermsOfUse/readme.md | 14 +++++++++++++ 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/src/Identity.TermsOfUse/Identity.TermsOfUse/Microsoft.Graph.Identity.TermsOfUse.psd1 b/src/Identity.TermsOfUse/Identity.TermsOfUse/Microsoft.Graph.Identity.TermsOfUse.psd1 index 3d907c3e30b..75c08dcfcba 100644 --- a/src/Identity.TermsOfUse/Identity.TermsOfUse/Microsoft.Graph.Identity.TermsOfUse.psd1 +++ b/src/Identity.TermsOfUse/Identity.TermsOfUse/Microsoft.Graph.Identity.TermsOfUse.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 6/30/2020 +# Generated on: 8/11/2020 # @{ @@ -12,13 +12,13 @@ RootModule = './Microsoft.Graph.Identity.TermsOfUse.psm1' # Version number of this module. -ModuleVersion = '0.5.1' +ModuleVersion = '0.9.0' # Supported PSEditions CompatiblePSEditions = 'Core', 'Desktop' # ID used to uniquely identify this module -GUID = 'e2dba82b-3bad-46a7-ac83-ecfe5e873824' +GUID = 'ffdc7898-a776-425d-ad61-339458b87aa4' # Author of this module Author = 'Microsoft Corporation' @@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '0.7.0'; }) +RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '0.9.0'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = './bin/Microsoft.Graph.Identity.TermsOfUse.private.dll' @@ -70,11 +70,15 @@ FormatsToProcess = './Microsoft.Graph.Identity.TermsOfUse.format.ps1xml' # 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. FunctionsToExport = 'Get-MgAgreement', 'Get-MgAgreementAcceptance', 'Get-MgAgreementFile', - 'Get-MgUserAgreementAcceptance', 'New-MgAgreement', + 'Get-MgAgreementFileLocalization', 'Get-MgUserAgreementAcceptance', + 'Get-MgUserAgreementAcceptanceByRef', 'New-MgAgreement', 'New-MgAgreementAcceptance', 'New-MgAgreementFile', - 'Remove-MgAgreement', 'Remove-MgAgreementAcceptance', - 'Update-MgAgreement', 'Update-MgAgreementAcceptance', - 'Update-MgAgreementFile' + 'New-MgAgreementFileLocalization', + 'New-MgUserAgreementAcceptanceByRef', 'Remove-MgAgreement', + 'Remove-MgAgreementAcceptance', 'Remove-MgAgreementFile', + 'Remove-MgAgreementFileLocalization', 'Update-MgAgreement', + 'Update-MgAgreementAcceptance', 'Update-MgAgreementFile', + 'Update-MgAgreementFileLocalization' # 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. CmdletsToExport = @() diff --git a/src/Identity.TermsOfUse/Identity.TermsOfUse/readme.md b/src/Identity.TermsOfUse/Identity.TermsOfUse/readme.md index d247b2bc351..32dc3aa4c3d 100644 --- a/src/Identity.TermsOfUse/Identity.TermsOfUse/readme.md +++ b/src/Identity.TermsOfUse/Identity.TermsOfUse/readme.md @@ -32,6 +32,20 @@ title: $(service-name) subject-prefix: '' ``` + +### Directives + +> see https://github.com/Azure/autorest/blob/master/docs/powershell/directives.md + +``` yaml +directive: +# Rename cmdlets + - where: + subject: AgreementFile + variant: Get1|GetViaIdentity1|Delete1|DeleteViaIdentity1|Update1|UpdateExpanded1|UpdateViaIdentity1|UpdateViaIdentityExpanded1 + remove: true +``` + ### Versioning ``` yaml