From e0573565f18870690ff6d467925c647ec2db7055 Mon Sep 17 00:00:00 2001 From: Ramses Sanchez Hernandez Date: Wed, 21 Oct 2026 17:57:02 -0700 Subject: [PATCH 01/13] Migrate Reports shared directives to v3 configuration Record exact legacy-to-compatible operation evidence, retain distinct function overloads, and pin shared suppressions and neighboring routes for both profiles. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- src/Reports/Reports.md | 24 + .../wrapper/Reports_cmdletConfigurations.cs | 97 +- .../Reports_directiveMigrationMap.json | 1104 +++++++++++++++++ .../ReportsDirectiveMigrationTests.cs | 244 ++++ 4 files changed, 1468 insertions(+), 1 deletion(-) create mode 100644 src/Reports/wrapper/Reports_directiveMigrationMap.json create mode 100644 tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs diff --git a/src/Reports/Reports.md b/src/Reports/Reports.md index c5dcb500064..e19a98c5cc6 100644 --- a/src/Reports/Reports.md +++ b/src/Reports/Reports.md @@ -17,6 +17,8 @@ require: ``` yaml directive: +# Wrapper migration: DeferredParameter. The Period completer remains AutoRest-only; +# parameter/schema behavior is outside this cmdlet-surface migration. - where: parameter-name: Period set: @@ -25,40 +27,62 @@ directive: description: Gets the list of Period values. script: "'D7', 'D30', 'D90', 'D180'" # Remove invalid paths. +# Wrapper migration: exact surviving method/path operations are suppressed in +# Reports_cmdletConfigurations.cs. Reports_directiveMigrationMap.json records the +# complete same-profile legacy-ID match set and compatible-ID translations, +# including explicitly pruned beta routes. New routes with no source match are +# not inferred from a broad root-prefix match. Keep all AutoRest directives active. - remove-path-by-operation: auditLog\.auditLogRoot.*|report.reportRoot.*|(auditLog|report)_(Create|Delete|Update).* # Remove cmdlets +# Wrapper migration: reviewed absence in both compatible and legacy Reports specs. +# The POST getCertificatesReport action is a different operation and remains. - where: verb: Get subject: ^ReportTenantSecureScore$|^DeviceManagementReportCertificateReport$ remove: true +# Wrapper migration: functions already use Get; curated nouns preserve the shared +# singular TopFailure name and distinguish the parameterized overload. Checked-in +# v1.0 derived overload rows do not match normalized parameter placeholders; +# both actual overload routes remain, without changing the shared derived data. - where: verb: Invoke subject: ^TopReport$ set: verb: Get subject: ReportManagedDeviceEnrollmentTopFailure +# Wrapper migration: StructuralNaming already supplies Get and the two +# ReportDeviceConfiguration*Activity nouns; no redundant overrides. - where: verb: Invoke subject: ^(Device)Report(.*)$ set: verb: Get subject: Report$1$2 +# Wrapper migration: exact failure/abandonment detail function nouns are curated; +# distinct failure-details overloads are not treated as duplicate operations. - where: verb: Invoke subject: ^(Detail)Report(.*)$ set: verb: Get subject: Report$2$1 +# Wrapper migration: exact beta abandonment summary and failure trend nouns are +# curated. These operations are absent from v1.0, not owned by a revived Actions module. - where: verb: Invoke subject: ^(Managed)Report(.*)$ set: verb: Get subject: Report$1$2 +# Wrapper migration: StructuralNaming retains InDetailedSummary for collection +# and item operations. Mutations remain suppressed by the shared path directive; +# the separate Count neighbor stays structurally named. - where: subject: ^(ReportApplicationSign)$ set: subject: $1InDetailedSummary +# Wrapper migration: the sole beta function receives the shared AzureAd noun, +# including the InSummary suffix; no matching v1.0 operation exists. - where: subject: ^(ReportAzureAdApplicationSign)$ set: diff --git a/src/Reports/wrapper/Reports_cmdletConfigurations.cs b/src/Reports/wrapper/Reports_cmdletConfigurations.cs index 8cd7865115e..53ad39ad9c5 100644 --- a/src/Reports/wrapper/Reports_cmdletConfigurations.cs +++ b/src/Reports/wrapper/Reports_cmdletConfigurations.cs @@ -1,3 +1,98 @@ using System.Collections.Generic; +using System.Net.Http; + namespace WrapperGenerator; -public static partial class CmdletConfigurator { private static readonly List ReportsCmdletConfigurations = []; } + +public static partial class CmdletConfigurator +{ + private const string ReportsSuppressionReason = "Reports.md: remove-path-by-operation; reviewed legacy-ID bridge"; + + private static readonly List ReportsCmdletConfigurations = + [ + new(OverrideKind.SuppressOperation, HttpMethod.Get, "/auditlogs", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/auditlogs", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/auditlogs/customsecurityattributeaudits", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/auditlogs/customsecurityattributeaudits/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/auditlogs/customsecurityattributeaudits/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/auditlogs/directoryaudits", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/auditlogs/directoryaudits/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/auditlogs/directoryaudits/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/auditlogs/directoryprovisioning", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/auditlogs/directoryprovisioning/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/auditlogs/directoryprovisioning/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/auditlogs/provisioning", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/auditlogs/provisioning/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/auditlogs/provisioning/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/auditlogs/signins", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/auditlogs/signins/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/auditlogs/signins/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/auditlogs/signups", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/auditlogs/signups/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/auditlogs/signups/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/devicemanagement/reports/cachedreportconfigurations", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/devicemanagement/reports/cachedreportconfigurations/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/devicemanagement/reports/cachedreportconfigurations/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/devicemanagement/reports/exportjobs", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/devicemanagement/reports/exportjobs/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/devicemanagement/reports/exportjobs/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Get, "/reports", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/reports/appcredentialsigninactivities", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/appcredentialsigninactivities/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/appcredentialsigninactivities/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/reports/applicationsignindetailedsummary", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/applicationsignindetailedsummary/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/applicationsignindetailedsummary/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/authenticationmethods", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/authenticationmethods", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/reports/dailyprintusage", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/dailyprintusage/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/dailyprintusage/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/reports/dailyprintusagebyprinter", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/dailyprintusagebyprinter/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/dailyprintusagebyprinter/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/reports/dailyprintusagebyuser", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/dailyprintusagebyuser/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/dailyprintusagebyuser/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/healthmonitoring", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/healthmonitoring", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/reports/monthlyprintusagebyprinter", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/monthlyprintusagebyprinter/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/monthlyprintusagebyprinter/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/reports/monthlyprintusagebyuser", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/monthlyprintusagebyuser/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/monthlyprintusagebyuser/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/partners", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/partners", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/security", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/security", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/serviceactivity", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/serviceactivity", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/reports/serviceprincipalsigninactivities", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/serviceprincipalsigninactivities/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/serviceprincipalsigninactivities/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/sla", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/sla", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/userinsights", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/userinsights", PathMatch.Exact, null, ReportsSuppressionReason), + + // Functions already use Get. Keep distinct overload routes distinct rather than + // suppressing them as if AutoRest's numbered variants were duplicate operations. + new(OverrideKind.ReplaceNoun, HttpMethod.Get, "/reports/manageddeviceenrollmenttopfailures", PathMatch.Exact, + "ReportManagedDeviceEnrollmentTopFailure", "Reports.md: ^TopReport$"), + new(OverrideKind.ReplaceNoun, HttpMethod.Get, "/reports/manageddeviceenrollmenttopfailures(period='{}')", PathMatch.Exact, + "ReportManagedDeviceEnrollmentTopFailureWithPeriod", "Reports.md: ^TopReport$; preserve parameterized overload"), + new(OverrideKind.ReplaceNoun, HttpMethod.Get, "/reports/manageddeviceenrollmentfailuredetails", PathMatch.Exact, + "ReportManagedDeviceEnrollmentFailureDetail", "Reports.md: ^(Detail)Report(.*)$"), + new(OverrideKind.ReplaceNoun, HttpMethod.Get, "/reports/manageddeviceenrollmentfailuredetails(skip={},top={},filter='{}',skiptoken='{}')", PathMatch.Exact, + "ReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken", "Reports.md: ^(Detail)Report(.*)$; preserve parameterized overload"), + new(OverrideKind.ReplaceNoun, HttpMethod.Get, "/reports/manageddeviceenrollmentabandonmentdetails(skip={},top={},filter='{}',skiptoken='{}')", PathMatch.Exact, + "ReportManagedDeviceEnrollmentAbandonmentDetail", "Reports.md: ^(Detail)Report(.*)$"), + new(OverrideKind.ReplaceNoun, HttpMethod.Get, "/reports/manageddeviceenrollmentabandonmentsummary(skip={},top={},filter='{}',skiptoken='{}')", PathMatch.Exact, + "ReportManagedDeviceEnrollmentAbandonmentSummary", "Reports.md: ^(Managed)Report(.*)$"), + new(OverrideKind.ReplaceNoun, HttpMethod.Get, "/reports/manageddeviceenrollmentfailuretrends", PathMatch.Exact, + "ReportManagedDeviceEnrollmentFailureTrend", "Reports.md: ^(Managed)Report(.*)$"), + new(OverrideKind.ReplaceNoun, HttpMethod.Get, "/reports/getazureadapplicationsigninsummary(period='{}')", PathMatch.Exact, + "ReportAzureAdApplicationSignInSummary", "Reports.md: ^(ReportAzureAdApplicationSign)$"), + ]; +} diff --git a/src/Reports/wrapper/Reports_directiveMigrationMap.json b/src/Reports/wrapper/Reports_directiveMigrationMap.json new file mode 100644 index 00000000000..6b97f2d10bf --- /dev/null +++ b/src/Reports/wrapper/Reports_directiveMigrationMap.json @@ -0,0 +1,1104 @@ +{ + "scope": { + "source": "src\\Reports\\Reports.md", + "requiredProfiles": [ + "v1.0", + "beta" + ], + "excludedProfiles": [], + "ignoredSources": [ + "src\\readme.graph.md", + "src\\Reports\\v1.0\\readme.md", + "src\\Reports\\beta\\readme.md" + ], + "deferred": "Directive 1 Period parameter completer remains active and DeferredParameter. No parameter/schema directives are implemented.", + "ownership": "Only Reports shared directives are migrated. DeviceManagement.Actions is retired and excluded; Reports-owned POST report actions remain unless independently matched by a Reports directive.", + "evidence": [ + "same-profile openApiDocs Reports.yml for source selector identity only; never used for generation", + "openApiDocs_KiotaCompat Reports.yml exact current method/path/operationId", + "frozen MgCommandMetadata.json Reports/Beta.Reports command, route and variant evidence" + ], + "compatibleSpecBlobs": { + "v1.0": "001ccf037236780e34c7d9977aedd8c8cdb13712", + "beta": "721affb2e25f2385a329b1f0fb5f01ff98b65883" + }, + "regressionTests": "tools\\WrapperGenerator.Tests\\ReportsDirectiveMigrationTests.cs" + }, + "mappings": [ + { + "module": "Reports", + "directiveIndex": 2, + "classification": "OperationIdSuppression", + "sourceContains": "remove-path-by-operation: auditLog\\.auditLogRoot.*|report.reportRoot.*|(auditLog|report)_(Create|Delete|Update).*", + "implementation": "CmdletConfigurator", + "notes": "Exact legacy-to-compatible operation-ID bridges retain the shared suppression, not an API-absence assertion. Curated exact method/path entries also cover beta; existing v1.0 derived suppressions remain unchanged. Nested authentication registration and modern compatible-only mutations are outside this selector.", + "profiles": { + "v1.0": { + "operationIdSource": "Legacy", + "notes": "Complete same-profile source regex set: 34; exact unchanged-route bridges: 34; explicitly pruned: 0. The unanchored report_ alternative also matches deviceManagement.report_ export/cache mutations. Newly introduced compatible routes without an old match are not suppressed.", + "absenceExpected": false, + "operations": [ + { + "method": "GET", + "path": "/auditLogs", + "operationId": "auditLogs.auditLogRoot.GetAuditLogRoot", + "legacyPath": "/auditLogs", + "legacyOperationId": "auditLog.auditLogRoot_GetAuditLogRoot" + }, + { + "method": "PATCH", + "path": "/auditLogs", + "operationId": "auditLogs.auditLogRoot.UpdateAuditLogRoot", + "legacyPath": "/auditLogs", + "legacyOperationId": "auditLog.auditLogRoot_UpdateAuditLogRoot" + }, + { + "method": "POST", + "path": "/auditLogs/directoryAudits", + "operationId": "auditLogs.CreateDirectoryAudits", + "legacyPath": "/auditLogs/directoryAudits", + "legacyOperationId": "auditLog_CreateDirectoryAudit" + }, + { + "method": "PATCH", + "path": "/auditLogs/directoryAudits/{directoryAudit-id}", + "operationId": "auditLogs.UpdateDirectoryAudits", + "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", + "legacyOperationId": "auditLog_UpdateDirectoryAudit" + }, + { + "method": "DELETE", + "path": "/auditLogs/directoryAudits/{directoryAudit-id}", + "operationId": "auditLogs.DeleteDirectoryAudits", + "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", + "legacyOperationId": "auditLog_DeleteDirectoryAudit" + }, + { + "method": "POST", + "path": "/auditLogs/provisioning", + "operationId": "auditLogs.CreateProvisioning", + "legacyPath": "/auditLogs/provisioning", + "legacyOperationId": "auditLog_CreateProvisioning" + }, + { + "method": "PATCH", + "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "operationId": "auditLogs.UpdateProvisioning", + "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_UpdateProvisioning" + }, + { + "method": "DELETE", + "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "operationId": "auditLogs.DeleteProvisioning", + "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_DeleteProvisioning" + }, + { + "method": "POST", + "path": "/auditLogs/signIns", + "operationId": "auditLogs.CreateSignIns", + "legacyPath": "/auditLogs/signIns", + "legacyOperationId": "auditLog_CreateSignIn" + }, + { + "method": "PATCH", + "path": "/auditLogs/signIns/{signIn-id}", + "operationId": "auditLogs.UpdateSignIns", + "legacyPath": "/auditLogs/signIns/{signIn-id}", + "legacyOperationId": "auditLog_UpdateSignIn" + }, + { + "method": "DELETE", + "path": "/auditLogs/signIns/{signIn-id}", + "operationId": "auditLogs.DeleteSignIns", + "legacyPath": "/auditLogs/signIns/{signIn-id}", + "legacyOperationId": "auditLog_DeleteSignIn" + }, + { + "method": "POST", + "path": "/deviceManagement/reports/exportJobs", + "operationId": "deviceManagement.reports.CreateExportJobs", + "legacyPath": "/deviceManagement/reports/exportJobs", + "legacyOperationId": "deviceManagement.report_CreateExportJob" + }, + { + "method": "PATCH", + "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "operationId": "deviceManagement.reports.UpdateExportJobs", + "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "legacyOperationId": "deviceManagement.report_UpdateExportJob" + }, + { + "method": "DELETE", + "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "operationId": "deviceManagement.reports.DeleteExportJobs", + "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "legacyOperationId": "deviceManagement.report_DeleteExportJob" + }, + { + "method": "GET", + "path": "/reports", + "operationId": "reports.reportRoot.GetReportRoot", + "legacyPath": "/reports", + "legacyOperationId": "report.reportRoot_GetReportRoot" + }, + { + "method": "PATCH", + "path": "/reports", + "operationId": "reports.reportRoot.UpdateReportRoot", + "legacyPath": "/reports", + "legacyOperationId": "report.reportRoot_UpdateReportRoot" + }, + { + "method": "PATCH", + "path": "/reports/authenticationMethods", + "operationId": "reports.UpdateAuthenticationMethods", + "legacyPath": "/reports/authenticationMethods", + "legacyOperationId": "report_UpdateAuthenticationMethod" + }, + { + "method": "DELETE", + "path": "/reports/authenticationMethods", + "operationId": "reports.DeleteAuthenticationMethods", + "legacyPath": "/reports/authenticationMethods", + "legacyOperationId": "report_DeleteAuthenticationMethod" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageByPrinter", + "operationId": "reports.CreateDailyPrintUsageByPrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter", + "legacyOperationId": "report_CreateDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "reports.UpdateDailyPrintUsageByPrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "reports.DeleteDailyPrintUsageByPrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageByUser", + "operationId": "reports.CreateDailyPrintUsageByUser", + "legacyPath": "/reports/dailyPrintUsageByUser", + "legacyOperationId": "report_CreateDailyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "reports.UpdateDailyPrintUsageByUser", + "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPreUser" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "reports.DeleteDailyPrintUsageByUser", + "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPreUser" + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageByPrinter", + "operationId": "reports.CreateMonthlyPrintUsageByPrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter", + "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "reports.UpdateMonthlyPrintUsageByPrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "reports.DeleteMonthlyPrintUsageByPrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageByUser", + "operationId": "reports.CreateMonthlyPrintUsageByUser", + "legacyPath": "/reports/monthlyPrintUsageByUser", + "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "reports.UpdateMonthlyPrintUsageByUser", + "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "reports.DeleteMonthlyPrintUsageByUser", + "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/partners", + "operationId": "reports.UpdatePartners", + "legacyPath": "/reports/partners", + "legacyOperationId": "report_UpdatePartner" + }, + { + "method": "DELETE", + "path": "/reports/partners", + "operationId": "reports.DeletePartners", + "legacyPath": "/reports/partners", + "legacyOperationId": "report_DeletePartner" + }, + { + "method": "PATCH", + "path": "/reports/security", + "operationId": "reports.UpdateSecurity", + "legacyPath": "/reports/security", + "legacyOperationId": "report_UpdateSecurity" + }, + { + "method": "DELETE", + "path": "/reports/security", + "operationId": "reports.DeleteSecurity", + "legacyPath": "/reports/security", + "legacyOperationId": "report_DeleteSecurity" + } + ], + "removedLegacyOperations": [] + }, + "beta": { + "operationIdSource": "Legacy", + "notes": "Complete same-profile source regex set: 84; exact unchanged-route bridges: 66; explicitly pruned: 18. The unanchored report_ alternative also matches deviceManagement.report_ export/cache mutations. Newly introduced compatible routes without an old match are not suppressed.", + "absenceExpected": false, + "operations": [ + { + "method": "GET", + "path": "/auditLogs", + "operationId": "auditLogs.auditLogRoot.GetAuditLogRoot", + "legacyPath": "/auditLogs", + "legacyOperationId": "auditLog.auditLogRoot_GetAuditLogRoot" + }, + { + "method": "PATCH", + "path": "/auditLogs", + "operationId": "auditLogs.auditLogRoot.UpdateAuditLogRoot", + "legacyPath": "/auditLogs", + "legacyOperationId": "auditLog.auditLogRoot_UpdateAuditLogRoot" + }, + { + "method": "POST", + "path": "/auditLogs/customSecurityAttributeAudits", + "operationId": "auditLogs.CreateCustomSecurityAttributeAudits", + "legacyPath": "/auditLogs/customSecurityAttributeAudits", + "legacyOperationId": "auditLog_CreateCustomSecurityAttributeAudit" + }, + { + "method": "PATCH", + "path": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", + "operationId": "auditLogs.UpdateCustomSecurityAttributeAudits", + "legacyPath": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", + "legacyOperationId": "auditLog_UpdateCustomSecurityAttributeAudit" + }, + { + "method": "DELETE", + "path": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", + "operationId": "auditLogs.DeleteCustomSecurityAttributeAudits", + "legacyPath": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", + "legacyOperationId": "auditLog_DeleteCustomSecurityAttributeAudit" + }, + { + "method": "POST", + "path": "/auditLogs/directoryAudits", + "operationId": "auditLogs.CreateDirectoryAudits", + "legacyPath": "/auditLogs/directoryAudits", + "legacyOperationId": "auditLog_CreateDirectoryAudit" + }, + { + "method": "PATCH", + "path": "/auditLogs/directoryAudits/{directoryAudit-id}", + "operationId": "auditLogs.UpdateDirectoryAudits", + "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", + "legacyOperationId": "auditLog_UpdateDirectoryAudit" + }, + { + "method": "DELETE", + "path": "/auditLogs/directoryAudits/{directoryAudit-id}", + "operationId": "auditLogs.DeleteDirectoryAudits", + "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", + "legacyOperationId": "auditLog_DeleteDirectoryAudit" + }, + { + "method": "POST", + "path": "/auditLogs/directoryProvisioning", + "operationId": "auditLogs.CreateDirectoryProvisioning", + "legacyPath": "/auditLogs/directoryProvisioning", + "legacyOperationId": "auditLog_CreateDirectoryProvisioning" + }, + { + "method": "PATCH", + "path": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", + "operationId": "auditLogs.UpdateDirectoryProvisioning", + "legacyPath": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_UpdateDirectoryProvisioning" + }, + { + "method": "DELETE", + "path": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", + "operationId": "auditLogs.DeleteDirectoryProvisioning", + "legacyPath": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_DeleteDirectoryProvisioning" + }, + { + "method": "POST", + "path": "/auditLogs/provisioning", + "operationId": "auditLogs.CreateProvisioning", + "legacyPath": "/auditLogs/provisioning", + "legacyOperationId": "auditLog_CreateProvisioning" + }, + { + "method": "PATCH", + "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "operationId": "auditLogs.UpdateProvisioning", + "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_UpdateProvisioning" + }, + { + "method": "DELETE", + "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "operationId": "auditLogs.DeleteProvisioning", + "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_DeleteProvisioning" + }, + { + "method": "POST", + "path": "/auditLogs/signIns", + "operationId": "auditLogs.CreateSignIns", + "legacyPath": "/auditLogs/signIns", + "legacyOperationId": "auditLog_CreateSignIn" + }, + { + "method": "PATCH", + "path": "/auditLogs/signIns/{signIn-id}", + "operationId": "auditLogs.UpdateSignIns", + "legacyPath": "/auditLogs/signIns/{signIn-id}", + "legacyOperationId": "auditLog_UpdateSignIn" + }, + { + "method": "DELETE", + "path": "/auditLogs/signIns/{signIn-id}", + "operationId": "auditLogs.DeleteSignIns", + "legacyPath": "/auditLogs/signIns/{signIn-id}", + "legacyOperationId": "auditLog_DeleteSignIn" + }, + { + "method": "POST", + "path": "/auditLogs/signUps", + "operationId": "auditLogs.CreateSignUps", + "legacyPath": "/auditLogs/signUps", + "legacyOperationId": "auditLog_CreateSignUp" + }, + { + "method": "PATCH", + "path": "/auditLogs/signUps/{selfServiceSignUp-id}", + "operationId": "auditLogs.UpdateSignUps", + "legacyPath": "/auditLogs/signUps/{selfServiceSignUp-id}", + "legacyOperationId": "auditLog_UpdateSignUp" + }, + { + "method": "DELETE", + "path": "/auditLogs/signUps/{selfServiceSignUp-id}", + "operationId": "auditLogs.DeleteSignUps", + "legacyPath": "/auditLogs/signUps/{selfServiceSignUp-id}", + "legacyOperationId": "auditLog_DeleteSignUp" + }, + { + "method": "POST", + "path": "/deviceManagement/reports/cachedReportConfigurations", + "operationId": "deviceManagement.reports.CreateCachedReportConfigurations", + "legacyPath": "/deviceManagement/reports/cachedReportConfigurations", + "legacyOperationId": "deviceManagement.report_CreateCachedReportConfiguration" + }, + { + "method": "PATCH", + "path": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", + "operationId": "deviceManagement.reports.UpdateCachedReportConfigurations", + "legacyPath": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", + "legacyOperationId": "deviceManagement.report_UpdateCachedReportConfiguration" + }, + { + "method": "DELETE", + "path": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", + "operationId": "deviceManagement.reports.DeleteCachedReportConfigurations", + "legacyPath": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", + "legacyOperationId": "deviceManagement.report_DeleteCachedReportConfiguration" + }, + { + "method": "POST", + "path": "/deviceManagement/reports/exportJobs", + "operationId": "deviceManagement.reports.CreateExportJobs", + "legacyPath": "/deviceManagement/reports/exportJobs", + "legacyOperationId": "deviceManagement.report_CreateExportJob" + }, + { + "method": "PATCH", + "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "operationId": "deviceManagement.reports.UpdateExportJobs", + "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "legacyOperationId": "deviceManagement.report_UpdateExportJob" + }, + { + "method": "DELETE", + "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "operationId": "deviceManagement.reports.DeleteExportJobs", + "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "legacyOperationId": "deviceManagement.report_DeleteExportJob" + }, + { + "method": "GET", + "path": "/reports", + "operationId": "reports.reportRoot.GetReportRoot", + "legacyPath": "/reports", + "legacyOperationId": "report.reportRoot_GetReportRoot" + }, + { + "method": "PATCH", + "path": "/reports", + "operationId": "reports.reportRoot.UpdateReportRoot", + "legacyPath": "/reports", + "legacyOperationId": "report.reportRoot_UpdateReportRoot" + }, + { + "method": "POST", + "path": "/reports/appCredentialSignInActivities", + "operationId": "reports.CreateAppCredentialSignInActivities", + "legacyPath": "/reports/appCredentialSignInActivities", + "legacyOperationId": "report_CreateAppCredentialSignInActivity" + }, + { + "method": "PATCH", + "path": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", + "operationId": "reports.UpdateAppCredentialSignInActivities", + "legacyPath": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", + "legacyOperationId": "report_UpdateAppCredentialSignInActivity" + }, + { + "method": "DELETE", + "path": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", + "operationId": "reports.DeleteAppCredentialSignInActivities", + "legacyPath": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", + "legacyOperationId": "report_DeleteAppCredentialSignInActivity" + }, + { + "method": "POST", + "path": "/reports/applicationSignInDetailedSummary", + "operationId": "reports.CreateApplicationSignInDetailedSummary", + "legacyPath": "/reports/applicationSignInDetailedSummary", + "legacyOperationId": "report_CreateApplicationSignInDetailedSummary" + }, + { + "method": "PATCH", + "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "operationId": "reports.UpdateApplicationSignInDetailedSummary", + "legacyPath": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "legacyOperationId": "report_UpdateApplicationSignInDetailedSummary" + }, + { + "method": "DELETE", + "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "operationId": "reports.DeleteApplicationSignInDetailedSummary", + "legacyPath": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "legacyOperationId": "report_DeleteApplicationSignInDetailedSummary" + }, + { + "method": "PATCH", + "path": "/reports/authenticationMethods", + "operationId": "reports.UpdateAuthenticationMethods", + "legacyPath": "/reports/authenticationMethods", + "legacyOperationId": "report_UpdateAuthenticationMethod" + }, + { + "method": "DELETE", + "path": "/reports/authenticationMethods", + "operationId": "reports.DeleteAuthenticationMethods", + "legacyPath": "/reports/authenticationMethods", + "legacyOperationId": "report_DeleteAuthenticationMethod" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsage", + "operationId": "reports.CreateDailyPrintUsage", + "legacyPath": "/reports/dailyPrintUsage", + "legacyOperationId": "report_CreateDailyPrintUsage" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsage/{printUsage-id}", + "operationId": "reports.UpdateDailyPrintUsage", + "legacyPath": "/reports/dailyPrintUsage/{printUsage-id}", + "legacyOperationId": "report_UpdateDailyPrintUsage" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsage/{printUsage-id}", + "operationId": "reports.DeleteDailyPrintUsage", + "legacyPath": "/reports/dailyPrintUsage/{printUsage-id}", + "legacyOperationId": "report_DeleteDailyPrintUsage" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageByPrinter", + "operationId": "reports.CreateDailyPrintUsageByPrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter", + "legacyOperationId": "report_CreateDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "reports.UpdateDailyPrintUsageByPrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "reports.DeleteDailyPrintUsageByPrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageByUser", + "operationId": "reports.CreateDailyPrintUsageByUser", + "legacyPath": "/reports/dailyPrintUsageByUser", + "legacyOperationId": "report_CreateDailyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "reports.UpdateDailyPrintUsageByUser", + "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPreUser" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "reports.DeleteDailyPrintUsageByUser", + "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/healthMonitoring", + "operationId": "reports.UpdateHealthMonitoring", + "legacyPath": "/reports/healthMonitoring", + "legacyOperationId": "report_UpdateHealthMonitoring" + }, + { + "method": "DELETE", + "path": "/reports/healthMonitoring", + "operationId": "reports.DeleteHealthMonitoring", + "legacyPath": "/reports/healthMonitoring", + "legacyOperationId": "report_DeleteHealthMonitoring" + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageByPrinter", + "operationId": "reports.CreateMonthlyPrintUsageByPrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter", + "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "reports.UpdateMonthlyPrintUsageByPrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "reports.DeleteMonthlyPrintUsageByPrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageByUser", + "operationId": "reports.CreateMonthlyPrintUsageByUser", + "legacyPath": "/reports/monthlyPrintUsageByUser", + "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "reports.UpdateMonthlyPrintUsageByUser", + "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "reports.DeleteMonthlyPrintUsageByUser", + "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/partners", + "operationId": "reports.UpdatePartners", + "legacyPath": "/reports/partners", + "legacyOperationId": "report_UpdatePartner" + }, + { + "method": "DELETE", + "path": "/reports/partners", + "operationId": "reports.DeletePartners", + "legacyPath": "/reports/partners", + "legacyOperationId": "report_DeletePartner" + }, + { + "method": "PATCH", + "path": "/reports/security", + "operationId": "reports.UpdateSecurity", + "legacyPath": "/reports/security", + "legacyOperationId": "report_UpdateSecurity" + }, + { + "method": "DELETE", + "path": "/reports/security", + "operationId": "reports.DeleteSecurity", + "legacyPath": "/reports/security", + "legacyOperationId": "report_DeleteSecurity" + }, + { + "method": "PATCH", + "path": "/reports/serviceActivity", + "operationId": "reports.UpdateServiceActivity", + "legacyPath": "/reports/serviceActivity", + "legacyOperationId": "report_UpdateServiceActivity" + }, + { + "method": "DELETE", + "path": "/reports/serviceActivity", + "operationId": "reports.DeleteServiceActivity", + "legacyPath": "/reports/serviceActivity", + "legacyOperationId": "report_DeleteServiceActivity" + }, + { + "method": "POST", + "path": "/reports/servicePrincipalSignInActivities", + "operationId": "reports.CreateServicePrincipalSignInActivities", + "legacyPath": "/reports/servicePrincipalSignInActivities", + "legacyOperationId": "report_CreateServicePrincipalSignInActivity" + }, + { + "method": "PATCH", + "path": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", + "operationId": "reports.UpdateServicePrincipalSignInActivities", + "legacyPath": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", + "legacyOperationId": "report_UpdateServicePrincipalSignInActivity" + }, + { + "method": "DELETE", + "path": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", + "operationId": "reports.DeleteServicePrincipalSignInActivities", + "legacyPath": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", + "legacyOperationId": "report_DeleteServicePrincipalSignInActivity" + }, + { + "method": "PATCH", + "path": "/reports/sla", + "operationId": "reports.UpdateSla", + "legacyPath": "/reports/sla", + "legacyOperationId": "report_UpdateSla" + }, + { + "method": "DELETE", + "path": "/reports/sla", + "operationId": "reports.DeleteSla", + "legacyPath": "/reports/sla", + "legacyOperationId": "report_DeleteSla" + }, + { + "method": "PATCH", + "path": "/reports/userInsights", + "operationId": "reports.UpdateUserInsights", + "legacyPath": "/reports/userInsights", + "legacyOperationId": "report_UpdateUserInsight" + }, + { + "method": "DELETE", + "path": "/reports/userInsights", + "operationId": "reports.DeleteUserInsights", + "legacyPath": "/reports/userInsights", + "legacyOperationId": "report_DeleteUserInsight" + } + ], + "removedLegacyOperations": [ + { + "method": "POST", + "path": "/reports/credentialUserRegistrationDetails", + "operationId": "report_CreateCredentialUserRegistrationDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails-id}", + "operationId": "report_UpdateCredentialUserRegistrationDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails-id}", + "operationId": "report_DeleteCredentialUserRegistrationDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageSummariesByPrinter", + "operationId": "report_CreateDailyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", + "operationId": "report_UpdateDailyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", + "operationId": "report_DeleteDailyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageSummariesByUser", + "operationId": "report_CreateDailyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageSummariesByUser/{printUsageByUser-id}", + "operationId": "report_UpdateDailyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageSummariesByUser/{printUsageByUser-id}", + "operationId": "report_DeleteDailyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageSummariesByPrinter", + "operationId": "report_CreateMonthlyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", + "operationId": "report_UpdateMonthlyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", + "operationId": "report_DeleteMonthlyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageSummariesByUser", + "operationId": "report_CreateMonthlyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser-id}", + "operationId": "report_UpdateMonthlyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser-id}", + "operationId": "report_DeleteMonthlyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/userCredentialUsageDetails", + "operationId": "report_CreateUserCredentialUsageDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/userCredentialUsageDetails/{userCredentialUsageDetails-id}", + "operationId": "report_UpdateUserCredentialUsageDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/userCredentialUsageDetails/{userCredentialUsageDetails-id}", + "operationId": "report_DeleteUserCredentialUsageDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + } + ] + } + } + }, + { + "module": "Reports", + "directiveIndex": 3, + "classification": "CmdletSuppression", + "sourceContains": "subject: ^ReportTenantSecureScore$|^DeviceManagementReportCertificateReport$", + "implementation": "ReviewedAbsence", + "notes": "Neither GET subject has an operation in either same-profile legacy or compatible Reports spec. Do not guess a successor from schema names. POST /deviceManagement/reports/getCertificatesReport is a distinct Reports-owned action and is retained; DeviceManagement.Actions is retired and excluded.", + "profiles": { + "v1.0": { + "absenceExpected": true, + "operations": [] + }, + "beta": { + "absenceExpected": true, + "operations": [] + } + } + }, + { + "module": "Reports", + "directiveIndex": 4, + "classification": "SubjectAndVerbRename", + "sourceContains": "subject: ^TopReport$", + "implementation": "CmdletConfigurator", + "notes": "MgCommandMetadata.json records Top/Top1/TopViaIdentity on this function. Functions already use Get. Preserve singular TopFailure and distinguish the real period overload with WithPeriod in both profiles. The checked-in v1.0 derived overload suppression row retains named placeholders and does not match the normalized route; do not add a suppression or modify global derived data to hide this distinct operation.", + "profiles": { + "v1.0": { + "absenceExpected": false, + "operations": [ + { + "method": "GET", + "path": "/reports/managedDeviceEnrollmentTopFailures()", + "operationId": "reports.managedDeviceEnrollmentTopFailures-9ce7" + }, + { + "method": "GET", + "path": "/reports/managedDeviceEnrollmentTopFailures(period='{period}')", + "operationId": "reports.managedDeviceEnrollmentTopFailures-2157" + } + ] + }, + "beta": { + "absenceExpected": false, + "operations": [ + { + "method": "GET", + "path": "/reports/managedDeviceEnrollmentTopFailures()", + "operationId": "reports.managedDeviceEnrollmentTopFailures-9ce7" + }, + { + "method": "GET", + "path": "/reports/managedDeviceEnrollmentTopFailures(period='{period}')", + "operationId": "reports.managedDeviceEnrollmentTopFailures-2157" + } + ] + } + } + }, + { + "module": "Reports", + "directiveIndex": 5, + "classification": "SubjectAndVerbRename", + "sourceContains": "subject: ^(Device)Report(.*)$", + "implementation": "StructuralNaming", + "notes": "The published Device variants map to reports.deviceConfigurationDeviceActivity and reports.deviceConfigurationUserActivity. Their compatible function routes structurally supply Get and ReportDeviceConfiguration*Activity in both profiles; no override is required.", + "profiles": { + "v1.0": { + "absenceExpected": false, + "operations": [ + { + "method": "GET", + "path": "/reports/deviceConfigurationDeviceActivity()", + "operationId": "reports.deviceConfigurationDeviceActivity" + }, + { + "method": "GET", + "path": "/reports/deviceConfigurationUserActivity()", + "operationId": "reports.deviceConfigurationUserActivity" + } + ] + }, + "beta": { + "absenceExpected": false, + "operations": [ + { + "method": "GET", + "path": "/reports/deviceConfigurationDeviceActivity()", + "operationId": "reports.deviceConfigurationDeviceActivity" + }, + { + "method": "GET", + "path": "/reports/deviceConfigurationUserActivity()", + "operationId": "reports.deviceConfigurationUserActivity" + } + ] + } + } + }, + { + "module": "Reports", + "directiveIndex": 6, + "classification": "SubjectAndVerbRename", + "sourceContains": "subject: ^(Detail)Report(.*)$", + "implementation": "CmdletConfigurator", + "notes": "Published Detail/Detail1 variants identify failure details in both profiles and abandonment details in beta. Same-module legacy function IDs and routes verify ownership. Functions already use Get; curate singular Detail nouns. Keep the distinct parameterized failure-details route named WithSkipWithTopWithFilterWithSkipToken in both profiles. The checked-in v1.0 derived suppression row retains named placeholders and does not match the normalized route; it is not a reason to suppress this operation.", + "profiles": { + "v1.0": { + "absenceExpected": false, + "operations": [ + { + "method": "GET", + "path": "/reports/managedDeviceEnrollmentFailureDetails()", + "operationId": "reports.managedDeviceEnrollmentFailureDetails-8191" + }, + { + "method": "GET", + "path": "/reports/managedDeviceEnrollmentFailureDetails(skip={skip},top={top},filter='{filter}',skipToken='{skipToken}')", + "operationId": "reports.managedDeviceEnrollmentFailureDetails-aa46" + } + ] + }, + "beta": { + "absenceExpected": false, + "operations": [ + { + "method": "GET", + "path": "/reports/managedDeviceEnrollmentAbandonmentDetails(skip={skip},top={top},filter='{filter}',skipToken='{skipToken}')", + "operationId": "reports.managedDeviceEnrollmentAbandonmentDetails" + }, + { + "method": "GET", + "path": "/reports/managedDeviceEnrollmentFailureDetails()", + "operationId": "reports.managedDeviceEnrollmentFailureDetails-8191" + }, + { + "method": "GET", + "path": "/reports/managedDeviceEnrollmentFailureDetails(skip={skip},top={top},filter='{filter}',skipToken='{skipToken}')", + "operationId": "reports.managedDeviceEnrollmentFailureDetails-aa46" + } + ] + } + } + }, + { + "module": "Reports", + "directiveIndex": 7, + "classification": "SubjectAndVerbRename", + "sourceContains": "subject: ^(Managed)Report(.*)$", + "implementation": "CmdletConfigurator", + "notes": "Published Managed/ManagedViaIdentity variants identify beta abandonment summary and failure trends; same-module legacy IDs confirm these are Reports functions. Functions already use Get. Retain the singular FailureTrend and exact AbandonmentSummary nouns; v1.0 has neither operation.", + "profiles": { + "v1.0": { + "absenceExpected": true, + "operations": [] + }, + "beta": { + "absenceExpected": false, + "operations": [ + { + "method": "GET", + "path": "/reports/managedDeviceEnrollmentAbandonmentSummary(skip={skip},top={top},filter='{filter}',skipToken='{skipToken}')", + "operationId": "reports.managedDeviceEnrollmentAbandonmentSummary" + }, + { + "method": "GET", + "path": "/reports/managedDeviceEnrollmentFailureTrends()", + "operationId": "reports.managedDeviceEnrollmentFailureTrends" + } + ] + } + } + }, + { + "module": "Reports", + "directiveIndex": 8, + "classification": "SubjectRename", + "sourceContains": "subject: ^(ReportApplicationSign)$", + "implementation": "StructuralNaming", + "notes": "The beta collection/item applicationSignInDetailedSummary routes already retain InDetailedSummary structurally. GET list/item remain; POST/PATCH/DELETE are covered by shared directive 2, not silently restored by this rename. The separate Count neighbor is unaffected. All five resource operations are absent in v1.0.", + "profiles": { + "v1.0": { + "absenceExpected": true, + "operations": [] + }, + "beta": { + "absenceExpected": false, + "operations": [ + { + "method": "GET", + "path": "/reports/applicationSignInDetailedSummary", + "operationId": "reports.ListApplicationSignInDetailedSummary" + }, + { + "method": "POST", + "path": "/reports/applicationSignInDetailedSummary", + "operationId": "reports.CreateApplicationSignInDetailedSummary" + }, + { + "method": "GET", + "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "operationId": "reports.GetApplicationSignInDetailedSummary" + }, + { + "method": "PATCH", + "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "operationId": "reports.UpdateApplicationSignInDetailedSummary" + }, + { + "method": "DELETE", + "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "operationId": "reports.DeleteApplicationSignInDetailedSummary" + } + ] + } + } + }, + { + "module": "Reports", + "directiveIndex": 9, + "classification": "SubjectRename", + "sourceContains": "subject: ^(ReportAzureAdApplicationSign)$", + "implementation": "CmdletConfigurator", + "notes": "Same-module legacy report_getAzureADApplicationSignInSummary and the published GET route identify the sole beta function exactly. Restore the full shared ReportAzureAdApplicationSignInSummary noun and casing; no redundant argument suffix is needed because no other overload exists. No v1.0 operation matches.", + "profiles": { + "v1.0": { + "absenceExpected": true, + "operations": [] + }, + "beta": { + "absenceExpected": false, + "operations": [ + { + "method": "GET", + "path": "/reports/getAzureADApplicationSignInSummary(period='{period}')", + "operationId": "reports.getAzureADApplicationSignInSummary" + } + ] + } + } + } + ] +} diff --git a/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs b/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs new file mode 100644 index 00000000000..a264daa158a --- /dev/null +++ b/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs @@ -0,0 +1,244 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Net.Http; +using System.Text.Json; +using System.Text.RegularExpressions; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.Extensions.Logging.Abstractions; +using Microsoft.OpenApi; +using Microsoft.OpenApi.Reader; +using WrapperGenerator; +using Xunit; + +namespace WrapperGenerator.Tests; + +public sealed class ReportsDirectiveMigrationTests +{ + private const string LegacySuppression = + @"auditLog\.auditLogRoot.*|report.reportRoot.*|(auditLog|report)_(Create|Delete|Update).*"; + private const string FailureArguments = "(skip={skip},top={top},filter='{filter}',skipToken='{skipToken}')"; + + private sealed record FunctionCase(string Path, string OperationId, string Noun); + + private static readonly string RepoRoot = FindRepoRoot(); + private static readonly Dictionary> Specs = new() + { + ["v1.0"] = new(() => ReadSpec("openApiDocs_KiotaCompat", "v1.0")), + ["beta"] = new(() => ReadSpec("openApiDocs_KiotaCompat", "beta")), + }; + + [Theory] + [InlineData("v1.0", false, 34, 0)] + [InlineData("v1.0", true, 34, 0)] + [InlineData("beta", false, 66, 18)] + [InlineData("beta", true, 66, 18)] + public void SuppressionAccountsForEveryActualLegacyMatch( + string profile, bool useCollisionData, int survivorCount, int removedCount) + { + var current = Specs[profile].Value; + var legacy = ReadSpec("openApiDocs", profile); + var mapping = Mapping(2).GetProperty("profiles").GetProperty(profile); + Assert.Equal("Legacy", mapping.GetProperty("operationIdSource").GetString()); + Assert.False(mapping.GetProperty("absenceExpected").GetBoolean()); + var config = new GeneratorConfig("Test.Client", "unused", profile, useCollisionData); + var accounted = new HashSet(StringComparer.Ordinal); + var survivors = mapping.GetProperty("operations").EnumerateArray().ToArray(); + var removed = mapping.GetProperty("removedLegacyOperations").EnumerateArray().ToArray(); + Assert.Equal(survivorCount, survivors.Length); + Assert.Equal(removedCount, removed.Length); + + foreach (var entry in survivors) + { + var method = new HttpMethod(Text(entry, "method")); + var path = Text(entry, "path"); + var legacyPath = Text(entry, "legacyPath"); + var legacyId = Text(entry, "legacyOperationId"); + Assert.Equal(Text(entry, "operationId"), current.Paths[path].Operations![method].OperationId); + Assert.Equal(legacyId, legacy.Paths[legacyPath].Operations![method].OperationId); + Assert.Matches(LegacySuppression, legacyId); + Assert.Equal(CmdletConfigurator.NormalizePathTemplate(legacyPath), CmdletConfigurator.NormalizePathTemplate(path)); + Assert.True(accounted.Add($"{method} {legacyPath} {legacyId}")); + Assert.True(CmdletConfigurator.IsSuppressed(method, path, config), $"{profile}: {method} {path}"); + } + + foreach (var entry in removed) + { + var method = new HttpMethod(Text(entry, "method")); + var path = Text(entry, "path"); + var operationId = Text(entry, "operationId"); + Assert.Equal(operationId, legacy.Paths[path].Operations![method].OperationId); + Assert.Matches(LegacySuppression, operationId); + Assert.False(string.IsNullOrWhiteSpace(Text(entry, "notes"))); + Assert.DoesNotContain(current.Paths, candidate => + CmdletConfigurator.NormalizePathTemplate(candidate.Key) == CmdletConfigurator.NormalizePathTemplate(path) + && candidate.Value.Operations!.ContainsKey(method)); + Assert.True(accounted.Add($"{method} {path} {operationId}")); + } + + var expected = legacy.Paths.SelectMany(path => path.Value.Operations! + .Where(operation => Regex.IsMatch(operation.Value.OperationId!, LegacySuppression)) + .Select(operation => $"{operation.Key} {path.Key} {operation.Value.OperationId}")); + Assert.True(accounted.SetEquals(expected), "The ledger must account for the complete source regex set."); + } + + [Theory] + [InlineData("v1.0", false)] + [InlineData("v1.0", true)] + [InlineData("beta", false)] + [InlineData("beta", true)] + public void NeighboringReadsNestedMutationsAndReportsOwnedActionsRemain(string profile, bool useCollisionData) + { + var spec = Specs[profile].Value; + var config = new GeneratorConfig("Test.Client", "unused", profile, useCollisionData); + (HttpMethod Method, string Path)[] neighbors = + [ + (HttpMethod.Get, "/deviceManagement/reports"), + (HttpMethod.Get, "/deviceManagement/reports/exportJobs"), + (HttpMethod.Get, "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}"), + (HttpMethod.Post, "/deviceManagement/reports/getCachedReport"), + (HttpMethod.Post, "/deviceManagement/reports/retrieveDeviceAppInstallationStatusReport"), + (HttpMethod.Get, "/reports/authenticationMethods/userRegistrationDetails"), + (HttpMethod.Post, "/reports/authenticationMethods/userRegistrationDetails"), + (HttpMethod.Patch, "/reports/authenticationMethods/userRegistrationDetails/{userRegistrationDetails-id}"), + (HttpMethod.Delete, "/reports/authenticationMethods/userRegistrationDetails/{userRegistrationDetails-id}"), + ]; + if (profile == "beta") + { + neighbors = + [ + .. neighbors, + (HttpMethod.Post, "/deviceManagement/reports/getCertificatesReport"), + (HttpMethod.Post, "/auditLogs/auditActivityTypes"), + (HttpMethod.Patch, "/reports/azureADPremiumLicenseInsight"), + (HttpMethod.Delete, "/reports/correlations/{identityCorrelation-id}"), + (HttpMethod.Get, "/reports/applicationSignInDetailedSummary"), + (HttpMethod.Get, "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}"), + (HttpMethod.Get, "/reports/applicationSignInDetailedSummary/$count"), + ]; + } + foreach (var (method, path) in neighbors) + { + Assert.True(spec.Paths[path].Operations!.ContainsKey(method), $"Missing neighbor: {profile} {method} {path}"); + Assert.False(CmdletConfigurator.IsSuppressed(method, path, config), $"Suppressed neighbor: {profile} {method} {path}"); + } + } + + [Theory] + [InlineData("v1.0", false)] + [InlineData("v1.0", true)] + [InlineData("beta", false)] + [InlineData("beta", true)] + public void SharedFunctionNamesRetainTheirOwnedRoutes(string profile, bool useCollisionData) + { + var config = new GeneratorConfig("Test.Client", "unused", profile, useCollisionData); + foreach (var item in FunctionCases(profile)) + { + var operation = Specs[profile].Value.Paths[item.Path].Operations![HttpMethod.Get]; + Assert.Equal(item.OperationId, operation.OperationId); + var extension = Assert.IsType(operation.Extensions!["x-ms-docs-operation-type"]); + Assert.Equal("function", extension.Node!.ToString().Trim('"')); + var naming = Naming.Resolve(new OperationInfo(HttpMethod.Get, item.Path, Kind: OperationKind.Function), config); + Assert.Equal("Get", naming.VerbName); + Assert.Equal("Mg" + item.Noun, naming.Noun); + Assert.False(CmdletConfigurator.IsSuppressed(HttpMethod.Get, item.Path, config)); + } + } + + [Theory] + [InlineData("v1.0", false)] + [InlineData("v1.0", true)] + [InlineData("beta", false)] + [InlineData("beta", true)] + public async Task TargetedRealSpecFunctionsGenerateWithoutOverloadCollisions(string profile, bool useCollisionData) + { + var cases = FunctionCases(profile).ToArray(); + var source = Specs[profile].Value; + var target = new OpenApiDocument { Paths = new OpenApiPaths(), Components = source.Components }; + foreach (var item in cases) + target.Paths.Add(item.Path, source.Paths[item.Path]); + target.Paths.Add("/auditLogs", source.Paths["/auditLogs"]); + target.Paths.Add("/reports", source.Paths["/reports"]); + var output = Path.Combine(Path.GetTempPath(), "reports-directive-tests", Guid.NewGuid().ToString("N")); + try + { + var config = new GeneratorConfig("Test.Client", output, profile, useCollisionData); + await new PowerShellWrapperGenerationService(target, config, NullLogger.Instance) + .GenerateAsync(CancellationToken.None); + var expected = cases.Select(item => "GetMg" + item.Noun + ".g.cs").OrderBy(name => name).ToArray(); + var files = Directory.GetFiles(output, "*.g.cs").Select(Path.GetFileName).OrderBy(name => name).ToArray(); + Assert.Equal(expected, files); + foreach (var item in cases) + { + var code = File.ReadAllText(Path.Combine(output, "GetMg" + item.Noun + ".g.cs")); + Assert.Contains(item.Path, code, StringComparison.Ordinal); + } + } + finally + { + if (Directory.Exists(output)) + Directory.Delete(output, recursive: true); + } + } + + [Theory] + [InlineData(false)] + [InlineData(true)] + public void ApplicationSummaryRenameKeepsStructuralGetAndCountNames(bool useCollisionData) + { + var config = new GeneratorConfig("Test.Client", "unused", "beta", useCollisionData); + foreach (var suffix in new[] { "", "/{applicationSignInDetailedSummary-id}", "/$count" }) + { + var path = "/reports/applicationSignInDetailedSummary" + suffix; + var operation = Specs["beta"].Value.Paths[path].Operations![HttpMethod.Get]; + Assert.NotNull(operation.OperationId); + Assert.Equal("MgReportApplicationSignInDetailedSummary" + (suffix == "/$count" ? "Count" : ""), + Naming.Resolve(new OperationInfo(HttpMethod.Get, path), config).Noun); + } + } + + private static IEnumerable FunctionCases(string profile) + { + yield return new("/reports/deviceConfigurationDeviceActivity()", "reports.deviceConfigurationDeviceActivity", "ReportDeviceConfigurationDeviceActivity"); + yield return new("/reports/deviceConfigurationUserActivity()", "reports.deviceConfigurationUserActivity", "ReportDeviceConfigurationUserActivity"); + yield return new("/reports/managedDeviceEnrollmentTopFailures()", "reports.managedDeviceEnrollmentTopFailures-9ce7", "ReportManagedDeviceEnrollmentTopFailure"); + yield return new("/reports/managedDeviceEnrollmentTopFailures(period='{period}')", "reports.managedDeviceEnrollmentTopFailures-2157", "ReportManagedDeviceEnrollmentTopFailureWithPeriod"); + yield return new("/reports/managedDeviceEnrollmentFailureDetails()", "reports.managedDeviceEnrollmentFailureDetails-8191", "ReportManagedDeviceEnrollmentFailureDetail"); + yield return new("/reports/managedDeviceEnrollmentFailureDetails" + FailureArguments, "reports.managedDeviceEnrollmentFailureDetails-aa46", "ReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken"); + if (profile != "beta") + yield break; + yield return new("/reports/managedDeviceEnrollmentAbandonmentDetails" + FailureArguments, "reports.managedDeviceEnrollmentAbandonmentDetails", "ReportManagedDeviceEnrollmentAbandonmentDetail"); + yield return new("/reports/managedDeviceEnrollmentAbandonmentSummary" + FailureArguments, "reports.managedDeviceEnrollmentAbandonmentSummary", "ReportManagedDeviceEnrollmentAbandonmentSummary"); + yield return new("/reports/managedDeviceEnrollmentFailureTrends()", "reports.managedDeviceEnrollmentFailureTrends", "ReportManagedDeviceEnrollmentFailureTrend"); + yield return new("/reports/getAzureADApplicationSignInSummary(period='{period}')", "reports.getAzureADApplicationSignInSummary", "ReportAzureAdApplicationSignInSummary"); + } + + private static JsonElement Mapping(int index) + { + using var document = JsonDocument.Parse(File.ReadAllText(Path.Combine( + RepoRoot, "src", "Reports", "wrapper", "Reports_directiveMigrationMap.json"))); + return document.RootElement.GetProperty("mappings").EnumerateArray() + .Single(entry => entry.GetProperty("directiveIndex").GetInt32() == index).Clone(); + } + + private static string Text(JsonElement entry, string name) => entry.GetProperty(name).GetString()!; + + private static OpenApiDocument ReadSpec(string directory, string profile) + { + var settings = new OpenApiReaderSettings(); + settings.AddYamlReader(); + using var stream = File.OpenRead(Path.Combine(RepoRoot, directory, profile, "Reports.yml")); + return OpenApiDocument.LoadAsync(stream, settings: settings, cancellationToken: CancellationToken.None) + .GetAwaiter().GetResult().Document!; + } + + private static string FindRepoRoot() + { + var directory = AppContext.BaseDirectory; + while (directory is not null && !File.Exists(Path.Combine(directory, "src", "Reports", "Reports.md"))) + directory = Path.GetDirectoryName(directory); + return directory ?? throw new InvalidOperationException("Repository root not found."); + } +} From bb53e3c7c0b3647d0e55685ab7592e2dbe4bb7d5 Mon Sep 17 00:00:00 2001 From: Ramses Sanchez Hernandez Date: Wed, 21 Oct 2026 19:17:26 -0700 Subject: [PATCH 02/13] Regenerate Reports v1.0 client and cmdlets Run full queued Release generation with Kiota 1.36.1 against the compatible v1.0 spec. Build and import 217 exported cmdlets; verify all 34 shared suppressions, six affected functions, and nine neighbors. Client/project sources are byte-identical apart from the refreshed Kiota lock; retain the combined profile boundary. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- src/Reports/wrapper/v1.0/Client/kiota-lock.json | 2 +- ...tFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs} | 4 ++-- ...tMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs} | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/Reports/wrapper/v1.0/Cmdlets/{GetMgReportManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken.g.cs => GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs} (96%) rename src/Reports/wrapper/v1.0/Cmdlets/{GetMgReportManagedDeviceEnrollmentTopFailuresWithPeriod.g.cs => GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs} (94%) diff --git a/src/Reports/wrapper/v1.0/Client/kiota-lock.json b/src/Reports/wrapper/v1.0/Client/kiota-lock.json index 63364f4d401..2e873040526 100644 --- a/src/Reports/wrapper/v1.0/Client/kiota-lock.json +++ b/src/Reports/wrapper/v1.0/Client/kiota-lock.json @@ -2,7 +2,7 @@ "descriptionHash": "8DCF74D4A8B585268FDC2A62513B7C50D7381F51365F1C81C6FD8065EB3991AEA78AF3507D71D49BB66E466712066C1F143E9D77CC6EE8E6ADDB4FABA3F2E8A8", "descriptionLocation": "../../../../../openApiDocs_KiotaCompat/v1.0/Reports.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.34.1", + "kiotaVersion": "1.36.1", "clientClassName": "ApiClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft.Graph.PowerShell.Reports.Client", diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs similarity index 96% rename from src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken.g.cs rename to src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs index a6031992e54..8e43e219669 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs @@ -14,9 +14,9 @@ namespace Microsoft.Graph.PowerShell.Reports { [GraphRoute("GET", "/reports/managedDeviceEnrollmentFailureDetails(skip={skip},top={top},filter='{filter}',skipToken='{skipToken}')")] - [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken")] + [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken")] [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Report))] - public class GetMgReportManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenCommand : GraphClientCmdlet + public class GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipTokenCommand : GraphClientCmdlet { diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailuresWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs similarity index 94% rename from src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailuresWithPeriod.g.cs rename to src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs index 868384f3b11..83c13650a49 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailuresWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs @@ -14,9 +14,9 @@ namespace Microsoft.Graph.PowerShell.Reports { [GraphRoute("GET", "/reports/managedDeviceEnrollmentTopFailures(period='{period}')")] - [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentTopFailuresWithPeriod")] + [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentTopFailureWithPeriod")] [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Report))] - public class GetMgReportManagedDeviceEnrollmentTopFailuresWithPeriodCommand : GraphClientCmdlet + public class GetMgReportManagedDeviceEnrollmentTopFailureWithPeriodCommand : GraphClientCmdlet { From 1a44a80a836c6bbfb1b6181eb4f1c4b1a4a99973 Mon Sep 17 00:00:00 2001 From: Ramses Sanchez Hernandez Date: Wed, 21 Oct 2026 19:21:20 -0700 Subject: [PATCH 03/13] Regenerate Reports beta client and cmdlets Run full queued Release generation with Kiota 1.36.1 against the compatible beta spec. Import 530 exported cmdlets and verify all 66 shared suppressions, ten affected functions, and sixteen neighbors. Refresh the pruned client and cmdlets together, preserve committed Beta directory casing, and retain unchanged generated project sources. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- ...erRegistrationDetailsCollectionResponse.cs | 56 -- ...rsByApplicationMetricCollectionResponse.cs | 56 -- ...rsByApplicationMetricCollectionResponse.cs | 56 -- ...redentialUsageDetailsCollectionResponse.cs | 56 -- .../Count/CountRequestBuilder.cs | 127 ----- ...alUserRegistrationDetailsRequestBuilder.cs | 246 -------- ...erRegistrationDetailsItemRequestBuilder.cs | 236 -------- .../Count/CountRequestBuilder.cs | 127 ----- ...ntUsageSummariesByPrinterRequestBuilder.cs | 245 -------- .../PrintUsageByPrinterItemRequestBuilder.cs | 236 -------- .../Count/CountRequestBuilder.cs | 127 ----- ...PrintUsageSummariesByUserRequestBuilder.cs | 245 -------- .../PrintUsageByUserItemRequestBuilder.cs | 236 -------- ...ackSimulationRepeatOffendersGetResponse.cs | 57 -- ...SimulationRepeatOffendersRequestBuilder.cs | 162 ------ ...AttackSimulationRepeatOffendersResponse.cs | 28 - ...lationSimulationUserCoverageGetResponse.cs | 57 -- ...ionSimulationUserCoverageRequestBuilder.cs | 162 ------ ...imulationSimulationUserCoverageResponse.cs | 28 - ...mulationTrainingUserCoverageGetResponse.cs | 57 -- ...ationTrainingUserCoverageRequestBuilder.cs | 162 ------ ...kSimulationTrainingUserCoverageResponse.cs | 28 - .../Count/CountRequestBuilder.cs | 127 ----- .../PrintUsageByPrinterItemRequestBuilder.cs | 236 -------- ...ntUsageSummariesByPrinterRequestBuilder.cs | 245 -------- .../Count/CountRequestBuilder.cs | 127 ----- .../PrintUsageByUserItemRequestBuilder.cs | 236 -------- ...PrintUsageSummariesByUserRequestBuilder.cs | 245 -------- .../Client/Reports/ReportsRequestBuilder.cs | 54 -- .../Count/CountRequestBuilder.cs | 127 ----- ...redentialUsageDetailsItemRequestBuilder.cs | 236 -------- ...serCredentialUsageDetailsRequestBuilder.cs | 246 -------- .../UserInsights/Daily/DailyRequestBuilder.cs | 6 - .../Count/CountRequestBuilder.cs | 127 ----- ...nactiveUsersByApplicationRequestBuilder.cs | 188 ------ ...rsByApplicationMetricItemRequestBuilder.cs | 128 ----- .../Count/CountRequestBuilder.cs | 127 ----- ...nactiveUsersByApplicationRequestBuilder.cs | 188 ------ ...rsByApplicationMetricItemRequestBuilder.cs | 128 ----- .../Monthly/MonthlyRequestBuilder.cs | 6 - .../wrapper/Beta/Client/kiota-lock.json | 6 +- .../wrapper/Beta/Cmdlets/GetMgAuditLog.g.cs | 64 --- .../wrapper/Beta/Cmdlets/GetMgReport.g.cs | 64 --- ...eportAzureAdApplicationSignInSummary.g.cs} | 4 +- ...eportCredentialUserRegistrationDetail.g.cs | 91 --- ...CredentialUserRegistrationDetailCount.g.cs | 61 -- ...tCredentialUserRegistrationDetail_Get.g.cs | 65 --- ...CredentialUserRegistrationDetail_List.g.cs | 141 ----- ...ReportDailyPrintUsageSummaryByPrinter.g.cs | 91 --- ...tDailyPrintUsageSummaryByPrinterCount.g.cs | 61 -- ...rtDailyPrintUsageSummaryByPrinter_Get.g.cs | 65 --- ...tDailyPrintUsageSummaryByPrinter_List.g.cs | 141 ----- ...tMgReportDailyPrintUsageSummaryByUser.g.cs | 91 --- ...portDailyPrintUsageSummaryByUserCount.g.cs | 61 -- ...eportDailyPrintUsageSummaryByUser_Get.g.cs | 65 --- ...portDailyPrintUsageSummaryByUser_List.g.cs | 141 ----- ...ortGetAttackSimulationRepeatOffenders.g.cs | 83 --- ...ttackSimulationSimulationUserCoverage.g.cs | 83 --- ...tAttackSimulationTrainingUserCoverage.g.cs | 83 --- ...gedDeviceEnrollmentAbandonmentDetail.g.cs} | 4 +- ...edDeviceEnrollmentAbandonmentSummary.g.cs} | 4 +- ...ManagedDeviceEnrollmentFailureDetail.g.cs} | 4 +- ...thSkipWithTopWithFilterWithSkipToken.g.cs} | 4 +- ...tManagedDeviceEnrollmentFailureTrend.g.cs} | 4 +- ...ortManagedDeviceEnrollmentTopFailure.g.cs} | 4 +- ...DeviceEnrollmentTopFailureWithPeriod.g.cs} | 4 +- ...portMonthlyPrintUsageSummaryByPrinter.g.cs | 91 --- ...onthlyPrintUsageSummaryByPrinterCount.g.cs | 61 -- ...MonthlyPrintUsageSummaryByPrinter_Get.g.cs | 65 --- ...onthlyPrintUsageSummaryByPrinter_List.g.cs | 141 ----- ...gReportMonthlyPrintUsageSummaryByUser.g.cs | 91 --- ...rtMonthlyPrintUsageSummaryByUserCount.g.cs | 61 -- ...ortMonthlyPrintUsageSummaryByUser_Get.g.cs | 65 --- ...rtMonthlyPrintUsageSummaryByUser_List.g.cs | 141 ----- .../GetMgReportUserCredentialUsageDetail.g.cs | 91 --- ...gReportUserCredentialUsageDetailCount.g.cs | 61 -- ...MgReportUserCredentialUsageDetail_Get.g.cs | 65 --- ...gReportUserCredentialUsageDetail_List.g.cs | 141 ----- ...InsightDailyInactiveUserByApplication.g.cs | 91 --- ...htDailyInactiveUserByApplicationCount.g.cs | 61 -- ...ghtDailyInactiveUserByApplication_Get.g.cs | 65 --- ...htDailyInactiveUserByApplication_List.g.cs | 141 ----- ...sightMonthlyInactiveUserByApplication.g.cs | 91 --- ...MonthlyInactiveUserByApplicationCount.g.cs | 61 -- ...tMonthlyInactiveUserByApplication_Get.g.cs | 65 --- ...MonthlyInactiveUserByApplication_List.g.cs | 141 ----- ...gAuditLogCustomSecurityAttributeAudit.g.cs | 128 ----- .../Cmdlets/NewMgAuditLogDirectoryAudit.g.cs | 134 ----- .../NewMgAuditLogDirectoryProvisioning.g.cs | 164 ------ .../Cmdlets/NewMgAuditLogProvisioning.g.cs | 164 ------ .../Beta/Cmdlets/NewMgAuditLogSignIn.g.cs | 518 ----------------- .../Beta/Cmdlets/NewMgAuditLogSignUp.g.cs | 122 ---- ...gementReportCachedReportConfiguration.g.cs | 104 ---- .../NewMgDeviceManagementReportExportJob.g.cs | 122 ---- ...ewMgReportAppCredentialSignInActivity.g.cs | 122 ---- ...eportApplicationSignInDetailedSummary.g.cs | 86 --- ...eportCredentialUserRegistrationDetail.g.cs | 98 ---- .../Cmdlets/NewMgReportDailyPrintUsage.g.cs | 124 ---- .../NewMgReportDailyPrintUsageByPrinter.g.cs | 136 ----- .../NewMgReportDailyPrintUsageByUser.g.cs | 130 ----- ...ReportDailyPrintUsageSummaryByPrinter.g.cs | 136 ----- ...wMgReportDailyPrintUsageSummaryByUser.g.cs | 130 ----- ...NewMgReportMonthlyPrintUsageByPrinter.g.cs | 136 ----- .../NewMgReportMonthlyPrintUsageByUser.g.cs | 130 ----- ...portMonthlyPrintUsageSummaryByPrinter.g.cs | 136 ----- ...gReportMonthlyPrintUsageSummaryByUser.g.cs | 130 ----- ...gReportServicePrincipalSignInActivity.g.cs | 92 --- .../NewMgReportUserCredentialUsageDetail.g.cs | 98 ---- ...gAuditLogCustomSecurityAttributeAudit.g.cs | 56 -- .../RemoveMgAuditLogDirectoryAudit.g.cs | 56 -- ...RemoveMgAuditLogDirectoryProvisioning.g.cs | 56 -- .../Cmdlets/RemoveMgAuditLogProvisioning.g.cs | 56 -- .../Beta/Cmdlets/RemoveMgAuditLogSignIn.g.cs | 56 -- .../Beta/Cmdlets/RemoveMgAuditLogSignUp.g.cs | 56 -- ...gementReportCachedReportConfiguration.g.cs | 56 -- ...moveMgDeviceManagementReportExportJob.g.cs | 56 -- ...veMgReportAppCredentialSignInActivity.g.cs | 56 -- ...eportApplicationSignInDetailedSummary.g.cs | 56 -- .../RemoveMgReportAuthenticationMethod.g.cs | 55 -- ...eportCredentialUserRegistrationDetail.g.cs | 56 -- .../RemoveMgReportDailyPrintUsage.g.cs | 56 -- ...emoveMgReportDailyPrintUsageByPrinter.g.cs | 56 -- .../RemoveMgReportDailyPrintUsageByUser.g.cs | 56 -- ...ReportDailyPrintUsageSummaryByPrinter.g.cs | 56 -- ...eMgReportDailyPrintUsageSummaryByUser.g.cs | 56 -- .../RemoveMgReportHealthMonitoring.g.cs | 55 -- ...oveMgReportMonthlyPrintUsageByPrinter.g.cs | 56 -- ...RemoveMgReportMonthlyPrintUsageByUser.g.cs | 56 -- ...portMonthlyPrintUsageSummaryByPrinter.g.cs | 56 -- ...gReportMonthlyPrintUsageSummaryByUser.g.cs | 56 -- .../Beta/Cmdlets/RemoveMgReportPartner.g.cs | 55 -- .../Beta/Cmdlets/RemoveMgReportSecurity.g.cs | 55 -- .../RemoveMgReportServiceActivity.g.cs | 55 -- ...gReportServicePrincipalSignInActivity.g.cs | 56 -- .../Beta/Cmdlets/RemoveMgReportSla.g.cs | 55 -- ...moveMgReportUserCredentialUsageDetail.g.cs | 56 -- .../Cmdlets/RemoveMgReportUserInsight.g.cs | 55 -- .../Beta/Cmdlets/UpdateMgAuditLog.g.cs | 75 --- ...gAuditLogCustomSecurityAttributeAudit.g.cs | 144 ----- .../UpdateMgAuditLogDirectoryAudit.g.cs | 150 ----- ...UpdateMgAuditLogDirectoryProvisioning.g.cs | 180 ------ .../Cmdlets/UpdateMgAuditLogProvisioning.g.cs | 180 ------ .../Beta/Cmdlets/UpdateMgAuditLogSignIn.g.cs | 534 ------------------ .../Beta/Cmdlets/UpdateMgAuditLogSignUp.g.cs | 138 ----- ...gementReportCachedReportConfiguration.g.cs | 120 ---- ...dateMgDeviceManagementReportExportJob.g.cs | 138 ----- .../wrapper/Beta/Cmdlets/UpdateMgReport.g.cs | 75 --- ...teMgReportAppCredentialSignInActivity.g.cs | 138 ----- ...eportApplicationSignInDetailedSummary.g.cs | 102 ---- .../UpdateMgReportAuthenticationMethod.g.cs | 75 --- ...eportCredentialUserRegistrationDetail.g.cs | 114 ---- .../UpdateMgReportDailyPrintUsage.g.cs | 140 ----- ...pdateMgReportDailyPrintUsageByPrinter.g.cs | 152 ----- .../UpdateMgReportDailyPrintUsageByUser.g.cs | 146 ----- ...ReportDailyPrintUsageSummaryByPrinter.g.cs | 152 ----- ...eMgReportDailyPrintUsageSummaryByUser.g.cs | 146 ----- .../UpdateMgReportHealthMonitoring.g.cs | 75 --- ...ateMgReportMonthlyPrintUsageByPrinter.g.cs | 152 ----- ...UpdateMgReportMonthlyPrintUsageByUser.g.cs | 146 ----- ...portMonthlyPrintUsageSummaryByPrinter.g.cs | 152 ----- ...gReportMonthlyPrintUsageSummaryByUser.g.cs | 146 ----- .../Beta/Cmdlets/UpdateMgReportPartner.g.cs | 75 --- .../Beta/Cmdlets/UpdateMgReportSecurity.g.cs | 75 --- .../UpdateMgReportServiceActivity.g.cs | 75 --- ...gReportServicePrincipalSignInActivity.g.cs | 108 ---- .../Beta/Cmdlets/UpdateMgReportSla.g.cs | 75 --- ...dateMgReportUserCredentialUsageDetail.g.cs | 114 ---- .../Cmdlets/UpdateMgReportUserInsight.g.cs | 75 --- .../wrapper/Beta/Cmdlets/kiota-lock.json | 2 +- 169 files changed, 20 insertions(+), 17752 deletions(-) delete mode 100644 src/Reports/wrapper/Beta/Client/Models/CredentialUserRegistrationDetailsCollectionResponse.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Models/DailyInactiveUsersByApplicationMetricCollectionResponse.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Models/MonthlyInactiveUsersByApplicationMetricCollectionResponse.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Models/UserCredentialUsageDetailsCollectionResponse.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/CredentialUserRegistrationDetails/Count/CountRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/CredentialUserRegistrationDetails/CredentialUserRegistrationDetailsRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/CredentialUserRegistrationDetails/Item/CredentialUserRegistrationDetailsItemRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByPrinter/Count/CountRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByPrinter/DailyPrintUsageSummariesByPrinterRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByUser/Count/CountRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByUser/DailyPrintUsageSummariesByUserRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByUser/Item/PrintUsageByUserItemRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersGetResponse.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersResponse.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageGetResponse.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageResponse.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageGetResponse.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageResponse.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByPrinter/Count/CountRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByPrinter/MonthlyPrintUsageSummariesByPrinterRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByUser/Count/CountRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByUser/Item/PrintUsageByUserItemRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByUser/MonthlyPrintUsageSummariesByUserRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/UserCredentialUsageDetails/Count/CountRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/UserCredentialUsageDetails/Item/UserCredentialUsageDetailsItemRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/UserCredentialUsageDetails/UserCredentialUsageDetailsRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/InactiveUsersByApplication/Count/CountRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/InactiveUsersByApplication/InactiveUsersByApplicationRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/InactiveUsersByApplication/Item/DailyInactiveUsersByApplicationMetricItemRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/InactiveUsersByApplication/Count/CountRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/InactiveUsersByApplication/InactiveUsersByApplicationRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/InactiveUsersByApplication/Item/MonthlyInactiveUsersByApplicationMetricItemRequestBuilder.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLog.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReport.g.cs rename src/Reports/wrapper/Beta/Cmdlets/{GetMgReportGetAzureADApplicationSignInSummaryWithPeriod.g.cs => GetMgReportAzureAdApplicationSignInSummary.g.cs} (95%) delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetail.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetailCount.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetail_Get.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetail_List.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinter.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinterCount.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinter_Get.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinter_List.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUser.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUserCount.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUser_Get.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUser_List.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAttackSimulationRepeatOffenders.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAttackSimulationSimulationUserCoverage.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAttackSimulationTrainingUserCoverage.g.cs rename src/Reports/wrapper/Beta/Cmdlets/{GetMgReportManagedDeviceEnrollmentAbandonmentDetailsWithSkipWithTopWithFilterWithSkipToken.g.cs => GetMgReportManagedDeviceEnrollmentAbandonmentDetail.g.cs} (95%) rename src/Reports/wrapper/Beta/Cmdlets/{GetMgReportManagedDeviceEnrollmentAbandonmentSummaryWithSkipWithTopWithFilterWithSkipToken.g.cs => GetMgReportManagedDeviceEnrollmentAbandonmentSummary.g.cs} (95%) rename src/Reports/wrapper/Beta/Cmdlets/{GetMgReportManagedDeviceEnrollmentFailureDetails.g.cs => GetMgReportManagedDeviceEnrollmentFailureDetail.g.cs} (97%) rename src/Reports/wrapper/Beta/Cmdlets/{GetMgReportManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken.g.cs => GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs} (96%) rename src/Reports/wrapper/Beta/Cmdlets/{GetMgReportManagedDeviceEnrollmentFailureTrends.g.cs => GetMgReportManagedDeviceEnrollmentFailureTrend.g.cs} (93%) rename src/Reports/wrapper/Beta/Cmdlets/{GetMgReportManagedDeviceEnrollmentTopFailures.g.cs => GetMgReportManagedDeviceEnrollmentTopFailure.g.cs} (93%) rename src/Reports/wrapper/Beta/Cmdlets/{GetMgReportManagedDeviceEnrollmentTopFailuresWithPeriod.g.cs => GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs} (94%) delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinter.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinterCount.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinter_Get.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinter_List.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUser.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUserCount.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUser_Get.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUser_List.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetail.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetailCount.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetail_Get.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetail_List.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplication.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplicationCount.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplication_Get.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplication_List.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplication.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplicationCount.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplication_Get.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplication_List.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogCustomSecurityAttributeAudit.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogDirectoryAudit.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogDirectoryProvisioning.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogProvisioning.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignIn.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignUp.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgDeviceManagementReportCachedReportConfiguration.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgDeviceManagementReportExportJob.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgReportAppCredentialSignInActivity.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgReportApplicationSignInDetailedSummary.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgReportCredentialUserRegistrationDetail.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsage.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageByPrinter.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageByUser.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageSummaryByPrinter.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageSummaryByUser.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageByPrinter.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageByUser.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageSummaryByPrinter.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageSummaryByUser.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgReportServicePrincipalSignInActivity.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgReportUserCredentialUsageDetail.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogCustomSecurityAttributeAudit.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogDirectoryAudit.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogDirectoryProvisioning.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogProvisioning.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignIn.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignUp.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgDeviceManagementReportCachedReportConfiguration.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgDeviceManagementReportExportJob.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAppCredentialSignInActivity.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportApplicationSignInDetailedSummary.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethod.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportCredentialUserRegistrationDetail.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsage.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageByPrinter.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageByUser.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageSummaryByPrinter.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageSummaryByUser.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportHealthMonitoring.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageByPrinter.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageByUser.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageSummaryByPrinter.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageSummaryByUser.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartner.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportSecurity.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportServiceActivity.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportServicePrincipalSignInActivity.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportSla.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserCredentialUsageDetail.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsight.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLog.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogCustomSecurityAttributeAudit.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogDirectoryAudit.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogDirectoryProvisioning.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogProvisioning.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignIn.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignUp.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReportCachedReportConfiguration.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReportExportJob.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReport.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAppCredentialSignInActivity.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportApplicationSignInDetailedSummary.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethod.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCredentialUserRegistrationDetail.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsage.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageByPrinter.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageByUser.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageSummaryByPrinter.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageSummaryByUser.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoring.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageByPrinter.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageByUser.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageSummaryByPrinter.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageSummaryByUser.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartner.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSecurity.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportServiceActivity.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportServicePrincipalSignInActivity.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSla.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserCredentialUsageDetail.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsight.g.cs diff --git a/src/Reports/wrapper/Beta/Client/Models/CredentialUserRegistrationDetailsCollectionResponse.cs b/src/Reports/wrapper/Beta/Client/Models/CredentialUserRegistrationDetailsCollectionResponse.cs deleted file mode 100644 index 684dfac16c1..00000000000 --- a/src/Reports/wrapper/Beta/Client/Models/CredentialUserRegistrationDetailsCollectionResponse.cs +++ /dev/null @@ -1,56 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class CredentialUserRegistrationDetailsCollectionResponse : global::Microsoft.Graph.PowerShell.Reports.Client.Models.BaseCollectionPaginationCountResponse, IParsable - #pragma warning restore CS1591 - { - /// The value property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Value { get; set; } -#nullable restore -#else - public List Value { get; set; } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetailsCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetailsCollectionResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/DailyInactiveUsersByApplicationMetricCollectionResponse.cs b/src/Reports/wrapper/Beta/Client/Models/DailyInactiveUsersByApplicationMetricCollectionResponse.cs deleted file mode 100644 index 5591cb793be..00000000000 --- a/src/Reports/wrapper/Beta/Client/Models/DailyInactiveUsersByApplicationMetricCollectionResponse.cs +++ /dev/null @@ -1,56 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class DailyInactiveUsersByApplicationMetricCollectionResponse : global::Microsoft.Graph.PowerShell.Reports.Client.Models.BaseCollectionPaginationCountResponse, IParsable - #pragma warning restore CS1591 - { - /// The value property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Value { get; set; } -#nullable restore -#else - public List Value { get; set; } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.PowerShell.Reports.Client.Models.DailyInactiveUsersByApplicationMetricCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.DailyInactiveUsersByApplicationMetricCollectionResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.DailyInactiveUsersByApplicationMetric.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/MonthlyInactiveUsersByApplicationMetricCollectionResponse.cs b/src/Reports/wrapper/Beta/Client/Models/MonthlyInactiveUsersByApplicationMetricCollectionResponse.cs deleted file mode 100644 index c61de06dbbc..00000000000 --- a/src/Reports/wrapper/Beta/Client/Models/MonthlyInactiveUsersByApplicationMetricCollectionResponse.cs +++ /dev/null @@ -1,56 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class MonthlyInactiveUsersByApplicationMetricCollectionResponse : global::Microsoft.Graph.PowerShell.Reports.Client.Models.BaseCollectionPaginationCountResponse, IParsable - #pragma warning restore CS1591 - { - /// The value property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Value { get; set; } -#nullable restore -#else - public List Value { get; set; } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyInactiveUsersByApplicationMetricCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyInactiveUsersByApplicationMetricCollectionResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyInactiveUsersByApplicationMetric.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/UserCredentialUsageDetailsCollectionResponse.cs b/src/Reports/wrapper/Beta/Client/Models/UserCredentialUsageDetailsCollectionResponse.cs deleted file mode 100644 index db4c256a56d..00000000000 --- a/src/Reports/wrapper/Beta/Client/Models/UserCredentialUsageDetailsCollectionResponse.cs +++ /dev/null @@ -1,56 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Models -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class UserCredentialUsageDetailsCollectionResponse : global::Microsoft.Graph.PowerShell.Reports.Client.Models.BaseCollectionPaginationCountResponse, IParsable - #pragma warning restore CS1591 - { - /// The value property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Value { get; set; } -#nullable restore -#else - public List Value { get; set; } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetailsCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetailsCollectionResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/CredentialUserRegistrationDetails/Count/CountRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/CredentialUserRegistrationDetails/Count/CountRequestBuilder.cs deleted file mode 100644 index dd630a0632d..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/CredentialUserRegistrationDetails/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,127 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.Count -{ - /// - /// Builds and executes requests for operations under \reports\credentialUserRegistrationDetails\$count - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/credentialUserRegistrationDetails/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/credentialUserRegistrationDetails/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the number of the resource - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/CredentialUserRegistrationDetails/CredentialUserRegistrationDetailsRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/CredentialUserRegistrationDetails/CredentialUserRegistrationDetailsRequestBuilder.cs deleted file mode 100644 index 7af3f4c443b..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/CredentialUserRegistrationDetails/CredentialUserRegistrationDetailsRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.Count; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.Item; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails -{ - /// - /// Builds and executes requests for operations under \reports\credentialUserRegistrationDetails - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CredentialUserRegistrationDetailsRequestBuilder : BaseRequestBuilder - { - /// The Count property - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Gets an item from the Microsoft.Graph.PowerShell.Reports.Client.reports.credentialUserRegistrationDetails.item collection - /// Unique identifier of the item - /// A - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.Item.CredentialUserRegistrationDetailsItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("credentialUserRegistrationDetails%2Did", position); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.Item.CredentialUserRegistrationDetailsItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CredentialUserRegistrationDetailsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/credentialUserRegistrationDetails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CredentialUserRegistrationDetailsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/credentialUserRegistrationDetails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of credentialUserRegistrationDetails objects for a given tenant. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetailsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to credentialUserRegistrationDetails for reports - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of credentialUserRegistrationDetails objects for a given tenant. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create new navigation property to credentialUserRegistrationDetails for reports - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.CredentialUserRegistrationDetailsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.CredentialUserRegistrationDetailsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of credentialUserRegistrationDetails objects for a given tenant. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CredentialUserRegistrationDetailsRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CredentialUserRegistrationDetailsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CredentialUserRegistrationDetailsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/CredentialUserRegistrationDetails/Item/CredentialUserRegistrationDetailsItemRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/CredentialUserRegistrationDetails/Item/CredentialUserRegistrationDetailsItemRequestBuilder.cs deleted file mode 100644 index 8689e6ff755..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/CredentialUserRegistrationDetails/Item/CredentialUserRegistrationDetailsItemRequestBuilder.cs +++ /dev/null @@ -1,236 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.Item -{ - /// - /// Builds and executes requests for operations under \reports\credentialUserRegistrationDetails\{credentialUserRegistrationDetails-id} - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CredentialUserRegistrationDetailsItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CredentialUserRegistrationDetailsItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails%2Did}{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CredentialUserRegistrationDetailsItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property credentialUserRegistrationDetails for reports - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Details of the usage of self-service password reset and multifactor authentication (MFA) for all registered users. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property credentialUserRegistrationDetails in reports - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property credentialUserRegistrationDetails for reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Details of the usage of self-service password reset and multifactor authentication (MFA) for all registered users. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property credentialUserRegistrationDetails in reports - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.Item.CredentialUserRegistrationDetailsItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.Item.CredentialUserRegistrationDetailsItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CredentialUserRegistrationDetailsItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Details of the usage of self-service password reset and multifactor authentication (MFA) for all registered users. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CredentialUserRegistrationDetailsItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CredentialUserRegistrationDetailsItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CredentialUserRegistrationDetailsItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByPrinter/Count/CountRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByPrinter/Count/CountRequestBuilder.cs deleted file mode 100644 index 8bd3c3efabd..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByPrinter/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,127 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.Count -{ - /// - /// Builds and executes requests for operations under \reports\dailyPrintUsageSummariesByPrinter\$count - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/dailyPrintUsageSummariesByPrinter/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/dailyPrintUsageSummariesByPrinter/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the number of the resource - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByPrinter/DailyPrintUsageSummariesByPrinterRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByPrinter/DailyPrintUsageSummariesByPrinterRequestBuilder.cs deleted file mode 100644 index 724576b1eb3..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByPrinter/DailyPrintUsageSummariesByPrinterRequestBuilder.cs +++ /dev/null @@ -1,245 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.Count; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.Item; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter -{ - /// - /// Builds and executes requests for operations under \reports\dailyPrintUsageSummariesByPrinter - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DailyPrintUsageSummariesByPrinterRequestBuilder : BaseRequestBuilder - { - /// The Count property - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Gets an item from the Microsoft.Graph.PowerShell.Reports.Client.reports.dailyPrintUsageSummariesByPrinter.item collection - /// Unique identifier of the item - /// A - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.Item.PrintUsageByPrinterItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("printUsageByPrinter%2Did", position); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.Item.PrintUsageByPrinterItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DailyPrintUsageSummariesByPrinterRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/dailyPrintUsageSummariesByPrinter{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public DailyPrintUsageSummariesByPrinterRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/dailyPrintUsageSummariesByPrinter{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get dailyPrintUsageSummariesByPrinter from reports - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinterCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to dailyPrintUsageSummariesByPrinter for reports - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get dailyPrintUsageSummariesByPrinter from reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create new navigation property to dailyPrintUsageSummariesByPrinter for reports - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.DailyPrintUsageSummariesByPrinterRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.DailyPrintUsageSummariesByPrinterRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get dailyPrintUsageSummariesByPrinter from reports - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DailyPrintUsageSummariesByPrinterRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DailyPrintUsageSummariesByPrinterRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DailyPrintUsageSummariesByPrinterRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs deleted file mode 100644 index 4aa4573b27c..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs +++ /dev/null @@ -1,236 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.Item -{ - /// - /// Builds and executes requests for operations under \reports\dailyPrintUsageSummariesByPrinter\{printUsageByPrinter-id} - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByPrinterItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PrintUsageByPrinterItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter%2Did}{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public PrintUsageByPrinterItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property dailyPrintUsageSummariesByPrinter for reports - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get dailyPrintUsageSummariesByPrinter from reports - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property dailyPrintUsageSummariesByPrinter in reports - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property dailyPrintUsageSummariesByPrinter for reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Get dailyPrintUsageSummariesByPrinter from reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property dailyPrintUsageSummariesByPrinter in reports - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The dailyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.Item.PrintUsageByPrinterItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.Item.PrintUsageByPrinterItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByPrinterItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get dailyPrintUsageSummariesByPrinter from reports - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByPrinterItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByPrinterItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByPrinterItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByUser/Count/CountRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByUser/Count/CountRequestBuilder.cs deleted file mode 100644 index 50e84dd11d4..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByUser/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,127 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.Count -{ - /// - /// Builds and executes requests for operations under \reports\dailyPrintUsageSummariesByUser\$count - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/dailyPrintUsageSummariesByUser/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/dailyPrintUsageSummariesByUser/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the number of the resource - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByUser/DailyPrintUsageSummariesByUserRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByUser/DailyPrintUsageSummariesByUserRequestBuilder.cs deleted file mode 100644 index de1109ab7bf..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByUser/DailyPrintUsageSummariesByUserRequestBuilder.cs +++ /dev/null @@ -1,245 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.Count; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.Item; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser -{ - /// - /// Builds and executes requests for operations under \reports\dailyPrintUsageSummariesByUser - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DailyPrintUsageSummariesByUserRequestBuilder : BaseRequestBuilder - { - /// The Count property - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Gets an item from the Microsoft.Graph.PowerShell.Reports.Client.reports.dailyPrintUsageSummariesByUser.item collection - /// Unique identifier of the item - /// A - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.Item.PrintUsageByUserItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("printUsageByUser%2Did", position); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.Item.PrintUsageByUserItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DailyPrintUsageSummariesByUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/dailyPrintUsageSummariesByUser{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public DailyPrintUsageSummariesByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/dailyPrintUsageSummariesByUser{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get dailyPrintUsageSummariesByUser from reports - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to dailyPrintUsageSummariesByUser for reports - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get dailyPrintUsageSummariesByUser from reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create new navigation property to dailyPrintUsageSummariesByUser for reports - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.DailyPrintUsageSummariesByUserRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.DailyPrintUsageSummariesByUserRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get dailyPrintUsageSummariesByUser from reports - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DailyPrintUsageSummariesByUserRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DailyPrintUsageSummariesByUserRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DailyPrintUsageSummariesByUserRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByUser/Item/PrintUsageByUserItemRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByUser/Item/PrintUsageByUserItemRequestBuilder.cs deleted file mode 100644 index d73c5f0daa6..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/DailyPrintUsageSummariesByUser/Item/PrintUsageByUserItemRequestBuilder.cs +++ /dev/null @@ -1,236 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.Item -{ - /// - /// Builds and executes requests for operations under \reports\dailyPrintUsageSummariesByUser\{printUsageByUser-id} - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByUserItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PrintUsageByUserItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/dailyPrintUsageSummariesByUser/{printUsageByUser%2Did}{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public PrintUsageByUserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/dailyPrintUsageSummariesByUser/{printUsageByUser%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property dailyPrintUsageSummariesByUser for reports - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get dailyPrintUsageSummariesByUser from reports - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property dailyPrintUsageSummariesByUser in reports - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property dailyPrintUsageSummariesByUser for reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Get dailyPrintUsageSummariesByUser from reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property dailyPrintUsageSummariesByUser in reports - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The dailyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the dailyPrintUsage navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.Item.PrintUsageByUserItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.Item.PrintUsageByUserItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByUserItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get dailyPrintUsageSummariesByUser from reports - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByUserItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByUserItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByUserItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersGetResponse.cs b/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersGetResponse.cs deleted file mode 100644 index bc2ba5d16c3..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersGetResponse.cs +++ /dev/null @@ -1,57 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAttackSimulationRepeatOffendersGetResponse : global::Microsoft.Graph.PowerShell.Reports.Client.Models.BaseCollectionPaginationCountResponse, IParsable - #pragma warning restore CS1591 - { - /// The value property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Value { get; set; } -#nullable restore -#else - public List Value { get; set; } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersGetResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.AttackSimulationRepeatOffender.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersRequestBuilder.cs deleted file mode 100644 index d2137575c6f..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersRequestBuilder.cs +++ /dev/null @@ -1,162 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders -{ - /// - /// Builds and executes requests for operations under \reports\getAttackSimulationRepeatOffenders() - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAttackSimulationRepeatOffendersRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAttackSimulationRepeatOffendersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/getAttackSimulationRepeatOffenders(){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public GetAttackSimulationRepeatOffendersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/getAttackSimulationRepeatOffenders(){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// List the users of a tenant who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetAttackSimulationRepeatOffendersGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAttackSimulationRepeatOffendersGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List the users of a tenant who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetAttackSimulationRepeatOffendersGetResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List the users of a tenant who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// List the users of a tenant who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAttackSimulationRepeatOffendersRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAttackSimulationRepeatOffendersRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersResponse.cs b/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersResponse.cs deleted file mode 100644 index bfef39d9cb4..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders -{ - [Obsolete("This class is obsolete. Use GetAttackSimulationRepeatOffendersGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAttackSimulationRepeatOffendersResponse : global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersGetResponse, IParsable - #pragma warning restore CS1591 - { - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageGetResponse.cs b/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageGetResponse.cs deleted file mode 100644 index 7cab9729edb..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageGetResponse.cs +++ /dev/null @@ -1,57 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAttackSimulationSimulationUserCoverageGetResponse : global::Microsoft.Graph.PowerShell.Reports.Client.Models.BaseCollectionPaginationCountResponse, IParsable - #pragma warning restore CS1591 - { - /// The value property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Value { get; set; } -#nullable restore -#else - public List Value { get; set; } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageGetResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.AttackSimulationSimulationUserCoverage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageRequestBuilder.cs deleted file mode 100644 index af11fb070f1..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageRequestBuilder.cs +++ /dev/null @@ -1,162 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage -{ - /// - /// Builds and executes requests for operations under \reports\getAttackSimulationSimulationUserCoverage() - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAttackSimulationSimulationUserCoverageRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAttackSimulationSimulationUserCoverageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/getAttackSimulationSimulationUserCoverage(){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public GetAttackSimulationSimulationUserCoverageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/getAttackSimulationSimulationUserCoverage(){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// Get simulation coverage for users of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetAttackSimulationSimulationUserCoverageGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAttackSimulationSimulationUserCoverageGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get simulation coverage for users of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetAttackSimulationSimulationUserCoverageGetResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get simulation coverage for users of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get simulation coverage for users of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAttackSimulationSimulationUserCoverageRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAttackSimulationSimulationUserCoverageRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageResponse.cs b/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageResponse.cs deleted file mode 100644 index abdd402671e..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage -{ - [Obsolete("This class is obsolete. Use GetAttackSimulationSimulationUserCoverageGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAttackSimulationSimulationUserCoverageResponse : global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageGetResponse, IParsable - #pragma warning restore CS1591 - { - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageGetResponse.cs b/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageGetResponse.cs deleted file mode 100644 index 3b8046f4950..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageGetResponse.cs +++ /dev/null @@ -1,57 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage -{ - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAttackSimulationTrainingUserCoverageGetResponse : global::Microsoft.Graph.PowerShell.Reports.Client.Models.BaseCollectionPaginationCountResponse, IParsable - #pragma warning restore CS1591 - { - /// The value property -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public List? Value { get; set; } -#nullable restore -#else - public List Value { get; set; } -#endif - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageGetResponse(); - } - /// - /// The deserialization information for the current model - /// - /// A IDictionary<string, Action<IParseNode>> - public override IDictionary> GetFieldDeserializers() - { - return new Dictionary>(base.GetFieldDeserializers()) - { - { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.AttackSimulationTrainingUserCoverage.CreateFromDiscriminatorValue)?.AsList(); } }, - }; - } - /// - /// Serializes information the current object - /// - /// Serialization writer to use to serialize this model - public override void Serialize(ISerializationWriter writer) - { - if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); - base.Serialize(writer); - writer.WriteCollectionOfObjectValues("value", Value); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageRequestBuilder.cs deleted file mode 100644 index 5f21027995a..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageRequestBuilder.cs +++ /dev/null @@ -1,162 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage -{ - /// - /// Builds and executes requests for operations under \reports\getAttackSimulationTrainingUserCoverage() - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAttackSimulationTrainingUserCoverageRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public GetAttackSimulationTrainingUserCoverageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/getAttackSimulationTrainingUserCoverage(){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public GetAttackSimulationTrainingUserCoverageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/getAttackSimulationTrainingUserCoverage(){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) - { - } - /// - /// List training coverage for each user of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsGetAttackSimulationTrainingUserCoverageGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsGetAttackSimulationTrainingUserCoverageGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List training coverage for each user of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetAttackSimulationTrainingUserCoverageGetResponseAsync instead.")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// List training coverage for each user of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans on 2022-05-24 and will be removed 2022-08-20")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// List training coverage for each user of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAttackSimulationTrainingUserCoverageRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class GetAttackSimulationTrainingUserCoverageRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageResponse.cs b/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageResponse.cs deleted file mode 100644 index 8c3f84333a1..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using System.Collections.Generic; -using System.IO; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage -{ - [Obsolete("This class is obsolete. Use GetAttackSimulationTrainingUserCoverageGetResponse instead.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 - public partial class GetAttackSimulationTrainingUserCoverageResponse : global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageGetResponse, IParsable - #pragma warning restore CS1591 - { - /// - /// Creates a new instance of the appropriate class based on discriminator value - /// - /// A - /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageResponse CreateFromDiscriminatorValue(IParseNode parseNode) - { - if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageResponse(); - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByPrinter/Count/CountRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByPrinter/Count/CountRequestBuilder.cs deleted file mode 100644 index 1b5540c5a03..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByPrinter/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,127 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.Count -{ - /// - /// Builds and executes requests for operations under \reports\monthlyPrintUsageSummariesByPrinter\$count - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/monthlyPrintUsageSummariesByPrinter/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/monthlyPrintUsageSummariesByPrinter/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the number of the resource - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs deleted file mode 100644 index dc51572da15..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs +++ /dev/null @@ -1,236 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.Item -{ - /// - /// Builds and executes requests for operations under \reports\monthlyPrintUsageSummariesByPrinter\{printUsageByPrinter-id} - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByPrinterItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PrintUsageByPrinterItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter%2Did}{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public PrintUsageByPrinterItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property monthlyPrintUsageSummariesByPrinter for reports - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get monthlyPrintUsageSummariesByPrinter from reports - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property monthlyPrintUsageSummariesByPrinter in reports - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property monthlyPrintUsageSummariesByPrinter for reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Get monthlyPrintUsageSummariesByPrinter from reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property monthlyPrintUsageSummariesByPrinter in reports - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.Item.PrintUsageByPrinterItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.Item.PrintUsageByPrinterItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByPrinterItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get monthlyPrintUsageSummariesByPrinter from reports - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByPrinterItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByPrinterItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByPrinterItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByPrinter/MonthlyPrintUsageSummariesByPrinterRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByPrinter/MonthlyPrintUsageSummariesByPrinterRequestBuilder.cs deleted file mode 100644 index 85996516eeb..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByPrinter/MonthlyPrintUsageSummariesByPrinterRequestBuilder.cs +++ /dev/null @@ -1,245 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.Count; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.Item; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter -{ - /// - /// Builds and executes requests for operations under \reports\monthlyPrintUsageSummariesByPrinter - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MonthlyPrintUsageSummariesByPrinterRequestBuilder : BaseRequestBuilder - { - /// The Count property - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Gets an item from the Microsoft.Graph.PowerShell.Reports.Client.reports.monthlyPrintUsageSummariesByPrinter.item collection - /// Unique identifier of the item - /// A - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.Item.PrintUsageByPrinterItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("printUsageByPrinter%2Did", position); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.Item.PrintUsageByPrinterItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MonthlyPrintUsageSummariesByPrinterRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/monthlyPrintUsageSummariesByPrinter{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public MonthlyPrintUsageSummariesByPrinterRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/monthlyPrintUsageSummariesByPrinter{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get monthlyPrintUsageSummariesByPrinter from reports - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinterCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to monthlyPrintUsageSummariesByPrinter for reports - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get monthlyPrintUsageSummariesByPrinter from reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create new navigation property to monthlyPrintUsageSummariesByPrinter for reports - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The monthlyPrintUsageSummariesByPrinter navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByPrinter navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.MonthlyPrintUsageSummariesByPrinterRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.MonthlyPrintUsageSummariesByPrinterRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get monthlyPrintUsageSummariesByPrinter from reports - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MonthlyPrintUsageSummariesByPrinterRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MonthlyPrintUsageSummariesByPrinterRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MonthlyPrintUsageSummariesByPrinterRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByUser/Count/CountRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByUser/Count/CountRequestBuilder.cs deleted file mode 100644 index 84e02c208fa..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByUser/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,127 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.Count -{ - /// - /// Builds and executes requests for operations under \reports\monthlyPrintUsageSummariesByUser\$count - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/monthlyPrintUsageSummariesByUser/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/monthlyPrintUsageSummariesByUser/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the number of the resource - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByUser/Item/PrintUsageByUserItemRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByUser/Item/PrintUsageByUserItemRequestBuilder.cs deleted file mode 100644 index 1fe859041c9..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByUser/Item/PrintUsageByUserItemRequestBuilder.cs +++ /dev/null @@ -1,236 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.Item -{ - /// - /// Builds and executes requests for operations under \reports\monthlyPrintUsageSummariesByUser\{printUsageByUser-id} - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByUserItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public PrintUsageByUserItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser%2Did}{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public PrintUsageByUserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property monthlyPrintUsageSummariesByUser for reports - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get monthlyPrintUsageSummariesByUser from reports - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property monthlyPrintUsageSummariesByUser in reports - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property monthlyPrintUsageSummariesByUser for reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Get monthlyPrintUsageSummariesByUser from reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property monthlyPrintUsageSummariesByUser in reports - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.Item.PrintUsageByUserItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.Item.PrintUsageByUserItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByUserItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Get monthlyPrintUsageSummariesByUser from reports - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByUserItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByUserItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class PrintUsageByUserItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByUser/MonthlyPrintUsageSummariesByUserRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByUser/MonthlyPrintUsageSummariesByUserRequestBuilder.cs deleted file mode 100644 index 5b0266691ba..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/MonthlyPrintUsageSummariesByUser/MonthlyPrintUsageSummariesByUserRequestBuilder.cs +++ /dev/null @@ -1,245 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.Count; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.Item; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser -{ - /// - /// Builds and executes requests for operations under \reports\monthlyPrintUsageSummariesByUser - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MonthlyPrintUsageSummariesByUserRequestBuilder : BaseRequestBuilder - { - /// The Count property - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Gets an item from the Microsoft.Graph.PowerShell.Reports.Client.reports.monthlyPrintUsageSummariesByUser.item collection - /// Unique identifier of the item - /// A - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.Item.PrintUsageByUserItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("printUsageByUser%2Did", position); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.Item.PrintUsageByUserItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MonthlyPrintUsageSummariesByUserRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/monthlyPrintUsageSummariesByUser{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public MonthlyPrintUsageSummariesByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/monthlyPrintUsageSummariesByUser{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get monthlyPrintUsageSummariesByUser from reports - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to monthlyPrintUsageSummariesByUser for reports - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get monthlyPrintUsageSummariesByUser from reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create new navigation property to monthlyPrintUsageSummariesByUser for reports - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The monthlyPrintUsageSummariesByUser navigation property is deprecated and will stop returning data on July 31, 2023. Please use the monthlyPrintUsageByUser navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.MonthlyPrintUsageSummariesByUserRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.MonthlyPrintUsageSummariesByUserRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get monthlyPrintUsageSummariesByUser from reports - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MonthlyPrintUsageSummariesByUserRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MonthlyPrintUsageSummariesByUserRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MonthlyPrintUsageSummariesByUserRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/ReportsRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/ReportsRequestBuilder.cs index d7e093c147b..26cd81f21c1 100644 --- a/src/Reports/wrapper/Beta/Client/Reports/ReportsRequestBuilder.cs +++ b/src/Reports/wrapper/Beta/Client/Reports/ReportsRequestBuilder.cs @@ -7,18 +7,12 @@ using Microsoft.Graph.PowerShell.Reports.Client.Reports.AuthenticationMethods; using Microsoft.Graph.PowerShell.Reports.Client.Reports.AzureADPremiumLicenseInsight; using Microsoft.Graph.PowerShell.Reports.Client.Reports.Correlations; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails; using Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsage; using Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageByPrinter; using Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageByUser; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser; using Microsoft.Graph.PowerShell.Reports.Client.Reports.DeviceConfigurationDeviceActivity; using Microsoft.Graph.PowerShell.Reports.Client.Reports.DeviceConfigurationUserActivity; using Microsoft.Graph.PowerShell.Reports.Client.Reports.GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage; using Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAzureADApplicationSignInSummaryWithPeriod; using Microsoft.Graph.PowerShell.Reports.Client.Reports.GetBrowserDistributionUserCountsWithPeriod; using Microsoft.Graph.PowerShell.Reports.Client.Reports.GetBrowserUserCountsWithPeriod; @@ -151,14 +145,11 @@ using Microsoft.Graph.PowerShell.Reports.Client.Reports.MicrosoftAppsFileStorageContainerUsageSummary; using Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageByPrinter; using Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageByUser; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser; using Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners; using Microsoft.Graph.PowerShell.Reports.Client.Reports.Security; using Microsoft.Graph.PowerShell.Reports.Client.Reports.ServiceActivity; using Microsoft.Graph.PowerShell.Reports.Client.Reports.ServicePrincipalSignInActivities; using Microsoft.Graph.PowerShell.Reports.Client.Reports.Sla; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails; using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -201,11 +192,6 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Correlations.CorrelationsRequestBuilder(PathParameters, RequestAdapter); } - /// The credentialUserRegistrationDetails property - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.CredentialUserRegistrationDetailsRequestBuilder CredentialUserRegistrationDetails - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.CredentialUserRegistrationDetails.CredentialUserRegistrationDetailsRequestBuilder(PathParameters, RequestAdapter); - } /// The dailyPrintUsage property public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsage.DailyPrintUsageRequestBuilder DailyPrintUsage { @@ -221,16 +207,6 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageByUser.DailyPrintUsageByUserRequestBuilder(PathParameters, RequestAdapter); } - /// The dailyPrintUsageSummariesByPrinter property - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.DailyPrintUsageSummariesByPrinterRequestBuilder DailyPrintUsageSummariesByPrinter - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByPrinter.DailyPrintUsageSummariesByPrinterRequestBuilder(PathParameters, RequestAdapter); - } - /// The dailyPrintUsageSummariesByUser property - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.DailyPrintUsageSummariesByUserRequestBuilder DailyPrintUsageSummariesByUser - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DailyPrintUsageSummariesByUser.DailyPrintUsageSummariesByUserRequestBuilder(PathParameters, RequestAdapter); - } /// The deviceConfigurationDeviceActivity property public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.DeviceConfigurationDeviceActivity.DeviceConfigurationDeviceActivityRequestBuilder DeviceConfigurationDeviceActivity { @@ -246,21 +222,6 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder(PathParameters, RequestAdapter); } - /// The getAttackSimulationRepeatOffenders property - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersRequestBuilder GetAttackSimulationRepeatOffenders - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersRequestBuilder(PathParameters, RequestAdapter); - } - /// The getAttackSimulationSimulationUserCoverage property - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageRequestBuilder GetAttackSimulationSimulationUserCoverage - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageRequestBuilder(PathParameters, RequestAdapter); - } - /// The getAttackSimulationTrainingUserCoverage property - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageRequestBuilder GetAttackSimulationTrainingUserCoverage - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageRequestBuilder(PathParameters, RequestAdapter); - } /// The getCredentialUserRegistrationCount property public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetCredentialUserRegistrationCount.GetCredentialUserRegistrationCountRequestBuilder GetCredentialUserRegistrationCount { @@ -321,16 +282,6 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageByUser.MonthlyPrintUsageByUserRequestBuilder(PathParameters, RequestAdapter); } - /// The monthlyPrintUsageSummariesByPrinter property - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.MonthlyPrintUsageSummariesByPrinterRequestBuilder MonthlyPrintUsageSummariesByPrinter - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByPrinter.MonthlyPrintUsageSummariesByPrinterRequestBuilder(PathParameters, RequestAdapter); - } - /// The monthlyPrintUsageSummariesByUser property - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.MonthlyPrintUsageSummariesByUserRequestBuilder MonthlyPrintUsageSummariesByUser - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.MonthlyPrintUsageSummariesByUser.MonthlyPrintUsageSummariesByUserRequestBuilder(PathParameters, RequestAdapter); - } /// The partners property public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.PartnersRequestBuilder Partners { @@ -356,11 +307,6 @@ public partial class ReportsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Sla.SlaRequestBuilder(PathParameters, RequestAdapter); } - /// The userCredentialUsageDetails property - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.UserCredentialUsageDetailsRequestBuilder UserCredentialUsageDetails - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.UserCredentialUsageDetailsRequestBuilder(PathParameters, RequestAdapter); - } /// The userInsights property public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.UserInsightsRequestBuilder UserInsights { diff --git a/src/Reports/wrapper/Beta/Client/Reports/UserCredentialUsageDetails/Count/CountRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/UserCredentialUsageDetails/Count/CountRequestBuilder.cs deleted file mode 100644 index 51d5ab2f0d3..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/UserCredentialUsageDetails/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,127 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.Count -{ - /// - /// Builds and executes requests for operations under \reports\userCredentialUsageDetails\$count - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userCredentialUsageDetails/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userCredentialUsageDetails/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the number of the resource - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/UserCredentialUsageDetails/Item/UserCredentialUsageDetailsItemRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/UserCredentialUsageDetails/Item/UserCredentialUsageDetailsItemRequestBuilder.cs deleted file mode 100644 index d5cc84f6c03..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/UserCredentialUsageDetails/Item/UserCredentialUsageDetailsItemRequestBuilder.cs +++ /dev/null @@ -1,236 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.Item -{ - /// - /// Builds and executes requests for operations under \reports\userCredentialUsageDetails\{userCredentialUsageDetails-id} - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserCredentialUsageDetailsItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UserCredentialUsageDetailsItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userCredentialUsageDetails/{userCredentialUsageDetails%2Did}{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public UserCredentialUsageDetailsItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userCredentialUsageDetails/{userCredentialUsageDetails%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Delete navigation property userCredentialUsageDetails for reports - /// - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToDeleteRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Represents the self-service password reset (SSPR) usage for a given tenant. - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Update the navigation property userCredentialUsageDetails in reports - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Delete navigation property userCredentialUsageDetails for reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Represents the self-service password reset (SSPR) usage for a given tenant. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Update the navigation property userCredentialUsageDetails in reports - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.Item.UserCredentialUsageDetailsItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.Item.UserCredentialUsageDetailsItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserCredentialUsageDetailsItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration - { - } - /// - /// Represents the self-service password reset (SSPR) usage for a given tenant. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserCredentialUsageDetailsItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserCredentialUsageDetailsItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserCredentialUsageDetailsItemRequestBuilderPatchRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/UserCredentialUsageDetails/UserCredentialUsageDetailsRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/UserCredentialUsageDetails/UserCredentialUsageDetailsRequestBuilder.cs deleted file mode 100644 index d146580f660..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/UserCredentialUsageDetails/UserCredentialUsageDetailsRequestBuilder.cs +++ /dev/null @@ -1,246 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.Count; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.Item; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails -{ - /// - /// Builds and executes requests for operations under \reports\userCredentialUsageDetails - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserCredentialUsageDetailsRequestBuilder : BaseRequestBuilder - { - /// The Count property - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Gets an item from the Microsoft.Graph.PowerShell.Reports.Client.reports.userCredentialUsageDetails.item collection - /// Unique identifier of the item - /// A - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.Item.UserCredentialUsageDetailsItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("userCredentialUsageDetails%2Did", position); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.Item.UserCredentialUsageDetailsItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public UserCredentialUsageDetailsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userCredentialUsageDetails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public UserCredentialUsageDetailsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userCredentialUsageDetails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. - /// Find more info here - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetailsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Create new navigation property to userCredentialUsageDetails for reports - /// - /// A - /// The request body - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task PostAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task PostAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPostRequestInformation(body, requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Create new navigation property to userCredentialUsageDetails for reports - /// - /// A - /// The request body - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails body, Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails body, Action> requestConfiguration = default) - { -#endif - if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); - var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The Reporting userCredentialUsageDetails API is deprecated and will stop returning data on June 30, 2025. Please use the new userEventsSummary API. as of 2023-06/credentialUserRegistrationDetails on 2023-06-21 and will be removed 2024-06-30")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.UserCredentialUsageDetailsRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserCredentialUsageDetails.UserCredentialUsageDetailsRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserCredentialUsageDetailsRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserCredentialUsageDetailsRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class UserCredentialUsageDetailsRequestBuilderPostRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/DailyRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/DailyRequestBuilder.cs index 9bac0aef6a4..9ae356694ae 100644 --- a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/DailyRequestBuilder.cs +++ b/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/DailyRequestBuilder.cs @@ -5,7 +5,6 @@ using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.ActiveUsers; using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.Authentications; using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsers; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication; using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.MfaCompletions; using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.MfaTelecomFraud; using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.SignUps; @@ -42,11 +41,6 @@ public partial class DailyRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsers.InactiveUsersRequestBuilder(PathParameters, RequestAdapter); } - /// The inactiveUsersByApplication property - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.InactiveUsersByApplicationRequestBuilder InactiveUsersByApplication - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.InactiveUsersByApplicationRequestBuilder(PathParameters, RequestAdapter); - } /// The mfaCompletions property public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.MfaCompletions.MfaCompletionsRequestBuilder MfaCompletions { diff --git a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/InactiveUsersByApplication/Count/CountRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/InactiveUsersByApplication/Count/CountRequestBuilder.cs deleted file mode 100644 index c9e27f83cf1..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/InactiveUsersByApplication/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,127 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.Count -{ - /// - /// Builds and executes requests for operations under \reports\userInsights\daily\inactiveUsersByApplication\$count - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userInsights/daily/inactiveUsersByApplication/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userInsights/daily/inactiveUsersByApplication/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the number of the resource - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/InactiveUsersByApplication/InactiveUsersByApplicationRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/InactiveUsersByApplication/InactiveUsersByApplicationRequestBuilder.cs deleted file mode 100644 index efe94ee226d..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/InactiveUsersByApplication/InactiveUsersByApplicationRequestBuilder.cs +++ /dev/null @@ -1,188 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.Count; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.Item; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication -{ - /// - /// Builds and executes requests for operations under \reports\userInsights\daily\inactiveUsersByApplication - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InactiveUsersByApplicationRequestBuilder : BaseRequestBuilder - { - /// The Count property - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Gets an item from the Microsoft.Graph.PowerShell.Reports.Client.reports.userInsights.daily.inactiveUsersByApplication.item collection - /// Unique identifier of the item - /// A - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.Item.DailyInactiveUsersByApplicationMetricItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("dailyInactiveUsersByApplicationMetric%2Did", position); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.Item.DailyInactiveUsersByApplicationMetricItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public InactiveUsersByApplicationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userInsights/daily/inactiveUsersByApplication{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public InactiveUsersByApplicationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userInsights/daily/inactiveUsersByApplication{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get inactiveUsersByApplication from reports - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.DailyInactiveUsersByApplicationMetricCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get inactiveUsersByApplication from reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.InactiveUsersByApplicationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.InactiveUsersByApplicationRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get inactiveUsersByApplication from reports - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InactiveUsersByApplicationRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InactiveUsersByApplicationRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/InactiveUsersByApplication/Item/DailyInactiveUsersByApplicationMetricItemRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/InactiveUsersByApplication/Item/DailyInactiveUsersByApplicationMetricItemRequestBuilder.cs deleted file mode 100644 index 07a64acc062..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Daily/InactiveUsersByApplication/Item/DailyInactiveUsersByApplicationMetricItemRequestBuilder.cs +++ /dev/null @@ -1,128 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.Item -{ - /// - /// Builds and executes requests for operations under \reports\userInsights\daily\inactiveUsersByApplication\{dailyInactiveUsersByApplicationMetric-id} - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DailyInactiveUsersByApplicationMetricItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public DailyInactiveUsersByApplicationMetricItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userInsights/daily/inactiveUsersByApplication/{dailyInactiveUsersByApplicationMetric%2Did}{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public DailyInactiveUsersByApplicationMetricItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userInsights/daily/inactiveUsersByApplication/{dailyInactiveUsersByApplicationMetric%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get inactiveUsersByApplication from reports - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.DailyInactiveUsersByApplicationMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get inactiveUsersByApplication from reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.Item.DailyInactiveUsersByApplicationMetricItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Daily.InactiveUsersByApplication.Item.DailyInactiveUsersByApplicationMetricItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get inactiveUsersByApplication from reports - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DailyInactiveUsersByApplicationMetricItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class DailyInactiveUsersByApplicationMetricItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/InactiveUsersByApplication/Count/CountRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/InactiveUsersByApplication/Count/CountRequestBuilder.cs deleted file mode 100644 index 41e23f85916..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/InactiveUsersByApplication/Count/CountRequestBuilder.cs +++ /dev/null @@ -1,127 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.Count -{ - /// - /// Builds and executes requests for operations under \reports\userInsights\monthly\inactiveUsersByApplication\$count - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userInsights/monthly/inactiveUsersByApplication/$count{?%24filter,%24search}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userInsights/monthly/inactiveUsersByApplication/$count{?%24filter,%24search}", rawUrl) - { - } - /// - /// Get the number of the resource - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get the number of the resource - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.Count.CountRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.Count.CountRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get the number of the resource - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetQueryParameters - { - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/InactiveUsersByApplication/InactiveUsersByApplicationRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/InactiveUsersByApplication/InactiveUsersByApplicationRequestBuilder.cs deleted file mode 100644 index 1165cb0e4df..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/InactiveUsersByApplication/InactiveUsersByApplicationRequestBuilder.cs +++ /dev/null @@ -1,188 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.Count; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.Item; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication -{ - /// - /// Builds and executes requests for operations under \reports\userInsights\monthly\inactiveUsersByApplication - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InactiveUsersByApplicationRequestBuilder : BaseRequestBuilder - { - /// The Count property - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.Count.CountRequestBuilder Count - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.Count.CountRequestBuilder(PathParameters, RequestAdapter); - } - /// Gets an item from the Microsoft.Graph.PowerShell.Reports.Client.reports.userInsights.monthly.inactiveUsersByApplication.item collection - /// Unique identifier of the item - /// A - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.Item.MonthlyInactiveUsersByApplicationMetricItemRequestBuilder this[string position] - { - get - { - var urlTplParams = new Dictionary(PathParameters); - urlTplParams.Add("monthlyInactiveUsersByApplicationMetric%2Did", position); - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.Item.MonthlyInactiveUsersByApplicationMetricItemRequestBuilder(urlTplParams, RequestAdapter); - } - } - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public InactiveUsersByApplicationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userInsights/monthly/inactiveUsersByApplication{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public InactiveUsersByApplicationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userInsights/monthly/inactiveUsersByApplication{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) - { - } - /// - /// Get inactiveUsersByApplication from reports - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyInactiveUsersByApplicationMetricCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get inactiveUsersByApplication from reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.InactiveUsersByApplicationRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.InactiveUsersByApplicationRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get inactiveUsersByApplication from reports - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InactiveUsersByApplicationRequestBuilderGetQueryParameters - { - /// Include count of items - [QueryParameter("%24count")] - public bool? Count { get; set; } - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Filter items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24filter")] - public string? Filter { get; set; } -#nullable restore -#else - [QueryParameter("%24filter")] - public string Filter { get; set; } -#endif - /// Order items by property values -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24orderby")] - public string[]? Orderby { get; set; } -#nullable restore -#else - [QueryParameter("%24orderby")] - public string[] Orderby { get; set; } -#endif - /// Search items by search phrases -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24search")] - public string? Search { get; set; } -#nullable restore -#else - [QueryParameter("%24search")] - public string Search { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - /// Skip the first n items - [QueryParameter("%24skip")] - public int? Skip { get; set; } - /// Show only the first n items - [QueryParameter("%24top")] - public int? Top { get; set; } - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class InactiveUsersByApplicationRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/InactiveUsersByApplication/Item/MonthlyInactiveUsersByApplicationMetricItemRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/InactiveUsersByApplication/Item/MonthlyInactiveUsersByApplicationMetricItemRequestBuilder.cs deleted file mode 100644 index b016264d8a2..00000000000 --- a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/InactiveUsersByApplication/Item/MonthlyInactiveUsersByApplicationMetricItemRequestBuilder.cs +++ /dev/null @@ -1,128 +0,0 @@ -// -#pragma warning disable CS0618 -using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Extensions; -using Microsoft.Kiota.Abstractions.Serialization; -using Microsoft.Kiota.Abstractions; -using System.Collections.Generic; -using System.IO; -using System.Threading.Tasks; -using System.Threading; -using System; -namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.Item -{ - /// - /// Builds and executes requests for operations under \reports\userInsights\monthly\inactiveUsersByApplication\{monthlyInactiveUsersByApplicationMetric-id} - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MonthlyInactiveUsersByApplicationMetricItemRequestBuilder : BaseRequestBuilder - { - /// - /// Instantiates a new and sets the default values. - /// - /// Path parameters for the request - /// The request adapter to use to execute the requests. - public MonthlyInactiveUsersByApplicationMetricItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userInsights/monthly/inactiveUsersByApplication/{monthlyInactiveUsersByApplicationMetric%2Did}{?%24expand,%24select}", pathParameters) - { - } - /// - /// Instantiates a new and sets the default values. - /// - /// The raw URL to use for the request builder. - /// The request adapter to use to execute the requests. - public MonthlyInactiveUsersByApplicationMetricItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/userInsights/monthly/inactiveUsersByApplication/{monthlyInactiveUsersByApplicationMetric%2Did}{?%24expand,%24select}", rawUrl) - { - } - /// - /// Get inactiveUsersByApplication from reports - /// - /// A - /// Cancellation token to use when cancelling requests - /// Configuration for the request such as headers, query parameters, and middleware options. - /// When receiving a 4XX or 5XX status code - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) - { -#nullable restore -#else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) - { -#endif - var requestInfo = ToGetRequestInformation(requestConfiguration); - var errorMapping = new Dictionary> - { - { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, - }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyInactiveUsersByApplicationMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); - } - /// - /// Get inactiveUsersByApplication from reports - /// - /// A - /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) - { -#nullable restore -#else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) - { -#endif - var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); - requestInfo.Configure(requestConfiguration); - requestInfo.Headers.TryAdd("Accept", "application/json"); - return requestInfo; - } - /// - /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - /// - /// A - /// The raw URL to use for the request builder. - [Obsolete("The Inactive Users By Application Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Inactive Users API. as of 2024-02/Remove_Breakdown_APIs on 2024-02-02 and will be removed 2024-02-16")] - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.Item.MonthlyInactiveUsersByApplicationMetricItemRequestBuilder WithUrl(string rawUrl) - { - return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.Item.MonthlyInactiveUsersByApplicationMetricItemRequestBuilder(rawUrl, RequestAdapter); - } - /// - /// Get inactiveUsersByApplication from reports - /// - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MonthlyInactiveUsersByApplicationMetricItemRequestBuilderGetQueryParameters - { - /// Expand related entities -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24expand")] - public string[]? Expand { get; set; } -#nullable restore -#else - [QueryParameter("%24expand")] - public string[] Expand { get; set; } -#endif - /// Select properties to be returned -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER -#nullable enable - [QueryParameter("%24select")] - public string[]? Select { get; set; } -#nullable restore -#else - [QueryParameter("%24select")] - public string[] Select { get; set; } -#endif - } - /// - /// Configuration for the request such as headers, query parameters, and middleware options. - /// - [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] - [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MonthlyInactiveUsersByApplicationMetricItemRequestBuilderGetRequestConfiguration : RequestConfiguration - { - } - } -} -#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/MonthlyRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/MonthlyRequestBuilder.cs index d17fb1b7253..523e8d856f6 100644 --- a/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/MonthlyRequestBuilder.cs +++ b/src/Reports/wrapper/Beta/Client/Reports/UserInsights/Monthly/MonthlyRequestBuilder.cs @@ -5,7 +5,6 @@ using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.ActiveUsers; using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.Authentications; using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsers; -using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication; using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.MfaCompletions; using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.MfaRegisteredUsers; using Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.Requests; @@ -42,11 +41,6 @@ public partial class MonthlyRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsers.InactiveUsersRequestBuilder(PathParameters, RequestAdapter); } - /// The inactiveUsersByApplication property - public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.InactiveUsersByApplicationRequestBuilder InactiveUsersByApplication - { - get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.InactiveUsersByApplication.InactiveUsersByApplicationRequestBuilder(PathParameters, RequestAdapter); - } /// The mfaCompletions property public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.UserInsights.Monthly.MfaCompletions.MfaCompletionsRequestBuilder MfaCompletions { diff --git a/src/Reports/wrapper/Beta/Client/kiota-lock.json b/src/Reports/wrapper/Beta/Client/kiota-lock.json index 1440798aaa9..2cc62f5d25e 100644 --- a/src/Reports/wrapper/Beta/Client/kiota-lock.json +++ b/src/Reports/wrapper/Beta/Client/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "6E2C90612A3485C138B2327E6E7ABFCEF6CF055DBC5DB1CB4765880B1B28A3EFCEB08F0C25CCDDC606156FBBBEE2A42BA14B2EB3E8BC3047517E83B03C7A5DFA", - "descriptionLocation": "../../../../../openApiDocs_KiotaCompat/Beta/Reports.yml", + "descriptionHash": "BAA8E0D7A9B3F5B014464664EC1C1E551CA99BC62860A68D8FA034A039DA198B050B89FA709EC94A5BFF70365649B7A2C08241E00DA17BDCF88622328B4113B9", + "descriptionLocation": "../../../../../openApiDocs_KiotaCompat/beta/Reports.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.34.1", + "kiotaVersion": "1.36.1", "clientClassName": "ApiClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft.Graph.PowerShell.Reports.Client", diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLog.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLog.g.cs deleted file mode 100644 index 4ed6f9630d9..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLog.g.cs +++ /dev/null @@ -1,64 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/auditLogs")] - [Cmdlet(VerbsCommon.Get, "MgAuditLog")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.AuditLogRoot))] - public class GetMgAuditLogCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.AuditLogRoot? result; - try - { - result = client.AuditLogs.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReport.g.cs deleted file mode 100644 index 7249a1e24bd..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReport.g.cs +++ /dev/null @@ -1,64 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports")] - [Cmdlet(VerbsCommon.Get, "MgReport")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.ReportRoot))] - public class GetMgReportCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.ReportRoot? result; - try - { - result = client.Reports.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAzureADApplicationSignInSummaryWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureAdApplicationSignInSummary.g.cs similarity index 95% rename from src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAzureADApplicationSignInSummaryWithPeriod.g.cs rename to src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureAdApplicationSignInSummary.g.cs index 808f8b1d9e7..d1b3a6e4092 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAzureADApplicationSignInSummaryWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureAdApplicationSignInSummary.g.cs @@ -14,9 +14,9 @@ namespace Microsoft.Graph.PowerShell.Reports { [GraphRoute("GET", "/reports/getAzureADApplicationSignInSummary(period='{period}')")] - [Cmdlet(VerbsCommon.Get, "MgReportGetAzureADApplicationSignInSummaryWithPeriod")] + [Cmdlet(VerbsCommon.Get, "MgReportAzureAdApplicationSignInSummary")] [OutputType(typeof(global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAzureADApplicationSignInSummaryWithPeriod.GetAzureADApplicationSignInSummaryWithPeriodGetResponse))] - public class GetMgReportGetAzureADApplicationSignInSummaryWithPeriodCommand : GraphClientCmdlet + public class GetMgReportAzureAdApplicationSignInSummaryCommand : GraphClientCmdlet { diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetail.g.cs deleted file mode 100644 index 6f0bf824626..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetail.g.cs +++ /dev/null @@ -1,91 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Management.Automation.Runspaces; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client.Models; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/credentialUserRegistrationDetails")] - [Cmdlet(VerbsCommon.Get, "MgReportCredentialUserRegistrationDetail", DefaultParameterSetName = "List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetailsCollectionResponse), ParameterSetName = new[] { "List" })] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails), ParameterSetName = new[] { "Get" })] - public class GetMgReportCredentialUserRegistrationDetailCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, ParameterSetName = "Get", Position = 0)] - public string CredentialUserRegistrationDetailsId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Filter { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Search { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Top { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Skip { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter Count { get; set; } - - // Declared here because the binder rejects a parameter the dispatcher does not accept - // before ProcessRecord ever runs; once declared, the wholesale BoundParameters splat - // forwards it to the list worker with no further plumbing. - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter All { get; set; } - - - - - - // Delegates to Get-MgReportCredentialUserRegistrationDetail_Get or Get-MgReportCredentialUserRegistrationDetail_List, the two cmdlets - // that actually call Graph. - protected override void ProcessRecord() - { - var internalCmdletName = ParameterSetName == "Get" ? "Get-MgReportCredentialUserRegistrationDetail_Get" : "Get-MgReportCredentialUserRegistrationDetail_List"; - try - { - InvokeCommand.InvokeScript( - "param($BoundParameters, $CmdletName) & $CmdletName @BoundParameters", - false, - PipelineResultTypes.Output | PipelineResultTypes.Error, - null, - MyInvocation.BoundParameters, internalCmdletName); - } - // The workers signal failure via ThrowTerminatingError, which InvokeScript surfaces - // as a RuntimeException carrying the worker's ErrorRecord. Rethrow that record - // unchanged so the caller sees the worker's error identity (NoGraphSession, - // GraphRequestFailed, ...) instead of every failure collapsing into a generic - // dispatcher error. A pipeline stop is a RuntimeException too and must NOT be - // rethrown as a terminating error - both filters here let it pass to the engine. - catch (RuntimeException rex) when (rex is not PipelineStoppedException && rex.ErrorRecord is not null) - { - ThrowTerminatingError(rex.ErrorRecord); - return; - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ParameterSetName == "Get" ? CredentialUserRegistrationDetailsId : null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetailCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetailCount.g.cs deleted file mode 100644 index d9ba61fe731..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetailCount.g.cs +++ /dev/null @@ -1,61 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/credentialUserRegistrationDetails/$count")] - [Cmdlet(VerbsCommon.Get, "MgReportCredentialUserRegistrationDetailCount")] - [OutputType(typeof(int))] - public class GetMgReportCredentialUserRegistrationDetailCountCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - int? result; - try - { - result = client.Reports.CredentialUserRegistrationDetails.Count.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetail_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetail_Get.g.cs deleted file mode 100644 index 55a8dff364b..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetail_Get.g.cs +++ /dev/null @@ -1,65 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails-id}")] - [Cmdlet(VerbsCommon.Get, "MgReportCredentialUserRegistrationDetail_Get")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails))] - public class GetMgReportCredentialUserRegistrationDetail_GetCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string CredentialUserRegistrationDetailsId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails? result; - try - { - result = client.Reports.CredentialUserRegistrationDetails[CredentialUserRegistrationDetailsId].GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, CredentialUserRegistrationDetailsId); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetail_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetail_List.g.cs deleted file mode 100644 index dd78a73b8ad..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCredentialUserRegistrationDetail_List.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/credentialUserRegistrationDetails")] - [Cmdlet(VerbsCommon.Get, "MgReportCredentialUserRegistrationDetail_List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails))] - public class GetMgReportCredentialUserRegistrationDetail_ListCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false)] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - [Parameter(Mandatory = false)] - public int Top { get; set; } - - [Parameter(Mandatory = false)] - public int Skip { get; set; } - - [Parameter(Mandatory = false)] - public SwitchParameter Count { get; set; } - - // Follows every @odata.nextLink until the collection is exhausted (a bound -Top caps - // the total). Without it only the first page returns, plus a truncation warning when - // more pages existed. - [Parameter(Mandatory = false)] - public SwitchParameter All { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetailsCollectionResponse? result; - try - { - result = client.Reports.CredentialUserRegistrationDetails.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - if (this.IsParameterBound(nameof(Sort))) - requestConfiguration.QueryParameters.Orderby = Sort; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - if (this.IsParameterBound(nameof(Top))) - requestConfiguration.QueryParameters.Top = Top; - - if (this.IsParameterBound(nameof(Skip))) - requestConfiguration.QueryParameters.Skip = Skip; - - if (Count.IsPresent) - requestConfiguration.QueryParameters.Count = true; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - - // A collection response and its Value are both nullable on the kiota client; an - // empty page writes nothing rather than dereferencing null. Each page streams to - // the pipeline before the next request is issued, matching the published SDK. - if (result?.Value is { } items) - WriteObject(items, enumerateCollection: true); - - if (All.IsPresent) - { - var fetched = result?.Value?.Count ?? 0; - var nextLink = result?.OdataNextLink; - while (!string.IsNullOrEmpty(nextLink) && !Stopping && (!this.IsParameterBound(nameof(Top)) || fetched < Top)) - { - // The nextLink already carries the original query state, and a raw-URL - // builder ignores templated query parameters anyway - so the continuation - // re-applies headers only; query bindings here would be dead code. - result = client.Reports.CredentialUserRegistrationDetails.WithUrl(nextLink).GetAsync(requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }, StoppingToken).GetAwaiter().GetResult(); - if (result?.Value is { } page) - { - WriteObject(page, enumerateCollection: true); - fetched += page.Count; - } - nextLink = result?.OdataNextLink; - } - } - else if (!string.IsNullOrEmpty(result?.OdataNextLink)) - { - // Deliberately stronger than the published SDK, which truncates silently; - // approved in the design spec. One line, no extra request. - WriteWarning("More results are available. Use -All to return all pages."); - } - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinter.g.cs deleted file mode 100644 index a5abf89e2f8..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinter.g.cs +++ /dev/null @@ -1,91 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Management.Automation.Runspaces; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client.Models; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/dailyPrintUsageSummariesByPrinter")] - [Cmdlet(VerbsCommon.Get, "MgReportDailyPrintUsageSummaryByPrinter", DefaultParameterSetName = "List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinterCollectionResponse), ParameterSetName = new[] { "List" })] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter), ParameterSetName = new[] { "Get" })] - public class GetMgReportDailyPrintUsageSummaryByPrinterCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, ParameterSetName = "Get", Position = 0)] - public string PrintUsageByPrinterId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Filter { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Search { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Top { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Skip { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter Count { get; set; } - - // Declared here because the binder rejects a parameter the dispatcher does not accept - // before ProcessRecord ever runs; once declared, the wholesale BoundParameters splat - // forwards it to the list worker with no further plumbing. - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter All { get; set; } - - - - - - // Delegates to Get-MgReportDailyPrintUsageSummaryByPrinter_Get or Get-MgReportDailyPrintUsageSummaryByPrinter_List, the two cmdlets - // that actually call Graph. - protected override void ProcessRecord() - { - var internalCmdletName = ParameterSetName == "Get" ? "Get-MgReportDailyPrintUsageSummaryByPrinter_Get" : "Get-MgReportDailyPrintUsageSummaryByPrinter_List"; - try - { - InvokeCommand.InvokeScript( - "param($BoundParameters, $CmdletName) & $CmdletName @BoundParameters", - false, - PipelineResultTypes.Output | PipelineResultTypes.Error, - null, - MyInvocation.BoundParameters, internalCmdletName); - } - // The workers signal failure via ThrowTerminatingError, which InvokeScript surfaces - // as a RuntimeException carrying the worker's ErrorRecord. Rethrow that record - // unchanged so the caller sees the worker's error identity (NoGraphSession, - // GraphRequestFailed, ...) instead of every failure collapsing into a generic - // dispatcher error. A pipeline stop is a RuntimeException too and must NOT be - // rethrown as a terminating error - both filters here let it pass to the engine. - catch (RuntimeException rex) when (rex is not PipelineStoppedException && rex.ErrorRecord is not null) - { - ThrowTerminatingError(rex.ErrorRecord); - return; - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ParameterSetName == "Get" ? PrintUsageByPrinterId : null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinterCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinterCount.g.cs deleted file mode 100644 index 51bd555cc5d..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinterCount.g.cs +++ /dev/null @@ -1,61 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/dailyPrintUsageSummariesByPrinter/$count")] - [Cmdlet(VerbsCommon.Get, "MgReportDailyPrintUsageSummaryByPrinterCount")] - [OutputType(typeof(int))] - public class GetMgReportDailyPrintUsageSummaryByPrinterCountCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - int? result; - try - { - result = client.Reports.DailyPrintUsageSummariesByPrinter.Count.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinter_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinter_Get.g.cs deleted file mode 100644 index 13649a92eb7..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinter_Get.g.cs +++ /dev/null @@ -1,65 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}")] - [Cmdlet(VerbsCommon.Get, "MgReportDailyPrintUsageSummaryByPrinter_Get")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter))] - public class GetMgReportDailyPrintUsageSummaryByPrinter_GetCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByPrinterId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter? result; - try - { - result = client.Reports.DailyPrintUsageSummariesByPrinter[PrintUsageByPrinterId].GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByPrinterId); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinter_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinter_List.g.cs deleted file mode 100644 index 583cef5cc1d..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByPrinter_List.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/dailyPrintUsageSummariesByPrinter")] - [Cmdlet(VerbsCommon.Get, "MgReportDailyPrintUsageSummaryByPrinter_List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter))] - public class GetMgReportDailyPrintUsageSummaryByPrinter_ListCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false)] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - [Parameter(Mandatory = false)] - public int Top { get; set; } - - [Parameter(Mandatory = false)] - public int Skip { get; set; } - - [Parameter(Mandatory = false)] - public SwitchParameter Count { get; set; } - - // Follows every @odata.nextLink until the collection is exhausted (a bound -Top caps - // the total). Without it only the first page returns, plus a truncation warning when - // more pages existed. - [Parameter(Mandatory = false)] - public SwitchParameter All { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinterCollectionResponse? result; - try - { - result = client.Reports.DailyPrintUsageSummariesByPrinter.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - if (this.IsParameterBound(nameof(Sort))) - requestConfiguration.QueryParameters.Orderby = Sort; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - if (this.IsParameterBound(nameof(Top))) - requestConfiguration.QueryParameters.Top = Top; - - if (this.IsParameterBound(nameof(Skip))) - requestConfiguration.QueryParameters.Skip = Skip; - - if (Count.IsPresent) - requestConfiguration.QueryParameters.Count = true; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - - // A collection response and its Value are both nullable on the kiota client; an - // empty page writes nothing rather than dereferencing null. Each page streams to - // the pipeline before the next request is issued, matching the published SDK. - if (result?.Value is { } items) - WriteObject(items, enumerateCollection: true); - - if (All.IsPresent) - { - var fetched = result?.Value?.Count ?? 0; - var nextLink = result?.OdataNextLink; - while (!string.IsNullOrEmpty(nextLink) && !Stopping && (!this.IsParameterBound(nameof(Top)) || fetched < Top)) - { - // The nextLink already carries the original query state, and a raw-URL - // builder ignores templated query parameters anyway - so the continuation - // re-applies headers only; query bindings here would be dead code. - result = client.Reports.DailyPrintUsageSummariesByPrinter.WithUrl(nextLink).GetAsync(requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }, StoppingToken).GetAwaiter().GetResult(); - if (result?.Value is { } page) - { - WriteObject(page, enumerateCollection: true); - fetched += page.Count; - } - nextLink = result?.OdataNextLink; - } - } - else if (!string.IsNullOrEmpty(result?.OdataNextLink)) - { - // Deliberately stronger than the published SDK, which truncates silently; - // approved in the design spec. One line, no extra request. - WriteWarning("More results are available. Use -All to return all pages."); - } - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUser.g.cs deleted file mode 100644 index 5faa2523acb..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUser.g.cs +++ /dev/null @@ -1,91 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Management.Automation.Runspaces; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client.Models; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/dailyPrintUsageSummariesByUser")] - [Cmdlet(VerbsCommon.Get, "MgReportDailyPrintUsageSummaryByUser", DefaultParameterSetName = "List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUserCollectionResponse), ParameterSetName = new[] { "List" })] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser), ParameterSetName = new[] { "Get" })] - public class GetMgReportDailyPrintUsageSummaryByUserCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, ParameterSetName = "Get", Position = 0)] - public string PrintUsageByUserId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Filter { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Search { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Top { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Skip { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter Count { get; set; } - - // Declared here because the binder rejects a parameter the dispatcher does not accept - // before ProcessRecord ever runs; once declared, the wholesale BoundParameters splat - // forwards it to the list worker with no further plumbing. - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter All { get; set; } - - - - - - // Delegates to Get-MgReportDailyPrintUsageSummaryByUser_Get or Get-MgReportDailyPrintUsageSummaryByUser_List, the two cmdlets - // that actually call Graph. - protected override void ProcessRecord() - { - var internalCmdletName = ParameterSetName == "Get" ? "Get-MgReportDailyPrintUsageSummaryByUser_Get" : "Get-MgReportDailyPrintUsageSummaryByUser_List"; - try - { - InvokeCommand.InvokeScript( - "param($BoundParameters, $CmdletName) & $CmdletName @BoundParameters", - false, - PipelineResultTypes.Output | PipelineResultTypes.Error, - null, - MyInvocation.BoundParameters, internalCmdletName); - } - // The workers signal failure via ThrowTerminatingError, which InvokeScript surfaces - // as a RuntimeException carrying the worker's ErrorRecord. Rethrow that record - // unchanged so the caller sees the worker's error identity (NoGraphSession, - // GraphRequestFailed, ...) instead of every failure collapsing into a generic - // dispatcher error. A pipeline stop is a RuntimeException too and must NOT be - // rethrown as a terminating error - both filters here let it pass to the engine. - catch (RuntimeException rex) when (rex is not PipelineStoppedException && rex.ErrorRecord is not null) - { - ThrowTerminatingError(rex.ErrorRecord); - return; - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ParameterSetName == "Get" ? PrintUsageByUserId : null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUserCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUserCount.g.cs deleted file mode 100644 index 4e76af9cedd..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUserCount.g.cs +++ /dev/null @@ -1,61 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/dailyPrintUsageSummariesByUser/$count")] - [Cmdlet(VerbsCommon.Get, "MgReportDailyPrintUsageSummaryByUserCount")] - [OutputType(typeof(int))] - public class GetMgReportDailyPrintUsageSummaryByUserCountCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - int? result; - try - { - result = client.Reports.DailyPrintUsageSummariesByUser.Count.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUser_Get.g.cs deleted file mode 100644 index c8792808fd9..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUser_Get.g.cs +++ /dev/null @@ -1,65 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/dailyPrintUsageSummariesByUser/{printUsageByUser-id}")] - [Cmdlet(VerbsCommon.Get, "MgReportDailyPrintUsageSummaryByUser_Get")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser))] - public class GetMgReportDailyPrintUsageSummaryByUser_GetCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByUserId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser? result; - try - { - result = client.Reports.DailyPrintUsageSummariesByUser[PrintUsageByUserId].GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByUserId); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUser_List.g.cs deleted file mode 100644 index 0aec7e882c8..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageSummaryByUser_List.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/dailyPrintUsageSummariesByUser")] - [Cmdlet(VerbsCommon.Get, "MgReportDailyPrintUsageSummaryByUser_List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser))] - public class GetMgReportDailyPrintUsageSummaryByUser_ListCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false)] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - [Parameter(Mandatory = false)] - public int Top { get; set; } - - [Parameter(Mandatory = false)] - public int Skip { get; set; } - - [Parameter(Mandatory = false)] - public SwitchParameter Count { get; set; } - - // Follows every @odata.nextLink until the collection is exhausted (a bound -Top caps - // the total). Without it only the first page returns, plus a truncation warning when - // more pages existed. - [Parameter(Mandatory = false)] - public SwitchParameter All { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUserCollectionResponse? result; - try - { - result = client.Reports.DailyPrintUsageSummariesByUser.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - if (this.IsParameterBound(nameof(Sort))) - requestConfiguration.QueryParameters.Orderby = Sort; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - if (this.IsParameterBound(nameof(Top))) - requestConfiguration.QueryParameters.Top = Top; - - if (this.IsParameterBound(nameof(Skip))) - requestConfiguration.QueryParameters.Skip = Skip; - - if (Count.IsPresent) - requestConfiguration.QueryParameters.Count = true; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - - // A collection response and its Value are both nullable on the kiota client; an - // empty page writes nothing rather than dereferencing null. Each page streams to - // the pipeline before the next request is issued, matching the published SDK. - if (result?.Value is { } items) - WriteObject(items, enumerateCollection: true); - - if (All.IsPresent) - { - var fetched = result?.Value?.Count ?? 0; - var nextLink = result?.OdataNextLink; - while (!string.IsNullOrEmpty(nextLink) && !Stopping && (!this.IsParameterBound(nameof(Top)) || fetched < Top)) - { - // The nextLink already carries the original query state, and a raw-URL - // builder ignores templated query parameters anyway - so the continuation - // re-applies headers only; query bindings here would be dead code. - result = client.Reports.DailyPrintUsageSummariesByUser.WithUrl(nextLink).GetAsync(requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }, StoppingToken).GetAwaiter().GetResult(); - if (result?.Value is { } page) - { - WriteObject(page, enumerateCollection: true); - fetched += page.Count; - } - nextLink = result?.OdataNextLink; - } - } - else if (!string.IsNullOrEmpty(result?.OdataNextLink)) - { - // Deliberately stronger than the published SDK, which truncates silently; - // approved in the design spec. One line, no extra request. - WriteWarning("More results are available. Use -All to return all pages."); - } - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAttackSimulationRepeatOffenders.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAttackSimulationRepeatOffenders.g.cs deleted file mode 100644 index b15a57d7839..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAttackSimulationRepeatOffenders.g.cs +++ /dev/null @@ -1,83 +0,0 @@ -#nullable enable - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/getAttackSimulationRepeatOffenders()")] - [Cmdlet(VerbsCommon.Get, "MgReportGetAttackSimulationRepeatOffenders")] - [OutputType(typeof(global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersGetResponse))] - public class GetMgReportGetAttackSimulationRepeatOffendersCommand : GraphClientCmdlet - { - - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - [Parameter(Mandatory = false)] - public int Top { get; set; } - - [Parameter(Mandatory = false)] - public int Skip { get; set; } - - [Parameter(Mandatory = false)] - public SwitchParameter Count { get; set; } - - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - - global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationRepeatOffenders.GetAttackSimulationRepeatOffendersGetResponse? result; - try - { - result = client.Reports.GetAttackSimulationRepeatOffenders.GetAsGetAttackSimulationRepeatOffendersGetResponseAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - if (this.IsParameterBound(nameof(Top))) - requestConfiguration.QueryParameters.Top = Top; - - if (this.IsParameterBound(nameof(Skip))) - requestConfiguration.QueryParameters.Skip = Skip; - - if (Count.IsPresent) - requestConfiguration.QueryParameters.Count = true; - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAttackSimulationSimulationUserCoverage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAttackSimulationSimulationUserCoverage.g.cs deleted file mode 100644 index 4c5bc80c90a..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAttackSimulationSimulationUserCoverage.g.cs +++ /dev/null @@ -1,83 +0,0 @@ -#nullable enable - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/getAttackSimulationSimulationUserCoverage()")] - [Cmdlet(VerbsCommon.Get, "MgReportGetAttackSimulationSimulationUserCoverage")] - [OutputType(typeof(global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageGetResponse))] - public class GetMgReportGetAttackSimulationSimulationUserCoverageCommand : GraphClientCmdlet - { - - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - [Parameter(Mandatory = false)] - public int Top { get; set; } - - [Parameter(Mandatory = false)] - public int Skip { get; set; } - - [Parameter(Mandatory = false)] - public SwitchParameter Count { get; set; } - - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - - global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationSimulationUserCoverage.GetAttackSimulationSimulationUserCoverageGetResponse? result; - try - { - result = client.Reports.GetAttackSimulationSimulationUserCoverage.GetAsGetAttackSimulationSimulationUserCoverageGetResponseAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - if (this.IsParameterBound(nameof(Top))) - requestConfiguration.QueryParameters.Top = Top; - - if (this.IsParameterBound(nameof(Skip))) - requestConfiguration.QueryParameters.Skip = Skip; - - if (Count.IsPresent) - requestConfiguration.QueryParameters.Count = true; - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAttackSimulationTrainingUserCoverage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAttackSimulationTrainingUserCoverage.g.cs deleted file mode 100644 index 130105cf297..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetAttackSimulationTrainingUserCoverage.g.cs +++ /dev/null @@ -1,83 +0,0 @@ -#nullable enable - -using System; -using System.Collections.Generic; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/getAttackSimulationTrainingUserCoverage()")] - [Cmdlet(VerbsCommon.Get, "MgReportGetAttackSimulationTrainingUserCoverage")] - [OutputType(typeof(global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageGetResponse))] - public class GetMgReportGetAttackSimulationTrainingUserCoverageCommand : GraphClientCmdlet - { - - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - [Parameter(Mandatory = false)] - public int Top { get; set; } - - [Parameter(Mandatory = false)] - public int Skip { get; set; } - - [Parameter(Mandatory = false)] - public SwitchParameter Count { get; set; } - - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - - global::Microsoft.Graph.PowerShell.Reports.Client.Reports.GetAttackSimulationTrainingUserCoverage.GetAttackSimulationTrainingUserCoverageGetResponse? result; - try - { - result = client.Reports.GetAttackSimulationTrainingUserCoverage.GetAsGetAttackSimulationTrainingUserCoverageGetResponseAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - if (this.IsParameterBound(nameof(Top))) - requestConfiguration.QueryParameters.Top = Top; - - if (this.IsParameterBound(nameof(Skip))) - requestConfiguration.QueryParameters.Skip = Skip; - - if (Count.IsPresent) - requestConfiguration.QueryParameters.Count = true; - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentDetailsWithSkipWithTopWithFilterWithSkipToken.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentDetail.g.cs similarity index 95% rename from src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentDetailsWithSkipWithTopWithFilterWithSkipToken.g.cs rename to src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentDetail.g.cs index aa7bad13790..0b2c6ef5045 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentDetailsWithSkipWithTopWithFilterWithSkipToken.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentDetail.g.cs @@ -14,9 +14,9 @@ namespace Microsoft.Graph.PowerShell.Reports { [GraphRoute("GET", "/reports/managedDeviceEnrollmentAbandonmentDetails(skip={skip},top={top},filter='{filter}',skipToken='{skipToken}')")] - [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentAbandonmentDetailsWithSkipWithTopWithFilterWithSkipToken")] + [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentAbandonmentDetail")] [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Report))] - public class GetMgReportManagedDeviceEnrollmentAbandonmentDetailsWithSkipWithTopWithFilterWithSkipTokenCommand : GraphClientCmdlet + public class GetMgReportManagedDeviceEnrollmentAbandonmentDetailCommand : GraphClientCmdlet { diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentSummaryWithSkipWithTopWithFilterWithSkipToken.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentSummary.g.cs similarity index 95% rename from src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentSummaryWithSkipWithTopWithFilterWithSkipToken.g.cs rename to src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentSummary.g.cs index 7a5aaa15429..a1a46b42593 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentSummaryWithSkipWithTopWithFilterWithSkipToken.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentSummary.g.cs @@ -14,9 +14,9 @@ namespace Microsoft.Graph.PowerShell.Reports { [GraphRoute("GET", "/reports/managedDeviceEnrollmentAbandonmentSummary(skip={skip},top={top},filter='{filter}',skipToken='{skipToken}')")] - [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentAbandonmentSummaryWithSkipWithTopWithFilterWithSkipToken")] + [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentAbandonmentSummary")] [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Report))] - public class GetMgReportManagedDeviceEnrollmentAbandonmentSummaryWithSkipWithTopWithFilterWithSkipTokenCommand : GraphClientCmdlet + public class GetMgReportManagedDeviceEnrollmentAbandonmentSummaryCommand : GraphClientCmdlet { diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetails.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetail.g.cs similarity index 97% rename from src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetails.g.cs rename to src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetail.g.cs index b574cdbaced..ce80ca1d6f0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetails.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetail.g.cs @@ -14,9 +14,9 @@ namespace Microsoft.Graph.PowerShell.Reports { [GraphRoute("GET", "/reports/managedDeviceEnrollmentFailureDetails()")] - [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentFailureDetails")] + [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentFailureDetail")] [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Report))] - public class GetMgReportManagedDeviceEnrollmentFailureDetailsCommand : GraphClientCmdlet + public class GetMgReportManagedDeviceEnrollmentFailureDetailCommand : GraphClientCmdlet { diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs similarity index 96% rename from src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken.g.cs rename to src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs index a6031992e54..8e43e219669 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs @@ -14,9 +14,9 @@ namespace Microsoft.Graph.PowerShell.Reports { [GraphRoute("GET", "/reports/managedDeviceEnrollmentFailureDetails(skip={skip},top={top},filter='{filter}',skipToken='{skipToken}')")] - [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken")] + [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken")] [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Report))] - public class GetMgReportManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenCommand : GraphClientCmdlet + public class GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipTokenCommand : GraphClientCmdlet { diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureTrends.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureTrend.g.cs similarity index 93% rename from src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureTrends.g.cs rename to src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureTrend.g.cs index a78cd84057e..5e4b116463d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureTrends.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureTrend.g.cs @@ -14,9 +14,9 @@ namespace Microsoft.Graph.PowerShell.Reports { [GraphRoute("GET", "/reports/managedDeviceEnrollmentFailureTrends()")] - [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentFailureTrends")] + [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentFailureTrend")] [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Report))] - public class GetMgReportManagedDeviceEnrollmentFailureTrendsCommand : GraphClientCmdlet + public class GetMgReportManagedDeviceEnrollmentFailureTrendCommand : GraphClientCmdlet { diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailures.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailure.g.cs similarity index 93% rename from src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailures.g.cs rename to src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailure.g.cs index 601a14e63b4..5e17443b990 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailures.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailure.g.cs @@ -14,9 +14,9 @@ namespace Microsoft.Graph.PowerShell.Reports { [GraphRoute("GET", "/reports/managedDeviceEnrollmentTopFailures()")] - [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentTopFailures")] + [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentTopFailure")] [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Report))] - public class GetMgReportManagedDeviceEnrollmentTopFailuresCommand : GraphClientCmdlet + public class GetMgReportManagedDeviceEnrollmentTopFailureCommand : GraphClientCmdlet { diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailuresWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs similarity index 94% rename from src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailuresWithPeriod.g.cs rename to src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs index 868384f3b11..83c13650a49 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailuresWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs @@ -14,9 +14,9 @@ namespace Microsoft.Graph.PowerShell.Reports { [GraphRoute("GET", "/reports/managedDeviceEnrollmentTopFailures(period='{period}')")] - [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentTopFailuresWithPeriod")] + [Cmdlet(VerbsCommon.Get, "MgReportManagedDeviceEnrollmentTopFailureWithPeriod")] [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Report))] - public class GetMgReportManagedDeviceEnrollmentTopFailuresWithPeriodCommand : GraphClientCmdlet + public class GetMgReportManagedDeviceEnrollmentTopFailureWithPeriodCommand : GraphClientCmdlet { diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinter.g.cs deleted file mode 100644 index f992a003754..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinter.g.cs +++ /dev/null @@ -1,91 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Management.Automation.Runspaces; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client.Models; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/monthlyPrintUsageSummariesByPrinter")] - [Cmdlet(VerbsCommon.Get, "MgReportMonthlyPrintUsageSummaryByPrinter", DefaultParameterSetName = "List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinterCollectionResponse), ParameterSetName = new[] { "List" })] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter), ParameterSetName = new[] { "Get" })] - public class GetMgReportMonthlyPrintUsageSummaryByPrinterCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, ParameterSetName = "Get", Position = 0)] - public string PrintUsageByPrinterId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Filter { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Search { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Top { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Skip { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter Count { get; set; } - - // Declared here because the binder rejects a parameter the dispatcher does not accept - // before ProcessRecord ever runs; once declared, the wholesale BoundParameters splat - // forwards it to the list worker with no further plumbing. - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter All { get; set; } - - - - - - // Delegates to Get-MgReportMonthlyPrintUsageSummaryByPrinter_Get or Get-MgReportMonthlyPrintUsageSummaryByPrinter_List, the two cmdlets - // that actually call Graph. - protected override void ProcessRecord() - { - var internalCmdletName = ParameterSetName == "Get" ? "Get-MgReportMonthlyPrintUsageSummaryByPrinter_Get" : "Get-MgReportMonthlyPrintUsageSummaryByPrinter_List"; - try - { - InvokeCommand.InvokeScript( - "param($BoundParameters, $CmdletName) & $CmdletName @BoundParameters", - false, - PipelineResultTypes.Output | PipelineResultTypes.Error, - null, - MyInvocation.BoundParameters, internalCmdletName); - } - // The workers signal failure via ThrowTerminatingError, which InvokeScript surfaces - // as a RuntimeException carrying the worker's ErrorRecord. Rethrow that record - // unchanged so the caller sees the worker's error identity (NoGraphSession, - // GraphRequestFailed, ...) instead of every failure collapsing into a generic - // dispatcher error. A pipeline stop is a RuntimeException too and must NOT be - // rethrown as a terminating error - both filters here let it pass to the engine. - catch (RuntimeException rex) when (rex is not PipelineStoppedException && rex.ErrorRecord is not null) - { - ThrowTerminatingError(rex.ErrorRecord); - return; - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ParameterSetName == "Get" ? PrintUsageByPrinterId : null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinterCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinterCount.g.cs deleted file mode 100644 index d8837f27b61..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinterCount.g.cs +++ /dev/null @@ -1,61 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/monthlyPrintUsageSummariesByPrinter/$count")] - [Cmdlet(VerbsCommon.Get, "MgReportMonthlyPrintUsageSummaryByPrinterCount")] - [OutputType(typeof(int))] - public class GetMgReportMonthlyPrintUsageSummaryByPrinterCountCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - int? result; - try - { - result = client.Reports.MonthlyPrintUsageSummariesByPrinter.Count.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinter_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinter_Get.g.cs deleted file mode 100644 index f3e4c756d5f..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinter_Get.g.cs +++ /dev/null @@ -1,65 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}")] - [Cmdlet(VerbsCommon.Get, "MgReportMonthlyPrintUsageSummaryByPrinter_Get")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter))] - public class GetMgReportMonthlyPrintUsageSummaryByPrinter_GetCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByPrinterId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter? result; - try - { - result = client.Reports.MonthlyPrintUsageSummariesByPrinter[PrintUsageByPrinterId].GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByPrinterId); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinter_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinter_List.g.cs deleted file mode 100644 index 817f398b475..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByPrinter_List.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/monthlyPrintUsageSummariesByPrinter")] - [Cmdlet(VerbsCommon.Get, "MgReportMonthlyPrintUsageSummaryByPrinter_List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter))] - public class GetMgReportMonthlyPrintUsageSummaryByPrinter_ListCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false)] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - [Parameter(Mandatory = false)] - public int Top { get; set; } - - [Parameter(Mandatory = false)] - public int Skip { get; set; } - - [Parameter(Mandatory = false)] - public SwitchParameter Count { get; set; } - - // Follows every @odata.nextLink until the collection is exhausted (a bound -Top caps - // the total). Without it only the first page returns, plus a truncation warning when - // more pages existed. - [Parameter(Mandatory = false)] - public SwitchParameter All { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinterCollectionResponse? result; - try - { - result = client.Reports.MonthlyPrintUsageSummariesByPrinter.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - if (this.IsParameterBound(nameof(Sort))) - requestConfiguration.QueryParameters.Orderby = Sort; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - if (this.IsParameterBound(nameof(Top))) - requestConfiguration.QueryParameters.Top = Top; - - if (this.IsParameterBound(nameof(Skip))) - requestConfiguration.QueryParameters.Skip = Skip; - - if (Count.IsPresent) - requestConfiguration.QueryParameters.Count = true; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - - // A collection response and its Value are both nullable on the kiota client; an - // empty page writes nothing rather than dereferencing null. Each page streams to - // the pipeline before the next request is issued, matching the published SDK. - if (result?.Value is { } items) - WriteObject(items, enumerateCollection: true); - - if (All.IsPresent) - { - var fetched = result?.Value?.Count ?? 0; - var nextLink = result?.OdataNextLink; - while (!string.IsNullOrEmpty(nextLink) && !Stopping && (!this.IsParameterBound(nameof(Top)) || fetched < Top)) - { - // The nextLink already carries the original query state, and a raw-URL - // builder ignores templated query parameters anyway - so the continuation - // re-applies headers only; query bindings here would be dead code. - result = client.Reports.MonthlyPrintUsageSummariesByPrinter.WithUrl(nextLink).GetAsync(requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }, StoppingToken).GetAwaiter().GetResult(); - if (result?.Value is { } page) - { - WriteObject(page, enumerateCollection: true); - fetched += page.Count; - } - nextLink = result?.OdataNextLink; - } - } - else if (!string.IsNullOrEmpty(result?.OdataNextLink)) - { - // Deliberately stronger than the published SDK, which truncates silently; - // approved in the design spec. One line, no extra request. - WriteWarning("More results are available. Use -All to return all pages."); - } - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUser.g.cs deleted file mode 100644 index 2f28231fb22..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUser.g.cs +++ /dev/null @@ -1,91 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Management.Automation.Runspaces; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client.Models; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/monthlyPrintUsageSummariesByUser")] - [Cmdlet(VerbsCommon.Get, "MgReportMonthlyPrintUsageSummaryByUser", DefaultParameterSetName = "List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUserCollectionResponse), ParameterSetName = new[] { "List" })] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser), ParameterSetName = new[] { "Get" })] - public class GetMgReportMonthlyPrintUsageSummaryByUserCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, ParameterSetName = "Get", Position = 0)] - public string PrintUsageByUserId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Filter { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Search { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Top { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Skip { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter Count { get; set; } - - // Declared here because the binder rejects a parameter the dispatcher does not accept - // before ProcessRecord ever runs; once declared, the wholesale BoundParameters splat - // forwards it to the list worker with no further plumbing. - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter All { get; set; } - - - - - - // Delegates to Get-MgReportMonthlyPrintUsageSummaryByUser_Get or Get-MgReportMonthlyPrintUsageSummaryByUser_List, the two cmdlets - // that actually call Graph. - protected override void ProcessRecord() - { - var internalCmdletName = ParameterSetName == "Get" ? "Get-MgReportMonthlyPrintUsageSummaryByUser_Get" : "Get-MgReportMonthlyPrintUsageSummaryByUser_List"; - try - { - InvokeCommand.InvokeScript( - "param($BoundParameters, $CmdletName) & $CmdletName @BoundParameters", - false, - PipelineResultTypes.Output | PipelineResultTypes.Error, - null, - MyInvocation.BoundParameters, internalCmdletName); - } - // The workers signal failure via ThrowTerminatingError, which InvokeScript surfaces - // as a RuntimeException carrying the worker's ErrorRecord. Rethrow that record - // unchanged so the caller sees the worker's error identity (NoGraphSession, - // GraphRequestFailed, ...) instead of every failure collapsing into a generic - // dispatcher error. A pipeline stop is a RuntimeException too and must NOT be - // rethrown as a terminating error - both filters here let it pass to the engine. - catch (RuntimeException rex) when (rex is not PipelineStoppedException && rex.ErrorRecord is not null) - { - ThrowTerminatingError(rex.ErrorRecord); - return; - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ParameterSetName == "Get" ? PrintUsageByUserId : null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUserCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUserCount.g.cs deleted file mode 100644 index cdd0e74373c..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUserCount.g.cs +++ /dev/null @@ -1,61 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/monthlyPrintUsageSummariesByUser/$count")] - [Cmdlet(VerbsCommon.Get, "MgReportMonthlyPrintUsageSummaryByUserCount")] - [OutputType(typeof(int))] - public class GetMgReportMonthlyPrintUsageSummaryByUserCountCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - int? result; - try - { - result = client.Reports.MonthlyPrintUsageSummariesByUser.Count.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUser_Get.g.cs deleted file mode 100644 index ffbfae014df..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUser_Get.g.cs +++ /dev/null @@ -1,65 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser-id}")] - [Cmdlet(VerbsCommon.Get, "MgReportMonthlyPrintUsageSummaryByUser_Get")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser))] - public class GetMgReportMonthlyPrintUsageSummaryByUser_GetCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByUserId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser? result; - try - { - result = client.Reports.MonthlyPrintUsageSummariesByUser[PrintUsageByUserId].GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByUserId); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUser_List.g.cs deleted file mode 100644 index 23d596925ac..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageSummaryByUser_List.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/monthlyPrintUsageSummariesByUser")] - [Cmdlet(VerbsCommon.Get, "MgReportMonthlyPrintUsageSummaryByUser_List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser))] - public class GetMgReportMonthlyPrintUsageSummaryByUser_ListCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false)] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - [Parameter(Mandatory = false)] - public int Top { get; set; } - - [Parameter(Mandatory = false)] - public int Skip { get; set; } - - [Parameter(Mandatory = false)] - public SwitchParameter Count { get; set; } - - // Follows every @odata.nextLink until the collection is exhausted (a bound -Top caps - // the total). Without it only the first page returns, plus a truncation warning when - // more pages existed. - [Parameter(Mandatory = false)] - public SwitchParameter All { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUserCollectionResponse? result; - try - { - result = client.Reports.MonthlyPrintUsageSummariesByUser.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - if (this.IsParameterBound(nameof(Sort))) - requestConfiguration.QueryParameters.Orderby = Sort; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - if (this.IsParameterBound(nameof(Top))) - requestConfiguration.QueryParameters.Top = Top; - - if (this.IsParameterBound(nameof(Skip))) - requestConfiguration.QueryParameters.Skip = Skip; - - if (Count.IsPresent) - requestConfiguration.QueryParameters.Count = true; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - - // A collection response and its Value are both nullable on the kiota client; an - // empty page writes nothing rather than dereferencing null. Each page streams to - // the pipeline before the next request is issued, matching the published SDK. - if (result?.Value is { } items) - WriteObject(items, enumerateCollection: true); - - if (All.IsPresent) - { - var fetched = result?.Value?.Count ?? 0; - var nextLink = result?.OdataNextLink; - while (!string.IsNullOrEmpty(nextLink) && !Stopping && (!this.IsParameterBound(nameof(Top)) || fetched < Top)) - { - // The nextLink already carries the original query state, and a raw-URL - // builder ignores templated query parameters anyway - so the continuation - // re-applies headers only; query bindings here would be dead code. - result = client.Reports.MonthlyPrintUsageSummariesByUser.WithUrl(nextLink).GetAsync(requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }, StoppingToken).GetAwaiter().GetResult(); - if (result?.Value is { } page) - { - WriteObject(page, enumerateCollection: true); - fetched += page.Count; - } - nextLink = result?.OdataNextLink; - } - } - else if (!string.IsNullOrEmpty(result?.OdataNextLink)) - { - // Deliberately stronger than the published SDK, which truncates silently; - // approved in the design spec. One line, no extra request. - WriteWarning("More results are available. Use -All to return all pages."); - } - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetail.g.cs deleted file mode 100644 index 73f8f50199e..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetail.g.cs +++ /dev/null @@ -1,91 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Management.Automation.Runspaces; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client.Models; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/userCredentialUsageDetails")] - [Cmdlet(VerbsCommon.Get, "MgReportUserCredentialUsageDetail", DefaultParameterSetName = "List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetailsCollectionResponse), ParameterSetName = new[] { "List" })] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails), ParameterSetName = new[] { "Get" })] - public class GetMgReportUserCredentialUsageDetailCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, ParameterSetName = "Get", Position = 0)] - public string UserCredentialUsageDetailsId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Filter { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Search { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Top { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Skip { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter Count { get; set; } - - // Declared here because the binder rejects a parameter the dispatcher does not accept - // before ProcessRecord ever runs; once declared, the wholesale BoundParameters splat - // forwards it to the list worker with no further plumbing. - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter All { get; set; } - - - - - - // Delegates to Get-MgReportUserCredentialUsageDetail_Get or Get-MgReportUserCredentialUsageDetail_List, the two cmdlets - // that actually call Graph. - protected override void ProcessRecord() - { - var internalCmdletName = ParameterSetName == "Get" ? "Get-MgReportUserCredentialUsageDetail_Get" : "Get-MgReportUserCredentialUsageDetail_List"; - try - { - InvokeCommand.InvokeScript( - "param($BoundParameters, $CmdletName) & $CmdletName @BoundParameters", - false, - PipelineResultTypes.Output | PipelineResultTypes.Error, - null, - MyInvocation.BoundParameters, internalCmdletName); - } - // The workers signal failure via ThrowTerminatingError, which InvokeScript surfaces - // as a RuntimeException carrying the worker's ErrorRecord. Rethrow that record - // unchanged so the caller sees the worker's error identity (NoGraphSession, - // GraphRequestFailed, ...) instead of every failure collapsing into a generic - // dispatcher error. A pipeline stop is a RuntimeException too and must NOT be - // rethrown as a terminating error - both filters here let it pass to the engine. - catch (RuntimeException rex) when (rex is not PipelineStoppedException && rex.ErrorRecord is not null) - { - ThrowTerminatingError(rex.ErrorRecord); - return; - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ParameterSetName == "Get" ? UserCredentialUsageDetailsId : null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetailCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetailCount.g.cs deleted file mode 100644 index b83be53c5f4..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetailCount.g.cs +++ /dev/null @@ -1,61 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/userCredentialUsageDetails/$count")] - [Cmdlet(VerbsCommon.Get, "MgReportUserCredentialUsageDetailCount")] - [OutputType(typeof(int))] - public class GetMgReportUserCredentialUsageDetailCountCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - int? result; - try - { - result = client.Reports.UserCredentialUsageDetails.Count.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetail_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetail_Get.g.cs deleted file mode 100644 index 0979871efd8..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetail_Get.g.cs +++ /dev/null @@ -1,65 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/userCredentialUsageDetails/{userCredentialUsageDetails-id}")] - [Cmdlet(VerbsCommon.Get, "MgReportUserCredentialUsageDetail_Get")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails))] - public class GetMgReportUserCredentialUsageDetail_GetCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string UserCredentialUsageDetailsId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails? result; - try - { - result = client.Reports.UserCredentialUsageDetails[UserCredentialUsageDetailsId].GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, UserCredentialUsageDetailsId); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetail_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetail_List.g.cs deleted file mode 100644 index 0674ef12716..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserCredentialUsageDetail_List.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/userCredentialUsageDetails")] - [Cmdlet(VerbsCommon.Get, "MgReportUserCredentialUsageDetail_List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails))] - public class GetMgReportUserCredentialUsageDetail_ListCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false)] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - [Parameter(Mandatory = false)] - public int Top { get; set; } - - [Parameter(Mandatory = false)] - public int Skip { get; set; } - - [Parameter(Mandatory = false)] - public SwitchParameter Count { get; set; } - - // Follows every @odata.nextLink until the collection is exhausted (a bound -Top caps - // the total). Without it only the first page returns, plus a truncation warning when - // more pages existed. - [Parameter(Mandatory = false)] - public SwitchParameter All { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetailsCollectionResponse? result; - try - { - result = client.Reports.UserCredentialUsageDetails.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - if (this.IsParameterBound(nameof(Sort))) - requestConfiguration.QueryParameters.Orderby = Sort; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - if (this.IsParameterBound(nameof(Top))) - requestConfiguration.QueryParameters.Top = Top; - - if (this.IsParameterBound(nameof(Skip))) - requestConfiguration.QueryParameters.Skip = Skip; - - if (Count.IsPresent) - requestConfiguration.QueryParameters.Count = true; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - - // A collection response and its Value are both nullable on the kiota client; an - // empty page writes nothing rather than dereferencing null. Each page streams to - // the pipeline before the next request is issued, matching the published SDK. - if (result?.Value is { } items) - WriteObject(items, enumerateCollection: true); - - if (All.IsPresent) - { - var fetched = result?.Value?.Count ?? 0; - var nextLink = result?.OdataNextLink; - while (!string.IsNullOrEmpty(nextLink) && !Stopping && (!this.IsParameterBound(nameof(Top)) || fetched < Top)) - { - // The nextLink already carries the original query state, and a raw-URL - // builder ignores templated query parameters anyway - so the continuation - // re-applies headers only; query bindings here would be dead code. - result = client.Reports.UserCredentialUsageDetails.WithUrl(nextLink).GetAsync(requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }, StoppingToken).GetAwaiter().GetResult(); - if (result?.Value is { } page) - { - WriteObject(page, enumerateCollection: true); - fetched += page.Count; - } - nextLink = result?.OdataNextLink; - } - } - else if (!string.IsNullOrEmpty(result?.OdataNextLink)) - { - // Deliberately stronger than the published SDK, which truncates silently; - // approved in the design spec. One line, no extra request. - WriteWarning("More results are available. Use -All to return all pages."); - } - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplication.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplication.g.cs deleted file mode 100644 index 16f7bdab73f..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplication.g.cs +++ /dev/null @@ -1,91 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Management.Automation.Runspaces; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client.Models; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/userInsights/daily/inactiveUsersByApplication")] - [Cmdlet(VerbsCommon.Get, "MgReportUserInsightDailyInactiveUserByApplication", DefaultParameterSetName = "List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.DailyInactiveUsersByApplicationMetricCollectionResponse), ParameterSetName = new[] { "List" })] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.DailyInactiveUsersByApplicationMetric), ParameterSetName = new[] { "Get" })] - public class GetMgReportUserInsightDailyInactiveUserByApplicationCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, ParameterSetName = "Get", Position = 0)] - public string DailyInactiveUsersByApplicationMetricId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Filter { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Search { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Top { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Skip { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter Count { get; set; } - - // Declared here because the binder rejects a parameter the dispatcher does not accept - // before ProcessRecord ever runs; once declared, the wholesale BoundParameters splat - // forwards it to the list worker with no further plumbing. - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter All { get; set; } - - - - - - // Delegates to Get-MgReportUserInsightDailyInactiveUserByApplication_Get or Get-MgReportUserInsightDailyInactiveUserByApplication_List, the two cmdlets - // that actually call Graph. - protected override void ProcessRecord() - { - var internalCmdletName = ParameterSetName == "Get" ? "Get-MgReportUserInsightDailyInactiveUserByApplication_Get" : "Get-MgReportUserInsightDailyInactiveUserByApplication_List"; - try - { - InvokeCommand.InvokeScript( - "param($BoundParameters, $CmdletName) & $CmdletName @BoundParameters", - false, - PipelineResultTypes.Output | PipelineResultTypes.Error, - null, - MyInvocation.BoundParameters, internalCmdletName); - } - // The workers signal failure via ThrowTerminatingError, which InvokeScript surfaces - // as a RuntimeException carrying the worker's ErrorRecord. Rethrow that record - // unchanged so the caller sees the worker's error identity (NoGraphSession, - // GraphRequestFailed, ...) instead of every failure collapsing into a generic - // dispatcher error. A pipeline stop is a RuntimeException too and must NOT be - // rethrown as a terminating error - both filters here let it pass to the engine. - catch (RuntimeException rex) when (rex is not PipelineStoppedException && rex.ErrorRecord is not null) - { - ThrowTerminatingError(rex.ErrorRecord); - return; - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ParameterSetName == "Get" ? DailyInactiveUsersByApplicationMetricId : null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplicationCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplicationCount.g.cs deleted file mode 100644 index 4039d6d16dc..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplicationCount.g.cs +++ /dev/null @@ -1,61 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/userInsights/daily/inactiveUsersByApplication/$count")] - [Cmdlet(VerbsCommon.Get, "MgReportUserInsightDailyInactiveUserByApplicationCount")] - [OutputType(typeof(int))] - public class GetMgReportUserInsightDailyInactiveUserByApplicationCountCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - int? result; - try - { - result = client.Reports.UserInsights.Daily.InactiveUsersByApplication.Count.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplication_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplication_Get.g.cs deleted file mode 100644 index 0a82e2224e0..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplication_Get.g.cs +++ /dev/null @@ -1,65 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/userInsights/daily/inactiveUsersByApplication/{dailyInactiveUsersByApplicationMetric-id}")] - [Cmdlet(VerbsCommon.Get, "MgReportUserInsightDailyInactiveUserByApplication_Get")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.DailyInactiveUsersByApplicationMetric))] - public class GetMgReportUserInsightDailyInactiveUserByApplication_GetCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string DailyInactiveUsersByApplicationMetricId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.DailyInactiveUsersByApplicationMetric? result; - try - { - result = client.Reports.UserInsights.Daily.InactiveUsersByApplication[DailyInactiveUsersByApplicationMetricId].GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, DailyInactiveUsersByApplicationMetricId); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplication_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplication_List.g.cs deleted file mode 100644 index b7aff63fab4..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserByApplication_List.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/userInsights/daily/inactiveUsersByApplication")] - [Cmdlet(VerbsCommon.Get, "MgReportUserInsightDailyInactiveUserByApplication_List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.DailyInactiveUsersByApplicationMetric))] - public class GetMgReportUserInsightDailyInactiveUserByApplication_ListCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false)] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - [Parameter(Mandatory = false)] - public int Top { get; set; } - - [Parameter(Mandatory = false)] - public int Skip { get; set; } - - [Parameter(Mandatory = false)] - public SwitchParameter Count { get; set; } - - // Follows every @odata.nextLink until the collection is exhausted (a bound -Top caps - // the total). Without it only the first page returns, plus a truncation warning when - // more pages existed. - [Parameter(Mandatory = false)] - public SwitchParameter All { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.DailyInactiveUsersByApplicationMetricCollectionResponse? result; - try - { - result = client.Reports.UserInsights.Daily.InactiveUsersByApplication.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - if (this.IsParameterBound(nameof(Sort))) - requestConfiguration.QueryParameters.Orderby = Sort; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - if (this.IsParameterBound(nameof(Top))) - requestConfiguration.QueryParameters.Top = Top; - - if (this.IsParameterBound(nameof(Skip))) - requestConfiguration.QueryParameters.Skip = Skip; - - if (Count.IsPresent) - requestConfiguration.QueryParameters.Count = true; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - - // A collection response and its Value are both nullable on the kiota client; an - // empty page writes nothing rather than dereferencing null. Each page streams to - // the pipeline before the next request is issued, matching the published SDK. - if (result?.Value is { } items) - WriteObject(items, enumerateCollection: true); - - if (All.IsPresent) - { - var fetched = result?.Value?.Count ?? 0; - var nextLink = result?.OdataNextLink; - while (!string.IsNullOrEmpty(nextLink) && !Stopping && (!this.IsParameterBound(nameof(Top)) || fetched < Top)) - { - // The nextLink already carries the original query state, and a raw-URL - // builder ignores templated query parameters anyway - so the continuation - // re-applies headers only; query bindings here would be dead code. - result = client.Reports.UserInsights.Daily.InactiveUsersByApplication.WithUrl(nextLink).GetAsync(requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }, StoppingToken).GetAwaiter().GetResult(); - if (result?.Value is { } page) - { - WriteObject(page, enumerateCollection: true); - fetched += page.Count; - } - nextLink = result?.OdataNextLink; - } - } - else if (!string.IsNullOrEmpty(result?.OdataNextLink)) - { - // Deliberately stronger than the published SDK, which truncates silently; - // approved in the design spec. One line, no extra request. - WriteWarning("More results are available. Use -All to return all pages."); - } - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplication.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplication.g.cs deleted file mode 100644 index 7e2105f4f18..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplication.g.cs +++ /dev/null @@ -1,91 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Management.Automation.Runspaces; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client.Models; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/userInsights/monthly/inactiveUsersByApplication")] - [Cmdlet(VerbsCommon.Get, "MgReportUserInsightMonthlyInactiveUserByApplication", DefaultParameterSetName = "List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyInactiveUsersByApplicationMetricCollectionResponse), ParameterSetName = new[] { "List" })] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyInactiveUsersByApplicationMetric), ParameterSetName = new[] { "Get" })] - public class GetMgReportUserInsightMonthlyInactiveUserByApplicationCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, ParameterSetName = "Get", Position = 0)] - public string MonthlyInactiveUsersByApplicationMetricId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Filter { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public string? Search { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Top { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public int Skip { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter Count { get; set; } - - // Declared here because the binder rejects a parameter the dispatcher does not accept - // before ProcessRecord ever runs; once declared, the wholesale BoundParameters splat - // forwards it to the list worker with no further plumbing. - [Parameter(Mandatory = false, ParameterSetName = "List")] - public SwitchParameter All { get; set; } - - - - - - // Delegates to Get-MgReportUserInsightMonthlyInactiveUserByApplication_Get or Get-MgReportUserInsightMonthlyInactiveUserByApplication_List, the two cmdlets - // that actually call Graph. - protected override void ProcessRecord() - { - var internalCmdletName = ParameterSetName == "Get" ? "Get-MgReportUserInsightMonthlyInactiveUserByApplication_Get" : "Get-MgReportUserInsightMonthlyInactiveUserByApplication_List"; - try - { - InvokeCommand.InvokeScript( - "param($BoundParameters, $CmdletName) & $CmdletName @BoundParameters", - false, - PipelineResultTypes.Output | PipelineResultTypes.Error, - null, - MyInvocation.BoundParameters, internalCmdletName); - } - // The workers signal failure via ThrowTerminatingError, which InvokeScript surfaces - // as a RuntimeException carrying the worker's ErrorRecord. Rethrow that record - // unchanged so the caller sees the worker's error identity (NoGraphSession, - // GraphRequestFailed, ...) instead of every failure collapsing into a generic - // dispatcher error. A pipeline stop is a RuntimeException too and must NOT be - // rethrown as a terminating error - both filters here let it pass to the engine. - catch (RuntimeException rex) when (rex is not PipelineStoppedException && rex.ErrorRecord is not null) - { - ThrowTerminatingError(rex.ErrorRecord); - return; - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ParameterSetName == "Get" ? MonthlyInactiveUsersByApplicationMetricId : null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplicationCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplicationCount.g.cs deleted file mode 100644 index de2c3d1c2f7..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplicationCount.g.cs +++ /dev/null @@ -1,61 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/userInsights/monthly/inactiveUsersByApplication/$count")] - [Cmdlet(VerbsCommon.Get, "MgReportUserInsightMonthlyInactiveUserByApplicationCount")] - [OutputType(typeof(int))] - public class GetMgReportUserInsightMonthlyInactiveUserByApplicationCountCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - int? result; - try - { - result = client.Reports.UserInsights.Monthly.InactiveUsersByApplication.Count.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplication_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplication_Get.g.cs deleted file mode 100644 index 1ace2bd7447..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplication_Get.g.cs +++ /dev/null @@ -1,65 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/userInsights/monthly/inactiveUsersByApplication/{monthlyInactiveUsersByApplicationMetric-id}")] - [Cmdlet(VerbsCommon.Get, "MgReportUserInsightMonthlyInactiveUserByApplication_Get")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyInactiveUsersByApplicationMetric))] - public class GetMgReportUserInsightMonthlyInactiveUserByApplication_GetCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string MonthlyInactiveUsersByApplicationMetricId { get; set; } = string.Empty; - - - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyInactiveUsersByApplicationMetric? result; - try - { - result = client.Reports.UserInsights.Monthly.InactiveUsersByApplication[MonthlyInactiveUsersByApplicationMetricId].GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, MonthlyInactiveUsersByApplicationMetricId); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplication_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplication_List.g.cs deleted file mode 100644 index 9e9035c5404..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserByApplication_List.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("GET", "/reports/userInsights/monthly/inactiveUsersByApplication")] - [Cmdlet(VerbsCommon.Get, "MgReportUserInsightMonthlyInactiveUserByApplication_List")] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyInactiveUsersByApplicationMetric))] - public class GetMgReportUserInsightMonthlyInactiveUserByApplication_ListCommand : GraphClientCmdlet - { - - - - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Select")] - public string[]? Property { get; set; } - - [Parameter(Mandatory = false)] - [Alias("Expand")] - public string[]? ExpandProperty { get; set; } - - [Parameter(Mandatory = false)] - [Alias("OrderBy")] - public string[]? Sort { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - [Parameter(Mandatory = false)] - public int Top { get; set; } - - [Parameter(Mandatory = false)] - public int Skip { get; set; } - - [Parameter(Mandatory = false)] - public SwitchParameter Count { get; set; } - - // Follows every @odata.nextLink until the collection is exhausted (a bound -Top caps - // the total). Without it only the first page returns, plus a truncation warning when - // more pages existed. - [Parameter(Mandatory = false)] - public SwitchParameter All { get; set; } - - - - protected override void ProcessRecord() - { - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyInactiveUsersByApplicationMetricCollectionResponse? result; - try - { - result = client.Reports.UserInsights.Monthly.InactiveUsersByApplication.GetAsync(requestConfiguration => - { - if (this.IsParameterBound(nameof(Filter))) - requestConfiguration.QueryParameters.Filter = Filter; - - if (this.IsParameterBound(nameof(Property))) - requestConfiguration.QueryParameters.Select = Property; - - if (this.IsParameterBound(nameof(ExpandProperty))) - requestConfiguration.QueryParameters.Expand = ExpandProperty; - - if (this.IsParameterBound(nameof(Sort))) - requestConfiguration.QueryParameters.Orderby = Sort; - - if (this.IsParameterBound(nameof(Search))) - requestConfiguration.QueryParameters.Search = Search; - - if (this.IsParameterBound(nameof(Top))) - requestConfiguration.QueryParameters.Top = Top; - - if (this.IsParameterBound(nameof(Skip))) - requestConfiguration.QueryParameters.Skip = Skip; - - if (Count.IsPresent) - requestConfiguration.QueryParameters.Count = true; - - - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - - // A collection response and its Value are both nullable on the kiota client; an - // empty page writes nothing rather than dereferencing null. Each page streams to - // the pipeline before the next request is issued, matching the published SDK. - if (result?.Value is { } items) - WriteObject(items, enumerateCollection: true); - - if (All.IsPresent) - { - var fetched = result?.Value?.Count ?? 0; - var nextLink = result?.OdataNextLink; - while (!string.IsNullOrEmpty(nextLink) && !Stopping && (!this.IsParameterBound(nameof(Top)) || fetched < Top)) - { - // The nextLink already carries the original query state, and a raw-URL - // builder ignores templated query parameters anyway - so the continuation - // re-applies headers only; query bindings here would be dead code. - result = client.Reports.UserInsights.Monthly.InactiveUsersByApplication.WithUrl(nextLink).GetAsync(requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }, StoppingToken).GetAwaiter().GetResult(); - if (result?.Value is { } page) - { - WriteObject(page, enumerateCollection: true); - fetched += page.Count; - } - nextLink = result?.OdataNextLink; - } - } - else if (!string.IsNullOrEmpty(result?.OdataNextLink)) - { - // Deliberately stronger than the published SDK, which truncates silently; - // approved in the design spec. One line, no extra request. - WriteWarning("More results are available. Use -All to return all pages."); - } - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogCustomSecurityAttributeAudit.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogCustomSecurityAttributeAudit.g.cs deleted file mode 100644 index 0de7fff6b64..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogCustomSecurityAttributeAudit.g.cs +++ /dev/null @@ -1,128 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/auditLogs/customSecurityAttributeAudits")] - [Cmdlet(VerbsCommon.New, "MgAuditLogCustomSecurityAttributeAudit", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.CustomSecurityAttributeAudit))] - public class NewMgAuditLogCustomSecurityAttributeAuditCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ActivityDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? ActivityDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? Category { get; set; } - - [Parameter(Mandatory = false)] - public string? CorrelationId { get; set; } - - [Parameter(Mandatory = false)] - public string? LoggedByService { get; set; } - - [Parameter(Mandatory = false)] - public string? OperationType { get; set; } - - [Parameter(Mandatory = false)] - public string? ResultReason { get; set; } - - [Parameter(Mandatory = false)] - public string? UserAgent { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.KeyValue[]? AdditionalDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuditActivityInitiator? InitiatedBy { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.OperationResult? Result { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.TargetResource[]? TargetResources { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.CustomSecurityAttributeAudit(); - - if (this.IsParameterBound(nameof(ActivityDateTime))) - body.ActivityDateTime = ActivityDateTime; - - if (this.IsParameterBound(nameof(ActivityDisplayName))) - body.ActivityDisplayName = ActivityDisplayName; - - if (this.IsParameterBound(nameof(Category))) - body.Category = Category; - - if (this.IsParameterBound(nameof(CorrelationId))) - body.CorrelationId = CorrelationId; - - if (this.IsParameterBound(nameof(LoggedByService))) - body.LoggedByService = LoggedByService; - - if (this.IsParameterBound(nameof(OperationType))) - body.OperationType = OperationType; - - if (this.IsParameterBound(nameof(ResultReason))) - body.ResultReason = ResultReason; - - if (this.IsParameterBound(nameof(UserAgent))) - body.UserAgent = UserAgent; - - if (this.IsParameterBound(nameof(AdditionalDetails))) - body.AdditionalDetails = AdditionalDetails!.ToList(); - - if (this.IsParameterBound(nameof(InitiatedBy))) - body.InitiatedBy = InitiatedBy; - - if (this.IsParameterBound(nameof(Result))) - body.Result = Result; - - if (this.IsParameterBound(nameof(TargetResources))) - body.TargetResources = TargetResources!.ToList(); - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.CustomSecurityAttributeAudit? result; - try - { - result = client.AuditLogs.CustomSecurityAttributeAudits.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogDirectoryAudit.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogDirectoryAudit.g.cs deleted file mode 100644 index 17d980331eb..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogDirectoryAudit.g.cs +++ /dev/null @@ -1,134 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/auditLogs/directoryAudits")] - [Cmdlet(VerbsCommon.New, "MgAuditLogDirectoryAudit", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryAudit))] - public class NewMgAuditLogDirectoryAuditCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ActivityDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? ActivityDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? Category { get; set; } - - [Parameter(Mandatory = false)] - public string? CorrelationId { get; set; } - - [Parameter(Mandatory = false)] - public string? LoggedByService { get; set; } - - [Parameter(Mandatory = false)] - public string? OperationType { get; set; } - - [Parameter(Mandatory = false)] - public string? ResultReason { get; set; } - - [Parameter(Mandatory = false)] - public string? UserAgent { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.KeyValue[]? AdditionalDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuditActivityInitiator? InitiatedBy { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuditActivityPerformer? PerformedBy { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.OperationResult? Result { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.TargetResource[]? TargetResources { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryAudit(); - - if (this.IsParameterBound(nameof(ActivityDateTime))) - body.ActivityDateTime = ActivityDateTime; - - if (this.IsParameterBound(nameof(ActivityDisplayName))) - body.ActivityDisplayName = ActivityDisplayName; - - if (this.IsParameterBound(nameof(Category))) - body.Category = Category; - - if (this.IsParameterBound(nameof(CorrelationId))) - body.CorrelationId = CorrelationId; - - if (this.IsParameterBound(nameof(LoggedByService))) - body.LoggedByService = LoggedByService; - - if (this.IsParameterBound(nameof(OperationType))) - body.OperationType = OperationType; - - if (this.IsParameterBound(nameof(ResultReason))) - body.ResultReason = ResultReason; - - if (this.IsParameterBound(nameof(UserAgent))) - body.UserAgent = UserAgent; - - if (this.IsParameterBound(nameof(AdditionalDetails))) - body.AdditionalDetails = AdditionalDetails!.ToList(); - - if (this.IsParameterBound(nameof(InitiatedBy))) - body.InitiatedBy = InitiatedBy; - - if (this.IsParameterBound(nameof(PerformedBy))) - body.PerformedBy = PerformedBy; - - if (this.IsParameterBound(nameof(Result))) - body.Result = Result; - - if (this.IsParameterBound(nameof(TargetResources))) - body.TargetResources = TargetResources!.ToList(); - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryAudit? result; - try - { - result = client.AuditLogs.DirectoryAudits.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogDirectoryProvisioning.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogDirectoryProvisioning.g.cs deleted file mode 100644 index 6c63604b20b..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogDirectoryProvisioning.g.cs +++ /dev/null @@ -1,164 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/auditLogs/directoryProvisioning")] - [Cmdlet(VerbsCommon.New, "MgAuditLogDirectoryProvisioning", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary))] - public class NewMgAuditLogDirectoryProvisioningCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public string? Action { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ActivityDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? ChangeId { get; set; } - - [Parameter(Mandatory = false)] - public string? CycleId { get; set; } - - [Parameter(Mandatory = false)] - public int? DurationInMilliseconds { get; set; } - - [Parameter(Mandatory = false)] - public string? JobId { get; set; } - - [Parameter(Mandatory = false)] - public string? TenantId { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.Initiator? InitiatedBy { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ModifiedProperty[]? ModifiedProperties { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningAction? ProvisioningAction { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningStatusInfo? ProvisioningStatusInfo { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningStep[]? ProvisioningSteps { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningServicePrincipal? ServicePrincipal { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisionedIdentity? SourceIdentity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningSystem? SourceSystem { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.StatusBase? StatusInfo { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisionedIdentity? TargetIdentity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningSystem? TargetSystem { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary(); - - if (this.IsParameterBound(nameof(Action))) - body.Action = Action; - - if (this.IsParameterBound(nameof(ActivityDateTime))) - body.ActivityDateTime = ActivityDateTime; - - if (this.IsParameterBound(nameof(ChangeId))) - body.ChangeId = ChangeId; - - if (this.IsParameterBound(nameof(CycleId))) - body.CycleId = CycleId; - - if (this.IsParameterBound(nameof(DurationInMilliseconds))) - body.DurationInMilliseconds = DurationInMilliseconds; - - if (this.IsParameterBound(nameof(JobId))) - body.JobId = JobId; - - if (this.IsParameterBound(nameof(TenantId))) - body.TenantId = TenantId; - - if (this.IsParameterBound(nameof(InitiatedBy))) - body.InitiatedBy = InitiatedBy; - - if (this.IsParameterBound(nameof(ModifiedProperties))) - body.ModifiedProperties = ModifiedProperties!.ToList(); - - if (this.IsParameterBound(nameof(ProvisioningAction))) - body.ProvisioningAction = ProvisioningAction; - - if (this.IsParameterBound(nameof(ProvisioningStatusInfo))) - body.ProvisioningStatusInfo = ProvisioningStatusInfo; - - if (this.IsParameterBound(nameof(ProvisioningSteps))) - body.ProvisioningSteps = ProvisioningSteps!.ToList(); - - if (this.IsParameterBound(nameof(ServicePrincipal))) - body.ServicePrincipal = ServicePrincipal; - - if (this.IsParameterBound(nameof(SourceIdentity))) - body.SourceIdentity = SourceIdentity; - - if (this.IsParameterBound(nameof(SourceSystem))) - body.SourceSystem = SourceSystem; - - if (this.IsParameterBound(nameof(StatusInfo))) - body.StatusInfo = StatusInfo; - - if (this.IsParameterBound(nameof(TargetIdentity))) - body.TargetIdentity = TargetIdentity; - - if (this.IsParameterBound(nameof(TargetSystem))) - body.TargetSystem = TargetSystem; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary? result; - try - { - result = client.AuditLogs.DirectoryProvisioning.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogProvisioning.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogProvisioning.g.cs deleted file mode 100644 index 783b321dc5e..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogProvisioning.g.cs +++ /dev/null @@ -1,164 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/auditLogs/provisioning")] - [Cmdlet(VerbsCommon.New, "MgAuditLogProvisioning", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary))] - public class NewMgAuditLogProvisioningCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public string? Action { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ActivityDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? ChangeId { get; set; } - - [Parameter(Mandatory = false)] - public string? CycleId { get; set; } - - [Parameter(Mandatory = false)] - public int? DurationInMilliseconds { get; set; } - - [Parameter(Mandatory = false)] - public string? JobId { get; set; } - - [Parameter(Mandatory = false)] - public string? TenantId { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.Initiator? InitiatedBy { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ModifiedProperty[]? ModifiedProperties { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningAction? ProvisioningAction { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningStatusInfo? ProvisioningStatusInfo { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningStep[]? ProvisioningSteps { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningServicePrincipal? ServicePrincipal { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisionedIdentity? SourceIdentity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningSystem? SourceSystem { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.StatusBase? StatusInfo { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisionedIdentity? TargetIdentity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningSystem? TargetSystem { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary(); - - if (this.IsParameterBound(nameof(Action))) - body.Action = Action; - - if (this.IsParameterBound(nameof(ActivityDateTime))) - body.ActivityDateTime = ActivityDateTime; - - if (this.IsParameterBound(nameof(ChangeId))) - body.ChangeId = ChangeId; - - if (this.IsParameterBound(nameof(CycleId))) - body.CycleId = CycleId; - - if (this.IsParameterBound(nameof(DurationInMilliseconds))) - body.DurationInMilliseconds = DurationInMilliseconds; - - if (this.IsParameterBound(nameof(JobId))) - body.JobId = JobId; - - if (this.IsParameterBound(nameof(TenantId))) - body.TenantId = TenantId; - - if (this.IsParameterBound(nameof(InitiatedBy))) - body.InitiatedBy = InitiatedBy; - - if (this.IsParameterBound(nameof(ModifiedProperties))) - body.ModifiedProperties = ModifiedProperties!.ToList(); - - if (this.IsParameterBound(nameof(ProvisioningAction))) - body.ProvisioningAction = ProvisioningAction; - - if (this.IsParameterBound(nameof(ProvisioningStatusInfo))) - body.ProvisioningStatusInfo = ProvisioningStatusInfo; - - if (this.IsParameterBound(nameof(ProvisioningSteps))) - body.ProvisioningSteps = ProvisioningSteps!.ToList(); - - if (this.IsParameterBound(nameof(ServicePrincipal))) - body.ServicePrincipal = ServicePrincipal; - - if (this.IsParameterBound(nameof(SourceIdentity))) - body.SourceIdentity = SourceIdentity; - - if (this.IsParameterBound(nameof(SourceSystem))) - body.SourceSystem = SourceSystem; - - if (this.IsParameterBound(nameof(StatusInfo))) - body.StatusInfo = StatusInfo; - - if (this.IsParameterBound(nameof(TargetIdentity))) - body.TargetIdentity = TargetIdentity; - - if (this.IsParameterBound(nameof(TargetSystem))) - body.TargetSystem = TargetSystem; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary? result; - try - { - result = client.AuditLogs.Provisioning.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignIn.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignIn.g.cs deleted file mode 100644 index 2dbe125eafd..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignIn.g.cs +++ /dev/null @@ -1,518 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/auditLogs/signIns")] - [Cmdlet(VerbsCommon.New, "MgAuditLogSignIn", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.SignIn))] - public class NewMgAuditLogSignInCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public string? AppDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? AppId { get; set; } - - [Parameter(Mandatory = false)] - public string? AppOwnerTenantId { get; set; } - - [Parameter(Mandatory = false)] - public string[]? AuthenticationMethodsUsed { get; set; } - - [Parameter(Mandatory = false)] - public string? AuthenticationRequirement { get; set; } - - [Parameter(Mandatory = false)] - public int? AutonomousSystemNumber { get; set; } - - [Parameter(Mandatory = false)] - public string? AzureResourceId { get; set; } - - [Parameter(Mandatory = false)] - public string? ClientAppUsed { get; set; } - - [Parameter(Mandatory = false)] - public string? ClientSessionId { get; set; } - - [Parameter(Mandatory = false)] - public string[]? ConditionalAccessAudiences { get; set; } - - [Parameter(Mandatory = false)] - public string? CorrelationId { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? CreatedDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? FederatedCredentialId { get; set; } - - [Parameter(Mandatory = false)] - public bool? FlaggedForReview { get; set; } - - [Parameter(Mandatory = false)] - public string? GlobalSecureAccessIpAddress { get; set; } - - [Parameter(Mandatory = false)] - public string? HomeTenantId { get; set; } - - [Parameter(Mandatory = false)] - public string? HomeTenantName { get; set; } - - [Parameter(Mandatory = false)] - public string? IpAddress { get; set; } - - [Parameter(Mandatory = false)] - public string? IpAddressFromResourceProvider { get; set; } - - [Parameter(Mandatory = false)] - public bool? IsInteractive { get; set; } - - [Parameter(Mandatory = false)] - public bool? IsTenantRestricted { get; set; } - - [Parameter(Mandatory = false)] - public bool? IsThroughGlobalSecureAccess { get; set; } - - [Parameter(Mandatory = false)] - public string? OriginalRequestId { get; set; } - - [Parameter(Mandatory = false)] - public int? ProcessingTimeInMilliseconds { get; set; } - - [Parameter(Mandatory = false)] - public string? ResourceDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? ResourceId { get; set; } - - [Parameter(Mandatory = false)] - public string? ResourceOwnerTenantId { get; set; } - - [Parameter(Mandatory = false)] - public string? ResourceServicePrincipalId { get; set; } - - [Parameter(Mandatory = false)] - public string? ResourceTenantId { get; set; } - - [Parameter(Mandatory = false)] - public string[]? RiskEventTypesV2 { get; set; } - - [Parameter(Mandatory = false)] - public string? RootActorId { get; set; } - - [Parameter(Mandatory = false)] - public string? ServicePrincipalCredentialKeyId { get; set; } - - [Parameter(Mandatory = false)] - public string? ServicePrincipalCredentialThumbprint { get; set; } - - [Parameter(Mandatory = false)] - public string? ServicePrincipalId { get; set; } - - [Parameter(Mandatory = false)] - public string? ServicePrincipalName { get; set; } - - [Parameter(Mandatory = false)] - public string? SessionId { get; set; } - - [Parameter(Mandatory = false)] - public string[]? SignInEventTypes { get; set; } - - [Parameter(Mandatory = false)] - public string? SignInIdentifier { get; set; } - - [Parameter(Mandatory = false)] - public string? TokenIssuerName { get; set; } - - [Parameter(Mandatory = false)] - public string? UniqueTokenIdentifier { get; set; } - - [Parameter(Mandatory = false)] - public string? UserAgent { get; set; } - - [Parameter(Mandatory = false)] - public string? UserDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? UserId { get; set; } - - [Parameter(Mandatory = false)] - public string? UserPrincipalName { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.Agentic.AgentSignIn? Agent { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AppliedConditionalAccessPolicy[]? AppliedConditionalAccessPolicies { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AppliedAuthenticationEventListener[]? AppliedEventListeners { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.TokenProtectionStatus? AppTokenProtectionStatus { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationAppDeviceDetails? AuthenticationAppDeviceDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationAppPolicyDetails[]? AuthenticationAppPolicyEvaluationDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationContext[]? AuthenticationContextClassReferences { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationDetail[]? AuthenticationDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.KeyValue[]? AuthenticationProcessingDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProtocolType? AuthenticationProtocol { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationRequirementPolicy[]? AuthenticationRequirementPolicies { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ClientCredentialType? ClientCredentialType { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ConditionalAccessStatus? ConditionalAccessStatus { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInAccessType? CrossTenantAccessType { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceDetail? DeviceDetail { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.IncomingTokenType? IncomingTokenType { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInLocation? Location { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ManagedIdentity? ManagedServiceIdentity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.MfaDetail? MfaDetail { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.NetworkLocationDetail[]? NetworkLocationDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.OriginalTransferMethods? OriginalTransferMethod { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.PrivateLinkDetails? PrivateLinkDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.RiskDetail? RiskDetail { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.RiskLevel? RiskLevelAggregated { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.RiskLevel? RiskLevelDuringSignIn { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.RiskState? RiskState { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SessionLifetimePolicy[]? SessionLifetimePolicies { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInIdentifierType? SignInIdentifierType { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.TokenProtectionStatus? SignInTokenProtectionStatus { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInStatus? Status { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.TokenIssuerType? TokenIssuerType { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.TokenProtectionStatusDetails? TokenProtectionStatusDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInUserType? UserType { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.SignIn(); - - if (this.IsParameterBound(nameof(AppDisplayName))) - body.AppDisplayName = AppDisplayName; - - if (this.IsParameterBound(nameof(AppId))) - body.AppId = AppId; - - if (this.IsParameterBound(nameof(AppOwnerTenantId))) - body.AppOwnerTenantId = AppOwnerTenantId; - - if (this.IsParameterBound(nameof(AuthenticationMethodsUsed))) - body.AuthenticationMethodsUsed = AuthenticationMethodsUsed!.ToList(); - - if (this.IsParameterBound(nameof(AuthenticationRequirement))) - body.AuthenticationRequirement = AuthenticationRequirement; - - if (this.IsParameterBound(nameof(AutonomousSystemNumber))) - body.AutonomousSystemNumber = AutonomousSystemNumber; - - if (this.IsParameterBound(nameof(AzureResourceId))) - body.AzureResourceId = AzureResourceId; - - if (this.IsParameterBound(nameof(ClientAppUsed))) - body.ClientAppUsed = ClientAppUsed; - - if (this.IsParameterBound(nameof(ClientSessionId))) - body.ClientSessionId = ClientSessionId; - - if (this.IsParameterBound(nameof(ConditionalAccessAudiences))) - body.ConditionalAccessAudiences = ConditionalAccessAudiences!.ToList(); - - if (this.IsParameterBound(nameof(CorrelationId))) - body.CorrelationId = CorrelationId; - - if (this.IsParameterBound(nameof(CreatedDateTime))) - body.CreatedDateTime = CreatedDateTime; - - if (this.IsParameterBound(nameof(FederatedCredentialId))) - body.FederatedCredentialId = FederatedCredentialId; - - if (this.IsParameterBound(nameof(FlaggedForReview))) - body.FlaggedForReview = FlaggedForReview; - - if (this.IsParameterBound(nameof(GlobalSecureAccessIpAddress))) - body.GlobalSecureAccessIpAddress = GlobalSecureAccessIpAddress; - - if (this.IsParameterBound(nameof(HomeTenantId))) - body.HomeTenantId = HomeTenantId; - - if (this.IsParameterBound(nameof(HomeTenantName))) - body.HomeTenantName = HomeTenantName; - - if (this.IsParameterBound(nameof(IpAddress))) - body.IpAddress = IpAddress; - - if (this.IsParameterBound(nameof(IpAddressFromResourceProvider))) - body.IpAddressFromResourceProvider = IpAddressFromResourceProvider; - - if (this.IsParameterBound(nameof(IsInteractive))) - body.IsInteractive = IsInteractive; - - if (this.IsParameterBound(nameof(IsTenantRestricted))) - body.IsTenantRestricted = IsTenantRestricted; - - if (this.IsParameterBound(nameof(IsThroughGlobalSecureAccess))) - body.IsThroughGlobalSecureAccess = IsThroughGlobalSecureAccess; - - if (this.IsParameterBound(nameof(OriginalRequestId))) - body.OriginalRequestId = OriginalRequestId; - - if (this.IsParameterBound(nameof(ProcessingTimeInMilliseconds))) - body.ProcessingTimeInMilliseconds = ProcessingTimeInMilliseconds; - - if (this.IsParameterBound(nameof(ResourceDisplayName))) - body.ResourceDisplayName = ResourceDisplayName; - - if (this.IsParameterBound(nameof(ResourceId))) - body.ResourceId = ResourceId; - - if (this.IsParameterBound(nameof(ResourceOwnerTenantId))) - body.ResourceOwnerTenantId = ResourceOwnerTenantId; - - if (this.IsParameterBound(nameof(ResourceServicePrincipalId))) - body.ResourceServicePrincipalId = ResourceServicePrincipalId; - - if (this.IsParameterBound(nameof(ResourceTenantId))) - body.ResourceTenantId = ResourceTenantId; - - if (this.IsParameterBound(nameof(RiskEventTypesV2))) - body.RiskEventTypesV2 = RiskEventTypesV2!.ToList(); - - if (this.IsParameterBound(nameof(RootActorId))) - body.RootActorId = RootActorId; - - if (this.IsParameterBound(nameof(ServicePrincipalCredentialKeyId))) - body.ServicePrincipalCredentialKeyId = ServicePrincipalCredentialKeyId; - - if (this.IsParameterBound(nameof(ServicePrincipalCredentialThumbprint))) - body.ServicePrincipalCredentialThumbprint = ServicePrincipalCredentialThumbprint; - - if (this.IsParameterBound(nameof(ServicePrincipalId))) - body.ServicePrincipalId = ServicePrincipalId; - - if (this.IsParameterBound(nameof(ServicePrincipalName))) - body.ServicePrincipalName = ServicePrincipalName; - - if (this.IsParameterBound(nameof(SessionId))) - body.SessionId = SessionId; - - if (this.IsParameterBound(nameof(SignInEventTypes))) - body.SignInEventTypes = SignInEventTypes!.ToList(); - - if (this.IsParameterBound(nameof(SignInIdentifier))) - body.SignInIdentifier = SignInIdentifier; - - if (this.IsParameterBound(nameof(TokenIssuerName))) - body.TokenIssuerName = TokenIssuerName; - - if (this.IsParameterBound(nameof(UniqueTokenIdentifier))) - body.UniqueTokenIdentifier = UniqueTokenIdentifier; - - if (this.IsParameterBound(nameof(UserAgent))) - body.UserAgent = UserAgent; - - if (this.IsParameterBound(nameof(UserDisplayName))) - body.UserDisplayName = UserDisplayName; - - if (this.IsParameterBound(nameof(UserId))) - body.UserId = UserId; - - if (this.IsParameterBound(nameof(UserPrincipalName))) - body.UserPrincipalName = UserPrincipalName; - - if (this.IsParameterBound(nameof(Agent))) - body.Agent = Agent; - - if (this.IsParameterBound(nameof(AppliedConditionalAccessPolicies))) - body.AppliedConditionalAccessPolicies = AppliedConditionalAccessPolicies!.ToList(); - - if (this.IsParameterBound(nameof(AppliedEventListeners))) - body.AppliedEventListeners = AppliedEventListeners!.ToList(); - - if (this.IsParameterBound(nameof(AppTokenProtectionStatus))) - body.AppTokenProtectionStatus = AppTokenProtectionStatus; - - if (this.IsParameterBound(nameof(AuthenticationAppDeviceDetails))) - body.AuthenticationAppDeviceDetails = AuthenticationAppDeviceDetails; - - if (this.IsParameterBound(nameof(AuthenticationAppPolicyEvaluationDetails))) - body.AuthenticationAppPolicyEvaluationDetails = AuthenticationAppPolicyEvaluationDetails!.ToList(); - - if (this.IsParameterBound(nameof(AuthenticationContextClassReferences))) - body.AuthenticationContextClassReferences = AuthenticationContextClassReferences!.ToList(); - - if (this.IsParameterBound(nameof(AuthenticationDetails))) - body.AuthenticationDetails = AuthenticationDetails!.ToList(); - - if (this.IsParameterBound(nameof(AuthenticationProcessingDetails))) - body.AuthenticationProcessingDetails = AuthenticationProcessingDetails!.ToList(); - - if (this.IsParameterBound(nameof(AuthenticationProtocol))) - body.AuthenticationProtocol = AuthenticationProtocol; - - if (this.IsParameterBound(nameof(AuthenticationRequirementPolicies))) - body.AuthenticationRequirementPolicies = AuthenticationRequirementPolicies!.ToList(); - - if (this.IsParameterBound(nameof(ClientCredentialType))) - body.ClientCredentialType = ClientCredentialType; - - if (this.IsParameterBound(nameof(ConditionalAccessStatus))) - body.ConditionalAccessStatus = ConditionalAccessStatus; - - if (this.IsParameterBound(nameof(CrossTenantAccessType))) - body.CrossTenantAccessType = CrossTenantAccessType; - - if (this.IsParameterBound(nameof(DeviceDetail))) - body.DeviceDetail = DeviceDetail; - - if (this.IsParameterBound(nameof(IncomingTokenType))) - body.IncomingTokenType = IncomingTokenType; - - if (this.IsParameterBound(nameof(Location))) - body.Location = Location; - - if (this.IsParameterBound(nameof(ManagedServiceIdentity))) - body.ManagedServiceIdentity = ManagedServiceIdentity; - - if (this.IsParameterBound(nameof(MfaDetail))) - body.MfaDetail = MfaDetail; - - if (this.IsParameterBound(nameof(NetworkLocationDetails))) - body.NetworkLocationDetails = NetworkLocationDetails!.ToList(); - - if (this.IsParameterBound(nameof(OriginalTransferMethod))) - body.OriginalTransferMethod = OriginalTransferMethod; - - if (this.IsParameterBound(nameof(PrivateLinkDetails))) - body.PrivateLinkDetails = PrivateLinkDetails; - - if (this.IsParameterBound(nameof(RiskDetail))) - body.RiskDetail = RiskDetail; - - if (this.IsParameterBound(nameof(RiskLevelAggregated))) - body.RiskLevelAggregated = RiskLevelAggregated; - - if (this.IsParameterBound(nameof(RiskLevelDuringSignIn))) - body.RiskLevelDuringSignIn = RiskLevelDuringSignIn; - - if (this.IsParameterBound(nameof(RiskState))) - body.RiskState = RiskState; - - if (this.IsParameterBound(nameof(SessionLifetimePolicies))) - body.SessionLifetimePolicies = SessionLifetimePolicies!.ToList(); - - if (this.IsParameterBound(nameof(SignInIdentifierType))) - body.SignInIdentifierType = SignInIdentifierType; - - if (this.IsParameterBound(nameof(SignInTokenProtectionStatus))) - body.SignInTokenProtectionStatus = SignInTokenProtectionStatus; - - if (this.IsParameterBound(nameof(Status))) - body.Status = Status; - - if (this.IsParameterBound(nameof(TokenIssuerType))) - body.TokenIssuerType = TokenIssuerType; - - if (this.IsParameterBound(nameof(TokenProtectionStatusDetails))) - body.TokenProtectionStatusDetails = TokenProtectionStatusDetails; - - if (this.IsParameterBound(nameof(UserType))) - body.UserType = UserType; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.SignIn? result; - try - { - result = client.AuditLogs.SignIns.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignUp.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignUp.g.cs deleted file mode 100644 index 976afe65f48..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignUp.g.cs +++ /dev/null @@ -1,122 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/auditLogs/signUps")] - [Cmdlet(VerbsCommon.New, "MgAuditLogSignUp", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.SelfServiceSignUp))] - public class NewMgAuditLogSignUpCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public string? AppDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? AppId { get; set; } - - [Parameter(Mandatory = false)] - public string? CorrelationId { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? CreatedDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? SignUpIdentityProvider { get; set; } - - [Parameter(Mandatory = false)] - public string? UserId { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AppliedAuthenticationEventListener[]? AppliedEventListeners { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.FraudProtectionDetails? FraudProtectionDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignUpIdentity? SignUpIdentity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignUpStage? SignUpStage { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignUpStatus? Status { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.SelfServiceSignUp(); - - if (this.IsParameterBound(nameof(AppDisplayName))) - body.AppDisplayName = AppDisplayName; - - if (this.IsParameterBound(nameof(AppId))) - body.AppId = AppId; - - if (this.IsParameterBound(nameof(CorrelationId))) - body.CorrelationId = CorrelationId; - - if (this.IsParameterBound(nameof(CreatedDateTime))) - body.CreatedDateTime = CreatedDateTime; - - if (this.IsParameterBound(nameof(SignUpIdentityProvider))) - body.SignUpIdentityProvider = SignUpIdentityProvider; - - if (this.IsParameterBound(nameof(UserId))) - body.UserId = UserId; - - if (this.IsParameterBound(nameof(AppliedEventListeners))) - body.AppliedEventListeners = AppliedEventListeners!.ToList(); - - if (this.IsParameterBound(nameof(FraudProtectionDetails))) - body.FraudProtectionDetails = FraudProtectionDetails; - - if (this.IsParameterBound(nameof(SignUpIdentity))) - body.SignUpIdentity = SignUpIdentity; - - if (this.IsParameterBound(nameof(SignUpStage))) - body.SignUpStage = SignUpStage; - - if (this.IsParameterBound(nameof(Status))) - body.Status = Status; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.SelfServiceSignUp? result; - try - { - result = client.AuditLogs.SignUps.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgDeviceManagementReportCachedReportConfiguration.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgDeviceManagementReportCachedReportConfiguration.g.cs deleted file mode 100644 index bd6575579a9..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgDeviceManagementReportCachedReportConfiguration.g.cs +++ /dev/null @@ -1,104 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/deviceManagement/reports/cachedReportConfigurations")] - [Cmdlet(VerbsCommon.New, "MgDeviceManagementReportCachedReportConfiguration", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementCachedReportConfiguration))] - public class NewMgDeviceManagementReportCachedReportConfigurationCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ExpirationDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? LastRefreshDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? Metadata { get; set; } - - [Parameter(Mandatory = false)] - public string[]? OrderBy { get; set; } - - [Parameter(Mandatory = false)] - public string? ReportName { get; set; } - - [Parameter(Mandatory = false)] - public string[]? Select { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementReportStatus? Status { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementCachedReportConfiguration(); - - if (this.IsParameterBound(nameof(ExpirationDateTime))) - body.ExpirationDateTime = ExpirationDateTime; - - if (this.IsParameterBound(nameof(Filter))) - body.Filter = Filter; - - if (this.IsParameterBound(nameof(LastRefreshDateTime))) - body.LastRefreshDateTime = LastRefreshDateTime; - - if (this.IsParameterBound(nameof(Metadata))) - body.Metadata = Metadata; - - if (this.IsParameterBound(nameof(OrderBy))) - body.OrderBy = OrderBy!.ToList(); - - if (this.IsParameterBound(nameof(ReportName))) - body.ReportName = ReportName; - - if (this.IsParameterBound(nameof(Select))) - body.Select = Select!.ToList(); - - if (this.IsParameterBound(nameof(Status))) - body.Status = Status; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementCachedReportConfiguration? result; - try - { - result = client.DeviceManagement.Reports.CachedReportConfigurations.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgDeviceManagementReportExportJob.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgDeviceManagementReportExportJob.g.cs deleted file mode 100644 index e4569ab5362..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgDeviceManagementReportExportJob.g.cs +++ /dev/null @@ -1,122 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/deviceManagement/reports/exportJobs")] - [Cmdlet(VerbsCommon.New, "MgDeviceManagementReportExportJob", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementExportJob))] - public class NewMgDeviceManagementReportExportJobCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ExpirationDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public string? ReportName { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? RequestDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - [Parameter(Mandatory = false)] - public string[]? Select { get; set; } - - [Parameter(Mandatory = false)] - public string? SnapshotId { get; set; } - - [Parameter(Mandatory = false)] - public string? Url { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementReportFileFormat? Format { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementExportJobLocalizationType? LocalizationType { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementReportStatus? Status { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementExportJob(); - - if (this.IsParameterBound(nameof(ExpirationDateTime))) - body.ExpirationDateTime = ExpirationDateTime; - - if (this.IsParameterBound(nameof(Filter))) - body.Filter = Filter; - - if (this.IsParameterBound(nameof(ReportName))) - body.ReportName = ReportName; - - if (this.IsParameterBound(nameof(RequestDateTime))) - body.RequestDateTime = RequestDateTime; - - if (this.IsParameterBound(nameof(Search))) - body.Search = Search; - - if (this.IsParameterBound(nameof(Select))) - body.Select = Select!.ToList(); - - if (this.IsParameterBound(nameof(SnapshotId))) - body.SnapshotId = SnapshotId; - - if (this.IsParameterBound(nameof(Url))) - body.Url = Url; - - if (this.IsParameterBound(nameof(Format))) - body.Format = Format; - - if (this.IsParameterBound(nameof(LocalizationType))) - body.LocalizationType = LocalizationType; - - if (this.IsParameterBound(nameof(Status))) - body.Status = Status; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementExportJob? result; - try - { - result = client.DeviceManagement.Reports.ExportJobs.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAppCredentialSignInActivity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAppCredentialSignInActivity.g.cs deleted file mode 100644 index 855aad98c73..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAppCredentialSignInActivity.g.cs +++ /dev/null @@ -1,122 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/reports/appCredentialSignInActivities")] - [Cmdlet(VerbsCommon.New, "MgReportAppCredentialSignInActivity", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.AppCredentialSignInActivity))] - public class NewMgReportAppCredentialSignInActivityCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public string? AppId { get; set; } - - [Parameter(Mandatory = false)] - public string? AppObjectId { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? CreatedDateTime { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ExpirationDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? KeyId { get; set; } - - [Parameter(Mandatory = false)] - public string? ResourceId { get; set; } - - [Parameter(Mandatory = false)] - public string? ServicePrincipalObjectId { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ApplicationKeyOrigin? CredentialOrigin { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ApplicationKeyType? KeyType { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ApplicationKeyUsage? KeyUsage { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInActivity? SignInActivity { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.AppCredentialSignInActivity(); - - if (this.IsParameterBound(nameof(AppId))) - body.AppId = AppId; - - if (this.IsParameterBound(nameof(AppObjectId))) - body.AppObjectId = AppObjectId; - - if (this.IsParameterBound(nameof(CreatedDateTime))) - body.CreatedDateTime = CreatedDateTime; - - if (this.IsParameterBound(nameof(ExpirationDateTime))) - body.ExpirationDateTime = ExpirationDateTime; - - if (this.IsParameterBound(nameof(KeyId))) - body.KeyId = KeyId; - - if (this.IsParameterBound(nameof(ResourceId))) - body.ResourceId = ResourceId; - - if (this.IsParameterBound(nameof(ServicePrincipalObjectId))) - body.ServicePrincipalObjectId = ServicePrincipalObjectId; - - if (this.IsParameterBound(nameof(CredentialOrigin))) - body.CredentialOrigin = CredentialOrigin; - - if (this.IsParameterBound(nameof(KeyType))) - body.KeyType = KeyType; - - if (this.IsParameterBound(nameof(KeyUsage))) - body.KeyUsage = KeyUsage; - - if (this.IsParameterBound(nameof(SignInActivity))) - body.SignInActivity = SignInActivity; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.AppCredentialSignInActivity? result; - try - { - result = client.Reports.AppCredentialSignInActivities.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportApplicationSignInDetailedSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportApplicationSignInDetailedSummary.g.cs deleted file mode 100644 index e8cae001020..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportApplicationSignInDetailedSummary.g.cs +++ /dev/null @@ -1,86 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/reports/applicationSignInDetailedSummary")] - [Cmdlet(VerbsCommon.New, "MgReportApplicationSignInDetailedSummary", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.ApplicationSignInDetailedSummary))] - public class NewMgReportApplicationSignInDetailedSummaryCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? AggregatedEventDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? AppDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? AppId { get; set; } - - [Parameter(Mandatory = false)] - public long? SignInCount { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInStatus? Status { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.ApplicationSignInDetailedSummary(); - - if (this.IsParameterBound(nameof(AggregatedEventDateTime))) - body.AggregatedEventDateTime = AggregatedEventDateTime; - - if (this.IsParameterBound(nameof(AppDisplayName))) - body.AppDisplayName = AppDisplayName; - - if (this.IsParameterBound(nameof(AppId))) - body.AppId = AppId; - - if (this.IsParameterBound(nameof(SignInCount))) - body.SignInCount = SignInCount; - - if (this.IsParameterBound(nameof(Status))) - body.Status = Status; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.ApplicationSignInDetailedSummary? result; - try - { - result = client.Reports.ApplicationSignInDetailedSummary.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportCredentialUserRegistrationDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportCredentialUserRegistrationDetail.g.cs deleted file mode 100644 index f209ce4f74e..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportCredentialUserRegistrationDetail.g.cs +++ /dev/null @@ -1,98 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/reports/credentialUserRegistrationDetails")] - [Cmdlet(VerbsCommon.New, "MgReportCredentialUserRegistrationDetail", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails))] - public class NewMgReportCredentialUserRegistrationDetailCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public bool? IsCapable { get; set; } - - [Parameter(Mandatory = false)] - public bool? IsEnabled { get; set; } - - [Parameter(Mandatory = false)] - public bool? IsMfaRegistered { get; set; } - - [Parameter(Mandatory = false)] - public bool? IsRegistered { get; set; } - - [Parameter(Mandatory = false)] - public string? UserDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? UserPrincipalName { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.RegistrationAuthMethod?[]? AuthMethods { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails(); - - if (this.IsParameterBound(nameof(IsCapable))) - body.IsCapable = IsCapable; - - if (this.IsParameterBound(nameof(IsEnabled))) - body.IsEnabled = IsEnabled; - - if (this.IsParameterBound(nameof(IsMfaRegistered))) - body.IsMfaRegistered = IsMfaRegistered; - - if (this.IsParameterBound(nameof(IsRegistered))) - body.IsRegistered = IsRegistered; - - if (this.IsParameterBound(nameof(UserDisplayName))) - body.UserDisplayName = UserDisplayName; - - if (this.IsParameterBound(nameof(UserPrincipalName))) - body.UserPrincipalName = UserPrincipalName; - - if (this.IsParameterBound(nameof(AuthMethods))) - body.AuthMethods = AuthMethods!.ToList(); - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails? result; - try - { - result = client.Reports.CredentialUserRegistrationDetails.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsage.g.cs deleted file mode 100644 index d17b550cab4..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsage.g.cs +++ /dev/null @@ -1,124 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/reports/dailyPrintUsage")] - [Cmdlet(VerbsCommon.New, "MgReportDailyPrintUsage", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsage))] - public class NewMgReportDailyPrintUsageCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsage(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsage? result; - try - { - result = client.Reports.DailyPrintUsage.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageByPrinter.g.cs deleted file mode 100644 index f0adbf96492..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageByPrinter.g.cs +++ /dev/null @@ -1,136 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/reports/dailyPrintUsageByPrinter")] - [Cmdlet(VerbsCommon.New, "MgReportDailyPrintUsageByPrinter", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter))] - public class NewMgReportDailyPrintUsageByPrinterCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterId { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(PrinterId))) - body.PrinterId = PrinterId; - - if (this.IsParameterBound(nameof(PrinterName))) - body.PrinterName = PrinterName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter? result; - try - { - result = client.Reports.DailyPrintUsageByPrinter.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageByUser.g.cs deleted file mode 100644 index 831433f82b4..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageByUser.g.cs +++ /dev/null @@ -1,130 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/reports/dailyPrintUsageByUser")] - [Cmdlet(VerbsCommon.New, "MgReportDailyPrintUsageByUser", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser))] - public class NewMgReportDailyPrintUsageByUserCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? UserPrincipalName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(UserPrincipalName))) - body.UserPrincipalName = UserPrincipalName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser? result; - try - { - result = client.Reports.DailyPrintUsageByUser.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageSummaryByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageSummaryByPrinter.g.cs deleted file mode 100644 index 5bbd90bf2ea..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageSummaryByPrinter.g.cs +++ /dev/null @@ -1,136 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/reports/dailyPrintUsageSummariesByPrinter")] - [Cmdlet(VerbsCommon.New, "MgReportDailyPrintUsageSummaryByPrinter", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter))] - public class NewMgReportDailyPrintUsageSummaryByPrinterCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterId { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(PrinterId))) - body.PrinterId = PrinterId; - - if (this.IsParameterBound(nameof(PrinterName))) - body.PrinterName = PrinterName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter? result; - try - { - result = client.Reports.DailyPrintUsageSummariesByPrinter.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageSummaryByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageSummaryByUser.g.cs deleted file mode 100644 index 5f049665350..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportDailyPrintUsageSummaryByUser.g.cs +++ /dev/null @@ -1,130 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/reports/dailyPrintUsageSummariesByUser")] - [Cmdlet(VerbsCommon.New, "MgReportDailyPrintUsageSummaryByUser", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser))] - public class NewMgReportDailyPrintUsageSummaryByUserCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? UserPrincipalName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(UserPrincipalName))) - body.UserPrincipalName = UserPrincipalName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser? result; - try - { - result = client.Reports.DailyPrintUsageSummariesByUser.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageByPrinter.g.cs deleted file mode 100644 index ba719ff4d9a..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageByPrinter.g.cs +++ /dev/null @@ -1,136 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/reports/monthlyPrintUsageByPrinter")] - [Cmdlet(VerbsCommon.New, "MgReportMonthlyPrintUsageByPrinter", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter))] - public class NewMgReportMonthlyPrintUsageByPrinterCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterId { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(PrinterId))) - body.PrinterId = PrinterId; - - if (this.IsParameterBound(nameof(PrinterName))) - body.PrinterName = PrinterName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter? result; - try - { - result = client.Reports.MonthlyPrintUsageByPrinter.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageByUser.g.cs deleted file mode 100644 index 4c11419bc56..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageByUser.g.cs +++ /dev/null @@ -1,130 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/reports/monthlyPrintUsageByUser")] - [Cmdlet(VerbsCommon.New, "MgReportMonthlyPrintUsageByUser", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser))] - public class NewMgReportMonthlyPrintUsageByUserCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? UserPrincipalName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(UserPrincipalName))) - body.UserPrincipalName = UserPrincipalName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser? result; - try - { - result = client.Reports.MonthlyPrintUsageByUser.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageSummaryByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageSummaryByPrinter.g.cs deleted file mode 100644 index 4010affc172..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageSummaryByPrinter.g.cs +++ /dev/null @@ -1,136 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/reports/monthlyPrintUsageSummariesByPrinter")] - [Cmdlet(VerbsCommon.New, "MgReportMonthlyPrintUsageSummaryByPrinter", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter))] - public class NewMgReportMonthlyPrintUsageSummaryByPrinterCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterId { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(PrinterId))) - body.PrinterId = PrinterId; - - if (this.IsParameterBound(nameof(PrinterName))) - body.PrinterName = PrinterName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter? result; - try - { - result = client.Reports.MonthlyPrintUsageSummariesByPrinter.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageSummaryByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageSummaryByUser.g.cs deleted file mode 100644 index b7966722b0b..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMonthlyPrintUsageSummaryByUser.g.cs +++ /dev/null @@ -1,130 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/reports/monthlyPrintUsageSummariesByUser")] - [Cmdlet(VerbsCommon.New, "MgReportMonthlyPrintUsageSummaryByUser", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser))] - public class NewMgReportMonthlyPrintUsageSummaryByUserCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? UserPrincipalName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(UserPrincipalName))) - body.UserPrincipalName = UserPrincipalName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser? result; - try - { - result = client.Reports.MonthlyPrintUsageSummariesByUser.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportServicePrincipalSignInActivity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportServicePrincipalSignInActivity.g.cs deleted file mode 100644 index 6180b78d100..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportServicePrincipalSignInActivity.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/reports/servicePrincipalSignInActivities")] - [Cmdlet(VerbsCommon.New, "MgReportServicePrincipalSignInActivity", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.ServicePrincipalSignInActivity))] - public class NewMgReportServicePrincipalSignInActivityCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public string? AppId { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInActivity? ApplicationAuthenticationClientSignInActivity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInActivity? ApplicationAuthenticationResourceSignInActivity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInActivity? DelegatedClientSignInActivity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInActivity? DelegatedResourceSignInActivity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInActivity? LastSignInActivity { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.ServicePrincipalSignInActivity(); - - if (this.IsParameterBound(nameof(AppId))) - body.AppId = AppId; - - if (this.IsParameterBound(nameof(ApplicationAuthenticationClientSignInActivity))) - body.ApplicationAuthenticationClientSignInActivity = ApplicationAuthenticationClientSignInActivity; - - if (this.IsParameterBound(nameof(ApplicationAuthenticationResourceSignInActivity))) - body.ApplicationAuthenticationResourceSignInActivity = ApplicationAuthenticationResourceSignInActivity; - - if (this.IsParameterBound(nameof(DelegatedClientSignInActivity))) - body.DelegatedClientSignInActivity = DelegatedClientSignInActivity; - - if (this.IsParameterBound(nameof(DelegatedResourceSignInActivity))) - body.DelegatedResourceSignInActivity = DelegatedResourceSignInActivity; - - if (this.IsParameterBound(nameof(LastSignInActivity))) - body.LastSignInActivity = LastSignInActivity; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.ServicePrincipalSignInActivity? result; - try - { - result = client.Reports.ServicePrincipalSignInActivities.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportUserCredentialUsageDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportUserCredentialUsageDetail.g.cs deleted file mode 100644 index 8b4aa4473b9..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportUserCredentialUsageDetail.g.cs +++ /dev/null @@ -1,98 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/reports/userCredentialUsageDetails")] - [Cmdlet(VerbsCommon.New, "MgReportUserCredentialUsageDetail", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails))] - public class NewMgReportUserCredentialUsageDetailCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? EventDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? FailureReason { get; set; } - - [Parameter(Mandatory = false)] - public bool? IsSuccess { get; set; } - - [Parameter(Mandatory = false)] - public string? UserDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? UserPrincipalName { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.UsageAuthMethod? AuthMethod { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.FeatureType? Feature { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails(); - - if (this.IsParameterBound(nameof(EventDateTime))) - body.EventDateTime = EventDateTime; - - if (this.IsParameterBound(nameof(FailureReason))) - body.FailureReason = FailureReason; - - if (this.IsParameterBound(nameof(IsSuccess))) - body.IsSuccess = IsSuccess; - - if (this.IsParameterBound(nameof(UserDisplayName))) - body.UserDisplayName = UserDisplayName; - - if (this.IsParameterBound(nameof(UserPrincipalName))) - body.UserPrincipalName = UserPrincipalName; - - if (this.IsParameterBound(nameof(AuthMethod))) - body.AuthMethod = AuthMethod; - - if (this.IsParameterBound(nameof(Feature))) - body.Feature = Feature; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails? result; - try - { - result = client.Reports.UserCredentialUsageDetails.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogCustomSecurityAttributeAudit.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogCustomSecurityAttributeAudit.g.cs deleted file mode 100644 index be2a78a622b..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogCustomSecurityAttributeAudit.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}")] - [Cmdlet(VerbsCommon.Remove, "MgAuditLogCustomSecurityAttributeAudit", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgAuditLogCustomSecurityAttributeAuditCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string CustomSecurityAttributeAuditId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(CustomSecurityAttributeAuditId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.AuditLogs.CustomSecurityAttributeAudits[CustomSecurityAttributeAuditId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, CustomSecurityAttributeAuditId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogDirectoryAudit.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogDirectoryAudit.g.cs deleted file mode 100644 index e59773eaefd..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogDirectoryAudit.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/auditLogs/directoryAudits/{directoryAudit-id}")] - [Cmdlet(VerbsCommon.Remove, "MgAuditLogDirectoryAudit", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgAuditLogDirectoryAuditCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string DirectoryAuditId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(DirectoryAuditId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.AuditLogs.DirectoryAudits[DirectoryAuditId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, DirectoryAuditId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogDirectoryProvisioning.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogDirectoryProvisioning.g.cs deleted file mode 100644 index 4803c569b02..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogDirectoryProvisioning.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}")] - [Cmdlet(VerbsCommon.Remove, "MgAuditLogDirectoryProvisioning", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgAuditLogDirectoryProvisioningCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string ProvisioningObjectSummaryId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(ProvisioningObjectSummaryId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.AuditLogs.DirectoryProvisioning[ProvisioningObjectSummaryId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ProvisioningObjectSummaryId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogProvisioning.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogProvisioning.g.cs deleted file mode 100644 index 24e71b33d99..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogProvisioning.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/auditLogs/provisioning/{provisioningObjectSummary-id}")] - [Cmdlet(VerbsCommon.Remove, "MgAuditLogProvisioning", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgAuditLogProvisioningCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string ProvisioningObjectSummaryId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(ProvisioningObjectSummaryId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.AuditLogs.Provisioning[ProvisioningObjectSummaryId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ProvisioningObjectSummaryId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignIn.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignIn.g.cs deleted file mode 100644 index f29133be260..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignIn.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/auditLogs/signIns/{signIn-id}")] - [Cmdlet(VerbsCommon.Remove, "MgAuditLogSignIn", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgAuditLogSignInCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string SignInId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(SignInId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.AuditLogs.SignIns[SignInId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, SignInId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignUp.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignUp.g.cs deleted file mode 100644 index 2e775ea8ca8..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignUp.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/auditLogs/signUps/{selfServiceSignUp-id}")] - [Cmdlet(VerbsCommon.Remove, "MgAuditLogSignUp", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgAuditLogSignUpCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string SelfServiceSignUpId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(SelfServiceSignUpId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.AuditLogs.SignUps[SelfServiceSignUpId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, SelfServiceSignUpId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgDeviceManagementReportCachedReportConfiguration.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgDeviceManagementReportCachedReportConfiguration.g.cs deleted file mode 100644 index bbb960670eb..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgDeviceManagementReportCachedReportConfiguration.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}")] - [Cmdlet(VerbsCommon.Remove, "MgDeviceManagementReportCachedReportConfiguration", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgDeviceManagementReportCachedReportConfigurationCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string DeviceManagementCachedReportConfigurationId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(DeviceManagementCachedReportConfigurationId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.DeviceManagement.Reports.CachedReportConfigurations[DeviceManagementCachedReportConfigurationId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, DeviceManagementCachedReportConfigurationId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgDeviceManagementReportExportJob.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgDeviceManagementReportExportJob.g.cs deleted file mode 100644 index 651505fb102..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgDeviceManagementReportExportJob.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}")] - [Cmdlet(VerbsCommon.Remove, "MgDeviceManagementReportExportJob", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgDeviceManagementReportExportJobCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string DeviceManagementExportJobId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(DeviceManagementExportJobId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.DeviceManagement.Reports.ExportJobs[DeviceManagementExportJobId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, DeviceManagementExportJobId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAppCredentialSignInActivity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAppCredentialSignInActivity.g.cs deleted file mode 100644 index ad4118f59eb..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAppCredentialSignInActivity.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportAppCredentialSignInActivity", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportAppCredentialSignInActivityCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string AppCredentialSignInActivityId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(AppCredentialSignInActivityId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.AppCredentialSignInActivities[AppCredentialSignInActivityId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, AppCredentialSignInActivityId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportApplicationSignInDetailedSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportApplicationSignInDetailedSummary.g.cs deleted file mode 100644 index 38e72808a6f..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportApplicationSignInDetailedSummary.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportApplicationSignInDetailedSummary", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportApplicationSignInDetailedSummaryCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string ApplicationSignInDetailedSummaryId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(ApplicationSignInDetailedSummaryId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.ApplicationSignInDetailedSummary[ApplicationSignInDetailedSummaryId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ApplicationSignInDetailedSummaryId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethod.g.cs deleted file mode 100644 index a7bd3d424d2..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethod.g.cs +++ /dev/null @@ -1,55 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/authenticationMethods")] - [Cmdlet(VerbsCommon.Remove, "MgReportAuthenticationMethod", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportAuthenticationMethodCommand : GraphClientCmdlet - { - - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.AuthenticationMethods.DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportCredentialUserRegistrationDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportCredentialUserRegistrationDetail.g.cs deleted file mode 100644 index b173839b132..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportCredentialUserRegistrationDetail.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportCredentialUserRegistrationDetail", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportCredentialUserRegistrationDetailCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string CredentialUserRegistrationDetailsId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(CredentialUserRegistrationDetailsId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.CredentialUserRegistrationDetails[CredentialUserRegistrationDetailsId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, CredentialUserRegistrationDetailsId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsage.g.cs deleted file mode 100644 index f4149f2f295..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsage.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/dailyPrintUsage/{printUsage-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportDailyPrintUsage", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportDailyPrintUsageCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.DailyPrintUsage[PrintUsageId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageByPrinter.g.cs deleted file mode 100644 index 474c2986d08..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageByPrinter.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportDailyPrintUsageByPrinter", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportDailyPrintUsageByPrinterCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByPrinterId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByPrinterId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.DailyPrintUsageByPrinter[PrintUsageByPrinterId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByPrinterId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageByUser.g.cs deleted file mode 100644 index 3dd2dd19a3d..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageByUser.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/dailyPrintUsageByUser/{printUsageByUser-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportDailyPrintUsageByUser", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportDailyPrintUsageByUserCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByUserId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByUserId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.DailyPrintUsageByUser[PrintUsageByUserId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByUserId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageSummaryByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageSummaryByPrinter.g.cs deleted file mode 100644 index 7f2d1d8e76d..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageSummaryByPrinter.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportDailyPrintUsageSummaryByPrinter", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportDailyPrintUsageSummaryByPrinterCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByPrinterId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByPrinterId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.DailyPrintUsageSummariesByPrinter[PrintUsageByPrinterId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByPrinterId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageSummaryByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageSummaryByUser.g.cs deleted file mode 100644 index 070cbf808eb..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportDailyPrintUsageSummaryByUser.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/dailyPrintUsageSummariesByUser/{printUsageByUser-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportDailyPrintUsageSummaryByUser", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportDailyPrintUsageSummaryByUserCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByUserId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByUserId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.DailyPrintUsageSummariesByUser[PrintUsageByUserId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByUserId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportHealthMonitoring.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportHealthMonitoring.g.cs deleted file mode 100644 index 69548f6111a..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportHealthMonitoring.g.cs +++ /dev/null @@ -1,55 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/healthMonitoring")] - [Cmdlet(VerbsCommon.Remove, "MgReportHealthMonitoring", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportHealthMonitoringCommand : GraphClientCmdlet - { - - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.HealthMonitoring.DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageByPrinter.g.cs deleted file mode 100644 index 22305b06ab9..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageByPrinter.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportMonthlyPrintUsageByPrinter", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportMonthlyPrintUsageByPrinterCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByPrinterId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByPrinterId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.MonthlyPrintUsageByPrinter[PrintUsageByPrinterId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByPrinterId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageByUser.g.cs deleted file mode 100644 index cebb488be9e..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageByUser.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportMonthlyPrintUsageByUser", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportMonthlyPrintUsageByUserCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByUserId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByUserId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.MonthlyPrintUsageByUser[PrintUsageByUserId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByUserId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageSummaryByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageSummaryByPrinter.g.cs deleted file mode 100644 index 765fbc53717..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageSummaryByPrinter.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportMonthlyPrintUsageSummaryByPrinter", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportMonthlyPrintUsageSummaryByPrinterCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByPrinterId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByPrinterId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.MonthlyPrintUsageSummariesByPrinter[PrintUsageByPrinterId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByPrinterId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageSummaryByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageSummaryByUser.g.cs deleted file mode 100644 index a93282b1759..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMonthlyPrintUsageSummaryByUser.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportMonthlyPrintUsageSummaryByUser", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportMonthlyPrintUsageSummaryByUserCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByUserId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByUserId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.MonthlyPrintUsageSummariesByUser[PrintUsageByUserId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByUserId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartner.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartner.g.cs deleted file mode 100644 index fad9ad986b0..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartner.g.cs +++ /dev/null @@ -1,55 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/partners")] - [Cmdlet(VerbsCommon.Remove, "MgReportPartner", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportPartnerCommand : GraphClientCmdlet - { - - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.Partners.DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportSecurity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportSecurity.g.cs deleted file mode 100644 index 5bbc1cc7bf0..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportSecurity.g.cs +++ /dev/null @@ -1,55 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/security")] - [Cmdlet(VerbsCommon.Remove, "MgReportSecurity", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportSecurityCommand : GraphClientCmdlet - { - - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.Security.DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportServiceActivity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportServiceActivity.g.cs deleted file mode 100644 index 94fc83fa0c8..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportServiceActivity.g.cs +++ /dev/null @@ -1,55 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/serviceActivity")] - [Cmdlet(VerbsCommon.Remove, "MgReportServiceActivity", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportServiceActivityCommand : GraphClientCmdlet - { - - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.ServiceActivity.DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportServicePrincipalSignInActivity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportServicePrincipalSignInActivity.g.cs deleted file mode 100644 index 7072b774788..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportServicePrincipalSignInActivity.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportServicePrincipalSignInActivity", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportServicePrincipalSignInActivityCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string ServicePrincipalSignInActivityId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(ServicePrincipalSignInActivityId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.ServicePrincipalSignInActivities[ServicePrincipalSignInActivityId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ServicePrincipalSignInActivityId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportSla.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportSla.g.cs deleted file mode 100644 index 2475b2e5324..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportSla.g.cs +++ /dev/null @@ -1,55 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/sla")] - [Cmdlet(VerbsCommon.Remove, "MgReportSla", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportSlaCommand : GraphClientCmdlet - { - - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.Sla.DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserCredentialUsageDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserCredentialUsageDetail.g.cs deleted file mode 100644 index 8b3a16e9fe3..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserCredentialUsageDetail.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/userCredentialUsageDetails/{userCredentialUsageDetails-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportUserCredentialUsageDetail", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportUserCredentialUsageDetailCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string UserCredentialUsageDetailsId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(UserCredentialUsageDetailsId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.UserCredentialUsageDetails[UserCredentialUsageDetailsId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, UserCredentialUsageDetailsId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsight.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsight.g.cs deleted file mode 100644 index 0f0d120d384..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsight.g.cs +++ /dev/null @@ -1,55 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/userInsights")] - [Cmdlet(VerbsCommon.Remove, "MgReportUserInsight", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportUserInsightCommand : GraphClientCmdlet - { - - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.UserInsights.DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLog.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLog.g.cs deleted file mode 100644 index e85fa52c49b..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLog.g.cs +++ /dev/null @@ -1,75 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/auditLogs")] - [Cmdlet(VerbsData.Update, "MgAuditLog", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.AuditLogRoot))] - public class UpdateMgAuditLogCommand : GraphClientCmdlet - { - - - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.AuditLogRoot(); - - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.AuditLogRoot? result; - try - { - result = client.AuditLogs.PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.AuditLogs.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogCustomSecurityAttributeAudit.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogCustomSecurityAttributeAudit.g.cs deleted file mode 100644 index 2ddd5c00467..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogCustomSecurityAttributeAudit.g.cs +++ /dev/null @@ -1,144 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}")] - [Cmdlet(VerbsData.Update, "MgAuditLogCustomSecurityAttributeAudit", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.CustomSecurityAttributeAudit))] - public class UpdateMgAuditLogCustomSecurityAttributeAuditCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string CustomSecurityAttributeAuditId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ActivityDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? ActivityDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? Category { get; set; } - - [Parameter(Mandatory = false)] - public string? CorrelationId { get; set; } - - [Parameter(Mandatory = false)] - public string? LoggedByService { get; set; } - - [Parameter(Mandatory = false)] - public string? OperationType { get; set; } - - [Parameter(Mandatory = false)] - public string? ResultReason { get; set; } - - [Parameter(Mandatory = false)] - public string? UserAgent { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.KeyValue[]? AdditionalDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuditActivityInitiator? InitiatedBy { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.OperationResult? Result { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.TargetResource[]? TargetResources { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(CustomSecurityAttributeAuditId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.CustomSecurityAttributeAudit(); - - if (this.IsParameterBound(nameof(ActivityDateTime))) - body.ActivityDateTime = ActivityDateTime; - - if (this.IsParameterBound(nameof(ActivityDisplayName))) - body.ActivityDisplayName = ActivityDisplayName; - - if (this.IsParameterBound(nameof(Category))) - body.Category = Category; - - if (this.IsParameterBound(nameof(CorrelationId))) - body.CorrelationId = CorrelationId; - - if (this.IsParameterBound(nameof(LoggedByService))) - body.LoggedByService = LoggedByService; - - if (this.IsParameterBound(nameof(OperationType))) - body.OperationType = OperationType; - - if (this.IsParameterBound(nameof(ResultReason))) - body.ResultReason = ResultReason; - - if (this.IsParameterBound(nameof(UserAgent))) - body.UserAgent = UserAgent; - - if (this.IsParameterBound(nameof(AdditionalDetails))) - body.AdditionalDetails = AdditionalDetails!.ToList(); - - if (this.IsParameterBound(nameof(InitiatedBy))) - body.InitiatedBy = InitiatedBy; - - if (this.IsParameterBound(nameof(Result))) - body.Result = Result; - - if (this.IsParameterBound(nameof(TargetResources))) - body.TargetResources = TargetResources!.ToList(); - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.CustomSecurityAttributeAudit? result; - try - { - result = client.AuditLogs.CustomSecurityAttributeAudits[CustomSecurityAttributeAuditId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, CustomSecurityAttributeAuditId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.AuditLogs.CustomSecurityAttributeAudits[CustomSecurityAttributeAuditId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, CustomSecurityAttributeAuditId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogDirectoryAudit.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogDirectoryAudit.g.cs deleted file mode 100644 index d3157dd1215..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogDirectoryAudit.g.cs +++ /dev/null @@ -1,150 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/auditLogs/directoryAudits/{directoryAudit-id}")] - [Cmdlet(VerbsData.Update, "MgAuditLogDirectoryAudit", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryAudit))] - public class UpdateMgAuditLogDirectoryAuditCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string DirectoryAuditId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ActivityDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? ActivityDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? Category { get; set; } - - [Parameter(Mandatory = false)] - public string? CorrelationId { get; set; } - - [Parameter(Mandatory = false)] - public string? LoggedByService { get; set; } - - [Parameter(Mandatory = false)] - public string? OperationType { get; set; } - - [Parameter(Mandatory = false)] - public string? ResultReason { get; set; } - - [Parameter(Mandatory = false)] - public string? UserAgent { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.KeyValue[]? AdditionalDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuditActivityInitiator? InitiatedBy { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuditActivityPerformer? PerformedBy { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.OperationResult? Result { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.TargetResource[]? TargetResources { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(DirectoryAuditId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryAudit(); - - if (this.IsParameterBound(nameof(ActivityDateTime))) - body.ActivityDateTime = ActivityDateTime; - - if (this.IsParameterBound(nameof(ActivityDisplayName))) - body.ActivityDisplayName = ActivityDisplayName; - - if (this.IsParameterBound(nameof(Category))) - body.Category = Category; - - if (this.IsParameterBound(nameof(CorrelationId))) - body.CorrelationId = CorrelationId; - - if (this.IsParameterBound(nameof(LoggedByService))) - body.LoggedByService = LoggedByService; - - if (this.IsParameterBound(nameof(OperationType))) - body.OperationType = OperationType; - - if (this.IsParameterBound(nameof(ResultReason))) - body.ResultReason = ResultReason; - - if (this.IsParameterBound(nameof(UserAgent))) - body.UserAgent = UserAgent; - - if (this.IsParameterBound(nameof(AdditionalDetails))) - body.AdditionalDetails = AdditionalDetails!.ToList(); - - if (this.IsParameterBound(nameof(InitiatedBy))) - body.InitiatedBy = InitiatedBy; - - if (this.IsParameterBound(nameof(PerformedBy))) - body.PerformedBy = PerformedBy; - - if (this.IsParameterBound(nameof(Result))) - body.Result = Result; - - if (this.IsParameterBound(nameof(TargetResources))) - body.TargetResources = TargetResources!.ToList(); - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryAudit? result; - try - { - result = client.AuditLogs.DirectoryAudits[DirectoryAuditId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, DirectoryAuditId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.AuditLogs.DirectoryAudits[DirectoryAuditId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, DirectoryAuditId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogDirectoryProvisioning.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogDirectoryProvisioning.g.cs deleted file mode 100644 index 76499f8aa86..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogDirectoryProvisioning.g.cs +++ /dev/null @@ -1,180 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}")] - [Cmdlet(VerbsData.Update, "MgAuditLogDirectoryProvisioning", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary))] - public class UpdateMgAuditLogDirectoryProvisioningCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string ProvisioningObjectSummaryId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public string? Action { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ActivityDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? ChangeId { get; set; } - - [Parameter(Mandatory = false)] - public string? CycleId { get; set; } - - [Parameter(Mandatory = false)] - public int? DurationInMilliseconds { get; set; } - - [Parameter(Mandatory = false)] - public string? JobId { get; set; } - - [Parameter(Mandatory = false)] - public string? TenantId { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.Initiator? InitiatedBy { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ModifiedProperty[]? ModifiedProperties { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningAction? ProvisioningAction { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningStatusInfo? ProvisioningStatusInfo { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningStep[]? ProvisioningSteps { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningServicePrincipal? ServicePrincipal { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisionedIdentity? SourceIdentity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningSystem? SourceSystem { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.StatusBase? StatusInfo { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisionedIdentity? TargetIdentity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningSystem? TargetSystem { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(ProvisioningObjectSummaryId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary(); - - if (this.IsParameterBound(nameof(Action))) - body.Action = Action; - - if (this.IsParameterBound(nameof(ActivityDateTime))) - body.ActivityDateTime = ActivityDateTime; - - if (this.IsParameterBound(nameof(ChangeId))) - body.ChangeId = ChangeId; - - if (this.IsParameterBound(nameof(CycleId))) - body.CycleId = CycleId; - - if (this.IsParameterBound(nameof(DurationInMilliseconds))) - body.DurationInMilliseconds = DurationInMilliseconds; - - if (this.IsParameterBound(nameof(JobId))) - body.JobId = JobId; - - if (this.IsParameterBound(nameof(TenantId))) - body.TenantId = TenantId; - - if (this.IsParameterBound(nameof(InitiatedBy))) - body.InitiatedBy = InitiatedBy; - - if (this.IsParameterBound(nameof(ModifiedProperties))) - body.ModifiedProperties = ModifiedProperties!.ToList(); - - if (this.IsParameterBound(nameof(ProvisioningAction))) - body.ProvisioningAction = ProvisioningAction; - - if (this.IsParameterBound(nameof(ProvisioningStatusInfo))) - body.ProvisioningStatusInfo = ProvisioningStatusInfo; - - if (this.IsParameterBound(nameof(ProvisioningSteps))) - body.ProvisioningSteps = ProvisioningSteps!.ToList(); - - if (this.IsParameterBound(nameof(ServicePrincipal))) - body.ServicePrincipal = ServicePrincipal; - - if (this.IsParameterBound(nameof(SourceIdentity))) - body.SourceIdentity = SourceIdentity; - - if (this.IsParameterBound(nameof(SourceSystem))) - body.SourceSystem = SourceSystem; - - if (this.IsParameterBound(nameof(StatusInfo))) - body.StatusInfo = StatusInfo; - - if (this.IsParameterBound(nameof(TargetIdentity))) - body.TargetIdentity = TargetIdentity; - - if (this.IsParameterBound(nameof(TargetSystem))) - body.TargetSystem = TargetSystem; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary? result; - try - { - result = client.AuditLogs.DirectoryProvisioning[ProvisioningObjectSummaryId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ProvisioningObjectSummaryId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.AuditLogs.DirectoryProvisioning[ProvisioningObjectSummaryId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ProvisioningObjectSummaryId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogProvisioning.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogProvisioning.g.cs deleted file mode 100644 index 3e4997b07a5..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogProvisioning.g.cs +++ /dev/null @@ -1,180 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/auditLogs/provisioning/{provisioningObjectSummary-id}")] - [Cmdlet(VerbsData.Update, "MgAuditLogProvisioning", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary))] - public class UpdateMgAuditLogProvisioningCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string ProvisioningObjectSummaryId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public string? Action { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ActivityDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? ChangeId { get; set; } - - [Parameter(Mandatory = false)] - public string? CycleId { get; set; } - - [Parameter(Mandatory = false)] - public int? DurationInMilliseconds { get; set; } - - [Parameter(Mandatory = false)] - public string? JobId { get; set; } - - [Parameter(Mandatory = false)] - public string? TenantId { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.Initiator? InitiatedBy { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ModifiedProperty[]? ModifiedProperties { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningAction? ProvisioningAction { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningStatusInfo? ProvisioningStatusInfo { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningStep[]? ProvisioningSteps { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningServicePrincipal? ServicePrincipal { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisionedIdentity? SourceIdentity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningSystem? SourceSystem { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.StatusBase? StatusInfo { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisionedIdentity? TargetIdentity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningSystem? TargetSystem { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(ProvisioningObjectSummaryId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary(); - - if (this.IsParameterBound(nameof(Action))) - body.Action = Action; - - if (this.IsParameterBound(nameof(ActivityDateTime))) - body.ActivityDateTime = ActivityDateTime; - - if (this.IsParameterBound(nameof(ChangeId))) - body.ChangeId = ChangeId; - - if (this.IsParameterBound(nameof(CycleId))) - body.CycleId = CycleId; - - if (this.IsParameterBound(nameof(DurationInMilliseconds))) - body.DurationInMilliseconds = DurationInMilliseconds; - - if (this.IsParameterBound(nameof(JobId))) - body.JobId = JobId; - - if (this.IsParameterBound(nameof(TenantId))) - body.TenantId = TenantId; - - if (this.IsParameterBound(nameof(InitiatedBy))) - body.InitiatedBy = InitiatedBy; - - if (this.IsParameterBound(nameof(ModifiedProperties))) - body.ModifiedProperties = ModifiedProperties!.ToList(); - - if (this.IsParameterBound(nameof(ProvisioningAction))) - body.ProvisioningAction = ProvisioningAction; - - if (this.IsParameterBound(nameof(ProvisioningStatusInfo))) - body.ProvisioningStatusInfo = ProvisioningStatusInfo; - - if (this.IsParameterBound(nameof(ProvisioningSteps))) - body.ProvisioningSteps = ProvisioningSteps!.ToList(); - - if (this.IsParameterBound(nameof(ServicePrincipal))) - body.ServicePrincipal = ServicePrincipal; - - if (this.IsParameterBound(nameof(SourceIdentity))) - body.SourceIdentity = SourceIdentity; - - if (this.IsParameterBound(nameof(SourceSystem))) - body.SourceSystem = SourceSystem; - - if (this.IsParameterBound(nameof(StatusInfo))) - body.StatusInfo = StatusInfo; - - if (this.IsParameterBound(nameof(TargetIdentity))) - body.TargetIdentity = TargetIdentity; - - if (this.IsParameterBound(nameof(TargetSystem))) - body.TargetSystem = TargetSystem; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary? result; - try - { - result = client.AuditLogs.Provisioning[ProvisioningObjectSummaryId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ProvisioningObjectSummaryId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.AuditLogs.Provisioning[ProvisioningObjectSummaryId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ProvisioningObjectSummaryId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignIn.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignIn.g.cs deleted file mode 100644 index d84570a33d0..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignIn.g.cs +++ /dev/null @@ -1,534 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/auditLogs/signIns/{signIn-id}")] - [Cmdlet(VerbsData.Update, "MgAuditLogSignIn", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.SignIn))] - public class UpdateMgAuditLogSignInCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string SignInId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public string? AppDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? AppId { get; set; } - - [Parameter(Mandatory = false)] - public string? AppOwnerTenantId { get; set; } - - [Parameter(Mandatory = false)] - public string[]? AuthenticationMethodsUsed { get; set; } - - [Parameter(Mandatory = false)] - public string? AuthenticationRequirement { get; set; } - - [Parameter(Mandatory = false)] - public int? AutonomousSystemNumber { get; set; } - - [Parameter(Mandatory = false)] - public string? AzureResourceId { get; set; } - - [Parameter(Mandatory = false)] - public string? ClientAppUsed { get; set; } - - [Parameter(Mandatory = false)] - public string? ClientSessionId { get; set; } - - [Parameter(Mandatory = false)] - public string[]? ConditionalAccessAudiences { get; set; } - - [Parameter(Mandatory = false)] - public string? CorrelationId { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? CreatedDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? FederatedCredentialId { get; set; } - - [Parameter(Mandatory = false)] - public bool? FlaggedForReview { get; set; } - - [Parameter(Mandatory = false)] - public string? GlobalSecureAccessIpAddress { get; set; } - - [Parameter(Mandatory = false)] - public string? HomeTenantId { get; set; } - - [Parameter(Mandatory = false)] - public string? HomeTenantName { get; set; } - - [Parameter(Mandatory = false)] - public string? IpAddress { get; set; } - - [Parameter(Mandatory = false)] - public string? IpAddressFromResourceProvider { get; set; } - - [Parameter(Mandatory = false)] - public bool? IsInteractive { get; set; } - - [Parameter(Mandatory = false)] - public bool? IsTenantRestricted { get; set; } - - [Parameter(Mandatory = false)] - public bool? IsThroughGlobalSecureAccess { get; set; } - - [Parameter(Mandatory = false)] - public string? OriginalRequestId { get; set; } - - [Parameter(Mandatory = false)] - public int? ProcessingTimeInMilliseconds { get; set; } - - [Parameter(Mandatory = false)] - public string? ResourceDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? ResourceId { get; set; } - - [Parameter(Mandatory = false)] - public string? ResourceOwnerTenantId { get; set; } - - [Parameter(Mandatory = false)] - public string? ResourceServicePrincipalId { get; set; } - - [Parameter(Mandatory = false)] - public string? ResourceTenantId { get; set; } - - [Parameter(Mandatory = false)] - public string[]? RiskEventTypesV2 { get; set; } - - [Parameter(Mandatory = false)] - public string? RootActorId { get; set; } - - [Parameter(Mandatory = false)] - public string? ServicePrincipalCredentialKeyId { get; set; } - - [Parameter(Mandatory = false)] - public string? ServicePrincipalCredentialThumbprint { get; set; } - - [Parameter(Mandatory = false)] - public string? ServicePrincipalId { get; set; } - - [Parameter(Mandatory = false)] - public string? ServicePrincipalName { get; set; } - - [Parameter(Mandatory = false)] - public string? SessionId { get; set; } - - [Parameter(Mandatory = false)] - public string[]? SignInEventTypes { get; set; } - - [Parameter(Mandatory = false)] - public string? SignInIdentifier { get; set; } - - [Parameter(Mandatory = false)] - public string? TokenIssuerName { get; set; } - - [Parameter(Mandatory = false)] - public string? UniqueTokenIdentifier { get; set; } - - [Parameter(Mandatory = false)] - public string? UserAgent { get; set; } - - [Parameter(Mandatory = false)] - public string? UserDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? UserId { get; set; } - - [Parameter(Mandatory = false)] - public string? UserPrincipalName { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.Agentic.AgentSignIn? Agent { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AppliedConditionalAccessPolicy[]? AppliedConditionalAccessPolicies { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AppliedAuthenticationEventListener[]? AppliedEventListeners { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.TokenProtectionStatus? AppTokenProtectionStatus { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationAppDeviceDetails? AuthenticationAppDeviceDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationAppPolicyDetails[]? AuthenticationAppPolicyEvaluationDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationContext[]? AuthenticationContextClassReferences { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationDetail[]? AuthenticationDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.KeyValue[]? AuthenticationProcessingDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ProtocolType? AuthenticationProtocol { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationRequirementPolicy[]? AuthenticationRequirementPolicies { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ClientCredentialType? ClientCredentialType { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ConditionalAccessStatus? ConditionalAccessStatus { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInAccessType? CrossTenantAccessType { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceDetail? DeviceDetail { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.IncomingTokenType? IncomingTokenType { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInLocation? Location { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ManagedIdentity? ManagedServiceIdentity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.MfaDetail? MfaDetail { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.NetworkLocationDetail[]? NetworkLocationDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.OriginalTransferMethods? OriginalTransferMethod { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.PrivateLinkDetails? PrivateLinkDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.RiskDetail? RiskDetail { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.RiskLevel? RiskLevelAggregated { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.RiskLevel? RiskLevelDuringSignIn { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.RiskState? RiskState { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SessionLifetimePolicy[]? SessionLifetimePolicies { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInIdentifierType? SignInIdentifierType { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.TokenProtectionStatus? SignInTokenProtectionStatus { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInStatus? Status { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.TokenIssuerType? TokenIssuerType { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.TokenProtectionStatusDetails? TokenProtectionStatusDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInUserType? UserType { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(SignInId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.SignIn(); - - if (this.IsParameterBound(nameof(AppDisplayName))) - body.AppDisplayName = AppDisplayName; - - if (this.IsParameterBound(nameof(AppId))) - body.AppId = AppId; - - if (this.IsParameterBound(nameof(AppOwnerTenantId))) - body.AppOwnerTenantId = AppOwnerTenantId; - - if (this.IsParameterBound(nameof(AuthenticationMethodsUsed))) - body.AuthenticationMethodsUsed = AuthenticationMethodsUsed!.ToList(); - - if (this.IsParameterBound(nameof(AuthenticationRequirement))) - body.AuthenticationRequirement = AuthenticationRequirement; - - if (this.IsParameterBound(nameof(AutonomousSystemNumber))) - body.AutonomousSystemNumber = AutonomousSystemNumber; - - if (this.IsParameterBound(nameof(AzureResourceId))) - body.AzureResourceId = AzureResourceId; - - if (this.IsParameterBound(nameof(ClientAppUsed))) - body.ClientAppUsed = ClientAppUsed; - - if (this.IsParameterBound(nameof(ClientSessionId))) - body.ClientSessionId = ClientSessionId; - - if (this.IsParameterBound(nameof(ConditionalAccessAudiences))) - body.ConditionalAccessAudiences = ConditionalAccessAudiences!.ToList(); - - if (this.IsParameterBound(nameof(CorrelationId))) - body.CorrelationId = CorrelationId; - - if (this.IsParameterBound(nameof(CreatedDateTime))) - body.CreatedDateTime = CreatedDateTime; - - if (this.IsParameterBound(nameof(FederatedCredentialId))) - body.FederatedCredentialId = FederatedCredentialId; - - if (this.IsParameterBound(nameof(FlaggedForReview))) - body.FlaggedForReview = FlaggedForReview; - - if (this.IsParameterBound(nameof(GlobalSecureAccessIpAddress))) - body.GlobalSecureAccessIpAddress = GlobalSecureAccessIpAddress; - - if (this.IsParameterBound(nameof(HomeTenantId))) - body.HomeTenantId = HomeTenantId; - - if (this.IsParameterBound(nameof(HomeTenantName))) - body.HomeTenantName = HomeTenantName; - - if (this.IsParameterBound(nameof(IpAddress))) - body.IpAddress = IpAddress; - - if (this.IsParameterBound(nameof(IpAddressFromResourceProvider))) - body.IpAddressFromResourceProvider = IpAddressFromResourceProvider; - - if (this.IsParameterBound(nameof(IsInteractive))) - body.IsInteractive = IsInteractive; - - if (this.IsParameterBound(nameof(IsTenantRestricted))) - body.IsTenantRestricted = IsTenantRestricted; - - if (this.IsParameterBound(nameof(IsThroughGlobalSecureAccess))) - body.IsThroughGlobalSecureAccess = IsThroughGlobalSecureAccess; - - if (this.IsParameterBound(nameof(OriginalRequestId))) - body.OriginalRequestId = OriginalRequestId; - - if (this.IsParameterBound(nameof(ProcessingTimeInMilliseconds))) - body.ProcessingTimeInMilliseconds = ProcessingTimeInMilliseconds; - - if (this.IsParameterBound(nameof(ResourceDisplayName))) - body.ResourceDisplayName = ResourceDisplayName; - - if (this.IsParameterBound(nameof(ResourceId))) - body.ResourceId = ResourceId; - - if (this.IsParameterBound(nameof(ResourceOwnerTenantId))) - body.ResourceOwnerTenantId = ResourceOwnerTenantId; - - if (this.IsParameterBound(nameof(ResourceServicePrincipalId))) - body.ResourceServicePrincipalId = ResourceServicePrincipalId; - - if (this.IsParameterBound(nameof(ResourceTenantId))) - body.ResourceTenantId = ResourceTenantId; - - if (this.IsParameterBound(nameof(RiskEventTypesV2))) - body.RiskEventTypesV2 = RiskEventTypesV2!.ToList(); - - if (this.IsParameterBound(nameof(RootActorId))) - body.RootActorId = RootActorId; - - if (this.IsParameterBound(nameof(ServicePrincipalCredentialKeyId))) - body.ServicePrincipalCredentialKeyId = ServicePrincipalCredentialKeyId; - - if (this.IsParameterBound(nameof(ServicePrincipalCredentialThumbprint))) - body.ServicePrincipalCredentialThumbprint = ServicePrincipalCredentialThumbprint; - - if (this.IsParameterBound(nameof(ServicePrincipalId))) - body.ServicePrincipalId = ServicePrincipalId; - - if (this.IsParameterBound(nameof(ServicePrincipalName))) - body.ServicePrincipalName = ServicePrincipalName; - - if (this.IsParameterBound(nameof(SessionId))) - body.SessionId = SessionId; - - if (this.IsParameterBound(nameof(SignInEventTypes))) - body.SignInEventTypes = SignInEventTypes!.ToList(); - - if (this.IsParameterBound(nameof(SignInIdentifier))) - body.SignInIdentifier = SignInIdentifier; - - if (this.IsParameterBound(nameof(TokenIssuerName))) - body.TokenIssuerName = TokenIssuerName; - - if (this.IsParameterBound(nameof(UniqueTokenIdentifier))) - body.UniqueTokenIdentifier = UniqueTokenIdentifier; - - if (this.IsParameterBound(nameof(UserAgent))) - body.UserAgent = UserAgent; - - if (this.IsParameterBound(nameof(UserDisplayName))) - body.UserDisplayName = UserDisplayName; - - if (this.IsParameterBound(nameof(UserId))) - body.UserId = UserId; - - if (this.IsParameterBound(nameof(UserPrincipalName))) - body.UserPrincipalName = UserPrincipalName; - - if (this.IsParameterBound(nameof(Agent))) - body.Agent = Agent; - - if (this.IsParameterBound(nameof(AppliedConditionalAccessPolicies))) - body.AppliedConditionalAccessPolicies = AppliedConditionalAccessPolicies!.ToList(); - - if (this.IsParameterBound(nameof(AppliedEventListeners))) - body.AppliedEventListeners = AppliedEventListeners!.ToList(); - - if (this.IsParameterBound(nameof(AppTokenProtectionStatus))) - body.AppTokenProtectionStatus = AppTokenProtectionStatus; - - if (this.IsParameterBound(nameof(AuthenticationAppDeviceDetails))) - body.AuthenticationAppDeviceDetails = AuthenticationAppDeviceDetails; - - if (this.IsParameterBound(nameof(AuthenticationAppPolicyEvaluationDetails))) - body.AuthenticationAppPolicyEvaluationDetails = AuthenticationAppPolicyEvaluationDetails!.ToList(); - - if (this.IsParameterBound(nameof(AuthenticationContextClassReferences))) - body.AuthenticationContextClassReferences = AuthenticationContextClassReferences!.ToList(); - - if (this.IsParameterBound(nameof(AuthenticationDetails))) - body.AuthenticationDetails = AuthenticationDetails!.ToList(); - - if (this.IsParameterBound(nameof(AuthenticationProcessingDetails))) - body.AuthenticationProcessingDetails = AuthenticationProcessingDetails!.ToList(); - - if (this.IsParameterBound(nameof(AuthenticationProtocol))) - body.AuthenticationProtocol = AuthenticationProtocol; - - if (this.IsParameterBound(nameof(AuthenticationRequirementPolicies))) - body.AuthenticationRequirementPolicies = AuthenticationRequirementPolicies!.ToList(); - - if (this.IsParameterBound(nameof(ClientCredentialType))) - body.ClientCredentialType = ClientCredentialType; - - if (this.IsParameterBound(nameof(ConditionalAccessStatus))) - body.ConditionalAccessStatus = ConditionalAccessStatus; - - if (this.IsParameterBound(nameof(CrossTenantAccessType))) - body.CrossTenantAccessType = CrossTenantAccessType; - - if (this.IsParameterBound(nameof(DeviceDetail))) - body.DeviceDetail = DeviceDetail; - - if (this.IsParameterBound(nameof(IncomingTokenType))) - body.IncomingTokenType = IncomingTokenType; - - if (this.IsParameterBound(nameof(Location))) - body.Location = Location; - - if (this.IsParameterBound(nameof(ManagedServiceIdentity))) - body.ManagedServiceIdentity = ManagedServiceIdentity; - - if (this.IsParameterBound(nameof(MfaDetail))) - body.MfaDetail = MfaDetail; - - if (this.IsParameterBound(nameof(NetworkLocationDetails))) - body.NetworkLocationDetails = NetworkLocationDetails!.ToList(); - - if (this.IsParameterBound(nameof(OriginalTransferMethod))) - body.OriginalTransferMethod = OriginalTransferMethod; - - if (this.IsParameterBound(nameof(PrivateLinkDetails))) - body.PrivateLinkDetails = PrivateLinkDetails; - - if (this.IsParameterBound(nameof(RiskDetail))) - body.RiskDetail = RiskDetail; - - if (this.IsParameterBound(nameof(RiskLevelAggregated))) - body.RiskLevelAggregated = RiskLevelAggregated; - - if (this.IsParameterBound(nameof(RiskLevelDuringSignIn))) - body.RiskLevelDuringSignIn = RiskLevelDuringSignIn; - - if (this.IsParameterBound(nameof(RiskState))) - body.RiskState = RiskState; - - if (this.IsParameterBound(nameof(SessionLifetimePolicies))) - body.SessionLifetimePolicies = SessionLifetimePolicies!.ToList(); - - if (this.IsParameterBound(nameof(SignInIdentifierType))) - body.SignInIdentifierType = SignInIdentifierType; - - if (this.IsParameterBound(nameof(SignInTokenProtectionStatus))) - body.SignInTokenProtectionStatus = SignInTokenProtectionStatus; - - if (this.IsParameterBound(nameof(Status))) - body.Status = Status; - - if (this.IsParameterBound(nameof(TokenIssuerType))) - body.TokenIssuerType = TokenIssuerType; - - if (this.IsParameterBound(nameof(TokenProtectionStatusDetails))) - body.TokenProtectionStatusDetails = TokenProtectionStatusDetails; - - if (this.IsParameterBound(nameof(UserType))) - body.UserType = UserType; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.SignIn? result; - try - { - result = client.AuditLogs.SignIns[SignInId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, SignInId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.AuditLogs.SignIns[SignInId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, SignInId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignUp.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignUp.g.cs deleted file mode 100644 index 2335c7573c3..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignUp.g.cs +++ /dev/null @@ -1,138 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/auditLogs/signUps/{selfServiceSignUp-id}")] - [Cmdlet(VerbsData.Update, "MgAuditLogSignUp", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.SelfServiceSignUp))] - public class UpdateMgAuditLogSignUpCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string SelfServiceSignUpId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public string? AppDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? AppId { get; set; } - - [Parameter(Mandatory = false)] - public string? CorrelationId { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? CreatedDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? SignUpIdentityProvider { get; set; } - - [Parameter(Mandatory = false)] - public string? UserId { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AppliedAuthenticationEventListener[]? AppliedEventListeners { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.FraudProtectionDetails? FraudProtectionDetails { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignUpIdentity? SignUpIdentity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignUpStage? SignUpStage { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignUpStatus? Status { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(SelfServiceSignUpId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.SelfServiceSignUp(); - - if (this.IsParameterBound(nameof(AppDisplayName))) - body.AppDisplayName = AppDisplayName; - - if (this.IsParameterBound(nameof(AppId))) - body.AppId = AppId; - - if (this.IsParameterBound(nameof(CorrelationId))) - body.CorrelationId = CorrelationId; - - if (this.IsParameterBound(nameof(CreatedDateTime))) - body.CreatedDateTime = CreatedDateTime; - - if (this.IsParameterBound(nameof(SignUpIdentityProvider))) - body.SignUpIdentityProvider = SignUpIdentityProvider; - - if (this.IsParameterBound(nameof(UserId))) - body.UserId = UserId; - - if (this.IsParameterBound(nameof(AppliedEventListeners))) - body.AppliedEventListeners = AppliedEventListeners!.ToList(); - - if (this.IsParameterBound(nameof(FraudProtectionDetails))) - body.FraudProtectionDetails = FraudProtectionDetails; - - if (this.IsParameterBound(nameof(SignUpIdentity))) - body.SignUpIdentity = SignUpIdentity; - - if (this.IsParameterBound(nameof(SignUpStage))) - body.SignUpStage = SignUpStage; - - if (this.IsParameterBound(nameof(Status))) - body.Status = Status; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.SelfServiceSignUp? result; - try - { - result = client.AuditLogs.SignUps[SelfServiceSignUpId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, SelfServiceSignUpId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.AuditLogs.SignUps[SelfServiceSignUpId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, SelfServiceSignUpId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReportCachedReportConfiguration.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReportCachedReportConfiguration.g.cs deleted file mode 100644 index f416a5a0d90..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReportCachedReportConfiguration.g.cs +++ /dev/null @@ -1,120 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}")] - [Cmdlet(VerbsData.Update, "MgDeviceManagementReportCachedReportConfiguration", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementCachedReportConfiguration))] - public class UpdateMgDeviceManagementReportCachedReportConfigurationCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string DeviceManagementCachedReportConfigurationId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ExpirationDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? LastRefreshDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? Metadata { get; set; } - - [Parameter(Mandatory = false)] - public string[]? OrderBy { get; set; } - - [Parameter(Mandatory = false)] - public string? ReportName { get; set; } - - [Parameter(Mandatory = false)] - public string[]? Select { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementReportStatus? Status { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(DeviceManagementCachedReportConfigurationId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementCachedReportConfiguration(); - - if (this.IsParameterBound(nameof(ExpirationDateTime))) - body.ExpirationDateTime = ExpirationDateTime; - - if (this.IsParameterBound(nameof(Filter))) - body.Filter = Filter; - - if (this.IsParameterBound(nameof(LastRefreshDateTime))) - body.LastRefreshDateTime = LastRefreshDateTime; - - if (this.IsParameterBound(nameof(Metadata))) - body.Metadata = Metadata; - - if (this.IsParameterBound(nameof(OrderBy))) - body.OrderBy = OrderBy!.ToList(); - - if (this.IsParameterBound(nameof(ReportName))) - body.ReportName = ReportName; - - if (this.IsParameterBound(nameof(Select))) - body.Select = Select!.ToList(); - - if (this.IsParameterBound(nameof(Status))) - body.Status = Status; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementCachedReportConfiguration? result; - try - { - result = client.DeviceManagement.Reports.CachedReportConfigurations[DeviceManagementCachedReportConfigurationId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, DeviceManagementCachedReportConfigurationId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.DeviceManagement.Reports.CachedReportConfigurations[DeviceManagementCachedReportConfigurationId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, DeviceManagementCachedReportConfigurationId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReportExportJob.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReportExportJob.g.cs deleted file mode 100644 index 7f7957626c3..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReportExportJob.g.cs +++ /dev/null @@ -1,138 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}")] - [Cmdlet(VerbsData.Update, "MgDeviceManagementReportExportJob", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementExportJob))] - public class UpdateMgDeviceManagementReportExportJobCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string DeviceManagementExportJobId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ExpirationDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? Filter { get; set; } - - [Parameter(Mandatory = false)] - public string? ReportName { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? RequestDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? Search { get; set; } - - [Parameter(Mandatory = false)] - public string[]? Select { get; set; } - - [Parameter(Mandatory = false)] - public string? SnapshotId { get; set; } - - [Parameter(Mandatory = false)] - public string? Url { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementReportFileFormat? Format { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementExportJobLocalizationType? LocalizationType { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementReportStatus? Status { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(DeviceManagementExportJobId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementExportJob(); - - if (this.IsParameterBound(nameof(ExpirationDateTime))) - body.ExpirationDateTime = ExpirationDateTime; - - if (this.IsParameterBound(nameof(Filter))) - body.Filter = Filter; - - if (this.IsParameterBound(nameof(ReportName))) - body.ReportName = ReportName; - - if (this.IsParameterBound(nameof(RequestDateTime))) - body.RequestDateTime = RequestDateTime; - - if (this.IsParameterBound(nameof(Search))) - body.Search = Search; - - if (this.IsParameterBound(nameof(Select))) - body.Select = Select!.ToList(); - - if (this.IsParameterBound(nameof(SnapshotId))) - body.SnapshotId = SnapshotId; - - if (this.IsParameterBound(nameof(Url))) - body.Url = Url; - - if (this.IsParameterBound(nameof(Format))) - body.Format = Format; - - if (this.IsParameterBound(nameof(LocalizationType))) - body.LocalizationType = LocalizationType; - - if (this.IsParameterBound(nameof(Status))) - body.Status = Status; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementExportJob? result; - try - { - result = client.DeviceManagement.Reports.ExportJobs[DeviceManagementExportJobId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, DeviceManagementExportJobId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.DeviceManagement.Reports.ExportJobs[DeviceManagementExportJobId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, DeviceManagementExportJobId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReport.g.cs deleted file mode 100644 index 9b945fb17fd..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReport.g.cs +++ /dev/null @@ -1,75 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports")] - [Cmdlet(VerbsData.Update, "MgReport", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.ReportRoot))] - public class UpdateMgReportCommand : GraphClientCmdlet - { - - - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.ReportRoot(); - - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.ReportRoot? result; - try - { - result = client.Reports.PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAppCredentialSignInActivity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAppCredentialSignInActivity.g.cs deleted file mode 100644 index 1744d3f4793..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAppCredentialSignInActivity.g.cs +++ /dev/null @@ -1,138 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}")] - [Cmdlet(VerbsData.Update, "MgReportAppCredentialSignInActivity", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.AppCredentialSignInActivity))] - public class UpdateMgReportAppCredentialSignInActivityCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string AppCredentialSignInActivityId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public string? AppId { get; set; } - - [Parameter(Mandatory = false)] - public string? AppObjectId { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? CreatedDateTime { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ExpirationDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? KeyId { get; set; } - - [Parameter(Mandatory = false)] - public string? ResourceId { get; set; } - - [Parameter(Mandatory = false)] - public string? ServicePrincipalObjectId { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ApplicationKeyOrigin? CredentialOrigin { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ApplicationKeyType? KeyType { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ApplicationKeyUsage? KeyUsage { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInActivity? SignInActivity { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(AppCredentialSignInActivityId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.AppCredentialSignInActivity(); - - if (this.IsParameterBound(nameof(AppId))) - body.AppId = AppId; - - if (this.IsParameterBound(nameof(AppObjectId))) - body.AppObjectId = AppObjectId; - - if (this.IsParameterBound(nameof(CreatedDateTime))) - body.CreatedDateTime = CreatedDateTime; - - if (this.IsParameterBound(nameof(ExpirationDateTime))) - body.ExpirationDateTime = ExpirationDateTime; - - if (this.IsParameterBound(nameof(KeyId))) - body.KeyId = KeyId; - - if (this.IsParameterBound(nameof(ResourceId))) - body.ResourceId = ResourceId; - - if (this.IsParameterBound(nameof(ServicePrincipalObjectId))) - body.ServicePrincipalObjectId = ServicePrincipalObjectId; - - if (this.IsParameterBound(nameof(CredentialOrigin))) - body.CredentialOrigin = CredentialOrigin; - - if (this.IsParameterBound(nameof(KeyType))) - body.KeyType = KeyType; - - if (this.IsParameterBound(nameof(KeyUsage))) - body.KeyUsage = KeyUsage; - - if (this.IsParameterBound(nameof(SignInActivity))) - body.SignInActivity = SignInActivity; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.AppCredentialSignInActivity? result; - try - { - result = client.Reports.AppCredentialSignInActivities[AppCredentialSignInActivityId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, AppCredentialSignInActivityId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.AppCredentialSignInActivities[AppCredentialSignInActivityId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, AppCredentialSignInActivityId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportApplicationSignInDetailedSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportApplicationSignInDetailedSummary.g.cs deleted file mode 100644 index 7a968f61312..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportApplicationSignInDetailedSummary.g.cs +++ /dev/null @@ -1,102 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}")] - [Cmdlet(VerbsData.Update, "MgReportApplicationSignInDetailedSummary", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.ApplicationSignInDetailedSummary))] - public class UpdateMgReportApplicationSignInDetailedSummaryCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string ApplicationSignInDetailedSummaryId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? AggregatedEventDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? AppDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? AppId { get; set; } - - [Parameter(Mandatory = false)] - public long? SignInCount { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInStatus? Status { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(ApplicationSignInDetailedSummaryId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.ApplicationSignInDetailedSummary(); - - if (this.IsParameterBound(nameof(AggregatedEventDateTime))) - body.AggregatedEventDateTime = AggregatedEventDateTime; - - if (this.IsParameterBound(nameof(AppDisplayName))) - body.AppDisplayName = AppDisplayName; - - if (this.IsParameterBound(nameof(AppId))) - body.AppId = AppId; - - if (this.IsParameterBound(nameof(SignInCount))) - body.SignInCount = SignInCount; - - if (this.IsParameterBound(nameof(Status))) - body.Status = Status; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.ApplicationSignInDetailedSummary? result; - try - { - result = client.Reports.ApplicationSignInDetailedSummary[ApplicationSignInDetailedSummaryId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ApplicationSignInDetailedSummaryId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.ApplicationSignInDetailedSummary[ApplicationSignInDetailedSummaryId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ApplicationSignInDetailedSummaryId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethod.g.cs deleted file mode 100644 index bfe328fc7fa..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethod.g.cs +++ /dev/null @@ -1,75 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/authenticationMethods")] - [Cmdlet(VerbsData.Update, "MgReportAuthenticationMethod", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationMethodsRoot))] - public class UpdateMgReportAuthenticationMethodCommand : GraphClientCmdlet - { - - - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationMethodsRoot(); - - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationMethodsRoot? result; - try - { - result = client.Reports.AuthenticationMethods.PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.AuthenticationMethods.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCredentialUserRegistrationDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCredentialUserRegistrationDetail.g.cs deleted file mode 100644 index 0e7b54c4c80..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCredentialUserRegistrationDetail.g.cs +++ /dev/null @@ -1,114 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails-id}")] - [Cmdlet(VerbsData.Update, "MgReportCredentialUserRegistrationDetail", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails))] - public class UpdateMgReportCredentialUserRegistrationDetailCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string CredentialUserRegistrationDetailsId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public bool? IsCapable { get; set; } - - [Parameter(Mandatory = false)] - public bool? IsEnabled { get; set; } - - [Parameter(Mandatory = false)] - public bool? IsMfaRegistered { get; set; } - - [Parameter(Mandatory = false)] - public bool? IsRegistered { get; set; } - - [Parameter(Mandatory = false)] - public string? UserDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? UserPrincipalName { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.RegistrationAuthMethod?[]? AuthMethods { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(CredentialUserRegistrationDetailsId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails(); - - if (this.IsParameterBound(nameof(IsCapable))) - body.IsCapable = IsCapable; - - if (this.IsParameterBound(nameof(IsEnabled))) - body.IsEnabled = IsEnabled; - - if (this.IsParameterBound(nameof(IsMfaRegistered))) - body.IsMfaRegistered = IsMfaRegistered; - - if (this.IsParameterBound(nameof(IsRegistered))) - body.IsRegistered = IsRegistered; - - if (this.IsParameterBound(nameof(UserDisplayName))) - body.UserDisplayName = UserDisplayName; - - if (this.IsParameterBound(nameof(UserPrincipalName))) - body.UserPrincipalName = UserPrincipalName; - - if (this.IsParameterBound(nameof(AuthMethods))) - body.AuthMethods = AuthMethods!.ToList(); - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails? result; - try - { - result = client.Reports.CredentialUserRegistrationDetails[CredentialUserRegistrationDetailsId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, CredentialUserRegistrationDetailsId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.CredentialUserRegistrationDetails[CredentialUserRegistrationDetailsId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, CredentialUserRegistrationDetailsId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsage.g.cs deleted file mode 100644 index 1397d1f34a4..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsage.g.cs +++ /dev/null @@ -1,140 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/dailyPrintUsage/{printUsage-id}")] - [Cmdlet(VerbsData.Update, "MgReportDailyPrintUsage", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsage))] - public class UpdateMgReportDailyPrintUsageCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsage(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsage? result; - try - { - result = client.Reports.DailyPrintUsage[PrintUsageId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.DailyPrintUsage[PrintUsageId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageByPrinter.g.cs deleted file mode 100644 index 3c47cf5aa66..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageByPrinter.g.cs +++ /dev/null @@ -1,152 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}")] - [Cmdlet(VerbsData.Update, "MgReportDailyPrintUsageByPrinter", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter))] - public class UpdateMgReportDailyPrintUsageByPrinterCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByPrinterId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterId { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByPrinterId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(PrinterId))) - body.PrinterId = PrinterId; - - if (this.IsParameterBound(nameof(PrinterName))) - body.PrinterName = PrinterName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter? result; - try - { - result = client.Reports.DailyPrintUsageByPrinter[PrintUsageByPrinterId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByPrinterId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.DailyPrintUsageByPrinter[PrintUsageByPrinterId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByPrinterId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageByUser.g.cs deleted file mode 100644 index f206f8f477d..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageByUser.g.cs +++ /dev/null @@ -1,146 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/dailyPrintUsageByUser/{printUsageByUser-id}")] - [Cmdlet(VerbsData.Update, "MgReportDailyPrintUsageByUser", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser))] - public class UpdateMgReportDailyPrintUsageByUserCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByUserId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? UserPrincipalName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByUserId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(UserPrincipalName))) - body.UserPrincipalName = UserPrincipalName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser? result; - try - { - result = client.Reports.DailyPrintUsageByUser[PrintUsageByUserId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByUserId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.DailyPrintUsageByUser[PrintUsageByUserId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByUserId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageSummaryByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageSummaryByPrinter.g.cs deleted file mode 100644 index fc26dd62d51..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageSummaryByPrinter.g.cs +++ /dev/null @@ -1,152 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}")] - [Cmdlet(VerbsData.Update, "MgReportDailyPrintUsageSummaryByPrinter", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter))] - public class UpdateMgReportDailyPrintUsageSummaryByPrinterCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByPrinterId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterId { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByPrinterId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(PrinterId))) - body.PrinterId = PrinterId; - - if (this.IsParameterBound(nameof(PrinterName))) - body.PrinterName = PrinterName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter? result; - try - { - result = client.Reports.DailyPrintUsageSummariesByPrinter[PrintUsageByPrinterId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByPrinterId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.DailyPrintUsageSummariesByPrinter[PrintUsageByPrinterId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByPrinterId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageSummaryByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageSummaryByUser.g.cs deleted file mode 100644 index 87e49e51644..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportDailyPrintUsageSummaryByUser.g.cs +++ /dev/null @@ -1,146 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/dailyPrintUsageSummariesByUser/{printUsageByUser-id}")] - [Cmdlet(VerbsData.Update, "MgReportDailyPrintUsageSummaryByUser", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser))] - public class UpdateMgReportDailyPrintUsageSummaryByUserCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByUserId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? UserPrincipalName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByUserId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(UserPrincipalName))) - body.UserPrincipalName = UserPrincipalName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser? result; - try - { - result = client.Reports.DailyPrintUsageSummariesByUser[PrintUsageByUserId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByUserId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.DailyPrintUsageSummariesByUser[PrintUsageByUserId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByUserId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoring.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoring.g.cs deleted file mode 100644 index 85096917170..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoring.g.cs +++ /dev/null @@ -1,75 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/healthMonitoring")] - [Cmdlet(VerbsData.Update, "MgReportHealthMonitoring", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.HealthMonitoring.HealthMonitoringRoot))] - public class UpdateMgReportHealthMonitoringCommand : GraphClientCmdlet - { - - - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.HealthMonitoring.HealthMonitoringRoot(); - - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.HealthMonitoring.HealthMonitoringRoot? result; - try - { - result = client.Reports.HealthMonitoring.PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.HealthMonitoring.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageByPrinter.g.cs deleted file mode 100644 index d76063576c5..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageByPrinter.g.cs +++ /dev/null @@ -1,152 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}")] - [Cmdlet(VerbsData.Update, "MgReportMonthlyPrintUsageByPrinter", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter))] - public class UpdateMgReportMonthlyPrintUsageByPrinterCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByPrinterId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterId { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByPrinterId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(PrinterId))) - body.PrinterId = PrinterId; - - if (this.IsParameterBound(nameof(PrinterName))) - body.PrinterName = PrinterName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter? result; - try - { - result = client.Reports.MonthlyPrintUsageByPrinter[PrintUsageByPrinterId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByPrinterId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.MonthlyPrintUsageByPrinter[PrintUsageByPrinterId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByPrinterId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageByUser.g.cs deleted file mode 100644 index d9b4b925ac0..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageByUser.g.cs +++ /dev/null @@ -1,146 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}")] - [Cmdlet(VerbsData.Update, "MgReportMonthlyPrintUsageByUser", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser))] - public class UpdateMgReportMonthlyPrintUsageByUserCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByUserId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? UserPrincipalName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByUserId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(UserPrincipalName))) - body.UserPrincipalName = UserPrincipalName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser? result; - try - { - result = client.Reports.MonthlyPrintUsageByUser[PrintUsageByUserId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByUserId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.MonthlyPrintUsageByUser[PrintUsageByUserId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByUserId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageSummaryByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageSummaryByPrinter.g.cs deleted file mode 100644 index 5c27944fe85..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageSummaryByPrinter.g.cs +++ /dev/null @@ -1,152 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}")] - [Cmdlet(VerbsData.Update, "MgReportMonthlyPrintUsageSummaryByPrinter", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter))] - public class UpdateMgReportMonthlyPrintUsageSummaryByPrinterCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByPrinterId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterId { get; set; } - - [Parameter(Mandatory = false)] - public string? PrinterName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByPrinterId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(PrinterId))) - body.PrinterId = PrinterId; - - if (this.IsParameterBound(nameof(PrinterName))) - body.PrinterName = PrinterName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter? result; - try - { - result = client.Reports.MonthlyPrintUsageSummariesByPrinter[PrintUsageByPrinterId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByPrinterId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.MonthlyPrintUsageSummariesByPrinter[PrintUsageByPrinterId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByPrinterId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageSummaryByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageSummaryByUser.g.cs deleted file mode 100644 index 0b563f4f01f..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMonthlyPrintUsageSummaryByUser.g.cs +++ /dev/null @@ -1,146 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser-id}")] - [Cmdlet(VerbsData.Update, "MgReportMonthlyPrintUsageSummaryByUser", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser))] - public class UpdateMgReportMonthlyPrintUsageSummaryByUserCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string PrintUsageByUserId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public long? BlackAndWhitePageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? ColorPageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedBlackAndWhiteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedColorJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? CompletedJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? DoubleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? IncompleteJobCount { get; set; } - - [Parameter(Mandatory = false)] - public long? MediaSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public long? PageCount { get; set; } - - [Parameter(Mandatory = false)] - public long? SingleSidedSheetCount { get; set; } - - [Parameter(Mandatory = false)] - public global::Microsoft.Kiota.Abstractions.Date? UsageDate { get; set; } - - [Parameter(Mandatory = false)] - public string? UserPrincipalName { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(PrintUsageByUserId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser(); - - if (this.IsParameterBound(nameof(BlackAndWhitePageCount))) - body.BlackAndWhitePageCount = BlackAndWhitePageCount; - - if (this.IsParameterBound(nameof(ColorPageCount))) - body.ColorPageCount = ColorPageCount; - - if (this.IsParameterBound(nameof(CompletedBlackAndWhiteJobCount))) - body.CompletedBlackAndWhiteJobCount = CompletedBlackAndWhiteJobCount; - - if (this.IsParameterBound(nameof(CompletedColorJobCount))) - body.CompletedColorJobCount = CompletedColorJobCount; - - if (this.IsParameterBound(nameof(CompletedJobCount))) - body.CompletedJobCount = CompletedJobCount; - - if (this.IsParameterBound(nameof(DoubleSidedSheetCount))) - body.DoubleSidedSheetCount = DoubleSidedSheetCount; - - if (this.IsParameterBound(nameof(IncompleteJobCount))) - body.IncompleteJobCount = IncompleteJobCount; - - if (this.IsParameterBound(nameof(MediaSheetCount))) - body.MediaSheetCount = MediaSheetCount; - - if (this.IsParameterBound(nameof(PageCount))) - body.PageCount = PageCount; - - if (this.IsParameterBound(nameof(SingleSidedSheetCount))) - body.SingleSidedSheetCount = SingleSidedSheetCount; - - if (this.IsParameterBound(nameof(UsageDate))) - body.UsageDate = UsageDate; - - if (this.IsParameterBound(nameof(UserPrincipalName))) - body.UserPrincipalName = UserPrincipalName; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser? result; - try - { - result = client.Reports.MonthlyPrintUsageSummariesByUser[PrintUsageByUserId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByUserId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.MonthlyPrintUsageSummariesByUser[PrintUsageByUserId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, PrintUsageByUserId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartner.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartner.g.cs deleted file mode 100644 index 53bea5014bd..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartner.g.cs +++ /dev/null @@ -1,75 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/partners")] - [Cmdlet(VerbsData.Update, "MgReportPartner", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Partners))] - public class UpdateMgReportPartnerCommand : GraphClientCmdlet - { - - - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Partners(); - - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Partners? result; - try - { - result = client.Reports.Partners.PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSecurity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSecurity.g.cs deleted file mode 100644 index f2b71779e27..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSecurity.g.cs +++ /dev/null @@ -1,75 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/security")] - [Cmdlet(VerbsData.Update, "MgReportSecurity", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.SecurityReportsRoot))] - public class UpdateMgReportSecurityCommand : GraphClientCmdlet - { - - - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.SecurityReportsRoot(); - - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.SecurityReportsRoot? result; - try - { - result = client.Reports.Security.PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Security.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportServiceActivity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportServiceActivity.g.cs deleted file mode 100644 index 76d48ffe41a..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportServiceActivity.g.cs +++ /dev/null @@ -1,75 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/serviceActivity")] - [Cmdlet(VerbsData.Update, "MgReportServiceActivity", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.ServiceActivity))] - public class UpdateMgReportServiceActivityCommand : GraphClientCmdlet - { - - - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.ServiceActivity(); - - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.ServiceActivity? result; - try - { - result = client.Reports.ServiceActivity.PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.ServiceActivity.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportServicePrincipalSignInActivity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportServicePrincipalSignInActivity.g.cs deleted file mode 100644 index 67eb085bb9d..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportServicePrincipalSignInActivity.g.cs +++ /dev/null @@ -1,108 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}")] - [Cmdlet(VerbsData.Update, "MgReportServicePrincipalSignInActivity", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.ServicePrincipalSignInActivity))] - public class UpdateMgReportServicePrincipalSignInActivityCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string ServicePrincipalSignInActivityId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public string? AppId { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInActivity? ApplicationAuthenticationClientSignInActivity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInActivity? ApplicationAuthenticationResourceSignInActivity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInActivity? DelegatedClientSignInActivity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInActivity? DelegatedResourceSignInActivity { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.SignInActivity? LastSignInActivity { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(ServicePrincipalSignInActivityId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.ServicePrincipalSignInActivity(); - - if (this.IsParameterBound(nameof(AppId))) - body.AppId = AppId; - - if (this.IsParameterBound(nameof(ApplicationAuthenticationClientSignInActivity))) - body.ApplicationAuthenticationClientSignInActivity = ApplicationAuthenticationClientSignInActivity; - - if (this.IsParameterBound(nameof(ApplicationAuthenticationResourceSignInActivity))) - body.ApplicationAuthenticationResourceSignInActivity = ApplicationAuthenticationResourceSignInActivity; - - if (this.IsParameterBound(nameof(DelegatedClientSignInActivity))) - body.DelegatedClientSignInActivity = DelegatedClientSignInActivity; - - if (this.IsParameterBound(nameof(DelegatedResourceSignInActivity))) - body.DelegatedResourceSignInActivity = DelegatedResourceSignInActivity; - - if (this.IsParameterBound(nameof(LastSignInActivity))) - body.LastSignInActivity = LastSignInActivity; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.ServicePrincipalSignInActivity? result; - try - { - result = client.Reports.ServicePrincipalSignInActivities[ServicePrincipalSignInActivityId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ServicePrincipalSignInActivityId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.ServicePrincipalSignInActivities[ServicePrincipalSignInActivityId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ServicePrincipalSignInActivityId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSla.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSla.g.cs deleted file mode 100644 index e98181af6ae..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSla.g.cs +++ /dev/null @@ -1,75 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/sla")] - [Cmdlet(VerbsData.Update, "MgReportSla", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.ServiceLevelAgreementRoot))] - public class UpdateMgReportSlaCommand : GraphClientCmdlet - { - - - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.ServiceLevelAgreementRoot(); - - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.ServiceLevelAgreementRoot? result; - try - { - result = client.Reports.Sla.PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Sla.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserCredentialUsageDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserCredentialUsageDetail.g.cs deleted file mode 100644 index 2551260ea54..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserCredentialUsageDetail.g.cs +++ /dev/null @@ -1,114 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/userCredentialUsageDetails/{userCredentialUsageDetails-id}")] - [Cmdlet(VerbsData.Update, "MgReportUserCredentialUsageDetail", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails))] - public class UpdateMgReportUserCredentialUsageDetailCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string UserCredentialUsageDetailsId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? EventDateTime { get; set; } - - [Parameter(Mandatory = false)] - public string? FailureReason { get; set; } - - [Parameter(Mandatory = false)] - public bool? IsSuccess { get; set; } - - [Parameter(Mandatory = false)] - public string? UserDisplayName { get; set; } - - [Parameter(Mandatory = false)] - public string? UserPrincipalName { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.UsageAuthMethod? AuthMethod { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.FeatureType? Feature { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(UserCredentialUsageDetailsId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails(); - - if (this.IsParameterBound(nameof(EventDateTime))) - body.EventDateTime = EventDateTime; - - if (this.IsParameterBound(nameof(FailureReason))) - body.FailureReason = FailureReason; - - if (this.IsParameterBound(nameof(IsSuccess))) - body.IsSuccess = IsSuccess; - - if (this.IsParameterBound(nameof(UserDisplayName))) - body.UserDisplayName = UserDisplayName; - - if (this.IsParameterBound(nameof(UserPrincipalName))) - body.UserPrincipalName = UserPrincipalName; - - if (this.IsParameterBound(nameof(AuthMethod))) - body.AuthMethod = AuthMethod; - - if (this.IsParameterBound(nameof(Feature))) - body.Feature = Feature; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails? result; - try - { - result = client.Reports.UserCredentialUsageDetails[UserCredentialUsageDetailsId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, UserCredentialUsageDetailsId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.UserCredentialUsageDetails[UserCredentialUsageDetailsId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, UserCredentialUsageDetailsId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsight.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsight.g.cs deleted file mode 100644 index e5540230e48..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsight.g.cs +++ /dev/null @@ -1,75 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/userInsights")] - [Cmdlet(VerbsData.Update, "MgReportUserInsight", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.UserInsightsRoot))] - public class UpdateMgReportUserInsightCommand : GraphClientCmdlet - { - - - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.UserInsightsRoot(); - - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.UserInsightsRoot? result; - try - { - result = client.Reports.UserInsights.PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.UserInsights.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/kiota-lock.json b/src/Reports/wrapper/Beta/Cmdlets/kiota-lock.json index 4fe2a1c8e34..980c53975f9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/kiota-lock.json +++ b/src/Reports/wrapper/Beta/Cmdlets/kiota-lock.json @@ -1,3 +1,3 @@ { - "descriptionLocation": "../../../../../openApiDocs_KiotaCompat/Beta/Reports.yml" + "descriptionLocation": "../../../../../openApiDocs_KiotaCompat/beta/Reports.yml" } \ No newline at end of file From 8bf1f2d15abbadab9951f219d62c4c95601f567b Mon Sep 17 00:00:00 2001 From: Ramses Sanchez Hernandez Date: Tue, 27 Oct 2026 12:01:11 -0700 Subject: [PATCH 04/13] Reconcile Reports directives with aligned compatible IDs Validate all current literal candidates while retaining the complete original 84-operation beta source proof: 66 survivors, 18 removals, and 17 separately justified additional resource mutations. Use the existing inventory schema without unmerged helper APIs; pin shared behavior and unaffected reads in both profiles. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- src/Reports/Reports.md | 8 +- .../wrapper/Reports_cmdletConfigurations.cs | 22 +- .../Reports_directiveMigrationMap.json | 1596 ++++++++++++----- .../ReportsDirectiveMigrationTests.cs | 119 +- 4 files changed, 1280 insertions(+), 465 deletions(-) diff --git a/src/Reports/Reports.md b/src/Reports/Reports.md index e19a98c5cc6..de5590fe748 100644 --- a/src/Reports/Reports.md +++ b/src/Reports/Reports.md @@ -29,9 +29,11 @@ directive: # Remove invalid paths. # Wrapper migration: exact surviving method/path operations are suppressed in # Reports_cmdletConfigurations.cs. Reports_directiveMigrationMap.json records the -# complete same-profile legacy-ID match set and compatible-ID translations, -# including explicitly pruned beta routes. New routes with no source match are -# not inferred from a broad root-prefix match. Keep all AutoRest directives active. +# complete original legacy match set (beta: 66 survivors and 18 pruned routes). +# After #3861 aligned IDs, the unchanged regex literally also selects 17 additional +# beta resource mutations; each is separately justified in sourceReview. The +# baseline inventory validates every current match (v1.0: 34; beta: 83). +# Use exact entries, not broad root prefixes. Keep all AutoRest directives active. - remove-path-by-operation: auditLog\.auditLogRoot.*|report.reportRoot.*|(auditLog|report)_(Create|Delete|Update).* # Remove cmdlets # Wrapper migration: reviewed absence in both compatible and legacy Reports specs. diff --git a/src/Reports/wrapper/Reports_cmdletConfigurations.cs b/src/Reports/wrapper/Reports_cmdletConfigurations.cs index 53ad39ad9c5..209d4a03c91 100644 --- a/src/Reports/wrapper/Reports_cmdletConfigurations.cs +++ b/src/Reports/wrapper/Reports_cmdletConfigurations.cs @@ -5,7 +5,7 @@ namespace WrapperGenerator; public static partial class CmdletConfigurator { - private const string ReportsSuppressionReason = "Reports.md: remove-path-by-operation; reviewed legacy-ID bridge"; + private const string ReportsSuppressionReason = "Reports.md: remove-path-by-operation; reviewed literal-compatible selector"; private static readonly List ReportsCmdletConfigurations = [ @@ -76,6 +76,26 @@ public static partial class CmdletConfigurator new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/userinsights", PathMatch.Exact, null, ReportsSuppressionReason), new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/userinsights", PathMatch.Exact, null, ReportsSuppressionReason), + // Additional beta resource mutations selected literally after #3861 aligned IDs. + // The ledger separately preserves all original 84 source matches and their outcomes. + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/auditlogs/auditactivitytypes", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/auditlogs/auditactivitytypes/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/auditlogs/auditactivitytypes/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/auditlogs/signineventsappsummary", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/auditlogs/signineventsappsummary/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/auditlogs/signineventsappsummary/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Post, "/auditlogs/signineventssummary", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/auditlogs/signineventssummary/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/auditlogs/signineventssummary/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/azureadpremiumlicenseinsight", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/azureadpremiumlicenseinsight", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/correlations/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/correlations/{}", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/identityanalytics", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/identityanalytics", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/reports/microsoftappsfilestoragecontainerusagesummary", PathMatch.Exact, null, ReportsSuppressionReason), + new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/microsoftappsfilestoragecontainerusagesummary", PathMatch.Exact, null, ReportsSuppressionReason), + // Functions already use Get. Keep distinct overload routes distinct rather than // suppressing them as if AutoRest's numbered variants were duplicate operations. new(OverrideKind.ReplaceNoun, HttpMethod.Get, "/reports/manageddeviceenrollmenttopfailures", PathMatch.Exact, diff --git a/src/Reports/wrapper/Reports_directiveMigrationMap.json b/src/Reports/wrapper/Reports_directiveMigrationMap.json index 6b97f2d10bf..44559c42120 100644 --- a/src/Reports/wrapper/Reports_directiveMigrationMap.json +++ b/src/Reports/wrapper/Reports_directiveMigrationMap.json @@ -19,9 +19,10 @@ "frozen MgCommandMetadata.json Reports/Beta.Reports command, route and variant evidence" ], "compatibleSpecBlobs": { - "v1.0": "001ccf037236780e34c7d9977aedd8c8cdb13712", - "beta": "721affb2e25f2385a329b1f0fb5f01ff98b65883" + "v1.0": "1f907bf7691c3a13779b7ea6786e3764cb61d5a1", + "beta": "169859b86fc51330fd53c8a948dfa8ef595f36fd" }, + "reviewedTarget": "abab9dac88dd1e1d15e8e43fa766ab9be7cba34d", "regressionTests": "tools\\WrapperGenerator.Tests\\ReportsDirectiveMigrationTests.cs" }, "mappings": [ @@ -31,832 +32,1547 @@ "classification": "OperationIdSuppression", "sourceContains": "remove-path-by-operation: auditLog\\.auditLogRoot.*|report.reportRoot.*|(auditLog|report)_(Create|Delete|Update).*", "implementation": "CmdletConfigurator", - "notes": "Exact legacy-to-compatible operation-ID bridges retain the shared suppression, not an API-absence assertion. Curated exact method/path entries also cover beta; existing v1.0 derived suppressions remain unchanged. Nested authentication registration and modern compatible-only mutations are outside this selector.", + "notes": "Baseline-supported literal-compatible ledger after #3861 ID alignment. Preserve every original source-selected survivor and explicit removal proof in sourceReview. Include all 17 genuinely additional beta CRUD routes now literally selected by the unchanged root-mutation regex, with exact prior/current identities and per-family rationale. No action/function expansion, guessed semantic successor, or broad prefix suppression. Original 84 beta matches remain accounted as 66 survivors plus 18 removed; current 83 are the 66 survivors plus 17 additional matches. Nested authentication registration and nonmatching descendants remain.", "profiles": { "v1.0": { - "operationIdSource": "Legacy", - "notes": "Complete same-profile source regex set: 34; exact unchanged-route bridges: 34; explicitly pruned: 0. The unanchored report_ alternative also matches deviceManagement.report_ export/cache mutations. Newly introduced compatible routes without an old match are not suppressed.", + "notes": "Literal current-compatible regex policy on target abab9dac88: 34 candidates. Complete original legacy regex set 34 is preserved as 34 exact surviving method/path/IDs plus 0 explicitly pruned source operations. 0 separately reviewed additional current CRUD matches are included by the unchanged root-mutation regex, not relabeled as legacy survivors.", "absenceExpected": false, "operations": [ { "method": "GET", "path": "/auditLogs", - "operationId": "auditLogs.auditLogRoot.GetAuditLogRoot", - "legacyPath": "/auditLogs", - "legacyOperationId": "auditLog.auditLogRoot_GetAuditLogRoot" + "operationId": "auditLog.auditLogRoot_GetAuditLogRoot" }, { "method": "PATCH", "path": "/auditLogs", - "operationId": "auditLogs.auditLogRoot.UpdateAuditLogRoot", - "legacyPath": "/auditLogs", - "legacyOperationId": "auditLog.auditLogRoot_UpdateAuditLogRoot" + "operationId": "auditLog.auditLogRoot_UpdateAuditLogRoot" }, { "method": "POST", "path": "/auditLogs/directoryAudits", - "operationId": "auditLogs.CreateDirectoryAudits", - "legacyPath": "/auditLogs/directoryAudits", - "legacyOperationId": "auditLog_CreateDirectoryAudit" + "operationId": "auditLog_CreateDirectoryAudit" }, { "method": "PATCH", "path": "/auditLogs/directoryAudits/{directoryAudit-id}", - "operationId": "auditLogs.UpdateDirectoryAudits", - "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", - "legacyOperationId": "auditLog_UpdateDirectoryAudit" + "operationId": "auditLog_UpdateDirectoryAudit" }, { "method": "DELETE", "path": "/auditLogs/directoryAudits/{directoryAudit-id}", - "operationId": "auditLogs.DeleteDirectoryAudits", - "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", - "legacyOperationId": "auditLog_DeleteDirectoryAudit" + "operationId": "auditLog_DeleteDirectoryAudit" }, { "method": "POST", "path": "/auditLogs/provisioning", - "operationId": "auditLogs.CreateProvisioning", - "legacyPath": "/auditLogs/provisioning", - "legacyOperationId": "auditLog_CreateProvisioning" + "operationId": "auditLog_CreateProvisioning" }, { "method": "PATCH", "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "operationId": "auditLogs.UpdateProvisioning", - "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "legacyOperationId": "auditLog_UpdateProvisioning" + "operationId": "auditLog_UpdateProvisioning" }, { "method": "DELETE", "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "operationId": "auditLogs.DeleteProvisioning", - "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "legacyOperationId": "auditLog_DeleteProvisioning" + "operationId": "auditLog_DeleteProvisioning" }, { "method": "POST", "path": "/auditLogs/signIns", - "operationId": "auditLogs.CreateSignIns", - "legacyPath": "/auditLogs/signIns", - "legacyOperationId": "auditLog_CreateSignIn" + "operationId": "auditLog_CreateSignIn" }, { "method": "PATCH", "path": "/auditLogs/signIns/{signIn-id}", - "operationId": "auditLogs.UpdateSignIns", - "legacyPath": "/auditLogs/signIns/{signIn-id}", - "legacyOperationId": "auditLog_UpdateSignIn" + "operationId": "auditLog_UpdateSignIn" }, { "method": "DELETE", "path": "/auditLogs/signIns/{signIn-id}", - "operationId": "auditLogs.DeleteSignIns", - "legacyPath": "/auditLogs/signIns/{signIn-id}", - "legacyOperationId": "auditLog_DeleteSignIn" + "operationId": "auditLog_DeleteSignIn" }, { "method": "POST", "path": "/deviceManagement/reports/exportJobs", - "operationId": "deviceManagement.reports.CreateExportJobs", - "legacyPath": "/deviceManagement/reports/exportJobs", - "legacyOperationId": "deviceManagement.report_CreateExportJob" + "operationId": "deviceManagement.report_CreateExportJob" }, { "method": "PATCH", "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "operationId": "deviceManagement.reports.UpdateExportJobs", - "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "legacyOperationId": "deviceManagement.report_UpdateExportJob" + "operationId": "deviceManagement.report_UpdateExportJob" }, { "method": "DELETE", "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "operationId": "deviceManagement.reports.DeleteExportJobs", - "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "legacyOperationId": "deviceManagement.report_DeleteExportJob" + "operationId": "deviceManagement.report_DeleteExportJob" }, { "method": "GET", "path": "/reports", - "operationId": "reports.reportRoot.GetReportRoot", - "legacyPath": "/reports", - "legacyOperationId": "report.reportRoot_GetReportRoot" + "operationId": "report.reportRoot_GetReportRoot" }, { "method": "PATCH", "path": "/reports", - "operationId": "reports.reportRoot.UpdateReportRoot", - "legacyPath": "/reports", - "legacyOperationId": "report.reportRoot_UpdateReportRoot" + "operationId": "report.reportRoot_UpdateReportRoot" }, { "method": "PATCH", "path": "/reports/authenticationMethods", - "operationId": "reports.UpdateAuthenticationMethods", - "legacyPath": "/reports/authenticationMethods", - "legacyOperationId": "report_UpdateAuthenticationMethod" + "operationId": "report_UpdateAuthenticationMethod" }, { "method": "DELETE", "path": "/reports/authenticationMethods", - "operationId": "reports.DeleteAuthenticationMethods", - "legacyPath": "/reports/authenticationMethods", - "legacyOperationId": "report_DeleteAuthenticationMethod" + "operationId": "report_DeleteAuthenticationMethod" }, { "method": "POST", "path": "/reports/dailyPrintUsageByPrinter", - "operationId": "reports.CreateDailyPrintUsageByPrinter", - "legacyPath": "/reports/dailyPrintUsageByPrinter", - "legacyOperationId": "report_CreateDailyPrintUsageGraphBPrePrinter" + "operationId": "report_CreateDailyPrintUsageGraphBPrePrinter" }, { "method": "PATCH", "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "reports.UpdateDailyPrintUsageByPrinter", - "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPrePrinter" + "operationId": "report_UpdateDailyPrintUsageGraphBPrePrinter" }, { "method": "DELETE", "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "reports.DeleteDailyPrintUsageByPrinter", - "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPrePrinter" + "operationId": "report_DeleteDailyPrintUsageGraphBPrePrinter" }, { "method": "POST", "path": "/reports/dailyPrintUsageByUser", - "operationId": "reports.CreateDailyPrintUsageByUser", - "legacyPath": "/reports/dailyPrintUsageByUser", - "legacyOperationId": "report_CreateDailyPrintUsageGraphBPreUser" + "operationId": "report_CreateDailyPrintUsageGraphBPreUser" }, { "method": "PATCH", "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "reports.UpdateDailyPrintUsageByUser", - "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPreUser" + "operationId": "report_UpdateDailyPrintUsageGraphBPreUser" }, { "method": "DELETE", "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "reports.DeleteDailyPrintUsageByUser", - "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPreUser" + "operationId": "report_DeleteDailyPrintUsageGraphBPreUser" }, { "method": "POST", "path": "/reports/monthlyPrintUsageByPrinter", - "operationId": "reports.CreateMonthlyPrintUsageByPrinter", - "legacyPath": "/reports/monthlyPrintUsageByPrinter", - "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter" + "operationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter" }, { "method": "PATCH", "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "reports.UpdateMonthlyPrintUsageByPrinter", - "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter" + "operationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter" }, { "method": "DELETE", "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "reports.DeleteMonthlyPrintUsageByPrinter", - "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter" + "operationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter" }, { "method": "POST", "path": "/reports/monthlyPrintUsageByUser", - "operationId": "reports.CreateMonthlyPrintUsageByUser", - "legacyPath": "/reports/monthlyPrintUsageByUser", - "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPreUser" + "operationId": "report_CreateMonthlyPrintUsageGraphBPreUser" }, { "method": "PATCH", "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "reports.UpdateMonthlyPrintUsageByUser", - "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPreUser" + "operationId": "report_UpdateMonthlyPrintUsageGraphBPreUser" }, { "method": "DELETE", "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "reports.DeleteMonthlyPrintUsageByUser", - "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPreUser" + "operationId": "report_DeleteMonthlyPrintUsageGraphBPreUser" }, { "method": "PATCH", "path": "/reports/partners", - "operationId": "reports.UpdatePartners", - "legacyPath": "/reports/partners", - "legacyOperationId": "report_UpdatePartner" + "operationId": "report_UpdatePartner" }, { "method": "DELETE", "path": "/reports/partners", - "operationId": "reports.DeletePartners", - "legacyPath": "/reports/partners", - "legacyOperationId": "report_DeletePartner" + "operationId": "report_DeletePartner" }, { "method": "PATCH", "path": "/reports/security", - "operationId": "reports.UpdateSecurity", - "legacyPath": "/reports/security", - "legacyOperationId": "report_UpdateSecurity" + "operationId": "report_UpdateSecurity" }, { "method": "DELETE", "path": "/reports/security", - "operationId": "reports.DeleteSecurity", - "legacyPath": "/reports/security", - "legacyOperationId": "report_DeleteSecurity" + "operationId": "report_DeleteSecurity" } ], - "removedLegacyOperations": [] + "sourceReview": { + "legacyMatchCount": 34, + "survivingLegacyOperations": [ + { + "method": "GET", + "path": "/auditLogs", + "operationId": "auditLog.auditLogRoot_GetAuditLogRoot", + "legacyPath": "/auditLogs", + "legacyOperationId": "auditLog.auditLogRoot_GetAuditLogRoot" + }, + { + "method": "PATCH", + "path": "/auditLogs", + "operationId": "auditLog.auditLogRoot_UpdateAuditLogRoot", + "legacyPath": "/auditLogs", + "legacyOperationId": "auditLog.auditLogRoot_UpdateAuditLogRoot" + }, + { + "method": "POST", + "path": "/auditLogs/directoryAudits", + "operationId": "auditLog_CreateDirectoryAudit", + "legacyPath": "/auditLogs/directoryAudits", + "legacyOperationId": "auditLog_CreateDirectoryAudit" + }, + { + "method": "PATCH", + "path": "/auditLogs/directoryAudits/{directoryAudit-id}", + "operationId": "auditLog_UpdateDirectoryAudit", + "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", + "legacyOperationId": "auditLog_UpdateDirectoryAudit" + }, + { + "method": "DELETE", + "path": "/auditLogs/directoryAudits/{directoryAudit-id}", + "operationId": "auditLog_DeleteDirectoryAudit", + "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", + "legacyOperationId": "auditLog_DeleteDirectoryAudit" + }, + { + "method": "POST", + "path": "/auditLogs/provisioning", + "operationId": "auditLog_CreateProvisioning", + "legacyPath": "/auditLogs/provisioning", + "legacyOperationId": "auditLog_CreateProvisioning" + }, + { + "method": "PATCH", + "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "operationId": "auditLog_UpdateProvisioning", + "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_UpdateProvisioning" + }, + { + "method": "DELETE", + "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "operationId": "auditLog_DeleteProvisioning", + "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_DeleteProvisioning" + }, + { + "method": "POST", + "path": "/auditLogs/signIns", + "operationId": "auditLog_CreateSignIn", + "legacyPath": "/auditLogs/signIns", + "legacyOperationId": "auditLog_CreateSignIn" + }, + { + "method": "PATCH", + "path": "/auditLogs/signIns/{signIn-id}", + "operationId": "auditLog_UpdateSignIn", + "legacyPath": "/auditLogs/signIns/{signIn-id}", + "legacyOperationId": "auditLog_UpdateSignIn" + }, + { + "method": "DELETE", + "path": "/auditLogs/signIns/{signIn-id}", + "operationId": "auditLog_DeleteSignIn", + "legacyPath": "/auditLogs/signIns/{signIn-id}", + "legacyOperationId": "auditLog_DeleteSignIn" + }, + { + "method": "POST", + "path": "/deviceManagement/reports/exportJobs", + "operationId": "deviceManagement.report_CreateExportJob", + "legacyPath": "/deviceManagement/reports/exportJobs", + "legacyOperationId": "deviceManagement.report_CreateExportJob" + }, + { + "method": "PATCH", + "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "operationId": "deviceManagement.report_UpdateExportJob", + "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "legacyOperationId": "deviceManagement.report_UpdateExportJob" + }, + { + "method": "DELETE", + "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "operationId": "deviceManagement.report_DeleteExportJob", + "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "legacyOperationId": "deviceManagement.report_DeleteExportJob" + }, + { + "method": "GET", + "path": "/reports", + "operationId": "report.reportRoot_GetReportRoot", + "legacyPath": "/reports", + "legacyOperationId": "report.reportRoot_GetReportRoot" + }, + { + "method": "PATCH", + "path": "/reports", + "operationId": "report.reportRoot_UpdateReportRoot", + "legacyPath": "/reports", + "legacyOperationId": "report.reportRoot_UpdateReportRoot" + }, + { + "method": "PATCH", + "path": "/reports/authenticationMethods", + "operationId": "report_UpdateAuthenticationMethod", + "legacyPath": "/reports/authenticationMethods", + "legacyOperationId": "report_UpdateAuthenticationMethod" + }, + { + "method": "DELETE", + "path": "/reports/authenticationMethods", + "operationId": "report_DeleteAuthenticationMethod", + "legacyPath": "/reports/authenticationMethods", + "legacyOperationId": "report_DeleteAuthenticationMethod" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageByPrinter", + "operationId": "report_CreateDailyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter", + "legacyOperationId": "report_CreateDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_UpdateDailyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_DeleteDailyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageByUser", + "operationId": "report_CreateDailyPrintUsageGraphBPreUser", + "legacyPath": "/reports/dailyPrintUsageByUser", + "legacyOperationId": "report_CreateDailyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_UpdateDailyPrintUsageGraphBPreUser", + "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPreUser" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_DeleteDailyPrintUsageGraphBPreUser", + "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPreUser" + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageByPrinter", + "operationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter", + "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageByUser", + "operationId": "report_CreateMonthlyPrintUsageGraphBPreUser", + "legacyPath": "/reports/monthlyPrintUsageByUser", + "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_UpdateMonthlyPrintUsageGraphBPreUser", + "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_DeleteMonthlyPrintUsageGraphBPreUser", + "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/partners", + "operationId": "report_UpdatePartner", + "legacyPath": "/reports/partners", + "legacyOperationId": "report_UpdatePartner" + }, + { + "method": "DELETE", + "path": "/reports/partners", + "operationId": "report_DeletePartner", + "legacyPath": "/reports/partners", + "legacyOperationId": "report_DeletePartner" + }, + { + "method": "PATCH", + "path": "/reports/security", + "operationId": "report_UpdateSecurity", + "legacyPath": "/reports/security", + "legacyOperationId": "report_UpdateSecurity" + }, + { + "method": "DELETE", + "path": "/reports/security", + "operationId": "report_DeleteSecurity", + "legacyPath": "/reports/security", + "legacyOperationId": "report_DeleteSecurity" + } + ], + "removedLegacyOperations": [], + "additionalCurrentOperations": [] + } }, "beta": { - "operationIdSource": "Legacy", - "notes": "Complete same-profile source regex set: 84; exact unchanged-route bridges: 66; explicitly pruned: 18. The unanchored report_ alternative also matches deviceManagement.report_ export/cache mutations. Newly introduced compatible routes without an old match are not suppressed.", + "notes": "Literal current-compatible regex policy on target abab9dac88: 83 candidates. Complete original legacy regex set 84 is preserved as 66 exact surviving method/path/IDs plus 18 explicitly pruned source operations. 17 separately reviewed additional current CRUD matches are included by the unchanged root-mutation regex, not relabeled as legacy survivors.", "absenceExpected": false, "operations": [ { "method": "GET", "path": "/auditLogs", - "operationId": "auditLogs.auditLogRoot.GetAuditLogRoot", - "legacyPath": "/auditLogs", - "legacyOperationId": "auditLog.auditLogRoot_GetAuditLogRoot" + "operationId": "auditLog.auditLogRoot_GetAuditLogRoot" }, { "method": "PATCH", "path": "/auditLogs", - "operationId": "auditLogs.auditLogRoot.UpdateAuditLogRoot", - "legacyPath": "/auditLogs", - "legacyOperationId": "auditLog.auditLogRoot_UpdateAuditLogRoot" + "operationId": "auditLog.auditLogRoot_UpdateAuditLogRoot" + }, + { + "method": "POST", + "path": "/auditLogs/auditActivityTypes", + "operationId": "auditLog_CreateAuditActivityType" + }, + { + "method": "PATCH", + "path": "/auditLogs/auditActivityTypes/{auditActivityType-id}", + "operationId": "auditLog_UpdateAuditActivityType" + }, + { + "method": "DELETE", + "path": "/auditLogs/auditActivityTypes/{auditActivityType-id}", + "operationId": "auditLog_DeleteAuditActivityType" }, { "method": "POST", "path": "/auditLogs/customSecurityAttributeAudits", - "operationId": "auditLogs.CreateCustomSecurityAttributeAudits", - "legacyPath": "/auditLogs/customSecurityAttributeAudits", - "legacyOperationId": "auditLog_CreateCustomSecurityAttributeAudit" + "operationId": "auditLog_CreateCustomSecurityAttributeAudit" }, { "method": "PATCH", "path": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", - "operationId": "auditLogs.UpdateCustomSecurityAttributeAudits", - "legacyPath": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", - "legacyOperationId": "auditLog_UpdateCustomSecurityAttributeAudit" + "operationId": "auditLog_UpdateCustomSecurityAttributeAudit" }, { "method": "DELETE", "path": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", - "operationId": "auditLogs.DeleteCustomSecurityAttributeAudits", - "legacyPath": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", - "legacyOperationId": "auditLog_DeleteCustomSecurityAttributeAudit" + "operationId": "auditLog_DeleteCustomSecurityAttributeAudit" }, { "method": "POST", "path": "/auditLogs/directoryAudits", - "operationId": "auditLogs.CreateDirectoryAudits", - "legacyPath": "/auditLogs/directoryAudits", - "legacyOperationId": "auditLog_CreateDirectoryAudit" + "operationId": "auditLog_CreateDirectoryAudit" }, { "method": "PATCH", "path": "/auditLogs/directoryAudits/{directoryAudit-id}", - "operationId": "auditLogs.UpdateDirectoryAudits", - "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", - "legacyOperationId": "auditLog_UpdateDirectoryAudit" + "operationId": "auditLog_UpdateDirectoryAudit" }, { "method": "DELETE", "path": "/auditLogs/directoryAudits/{directoryAudit-id}", - "operationId": "auditLogs.DeleteDirectoryAudits", - "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", - "legacyOperationId": "auditLog_DeleteDirectoryAudit" + "operationId": "auditLog_DeleteDirectoryAudit" }, { "method": "POST", "path": "/auditLogs/directoryProvisioning", - "operationId": "auditLogs.CreateDirectoryProvisioning", - "legacyPath": "/auditLogs/directoryProvisioning", - "legacyOperationId": "auditLog_CreateDirectoryProvisioning" + "operationId": "auditLog_CreateDirectoryProvisioning" }, { "method": "PATCH", "path": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", - "operationId": "auditLogs.UpdateDirectoryProvisioning", - "legacyPath": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", - "legacyOperationId": "auditLog_UpdateDirectoryProvisioning" + "operationId": "auditLog_UpdateDirectoryProvisioning" }, { "method": "DELETE", "path": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", - "operationId": "auditLogs.DeleteDirectoryProvisioning", - "legacyPath": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", - "legacyOperationId": "auditLog_DeleteDirectoryProvisioning" + "operationId": "auditLog_DeleteDirectoryProvisioning" }, { "method": "POST", "path": "/auditLogs/provisioning", - "operationId": "auditLogs.CreateProvisioning", - "legacyPath": "/auditLogs/provisioning", - "legacyOperationId": "auditLog_CreateProvisioning" + "operationId": "auditLog_CreateProvisioning" }, { "method": "PATCH", "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "operationId": "auditLogs.UpdateProvisioning", - "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "legacyOperationId": "auditLog_UpdateProvisioning" + "operationId": "auditLog_UpdateProvisioning" }, { "method": "DELETE", "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "operationId": "auditLogs.DeleteProvisioning", - "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "legacyOperationId": "auditLog_DeleteProvisioning" + "operationId": "auditLog_DeleteProvisioning" + }, + { + "method": "POST", + "path": "/auditLogs/signInEventsAppSummary", + "operationId": "auditLog_CreateSignInEventsAppSummary" + }, + { + "method": "PATCH", + "path": "/auditLogs/signInEventsAppSummary/{signInEventsAppActivity-appId}", + "operationId": "auditLog_UpdateSignInEventsAppSummary" + }, + { + "method": "DELETE", + "path": "/auditLogs/signInEventsAppSummary/{signInEventsAppActivity-appId}", + "operationId": "auditLog_DeleteSignInEventsAppSummary" + }, + { + "method": "POST", + "path": "/auditLogs/signInEventsSummary", + "operationId": "auditLog_CreateSignInEventsSummary" + }, + { + "method": "PATCH", + "path": "/auditLogs/signInEventsSummary/{signInEventsActivity-id}", + "operationId": "auditLog_UpdateSignInEventsSummary" + }, + { + "method": "DELETE", + "path": "/auditLogs/signInEventsSummary/{signInEventsActivity-id}", + "operationId": "auditLog_DeleteSignInEventsSummary" }, { "method": "POST", "path": "/auditLogs/signIns", - "operationId": "auditLogs.CreateSignIns", - "legacyPath": "/auditLogs/signIns", - "legacyOperationId": "auditLog_CreateSignIn" + "operationId": "auditLog_CreateSignIn" }, { "method": "PATCH", "path": "/auditLogs/signIns/{signIn-id}", - "operationId": "auditLogs.UpdateSignIns", - "legacyPath": "/auditLogs/signIns/{signIn-id}", - "legacyOperationId": "auditLog_UpdateSignIn" + "operationId": "auditLog_UpdateSignIn" }, { "method": "DELETE", "path": "/auditLogs/signIns/{signIn-id}", - "operationId": "auditLogs.DeleteSignIns", - "legacyPath": "/auditLogs/signIns/{signIn-id}", - "legacyOperationId": "auditLog_DeleteSignIn" + "operationId": "auditLog_DeleteSignIn" }, { "method": "POST", "path": "/auditLogs/signUps", - "operationId": "auditLogs.CreateSignUps", - "legacyPath": "/auditLogs/signUps", - "legacyOperationId": "auditLog_CreateSignUp" + "operationId": "auditLog_CreateSignUp" }, { "method": "PATCH", "path": "/auditLogs/signUps/{selfServiceSignUp-id}", - "operationId": "auditLogs.UpdateSignUps", - "legacyPath": "/auditLogs/signUps/{selfServiceSignUp-id}", - "legacyOperationId": "auditLog_UpdateSignUp" + "operationId": "auditLog_UpdateSignUp" }, { "method": "DELETE", "path": "/auditLogs/signUps/{selfServiceSignUp-id}", - "operationId": "auditLogs.DeleteSignUps", - "legacyPath": "/auditLogs/signUps/{selfServiceSignUp-id}", - "legacyOperationId": "auditLog_DeleteSignUp" + "operationId": "auditLog_DeleteSignUp" }, { "method": "POST", "path": "/deviceManagement/reports/cachedReportConfigurations", - "operationId": "deviceManagement.reports.CreateCachedReportConfigurations", - "legacyPath": "/deviceManagement/reports/cachedReportConfigurations", - "legacyOperationId": "deviceManagement.report_CreateCachedReportConfiguration" + "operationId": "deviceManagement.report_CreateCachedReportConfiguration" }, { "method": "PATCH", "path": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", - "operationId": "deviceManagement.reports.UpdateCachedReportConfigurations", - "legacyPath": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", - "legacyOperationId": "deviceManagement.report_UpdateCachedReportConfiguration" + "operationId": "deviceManagement.report_UpdateCachedReportConfiguration" }, { "method": "DELETE", "path": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", - "operationId": "deviceManagement.reports.DeleteCachedReportConfigurations", - "legacyPath": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", - "legacyOperationId": "deviceManagement.report_DeleteCachedReportConfiguration" + "operationId": "deviceManagement.report_DeleteCachedReportConfiguration" }, { "method": "POST", "path": "/deviceManagement/reports/exportJobs", - "operationId": "deviceManagement.reports.CreateExportJobs", - "legacyPath": "/deviceManagement/reports/exportJobs", - "legacyOperationId": "deviceManagement.report_CreateExportJob" + "operationId": "deviceManagement.report_CreateExportJob" }, { "method": "PATCH", "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "operationId": "deviceManagement.reports.UpdateExportJobs", - "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "legacyOperationId": "deviceManagement.report_UpdateExportJob" + "operationId": "deviceManagement.report_UpdateExportJob" }, { "method": "DELETE", "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "operationId": "deviceManagement.reports.DeleteExportJobs", - "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "legacyOperationId": "deviceManagement.report_DeleteExportJob" + "operationId": "deviceManagement.report_DeleteExportJob" }, { "method": "GET", "path": "/reports", - "operationId": "reports.reportRoot.GetReportRoot", - "legacyPath": "/reports", - "legacyOperationId": "report.reportRoot_GetReportRoot" + "operationId": "report.reportRoot_GetReportRoot" }, { "method": "PATCH", "path": "/reports", - "operationId": "reports.reportRoot.UpdateReportRoot", - "legacyPath": "/reports", - "legacyOperationId": "report.reportRoot_UpdateReportRoot" + "operationId": "report.reportRoot_UpdateReportRoot" }, { "method": "POST", "path": "/reports/appCredentialSignInActivities", - "operationId": "reports.CreateAppCredentialSignInActivities", - "legacyPath": "/reports/appCredentialSignInActivities", - "legacyOperationId": "report_CreateAppCredentialSignInActivity" + "operationId": "report_CreateAppCredentialSignInActivity" }, { "method": "PATCH", "path": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", - "operationId": "reports.UpdateAppCredentialSignInActivities", - "legacyPath": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", - "legacyOperationId": "report_UpdateAppCredentialSignInActivity" + "operationId": "report_UpdateAppCredentialSignInActivity" }, { "method": "DELETE", "path": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", - "operationId": "reports.DeleteAppCredentialSignInActivities", - "legacyPath": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", - "legacyOperationId": "report_DeleteAppCredentialSignInActivity" + "operationId": "report_DeleteAppCredentialSignInActivity" }, { "method": "POST", "path": "/reports/applicationSignInDetailedSummary", - "operationId": "reports.CreateApplicationSignInDetailedSummary", - "legacyPath": "/reports/applicationSignInDetailedSummary", - "legacyOperationId": "report_CreateApplicationSignInDetailedSummary" + "operationId": "report_CreateApplicationSignInDetailedSummary" }, { "method": "PATCH", "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", - "operationId": "reports.UpdateApplicationSignInDetailedSummary", - "legacyPath": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", - "legacyOperationId": "report_UpdateApplicationSignInDetailedSummary" + "operationId": "report_UpdateApplicationSignInDetailedSummary" }, { "method": "DELETE", "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", - "operationId": "reports.DeleteApplicationSignInDetailedSummary", - "legacyPath": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", - "legacyOperationId": "report_DeleteApplicationSignInDetailedSummary" + "operationId": "report_DeleteApplicationSignInDetailedSummary" }, { "method": "PATCH", "path": "/reports/authenticationMethods", - "operationId": "reports.UpdateAuthenticationMethods", - "legacyPath": "/reports/authenticationMethods", - "legacyOperationId": "report_UpdateAuthenticationMethod" + "operationId": "report_UpdateAuthenticationMethod" }, { "method": "DELETE", "path": "/reports/authenticationMethods", - "operationId": "reports.DeleteAuthenticationMethods", - "legacyPath": "/reports/authenticationMethods", - "legacyOperationId": "report_DeleteAuthenticationMethod" + "operationId": "report_DeleteAuthenticationMethod" + }, + { + "method": "PATCH", + "path": "/reports/azureADPremiumLicenseInsight", + "operationId": "report_UpdateAzureADPremiumLicenseInsight" + }, + { + "method": "DELETE", + "path": "/reports/azureADPremiumLicenseInsight", + "operationId": "report_DeleteAzureADPremiumLicenseInsight" + }, + { + "method": "PATCH", + "path": "/reports/correlations/{identityCorrelation-id}", + "operationId": "report_UpdateCorrelation" + }, + { + "method": "DELETE", + "path": "/reports/correlations/{identityCorrelation-id}", + "operationId": "report_DeleteCorrelation" }, { "method": "POST", "path": "/reports/dailyPrintUsage", - "operationId": "reports.CreateDailyPrintUsage", - "legacyPath": "/reports/dailyPrintUsage", - "legacyOperationId": "report_CreateDailyPrintUsage" + "operationId": "report_CreateDailyPrintUsage" }, { "method": "PATCH", "path": "/reports/dailyPrintUsage/{printUsage-id}", - "operationId": "reports.UpdateDailyPrintUsage", - "legacyPath": "/reports/dailyPrintUsage/{printUsage-id}", - "legacyOperationId": "report_UpdateDailyPrintUsage" + "operationId": "report_UpdateDailyPrintUsage" }, { "method": "DELETE", "path": "/reports/dailyPrintUsage/{printUsage-id}", - "operationId": "reports.DeleteDailyPrintUsage", - "legacyPath": "/reports/dailyPrintUsage/{printUsage-id}", - "legacyOperationId": "report_DeleteDailyPrintUsage" + "operationId": "report_DeleteDailyPrintUsage" }, { "method": "POST", "path": "/reports/dailyPrintUsageByPrinter", - "operationId": "reports.CreateDailyPrintUsageByPrinter", - "legacyPath": "/reports/dailyPrintUsageByPrinter", - "legacyOperationId": "report_CreateDailyPrintUsageGraphBPrePrinter" + "operationId": "report_CreateDailyPrintUsageGraphBPrePrinter" }, { "method": "PATCH", "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "reports.UpdateDailyPrintUsageByPrinter", - "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPrePrinter" + "operationId": "report_UpdateDailyPrintUsageGraphBPrePrinter" }, { "method": "DELETE", "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "reports.DeleteDailyPrintUsageByPrinter", - "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPrePrinter" + "operationId": "report_DeleteDailyPrintUsageGraphBPrePrinter" }, { "method": "POST", "path": "/reports/dailyPrintUsageByUser", - "operationId": "reports.CreateDailyPrintUsageByUser", - "legacyPath": "/reports/dailyPrintUsageByUser", - "legacyOperationId": "report_CreateDailyPrintUsageGraphBPreUser" + "operationId": "report_CreateDailyPrintUsageGraphBPreUser" }, { "method": "PATCH", "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "reports.UpdateDailyPrintUsageByUser", - "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPreUser" + "operationId": "report_UpdateDailyPrintUsageGraphBPreUser" }, { "method": "DELETE", "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "reports.DeleteDailyPrintUsageByUser", - "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPreUser" + "operationId": "report_DeleteDailyPrintUsageGraphBPreUser" }, { "method": "PATCH", "path": "/reports/healthMonitoring", - "operationId": "reports.UpdateHealthMonitoring", - "legacyPath": "/reports/healthMonitoring", - "legacyOperationId": "report_UpdateHealthMonitoring" + "operationId": "report_UpdateHealthMonitoring" }, { "method": "DELETE", "path": "/reports/healthMonitoring", - "operationId": "reports.DeleteHealthMonitoring", - "legacyPath": "/reports/healthMonitoring", - "legacyOperationId": "report_DeleteHealthMonitoring" + "operationId": "report_DeleteHealthMonitoring" + }, + { + "method": "PATCH", + "path": "/reports/identityAnalytics", + "operationId": "report_UpdateIdentityAnalytic" + }, + { + "method": "DELETE", + "path": "/reports/identityAnalytics", + "operationId": "report_DeleteIdentityAnalytic" + }, + { + "method": "PATCH", + "path": "/reports/microsoftAppsFileStorageContainerUsageSummary", + "operationId": "report_UpdateMicrosoftAppsFileStorageContainerUsageSummary" + }, + { + "method": "DELETE", + "path": "/reports/microsoftAppsFileStorageContainerUsageSummary", + "operationId": "report_DeleteMicrosoftAppsFileStorageContainerUsageSummary" }, { "method": "POST", "path": "/reports/monthlyPrintUsageByPrinter", - "operationId": "reports.CreateMonthlyPrintUsageByPrinter", - "legacyPath": "/reports/monthlyPrintUsageByPrinter", - "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter" + "operationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter" }, { "method": "PATCH", "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "reports.UpdateMonthlyPrintUsageByPrinter", - "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter" + "operationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter" }, { "method": "DELETE", "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "reports.DeleteMonthlyPrintUsageByPrinter", - "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter" + "operationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter" }, { "method": "POST", "path": "/reports/monthlyPrintUsageByUser", - "operationId": "reports.CreateMonthlyPrintUsageByUser", - "legacyPath": "/reports/monthlyPrintUsageByUser", - "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPreUser" + "operationId": "report_CreateMonthlyPrintUsageGraphBPreUser" }, { "method": "PATCH", "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "reports.UpdateMonthlyPrintUsageByUser", - "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPreUser" + "operationId": "report_UpdateMonthlyPrintUsageGraphBPreUser" }, { "method": "DELETE", "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "reports.DeleteMonthlyPrintUsageByUser", - "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPreUser" + "operationId": "report_DeleteMonthlyPrintUsageGraphBPreUser" }, { "method": "PATCH", "path": "/reports/partners", - "operationId": "reports.UpdatePartners", - "legacyPath": "/reports/partners", - "legacyOperationId": "report_UpdatePartner" + "operationId": "report_UpdatePartner" }, { "method": "DELETE", "path": "/reports/partners", - "operationId": "reports.DeletePartners", - "legacyPath": "/reports/partners", - "legacyOperationId": "report_DeletePartner" + "operationId": "report_DeletePartner" }, { "method": "PATCH", "path": "/reports/security", - "operationId": "reports.UpdateSecurity", - "legacyPath": "/reports/security", - "legacyOperationId": "report_UpdateSecurity" + "operationId": "report_UpdateSecurity" }, { "method": "DELETE", "path": "/reports/security", - "operationId": "reports.DeleteSecurity", - "legacyPath": "/reports/security", - "legacyOperationId": "report_DeleteSecurity" + "operationId": "report_DeleteSecurity" }, { "method": "PATCH", "path": "/reports/serviceActivity", - "operationId": "reports.UpdateServiceActivity", - "legacyPath": "/reports/serviceActivity", - "legacyOperationId": "report_UpdateServiceActivity" + "operationId": "report_UpdateServiceActivity" }, { "method": "DELETE", "path": "/reports/serviceActivity", - "operationId": "reports.DeleteServiceActivity", - "legacyPath": "/reports/serviceActivity", - "legacyOperationId": "report_DeleteServiceActivity" + "operationId": "report_DeleteServiceActivity" }, { "method": "POST", "path": "/reports/servicePrincipalSignInActivities", - "operationId": "reports.CreateServicePrincipalSignInActivities", - "legacyPath": "/reports/servicePrincipalSignInActivities", - "legacyOperationId": "report_CreateServicePrincipalSignInActivity" + "operationId": "report_CreateServicePrincipalSignInActivity" }, { "method": "PATCH", "path": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", - "operationId": "reports.UpdateServicePrincipalSignInActivities", - "legacyPath": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", - "legacyOperationId": "report_UpdateServicePrincipalSignInActivity" + "operationId": "report_UpdateServicePrincipalSignInActivity" }, { "method": "DELETE", "path": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", - "operationId": "reports.DeleteServicePrincipalSignInActivities", - "legacyPath": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", - "legacyOperationId": "report_DeleteServicePrincipalSignInActivity" + "operationId": "report_DeleteServicePrincipalSignInActivity" }, { "method": "PATCH", "path": "/reports/sla", - "operationId": "reports.UpdateSla", - "legacyPath": "/reports/sla", - "legacyOperationId": "report_UpdateSla" + "operationId": "report_UpdateSla" }, { "method": "DELETE", "path": "/reports/sla", - "operationId": "reports.DeleteSla", - "legacyPath": "/reports/sla", - "legacyOperationId": "report_DeleteSla" + "operationId": "report_DeleteSla" }, { "method": "PATCH", "path": "/reports/userInsights", - "operationId": "reports.UpdateUserInsights", - "legacyPath": "/reports/userInsights", - "legacyOperationId": "report_UpdateUserInsight" + "operationId": "report_UpdateUserInsight" }, { "method": "DELETE", "path": "/reports/userInsights", - "operationId": "reports.DeleteUserInsights", - "legacyPath": "/reports/userInsights", - "legacyOperationId": "report_DeleteUserInsight" + "operationId": "report_DeleteUserInsight" } ], - "removedLegacyOperations": [ - { - "method": "POST", - "path": "/reports/credentialUserRegistrationDetails", - "operationId": "report_CreateCredentialUserRegistrationDetail", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "PATCH", - "path": "/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails-id}", - "operationId": "report_UpdateCredentialUserRegistrationDetail", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "DELETE", - "path": "/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails-id}", - "operationId": "report_DeleteCredentialUserRegistrationDetail", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "POST", - "path": "/reports/dailyPrintUsageSummariesByPrinter", - "operationId": "report_CreateDailyPrintUsageSummariesGraphBPrePrinter", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "PATCH", - "path": "/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", - "operationId": "report_UpdateDailyPrintUsageSummariesGraphBPrePrinter", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "DELETE", - "path": "/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", - "operationId": "report_DeleteDailyPrintUsageSummariesGraphBPrePrinter", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "POST", - "path": "/reports/dailyPrintUsageSummariesByUser", - "operationId": "report_CreateDailyPrintUsageSummariesGraphBPreUser", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "PATCH", - "path": "/reports/dailyPrintUsageSummariesByUser/{printUsageByUser-id}", - "operationId": "report_UpdateDailyPrintUsageSummariesGraphBPreUser", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "DELETE", - "path": "/reports/dailyPrintUsageSummariesByUser/{printUsageByUser-id}", - "operationId": "report_DeleteDailyPrintUsageSummariesGraphBPreUser", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "POST", - "path": "/reports/monthlyPrintUsageSummariesByPrinter", - "operationId": "report_CreateMonthlyPrintUsageSummariesGraphBPrePrinter", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "PATCH", - "path": "/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", - "operationId": "report_UpdateMonthlyPrintUsageSummariesGraphBPrePrinter", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "DELETE", - "path": "/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", - "operationId": "report_DeleteMonthlyPrintUsageSummariesGraphBPrePrinter", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "POST", - "path": "/reports/monthlyPrintUsageSummariesByUser", - "operationId": "report_CreateMonthlyPrintUsageSummariesGraphBPreUser", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "PATCH", - "path": "/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser-id}", - "operationId": "report_UpdateMonthlyPrintUsageSummariesGraphBPreUser", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "DELETE", - "path": "/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser-id}", - "operationId": "report_DeleteMonthlyPrintUsageSummariesGraphBPreUser", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "POST", - "path": "/reports/userCredentialUsageDetails", - "operationId": "report_CreateUserCredentialUsageDetail", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "PATCH", - "path": "/reports/userCredentialUsageDetails/{userCredentialUsageDetails-id}", - "operationId": "report_UpdateUserCredentialUsageDetail", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "DELETE", - "path": "/reports/userCredentialUsageDetails/{userCredentialUsageDetails-id}", - "operationId": "report_DeleteUserCredentialUsageDetail", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - } - ] + "sourceReview": { + "legacyMatchCount": 84, + "survivingLegacyOperations": [ + { + "method": "GET", + "path": "/auditLogs", + "operationId": "auditLog.auditLogRoot_GetAuditLogRoot", + "legacyPath": "/auditLogs", + "legacyOperationId": "auditLog.auditLogRoot_GetAuditLogRoot" + }, + { + "method": "PATCH", + "path": "/auditLogs", + "operationId": "auditLog.auditLogRoot_UpdateAuditLogRoot", + "legacyPath": "/auditLogs", + "legacyOperationId": "auditLog.auditLogRoot_UpdateAuditLogRoot" + }, + { + "method": "POST", + "path": "/auditLogs/customSecurityAttributeAudits", + "operationId": "auditLog_CreateCustomSecurityAttributeAudit", + "legacyPath": "/auditLogs/customSecurityAttributeAudits", + "legacyOperationId": "auditLog_CreateCustomSecurityAttributeAudit" + }, + { + "method": "PATCH", + "path": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", + "operationId": "auditLog_UpdateCustomSecurityAttributeAudit", + "legacyPath": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", + "legacyOperationId": "auditLog_UpdateCustomSecurityAttributeAudit" + }, + { + "method": "DELETE", + "path": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", + "operationId": "auditLog_DeleteCustomSecurityAttributeAudit", + "legacyPath": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", + "legacyOperationId": "auditLog_DeleteCustomSecurityAttributeAudit" + }, + { + "method": "POST", + "path": "/auditLogs/directoryAudits", + "operationId": "auditLog_CreateDirectoryAudit", + "legacyPath": "/auditLogs/directoryAudits", + "legacyOperationId": "auditLog_CreateDirectoryAudit" + }, + { + "method": "PATCH", + "path": "/auditLogs/directoryAudits/{directoryAudit-id}", + "operationId": "auditLog_UpdateDirectoryAudit", + "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", + "legacyOperationId": "auditLog_UpdateDirectoryAudit" + }, + { + "method": "DELETE", + "path": "/auditLogs/directoryAudits/{directoryAudit-id}", + "operationId": "auditLog_DeleteDirectoryAudit", + "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", + "legacyOperationId": "auditLog_DeleteDirectoryAudit" + }, + { + "method": "POST", + "path": "/auditLogs/directoryProvisioning", + "operationId": "auditLog_CreateDirectoryProvisioning", + "legacyPath": "/auditLogs/directoryProvisioning", + "legacyOperationId": "auditLog_CreateDirectoryProvisioning" + }, + { + "method": "PATCH", + "path": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", + "operationId": "auditLog_UpdateDirectoryProvisioning", + "legacyPath": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_UpdateDirectoryProvisioning" + }, + { + "method": "DELETE", + "path": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", + "operationId": "auditLog_DeleteDirectoryProvisioning", + "legacyPath": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_DeleteDirectoryProvisioning" + }, + { + "method": "POST", + "path": "/auditLogs/provisioning", + "operationId": "auditLog_CreateProvisioning", + "legacyPath": "/auditLogs/provisioning", + "legacyOperationId": "auditLog_CreateProvisioning" + }, + { + "method": "PATCH", + "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "operationId": "auditLog_UpdateProvisioning", + "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_UpdateProvisioning" + }, + { + "method": "DELETE", + "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "operationId": "auditLog_DeleteProvisioning", + "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_DeleteProvisioning" + }, + { + "method": "POST", + "path": "/auditLogs/signIns", + "operationId": "auditLog_CreateSignIn", + "legacyPath": "/auditLogs/signIns", + "legacyOperationId": "auditLog_CreateSignIn" + }, + { + "method": "PATCH", + "path": "/auditLogs/signIns/{signIn-id}", + "operationId": "auditLog_UpdateSignIn", + "legacyPath": "/auditLogs/signIns/{signIn-id}", + "legacyOperationId": "auditLog_UpdateSignIn" + }, + { + "method": "DELETE", + "path": "/auditLogs/signIns/{signIn-id}", + "operationId": "auditLog_DeleteSignIn", + "legacyPath": "/auditLogs/signIns/{signIn-id}", + "legacyOperationId": "auditLog_DeleteSignIn" + }, + { + "method": "POST", + "path": "/auditLogs/signUps", + "operationId": "auditLog_CreateSignUp", + "legacyPath": "/auditLogs/signUps", + "legacyOperationId": "auditLog_CreateSignUp" + }, + { + "method": "PATCH", + "path": "/auditLogs/signUps/{selfServiceSignUp-id}", + "operationId": "auditLog_UpdateSignUp", + "legacyPath": "/auditLogs/signUps/{selfServiceSignUp-id}", + "legacyOperationId": "auditLog_UpdateSignUp" + }, + { + "method": "DELETE", + "path": "/auditLogs/signUps/{selfServiceSignUp-id}", + "operationId": "auditLog_DeleteSignUp", + "legacyPath": "/auditLogs/signUps/{selfServiceSignUp-id}", + "legacyOperationId": "auditLog_DeleteSignUp" + }, + { + "method": "POST", + "path": "/deviceManagement/reports/cachedReportConfigurations", + "operationId": "deviceManagement.report_CreateCachedReportConfiguration", + "legacyPath": "/deviceManagement/reports/cachedReportConfigurations", + "legacyOperationId": "deviceManagement.report_CreateCachedReportConfiguration" + }, + { + "method": "PATCH", + "path": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", + "operationId": "deviceManagement.report_UpdateCachedReportConfiguration", + "legacyPath": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", + "legacyOperationId": "deviceManagement.report_UpdateCachedReportConfiguration" + }, + { + "method": "DELETE", + "path": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", + "operationId": "deviceManagement.report_DeleteCachedReportConfiguration", + "legacyPath": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", + "legacyOperationId": "deviceManagement.report_DeleteCachedReportConfiguration" + }, + { + "method": "POST", + "path": "/deviceManagement/reports/exportJobs", + "operationId": "deviceManagement.report_CreateExportJob", + "legacyPath": "/deviceManagement/reports/exportJobs", + "legacyOperationId": "deviceManagement.report_CreateExportJob" + }, + { + "method": "PATCH", + "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "operationId": "deviceManagement.report_UpdateExportJob", + "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "legacyOperationId": "deviceManagement.report_UpdateExportJob" + }, + { + "method": "DELETE", + "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "operationId": "deviceManagement.report_DeleteExportJob", + "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "legacyOperationId": "deviceManagement.report_DeleteExportJob" + }, + { + "method": "GET", + "path": "/reports", + "operationId": "report.reportRoot_GetReportRoot", + "legacyPath": "/reports", + "legacyOperationId": "report.reportRoot_GetReportRoot" + }, + { + "method": "PATCH", + "path": "/reports", + "operationId": "report.reportRoot_UpdateReportRoot", + "legacyPath": "/reports", + "legacyOperationId": "report.reportRoot_UpdateReportRoot" + }, + { + "method": "POST", + "path": "/reports/appCredentialSignInActivities", + "operationId": "report_CreateAppCredentialSignInActivity", + "legacyPath": "/reports/appCredentialSignInActivities", + "legacyOperationId": "report_CreateAppCredentialSignInActivity" + }, + { + "method": "PATCH", + "path": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", + "operationId": "report_UpdateAppCredentialSignInActivity", + "legacyPath": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", + "legacyOperationId": "report_UpdateAppCredentialSignInActivity" + }, + { + "method": "DELETE", + "path": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", + "operationId": "report_DeleteAppCredentialSignInActivity", + "legacyPath": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", + "legacyOperationId": "report_DeleteAppCredentialSignInActivity" + }, + { + "method": "POST", + "path": "/reports/applicationSignInDetailedSummary", + "operationId": "report_CreateApplicationSignInDetailedSummary", + "legacyPath": "/reports/applicationSignInDetailedSummary", + "legacyOperationId": "report_CreateApplicationSignInDetailedSummary" + }, + { + "method": "PATCH", + "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "operationId": "report_UpdateApplicationSignInDetailedSummary", + "legacyPath": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "legacyOperationId": "report_UpdateApplicationSignInDetailedSummary" + }, + { + "method": "DELETE", + "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "operationId": "report_DeleteApplicationSignInDetailedSummary", + "legacyPath": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "legacyOperationId": "report_DeleteApplicationSignInDetailedSummary" + }, + { + "method": "PATCH", + "path": "/reports/authenticationMethods", + "operationId": "report_UpdateAuthenticationMethod", + "legacyPath": "/reports/authenticationMethods", + "legacyOperationId": "report_UpdateAuthenticationMethod" + }, + { + "method": "DELETE", + "path": "/reports/authenticationMethods", + "operationId": "report_DeleteAuthenticationMethod", + "legacyPath": "/reports/authenticationMethods", + "legacyOperationId": "report_DeleteAuthenticationMethod" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsage", + "operationId": "report_CreateDailyPrintUsage", + "legacyPath": "/reports/dailyPrintUsage", + "legacyOperationId": "report_CreateDailyPrintUsage" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsage/{printUsage-id}", + "operationId": "report_UpdateDailyPrintUsage", + "legacyPath": "/reports/dailyPrintUsage/{printUsage-id}", + "legacyOperationId": "report_UpdateDailyPrintUsage" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsage/{printUsage-id}", + "operationId": "report_DeleteDailyPrintUsage", + "legacyPath": "/reports/dailyPrintUsage/{printUsage-id}", + "legacyOperationId": "report_DeleteDailyPrintUsage" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageByPrinter", + "operationId": "report_CreateDailyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter", + "legacyOperationId": "report_CreateDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_UpdateDailyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_DeleteDailyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageByUser", + "operationId": "report_CreateDailyPrintUsageGraphBPreUser", + "legacyPath": "/reports/dailyPrintUsageByUser", + "legacyOperationId": "report_CreateDailyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_UpdateDailyPrintUsageGraphBPreUser", + "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPreUser" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_DeleteDailyPrintUsageGraphBPreUser", + "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/healthMonitoring", + "operationId": "report_UpdateHealthMonitoring", + "legacyPath": "/reports/healthMonitoring", + "legacyOperationId": "report_UpdateHealthMonitoring" + }, + { + "method": "DELETE", + "path": "/reports/healthMonitoring", + "operationId": "report_DeleteHealthMonitoring", + "legacyPath": "/reports/healthMonitoring", + "legacyOperationId": "report_DeleteHealthMonitoring" + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageByPrinter", + "operationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter", + "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageByUser", + "operationId": "report_CreateMonthlyPrintUsageGraphBPreUser", + "legacyPath": "/reports/monthlyPrintUsageByUser", + "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_UpdateMonthlyPrintUsageGraphBPreUser", + "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_DeleteMonthlyPrintUsageGraphBPreUser", + "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/partners", + "operationId": "report_UpdatePartner", + "legacyPath": "/reports/partners", + "legacyOperationId": "report_UpdatePartner" + }, + { + "method": "DELETE", + "path": "/reports/partners", + "operationId": "report_DeletePartner", + "legacyPath": "/reports/partners", + "legacyOperationId": "report_DeletePartner" + }, + { + "method": "PATCH", + "path": "/reports/security", + "operationId": "report_UpdateSecurity", + "legacyPath": "/reports/security", + "legacyOperationId": "report_UpdateSecurity" + }, + { + "method": "DELETE", + "path": "/reports/security", + "operationId": "report_DeleteSecurity", + "legacyPath": "/reports/security", + "legacyOperationId": "report_DeleteSecurity" + }, + { + "method": "PATCH", + "path": "/reports/serviceActivity", + "operationId": "report_UpdateServiceActivity", + "legacyPath": "/reports/serviceActivity", + "legacyOperationId": "report_UpdateServiceActivity" + }, + { + "method": "DELETE", + "path": "/reports/serviceActivity", + "operationId": "report_DeleteServiceActivity", + "legacyPath": "/reports/serviceActivity", + "legacyOperationId": "report_DeleteServiceActivity" + }, + { + "method": "POST", + "path": "/reports/servicePrincipalSignInActivities", + "operationId": "report_CreateServicePrincipalSignInActivity", + "legacyPath": "/reports/servicePrincipalSignInActivities", + "legacyOperationId": "report_CreateServicePrincipalSignInActivity" + }, + { + "method": "PATCH", + "path": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", + "operationId": "report_UpdateServicePrincipalSignInActivity", + "legacyPath": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", + "legacyOperationId": "report_UpdateServicePrincipalSignInActivity" + }, + { + "method": "DELETE", + "path": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", + "operationId": "report_DeleteServicePrincipalSignInActivity", + "legacyPath": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", + "legacyOperationId": "report_DeleteServicePrincipalSignInActivity" + }, + { + "method": "PATCH", + "path": "/reports/sla", + "operationId": "report_UpdateSla", + "legacyPath": "/reports/sla", + "legacyOperationId": "report_UpdateSla" + }, + { + "method": "DELETE", + "path": "/reports/sla", + "operationId": "report_DeleteSla", + "legacyPath": "/reports/sla", + "legacyOperationId": "report_DeleteSla" + }, + { + "method": "PATCH", + "path": "/reports/userInsights", + "operationId": "report_UpdateUserInsight", + "legacyPath": "/reports/userInsights", + "legacyOperationId": "report_UpdateUserInsight" + }, + { + "method": "DELETE", + "path": "/reports/userInsights", + "operationId": "report_DeleteUserInsight", + "legacyPath": "/reports/userInsights", + "legacyOperationId": "report_DeleteUserInsight" + } + ], + "removedLegacyOperations": [ + { + "method": "POST", + "path": "/reports/credentialUserRegistrationDetails", + "operationId": "report_CreateCredentialUserRegistrationDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails-id}", + "operationId": "report_UpdateCredentialUserRegistrationDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails-id}", + "operationId": "report_DeleteCredentialUserRegistrationDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageSummariesByPrinter", + "operationId": "report_CreateDailyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", + "operationId": "report_UpdateDailyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", + "operationId": "report_DeleteDailyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageSummariesByUser", + "operationId": "report_CreateDailyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageSummariesByUser/{printUsageByUser-id}", + "operationId": "report_UpdateDailyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageSummariesByUser/{printUsageByUser-id}", + "operationId": "report_DeleteDailyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageSummariesByPrinter", + "operationId": "report_CreateMonthlyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", + "operationId": "report_UpdateMonthlyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", + "operationId": "report_DeleteMonthlyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageSummariesByUser", + "operationId": "report_CreateMonthlyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser-id}", + "operationId": "report_UpdateMonthlyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser-id}", + "operationId": "report_DeleteMonthlyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/userCredentialUsageDetails", + "operationId": "report_CreateUserCredentialUsageDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/userCredentialUsageDetails/{userCredentialUsageDetails-id}", + "operationId": "report_UpdateUserCredentialUsageDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/userCredentialUsageDetails/{userCredentialUsageDetails-id}", + "operationId": "report_DeleteUserCredentialUsageDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + } + ], + "additionalCurrentOperations": [ + { + "method": "POST", + "path": "/auditLogs/auditActivityTypes", + "operationId": "auditLog_CreateAuditActivityType", + "previousCompatibleOperationId": "auditLogs.CreateAuditActivityTypes", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Audit event type definitions, not credential or print usage data. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "PATCH", + "path": "/auditLogs/auditActivityTypes/{auditActivityType-id}", + "operationId": "auditLog_UpdateAuditActivityType", + "previousCompatibleOperationId": "auditLogs.UpdateAuditActivityTypes", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Audit event type definitions, not credential or print usage data. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "DELETE", + "path": "/auditLogs/auditActivityTypes/{auditActivityType-id}", + "operationId": "auditLog_DeleteAuditActivityType", + "previousCompatibleOperationId": "auditLogs.DeleteAuditActivityTypes", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Audit event type definitions, not credential or print usage data. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "POST", + "path": "/auditLogs/signInEventsAppSummary", + "operationId": "auditLog_CreateSignInEventsAppSummary", + "previousCompatibleOperationId": "auditLogs.CreateSignInEventsAppSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Application sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "PATCH", + "path": "/auditLogs/signInEventsAppSummary/{signInEventsAppActivity-appId}", + "operationId": "auditLog_UpdateSignInEventsAppSummary", + "previousCompatibleOperationId": "auditLogs.UpdateSignInEventsAppSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Application sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "DELETE", + "path": "/auditLogs/signInEventsAppSummary/{signInEventsAppActivity-appId}", + "operationId": "auditLog_DeleteSignInEventsAppSummary", + "previousCompatibleOperationId": "auditLogs.DeleteSignInEventsAppSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Application sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "POST", + "path": "/auditLogs/signInEventsSummary", + "operationId": "auditLog_CreateSignInEventsSummary", + "previousCompatibleOperationId": "auditLogs.CreateSignInEventsSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Daily sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "PATCH", + "path": "/auditLogs/signInEventsSummary/{signInEventsActivity-id}", + "operationId": "auditLog_UpdateSignInEventsSummary", + "previousCompatibleOperationId": "auditLogs.UpdateSignInEventsSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Daily sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "DELETE", + "path": "/auditLogs/signInEventsSummary/{signInEventsActivity-id}", + "operationId": "auditLog_DeleteSignInEventsSummary", + "previousCompatibleOperationId": "auditLogs.DeleteSignInEventsSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Daily sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "PATCH", + "path": "/reports/azureADPremiumLicenseInsight", + "operationId": "report_UpdateAzureADPremiumLicenseInsight", + "previousCompatibleOperationId": "reports.UpdateAzureADPremiumLicenseInsight", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Premium license entitlement and P1/P2 utilization, not the removed credential detail reports. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "DELETE", + "path": "/reports/azureADPremiumLicenseInsight", + "operationId": "report_DeleteAzureADPremiumLicenseInsight", + "previousCompatibleOperationId": "reports.DeleteAzureADPremiumLicenseInsight", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Premium license entitlement and P1/P2 utilization, not the removed credential detail reports. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "PATCH", + "path": "/reports/correlations/{identityCorrelation-id}", + "operationId": "report_UpdateCorrelation", + "previousCompatibleOperationId": "reports.UpdateCorrelations", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Identity correlation resource, not a credential detail or print usage summary successor. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "DELETE", + "path": "/reports/correlations/{identityCorrelation-id}", + "operationId": "report_DeleteCorrelation", + "previousCompatibleOperationId": "reports.DeleteCorrelations", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Identity correlation resource, not a credential detail or print usage summary successor. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "PATCH", + "path": "/reports/identityAnalytics", + "operationId": "report_UpdateIdentityAnalytic", + "previousCompatibleOperationId": "reports.UpdateIdentityAnalytics", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Tenant identity analytics root, not a credential detail or print usage summary successor. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "DELETE", + "path": "/reports/identityAnalytics", + "operationId": "report_DeleteIdentityAnalytic", + "previousCompatibleOperationId": "reports.DeleteIdentityAnalytics", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Tenant identity analytics root, not a credential detail or print usage summary successor. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "PATCH", + "path": "/reports/microsoftAppsFileStorageContainerUsageSummary", + "operationId": "report_UpdateMicrosoftAppsFileStorageContainerUsageSummary", + "previousCompatibleOperationId": "reports.UpdateMicrosoftAppsFileStorageContainerUsageSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. SharePoint Embedded container storage usage, not the removed printer/user print usage summaries. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "DELETE", + "path": "/reports/microsoftAppsFileStorageContainerUsageSummary", + "operationId": "report_DeleteMicrosoftAppsFileStorageContainerUsageSummary", + "previousCompatibleOperationId": "reports.DeleteMicrosoftAppsFileStorageContainerUsageSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. SharePoint Embedded container storage usage, not the removed printer/user print usage summaries. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + } + ] + } } } }, @@ -892,12 +1608,12 @@ { "method": "GET", "path": "/reports/managedDeviceEnrollmentTopFailures()", - "operationId": "reports.managedDeviceEnrollmentTopFailures-9ce7" + "operationId": "report_managedDeviceEnrollmentTopFailure" }, { "method": "GET", "path": "/reports/managedDeviceEnrollmentTopFailures(period='{period}')", - "operationId": "reports.managedDeviceEnrollmentTopFailures-2157" + "operationId": "report_managedDeviceEnrollmentTopFailure" } ] }, @@ -907,12 +1623,12 @@ { "method": "GET", "path": "/reports/managedDeviceEnrollmentTopFailures()", - "operationId": "reports.managedDeviceEnrollmentTopFailures-9ce7" + "operationId": "report_managedDeviceEnrollmentTopFailure" }, { "method": "GET", "path": "/reports/managedDeviceEnrollmentTopFailures(period='{period}')", - "operationId": "reports.managedDeviceEnrollmentTopFailures-2157" + "operationId": "report_managedDeviceEnrollmentTopFailure" } ] } @@ -924,7 +1640,7 @@ "classification": "SubjectAndVerbRename", "sourceContains": "subject: ^(Device)Report(.*)$", "implementation": "StructuralNaming", - "notes": "The published Device variants map to reports.deviceConfigurationDeviceActivity and reports.deviceConfigurationUserActivity. Their compatible function routes structurally supply Get and ReportDeviceConfiguration*Activity in both profiles; no override is required.", + "notes": "The published Device variants map to report_deviceConfigurationDeviceActivity and report_deviceConfigurationUserActivity. Their compatible function routes structurally supply Get and ReportDeviceConfiguration*Activity in both profiles; no override is required.", "profiles": { "v1.0": { "absenceExpected": false, @@ -932,12 +1648,12 @@ { "method": "GET", "path": "/reports/deviceConfigurationDeviceActivity()", - "operationId": "reports.deviceConfigurationDeviceActivity" + "operationId": "report_deviceConfigurationDeviceActivity" }, { "method": "GET", "path": "/reports/deviceConfigurationUserActivity()", - "operationId": "reports.deviceConfigurationUserActivity" + "operationId": "report_deviceConfigurationUserActivity" } ] }, @@ -947,12 +1663,12 @@ { "method": "GET", "path": "/reports/deviceConfigurationDeviceActivity()", - "operationId": "reports.deviceConfigurationDeviceActivity" + "operationId": "report_deviceConfigurationDeviceActivity" }, { "method": "GET", "path": "/reports/deviceConfigurationUserActivity()", - "operationId": "reports.deviceConfigurationUserActivity" + "operationId": "report_deviceConfigurationUserActivity" } ] } @@ -972,12 +1688,12 @@ { "method": "GET", "path": "/reports/managedDeviceEnrollmentFailureDetails()", - "operationId": "reports.managedDeviceEnrollmentFailureDetails-8191" + "operationId": "report_managedDeviceEnrollmentFailureDetail" }, { "method": "GET", "path": "/reports/managedDeviceEnrollmentFailureDetails(skip={skip},top={top},filter='{filter}',skipToken='{skipToken}')", - "operationId": "reports.managedDeviceEnrollmentFailureDetails-aa46" + "operationId": "report_managedDeviceEnrollmentFailureDetail" } ] }, @@ -987,17 +1703,17 @@ { "method": "GET", "path": "/reports/managedDeviceEnrollmentAbandonmentDetails(skip={skip},top={top},filter='{filter}',skipToken='{skipToken}')", - "operationId": "reports.managedDeviceEnrollmentAbandonmentDetails" + "operationId": "report_managedDeviceEnrollmentAbandonmentDetail" }, { "method": "GET", "path": "/reports/managedDeviceEnrollmentFailureDetails()", - "operationId": "reports.managedDeviceEnrollmentFailureDetails-8191" + "operationId": "report_managedDeviceEnrollmentFailureDetail" }, { "method": "GET", "path": "/reports/managedDeviceEnrollmentFailureDetails(skip={skip},top={top},filter='{filter}',skipToken='{skipToken}')", - "operationId": "reports.managedDeviceEnrollmentFailureDetails-aa46" + "operationId": "report_managedDeviceEnrollmentFailureDetail" } ] } @@ -1021,12 +1737,12 @@ { "method": "GET", "path": "/reports/managedDeviceEnrollmentAbandonmentSummary(skip={skip},top={top},filter='{filter}',skipToken='{skipToken}')", - "operationId": "reports.managedDeviceEnrollmentAbandonmentSummary" + "operationId": "report_managedDeviceEnrollmentAbandonmentSummary" }, { "method": "GET", "path": "/reports/managedDeviceEnrollmentFailureTrends()", - "operationId": "reports.managedDeviceEnrollmentFailureTrends" + "operationId": "report_managedDeviceEnrollmentFailureTrend" } ] } @@ -1050,27 +1766,27 @@ { "method": "GET", "path": "/reports/applicationSignInDetailedSummary", - "operationId": "reports.ListApplicationSignInDetailedSummary" + "operationId": "report_ListApplicationSignInDetailedSummary" }, { "method": "POST", "path": "/reports/applicationSignInDetailedSummary", - "operationId": "reports.CreateApplicationSignInDetailedSummary" + "operationId": "report_CreateApplicationSignInDetailedSummary" }, { "method": "GET", "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", - "operationId": "reports.GetApplicationSignInDetailedSummary" + "operationId": "report_GetApplicationSignInDetailedSummary" }, { "method": "PATCH", "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", - "operationId": "reports.UpdateApplicationSignInDetailedSummary" + "operationId": "report_UpdateApplicationSignInDetailedSummary" }, { "method": "DELETE", "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", - "operationId": "reports.DeleteApplicationSignInDetailedSummary" + "operationId": "report_DeleteApplicationSignInDetailedSummary" } ] } @@ -1094,7 +1810,7 @@ { "method": "GET", "path": "/reports/getAzureADApplicationSignInSummary(period='{period}')", - "operationId": "reports.getAzureADApplicationSignInSummary" + "operationId": "report_getAzureADApplicationSignInSummary" } ] } diff --git a/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs b/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs index a264daa158a..a61d05e30fb 100644 --- a/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs +++ b/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs @@ -31,24 +31,45 @@ private sealed record FunctionCase(string Path, string OperationId, string Noun) }; [Theory] - [InlineData("v1.0", false, 34, 0)] - [InlineData("v1.0", true, 34, 0)] - [InlineData("beta", false, 66, 18)] - [InlineData("beta", true, 66, 18)] + [InlineData("v1.0", false, 34, 0, 0)] + [InlineData("v1.0", true, 34, 0, 0)] + [InlineData("beta", false, 66, 18, 17)] + [InlineData("beta", true, 66, 18, 17)] public void SuppressionAccountsForEveryActualLegacyMatch( - string profile, bool useCollisionData, int survivorCount, int removedCount) + string profile, bool useCollisionData, int survivorCount, int removedCount, int additionalCount) { var current = Specs[profile].Value; var legacy = ReadSpec("openApiDocs", profile); var mapping = Mapping(2).GetProperty("profiles").GetProperty(profile); - Assert.Equal("Legacy", mapping.GetProperty("operationIdSource").GetString()); + Assert.False(mapping.TryGetProperty("operationIdSource", out _)); Assert.False(mapping.GetProperty("absenceExpected").GetBoolean()); var config = new GeneratorConfig("Test.Client", "unused", profile, useCollisionData); var accounted = new HashSet(StringComparer.Ordinal); - var survivors = mapping.GetProperty("operations").EnumerateArray().ToArray(); - var removed = mapping.GetProperty("removedLegacyOperations").EnumerateArray().ToArray(); + var sourceReview = mapping.GetProperty("sourceReview"); + var survivors = sourceReview.GetProperty("survivingLegacyOperations").EnumerateArray().ToArray(); + var removed = sourceReview.GetProperty("removedLegacyOperations").EnumerateArray().ToArray(); + var additional = sourceReview.GetProperty("additionalCurrentOperations").EnumerateArray().ToArray(); + var candidates = mapping.GetProperty("operations").EnumerateArray().ToArray(); Assert.Equal(survivorCount, survivors.Length); Assert.Equal(removedCount, removed.Length); + Assert.Equal(additionalCount, additional.Length); + Assert.Equal(survivorCount + removedCount, sourceReview.GetProperty("legacyMatchCount").GetInt32()); + Assert.Equal(survivorCount + additionalCount, candidates.Length); + var currentKeys = new HashSet(StringComparer.Ordinal); + foreach (var entry in candidates) + { + var method = new HttpMethod(Text(entry, "method")); + var path = Text(entry, "path"); + var operationId = Text(entry, "operationId"); + Assert.Equal(operationId, current.Paths[path].Operations![method].OperationId); + Assert.Matches(LegacySuppression, operationId); + Assert.True(currentKeys.Add($"{method} {path}")); + Assert.True(CmdletConfigurator.IsSuppressed(method, path, config)); + } + var literalMatches = current.Paths.SelectMany(path => path.Value.Operations! + .Where(operation => Regex.IsMatch(operation.Value.OperationId!, LegacySuppression)) + .Select(operation => $"{operation.Key} {path.Key}")); + Assert.True(currentKeys.SetEquals(literalMatches), "The current ledger must cover exactly the unchanged literal regex."); foreach (var entry in survivors) { @@ -61,6 +82,7 @@ public void SuppressionAccountsForEveryActualLegacyMatch( Assert.Matches(LegacySuppression, legacyId); Assert.Equal(CmdletConfigurator.NormalizePathTemplate(legacyPath), CmdletConfigurator.NormalizePathTemplate(path)); Assert.True(accounted.Add($"{method} {legacyPath} {legacyId}")); + Assert.Contains($"{method} {path}", currentKeys); Assert.True(CmdletConfigurator.IsSuppressed(method, path, config), $"{profile}: {method} {path}"); } @@ -84,6 +106,57 @@ public void SuppressionAccountsForEveryActualLegacyMatch( Assert.True(accounted.SetEquals(expected), "The ledger must account for the complete source regex set."); } + [Theory] + [InlineData(false)] + [InlineData(true)] + public void AdditionalBetaMatchesAreExactlyReviewedResourceMutationsNotSuccessorsOrOverloads(bool useCollisionData) + { + var spec = Specs["beta"].Value; + var legacy = ReadSpec("openApiDocs", "beta"); + var review = Mapping(2).GetProperty("profiles").GetProperty("beta").GetProperty("sourceReview"); + var additions = review.GetProperty("additionalCurrentOperations").EnumerateArray().ToArray(); + var expected = new HashSet(StringComparer.Ordinal) + { + "POST /auditLogs/auditActivityTypes", + "PATCH /auditLogs/auditActivityTypes/{auditActivityType-id}", + "DELETE /auditLogs/auditActivityTypes/{auditActivityType-id}", + "POST /auditLogs/signInEventsAppSummary", + "PATCH /auditLogs/signInEventsAppSummary/{signInEventsAppActivity-appId}", + "DELETE /auditLogs/signInEventsAppSummary/{signInEventsAppActivity-appId}", + "POST /auditLogs/signInEventsSummary", + "PATCH /auditLogs/signInEventsSummary/{signInEventsActivity-id}", + "DELETE /auditLogs/signInEventsSummary/{signInEventsActivity-id}", + "PATCH /reports/azureADPremiumLicenseInsight", + "DELETE /reports/azureADPremiumLicenseInsight", + "PATCH /reports/correlations/{identityCorrelation-id}", + "DELETE /reports/correlations/{identityCorrelation-id}", + "PATCH /reports/identityAnalytics", + "DELETE /reports/identityAnalytics", + "PATCH /reports/microsoftAppsFileStorageContainerUsageSummary", + "DELETE /reports/microsoftAppsFileStorageContainerUsageSummary", + }; + Assert.Equal(17, additions.Length); + Assert.True(expected.SetEquals(additions.Select(entry => $"{Text(entry, "method")} {Text(entry, "path")}"))); + var config = new GeneratorConfig("Test.Client", "unused", "beta", useCollisionData); + foreach (var entry in additions) + { + var method = new HttpMethod(Text(entry, "method")); + var path = Text(entry, "path"); + Assert.DoesNotContain("(", path, StringComparison.Ordinal); + Assert.DoesNotContain(legacy.Paths, candidate => + CmdletConfigurator.NormalizePathTemplate(candidate.Key) == CmdletConfigurator.NormalizePathTemplate(path) + && candidate.Value.Operations!.ContainsKey(method)); + var operation = spec.Paths[path].Operations![method]; + var kind = Assert.IsType(operation.Extensions!["x-ms-docs-operation-type"]); + Assert.Equal("operation", kind.Node!.ToString().Trim('"')); + Assert.False(string.IsNullOrWhiteSpace(Text(entry, "previousCompatibleOperationId"))); + Assert.Contains("Not an action/function, argument overload, or inferred replacement", Text(entry, "notes"), StringComparison.Ordinal); + Assert.True(CmdletConfigurator.IsSuppressed(method, path, config)); + Assert.True(spec.Paths[path].Operations!.ContainsKey(HttpMethod.Get)); + Assert.False(CmdletConfigurator.IsSuppressed(HttpMethod.Get, path, config)); + } + } + [Theory] [InlineData("v1.0", false)] [InlineData("v1.0", true)] @@ -111,9 +184,13 @@ public void NeighboringReadsNestedMutationsAndReportsOwnedActionsRemain(string p [ .. neighbors, (HttpMethod.Post, "/deviceManagement/reports/getCertificatesReport"), - (HttpMethod.Post, "/auditLogs/auditActivityTypes"), - (HttpMethod.Patch, "/reports/azureADPremiumLicenseInsight"), - (HttpMethod.Delete, "/reports/correlations/{identityCorrelation-id}"), + (HttpMethod.Get, "/auditLogs/auditActivityTypes"), + (HttpMethod.Get, "/auditLogs/signInEventsAppSummary"), + (HttpMethod.Get, "/auditLogs/signInEventsSummary"), + (HttpMethod.Get, "/reports/azureADPremiumLicenseInsight"), + (HttpMethod.Get, "/reports/correlations/{identityCorrelation-id}"), + (HttpMethod.Get, "/reports/identityAnalytics"), + (HttpMethod.Get, "/reports/microsoftAppsFileStorageContainerUsageSummary"), (HttpMethod.Get, "/reports/applicationSignInDetailedSummary"), (HttpMethod.Get, "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}"), (HttpMethod.Get, "/reports/applicationSignInDetailedSummary/$count"), @@ -201,18 +278,18 @@ public void ApplicationSummaryRenameKeepsStructuralGetAndCountNames(bool useColl private static IEnumerable FunctionCases(string profile) { - yield return new("/reports/deviceConfigurationDeviceActivity()", "reports.deviceConfigurationDeviceActivity", "ReportDeviceConfigurationDeviceActivity"); - yield return new("/reports/deviceConfigurationUserActivity()", "reports.deviceConfigurationUserActivity", "ReportDeviceConfigurationUserActivity"); - yield return new("/reports/managedDeviceEnrollmentTopFailures()", "reports.managedDeviceEnrollmentTopFailures-9ce7", "ReportManagedDeviceEnrollmentTopFailure"); - yield return new("/reports/managedDeviceEnrollmentTopFailures(period='{period}')", "reports.managedDeviceEnrollmentTopFailures-2157", "ReportManagedDeviceEnrollmentTopFailureWithPeriod"); - yield return new("/reports/managedDeviceEnrollmentFailureDetails()", "reports.managedDeviceEnrollmentFailureDetails-8191", "ReportManagedDeviceEnrollmentFailureDetail"); - yield return new("/reports/managedDeviceEnrollmentFailureDetails" + FailureArguments, "reports.managedDeviceEnrollmentFailureDetails-aa46", "ReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken"); + yield return new("/reports/deviceConfigurationDeviceActivity()", "report_deviceConfigurationDeviceActivity", "ReportDeviceConfigurationDeviceActivity"); + yield return new("/reports/deviceConfigurationUserActivity()", "report_deviceConfigurationUserActivity", "ReportDeviceConfigurationUserActivity"); + yield return new("/reports/managedDeviceEnrollmentTopFailures()", "report_managedDeviceEnrollmentTopFailure", "ReportManagedDeviceEnrollmentTopFailure"); + yield return new("/reports/managedDeviceEnrollmentTopFailures(period='{period}')", "report_managedDeviceEnrollmentTopFailure", "ReportManagedDeviceEnrollmentTopFailureWithPeriod"); + yield return new("/reports/managedDeviceEnrollmentFailureDetails()", "report_managedDeviceEnrollmentFailureDetail", "ReportManagedDeviceEnrollmentFailureDetail"); + yield return new("/reports/managedDeviceEnrollmentFailureDetails" + FailureArguments, "report_managedDeviceEnrollmentFailureDetail", "ReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken"); if (profile != "beta") yield break; - yield return new("/reports/managedDeviceEnrollmentAbandonmentDetails" + FailureArguments, "reports.managedDeviceEnrollmentAbandonmentDetails", "ReportManagedDeviceEnrollmentAbandonmentDetail"); - yield return new("/reports/managedDeviceEnrollmentAbandonmentSummary" + FailureArguments, "reports.managedDeviceEnrollmentAbandonmentSummary", "ReportManagedDeviceEnrollmentAbandonmentSummary"); - yield return new("/reports/managedDeviceEnrollmentFailureTrends()", "reports.managedDeviceEnrollmentFailureTrends", "ReportManagedDeviceEnrollmentFailureTrend"); - yield return new("/reports/getAzureADApplicationSignInSummary(period='{period}')", "reports.getAzureADApplicationSignInSummary", "ReportAzureAdApplicationSignInSummary"); + yield return new("/reports/managedDeviceEnrollmentAbandonmentDetails" + FailureArguments, "report_managedDeviceEnrollmentAbandonmentDetail", "ReportManagedDeviceEnrollmentAbandonmentDetail"); + yield return new("/reports/managedDeviceEnrollmentAbandonmentSummary" + FailureArguments, "report_managedDeviceEnrollmentAbandonmentSummary", "ReportManagedDeviceEnrollmentAbandonmentSummary"); + yield return new("/reports/managedDeviceEnrollmentFailureTrends()", "report_managedDeviceEnrollmentFailureTrend", "ReportManagedDeviceEnrollmentFailureTrend"); + yield return new("/reports/getAzureADApplicationSignInSummary(period='{period}')", "report_getAzureADApplicationSignInSummary", "ReportAzureAdApplicationSignInSummary"); } private static JsonElement Mapping(int index) From fd5d6a3e2f89d18cc67f30521598769b2f41adde Mon Sep 17 00:00:00 2001 From: Ramses Sanchez Hernandez Date: Tue, 27 Oct 2026 12:04:56 -0700 Subject: [PATCH 05/13] Refresh Reports v1.0 generation on current compatible spec Run the full queued Release pipeline on target abab9dac88 with Kiota 1.36.1 and Authentication 2.38.1. Import 217 exports; verify 34 suppressed routes, six migrated function names, and nine unchanged neighbors. All client/cmdlet/project sources are byte-identical; only the full regeneration lock hash changes, preserving the combined profile boundary. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- src/Reports/wrapper/v1.0/Client/kiota-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Reports/wrapper/v1.0/Client/kiota-lock.json b/src/Reports/wrapper/v1.0/Client/kiota-lock.json index 2e873040526..3b65f1de6df 100644 --- a/src/Reports/wrapper/v1.0/Client/kiota-lock.json +++ b/src/Reports/wrapper/v1.0/Client/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "8DCF74D4A8B585268FDC2A62513B7C50D7381F51365F1C81C6FD8065EB3991AEA78AF3507D71D49BB66E466712066C1F143E9D77CC6EE8E6ADDB4FABA3F2E8A8", + "descriptionHash": "F204B21F2754F469F53872907F3EB0190B8574791C8A680C74A8DD51AE2014A4C94235B56393496E9C9C2403D1373F58FE124718143FAB799FE646DBF3EBE9F8", "descriptionLocation": "../../../../../openApiDocs_KiotaCompat/v1.0/Reports.yml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.36.1", From 6a5848ab486bf2c62b28197ff146de9c41aa7e36 Mon Sep 17 00:00:00 2001 From: Ramses Sanchez Hernandez Date: Tue, 27 Oct 2026 12:06:14 -0700 Subject: [PATCH 06/13] Refresh Reports beta client and cmdlets on current compatible spec Run full queued Release generation with Kiota 1.36.1 cap 1 and Authentication 2.38.1 against target abab9dac88. Import 520 exports and verify 83 exact shared suppressions, ten migrated functions and twenty unaffected neighbors. Include freshly regenerated client, cmdlets and locks together; preserve Beta casing and normalize two generator-emitted trailing spaces. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../ApiUsageReportMetricsRequestBuilder.cs | 6 +- .../Beta/Client/Models/ApiApplication.cs | 2 +- .../Models/ApiUsageReportEnablementStatus.cs | 2 +- .../wrapper/Beta/Client/Models/Application.cs | 2 +- .../wrapper/Beta/Client/Models/Entity.cs | 9 + .../IdentityGovernance/ComplianceIssue.cs | 86 +++++++ .../IdentityGovernance/IdentityLifecycle.cs | 70 ++++++ .../IdentityGovernance/LifecyclePolicy.cs | 170 +++++++++++++ .../LifecyclePolicyComplianceStatus.cs | 28 +++ .../LifecyclePolicyEnforcementAction.cs | 65 +++++ .../LifecyclePolicyEnforcementActionState.cs | 52 ++++ .../LifecyclePolicyEnforcementStatus.cs | 44 ++++ .../LifecyclePolicyNextEnforcementAction.cs | 44 ++++ .../LifecyclePolicyNotificationSettings.cs | 85 +++++++ .../LifecyclePolicyReference.cs | 79 ++++++ .../LifecyclePolicyRelationship.cs | 28 +++ .../LifecyclePolicyReport.cs | 74 ++++++ .../IdentityGovernance/LifecyclePolicyRule.cs | 50 ++++ .../LifecyclePolicyScopeProcessing.cs | 87 +++++++ .../LifecyclePolicyScopeProcessingAttempt.cs | 87 +++++++ ...cyclePolicyScopeProcessingAttemptStatus.cs | 44 ++++ .../LifecyclePolicyScopeProcessingStatus.cs | 32 +++ .../LifecyclePolicySource.cs | 24 ++ .../LifecyclePolicySubjectCompliance.cs | 73 ++++++ .../LifecyclePolicySubjectEnforcement.cs | 93 +++++++ .../LifecyclePolicySubjectReference.cs | 75 ++++++ .../LifecyclePolicySubjectReport.cs | 90 +++++++ .../Client/Models/OnPremisesPublishing.cs | 2 +- .../Partners/Billing/AzureAggregatedUsage.cs | 56 +++++ .../Partners/Billing/BilledAggregatedUsage.cs | 46 ++++ .../Client/Models/Partners/Billing/Billing.cs | 10 + .../wrapper/Beta/Client/Models/PublicError.cs | 115 +++++++++ .../Beta/Client/Models/PublicErrorDetail.cs | 95 +++++++ .../Beta/Client/Models/PublicInnerError.cs | 105 ++++++++ .../wrapper/Beta/Client/Models/RiskDetail.cs | 8 + .../Beta/Client/Models/ServicePrincipal.cs | 15 +- .../wrapper/Beta/Client/Models/SubjectSet.cs | 65 +++++ ...AppIdreportTypeReportTypeRequestBuilder.cs | 4 +- .../AggregatedUsageRequestBuilder.cs | 235 ++++++++++++++++++ .../Billed/BilledRequestBuilder.cs | 235 ++++++++++++++++++ .../ExportPostRequestBody.cs | 65 +++++ ...raphPartnersBillingExportRequestBuilder.cs | 104 ++++++++ .../Partners/Billing/BillingRequestBuilder.cs | 6 + .../wrapper/Beta/Client/kiota-lock.json | 2 +- ...MgReportPartnerBillingAggregatedUsage.g.cs | 64 +++++ ...rtPartnerBillingAggregatedUsageBilled.g.cs | 64 +++++ ...nerBillingAggregatedUsageBilledExport.g.cs | 64 +++++ .../NewMgAuditLogAuditActivityType.g.cs | 76 ------ .../NewMgAuditLogSignInEventAppSummary.g.cs | 80 ------ .../NewMgAuditLogSignInEventSummary.g.cs | 70 ------ .../RemoveMgAuditLogAuditActivityType.g.cs | 56 ----- ...RemoveMgAuditLogSignInEventAppSummary.g.cs | 56 ----- .../RemoveMgAuditLogSignInEventSummary.g.cs | 56 ----- .../Cmdlets/RemoveMgReportCorrelation.g.cs | 56 ----- ...ftAppFileStorageContainerUsageSummary.g.cs | 55 ---- ...gReportPartnerBillingAggregatedUsage.g.cs} | 8 +- ...tPartnerBillingAggregatedUsageBilled.g.cs} | 8 +- .../UpdateMgAuditLogAuditActivityType.g.cs | 92 ------- ...UpdateMgAuditLogSignInEventAppSummary.g.cs | 96 ------- .../UpdateMgAuditLogSignInEventSummary.g.cs | 86 ------- ...eMgReportAzureADPremiumLicenseInsight.g.cs | 113 --------- .../Cmdlets/UpdateMgReportCorrelation.g.cs | 96 ------- .../Cmdlets/UpdateMgReportPartnerBilling.g.cs | 6 + ...gReportPartnerBillingAggregatedUsage.g.cs} | 20 +- ...tPartnerBillingAggregatedUsageBilled.g.cs} | 16 +- 65 files changed, 2883 insertions(+), 1024 deletions(-) create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/ComplianceIssue.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/IdentityLifecycle.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicy.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyComplianceStatus.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyEnforcementAction.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyEnforcementActionState.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyEnforcementStatus.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyNextEnforcementAction.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyNotificationSettings.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyReference.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyRelationship.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyReport.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyRule.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessing.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttempt.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttemptStatus.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessingStatus.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySource.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectCompliance.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectEnforcement.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectReference.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectReport.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/Partners/Billing/AzureAggregatedUsage.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/Partners/Billing/BilledAggregatedUsage.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/PublicError.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/PublicErrorDetail.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/PublicInnerError.cs create mode 100644 src/Reports/wrapper/Beta/Client/Models/SubjectSet.cs create mode 100644 src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/AggregatedUsageRequestBuilder.cs create mode 100644 src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/Billed/BilledRequestBuilder.cs create mode 100644 src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/ExportPostRequestBody.cs create mode 100644 src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/MicrosoftGraphPartnersBillingExportRequestBuilder.cs create mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsage.g.cs create mode 100644 src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsageBilled.g.cs create mode 100644 src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingAggregatedUsageBilledExport.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogAuditActivityType.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignInEventAppSummary.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignInEventSummary.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogAuditActivityType.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignInEventAppSummary.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignInEventSummary.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportCorrelation.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs rename src/Reports/wrapper/Beta/Cmdlets/{RemoveMgReportIdentityAnalytic.g.cs => RemoveMgReportPartnerBillingAggregatedUsage.g.cs} (79%) rename src/Reports/wrapper/Beta/Cmdlets/{RemoveMgReportAzureADPremiumLicenseInsight.g.cs => RemoveMgReportPartnerBillingAggregatedUsageBilled.g.cs} (78%) delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogAuditActivityType.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignInEventAppSummary.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignInEventSummary.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAzureADPremiumLicenseInsight.g.cs delete mode 100644 src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCorrelation.g.cs rename src/Reports/wrapper/Beta/Cmdlets/{UpdateMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs => UpdateMgReportPartnerBillingAggregatedUsage.g.cs} (63%) rename src/Reports/wrapper/Beta/Cmdlets/{UpdateMgReportIdentityAnalytic.g.cs => UpdateMgReportPartnerBillingAggregatedUsageBilled.g.cs} (69%) diff --git a/src/Reports/wrapper/Beta/Client/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs index 05b9ea419f8..7eb69d6e9bb 100644 --- a/src/Reports/wrapper/Beta/Client/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs +++ b/src/Reports/wrapper/Beta/Client/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs @@ -54,7 +54,7 @@ public ApiUsageReportMetricsRequestBuilder(string rawUrl, IRequestAdapter reques { } /// - /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport. + /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport. /// Find more info here /// /// A @@ -103,7 +103,7 @@ public ApiUsageReportMetricsRequestBuilder(string rawUrl, IRequestAdapter reques return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.ApiUsageReportEnablementStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport. + /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Power return new global::Microsoft.Graph.PowerShell.Reports.Client.Admin.ReportSettings.SharePoint.ApiUsageReportMetrics.ApiUsageReportMetricsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport. + /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ApiUsageReportMetricsRequestBuilderGetQueryParameters diff --git a/src/Reports/wrapper/Beta/Client/Models/ApiApplication.cs b/src/Reports/wrapper/Beta/Client/Models/ApiApplication.cs index 7e661fb36e1..b23e394a177 100644 --- a/src/Reports/wrapper/Beta/Client/Models/ApiApplication.cs +++ b/src/Reports/wrapper/Beta/Client/Models/ApiApplication.cs @@ -24,7 +24,7 @@ public partial class ApiApplication : IAdditionalDataHolder, IParsable #else public List KnownClientApplications { get; set; } #endif - /// The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes. + /// The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes. These scopes and the application's appRoles share a default limit of 700 permission definitions per application. Enabled and disabled definitions both count. For counting rules, behavior for existing objects above the limit, and design guidance, see App role limits. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Oauth2PermissionScopes { get; set; } diff --git a/src/Reports/wrapper/Beta/Client/Models/ApiUsageReportEnablementStatus.cs b/src/Reports/wrapper/Beta/Client/Models/ApiUsageReportEnablementStatus.cs index 747b5902010..c9690ed69d9 100644 --- a/src/Reports/wrapper/Beta/Client/Models/ApiUsageReportEnablementStatus.cs +++ b/src/Reports/wrapper/Beta/Client/Models/ApiUsageReportEnablementStatus.cs @@ -14,7 +14,7 @@ public partial class ApiUsageReportEnablementStatus : IAdditionalDataHolder, IPa { /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. public IDictionary AdditionalData { get; set; } - /// The name of the API usage report metric. The supported values are: egressReport, throttlingReport. + /// The name of the API usage report metric. The supported values are: egressReport, sharePointServicePrioritizationReport, throttlingReport. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Metric { get; set; } diff --git a/src/Reports/wrapper/Beta/Client/Models/Application.cs b/src/Reports/wrapper/Beta/Client/Models/Application.cs index 07e5bba7bee..b2b1ac0014d 100644 --- a/src/Reports/wrapper/Beta/Client/Models/Application.cs +++ b/src/Reports/wrapper/Beta/Client/Models/Application.cs @@ -36,7 +36,7 @@ public partial class Application : global::Microsoft.Graph.PowerShell.Reports.Cl #else public List AppManagementPolicies { get; set; } #endif - /// The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable. + /// The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable. App roles and exposed delegated permission scopes (api.oauth2PermissionScopes) share a default limit of 700 permission definitions per application. Enabled and disabled definitions both count. This limit is separate from the aggregate 1,200-entry application manifest limit and from app role assignment limits. For counting rules, behavior for existing objects above the limit, and design guidance, see App role limits. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AppRoles { get; set; } diff --git a/src/Reports/wrapper/Beta/Client/Models/Entity.cs b/src/Reports/wrapper/Beta/Client/Models/Entity.cs index 0ff8c8ca6f8..48671d37ce3 100644 --- a/src/Reports/wrapper/Beta/Client/Models/Entity.cs +++ b/src/Reports/wrapper/Beta/Client/Models/Entity.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.PowerShell.Reports.Client.Models.HealthMonitoring; +using Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance; using Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing; using Microsoft.Graph.PowerShell.Reports.Client.Models.Partners; using Microsoft.Kiota.Abstractions.Extensions; @@ -96,6 +97,12 @@ public Entity() "#microsoft.graph.homeRealmDiscoveryPolicy" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.HomeRealmDiscoveryPolicy(), "#microsoft.graph.identityAnalyticsRoot" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityAnalyticsRoot(), "#microsoft.graph.identityCorrelation" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityCorrelation(), + "#microsoft.graph.identityGovernance.complianceIssue" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.ComplianceIssue(), + "#microsoft.graph.identityGovernance.identityLifecycle" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.IdentityLifecycle(), + "#microsoft.graph.identityGovernance.lifecyclePolicy" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicy(), + "#microsoft.graph.identityGovernance.lifecyclePolicyReport" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyReport(), + "#microsoft.graph.identityGovernance.lifecyclePolicyRule" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyRule(), + "#microsoft.graph.identityGovernance.lifecyclePolicySubjectReport" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectReport(), "#microsoft.graph.inactiveUsersByApplicationMetricBase" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.InactiveUsersByApplicationMetricBase(), "#microsoft.graph.inactiveUsersMetricBase" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.InactiveUsersMetricBase(), "#microsoft.graph.insightSummary" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.InsightSummary(), @@ -118,7 +125,9 @@ public Entity() "#microsoft.graph.office365GroupsActivityStorage" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Office365GroupsActivityStorage(), "#microsoft.graph.office365ServicesUserCounts" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Office365ServicesUserCounts(), "#microsoft.graph.partners" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Partners(), + "#microsoft.graph.partners.billing.azureAggregatedUsage" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage(), "#microsoft.graph.partners.billing.azureUsage" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureUsage(), + "#microsoft.graph.partners.billing.billedAggregatedUsage" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage(), "#microsoft.graph.partners.billing.billedReconciliation" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledReconciliation(), "#microsoft.graph.partners.billing.billedUsage" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledUsage(), "#microsoft.graph.partners.billing.billing" => new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Billing(), diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/ComplianceIssue.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/ComplianceIssue.cs new file mode 100644 index 00000000000..8b88088b05a --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/ComplianceIssue.cs @@ -0,0 +1,86 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComplianceIssue : global::Microsoft.Graph.PowerShell.Reports.Client.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// A human-readable description of the compliance issue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description { get; set; } +#nullable restore +#else + public string Description { get; set; } +#endif + /// The identifier of the lifecycle policy that generated the compliance issue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? GoverningPolicyReferenceId { get; set; } +#nullable restore +#else + public string GoverningPolicyReferenceId { get; set; } +#endif + /// A code that identifies the type of compliance issue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IssueCode { get; set; } +#nullable restore +#else + public string IssueCode { get; set; } +#endif + /// The type of rule that generated the compliance issue, so callers can identify which rule caused non-compliance. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RuleType { get; set; } +#nullable restore +#else + public string RuleType { get; set; } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.ComplianceIssue CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.ComplianceIssue(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "description", n => { Description = n.GetStringValue(); } }, + { "governingPolicyReferenceId", n => { GoverningPolicyReferenceId = n.GetStringValue(); } }, + { "issueCode", n => { IssueCode = n.GetStringValue(); } }, + { "ruleType", n => { RuleType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("governingPolicyReferenceId", GoverningPolicyReferenceId); + writer.WriteStringValue("issueCode", IssueCode); + writer.WriteStringValue("ruleType", RuleType); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/IdentityLifecycle.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/IdentityLifecycle.cs new file mode 100644 index 00000000000..4b508ab3c78 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/IdentityLifecycle.cs @@ -0,0 +1,70 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class IdentityLifecycle : global::Microsoft.Graph.PowerShell.Reports.Client.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ComplianceIssues { get; set; } +#nullable restore +#else + public List ComplianceIssues { get; set; } +#endif + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicy? EffectiveGoverningPolicy { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicy EffectiveGoverningPolicy { get; set; } +#endif + /// The date and time when the identity was last attested. This value can be null if the identity hasn't yet been attested. + public DateTimeOffset? LastAttestationDateTime { get; set; } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.IdentityLifecycle CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.IdentityLifecycle(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "complianceIssues", n => { ComplianceIssues = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.ComplianceIssue.CreateFromDiscriminatorValue)?.AsList(); } }, + { "effectiveGoverningPolicy", n => { EffectiveGoverningPolicy = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue); } }, + { "lastAttestationDateTime", n => { LastAttestationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("complianceIssues", ComplianceIssues); + writer.WriteObjectValue("effectiveGoverningPolicy", EffectiveGoverningPolicy); + writer.WriteDateTimeOffsetValue("lastAttestationDateTime", LastAttestationDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicy.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicy.cs new file mode 100644 index 00000000000..84d520c0fb4 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicy.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicy : global::Microsoft.Graph.PowerShell.Reports.Client.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The user or service principal that created the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryObject? CreatedBy { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryObject CreatedBy { get; set; } +#endif + /// The date and time when the policy was created. + public DateTimeOffset? CreatedDateTime { get; set; } + /// The description of the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description { get; set; } +#nullable restore +#else + public string Description { get; set; } +#endif + /// The display name of the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName { get; set; } +#nullable restore +#else + public string DisplayName { get; set; } +#endif + /// The enforcementAction property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyEnforcementAction? EnforcementAction { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyEnforcementAction EnforcementAction { get; set; } +#endif + /// The number of days after an identity becomes non-compliant before the enforcement action is applied. + public int? GracePeriodInDays { get; set; } + /// Indicates whether the policy is enabled and actively evaluated. + public bool? IsEnabled { get; set; } + /// The user or service principal that last modified the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryObject? LastModifiedBy { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryObject LastModifiedBy { get; set; } +#endif + /// The date and time when the policy was last modified. + public DateTimeOffset? LastModifiedDateTime { get; set; } + /// The notification settings for the policy, including the offsets, in days after non-compliance, at which notifications are sent. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyNotificationSettings? NotificationSchedule { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyNotificationSettings NotificationSchedule { get; set; } +#endif + /// The policySource property + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySource? PolicySource { get; set; } + /// The latest processing report for the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyReport? Report { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyReport Report { get; set; } +#endif + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Rules { get; set; } +#nullable restore +#else + public List Rules { get; set; } +#endif + /// The set of subjects that the policy applies to. For example, use an allExcludingGroupsSubjectSet to exclude specific groups from evaluation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.SubjectSet? Scope { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.SubjectSet Scope { get; set; } +#endif + /// The version number of the policy, which increments each time the policy is updated. + public int? VersionNumber { get; set; } + /// The collection of previous versions of the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Versions { get; set; } +#nullable restore +#else + public List Versions { get; set; } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicy(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryObject.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "enforcementAction", n => { EnforcementAction = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyEnforcementAction.CreateFromDiscriminatorValue); } }, + { "gracePeriodInDays", n => { GracePeriodInDays = n.GetIntValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryObject.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "notificationSchedule", n => { NotificationSchedule = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyNotificationSettings.CreateFromDiscriminatorValue); } }, + { "policySource", n => { PolicySource = n.GetEnumValue(); } }, + { "report", n => { Report = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyReport.CreateFromDiscriminatorValue); } }, + { "rules", n => { Rules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyRule.CreateFromDiscriminatorValue)?.AsList(); } }, + { "scope", n => { Scope = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.SubjectSet.CreateFromDiscriminatorValue); } }, + { "versionNumber", n => { VersionNumber = n.GetIntValue(); } }, + { "versions", n => { Versions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("createdBy", CreatedBy); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("enforcementAction", EnforcementAction); + writer.WriteIntValue("gracePeriodInDays", GracePeriodInDays); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteObjectValue("notificationSchedule", NotificationSchedule); + writer.WriteEnumValue("policySource", PolicySource); + writer.WriteObjectValue("report", Report); + writer.WriteCollectionOfObjectValues("rules", Rules); + writer.WriteObjectValue("scope", Scope); + writer.WriteIntValue("versionNumber", VersionNumber); + writer.WriteCollectionOfObjectValues("versions", Versions); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyComplianceStatus.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyComplianceStatus.cs new file mode 100644 index 00000000000..6a54841ddda --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyComplianceStatus.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyComplianceStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notEvaluated")] + #pragma warning disable CS1591 + NotEvaluated, + #pragma warning restore CS1591 + [EnumMember(Value = "compliant")] + #pragma warning disable CS1591 + Compliant, + #pragma warning restore CS1591 + [EnumMember(Value = "nonCompliant")] + #pragma warning disable CS1591 + NonCompliant, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyEnforcementAction.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyEnforcementAction.cs new file mode 100644 index 00000000000..2de7851d75a --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyEnforcementAction.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyEnforcementAction : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyEnforcementAction() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyEnforcementAction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyEnforcementAction(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyEnforcementActionState.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyEnforcementActionState.cs new file mode 100644 index 00000000000..92cfec5d529 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyEnforcementActionState.cs @@ -0,0 +1,52 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyEnforcementActionState + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "warningStateEnabled")] + #pragma warning disable CS1591 + WarningStateEnabled, + #pragma warning restore CS1591 + [EnumMember(Value = "nonComplianceNotificationSent")] + #pragma warning disable CS1591 + NonComplianceNotificationSent, + #pragma warning restore CS1591 + [EnumMember(Value = "firstNotificationSent")] + #pragma warning disable CS1591 + FirstNotificationSent, + #pragma warning restore CS1591 + [EnumMember(Value = "secondNotificationSent")] + #pragma warning disable CS1591 + SecondNotificationSent, + #pragma warning restore CS1591 + [EnumMember(Value = "finalNotificationSent")] + #pragma warning disable CS1591 + FinalNotificationSent, + #pragma warning restore CS1591 + [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 + Disabled, + #pragma warning restore CS1591 + [EnumMember(Value = "deleted")] + #pragma warning disable CS1591 + Deleted, + #pragma warning restore CS1591 + [EnumMember(Value = "complianceRestored")] + #pragma warning disable CS1591 + ComplianceRestored, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyEnforcementStatus.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyEnforcementStatus.cs new file mode 100644 index 00000000000..14fa3fbda44 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyEnforcementStatus.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyEnforcementStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notRequired")] + #pragma warning disable CS1591 + NotRequired, + #pragma warning restore CS1591 + [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 + NotStarted, + #pragma warning restore CS1591 + [EnumMember(Value = "processing")] + #pragma warning disable CS1591 + Processing, + #pragma warning restore CS1591 + [EnumMember(Value = "waiting")] + #pragma warning disable CS1591 + Waiting, + #pragma warning restore CS1591 + [EnumMember(Value = "actionDue")] + #pragma warning disable CS1591 + ActionDue, + #pragma warning restore CS1591 + [EnumMember(Value = "complete")] + #pragma warning disable CS1591 + Complete, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyNextEnforcementAction.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyNextEnforcementAction.cs new file mode 100644 index 00000000000..fbbd07a4c5a --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyNextEnforcementAction.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyNextEnforcementAction + #pragma warning restore CS1591 + { + [EnumMember(Value = "nonComplianceNotification")] + #pragma warning disable CS1591 + NonComplianceNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "firstNotification")] + #pragma warning disable CS1591 + FirstNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "secondNotification")] + #pragma warning disable CS1591 + SecondNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "finalNotification")] + #pragma warning disable CS1591 + FinalNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "disable")] + #pragma warning disable CS1591 + Disable, + #pragma warning restore CS1591 + [EnumMember(Value = "disableNotification")] + #pragma warning disable CS1591 + DisableNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "delete")] + #pragma warning disable CS1591 + Delete, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyNotificationSettings.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyNotificationSettings.cs new file mode 100644 index 00000000000..d46b3458273 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyNotificationSettings.cs @@ -0,0 +1,85 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyNotificationSettings : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// The email addresses used when no targeted notification recipient has a valid email address. These addresses aren't copied on every notification or used alongside a valid targeted recipient. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AdditionalFallbackRecipients { get; set; } +#nullable restore +#else + public List AdditionalFallbackRecipients { get; set; } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// The offsets, in days after an identity becomes non-compliant, at which notifications are sent. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? OffsetsAfterNonComplianceInDays { get; set; } +#nullable restore +#else + public List OffsetsAfterNonComplianceInDays { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyNotificationSettings() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyNotificationSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyNotificationSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "additionalFallbackRecipients", n => { AdditionalFallbackRecipients = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "offsetsAfterNonComplianceInDays", n => { OffsetsAfterNonComplianceInDays = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("additionalFallbackRecipients", AdditionalFallbackRecipients); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfPrimitiveValues("offsetsAfterNonComplianceInDays", OffsetsAfterNonComplianceInDays); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyReference.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyReference.cs new file mode 100644 index 00000000000..9461adfdb7c --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyReference.cs @@ -0,0 +1,79 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyReference : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// The unique identifier of the referenced lifecycle policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Id { get; set; } +#nullable restore +#else + public string Id { get; set; } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// The version of the referenced lifecycle policy. + public int? Version { get; set; } + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyReference() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyReference CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyReference(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "version", n => { Version = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("version", Version); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyRelationship.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyRelationship.cs new file mode 100644 index 00000000000..72b69667b7d --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyRelationship.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyRelationship + #pragma warning restore CS1591 + { + [EnumMember(Value = "effective")] + #pragma warning disable CS1591 + Effective, + #pragma warning restore CS1591 + [EnumMember(Value = "inScopeButIneffective")] + #pragma warning disable CS1591 + InScopeButIneffective, + #pragma warning restore CS1591 + [EnumMember(Value = "pending")] + #pragma warning disable CS1591 + Pending, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyReport.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyReport.cs new file mode 100644 index 00000000000..f7f12addcce --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyReport.cs @@ -0,0 +1,74 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyReport : global::Microsoft.Graph.PowerShell.Reports.Client.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The version of the lifecycle policy represented by the report. + public int? PolicyVersion { get; set; } + /// The scopeProcessing property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyScopeProcessing? ScopeProcessing { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyScopeProcessing ScopeProcessing { get; set; } +#endif + /// The processing results for subjects included in the report. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Subjects { get; set; } +#nullable restore +#else + public List Subjects { get; set; } +#endif + /// The number of subjects currently in scope for the policy. + public int? SubjectsInScopeCount { get; set; } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyReport CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyReport(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "policyVersion", n => { PolicyVersion = n.GetIntValue(); } }, + { "scopeProcessing", n => { ScopeProcessing = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyScopeProcessing.CreateFromDiscriminatorValue); } }, + { "subjects", n => { Subjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectReport.CreateFromDiscriminatorValue)?.AsList(); } }, + { "subjectsInScopeCount", n => { SubjectsInScopeCount = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("policyVersion", PolicyVersion); + writer.WriteObjectValue("scopeProcessing", ScopeProcessing); + writer.WriteCollectionOfObjectValues("subjects", Subjects); + writer.WriteIntValue("subjectsInScopeCount", SubjectsInScopeCount); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyRule.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyRule.cs new file mode 100644 index 00000000000..b5151c90dd1 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyRule.cs @@ -0,0 +1,50 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyRule : global::Microsoft.Graph.PowerShell.Reports.Client.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Indicates whether the rule is enabled and evaluated as part of its policy. + public bool? IsEnabled { get; set; } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteBoolValue("isEnabled", IsEnabled); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessing.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessing.cs new file mode 100644 index 00000000000..53209f9a9cb --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessing.cs @@ -0,0 +1,87 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyScopeProcessing : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// The date and time when the current scope-processing operation started. + public DateTimeOffset? CurrentStartedDateTime { get; set; } + /// The currentStatus property + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyScopeProcessingStatus? CurrentStatus { get; set; } + /// The date and time when scope processing last completed successfully. + public DateTimeOffset? LastSuccessfulProcessingDateTime { get; set; } + /// The latest retained scope-processing attempt. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt? LatestAttempt { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt LatestAttempt { get; set; } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyScopeProcessing() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyScopeProcessing CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyScopeProcessing(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "currentStartedDateTime", n => { CurrentStartedDateTime = n.GetDateTimeOffsetValue(); } }, + { "currentStatus", n => { CurrentStatus = n.GetEnumValue(); } }, + { "lastSuccessfulProcessingDateTime", n => { LastSuccessfulProcessingDateTime = n.GetDateTimeOffsetValue(); } }, + { "latestAttempt", n => { LatestAttempt = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("currentStartedDateTime", CurrentStartedDateTime); + writer.WriteEnumValue("currentStatus", CurrentStatus); + writer.WriteDateTimeOffsetValue("lastSuccessfulProcessingDateTime", LastSuccessfulProcessingDateTime); + writer.WriteObjectValue("latestAttempt", LatestAttempt); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttempt.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttempt.cs new file mode 100644 index 00000000000..4f555e2ab1c --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttempt.cs @@ -0,0 +1,87 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyScopeProcessingAttempt : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// The date and time when the attempt completed. + public DateTimeOffset? CompletedDateTime { get; set; } + /// The error associated with an unsuccessful attempt. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.PublicError? Error { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.PublicError Error { get; set; } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// The date and time when the attempt started. + public DateTimeOffset? StartedDateTime { get; set; } + /// The status property + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttemptStatus? Status { get; set; } + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyScopeProcessingAttempt() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "error", n => { Error = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PublicError.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "startedDateTime", n => { StartedDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("completedDateTime", CompletedDateTime); + writer.WriteObjectValue("error", Error); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteDateTimeOffsetValue("startedDateTime", StartedDateTime); + writer.WriteEnumValue("status", Status); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttemptStatus.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttemptStatus.cs new file mode 100644 index 00000000000..4e410a9f816 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttemptStatus.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyScopeProcessingAttemptStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 + NotStarted, + #pragma warning restore CS1591 + [EnumMember(Value = "evaluating")] + #pragma warning disable CS1591 + Evaluating, + #pragma warning restore CS1591 + [EnumMember(Value = "processing")] + #pragma warning disable CS1591 + Processing, + #pragma warning restore CS1591 + [EnumMember(Value = "completed")] + #pragma warning disable CS1591 + Completed, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "timedOut")] + #pragma warning disable CS1591 + TimedOut, + #pragma warning restore CS1591 + [EnumMember(Value = "invalidScope")] + #pragma warning disable CS1591 + InvalidScope, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessingStatus.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessingStatus.cs new file mode 100644 index 00000000000..b90770f7157 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyScopeProcessingStatus.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyScopeProcessingStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "idle")] + #pragma warning disable CS1591 + Idle, + #pragma warning restore CS1591 + [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 + NotStarted, + #pragma warning restore CS1591 + [EnumMember(Value = "evaluating")] + #pragma warning disable CS1591 + Evaluating, + #pragma warning restore CS1591 + [EnumMember(Value = "processing")] + #pragma warning disable CS1591 + Processing, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySource.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySource.cs new file mode 100644 index 00000000000..56f96c7e5b4 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySource.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicySource + #pragma warning restore CS1591 + { + [EnumMember(Value = "userCreated")] + #pragma warning disable CS1591 + UserCreated, + #pragma warning restore CS1591 + [EnumMember(Value = "systemDefault")] + #pragma warning disable CS1591 + SystemDefault, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectCompliance.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectCompliance.cs new file mode 100644 index 00000000000..6f8eb028bfe --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectCompliance.cs @@ -0,0 +1,73 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicySubjectCompliance : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// The date and time when the subject's compliance was evaluated. + public DateTimeOffset? EvaluatedDateTime { get; set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// The status property + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyComplianceStatus? Status { get; set; } + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicySubjectCompliance() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectCompliance CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectCompliance(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "evaluatedDateTime", n => { EvaluatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("evaluatedDateTime", EvaluatedDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("status", Status); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectEnforcement.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectEnforcement.cs new file mode 100644 index 00000000000..4e9f8f360ed --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectEnforcement.cs @@ -0,0 +1,93 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicySubjectEnforcement : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// Indicates whether enforcement is locked. + public bool? IsLocked { get; set; } + /// Indicates whether enforcement reached a terminal state. + public bool? IsTerminal { get; set; } + /// The lastAction property + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyEnforcementActionState? LastAction { get; set; } + /// The date and time when the last enforcement action completed. + public DateTimeOffset? LastActionDateTime { get; set; } + /// The next enforcement action. The possible values are: nonComplianceNotification, firstNotification, secondNotification, finalNotification, disable, disableNotification, delete, unknownFutureValue. + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyNextEnforcementAction? NextAction { get; set; } + /// The date and time when the next enforcement action is scheduled. + public DateTimeOffset? NextActionDateTime { get; set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// The status property + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyEnforcementStatus? Status { get; set; } + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicySubjectEnforcement() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isLocked", n => { IsLocked = n.GetBoolValue(); } }, + { "isTerminal", n => { IsTerminal = n.GetBoolValue(); } }, + { "lastAction", n => { LastAction = n.GetEnumValue(); } }, + { "lastActionDateTime", n => { LastActionDateTime = n.GetDateTimeOffsetValue(); } }, + { "nextAction", n => { NextAction = n.GetEnumValue(); } }, + { "nextActionDateTime", n => { NextActionDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isLocked", IsLocked); + writer.WriteBoolValue("isTerminal", IsTerminal); + writer.WriteEnumValue("lastAction", LastAction); + writer.WriteDateTimeOffsetValue("lastActionDateTime", LastActionDateTime); + writer.WriteEnumValue("nextAction", NextAction); + writer.WriteDateTimeOffsetValue("nextActionDateTime", NextActionDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("status", Status); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectReference.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectReference.cs new file mode 100644 index 00000000000..920517769e1 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectReference.cs @@ -0,0 +1,75 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicySubjectReference : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// The unique identifier of the subject. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Id { get; set; } +#nullable restore +#else + public string Id { get; set; } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicySubjectReference() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectReference CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectReference(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectReport.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectReport.cs new file mode 100644 index 00000000000..669152e7329 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicySubjectReport.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicySubjectReport : global::Microsoft.Graph.PowerShell.Reports.Client.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The compliance property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectCompliance? Compliance { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectCompliance Compliance { get; set; } +#endif + /// A reference to the effective lifecycle policy for the subject. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyReference? EffectivePolicy { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyReference EffectivePolicy { get; set; } +#endif + /// The enforcement property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement? Enforcement { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement Enforcement { get; set; } +#endif + /// The relationship property + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyRelationship? Relationship { get; set; } + /// The subject property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectReference? Subject { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectReference Subject { get; set; } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectReport CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectReport(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "compliance", n => { Compliance = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectCompliance.CreateFromDiscriminatorValue); } }, + { "effectivePolicy", n => { EffectivePolicy = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyReference.CreateFromDiscriminatorValue); } }, + { "enforcement", n => { Enforcement = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement.CreateFromDiscriminatorValue); } }, + { "relationship", n => { Relationship = n.GetEnumValue(); } }, + { "subject", n => { Subject = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicySubjectReference.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("compliance", Compliance); + writer.WriteObjectValue("effectivePolicy", EffectivePolicy); + writer.WriteObjectValue("enforcement", Enforcement); + writer.WriteEnumValue("relationship", Relationship); + writer.WriteObjectValue("subject", Subject); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/OnPremisesPublishing.cs b/src/Reports/wrapper/Beta/Client/Models/OnPremisesPublishing.cs index 99714571e77..e0c5d5d5e4d 100644 --- a/src/Reports/wrapper/Beta/Client/Models/OnPremisesPublishing.cs +++ b/src/Reports/wrapper/Beta/Client/Models/OnPremisesPublishing.cs @@ -62,7 +62,7 @@ public partial class OnPremisesPublishing : IAdditionalDataHolder, IParsable public bool? IsBackendCertificateValidationEnabled { get; set; } /// Indicates whether continuous access evaluation is enabled for Application Proxy application. For all Application Proxy apps, the property is set to true by default. public bool? IsContinuousAccessEvaluationEnabled { get; set; } - /// The isDeviceAccessEnabled property + /// Indicates whether the Microsoft Entra Private Access application is accessible or available in device access mode. false by default. public bool? IsDeviceAccessEnabled { get; set; } /// Indicates Microsoft Entra Private Access should handle DNS resolution. false by default. public bool? IsDnsResolutionEnabled { get; set; } diff --git a/src/Reports/wrapper/Beta/Client/Models/Partners/Billing/AzureAggregatedUsage.cs b/src/Reports/wrapper/Beta/Client/Models/Partners/Billing/AzureAggregatedUsage.cs new file mode 100644 index 00000000000..84939330dc0 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/Partners/Billing/AzureAggregatedUsage.cs @@ -0,0 +1,56 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AzureAggregatedUsage : global::Microsoft.Graph.PowerShell.Reports.Client.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The billed property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage? Billed { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage Billed { get; set; } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "billed", n => { Billed = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("billed", Billed); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/Partners/Billing/BilledAggregatedUsage.cs b/src/Reports/wrapper/Beta/Client/Models/Partners/Billing/BilledAggregatedUsage.cs new file mode 100644 index 00000000000..acb81a73a57 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/Partners/Billing/BilledAggregatedUsage.cs @@ -0,0 +1,46 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BilledAggregatedUsage : global::Microsoft.Graph.PowerShell.Reports.Client.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/Partners/Billing/Billing.cs b/src/Reports/wrapper/Beta/Client/Models/Partners/Billing/Billing.cs index 1e35c0a205b..59f13864cb1 100644 --- a/src/Reports/wrapper/Beta/Client/Models/Partners/Billing/Billing.cs +++ b/src/Reports/wrapper/Beta/Client/Models/Partners/Billing/Billing.cs @@ -12,6 +12,14 @@ namespace Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing public partial class Billing : global::Microsoft.Graph.PowerShell.Reports.Client.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The aggregatedUsage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage? AggregatedUsage { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage AggregatedUsage { get; set; } +#endif /// Represents metadata for the exported data. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -62,6 +70,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "aggregatedUsage", n => { AggregatedUsage = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage.CreateFromDiscriminatorValue); } }, { "manifests", n => { Manifests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Manifest.CreateFromDiscriminatorValue)?.AsList(); } }, { "operations", n => { Operations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation.CreateFromDiscriminatorValue)?.AsList(); } }, { "reconciliation", n => { Reconciliation = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BillingReconciliation.CreateFromDiscriminatorValue); } }, @@ -76,6 +85,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("aggregatedUsage", AggregatedUsage); writer.WriteCollectionOfObjectValues("manifests", Manifests); writer.WriteCollectionOfObjectValues("operations", Operations); writer.WriteObjectValue("reconciliation", Reconciliation); diff --git a/src/Reports/wrapper/Beta/Client/Models/PublicError.cs b/src/Reports/wrapper/Beta/Client/Models/PublicError.cs new file mode 100644 index 00000000000..487d5e53e8a --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/PublicError.cs @@ -0,0 +1,115 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PublicError : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// Represents the error code. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Code { get; set; } +#nullable restore +#else + public string Code { get; set; } +#endif + /// Details of the error. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Details { get; set; } +#nullable restore +#else + public List Details { get; set; } +#endif + /// Details of the inner error. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.PublicInnerError? InnerError { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.PublicInnerError InnerError { get; set; } +#endif + /// A non-localized message for the developer. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Message { get; set; } +#nullable restore +#else + public string Message { get; set; } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// The target of the error. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Target { get; set; } +#nullable restore +#else + public string Target { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PublicError() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.PowerShell.Reports.Client.Models.PublicError CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.PublicError(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "code", n => { Code = n.GetStringValue(); } }, + { "details", n => { Details = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PublicErrorDetail.CreateFromDiscriminatorValue)?.AsList(); } }, + { "innerError", n => { InnerError = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PublicInnerError.CreateFromDiscriminatorValue); } }, + { "message", n => { Message = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "target", n => { Target = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("code", Code); + writer.WriteCollectionOfObjectValues("details", Details); + writer.WriteObjectValue("innerError", InnerError); + writer.WriteStringValue("message", Message); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("target", Target); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/PublicErrorDetail.cs b/src/Reports/wrapper/Beta/Client/Models/PublicErrorDetail.cs new file mode 100644 index 00000000000..4ebc21c764c --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/PublicErrorDetail.cs @@ -0,0 +1,95 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PublicErrorDetail : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// The error code. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Code { get; set; } +#nullable restore +#else + public string Code { get; set; } +#endif + /// The error message. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Message { get; set; } +#nullable restore +#else + public string Message { get; set; } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// The target of the error. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Target { get; set; } +#nullable restore +#else + public string Target { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PublicErrorDetail() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.PowerShell.Reports.Client.Models.PublicErrorDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.PublicErrorDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "code", n => { Code = n.GetStringValue(); } }, + { "message", n => { Message = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "target", n => { Target = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("code", Code); + writer.WriteStringValue("message", Message); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("target", Target); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/PublicInnerError.cs b/src/Reports/wrapper/Beta/Client/Models/PublicInnerError.cs new file mode 100644 index 00000000000..1d10897c5df --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/PublicInnerError.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PublicInnerError : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// The error code. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Code { get; set; } +#nullable restore +#else + public string Code { get; set; } +#endif + /// A collection of error details. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Details { get; set; } +#nullable restore +#else + public List Details { get; set; } +#endif + /// The error message. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Message { get; set; } +#nullable restore +#else + public string Message { get; set; } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// The target of the error. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Target { get; set; } +#nullable restore +#else + public string Target { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PublicInnerError() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.PowerShell.Reports.Client.Models.PublicInnerError CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.PublicInnerError(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "code", n => { Code = n.GetStringValue(); } }, + { "details", n => { Details = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.PublicErrorDetail.CreateFromDiscriminatorValue)?.AsList(); } }, + { "message", n => { Message = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "target", n => { Target = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("code", Code); + writer.WriteCollectionOfObjectValues("details", Details); + writer.WriteStringValue("message", Message); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("target", Target); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Models/RiskDetail.cs b/src/Reports/wrapper/Beta/Client/Models/RiskDetail.cs index 678f13e5d16..9c7042b4f8c 100644 --- a/src/Reports/wrapper/Beta/Client/Models/RiskDetail.cs +++ b/src/Reports/wrapper/Beta/Client/Models/RiskDetail.cs @@ -96,5 +96,13 @@ public enum RiskDetail #pragma warning disable CS1591 MicrosoftRevokedSessions, #pragma warning restore CS1591 + [EnumMember(Value = "aiElevatedAccountRisk")] + #pragma warning disable CS1591 + AiElevatedAccountRisk, + #pragma warning restore CS1591 + [EnumMember(Value = "userPassedVerifiedIdDrivenByRiskBasedPolicy")] + #pragma warning disable CS1591 + UserPassedVerifiedIdDrivenByRiskBasedPolicy, + #pragma warning restore CS1591 } } diff --git a/src/Reports/wrapper/Beta/Client/Models/ServicePrincipal.cs b/src/Reports/wrapper/Beta/Client/Models/ServicePrincipal.cs index 44ebd2f028c..606ce328b47 100644 --- a/src/Reports/wrapper/Beta/Client/Models/ServicePrincipal.cs +++ b/src/Reports/wrapper/Beta/Client/Models/ServicePrincipal.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using System.Collections.Generic; @@ -90,7 +91,7 @@ public partial class ServicePrincipal : global::Microsoft.Graph.PowerShell.Repor #else public List AppRoleAssignments { get; set; } #endif - /// The roles exposed by the application, which this service principal represents. For more information, see the appRoles property definition on the application entity. Not nullable. + /// The roles exposed by the application, which this service principal represents. For more information, see the appRoles property definition on the application entity. Not nullable. App roles and exposed delegated permission scopes (publishedPermissionScopes) share a default limit of 700 permission definitions per service principal, including definitions inherited from the application and definitions added directly to the service principal. Enabled and disabled definitions both count. This limit counts definitions, not app role assignments. For counting rules, behavior for existing objects above the limit, and design guidance, see App role limits. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AppRoles { get; set; } @@ -235,6 +236,14 @@ public partial class ServicePrincipal : global::Microsoft.Graph.PowerShell.Repor #nullable restore #else public List LicenseDetails { get; set; } +#endif + /// The lifecycle governance state of the agent identity backed by this service principal. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.IdentityLifecycle? Lifecycle { get; set; } +#nullable restore +#else + public global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.IdentityLifecycle Lifecycle { get; set; } #endif /// Specifies the URL where the service provider redirects the user to Microsoft Entra ID to authenticate. Microsoft Entra ID uses the URL to launch the application from Microsoft 365 or the Microsoft Entra My Apps. When blank, Microsoft Entra ID performs IdP-initiated sign-on for applications configured with SAML-based single sign-on. The user launches the application from Microsoft 365, the Microsoft Entra My Apps, or the Microsoft Entra SSO URL. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -342,7 +351,7 @@ public partial class ServicePrincipal : global::Microsoft.Graph.PowerShell.Repor #else public string PreferredTokenSigningKeyThumbprint { get; set; } #endif - /// The delegated permissions exposed by the application. For more information, see the oauth2PermissionScopes property on the application entity's api property. Not nullable. Note: This property is named oauth2PermissionScopes in v1.0. + /// The delegated permissions exposed by the application. For more information, see the oauth2PermissionScopes property on the application entity's api property. Not nullable. Note: This property is named oauth2PermissionScopes in v1.0. These scopes and appRoles share a default limit of 700 permission definitions per service principal. Enabled and disabled definitions both count. For counting rules, behavior for existing objects above the limit, and design guidance, see App role limits. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? PublishedPermissionScopes { get; set; } @@ -520,6 +529,7 @@ public override IDictionary> GetFieldDeserializers() { "isDisabled", n => { IsDisabled = n.GetBoolValue(); } }, { "keyCredentials", n => { KeyCredentials = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.KeyCredential.CreateFromDiscriminatorValue)?.AsList(); } }, { "licenseDetails", n => { LicenseDetails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.LicenseDetails.CreateFromDiscriminatorValue)?.AsList(); } }, + { "lifecycle", n => { Lifecycle = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.IdentityLifecycle.CreateFromDiscriminatorValue); } }, { "loginUrl", n => { LoginUrl = n.GetStringValue(); } }, { "logoutUrl", n => { LogoutUrl = n.GetStringValue(); } }, { "memberOf", n => { MemberOf = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -591,6 +601,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteBoolValue("isDisabled", IsDisabled); writer.WriteCollectionOfObjectValues("keyCredentials", KeyCredentials); writer.WriteCollectionOfObjectValues("licenseDetails", LicenseDetails); + writer.WriteObjectValue("lifecycle", Lifecycle); writer.WriteStringValue("loginUrl", LoginUrl); writer.WriteStringValue("logoutUrl", LogoutUrl); writer.WriteCollectionOfObjectValues("memberOf", MemberOf); diff --git a/src/Reports/wrapper/Beta/Client/Models/SubjectSet.cs b/src/Reports/wrapper/Beta/Client/Models/SubjectSet.cs new file mode 100644 index 00000000000..efa19dbd9c1 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Models/SubjectSet.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SubjectSet : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType { get; set; } +#nullable restore +#else + public string OdataType { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SubjectSet() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.PowerShell.Reports.Client.Models.SubjectSet CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.SubjectSet(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/GetSharePointApiUsageWithDateWithAppIdreportTypeReportType/GetSharePointApiUsageWithDateWithAppIdreportTypeReportTypeRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/GetSharePointApiUsageWithDateWithAppIdreportTypeReportType/GetSharePointApiUsageWithDateWithAppIdreportTypeReportTypeRequestBuilder.cs index 10b62ae2008..7f9244809e0 100644 --- a/src/Reports/wrapper/Beta/Client/Reports/GetSharePointApiUsageWithDateWithAppIdreportTypeReportType/GetSharePointApiUsageWithDateWithAppIdreportTypeReportTypeRequestBuilder.cs +++ b/src/Reports/wrapper/Beta/Client/Reports/GetSharePointApiUsageWithDateWithAppIdreportTypeReportType/GetSharePointApiUsageWithDateWithAppIdreportTypeReportTypeRequestBuilder.cs @@ -34,7 +34,7 @@ public GetSharePointApiUsageWithDateWithAppIdreportTypeReportTypeRequestBuilder( { } /// - /// Get aggregated usage data for all applications in a tenant. Specify either a period or a date, but not both. Optionally filter the results by application ID. Data is returned in CSV format by default, or in JSON format when requested through the $format query parameter. Use the optional reportType parameter to choose which usage metrics to return: egressReport (default) includes usage (UsageMB in CSV, usageMB in JSON), and throttlingReport includes throttled request counts (ThrottledRequests in CSV, throttledRequests in JSON). Each report type must be enabled (onboarded) for the tenant before its data is available. Use enableApiUsageReport to enable a report metric, disableApiUsageReport to disable it, and List apiUsageReportMetrics to check the enablement status. If you request a report type that isn't enabled for the tenant, this method returns a 403 Forbidden response with the error code accessDenied and the message 'Tenant is not enabled for this report type.' CSV column headers use PascalCase (ThrottledRequests) while JSON properties use camelCase (throttledRequests) to maintain consistency with other Microsoft Graph reporting APIs. + /// Get aggregated usage data for all applications in a tenant. Specify either a period or a date, but not both. Optionally filter the results by application ID. Data is returned in CSV format by default, or in JSON format when requested through the $format query parameter. Use the optional reportType parameter to choose which usage metrics to return: The sharePointServicePrioritizationReport is intended for tenants that use SharePoint Service Prioritization. For details about the offering and onboarding, see SharePoint Service Prioritization. Each report type must be enabled (onboarded) for the tenant before its data is available. Use enableApiUsageReport to enable a report metric, disableApiUsageReport to disable it, and List apiUsageReportMetrics to check the enablement status. If you request a report type that isn't enabled for the tenant, this method returns a 403 Forbidden response with the error code accessDenied and the message 'Tenant is not enabled for this report type.' CSV column headers use PascalCase (for example, BilledStandardRequestCount), and JSON properties use camelCase (for example, billedStandardRequestCount) to maintain consistency with other Microsoft Graph reporting APIs. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get aggregated usage data for all applications in a tenant. Specify either a period or a date, but not both. Optionally filter the results by application ID. Data is returned in CSV format by default, or in JSON format when requested through the $format query parameter. Use the optional reportType parameter to choose which usage metrics to return: egressReport (default) includes usage (UsageMB in CSV, usageMB in JSON), and throttlingReport includes throttled request counts (ThrottledRequests in CSV, throttledRequests in JSON). Each report type must be enabled (onboarded) for the tenant before its data is available. Use enableApiUsageReport to enable a report metric, disableApiUsageReport to disable it, and List apiUsageReportMetrics to check the enablement status. If you request a report type that isn't enabled for the tenant, this method returns a 403 Forbidden response with the error code accessDenied and the message 'Tenant is not enabled for this report type.' CSV column headers use PascalCase (ThrottledRequests) while JSON properties use camelCase (throttledRequests) to maintain consistency with other Microsoft Graph reporting APIs. + /// Get aggregated usage data for all applications in a tenant. Specify either a period or a date, but not both. Optionally filter the results by application ID. Data is returned in CSV format by default, or in JSON format when requested through the $format query parameter. Use the optional reportType parameter to choose which usage metrics to return: The sharePointServicePrioritizationReport is intended for tenants that use SharePoint Service Prioritization. For details about the offering and onboarding, see SharePoint Service Prioritization. Each report type must be enabled (onboarded) for the tenant before its data is available. Use enableApiUsageReport to enable a report metric, disableApiUsageReport to disable it, and List apiUsageReportMetrics to check the enablement status. If you request a report type that isn't enabled for the tenant, this method returns a 403 Forbidden response with the error code accessDenied and the message 'Tenant is not enabled for this report type.' CSV column headers use PascalCase (for example, BilledStandardRequestCount), and JSON properties use camelCase (for example, billedStandardRequestCount) to maintain consistency with other Microsoft Graph reporting APIs. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/AggregatedUsageRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/AggregatedUsageRequestBuilder.cs new file mode 100644 index 00000000000..928b27cc381 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/AggregatedUsageRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; +using Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing; +using Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage +{ + /// + /// Builds and executes requests for operations under \reports\partners\billing\aggregatedUsage + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedUsageRequestBuilder : BaseRequestBuilder + { + /// The billed property + public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.BilledRequestBuilder Billed + { + get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.BilledRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AggregatedUsageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/partners/billing/aggregatedUsage{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AggregatedUsageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/partners/billing/aggregatedUsage{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property aggregatedUsage for reports + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Represents aggregated Azure usage data for partner billing. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property aggregatedUsage in reports + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property aggregatedUsage for reports + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Represents aggregated Azure usage data for partner billing. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property aggregatedUsage in reports + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.AggregatedUsageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.AggregatedUsageRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedUsageRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Represents aggregated Azure usage data for partner billing. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedUsageRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedUsageRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedUsageRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/Billed/BilledRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/Billed/BilledRequestBuilder.cs new file mode 100644 index 00000000000..de3795ad448 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/Billed/BilledRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; +using Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing; +using Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed +{ + /// + /// Builds and executes requests for operations under \reports\partners\billing\aggregatedUsage\billed + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BilledRequestBuilder : BaseRequestBuilder + { + /// The microsoftGraphPartnersBillingExport property + public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder MicrosoftGraphPartnersBillingExport + { + get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BilledRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/partners/billing/aggregatedUsage/billed{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public BilledRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/partners/billing/aggregatedUsage/billed{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property billed for reports + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The billed aggregated usage data that can be exported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property billed in reports + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property billed for reports + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The billed aggregated usage data that can be exported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property billed in reports + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.BilledRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.BilledRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BilledRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The billed aggregated usage data that can be exported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BilledRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BilledRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BilledRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/ExportPostRequestBody.cs b/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/ExportPostRequestBody.cs new file mode 100644 index 00000000000..326d19702f3 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/ExportPostRequestBody.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExportPostRequestBody : IAdditionalDataHolder, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData { get; set; } + /// The invoiceId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? InvoiceId { get; set; } +#nullable restore +#else + public string InvoiceId { get; set; } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ExportPostRequestBody() + { + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "invoiceId", n => { InvoiceId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("invoiceId", InvoiceId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/MicrosoftGraphPartnersBillingExportRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/MicrosoftGraphPartnersBillingExportRequestBuilder.cs new file mode 100644 index 00000000000..3ca2dc56fa6 --- /dev/null +++ b/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/MicrosoftGraphPartnersBillingExportRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; +using Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport +{ + /// + /// Builds and executes requests for operations under \reports\partners\billing\aggregatedUsage\billed\microsoft.graph.partners.billing.export + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphPartnersBillingExportRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphPartnersBillingExportRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/partners/billing/aggregatedUsage/billed/microsoft.graph.partners.billing.export", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphPartnersBillingExportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/partners/billing/aggregatedUsage/billed/microsoft.graph.partners.billing.export", rawUrl) + { + } + /// + /// Export billed aggregated Azure usage data for a specific invoice from a billedAggregatedUsage resource. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Export billed aggregated Azure usage data for a specific invoice from a billedAggregatedUsage resource. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/BillingRequestBuilder.cs b/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/BillingRequestBuilder.cs index 0513f455d84..e58a07b8da7 100644 --- a/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/BillingRequestBuilder.cs +++ b/src/Reports/wrapper/Beta/Client/Reports/Partners/Billing/BillingRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.PowerShell.Reports.Client.Models.ODataErrors; using Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing; +using Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage; using Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.Manifests; using Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.Operations; using Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.Reconciliation; @@ -22,6 +23,11 @@ namespace Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class BillingRequestBuilder : BaseRequestBuilder { + /// The aggregatedUsage property + public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.AggregatedUsageRequestBuilder AggregatedUsage + { + get => new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.AggregatedUsageRequestBuilder(PathParameters, RequestAdapter); + } /// The manifests property public global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.Manifests.ManifestsRequestBuilder Manifests { diff --git a/src/Reports/wrapper/Beta/Client/kiota-lock.json b/src/Reports/wrapper/Beta/Client/kiota-lock.json index 2cc62f5d25e..92cb649b561 100644 --- a/src/Reports/wrapper/Beta/Client/kiota-lock.json +++ b/src/Reports/wrapper/Beta/Client/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "BAA8E0D7A9B3F5B014464664EC1C1E551CA99BC62860A68D8FA034A039DA198B050B89FA709EC94A5BFF70365649B7A2C08241E00DA17BDCF88622328B4113B9", + "descriptionHash": "29C35DBD36B9E232B89B258A52A14C0BFED292C9A160E28A3022C609546688CAEBA4B4B8A72EEFC42C91EAEAFC3E3F11D032DDC5CED53D746AE1C3EBEFE18DAE", "descriptionLocation": "../../../../../openApiDocs_KiotaCompat/beta/Reports.yml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.36.1", diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsage.g.cs new file mode 100644 index 00000000000..f1f03774d14 --- /dev/null +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsage.g.cs @@ -0,0 +1,64 @@ +#nullable enable + +using System; +using System.Management.Automation; +using System.Net.Http; +using Microsoft.Graph.Wrapper.Runtime; +using Microsoft.Graph.PowerShell.Reports.Client; +using Microsoft.Graph.PowerShell.Reports.Client.Models; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Abstractions.Authentication; +using Microsoft.Kiota.Http.HttpClientLibrary; + +namespace Microsoft.Graph.PowerShell.Reports +{ + [GraphRoute("GET", "/reports/partners/billing/aggregatedUsage")] + [Cmdlet(VerbsCommon.Get, "MgReportPartnerBillingAggregatedUsage")] + [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage))] + public class GetMgReportPartnerBillingAggregatedUsageCommand : GraphClientCmdlet + { + + + + + [Parameter(Mandatory = false)] + [Alias("Select")] + public string[]? Property { get; set; } + [Parameter(Mandatory = false)] + [Alias("Expand")] + public string[]? ExpandProperty { get; set; } + + + + protected override void ProcessRecord() + { + + var requestAdapter = GetRequestAdapter(); + var client = new ApiClient(requestAdapter); + + Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage? result; + try + { + result = client.Reports.Partners.Billing.AggregatedUsage.GetAsync(requestConfiguration => + { + if (this.IsParameterBound(nameof(Property))) + requestConfiguration.QueryParameters.Select = Property; + + if (this.IsParameterBound(nameof(ExpandProperty))) + requestConfiguration.QueryParameters.Expand = ExpandProperty; + + + + AddRequestHeaders(requestConfiguration.Headers); + }).GetAwaiter().GetResult(); + } + catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) + { + ThrowGraphRequestFailed(ex, null); + return; + } + + WriteObject(result); + } + } +} diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsageBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsageBilled.g.cs new file mode 100644 index 00000000000..4a31d032083 --- /dev/null +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsageBilled.g.cs @@ -0,0 +1,64 @@ +#nullable enable + +using System; +using System.Management.Automation; +using System.Net.Http; +using Microsoft.Graph.Wrapper.Runtime; +using Microsoft.Graph.PowerShell.Reports.Client; +using Microsoft.Graph.PowerShell.Reports.Client.Models; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Abstractions.Authentication; +using Microsoft.Kiota.Http.HttpClientLibrary; + +namespace Microsoft.Graph.PowerShell.Reports +{ + [GraphRoute("GET", "/reports/partners/billing/aggregatedUsage/billed")] + [Cmdlet(VerbsCommon.Get, "MgReportPartnerBillingAggregatedUsageBilled")] + [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage))] + public class GetMgReportPartnerBillingAggregatedUsageBilledCommand : GraphClientCmdlet + { + + + + + [Parameter(Mandatory = false)] + [Alias("Select")] + public string[]? Property { get; set; } + [Parameter(Mandatory = false)] + [Alias("Expand")] + public string[]? ExpandProperty { get; set; } + + + + protected override void ProcessRecord() + { + + var requestAdapter = GetRequestAdapter(); + var client = new ApiClient(requestAdapter); + + Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage? result; + try + { + result = client.Reports.Partners.Billing.AggregatedUsage.Billed.GetAsync(requestConfiguration => + { + if (this.IsParameterBound(nameof(Property))) + requestConfiguration.QueryParameters.Select = Property; + + if (this.IsParameterBound(nameof(ExpandProperty))) + requestConfiguration.QueryParameters.Expand = ExpandProperty; + + + + AddRequestHeaders(requestConfiguration.Headers); + }).GetAwaiter().GetResult(); + } + catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) + { + ThrowGraphRequestFailed(ex, null); + return; + } + + WriteObject(result); + } + } +} diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingAggregatedUsageBilledExport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingAggregatedUsageBilledExport.g.cs new file mode 100644 index 00000000000..f3f2117040b --- /dev/null +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingAggregatedUsageBilledExport.g.cs @@ -0,0 +1,64 @@ +#nullable enable + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using System.Net.Http; +using Microsoft.Graph.Wrapper.Runtime; +using Microsoft.Graph.PowerShell.Reports.Client; +using Microsoft.Graph.PowerShell.Reports.Client.Models; +using Microsoft.Kiota.Abstractions; +using Microsoft.Kiota.Abstractions.Authentication; +using Microsoft.Kiota.Http.HttpClientLibrary; + +namespace Microsoft.Graph.PowerShell.Reports +{ + [GraphRoute("POST", "/reports/partners/billing/aggregatedUsage/billed/microsoft.graph.partners.billing.export")] + [Cmdlet(VerbsLifecycle.Invoke, "MgReportPartnerBillingAggregatedUsageBilledExport", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] + [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation))] + public class InvokeMgReportPartnerBillingAggregatedUsageBilledExportCommand : GraphClientCmdlet + { + + + [Parameter(Mandatory = false)] + public string? InvoiceId { get; set; } + + + + + + + + protected override void ProcessRecord() + { + if (!ShouldProcess(null, "Invoke")) + return; + + var body = new global::Microsoft.Graph.PowerShell.Reports.Client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody(); + + if (this.IsParameterBound(nameof(InvoiceId))) + body.InvoiceId = InvoiceId; + + var requestAdapter = GetRequestAdapter(); + var client = new ApiClient(requestAdapter); + + Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; + try + { + result = client.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.PostAsync(body, requestConfiguration => + { + + AddRequestHeaders(requestConfiguration.Headers); + }).GetAwaiter().GetResult(); + } + catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) + { + ThrowGraphRequestFailed(ex, null); + return; + } + + WriteObject(result); + } + } +} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogAuditActivityType.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogAuditActivityType.g.cs deleted file mode 100644 index 838479d45b2..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogAuditActivityType.g.cs +++ /dev/null @@ -1,76 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/auditLogs/auditActivityTypes")] - [Cmdlet(VerbsCommon.New, "MgAuditLogAuditActivityType", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.AuditActivityType))] - public class NewMgAuditLogAuditActivityTypeCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public string? Activity { get; set; } - - [Parameter(Mandatory = false)] - public string? Category { get; set; } - - [Parameter(Mandatory = false)] - public string? Service { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.AuditActivityType(); - - if (this.IsParameterBound(nameof(Activity))) - body.Activity = Activity; - - if (this.IsParameterBound(nameof(Category))) - body.Category = Category; - - if (this.IsParameterBound(nameof(Service))) - body.Service = Service; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.AuditActivityType? result; - try - { - result = client.AuditLogs.AuditActivityTypes.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignInEventAppSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignInEventAppSummary.g.cs deleted file mode 100644 index c955a05b1f7..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignInEventAppSummary.g.cs +++ /dev/null @@ -1,80 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/auditLogs/signInEventsAppSummary")] - [Cmdlet(VerbsCommon.New, "MgAuditLogSignInEventAppSummary", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsAppActivity))] - public class NewMgAuditLogSignInEventAppSummaryCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public string? AppId { get; set; } - - [Parameter(Mandatory = false)] - public int? SignInCount { get; set; } - - [Parameter(Mandatory = false)] - public string? TenantId { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.Application? Application { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsAppActivity(); - - if (this.IsParameterBound(nameof(AppId))) - body.AppId = AppId; - - if (this.IsParameterBound(nameof(SignInCount))) - body.SignInCount = SignInCount; - - if (this.IsParameterBound(nameof(TenantId))) - body.TenantId = TenantId; - - if (this.IsParameterBound(nameof(Application))) - body.Application = Application; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsAppActivity? result; - try - { - result = client.AuditLogs.SignInEventsAppSummary.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignInEventSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignInEventSummary.g.cs deleted file mode 100644 index a6be36448f8..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgAuditLogSignInEventSummary.g.cs +++ /dev/null @@ -1,70 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("POST", "/auditLogs/signInEventsSummary")] - [Cmdlet(VerbsCommon.New, "MgAuditLogSignInEventSummary", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsActivity))] - public class NewMgAuditLogSignInEventSummaryCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ActivityDateTime { get; set; } - - [Parameter(Mandatory = false)] - public int? SignInCount { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "New")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsActivity(); - - if (this.IsParameterBound(nameof(ActivityDateTime))) - body.ActivityDateTime = ActivityDateTime; - - if (this.IsParameterBound(nameof(SignInCount))) - body.SignInCount = SignInCount; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsActivity? result; - try - { - result = client.AuditLogs.SignInEventsSummary.PostAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, body); - return; - } - - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogAuditActivityType.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogAuditActivityType.g.cs deleted file mode 100644 index 119fa2cd8f1..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogAuditActivityType.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/auditLogs/auditActivityTypes/{auditActivityType-id}")] - [Cmdlet(VerbsCommon.Remove, "MgAuditLogAuditActivityType", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgAuditLogAuditActivityTypeCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string AuditActivityTypeId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(AuditActivityTypeId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.AuditLogs.AuditActivityTypes[AuditActivityTypeId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, AuditActivityTypeId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignInEventAppSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignInEventAppSummary.g.cs deleted file mode 100644 index e2972ceeb37..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignInEventAppSummary.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/auditLogs/signInEventsAppSummary/{signInEventsAppActivity-appId}")] - [Cmdlet(VerbsCommon.Remove, "MgAuditLogSignInEventAppSummary", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgAuditLogSignInEventAppSummaryCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string SignInEventsAppActivityAppId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(SignInEventsAppActivityAppId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.AuditLogs.SignInEventsAppSummary[SignInEventsAppActivityAppId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, SignInEventsAppActivityAppId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignInEventSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignInEventSummary.g.cs deleted file mode 100644 index 767f1ad8b50..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignInEventSummary.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/auditLogs/signInEventsSummary/{signInEventsActivity-id}")] - [Cmdlet(VerbsCommon.Remove, "MgAuditLogSignInEventSummary", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgAuditLogSignInEventSummaryCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string SignInEventsActivityId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(SignInEventsActivityId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.AuditLogs.SignInEventsSummary[SignInEventsActivityId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, SignInEventsActivityId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportCorrelation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportCorrelation.g.cs deleted file mode 100644 index 6edb40b444c..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportCorrelation.g.cs +++ /dev/null @@ -1,56 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/correlations/{identityCorrelation-id}")] - [Cmdlet(VerbsCommon.Remove, "MgReportCorrelation", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportCorrelationCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string IdentityCorrelationId { get; set; } = string.Empty; - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(IdentityCorrelationId, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.Correlations[IdentityCorrelationId].DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, IdentityCorrelationId); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs deleted file mode 100644 index da499b0d70e..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs +++ /dev/null @@ -1,55 +0,0 @@ -#nullable enable - -using System; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("DELETE", "/reports/microsoftAppsFileStorageContainerUsageSummary")] - [Cmdlet(VerbsCommon.Remove, "MgReportMicrosoftAppFileStorageContainerUsageSummary", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportMicrosoftAppFileStorageContainerUsageSummaryCommand : GraphClientCmdlet - { - - - - [Parameter(Mandatory = false, - HelpMessage = "Sets the 'If-Match' request header (for example an ETag for optimistic concurrency; some Graph APIs require it even where the spec marks it optional).")] - public string? IfMatch { get; set; } - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Remove")) - return; - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - // DeleteAsync returns a plain Task: a standard delete response has no body. - try - { - client.Reports.MicrosoftAppsFileStorageContainerUsageSummary.DeleteAsync(requestConfiguration => - { - - if (this.IsParameterBound(nameof(IfMatch))) - requestConfiguration.Headers.Add("If-Match", IfMatch!); - - AddRequestHeaders(requestConfiguration.Headers); - }) - .GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportIdentityAnalytic.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingAggregatedUsage.g.cs similarity index 79% rename from src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportIdentityAnalytic.g.cs rename to src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingAggregatedUsage.g.cs index 59d06b22e90..eed468f71e5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportIdentityAnalytic.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingAggregatedUsage.g.cs @@ -10,9 +10,9 @@ namespace Microsoft.Graph.PowerShell.Reports { - [GraphRoute("DELETE", "/reports/identityAnalytics")] - [Cmdlet(VerbsCommon.Remove, "MgReportIdentityAnalytic", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportIdentityAnalyticCommand : GraphClientCmdlet + [GraphRoute("DELETE", "/reports/partners/billing/aggregatedUsage")] + [Cmdlet(VerbsCommon.Remove, "MgReportPartnerBillingAggregatedUsage", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] + public class RemoveMgReportPartnerBillingAggregatedUsageCommand : GraphClientCmdlet { @@ -35,7 +35,7 @@ protected override void ProcessRecord() // DeleteAsync returns a plain Task: a standard delete response has no body. try { - client.Reports.IdentityAnalytics.DeleteAsync(requestConfiguration => + client.Reports.Partners.Billing.AggregatedUsage.DeleteAsync(requestConfiguration => { if (this.IsParameterBound(nameof(IfMatch))) diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAzureADPremiumLicenseInsight.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingAggregatedUsageBilled.g.cs similarity index 78% rename from src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAzureADPremiumLicenseInsight.g.cs rename to src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingAggregatedUsageBilled.g.cs index 09e2c58e530..006f80da864 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAzureADPremiumLicenseInsight.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingAggregatedUsageBilled.g.cs @@ -10,9 +10,9 @@ namespace Microsoft.Graph.PowerShell.Reports { - [GraphRoute("DELETE", "/reports/azureADPremiumLicenseInsight")] - [Cmdlet(VerbsCommon.Remove, "MgReportAzureADPremiumLicenseInsight", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] - public class RemoveMgReportAzureADPremiumLicenseInsightCommand : GraphClientCmdlet + [GraphRoute("DELETE", "/reports/partners/billing/aggregatedUsage/billed")] + [Cmdlet(VerbsCommon.Remove, "MgReportPartnerBillingAggregatedUsageBilled", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] + public class RemoveMgReportPartnerBillingAggregatedUsageBilledCommand : GraphClientCmdlet { @@ -35,7 +35,7 @@ protected override void ProcessRecord() // DeleteAsync returns a plain Task: a standard delete response has no body. try { - client.Reports.AzureADPremiumLicenseInsight.DeleteAsync(requestConfiguration => + client.Reports.Partners.Billing.AggregatedUsage.Billed.DeleteAsync(requestConfiguration => { if (this.IsParameterBound(nameof(IfMatch))) diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogAuditActivityType.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogAuditActivityType.g.cs deleted file mode 100644 index 7e425f1d810..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogAuditActivityType.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/auditLogs/auditActivityTypes/{auditActivityType-id}")] - [Cmdlet(VerbsData.Update, "MgAuditLogAuditActivityType", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.AuditActivityType))] - public class UpdateMgAuditLogAuditActivityTypeCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string AuditActivityTypeId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public string? Activity { get; set; } - - [Parameter(Mandatory = false)] - public string? Category { get; set; } - - [Parameter(Mandatory = false)] - public string? Service { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(AuditActivityTypeId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.AuditActivityType(); - - if (this.IsParameterBound(nameof(Activity))) - body.Activity = Activity; - - if (this.IsParameterBound(nameof(Category))) - body.Category = Category; - - if (this.IsParameterBound(nameof(Service))) - body.Service = Service; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.AuditActivityType? result; - try - { - result = client.AuditLogs.AuditActivityTypes[AuditActivityTypeId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, AuditActivityTypeId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.AuditLogs.AuditActivityTypes[AuditActivityTypeId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, AuditActivityTypeId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignInEventAppSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignInEventAppSummary.g.cs deleted file mode 100644 index f598922b1b3..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignInEventAppSummary.g.cs +++ /dev/null @@ -1,96 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/auditLogs/signInEventsAppSummary/{signInEventsAppActivity-appId}")] - [Cmdlet(VerbsData.Update, "MgAuditLogSignInEventAppSummary", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsAppActivity))] - public class UpdateMgAuditLogSignInEventAppSummaryCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string SignInEventsAppActivityAppId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public string? AppId { get; set; } - - [Parameter(Mandatory = false)] - public int? SignInCount { get; set; } - - [Parameter(Mandatory = false)] - public string? TenantId { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.Application? Application { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(SignInEventsAppActivityAppId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsAppActivity(); - - if (this.IsParameterBound(nameof(AppId))) - body.AppId = AppId; - - if (this.IsParameterBound(nameof(SignInCount))) - body.SignInCount = SignInCount; - - if (this.IsParameterBound(nameof(TenantId))) - body.TenantId = TenantId; - - if (this.IsParameterBound(nameof(Application))) - body.Application = Application; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsAppActivity? result; - try - { - result = client.AuditLogs.SignInEventsAppSummary[SignInEventsAppActivityAppId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, SignInEventsAppActivityAppId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.AuditLogs.SignInEventsAppSummary[SignInEventsAppActivityAppId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, SignInEventsAppActivityAppId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignInEventSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignInEventSummary.g.cs deleted file mode 100644 index b21e5435338..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAuditLogSignInEventSummary.g.cs +++ /dev/null @@ -1,86 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/auditLogs/signInEventsSummary/{signInEventsActivity-id}")] - [Cmdlet(VerbsData.Update, "MgAuditLogSignInEventSummary", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsActivity))] - public class UpdateMgAuditLogSignInEventSummaryCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string SignInEventsActivityId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? ActivityDateTime { get; set; } - - [Parameter(Mandatory = false)] - public int? SignInCount { get; set; } - - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(SignInEventsActivityId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsActivity(); - - if (this.IsParameterBound(nameof(ActivityDateTime))) - body.ActivityDateTime = ActivityDateTime; - - if (this.IsParameterBound(nameof(SignInCount))) - body.SignInCount = SignInCount; - - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsActivity? result; - try - { - result = client.AuditLogs.SignInEventsSummary[SignInEventsActivityId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, SignInEventsActivityId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.AuditLogs.SignInEventsSummary[SignInEventsActivityId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, SignInEventsActivityId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAzureADPremiumLicenseInsight.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAzureADPremiumLicenseInsight.g.cs deleted file mode 100644 index a8ae9ad9423..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAzureADPremiumLicenseInsight.g.cs +++ /dev/null @@ -1,113 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/azureADPremiumLicenseInsight")] - [Cmdlet(VerbsData.Update, "MgReportAzureADPremiumLicenseInsight", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.AzureADPremiumLicenseInsight))] - public class UpdateMgReportAzureADPremiumLicenseInsightCommand : GraphClientCmdlet - { - - - [Parameter(Mandatory = false)] - public long? EntitledP1LicenseCount { get; set; } - - [Parameter(Mandatory = false)] - public long? EntitledP2LicenseCount { get; set; } - - [Parameter(Mandatory = false)] - public long? EntitledTotalLicenseCount { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.InternetAccessFeatureUtilizations? InternetAccessFeatureUtilizations { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AzureADPremiumP1FeatureUtilizations? P1FeatureUtilizations { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.AzureADPremiumP2FeatureUtilizations? P2FeatureUtilizations { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.PrivateAccessFeatureUtilizations? PrivateAccessFeatureUtilizations { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(null, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.AzureADPremiumLicenseInsight(); - - if (this.IsParameterBound(nameof(EntitledP1LicenseCount))) - body.EntitledP1LicenseCount = EntitledP1LicenseCount; - - if (this.IsParameterBound(nameof(EntitledP2LicenseCount))) - body.EntitledP2LicenseCount = EntitledP2LicenseCount; - - if (this.IsParameterBound(nameof(EntitledTotalLicenseCount))) - body.EntitledTotalLicenseCount = EntitledTotalLicenseCount; - - if (this.IsParameterBound(nameof(InternetAccessFeatureUtilizations))) - body.InternetAccessFeatureUtilizations = InternetAccessFeatureUtilizations; - - if (this.IsParameterBound(nameof(P1FeatureUtilizations))) - body.P1FeatureUtilizations = P1FeatureUtilizations; - - if (this.IsParameterBound(nameof(P2FeatureUtilizations))) - body.P2FeatureUtilizations = P2FeatureUtilizations; - - if (this.IsParameterBound(nameof(PrivateAccessFeatureUtilizations))) - body.PrivateAccessFeatureUtilizations = PrivateAccessFeatureUtilizations; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.AzureADPremiumLicenseInsight? result; - try - { - result = client.Reports.AzureADPremiumLicenseInsight.PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.AzureADPremiumLicenseInsight.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCorrelation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCorrelation.g.cs deleted file mode 100644 index f9611676034..00000000000 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCorrelation.g.cs +++ /dev/null @@ -1,96 +0,0 @@ -#nullable enable - -using System; -using System.Linq; -using System.Management.Automation; -using System.Net.Http; -using Microsoft.Graph.Wrapper.Runtime; -using Microsoft.Graph.PowerShell.Reports.Client; -using Microsoft.Graph.PowerShell.Reports.Client.Models; -using Microsoft.Kiota.Abstractions.Authentication; -using Microsoft.Kiota.Http.HttpClientLibrary; - -namespace Microsoft.Graph.PowerShell.Reports -{ - [GraphRoute("PATCH", "/reports/correlations/{identityCorrelation-id}")] - [Cmdlet(VerbsData.Update, "MgReportCorrelation", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityCorrelation))] - public class UpdateMgReportCorrelationCommand : GraphClientCmdlet - { - [Parameter(Mandatory = true, Position = 0)] - public string IdentityCorrelationId { get; set; } = string.Empty; - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? EndDateTime { get; set; } - - [Parameter(Mandatory = false)] - public global::System.DateTimeOffset? StartDateTime { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.CorrelationError? Error { get; set; } - - [Parameter(Mandatory = false)] - public Microsoft.Graph.PowerShell.Reports.Client.Models.ServicePrincipal? ServicePrincipal { get; set; } - - - - - - - protected override void ProcessRecord() - { - if (!ShouldProcess(IdentityCorrelationId, "Update")) - return; - - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityCorrelation(); - - if (this.IsParameterBound(nameof(EndDateTime))) - body.EndDateTime = EndDateTime; - - if (this.IsParameterBound(nameof(StartDateTime))) - body.StartDateTime = StartDateTime; - - if (this.IsParameterBound(nameof(Error))) - body.Error = Error; - - if (this.IsParameterBound(nameof(ServicePrincipal))) - body.ServicePrincipal = ServicePrincipal; - - - var requestAdapter = GetRequestAdapter(); - var client = new ApiClient(requestAdapter); - - Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityCorrelation? result; - try - { - result = client.Reports.Correlations[IdentityCorrelationId].PatchAsync(body, requestConfiguration => - { - - AddRequestHeaders(requestConfiguration.Headers); - }).GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, IdentityCorrelationId); - return; - } - - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Correlations[IdentityCorrelationId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, IdentityCorrelationId); - return; - } - } - if (result is not null) - WriteObject(result); - } - } -} diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBilling.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBilling.g.cs index 71425b682ee..1dde7d9f5b4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBilling.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBilling.g.cs @@ -20,6 +20,9 @@ public class UpdateMgReportPartnerBillingCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] + public Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage? AggregatedUsage { get; set; } + [Parameter(Mandatory = false)] public Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BillingReconciliation? Reconciliation { get; set; } @@ -39,6 +42,9 @@ protected override void ProcessRecord() var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Billing(); + if (this.IsParameterBound(nameof(AggregatedUsage))) + body.AggregatedUsage = AggregatedUsage; + if (this.IsParameterBound(nameof(Reconciliation))) body.Reconciliation = Reconciliation; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsage.g.cs similarity index 63% rename from src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs rename to src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsage.g.cs index 80be17b458b..80527829d0d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsage.g.cs @@ -12,14 +12,16 @@ namespace Microsoft.Graph.PowerShell.Reports { - [GraphRoute("PATCH", "/reports/microsoftAppsFileStorageContainerUsageSummary")] - [Cmdlet(VerbsData.Update, "MgReportMicrosoftAppFileStorageContainerUsageSummary", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.MicrosoftAppsFileStorageContainerUsage))] - public class UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryCommand : GraphClientCmdlet + [GraphRoute("PATCH", "/reports/partners/billing/aggregatedUsage")] + [Cmdlet(VerbsData.Update, "MgReportPartnerBillingAggregatedUsage", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] + [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage))] + public class UpdateMgReportPartnerBillingAggregatedUsageCommand : GraphClientCmdlet { + [Parameter(Mandatory = false)] + public Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage? Billed { get; set; } @@ -31,18 +33,20 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Update")) return; - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.MicrosoftAppsFileStorageContainerUsage(); + var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage(); + if (this.IsParameterBound(nameof(Billed))) + body.Billed = Billed; var requestAdapter = GetRequestAdapter(); var client = new ApiClient(requestAdapter); - Microsoft.Graph.PowerShell.Reports.Client.Models.MicrosoftAppsFileStorageContainerUsage? result; + Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage? result; try { - result = client.Reports.MicrosoftAppsFileStorageContainerUsageSummary.PatchAsync(body, requestConfiguration => + result = client.Reports.Partners.Billing.AggregatedUsage.PatchAsync(body, requestConfiguration => { AddRequestHeaders(requestConfiguration.Headers); @@ -60,7 +64,7 @@ protected override void ProcessRecord() WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); try { - result = client.Reports.MicrosoftAppsFileStorageContainerUsageSummary.GetAsync().GetAwaiter().GetResult(); + result = client.Reports.Partners.Billing.AggregatedUsage.GetAsync().GetAwaiter().GetResult(); } catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) { diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportIdentityAnalytic.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsageBilled.g.cs similarity index 69% rename from src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportIdentityAnalytic.g.cs rename to src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsageBilled.g.cs index 748b6e53021..8fabe8651b4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportIdentityAnalytic.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsageBilled.g.cs @@ -12,10 +12,10 @@ namespace Microsoft.Graph.PowerShell.Reports { - [GraphRoute("PATCH", "/reports/identityAnalytics")] - [Cmdlet(VerbsData.Update, "MgReportIdentityAnalytic", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] - [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityAnalyticsRoot))] - public class UpdateMgReportIdentityAnalyticCommand : GraphClientCmdlet + [GraphRoute("PATCH", "/reports/partners/billing/aggregatedUsage/billed")] + [Cmdlet(VerbsData.Update, "MgReportPartnerBillingAggregatedUsageBilled", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] + [OutputType(typeof(Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage))] + public class UpdateMgReportPartnerBillingAggregatedUsageBilledCommand : GraphClientCmdlet { @@ -31,7 +31,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Update")) return; - var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityAnalyticsRoot(); + var body = new Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage(); @@ -39,10 +39,10 @@ protected override void ProcessRecord() var requestAdapter = GetRequestAdapter(); var client = new ApiClient(requestAdapter); - Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityAnalyticsRoot? result; + Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage? result; try { - result = client.Reports.IdentityAnalytics.PatchAsync(body, requestConfiguration => + result = client.Reports.Partners.Billing.AggregatedUsage.Billed.PatchAsync(body, requestConfiguration => { AddRequestHeaders(requestConfiguration.Headers); @@ -60,7 +60,7 @@ protected override void ProcessRecord() WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); try { - result = client.Reports.IdentityAnalytics.GetAsync().GetAwaiter().GetResult(); + result = client.Reports.Partners.Billing.AggregatedUsage.Billed.GetAsync().GetAwaiter().GetResult(); } catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) { From f3098287a9cd37b94aff2c19848e703898b17b71 Mon Sep 17 00:00:00 2001 From: Ramses Sanchez Hernandez Date: Thu, 29 Oct 2026 18:38:49 -0700 Subject: [PATCH 07/13] Align Reports migration validation with merged generator API Keep runtime oracle profiles explicit for naming, suppression, and generation. Preserve original source-selection lineage in a test fixture rather than reserved translation fields in the literal mapping ledger. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- src/Reports/Reports.md | 6 +- .../wrapper/Reports_cmdletConfigurations.cs | 2 +- .../Reports_directiveMigrationMap.json | 958 +----------------- .../ReportsDirectiveMigrationTests.cs | 70 +- .../ReportsDirectiveSourceReview.json | 949 +++++++++++++++++ 5 files changed, 1014 insertions(+), 971 deletions(-) create mode 100644 tools/WrapperGenerator.Tests/ReportsDirectiveSourceReview.json diff --git a/src/Reports/Reports.md b/src/Reports/Reports.md index de5590fe748..0184707c096 100644 --- a/src/Reports/Reports.md +++ b/src/Reports/Reports.md @@ -28,10 +28,10 @@ directive: script: "'D7', 'D30', 'D90', 'D180'" # Remove invalid paths. # Wrapper migration: exact surviving method/path operations are suppressed in -# Reports_cmdletConfigurations.cs. Reports_directiveMigrationMap.json records the -# complete original legacy match set (beta: 66 survivors and 18 pruned routes). +# Reports_cmdletConfigurations.cs. ReportsDirectiveSourceReview.json in the generator +# tests records the complete original match set (beta: 66 survivors, 18 pruned routes). # After #3861 aligned IDs, the unchanged regex literally also selects 17 additional -# beta resource mutations; each is separately justified in sourceReview. The +# beta resource mutations; each is separately justified in that test fixture. The # baseline inventory validates every current match (v1.0: 34; beta: 83). # Use exact entries, not broad root prefixes. Keep all AutoRest directives active. - remove-path-by-operation: auditLog\.auditLogRoot.*|report.reportRoot.*|(auditLog|report)_(Create|Delete|Update).* diff --git a/src/Reports/wrapper/Reports_cmdletConfigurations.cs b/src/Reports/wrapper/Reports_cmdletConfigurations.cs index 209d4a03c91..d93b6504e9e 100644 --- a/src/Reports/wrapper/Reports_cmdletConfigurations.cs +++ b/src/Reports/wrapper/Reports_cmdletConfigurations.cs @@ -77,7 +77,7 @@ public static partial class CmdletConfigurator new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/reports/userinsights", PathMatch.Exact, null, ReportsSuppressionReason), // Additional beta resource mutations selected literally after #3861 aligned IDs. - // The ledger separately preserves all original 84 source matches and their outcomes. + // The test fixture preserves all original 84 source matches and their outcomes. new(OverrideKind.SuppressOperation, HttpMethod.Post, "/auditlogs/auditactivitytypes", PathMatch.Exact, null, ReportsSuppressionReason), new(OverrideKind.SuppressOperation, HttpMethod.Patch, "/auditlogs/auditactivitytypes/{}", PathMatch.Exact, null, ReportsSuppressionReason), new(OverrideKind.SuppressOperation, HttpMethod.Delete, "/auditlogs/auditactivitytypes/{}", PathMatch.Exact, null, ReportsSuppressionReason), diff --git a/src/Reports/wrapper/Reports_directiveMigrationMap.json b/src/Reports/wrapper/Reports_directiveMigrationMap.json index 44559c42120..dd527ac25fe 100644 --- a/src/Reports/wrapper/Reports_directiveMigrationMap.json +++ b/src/Reports/wrapper/Reports_directiveMigrationMap.json @@ -22,8 +22,9 @@ "v1.0": "1f907bf7691c3a13779b7ea6786e3764cb61d5a1", "beta": "169859b86fc51330fd53c8a948dfa8ef595f36fd" }, - "reviewedTarget": "abab9dac88dd1e1d15e8e43fa766ab9be7cba34d", - "regressionTests": "tools\\WrapperGenerator.Tests\\ReportsDirectiveMigrationTests.cs" + "reviewedTarget": "08e409a6aa8fd48736b8f9a9199559f46fc0d1ad", + "regressionTests": "tools\\WrapperGenerator.Tests\\ReportsDirectiveMigrationTests.cs", + "sourceReviewTests": "tools\\WrapperGenerator.Tests\\ReportsDirectiveSourceReview.json" }, "mappings": [ { @@ -32,10 +33,10 @@ "classification": "OperationIdSuppression", "sourceContains": "remove-path-by-operation: auditLog\\.auditLogRoot.*|report.reportRoot.*|(auditLog|report)_(Create|Delete|Update).*", "implementation": "CmdletConfigurator", - "notes": "Baseline-supported literal-compatible ledger after #3861 ID alignment. Preserve every original source-selected survivor and explicit removal proof in sourceReview. Include all 17 genuinely additional beta CRUD routes now literally selected by the unchanged root-mutation regex, with exact prior/current identities and per-family rationale. No action/function expansion, guessed semantic successor, or broad prefix suppression. Original 84 beta matches remain accounted as 66 survivors plus 18 removed; current 83 are the 66 survivors plus 17 additional matches. Nested authentication registration and nonmatching descendants remain.", + "notes": "Baseline-supported literal-compatible ledger after #3861 ID alignment. Preserve every original source-selected survivor and explicit removal proof in the ReportsDirectiveSourceReview.json test fixture. Include all 17 genuinely additional beta CRUD routes now literally selected by the unchanged root-mutation regex, with exact prior/current identities and per-family rationale. No action/function expansion, guessed semantic successor, or broad prefix suppression. Original 84 beta matches remain accounted as 66 survivors plus 18 removed; current 83 are the 66 survivors plus 17 additional matches. Nested authentication registration and nonmatching descendants remain.", "profiles": { "v1.0": { - "notes": "Literal current-compatible regex policy on target abab9dac88: 34 candidates. Complete original legacy regex set 34 is preserved as 34 exact surviving method/path/IDs plus 0 explicitly pruned source operations. 0 separately reviewed additional current CRUD matches are included by the unchanged root-mutation regex, not relabeled as legacy survivors.", + "notes": "Literal current-compatible regex policy on target 08e409a6aa: 34 candidates. Complete original legacy regex set 34 is preserved as 34 exact surviving method/path/IDs plus 0 explicitly pruned source operations. 0 separately reviewed additional current CRUD matches are included by the unchanged root-mutation regex, not relabeled as legacy survivors.", "absenceExpected": false, "operations": [ { @@ -208,255 +209,10 @@ "path": "/reports/security", "operationId": "report_DeleteSecurity" } - ], - "sourceReview": { - "legacyMatchCount": 34, - "survivingLegacyOperations": [ - { - "method": "GET", - "path": "/auditLogs", - "operationId": "auditLog.auditLogRoot_GetAuditLogRoot", - "legacyPath": "/auditLogs", - "legacyOperationId": "auditLog.auditLogRoot_GetAuditLogRoot" - }, - { - "method": "PATCH", - "path": "/auditLogs", - "operationId": "auditLog.auditLogRoot_UpdateAuditLogRoot", - "legacyPath": "/auditLogs", - "legacyOperationId": "auditLog.auditLogRoot_UpdateAuditLogRoot" - }, - { - "method": "POST", - "path": "/auditLogs/directoryAudits", - "operationId": "auditLog_CreateDirectoryAudit", - "legacyPath": "/auditLogs/directoryAudits", - "legacyOperationId": "auditLog_CreateDirectoryAudit" - }, - { - "method": "PATCH", - "path": "/auditLogs/directoryAudits/{directoryAudit-id}", - "operationId": "auditLog_UpdateDirectoryAudit", - "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", - "legacyOperationId": "auditLog_UpdateDirectoryAudit" - }, - { - "method": "DELETE", - "path": "/auditLogs/directoryAudits/{directoryAudit-id}", - "operationId": "auditLog_DeleteDirectoryAudit", - "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", - "legacyOperationId": "auditLog_DeleteDirectoryAudit" - }, - { - "method": "POST", - "path": "/auditLogs/provisioning", - "operationId": "auditLog_CreateProvisioning", - "legacyPath": "/auditLogs/provisioning", - "legacyOperationId": "auditLog_CreateProvisioning" - }, - { - "method": "PATCH", - "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "operationId": "auditLog_UpdateProvisioning", - "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "legacyOperationId": "auditLog_UpdateProvisioning" - }, - { - "method": "DELETE", - "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "operationId": "auditLog_DeleteProvisioning", - "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "legacyOperationId": "auditLog_DeleteProvisioning" - }, - { - "method": "POST", - "path": "/auditLogs/signIns", - "operationId": "auditLog_CreateSignIn", - "legacyPath": "/auditLogs/signIns", - "legacyOperationId": "auditLog_CreateSignIn" - }, - { - "method": "PATCH", - "path": "/auditLogs/signIns/{signIn-id}", - "operationId": "auditLog_UpdateSignIn", - "legacyPath": "/auditLogs/signIns/{signIn-id}", - "legacyOperationId": "auditLog_UpdateSignIn" - }, - { - "method": "DELETE", - "path": "/auditLogs/signIns/{signIn-id}", - "operationId": "auditLog_DeleteSignIn", - "legacyPath": "/auditLogs/signIns/{signIn-id}", - "legacyOperationId": "auditLog_DeleteSignIn" - }, - { - "method": "POST", - "path": "/deviceManagement/reports/exportJobs", - "operationId": "deviceManagement.report_CreateExportJob", - "legacyPath": "/deviceManagement/reports/exportJobs", - "legacyOperationId": "deviceManagement.report_CreateExportJob" - }, - { - "method": "PATCH", - "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "operationId": "deviceManagement.report_UpdateExportJob", - "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "legacyOperationId": "deviceManagement.report_UpdateExportJob" - }, - { - "method": "DELETE", - "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "operationId": "deviceManagement.report_DeleteExportJob", - "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "legacyOperationId": "deviceManagement.report_DeleteExportJob" - }, - { - "method": "GET", - "path": "/reports", - "operationId": "report.reportRoot_GetReportRoot", - "legacyPath": "/reports", - "legacyOperationId": "report.reportRoot_GetReportRoot" - }, - { - "method": "PATCH", - "path": "/reports", - "operationId": "report.reportRoot_UpdateReportRoot", - "legacyPath": "/reports", - "legacyOperationId": "report.reportRoot_UpdateReportRoot" - }, - { - "method": "PATCH", - "path": "/reports/authenticationMethods", - "operationId": "report_UpdateAuthenticationMethod", - "legacyPath": "/reports/authenticationMethods", - "legacyOperationId": "report_UpdateAuthenticationMethod" - }, - { - "method": "DELETE", - "path": "/reports/authenticationMethods", - "operationId": "report_DeleteAuthenticationMethod", - "legacyPath": "/reports/authenticationMethods", - "legacyOperationId": "report_DeleteAuthenticationMethod" - }, - { - "method": "POST", - "path": "/reports/dailyPrintUsageByPrinter", - "operationId": "report_CreateDailyPrintUsageGraphBPrePrinter", - "legacyPath": "/reports/dailyPrintUsageByPrinter", - "legacyOperationId": "report_CreateDailyPrintUsageGraphBPrePrinter" - }, - { - "method": "PATCH", - "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "report_UpdateDailyPrintUsageGraphBPrePrinter", - "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPrePrinter" - }, - { - "method": "DELETE", - "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "report_DeleteDailyPrintUsageGraphBPrePrinter", - "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPrePrinter" - }, - { - "method": "POST", - "path": "/reports/dailyPrintUsageByUser", - "operationId": "report_CreateDailyPrintUsageGraphBPreUser", - "legacyPath": "/reports/dailyPrintUsageByUser", - "legacyOperationId": "report_CreateDailyPrintUsageGraphBPreUser" - }, - { - "method": "PATCH", - "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "report_UpdateDailyPrintUsageGraphBPreUser", - "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPreUser" - }, - { - "method": "DELETE", - "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "report_DeleteDailyPrintUsageGraphBPreUser", - "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPreUser" - }, - { - "method": "POST", - "path": "/reports/monthlyPrintUsageByPrinter", - "operationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter", - "legacyPath": "/reports/monthlyPrintUsageByPrinter", - "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter" - }, - { - "method": "PATCH", - "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter", - "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter" - }, - { - "method": "DELETE", - "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter", - "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter" - }, - { - "method": "POST", - "path": "/reports/monthlyPrintUsageByUser", - "operationId": "report_CreateMonthlyPrintUsageGraphBPreUser", - "legacyPath": "/reports/monthlyPrintUsageByUser", - "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPreUser" - }, - { - "method": "PATCH", - "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "report_UpdateMonthlyPrintUsageGraphBPreUser", - "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPreUser" - }, - { - "method": "DELETE", - "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "report_DeleteMonthlyPrintUsageGraphBPreUser", - "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPreUser" - }, - { - "method": "PATCH", - "path": "/reports/partners", - "operationId": "report_UpdatePartner", - "legacyPath": "/reports/partners", - "legacyOperationId": "report_UpdatePartner" - }, - { - "method": "DELETE", - "path": "/reports/partners", - "operationId": "report_DeletePartner", - "legacyPath": "/reports/partners", - "legacyOperationId": "report_DeletePartner" - }, - { - "method": "PATCH", - "path": "/reports/security", - "operationId": "report_UpdateSecurity", - "legacyPath": "/reports/security", - "legacyOperationId": "report_UpdateSecurity" - }, - { - "method": "DELETE", - "path": "/reports/security", - "operationId": "report_DeleteSecurity", - "legacyPath": "/reports/security", - "legacyOperationId": "report_DeleteSecurity" - } - ], - "removedLegacyOperations": [], - "additionalCurrentOperations": [] - } + ] }, "beta": { - "notes": "Literal current-compatible regex policy on target abab9dac88: 83 candidates. Complete original legacy regex set 84 is preserved as 66 exact surviving method/path/IDs plus 18 explicitly pruned source operations. 17 separately reviewed additional current CRUD matches are included by the unchanged root-mutation regex, not relabeled as legacy survivors.", + "notes": "Literal current-compatible regex policy on target 08e409a6aa: 83 candidates. Complete original legacy regex set 84 is preserved as 66 exact surviving method/path/IDs plus 18 explicitly pruned source operations. 17 separately reviewed additional current CRUD matches are included by the unchanged root-mutation regex, not relabeled as legacy survivors.", "absenceExpected": false, "operations": [ { @@ -874,705 +630,7 @@ "path": "/reports/userInsights", "operationId": "report_DeleteUserInsight" } - ], - "sourceReview": { - "legacyMatchCount": 84, - "survivingLegacyOperations": [ - { - "method": "GET", - "path": "/auditLogs", - "operationId": "auditLog.auditLogRoot_GetAuditLogRoot", - "legacyPath": "/auditLogs", - "legacyOperationId": "auditLog.auditLogRoot_GetAuditLogRoot" - }, - { - "method": "PATCH", - "path": "/auditLogs", - "operationId": "auditLog.auditLogRoot_UpdateAuditLogRoot", - "legacyPath": "/auditLogs", - "legacyOperationId": "auditLog.auditLogRoot_UpdateAuditLogRoot" - }, - { - "method": "POST", - "path": "/auditLogs/customSecurityAttributeAudits", - "operationId": "auditLog_CreateCustomSecurityAttributeAudit", - "legacyPath": "/auditLogs/customSecurityAttributeAudits", - "legacyOperationId": "auditLog_CreateCustomSecurityAttributeAudit" - }, - { - "method": "PATCH", - "path": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", - "operationId": "auditLog_UpdateCustomSecurityAttributeAudit", - "legacyPath": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", - "legacyOperationId": "auditLog_UpdateCustomSecurityAttributeAudit" - }, - { - "method": "DELETE", - "path": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", - "operationId": "auditLog_DeleteCustomSecurityAttributeAudit", - "legacyPath": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", - "legacyOperationId": "auditLog_DeleteCustomSecurityAttributeAudit" - }, - { - "method": "POST", - "path": "/auditLogs/directoryAudits", - "operationId": "auditLog_CreateDirectoryAudit", - "legacyPath": "/auditLogs/directoryAudits", - "legacyOperationId": "auditLog_CreateDirectoryAudit" - }, - { - "method": "PATCH", - "path": "/auditLogs/directoryAudits/{directoryAudit-id}", - "operationId": "auditLog_UpdateDirectoryAudit", - "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", - "legacyOperationId": "auditLog_UpdateDirectoryAudit" - }, - { - "method": "DELETE", - "path": "/auditLogs/directoryAudits/{directoryAudit-id}", - "operationId": "auditLog_DeleteDirectoryAudit", - "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", - "legacyOperationId": "auditLog_DeleteDirectoryAudit" - }, - { - "method": "POST", - "path": "/auditLogs/directoryProvisioning", - "operationId": "auditLog_CreateDirectoryProvisioning", - "legacyPath": "/auditLogs/directoryProvisioning", - "legacyOperationId": "auditLog_CreateDirectoryProvisioning" - }, - { - "method": "PATCH", - "path": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", - "operationId": "auditLog_UpdateDirectoryProvisioning", - "legacyPath": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", - "legacyOperationId": "auditLog_UpdateDirectoryProvisioning" - }, - { - "method": "DELETE", - "path": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", - "operationId": "auditLog_DeleteDirectoryProvisioning", - "legacyPath": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", - "legacyOperationId": "auditLog_DeleteDirectoryProvisioning" - }, - { - "method": "POST", - "path": "/auditLogs/provisioning", - "operationId": "auditLog_CreateProvisioning", - "legacyPath": "/auditLogs/provisioning", - "legacyOperationId": "auditLog_CreateProvisioning" - }, - { - "method": "PATCH", - "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "operationId": "auditLog_UpdateProvisioning", - "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "legacyOperationId": "auditLog_UpdateProvisioning" - }, - { - "method": "DELETE", - "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "operationId": "auditLog_DeleteProvisioning", - "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", - "legacyOperationId": "auditLog_DeleteProvisioning" - }, - { - "method": "POST", - "path": "/auditLogs/signIns", - "operationId": "auditLog_CreateSignIn", - "legacyPath": "/auditLogs/signIns", - "legacyOperationId": "auditLog_CreateSignIn" - }, - { - "method": "PATCH", - "path": "/auditLogs/signIns/{signIn-id}", - "operationId": "auditLog_UpdateSignIn", - "legacyPath": "/auditLogs/signIns/{signIn-id}", - "legacyOperationId": "auditLog_UpdateSignIn" - }, - { - "method": "DELETE", - "path": "/auditLogs/signIns/{signIn-id}", - "operationId": "auditLog_DeleteSignIn", - "legacyPath": "/auditLogs/signIns/{signIn-id}", - "legacyOperationId": "auditLog_DeleteSignIn" - }, - { - "method": "POST", - "path": "/auditLogs/signUps", - "operationId": "auditLog_CreateSignUp", - "legacyPath": "/auditLogs/signUps", - "legacyOperationId": "auditLog_CreateSignUp" - }, - { - "method": "PATCH", - "path": "/auditLogs/signUps/{selfServiceSignUp-id}", - "operationId": "auditLog_UpdateSignUp", - "legacyPath": "/auditLogs/signUps/{selfServiceSignUp-id}", - "legacyOperationId": "auditLog_UpdateSignUp" - }, - { - "method": "DELETE", - "path": "/auditLogs/signUps/{selfServiceSignUp-id}", - "operationId": "auditLog_DeleteSignUp", - "legacyPath": "/auditLogs/signUps/{selfServiceSignUp-id}", - "legacyOperationId": "auditLog_DeleteSignUp" - }, - { - "method": "POST", - "path": "/deviceManagement/reports/cachedReportConfigurations", - "operationId": "deviceManagement.report_CreateCachedReportConfiguration", - "legacyPath": "/deviceManagement/reports/cachedReportConfigurations", - "legacyOperationId": "deviceManagement.report_CreateCachedReportConfiguration" - }, - { - "method": "PATCH", - "path": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", - "operationId": "deviceManagement.report_UpdateCachedReportConfiguration", - "legacyPath": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", - "legacyOperationId": "deviceManagement.report_UpdateCachedReportConfiguration" - }, - { - "method": "DELETE", - "path": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", - "operationId": "deviceManagement.report_DeleteCachedReportConfiguration", - "legacyPath": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", - "legacyOperationId": "deviceManagement.report_DeleteCachedReportConfiguration" - }, - { - "method": "POST", - "path": "/deviceManagement/reports/exportJobs", - "operationId": "deviceManagement.report_CreateExportJob", - "legacyPath": "/deviceManagement/reports/exportJobs", - "legacyOperationId": "deviceManagement.report_CreateExportJob" - }, - { - "method": "PATCH", - "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "operationId": "deviceManagement.report_UpdateExportJob", - "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "legacyOperationId": "deviceManagement.report_UpdateExportJob" - }, - { - "method": "DELETE", - "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "operationId": "deviceManagement.report_DeleteExportJob", - "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", - "legacyOperationId": "deviceManagement.report_DeleteExportJob" - }, - { - "method": "GET", - "path": "/reports", - "operationId": "report.reportRoot_GetReportRoot", - "legacyPath": "/reports", - "legacyOperationId": "report.reportRoot_GetReportRoot" - }, - { - "method": "PATCH", - "path": "/reports", - "operationId": "report.reportRoot_UpdateReportRoot", - "legacyPath": "/reports", - "legacyOperationId": "report.reportRoot_UpdateReportRoot" - }, - { - "method": "POST", - "path": "/reports/appCredentialSignInActivities", - "operationId": "report_CreateAppCredentialSignInActivity", - "legacyPath": "/reports/appCredentialSignInActivities", - "legacyOperationId": "report_CreateAppCredentialSignInActivity" - }, - { - "method": "PATCH", - "path": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", - "operationId": "report_UpdateAppCredentialSignInActivity", - "legacyPath": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", - "legacyOperationId": "report_UpdateAppCredentialSignInActivity" - }, - { - "method": "DELETE", - "path": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", - "operationId": "report_DeleteAppCredentialSignInActivity", - "legacyPath": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", - "legacyOperationId": "report_DeleteAppCredentialSignInActivity" - }, - { - "method": "POST", - "path": "/reports/applicationSignInDetailedSummary", - "operationId": "report_CreateApplicationSignInDetailedSummary", - "legacyPath": "/reports/applicationSignInDetailedSummary", - "legacyOperationId": "report_CreateApplicationSignInDetailedSummary" - }, - { - "method": "PATCH", - "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", - "operationId": "report_UpdateApplicationSignInDetailedSummary", - "legacyPath": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", - "legacyOperationId": "report_UpdateApplicationSignInDetailedSummary" - }, - { - "method": "DELETE", - "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", - "operationId": "report_DeleteApplicationSignInDetailedSummary", - "legacyPath": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", - "legacyOperationId": "report_DeleteApplicationSignInDetailedSummary" - }, - { - "method": "PATCH", - "path": "/reports/authenticationMethods", - "operationId": "report_UpdateAuthenticationMethod", - "legacyPath": "/reports/authenticationMethods", - "legacyOperationId": "report_UpdateAuthenticationMethod" - }, - { - "method": "DELETE", - "path": "/reports/authenticationMethods", - "operationId": "report_DeleteAuthenticationMethod", - "legacyPath": "/reports/authenticationMethods", - "legacyOperationId": "report_DeleteAuthenticationMethod" - }, - { - "method": "POST", - "path": "/reports/dailyPrintUsage", - "operationId": "report_CreateDailyPrintUsage", - "legacyPath": "/reports/dailyPrintUsage", - "legacyOperationId": "report_CreateDailyPrintUsage" - }, - { - "method": "PATCH", - "path": "/reports/dailyPrintUsage/{printUsage-id}", - "operationId": "report_UpdateDailyPrintUsage", - "legacyPath": "/reports/dailyPrintUsage/{printUsage-id}", - "legacyOperationId": "report_UpdateDailyPrintUsage" - }, - { - "method": "DELETE", - "path": "/reports/dailyPrintUsage/{printUsage-id}", - "operationId": "report_DeleteDailyPrintUsage", - "legacyPath": "/reports/dailyPrintUsage/{printUsage-id}", - "legacyOperationId": "report_DeleteDailyPrintUsage" - }, - { - "method": "POST", - "path": "/reports/dailyPrintUsageByPrinter", - "operationId": "report_CreateDailyPrintUsageGraphBPrePrinter", - "legacyPath": "/reports/dailyPrintUsageByPrinter", - "legacyOperationId": "report_CreateDailyPrintUsageGraphBPrePrinter" - }, - { - "method": "PATCH", - "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "report_UpdateDailyPrintUsageGraphBPrePrinter", - "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPrePrinter" - }, - { - "method": "DELETE", - "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "report_DeleteDailyPrintUsageGraphBPrePrinter", - "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPrePrinter" - }, - { - "method": "POST", - "path": "/reports/dailyPrintUsageByUser", - "operationId": "report_CreateDailyPrintUsageGraphBPreUser", - "legacyPath": "/reports/dailyPrintUsageByUser", - "legacyOperationId": "report_CreateDailyPrintUsageGraphBPreUser" - }, - { - "method": "PATCH", - "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "report_UpdateDailyPrintUsageGraphBPreUser", - "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPreUser" - }, - { - "method": "DELETE", - "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "report_DeleteDailyPrintUsageGraphBPreUser", - "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPreUser" - }, - { - "method": "PATCH", - "path": "/reports/healthMonitoring", - "operationId": "report_UpdateHealthMonitoring", - "legacyPath": "/reports/healthMonitoring", - "legacyOperationId": "report_UpdateHealthMonitoring" - }, - { - "method": "DELETE", - "path": "/reports/healthMonitoring", - "operationId": "report_DeleteHealthMonitoring", - "legacyPath": "/reports/healthMonitoring", - "legacyOperationId": "report_DeleteHealthMonitoring" - }, - { - "method": "POST", - "path": "/reports/monthlyPrintUsageByPrinter", - "operationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter", - "legacyPath": "/reports/monthlyPrintUsageByPrinter", - "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter" - }, - { - "method": "PATCH", - "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter", - "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter" - }, - { - "method": "DELETE", - "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "operationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter", - "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", - "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter" - }, - { - "method": "POST", - "path": "/reports/monthlyPrintUsageByUser", - "operationId": "report_CreateMonthlyPrintUsageGraphBPreUser", - "legacyPath": "/reports/monthlyPrintUsageByUser", - "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPreUser" - }, - { - "method": "PATCH", - "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "report_UpdateMonthlyPrintUsageGraphBPreUser", - "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPreUser" - }, - { - "method": "DELETE", - "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "operationId": "report_DeleteMonthlyPrintUsageGraphBPreUser", - "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", - "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPreUser" - }, - { - "method": "PATCH", - "path": "/reports/partners", - "operationId": "report_UpdatePartner", - "legacyPath": "/reports/partners", - "legacyOperationId": "report_UpdatePartner" - }, - { - "method": "DELETE", - "path": "/reports/partners", - "operationId": "report_DeletePartner", - "legacyPath": "/reports/partners", - "legacyOperationId": "report_DeletePartner" - }, - { - "method": "PATCH", - "path": "/reports/security", - "operationId": "report_UpdateSecurity", - "legacyPath": "/reports/security", - "legacyOperationId": "report_UpdateSecurity" - }, - { - "method": "DELETE", - "path": "/reports/security", - "operationId": "report_DeleteSecurity", - "legacyPath": "/reports/security", - "legacyOperationId": "report_DeleteSecurity" - }, - { - "method": "PATCH", - "path": "/reports/serviceActivity", - "operationId": "report_UpdateServiceActivity", - "legacyPath": "/reports/serviceActivity", - "legacyOperationId": "report_UpdateServiceActivity" - }, - { - "method": "DELETE", - "path": "/reports/serviceActivity", - "operationId": "report_DeleteServiceActivity", - "legacyPath": "/reports/serviceActivity", - "legacyOperationId": "report_DeleteServiceActivity" - }, - { - "method": "POST", - "path": "/reports/servicePrincipalSignInActivities", - "operationId": "report_CreateServicePrincipalSignInActivity", - "legacyPath": "/reports/servicePrincipalSignInActivities", - "legacyOperationId": "report_CreateServicePrincipalSignInActivity" - }, - { - "method": "PATCH", - "path": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", - "operationId": "report_UpdateServicePrincipalSignInActivity", - "legacyPath": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", - "legacyOperationId": "report_UpdateServicePrincipalSignInActivity" - }, - { - "method": "DELETE", - "path": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", - "operationId": "report_DeleteServicePrincipalSignInActivity", - "legacyPath": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", - "legacyOperationId": "report_DeleteServicePrincipalSignInActivity" - }, - { - "method": "PATCH", - "path": "/reports/sla", - "operationId": "report_UpdateSla", - "legacyPath": "/reports/sla", - "legacyOperationId": "report_UpdateSla" - }, - { - "method": "DELETE", - "path": "/reports/sla", - "operationId": "report_DeleteSla", - "legacyPath": "/reports/sla", - "legacyOperationId": "report_DeleteSla" - }, - { - "method": "PATCH", - "path": "/reports/userInsights", - "operationId": "report_UpdateUserInsight", - "legacyPath": "/reports/userInsights", - "legacyOperationId": "report_UpdateUserInsight" - }, - { - "method": "DELETE", - "path": "/reports/userInsights", - "operationId": "report_DeleteUserInsight", - "legacyPath": "/reports/userInsights", - "legacyOperationId": "report_DeleteUserInsight" - } - ], - "removedLegacyOperations": [ - { - "method": "POST", - "path": "/reports/credentialUserRegistrationDetails", - "operationId": "report_CreateCredentialUserRegistrationDetail", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "PATCH", - "path": "/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails-id}", - "operationId": "report_UpdateCredentialUserRegistrationDetail", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "DELETE", - "path": "/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails-id}", - "operationId": "report_DeleteCredentialUserRegistrationDetail", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "POST", - "path": "/reports/dailyPrintUsageSummariesByPrinter", - "operationId": "report_CreateDailyPrintUsageSummariesGraphBPrePrinter", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "PATCH", - "path": "/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", - "operationId": "report_UpdateDailyPrintUsageSummariesGraphBPrePrinter", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "DELETE", - "path": "/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", - "operationId": "report_DeleteDailyPrintUsageSummariesGraphBPrePrinter", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "POST", - "path": "/reports/dailyPrintUsageSummariesByUser", - "operationId": "report_CreateDailyPrintUsageSummariesGraphBPreUser", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "PATCH", - "path": "/reports/dailyPrintUsageSummariesByUser/{printUsageByUser-id}", - "operationId": "report_UpdateDailyPrintUsageSummariesGraphBPreUser", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "DELETE", - "path": "/reports/dailyPrintUsageSummariesByUser/{printUsageByUser-id}", - "operationId": "report_DeleteDailyPrintUsageSummariesGraphBPreUser", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "POST", - "path": "/reports/monthlyPrintUsageSummariesByPrinter", - "operationId": "report_CreateMonthlyPrintUsageSummariesGraphBPrePrinter", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "PATCH", - "path": "/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", - "operationId": "report_UpdateMonthlyPrintUsageSummariesGraphBPrePrinter", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "DELETE", - "path": "/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", - "operationId": "report_DeleteMonthlyPrintUsageSummariesGraphBPrePrinter", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "POST", - "path": "/reports/monthlyPrintUsageSummariesByUser", - "operationId": "report_CreateMonthlyPrintUsageSummariesGraphBPreUser", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "PATCH", - "path": "/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser-id}", - "operationId": "report_UpdateMonthlyPrintUsageSummariesGraphBPreUser", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "DELETE", - "path": "/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser-id}", - "operationId": "report_DeleteMonthlyPrintUsageSummariesGraphBPreUser", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "POST", - "path": "/reports/userCredentialUsageDetails", - "operationId": "report_CreateUserCredentialUsageDetail", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "PATCH", - "path": "/reports/userCredentialUsageDetails/{userCredentialUsageDetails-id}", - "operationId": "report_UpdateUserCredentialUsageDetail", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - }, - { - "method": "DELETE", - "path": "/reports/userCredentialUsageDetails/{userCredentialUsageDetails-id}", - "operationId": "report_DeleteUserCredentialUsageDetail", - "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." - } - ], - "additionalCurrentOperations": [ - { - "method": "POST", - "path": "/auditLogs/auditActivityTypes", - "operationId": "auditLog_CreateAuditActivityType", - "previousCompatibleOperationId": "auditLogs.CreateAuditActivityTypes", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Audit event type definitions, not credential or print usage data. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "PATCH", - "path": "/auditLogs/auditActivityTypes/{auditActivityType-id}", - "operationId": "auditLog_UpdateAuditActivityType", - "previousCompatibleOperationId": "auditLogs.UpdateAuditActivityTypes", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Audit event type definitions, not credential or print usage data. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "DELETE", - "path": "/auditLogs/auditActivityTypes/{auditActivityType-id}", - "operationId": "auditLog_DeleteAuditActivityType", - "previousCompatibleOperationId": "auditLogs.DeleteAuditActivityTypes", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Audit event type definitions, not credential or print usage data. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "POST", - "path": "/auditLogs/signInEventsAppSummary", - "operationId": "auditLog_CreateSignInEventsAppSummary", - "previousCompatibleOperationId": "auditLogs.CreateSignInEventsAppSummary", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Application sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "PATCH", - "path": "/auditLogs/signInEventsAppSummary/{signInEventsAppActivity-appId}", - "operationId": "auditLog_UpdateSignInEventsAppSummary", - "previousCompatibleOperationId": "auditLogs.UpdateSignInEventsAppSummary", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Application sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "DELETE", - "path": "/auditLogs/signInEventsAppSummary/{signInEventsAppActivity-appId}", - "operationId": "auditLog_DeleteSignInEventsAppSummary", - "previousCompatibleOperationId": "auditLogs.DeleteSignInEventsAppSummary", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Application sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "POST", - "path": "/auditLogs/signInEventsSummary", - "operationId": "auditLog_CreateSignInEventsSummary", - "previousCompatibleOperationId": "auditLogs.CreateSignInEventsSummary", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Daily sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "PATCH", - "path": "/auditLogs/signInEventsSummary/{signInEventsActivity-id}", - "operationId": "auditLog_UpdateSignInEventsSummary", - "previousCompatibleOperationId": "auditLogs.UpdateSignInEventsSummary", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Daily sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "DELETE", - "path": "/auditLogs/signInEventsSummary/{signInEventsActivity-id}", - "operationId": "auditLog_DeleteSignInEventsSummary", - "previousCompatibleOperationId": "auditLogs.DeleteSignInEventsSummary", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Daily sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "PATCH", - "path": "/reports/azureADPremiumLicenseInsight", - "operationId": "report_UpdateAzureADPremiumLicenseInsight", - "previousCompatibleOperationId": "reports.UpdateAzureADPremiumLicenseInsight", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Premium license entitlement and P1/P2 utilization, not the removed credential detail reports. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "DELETE", - "path": "/reports/azureADPremiumLicenseInsight", - "operationId": "report_DeleteAzureADPremiumLicenseInsight", - "previousCompatibleOperationId": "reports.DeleteAzureADPremiumLicenseInsight", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Premium license entitlement and P1/P2 utilization, not the removed credential detail reports. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "PATCH", - "path": "/reports/correlations/{identityCorrelation-id}", - "operationId": "report_UpdateCorrelation", - "previousCompatibleOperationId": "reports.UpdateCorrelations", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Identity correlation resource, not a credential detail or print usage summary successor. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "DELETE", - "path": "/reports/correlations/{identityCorrelation-id}", - "operationId": "report_DeleteCorrelation", - "previousCompatibleOperationId": "reports.DeleteCorrelations", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Identity correlation resource, not a credential detail or print usage summary successor. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "PATCH", - "path": "/reports/identityAnalytics", - "operationId": "report_UpdateIdentityAnalytic", - "previousCompatibleOperationId": "reports.UpdateIdentityAnalytics", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Tenant identity analytics root, not a credential detail or print usage summary successor. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "DELETE", - "path": "/reports/identityAnalytics", - "operationId": "report_DeleteIdentityAnalytic", - "previousCompatibleOperationId": "reports.DeleteIdentityAnalytics", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Tenant identity analytics root, not a credential detail or print usage summary successor. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "PATCH", - "path": "/reports/microsoftAppsFileStorageContainerUsageSummary", - "operationId": "report_UpdateMicrosoftAppsFileStorageContainerUsageSummary", - "previousCompatibleOperationId": "reports.UpdateMicrosoftAppsFileStorageContainerUsageSummary", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. SharePoint Embedded container storage usage, not the removed printer/user print usage summaries. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - }, - { - "method": "DELETE", - "path": "/reports/microsoftAppsFileStorageContainerUsageSummary", - "operationId": "report_DeleteMicrosoftAppsFileStorageContainerUsageSummary", - "previousCompatibleOperationId": "reports.DeleteMicrosoftAppsFileStorageContainerUsageSummary", - "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. SharePoint Embedded container storage usage, not the removed printer/user print usage summaries. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." - } - ] - } + ] } } }, diff --git a/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs b/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs index a61d05e30fb..8a4a9e1c895 100644 --- a/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs +++ b/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs @@ -43,9 +43,9 @@ public void SuppressionAccountsForEveryActualLegacyMatch( var mapping = Mapping(2).GetProperty("profiles").GetProperty(profile); Assert.False(mapping.TryGetProperty("operationIdSource", out _)); Assert.False(mapping.GetProperty("absenceExpected").GetBoolean()); - var config = new GeneratorConfig("Test.Client", "unused", profile, useCollisionData); + var config = new GeneratorConfig("Test.Client", "unused", useCollisionData); var accounted = new HashSet(StringComparer.Ordinal); - var sourceReview = mapping.GetProperty("sourceReview"); + var sourceReview = SourceReview(profile); var survivors = sourceReview.GetProperty("survivingLegacyOperations").EnumerateArray().ToArray(); var removed = sourceReview.GetProperty("removedLegacyOperations").EnumerateArray().ToArray(); var additional = sourceReview.GetProperty("additionalCurrentOperations").EnumerateArray().ToArray(); @@ -64,7 +64,7 @@ public void SuppressionAccountsForEveryActualLegacyMatch( Assert.Equal(operationId, current.Paths[path].Operations![method].OperationId); Assert.Matches(LegacySuppression, operationId); Assert.True(currentKeys.Add($"{method} {path}")); - Assert.True(CmdletConfigurator.IsSuppressed(method, path, config)); + Assert.True(CmdletConfigurator.IsSuppressed(method, path, config, apiVersion: profile)); } var literalMatches = current.Paths.SelectMany(path => path.Value.Operations! .Where(operation => Regex.IsMatch(operation.Value.OperationId!, LegacySuppression)) @@ -83,7 +83,7 @@ public void SuppressionAccountsForEveryActualLegacyMatch( Assert.Equal(CmdletConfigurator.NormalizePathTemplate(legacyPath), CmdletConfigurator.NormalizePathTemplate(path)); Assert.True(accounted.Add($"{method} {legacyPath} {legacyId}")); Assert.Contains($"{method} {path}", currentKeys); - Assert.True(CmdletConfigurator.IsSuppressed(method, path, config), $"{profile}: {method} {path}"); + Assert.True(CmdletConfigurator.IsSuppressed(method, path, config, apiVersion: profile), $"{profile}: {method} {path}"); } foreach (var entry in removed) @@ -113,7 +113,7 @@ public void AdditionalBetaMatchesAreExactlyReviewedResourceMutationsNotSuccessor { var spec = Specs["beta"].Value; var legacy = ReadSpec("openApiDocs", "beta"); - var review = Mapping(2).GetProperty("profiles").GetProperty("beta").GetProperty("sourceReview"); + var review = SourceReview("beta"); var additions = review.GetProperty("additionalCurrentOperations").EnumerateArray().ToArray(); var expected = new HashSet(StringComparer.Ordinal) { @@ -137,7 +137,7 @@ public void AdditionalBetaMatchesAreExactlyReviewedResourceMutationsNotSuccessor }; Assert.Equal(17, additions.Length); Assert.True(expected.SetEquals(additions.Select(entry => $"{Text(entry, "method")} {Text(entry, "path")}"))); - var config = new GeneratorConfig("Test.Client", "unused", "beta", useCollisionData); + var config = new GeneratorConfig("Test.Client", "unused", useCollisionData); foreach (var entry in additions) { var method = new HttpMethod(Text(entry, "method")); @@ -151,9 +151,9 @@ public void AdditionalBetaMatchesAreExactlyReviewedResourceMutationsNotSuccessor Assert.Equal("operation", kind.Node!.ToString().Trim('"')); Assert.False(string.IsNullOrWhiteSpace(Text(entry, "previousCompatibleOperationId"))); Assert.Contains("Not an action/function, argument overload, or inferred replacement", Text(entry, "notes"), StringComparison.Ordinal); - Assert.True(CmdletConfigurator.IsSuppressed(method, path, config)); + Assert.True(CmdletConfigurator.IsSuppressed(method, path, config, apiVersion: "beta")); Assert.True(spec.Paths[path].Operations!.ContainsKey(HttpMethod.Get)); - Assert.False(CmdletConfigurator.IsSuppressed(HttpMethod.Get, path, config)); + Assert.False(CmdletConfigurator.IsSuppressed(HttpMethod.Get, path, config, apiVersion: "beta")); } } @@ -165,7 +165,7 @@ public void AdditionalBetaMatchesAreExactlyReviewedResourceMutationsNotSuccessor public void NeighboringReadsNestedMutationsAndReportsOwnedActionsRemain(string profile, bool useCollisionData) { var spec = Specs[profile].Value; - var config = new GeneratorConfig("Test.Client", "unused", profile, useCollisionData); + var config = new GeneratorConfig("Test.Client", "unused", useCollisionData); (HttpMethod Method, string Path)[] neighbors = [ (HttpMethod.Get, "/deviceManagement/reports"), @@ -199,7 +199,7 @@ public void NeighboringReadsNestedMutationsAndReportsOwnedActionsRemain(string p foreach (var (method, path) in neighbors) { Assert.True(spec.Paths[path].Operations!.ContainsKey(method), $"Missing neighbor: {profile} {method} {path}"); - Assert.False(CmdletConfigurator.IsSuppressed(method, path, config), $"Suppressed neighbor: {profile} {method} {path}"); + Assert.False(CmdletConfigurator.IsSuppressed(method, path, config, apiVersion: profile), $"Suppressed neighbor: {profile} {method} {path}"); } } @@ -210,17 +210,17 @@ public void NeighboringReadsNestedMutationsAndReportsOwnedActionsRemain(string p [InlineData("beta", true)] public void SharedFunctionNamesRetainTheirOwnedRoutes(string profile, bool useCollisionData) { - var config = new GeneratorConfig("Test.Client", "unused", profile, useCollisionData); + var config = new GeneratorConfig("Test.Client", "unused", useCollisionData); foreach (var item in FunctionCases(profile)) { var operation = Specs[profile].Value.Paths[item.Path].Operations![HttpMethod.Get]; Assert.Equal(item.OperationId, operation.OperationId); var extension = Assert.IsType(operation.Extensions!["x-ms-docs-operation-type"]); Assert.Equal("function", extension.Node!.ToString().Trim('"')); - var naming = Naming.Resolve(new OperationInfo(HttpMethod.Get, item.Path, Kind: OperationKind.Function), config); + var naming = Naming.Resolve(new OperationInfo(HttpMethod.Get, item.Path, Kind: OperationKind.Function), config, apiVersion: profile); Assert.Equal("Get", naming.VerbName); Assert.Equal("Mg" + item.Noun, naming.Noun); - Assert.False(CmdletConfigurator.IsSuppressed(HttpMethod.Get, item.Path, config)); + Assert.False(CmdletConfigurator.IsSuppressed(HttpMethod.Get, item.Path, config, apiVersion: profile)); } } @@ -241,8 +241,8 @@ public async Task TargetedRealSpecFunctionsGenerateWithoutOverloadCollisions(str var output = Path.Combine(Path.GetTempPath(), "reports-directive-tests", Guid.NewGuid().ToString("N")); try { - var config = new GeneratorConfig("Test.Client", output, profile, useCollisionData); - await new PowerShellWrapperGenerationService(target, config, NullLogger.Instance) + var config = new GeneratorConfig("Test.Client", output, useCollisionData); + await new PowerShellWrapperGenerationService(target, config, NullLogger.Instance, apiVersion: profile) .GenerateAsync(CancellationToken.None); var expected = cases.Select(item => "GetMg" + item.Noun + ".g.cs").OrderBy(name => name).ToArray(); var files = Directory.GetFiles(output, "*.g.cs").Select(Path.GetFileName).OrderBy(name => name).ToArray(); @@ -265,14 +265,43 @@ public async Task TargetedRealSpecFunctionsGenerateWithoutOverloadCollisions(str [InlineData(true)] public void ApplicationSummaryRenameKeepsStructuralGetAndCountNames(bool useCollisionData) { - var config = new GeneratorConfig("Test.Client", "unused", "beta", useCollisionData); + var config = new GeneratorConfig("Test.Client", "unused", useCollisionData); foreach (var suffix in new[] { "", "/{applicationSignInDetailedSummary-id}", "/$count" }) { var path = "/reports/applicationSignInDetailedSummary" + suffix; var operation = Specs["beta"].Value.Paths[path].Operations![HttpMethod.Get]; Assert.NotNull(operation.OperationId); Assert.Equal("MgReportApplicationSignInDetailedSummary" + (suffix == "/$count" ? "Count" : ""), - Naming.Resolve(new OperationInfo(HttpMethod.Get, path), config).Noun); + Naming.Resolve(new OperationInfo(HttpMethod.Get, path), config, apiVersion: "beta").Noun); + } + } + + [Fact] + public void LiteralLedgerDoesNotDeclareLegacyTranslationFields() + { + using var document = JsonDocument.Parse(File.ReadAllText(Path.Combine( + RepoRoot, "src", "Reports", "wrapper", "Reports_directiveMigrationMap.json"))); + AssertNoLegacyFields(document.RootElement); + + static void AssertNoLegacyFields(JsonElement element) + { + if (element.ValueKind == JsonValueKind.Object) + { + foreach (var property in element.EnumerateObject()) + { + Assert.DoesNotContain(property.Name, new[] + { + "operationIdSource", "legacyPath", "legacyOperationId", + "legacyPathTranslation", "removedLegacyOperations", + }); + AssertNoLegacyFields(property.Value); + } + } + else if (element.ValueKind == JsonValueKind.Array) + { + foreach (var item in element.EnumerateArray()) + AssertNoLegacyFields(item); + } } } @@ -302,6 +331,13 @@ private static JsonElement Mapping(int index) private static string Text(JsonElement entry, string name) => entry.GetProperty(name).GetString()!; + private static JsonElement SourceReview(string profile) + { + using var document = JsonDocument.Parse(File.ReadAllText(Path.Combine( + RepoRoot, "tools", "WrapperGenerator.Tests", "ReportsDirectiveSourceReview.json"))); + return document.RootElement.GetProperty("profiles").GetProperty(profile).Clone(); + } + private static OpenApiDocument ReadSpec(string directory, string profile) { var settings = new OpenApiReaderSettings(); diff --git a/tools/WrapperGenerator.Tests/ReportsDirectiveSourceReview.json b/tools/WrapperGenerator.Tests/ReportsDirectiveSourceReview.json new file mode 100644 index 00000000000..5eee95d6f29 --- /dev/null +++ b/tools/WrapperGenerator.Tests/ReportsDirectiveSourceReview.json @@ -0,0 +1,949 @@ +{ + "source": "src\\Reports\\Reports.md", + "directiveIndex": 2, + "profiles": { + "v1.0": { + "legacyMatchCount": 34, + "survivingLegacyOperations": [ + { + "method": "GET", + "path": "/auditLogs", + "operationId": "auditLog.auditLogRoot_GetAuditLogRoot", + "legacyPath": "/auditLogs", + "legacyOperationId": "auditLog.auditLogRoot_GetAuditLogRoot" + }, + { + "method": "PATCH", + "path": "/auditLogs", + "operationId": "auditLog.auditLogRoot_UpdateAuditLogRoot", + "legacyPath": "/auditLogs", + "legacyOperationId": "auditLog.auditLogRoot_UpdateAuditLogRoot" + }, + { + "method": "POST", + "path": "/auditLogs/directoryAudits", + "operationId": "auditLog_CreateDirectoryAudit", + "legacyPath": "/auditLogs/directoryAudits", + "legacyOperationId": "auditLog_CreateDirectoryAudit" + }, + { + "method": "PATCH", + "path": "/auditLogs/directoryAudits/{directoryAudit-id}", + "operationId": "auditLog_UpdateDirectoryAudit", + "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", + "legacyOperationId": "auditLog_UpdateDirectoryAudit" + }, + { + "method": "DELETE", + "path": "/auditLogs/directoryAudits/{directoryAudit-id}", + "operationId": "auditLog_DeleteDirectoryAudit", + "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", + "legacyOperationId": "auditLog_DeleteDirectoryAudit" + }, + { + "method": "POST", + "path": "/auditLogs/provisioning", + "operationId": "auditLog_CreateProvisioning", + "legacyPath": "/auditLogs/provisioning", + "legacyOperationId": "auditLog_CreateProvisioning" + }, + { + "method": "PATCH", + "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "operationId": "auditLog_UpdateProvisioning", + "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_UpdateProvisioning" + }, + { + "method": "DELETE", + "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "operationId": "auditLog_DeleteProvisioning", + "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_DeleteProvisioning" + }, + { + "method": "POST", + "path": "/auditLogs/signIns", + "operationId": "auditLog_CreateSignIn", + "legacyPath": "/auditLogs/signIns", + "legacyOperationId": "auditLog_CreateSignIn" + }, + { + "method": "PATCH", + "path": "/auditLogs/signIns/{signIn-id}", + "operationId": "auditLog_UpdateSignIn", + "legacyPath": "/auditLogs/signIns/{signIn-id}", + "legacyOperationId": "auditLog_UpdateSignIn" + }, + { + "method": "DELETE", + "path": "/auditLogs/signIns/{signIn-id}", + "operationId": "auditLog_DeleteSignIn", + "legacyPath": "/auditLogs/signIns/{signIn-id}", + "legacyOperationId": "auditLog_DeleteSignIn" + }, + { + "method": "POST", + "path": "/deviceManagement/reports/exportJobs", + "operationId": "deviceManagement.report_CreateExportJob", + "legacyPath": "/deviceManagement/reports/exportJobs", + "legacyOperationId": "deviceManagement.report_CreateExportJob" + }, + { + "method": "PATCH", + "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "operationId": "deviceManagement.report_UpdateExportJob", + "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "legacyOperationId": "deviceManagement.report_UpdateExportJob" + }, + { + "method": "DELETE", + "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "operationId": "deviceManagement.report_DeleteExportJob", + "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "legacyOperationId": "deviceManagement.report_DeleteExportJob" + }, + { + "method": "GET", + "path": "/reports", + "operationId": "report.reportRoot_GetReportRoot", + "legacyPath": "/reports", + "legacyOperationId": "report.reportRoot_GetReportRoot" + }, + { + "method": "PATCH", + "path": "/reports", + "operationId": "report.reportRoot_UpdateReportRoot", + "legacyPath": "/reports", + "legacyOperationId": "report.reportRoot_UpdateReportRoot" + }, + { + "method": "PATCH", + "path": "/reports/authenticationMethods", + "operationId": "report_UpdateAuthenticationMethod", + "legacyPath": "/reports/authenticationMethods", + "legacyOperationId": "report_UpdateAuthenticationMethod" + }, + { + "method": "DELETE", + "path": "/reports/authenticationMethods", + "operationId": "report_DeleteAuthenticationMethod", + "legacyPath": "/reports/authenticationMethods", + "legacyOperationId": "report_DeleteAuthenticationMethod" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageByPrinter", + "operationId": "report_CreateDailyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter", + "legacyOperationId": "report_CreateDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_UpdateDailyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_DeleteDailyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageByUser", + "operationId": "report_CreateDailyPrintUsageGraphBPreUser", + "legacyPath": "/reports/dailyPrintUsageByUser", + "legacyOperationId": "report_CreateDailyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_UpdateDailyPrintUsageGraphBPreUser", + "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPreUser" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_DeleteDailyPrintUsageGraphBPreUser", + "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPreUser" + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageByPrinter", + "operationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter", + "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageByUser", + "operationId": "report_CreateMonthlyPrintUsageGraphBPreUser", + "legacyPath": "/reports/monthlyPrintUsageByUser", + "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_UpdateMonthlyPrintUsageGraphBPreUser", + "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_DeleteMonthlyPrintUsageGraphBPreUser", + "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/partners", + "operationId": "report_UpdatePartner", + "legacyPath": "/reports/partners", + "legacyOperationId": "report_UpdatePartner" + }, + { + "method": "DELETE", + "path": "/reports/partners", + "operationId": "report_DeletePartner", + "legacyPath": "/reports/partners", + "legacyOperationId": "report_DeletePartner" + }, + { + "method": "PATCH", + "path": "/reports/security", + "operationId": "report_UpdateSecurity", + "legacyPath": "/reports/security", + "legacyOperationId": "report_UpdateSecurity" + }, + { + "method": "DELETE", + "path": "/reports/security", + "operationId": "report_DeleteSecurity", + "legacyPath": "/reports/security", + "legacyOperationId": "report_DeleteSecurity" + } + ], + "removedLegacyOperations": [], + "additionalCurrentOperations": [] + }, + "beta": { + "legacyMatchCount": 84, + "survivingLegacyOperations": [ + { + "method": "GET", + "path": "/auditLogs", + "operationId": "auditLog.auditLogRoot_GetAuditLogRoot", + "legacyPath": "/auditLogs", + "legacyOperationId": "auditLog.auditLogRoot_GetAuditLogRoot" + }, + { + "method": "PATCH", + "path": "/auditLogs", + "operationId": "auditLog.auditLogRoot_UpdateAuditLogRoot", + "legacyPath": "/auditLogs", + "legacyOperationId": "auditLog.auditLogRoot_UpdateAuditLogRoot" + }, + { + "method": "POST", + "path": "/auditLogs/customSecurityAttributeAudits", + "operationId": "auditLog_CreateCustomSecurityAttributeAudit", + "legacyPath": "/auditLogs/customSecurityAttributeAudits", + "legacyOperationId": "auditLog_CreateCustomSecurityAttributeAudit" + }, + { + "method": "PATCH", + "path": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", + "operationId": "auditLog_UpdateCustomSecurityAttributeAudit", + "legacyPath": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", + "legacyOperationId": "auditLog_UpdateCustomSecurityAttributeAudit" + }, + { + "method": "DELETE", + "path": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", + "operationId": "auditLog_DeleteCustomSecurityAttributeAudit", + "legacyPath": "/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit-id}", + "legacyOperationId": "auditLog_DeleteCustomSecurityAttributeAudit" + }, + { + "method": "POST", + "path": "/auditLogs/directoryAudits", + "operationId": "auditLog_CreateDirectoryAudit", + "legacyPath": "/auditLogs/directoryAudits", + "legacyOperationId": "auditLog_CreateDirectoryAudit" + }, + { + "method": "PATCH", + "path": "/auditLogs/directoryAudits/{directoryAudit-id}", + "operationId": "auditLog_UpdateDirectoryAudit", + "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", + "legacyOperationId": "auditLog_UpdateDirectoryAudit" + }, + { + "method": "DELETE", + "path": "/auditLogs/directoryAudits/{directoryAudit-id}", + "operationId": "auditLog_DeleteDirectoryAudit", + "legacyPath": "/auditLogs/directoryAudits/{directoryAudit-id}", + "legacyOperationId": "auditLog_DeleteDirectoryAudit" + }, + { + "method": "POST", + "path": "/auditLogs/directoryProvisioning", + "operationId": "auditLog_CreateDirectoryProvisioning", + "legacyPath": "/auditLogs/directoryProvisioning", + "legacyOperationId": "auditLog_CreateDirectoryProvisioning" + }, + { + "method": "PATCH", + "path": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", + "operationId": "auditLog_UpdateDirectoryProvisioning", + "legacyPath": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_UpdateDirectoryProvisioning" + }, + { + "method": "DELETE", + "path": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", + "operationId": "auditLog_DeleteDirectoryProvisioning", + "legacyPath": "/auditLogs/directoryProvisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_DeleteDirectoryProvisioning" + }, + { + "method": "POST", + "path": "/auditLogs/provisioning", + "operationId": "auditLog_CreateProvisioning", + "legacyPath": "/auditLogs/provisioning", + "legacyOperationId": "auditLog_CreateProvisioning" + }, + { + "method": "PATCH", + "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "operationId": "auditLog_UpdateProvisioning", + "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_UpdateProvisioning" + }, + { + "method": "DELETE", + "path": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "operationId": "auditLog_DeleteProvisioning", + "legacyPath": "/auditLogs/provisioning/{provisioningObjectSummary-id}", + "legacyOperationId": "auditLog_DeleteProvisioning" + }, + { + "method": "POST", + "path": "/auditLogs/signIns", + "operationId": "auditLog_CreateSignIn", + "legacyPath": "/auditLogs/signIns", + "legacyOperationId": "auditLog_CreateSignIn" + }, + { + "method": "PATCH", + "path": "/auditLogs/signIns/{signIn-id}", + "operationId": "auditLog_UpdateSignIn", + "legacyPath": "/auditLogs/signIns/{signIn-id}", + "legacyOperationId": "auditLog_UpdateSignIn" + }, + { + "method": "DELETE", + "path": "/auditLogs/signIns/{signIn-id}", + "operationId": "auditLog_DeleteSignIn", + "legacyPath": "/auditLogs/signIns/{signIn-id}", + "legacyOperationId": "auditLog_DeleteSignIn" + }, + { + "method": "POST", + "path": "/auditLogs/signUps", + "operationId": "auditLog_CreateSignUp", + "legacyPath": "/auditLogs/signUps", + "legacyOperationId": "auditLog_CreateSignUp" + }, + { + "method": "PATCH", + "path": "/auditLogs/signUps/{selfServiceSignUp-id}", + "operationId": "auditLog_UpdateSignUp", + "legacyPath": "/auditLogs/signUps/{selfServiceSignUp-id}", + "legacyOperationId": "auditLog_UpdateSignUp" + }, + { + "method": "DELETE", + "path": "/auditLogs/signUps/{selfServiceSignUp-id}", + "operationId": "auditLog_DeleteSignUp", + "legacyPath": "/auditLogs/signUps/{selfServiceSignUp-id}", + "legacyOperationId": "auditLog_DeleteSignUp" + }, + { + "method": "POST", + "path": "/deviceManagement/reports/cachedReportConfigurations", + "operationId": "deviceManagement.report_CreateCachedReportConfiguration", + "legacyPath": "/deviceManagement/reports/cachedReportConfigurations", + "legacyOperationId": "deviceManagement.report_CreateCachedReportConfiguration" + }, + { + "method": "PATCH", + "path": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", + "operationId": "deviceManagement.report_UpdateCachedReportConfiguration", + "legacyPath": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", + "legacyOperationId": "deviceManagement.report_UpdateCachedReportConfiguration" + }, + { + "method": "DELETE", + "path": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", + "operationId": "deviceManagement.report_DeleteCachedReportConfiguration", + "legacyPath": "/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration-id}", + "legacyOperationId": "deviceManagement.report_DeleteCachedReportConfiguration" + }, + { + "method": "POST", + "path": "/deviceManagement/reports/exportJobs", + "operationId": "deviceManagement.report_CreateExportJob", + "legacyPath": "/deviceManagement/reports/exportJobs", + "legacyOperationId": "deviceManagement.report_CreateExportJob" + }, + { + "method": "PATCH", + "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "operationId": "deviceManagement.report_UpdateExportJob", + "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "legacyOperationId": "deviceManagement.report_UpdateExportJob" + }, + { + "method": "DELETE", + "path": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "operationId": "deviceManagement.report_DeleteExportJob", + "legacyPath": "/deviceManagement/reports/exportJobs/{deviceManagementExportJob-id}", + "legacyOperationId": "deviceManagement.report_DeleteExportJob" + }, + { + "method": "GET", + "path": "/reports", + "operationId": "report.reportRoot_GetReportRoot", + "legacyPath": "/reports", + "legacyOperationId": "report.reportRoot_GetReportRoot" + }, + { + "method": "PATCH", + "path": "/reports", + "operationId": "report.reportRoot_UpdateReportRoot", + "legacyPath": "/reports", + "legacyOperationId": "report.reportRoot_UpdateReportRoot" + }, + { + "method": "POST", + "path": "/reports/appCredentialSignInActivities", + "operationId": "report_CreateAppCredentialSignInActivity", + "legacyPath": "/reports/appCredentialSignInActivities", + "legacyOperationId": "report_CreateAppCredentialSignInActivity" + }, + { + "method": "PATCH", + "path": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", + "operationId": "report_UpdateAppCredentialSignInActivity", + "legacyPath": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", + "legacyOperationId": "report_UpdateAppCredentialSignInActivity" + }, + { + "method": "DELETE", + "path": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", + "operationId": "report_DeleteAppCredentialSignInActivity", + "legacyPath": "/reports/appCredentialSignInActivities/{appCredentialSignInActivity-id}", + "legacyOperationId": "report_DeleteAppCredentialSignInActivity" + }, + { + "method": "POST", + "path": "/reports/applicationSignInDetailedSummary", + "operationId": "report_CreateApplicationSignInDetailedSummary", + "legacyPath": "/reports/applicationSignInDetailedSummary", + "legacyOperationId": "report_CreateApplicationSignInDetailedSummary" + }, + { + "method": "PATCH", + "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "operationId": "report_UpdateApplicationSignInDetailedSummary", + "legacyPath": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "legacyOperationId": "report_UpdateApplicationSignInDetailedSummary" + }, + { + "method": "DELETE", + "path": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "operationId": "report_DeleteApplicationSignInDetailedSummary", + "legacyPath": "/reports/applicationSignInDetailedSummary/{applicationSignInDetailedSummary-id}", + "legacyOperationId": "report_DeleteApplicationSignInDetailedSummary" + }, + { + "method": "PATCH", + "path": "/reports/authenticationMethods", + "operationId": "report_UpdateAuthenticationMethod", + "legacyPath": "/reports/authenticationMethods", + "legacyOperationId": "report_UpdateAuthenticationMethod" + }, + { + "method": "DELETE", + "path": "/reports/authenticationMethods", + "operationId": "report_DeleteAuthenticationMethod", + "legacyPath": "/reports/authenticationMethods", + "legacyOperationId": "report_DeleteAuthenticationMethod" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsage", + "operationId": "report_CreateDailyPrintUsage", + "legacyPath": "/reports/dailyPrintUsage", + "legacyOperationId": "report_CreateDailyPrintUsage" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsage/{printUsage-id}", + "operationId": "report_UpdateDailyPrintUsage", + "legacyPath": "/reports/dailyPrintUsage/{printUsage-id}", + "legacyOperationId": "report_UpdateDailyPrintUsage" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsage/{printUsage-id}", + "operationId": "report_DeleteDailyPrintUsage", + "legacyPath": "/reports/dailyPrintUsage/{printUsage-id}", + "legacyOperationId": "report_DeleteDailyPrintUsage" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageByPrinter", + "operationId": "report_CreateDailyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter", + "legacyOperationId": "report_CreateDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_UpdateDailyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_DeleteDailyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/dailyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPrePrinter" + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageByUser", + "operationId": "report_CreateDailyPrintUsageGraphBPreUser", + "legacyPath": "/reports/dailyPrintUsageByUser", + "legacyOperationId": "report_CreateDailyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_UpdateDailyPrintUsageGraphBPreUser", + "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_UpdateDailyPrintUsageGraphBPreUser" + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_DeleteDailyPrintUsageGraphBPreUser", + "legacyPath": "/reports/dailyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_DeleteDailyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/healthMonitoring", + "operationId": "report_UpdateHealthMonitoring", + "legacyPath": "/reports/healthMonitoring", + "legacyOperationId": "report_UpdateHealthMonitoring" + }, + { + "method": "DELETE", + "path": "/reports/healthMonitoring", + "operationId": "report_DeleteHealthMonitoring", + "legacyPath": "/reports/healthMonitoring", + "legacyOperationId": "report_DeleteHealthMonitoring" + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageByPrinter", + "operationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter", + "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "operationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter", + "legacyPath": "/reports/monthlyPrintUsageByPrinter/{printUsageByPrinter-id}", + "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPrePrinter" + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageByUser", + "operationId": "report_CreateMonthlyPrintUsageGraphBPreUser", + "legacyPath": "/reports/monthlyPrintUsageByUser", + "legacyOperationId": "report_CreateMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_UpdateMonthlyPrintUsageGraphBPreUser", + "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_UpdateMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "operationId": "report_DeleteMonthlyPrintUsageGraphBPreUser", + "legacyPath": "/reports/monthlyPrintUsageByUser/{printUsageByUser-id}", + "legacyOperationId": "report_DeleteMonthlyPrintUsageGraphBPreUser" + }, + { + "method": "PATCH", + "path": "/reports/partners", + "operationId": "report_UpdatePartner", + "legacyPath": "/reports/partners", + "legacyOperationId": "report_UpdatePartner" + }, + { + "method": "DELETE", + "path": "/reports/partners", + "operationId": "report_DeletePartner", + "legacyPath": "/reports/partners", + "legacyOperationId": "report_DeletePartner" + }, + { + "method": "PATCH", + "path": "/reports/security", + "operationId": "report_UpdateSecurity", + "legacyPath": "/reports/security", + "legacyOperationId": "report_UpdateSecurity" + }, + { + "method": "DELETE", + "path": "/reports/security", + "operationId": "report_DeleteSecurity", + "legacyPath": "/reports/security", + "legacyOperationId": "report_DeleteSecurity" + }, + { + "method": "PATCH", + "path": "/reports/serviceActivity", + "operationId": "report_UpdateServiceActivity", + "legacyPath": "/reports/serviceActivity", + "legacyOperationId": "report_UpdateServiceActivity" + }, + { + "method": "DELETE", + "path": "/reports/serviceActivity", + "operationId": "report_DeleteServiceActivity", + "legacyPath": "/reports/serviceActivity", + "legacyOperationId": "report_DeleteServiceActivity" + }, + { + "method": "POST", + "path": "/reports/servicePrincipalSignInActivities", + "operationId": "report_CreateServicePrincipalSignInActivity", + "legacyPath": "/reports/servicePrincipalSignInActivities", + "legacyOperationId": "report_CreateServicePrincipalSignInActivity" + }, + { + "method": "PATCH", + "path": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", + "operationId": "report_UpdateServicePrincipalSignInActivity", + "legacyPath": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", + "legacyOperationId": "report_UpdateServicePrincipalSignInActivity" + }, + { + "method": "DELETE", + "path": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", + "operationId": "report_DeleteServicePrincipalSignInActivity", + "legacyPath": "/reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivity-id}", + "legacyOperationId": "report_DeleteServicePrincipalSignInActivity" + }, + { + "method": "PATCH", + "path": "/reports/sla", + "operationId": "report_UpdateSla", + "legacyPath": "/reports/sla", + "legacyOperationId": "report_UpdateSla" + }, + { + "method": "DELETE", + "path": "/reports/sla", + "operationId": "report_DeleteSla", + "legacyPath": "/reports/sla", + "legacyOperationId": "report_DeleteSla" + }, + { + "method": "PATCH", + "path": "/reports/userInsights", + "operationId": "report_UpdateUserInsight", + "legacyPath": "/reports/userInsights", + "legacyOperationId": "report_UpdateUserInsight" + }, + { + "method": "DELETE", + "path": "/reports/userInsights", + "operationId": "report_DeleteUserInsight", + "legacyPath": "/reports/userInsights", + "legacyOperationId": "report_DeleteUserInsight" + } + ], + "removedLegacyOperations": [ + { + "method": "POST", + "path": "/reports/credentialUserRegistrationDetails", + "operationId": "report_CreateCredentialUserRegistrationDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails-id}", + "operationId": "report_UpdateCredentialUserRegistrationDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/credentialUserRegistrationDetails/{credentialUserRegistrationDetails-id}", + "operationId": "report_DeleteCredentialUserRegistrationDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageSummariesByPrinter", + "operationId": "report_CreateDailyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", + "operationId": "report_UpdateDailyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", + "operationId": "report_DeleteDailyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/dailyPrintUsageSummariesByUser", + "operationId": "report_CreateDailyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/dailyPrintUsageSummariesByUser/{printUsageByUser-id}", + "operationId": "report_UpdateDailyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/dailyPrintUsageSummariesByUser/{printUsageByUser-id}", + "operationId": "report_DeleteDailyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageSummariesByPrinter", + "operationId": "report_CreateMonthlyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", + "operationId": "report_UpdateMonthlyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageSummariesByPrinter/{printUsageByPrinter-id}", + "operationId": "report_DeleteMonthlyPrintUsageSummariesGraphBPrePrinter", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/monthlyPrintUsageSummariesByUser", + "operationId": "report_CreateMonthlyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser-id}", + "operationId": "report_UpdateMonthlyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/monthlyPrintUsageSummariesByUser/{printUsageByUser-id}", + "operationId": "report_DeleteMonthlyPrintUsageSummariesGraphBPreUser", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "POST", + "path": "/reports/userCredentialUsageDetails", + "operationId": "report_CreateUserCredentialUsageDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "PATCH", + "path": "/reports/userCredentialUsageDetails/{userCredentialUsageDetails-id}", + "operationId": "report_UpdateUserCredentialUsageDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + }, + { + "method": "DELETE", + "path": "/reports/userCredentialUsageDetails/{userCredentialUsageDetails-id}", + "operationId": "report_DeleteUserCredentialUsageDetail", + "notes": "This exact legacy method/path was pruned from the compatible Reports spec; no successor is inferred." + } + ], + "additionalCurrentOperations": [ + { + "method": "POST", + "path": "/auditLogs/auditActivityTypes", + "operationId": "auditLog_CreateAuditActivityType", + "previousCompatibleOperationId": "auditLogs.CreateAuditActivityTypes", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Audit event type definitions, not credential or print usage data. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "PATCH", + "path": "/auditLogs/auditActivityTypes/{auditActivityType-id}", + "operationId": "auditLog_UpdateAuditActivityType", + "previousCompatibleOperationId": "auditLogs.UpdateAuditActivityTypes", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Audit event type definitions, not credential or print usage data. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "DELETE", + "path": "/auditLogs/auditActivityTypes/{auditActivityType-id}", + "operationId": "auditLog_DeleteAuditActivityType", + "previousCompatibleOperationId": "auditLogs.DeleteAuditActivityTypes", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Audit event type definitions, not credential or print usage data. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "POST", + "path": "/auditLogs/signInEventsAppSummary", + "operationId": "auditLog_CreateSignInEventsAppSummary", + "previousCompatibleOperationId": "auditLogs.CreateSignInEventsAppSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Application sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "PATCH", + "path": "/auditLogs/signInEventsAppSummary/{signInEventsAppActivity-appId}", + "operationId": "auditLog_UpdateSignInEventsAppSummary", + "previousCompatibleOperationId": "auditLogs.UpdateSignInEventsAppSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Application sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "DELETE", + "path": "/auditLogs/signInEventsAppSummary/{signInEventsAppActivity-appId}", + "operationId": "auditLog_DeleteSignInEventsAppSummary", + "previousCompatibleOperationId": "auditLogs.DeleteSignInEventsAppSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Application sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "POST", + "path": "/auditLogs/signInEventsSummary", + "operationId": "auditLog_CreateSignInEventsSummary", + "previousCompatibleOperationId": "auditLogs.CreateSignInEventsSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Daily sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "PATCH", + "path": "/auditLogs/signInEventsSummary/{signInEventsActivity-id}", + "operationId": "auditLog_UpdateSignInEventsSummary", + "previousCompatibleOperationId": "auditLogs.UpdateSignInEventsSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Daily sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "DELETE", + "path": "/auditLogs/signInEventsSummary/{signInEventsActivity-id}", + "operationId": "auditLog_DeleteSignInEventsSummary", + "previousCompatibleOperationId": "auditLogs.DeleteSignInEventsSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Daily sign-in event aggregates, not credential-registration or credential-usage detail. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "PATCH", + "path": "/reports/azureADPremiumLicenseInsight", + "operationId": "report_UpdateAzureADPremiumLicenseInsight", + "previousCompatibleOperationId": "reports.UpdateAzureADPremiumLicenseInsight", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Premium license entitlement and P1/P2 utilization, not the removed credential detail reports. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "DELETE", + "path": "/reports/azureADPremiumLicenseInsight", + "operationId": "report_DeleteAzureADPremiumLicenseInsight", + "previousCompatibleOperationId": "reports.DeleteAzureADPremiumLicenseInsight", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Premium license entitlement and P1/P2 utilization, not the removed credential detail reports. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "PATCH", + "path": "/reports/correlations/{identityCorrelation-id}", + "operationId": "report_UpdateCorrelation", + "previousCompatibleOperationId": "reports.UpdateCorrelations", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Identity correlation resource, not a credential detail or print usage summary successor. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "DELETE", + "path": "/reports/correlations/{identityCorrelation-id}", + "operationId": "report_DeleteCorrelation", + "previousCompatibleOperationId": "reports.DeleteCorrelations", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Identity correlation resource, not a credential detail or print usage summary successor. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "PATCH", + "path": "/reports/identityAnalytics", + "operationId": "report_UpdateIdentityAnalytic", + "previousCompatibleOperationId": "reports.UpdateIdentityAnalytics", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Tenant identity analytics root, not a credential detail or print usage summary successor. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "DELETE", + "path": "/reports/identityAnalytics", + "operationId": "report_DeleteIdentityAnalytic", + "previousCompatibleOperationId": "reports.DeleteIdentityAnalytics", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. Tenant identity analytics root, not a credential detail or print usage summary successor. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "PATCH", + "path": "/reports/microsoftAppsFileStorageContainerUsageSummary", + "operationId": "report_UpdateMicrosoftAppsFileStorageContainerUsageSummary", + "previousCompatibleOperationId": "reports.UpdateMicrosoftAppsFileStorageContainerUsageSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. SharePoint Embedded container storage usage, not the removed printer/user print usage summaries. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + }, + { + "method": "DELETE", + "path": "/reports/microsoftAppsFileStorageContainerUsageSummary", + "operationId": "report_DeleteMicrosoftAppsFileStorageContainerUsageSummary", + "previousCompatibleOperationId": "reports.DeleteMicrosoftAppsFileStorageContainerUsageSummary", + "notes": "Genuine additional resource CRUD operation, already present in compatible spec 51d441eeb5; now literally selected after #3861 aligned IDs. The unchanged unanchored regex suppresses root report/audit mutations, not only a frozen historical path list. SharePoint Embedded container storage usage, not the removed printer/user print usage summaries. Not an action/function, argument overload, or inferred replacement for a removed operation. Its GET and nonmatching descendants remain." + } + ] + } + } +} From e45edd0be84cdac9157703769fe16727970caa38 Mon Sep 17 00:00:00 2001 From: Ramses Sanchez Hernandez Date: Mon, 2 Nov 2026 16:42:50 -0800 Subject: [PATCH 08/13] Pin Reports profile transport after Authentication integration Recheck unchanged source selection on the normally merged Authentication target and assert the emitted service profile for every owned function with oracle data on and off. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- src/Reports/wrapper/Reports_directiveMigrationMap.json | 6 +++--- .../ReportsDirectiveMigrationTests.cs | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Reports/wrapper/Reports_directiveMigrationMap.json b/src/Reports/wrapper/Reports_directiveMigrationMap.json index dd527ac25fe..d90422307c4 100644 --- a/src/Reports/wrapper/Reports_directiveMigrationMap.json +++ b/src/Reports/wrapper/Reports_directiveMigrationMap.json @@ -22,7 +22,7 @@ "v1.0": "1f907bf7691c3a13779b7ea6786e3764cb61d5a1", "beta": "169859b86fc51330fd53c8a948dfa8ef595f36fd" }, - "reviewedTarget": "08e409a6aa8fd48736b8f9a9199559f46fc0d1ad", + "reviewedTarget": "844672d7c2238f6b29a208f9ba73fe28e9e29cef", "regressionTests": "tools\\WrapperGenerator.Tests\\ReportsDirectiveMigrationTests.cs", "sourceReviewTests": "tools\\WrapperGenerator.Tests\\ReportsDirectiveSourceReview.json" }, @@ -36,7 +36,7 @@ "notes": "Baseline-supported literal-compatible ledger after #3861 ID alignment. Preserve every original source-selected survivor and explicit removal proof in the ReportsDirectiveSourceReview.json test fixture. Include all 17 genuinely additional beta CRUD routes now literally selected by the unchanged root-mutation regex, with exact prior/current identities and per-family rationale. No action/function expansion, guessed semantic successor, or broad prefix suppression. Original 84 beta matches remain accounted as 66 survivors plus 18 removed; current 83 are the 66 survivors plus 17 additional matches. Nested authentication registration and nonmatching descendants remain.", "profiles": { "v1.0": { - "notes": "Literal current-compatible regex policy on target 08e409a6aa: 34 candidates. Complete original legacy regex set 34 is preserved as 34 exact surviving method/path/IDs plus 0 explicitly pruned source operations. 0 separately reviewed additional current CRUD matches are included by the unchanged root-mutation regex, not relabeled as legacy survivors.", + "notes": "Literal current-compatible regex policy on target 844672d7c2: 34 candidates. Complete original legacy regex set 34 is preserved as 34 exact surviving method/path/IDs plus 0 explicitly pruned source operations. 0 separately reviewed additional current CRUD matches are included by the unchanged root-mutation regex, not relabeled as legacy survivors.", "absenceExpected": false, "operations": [ { @@ -212,7 +212,7 @@ ] }, "beta": { - "notes": "Literal current-compatible regex policy on target 08e409a6aa: 83 candidates. Complete original legacy regex set 84 is preserved as 66 exact surviving method/path/IDs plus 18 explicitly pruned source operations. 17 separately reviewed additional current CRUD matches are included by the unchanged root-mutation regex, not relabeled as legacy survivors.", + "notes": "Literal current-compatible regex policy on target 844672d7c2: 83 candidates. Complete original legacy regex set 84 is preserved as 66 exact surviving method/path/IDs plus 18 explicitly pruned source operations. 17 separately reviewed additional current CRUD matches are included by the unchanged root-mutation regex, not relabeled as legacy survivors.", "absenceExpected": false, "operations": [ { diff --git a/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs b/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs index 8a4a9e1c895..745a08851aa 100644 --- a/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs +++ b/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs @@ -251,6 +251,8 @@ public async Task TargetedRealSpecFunctionsGenerateWithoutOverloadCollisions(str { var code = File.ReadAllText(Path.Combine(output, "GetMg" + item.Noun + ".g.cs")); Assert.Contains(item.Path, code, StringComparison.Ordinal); + Assert.Contains($"GetRequestAdapter(\"{profile}\")", code, StringComparison.Ordinal); + Assert.DoesNotContain("GetRequestAdapter()", code, StringComparison.Ordinal); } } finally From b0e7506e0576c691a81fb52d085ea22f874c97be Mon Sep 17 00:00:00 2001 From: Ramses Sanchez Hernandez Date: Mon, 2 Nov 2026 16:48:37 -0800 Subject: [PATCH 09/13] Regenerate Reports v1.0 with adapted Authentication profile transport Full queued Kiota and cmdlet/client/project generation on 844672d7c2, Release 217 exports. Generated calls select v1.0 and projects prune the complete Authentication-owned dependency closure; normal manifests require Authentication 2.41.2 without preloads. Global and USGov offline real factory routing, migrated functions, typed neighboring mutations and safety passed with the existing generic refetch-header limitation retained. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../Cmdlets/ConfirmMgAuditLogSignInCompromised.g.cs | 2 +- .../v1.0/Cmdlets/ConfirmMgAuditLogSignInSafe.g.cs | 2 +- .../v1.0/Cmdlets/GetMgAdminReportSetting.g.cs | 2 +- .../Cmdlets/GetMgAuditLogDirectoryAuditCount.g.cs | 2 +- .../Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs | 2 +- .../Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs | 2 +- .../v1.0/Cmdlets/GetMgAuditLogProvisioningCount.g.cs | 2 +- .../v1.0/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs | 2 +- .../v1.0/Cmdlets/GetMgAuditLogProvisioning_List.g.cs | 2 +- .../v1.0/Cmdlets/GetMgAuditLogSignInCount.g.cs | 2 +- .../v1.0/Cmdlets/GetMgAuditLogSignIn_Get.g.cs | 2 +- .../v1.0/Cmdlets/GetMgAuditLogSignIn_List.g.cs | 2 +- .../v1.0/Cmdlets/GetMgDeviceManagementReport.g.cs | 2 +- .../GetMgDeviceManagementReportCachedReport.g.cs | 2 +- ...entReportCompliancePolicyNonComplianceReport.g.cs | 2 +- ...rtCompliancePolicyNonComplianceSummaryReport.g.cs | 2 +- ...ntReportComplianceSettingNonComplianceReport.g.cs | 2 +- ...ReportConfigurationPolicyNonComplianceReport.g.cs | 2 +- ...onfigurationPolicyNonComplianceSummaryReport.g.cs | 2 +- ...eportConfigurationSettingNonComplianceReport.g.cs | 2 +- ...ementReportDeviceAppInstallationStatusReport.g.cs | 2 +- ...anagementIntentPerSettingContributingProfile.g.cs | 2 +- ...entReportDeviceManagementIntentSettingReport.g.cs | 2 +- ...iceManagementReportDeviceNonComplianceReport.g.cs | 2 +- ...entReportDeviceWithoutCompliancePolicyReport.g.cs | 2 +- .../GetMgDeviceManagementReportExportJobCount.g.cs | 2 +- .../GetMgDeviceManagementReportExportJob_Get.g.cs | 2 +- .../GetMgDeviceManagementReportExportJob_List.g.cs | 2 +- .../Cmdlets/GetMgDeviceManagementReportFilter.g.cs | 2 +- .../GetMgDeviceManagementReportHistoricalReport.g.cs | 2 +- ...mentReportNoncompliantDeviceAndSettingReport.g.cs | 2 +- ...eManagementReportPolicyNonComplianceMetadata.g.cs | 2 +- ...iceManagementReportPolicyNonComplianceReport.g.cs | 2 +- ...gementReportPolicyNonComplianceSummaryReport.g.cs | 2 +- ...ceManagementReportSettingNonComplianceReport.g.cs | 2 +- .../Cmdlets/GetMgReportAuthenticationMethod.g.cs | 2 +- ...henticationMethodUserRegistrationDetailCount.g.cs | 2 +- ...thenticationMethodUserRegistrationDetail_Get.g.cs | 2 +- ...henticationMethodUserRegistrationDetail_List.g.cs | 2 +- ...reWithIncludedUserTypesWithIncludedUserRoles.g.cs | 2 +- ...odWithIncludedUserTypesWithIncludedUserRoles.g.cs | 2 +- .../GetMgReportDailyPrintUsageByPrinterCount.g.cs | 2 +- .../GetMgReportDailyPrintUsageByPrinter_Get.g.cs | 2 +- .../GetMgReportDailyPrintUsageByPrinter_List.g.cs | 2 +- .../GetMgReportDailyPrintUsageByUserCount.g.cs | 2 +- .../GetMgReportDailyPrintUsageByUser_Get.g.cs | 2 +- .../GetMgReportDailyPrintUsageByUser_List.g.cs | 2 +- ...GetMgReportDeviceConfigurationDeviceActivity.g.cs | 2 +- .../GetMgReportDeviceConfigurationUserActivity.g.cs | 2 +- .../GetMgReportGetEmailActivityCountsWithPeriod.g.cs | 2 +- ...MgReportGetEmailActivityUserCountsWithPeriod.g.cs | 2 +- ...etMgReportGetEmailActivityUserDetailWithDate.g.cs | 2 +- ...MgReportGetEmailActivityUserDetailWithPeriod.g.cs | 2 +- ...portGetEmailAppUsageAppsUserCountsWithPeriod.g.cs | 2 +- ...MgReportGetEmailAppUsageUserCountsWithPeriod.g.cs | 2 +- ...etMgReportGetEmailAppUsageUserDetailWithDate.g.cs | 2 +- ...MgReportGetEmailAppUsageUserDetailWithPeriod.g.cs | 2 +- ...GetEmailAppUsageVersionsUserCountsWithPeriod.g.cs | 2 +- ...sWithGroupIdWithStartDateTimeWithEndDateTime.g.cs | 2 +- ...ReportGetM365AppPlatformUserCountsWithPeriod.g.cs | 2 +- .../GetMgReportGetM365AppUserCountsWithPeriod.g.cs | 2 +- .../GetMgReportGetM365AppUserDetailWithDate.g.cs | 2 +- .../GetMgReportGetM365AppUserDetailWithPeriod.g.cs | 2 +- .../GetMgReportGetMailboxUsageDetailWithPeriod.g.cs | 2 +- ...ReportGetMailboxUsageMailboxCountsWithPeriod.g.cs | 2 +- ...ilboxUsageQuotaStatusMailboxCountsWithPeriod.g.cs | 2 +- .../GetMgReportGetMailboxUsageStorageWithPeriod.g.cs | 2 +- ...ReportGetOffice365ActiveUserCountsWithPeriod.g.cs | 2 +- ...MgReportGetOffice365ActiveUserDetailWithDate.g.cs | 2 +- ...ReportGetOffice365ActiveUserDetailWithPeriod.g.cs | 2 +- ...rtGetOffice365GroupsActivityCountsWithPeriod.g.cs | 2 +- ...portGetOffice365GroupsActivityDetailWithDate.g.cs | 2 +- ...rtGetOffice365GroupsActivityDetailWithPeriod.g.cs | 2 +- ...tOffice365GroupsActivityFileCountsWithPeriod.g.cs | 2 +- ...Office365GroupsActivityGroupCountsWithPeriod.g.cs | 2 +- ...tGetOffice365GroupsActivityStorageWithPeriod.g.cs | 2 +- ...portGetOffice365ServicesUserCountsWithPeriod.g.cs | 2 +- ...eportGetOneDriveActivityFileCountsWithPeriod.g.cs | 2 +- ...eportGetOneDriveActivityUserCountsWithPeriod.g.cs | 2 +- ...gReportGetOneDriveActivityUserDetailWithDate.g.cs | 2 +- ...eportGetOneDriveActivityUserDetailWithPeriod.g.cs | 2 +- ...eportGetOneDriveUsageAccountCountsWithPeriod.g.cs | 2 +- ...gReportGetOneDriveUsageAccountDetailWithDate.g.cs | 2 +- ...eportGetOneDriveUsageAccountDetailWithPeriod.g.cs | 2 +- ...MgReportGetOneDriveUsageFileCountsWithPeriod.g.cs | 2 +- ...GetMgReportGetOneDriveUsageStorageWithPeriod.g.cs | 2 +- ...ithPrinterIdWithStartDateTimeWithEndDateTime.g.cs | 2 +- ...portGetRelyingPartyDetailedSummaryWithPeriod.g.cs | 2 +- ...ortGetSharePointActivityFileCountsWithPeriod.g.cs | 2 +- ...MgReportGetSharePointActivityPagesWithPeriod.g.cs | 2 +- ...ortGetSharePointActivityUserCountsWithPeriod.g.cs | 2 +- ...eportGetSharePointActivityUserDetailWithDate.g.cs | 2 +- ...ortGetSharePointActivityUserDetailWithPeriod.g.cs | 2 +- ...MgReportGetSharePointSiteUsageDetailWithDate.g.cs | 2 +- ...ReportGetSharePointSiteUsageDetailWithPeriod.g.cs | 2 +- ...rtGetSharePointSiteUsageFileCountsWithPeriod.g.cs | 2 +- ...gReportGetSharePointSiteUsagePagesWithPeriod.g.cs | 2 +- ...rtGetSharePointSiteUsageSiteCountsWithPeriod.g.cs | 2 +- ...eportGetSharePointSiteUsageStorageWithPeriod.g.cs | 2 +- ...tGetSkypeForBusinessActivityCountsWithPeriod.g.cs | 2 +- ...SkypeForBusinessActivityUserCountsWithPeriod.g.cs | 2 +- ...etSkypeForBusinessActivityUserDetailWithDate.g.cs | 2 +- ...SkypeForBusinessActivityUserDetailWithPeriod.g.cs | 2 +- ...sDeviceUsageDistributionUserCountsWithPeriod.g.cs | 2 +- ...peForBusinessDeviceUsageUserCountsWithPeriod.g.cs | 2 +- ...kypeForBusinessDeviceUsageUserDetailWithDate.g.cs | 2 +- ...peForBusinessDeviceUsageUserDetailWithPeriod.g.cs | 2 +- ...ForBusinessOrganizerActivityCountsWithPeriod.g.cs | 2 +- ...inessOrganizerActivityMinuteCountsWithPeriod.g.cs | 2 +- ...usinessOrganizerActivityUserCountsWithPeriod.g.cs | 2 +- ...rBusinessParticipantActivityCountsWithPeriod.g.cs | 2 +- ...essParticipantActivityMinuteCountsWithPeriod.g.cs | 2 +- ...inessParticipantActivityUserCountsWithPeriod.g.cs | 2 +- ...orBusinessPeerToPeerActivityCountsWithPeriod.g.cs | 2 +- ...nessPeerToPeerActivityMinuteCountsWithPeriod.g.cs | 2 +- ...sinessPeerToPeerActivityUserCountsWithPeriod.g.cs | 2 +- ...sDeviceUsageDistributionUserCountsWithPeriod.g.cs | 2 +- ...eportGetTeamsDeviceUsageUserCountsWithPeriod.g.cs | 2 +- ...gReportGetTeamsDeviceUsageUserDetailWithDate.g.cs | 2 +- ...eportGetTeamsDeviceUsageUserDetailWithPeriod.g.cs | 2 +- ...MgReportGetTeamsTeamActivityCountsWithPeriod.g.cs | 2 +- ...etMgReportGetTeamsTeamActivityDetailWithDate.g.cs | 2 +- ...MgReportGetTeamsTeamActivityDetailWithPeriod.g.cs | 2 +- ...eamsTeamActivityDistributionCountsWithPeriod.g.cs | 2 +- .../GetMgReportGetTeamsTeamCountsWithPeriod.g.cs | 2 +- ...MgReportGetTeamsUserActivityCountsWithPeriod.g.cs | 2 +- ...portGetTeamsUserActivityUserCountsWithPeriod.g.cs | 2 +- ...ReportGetTeamsUserActivityUserDetailWithDate.g.cs | 2 +- ...portGetTeamsUserActivityUserDetailWithPeriod.g.cs | 2 +- ...bsWithUserIdWithStartDateTimeWithEndDateTime.g.cs | 2 +- ...GetMgReportGetYammerActivityCountsWithPeriod.g.cs | 2 +- ...gReportGetYammerActivityUserCountsWithPeriod.g.cs | 2 +- ...tMgReportGetYammerActivityUserDetailWithDate.g.cs | 2 +- ...gReportGetYammerActivityUserDetailWithPeriod.g.cs | 2 +- ...rDeviceUsageDistributionUserCountsWithPeriod.g.cs | 2 +- ...portGetYammerDeviceUsageUserCountsWithPeriod.g.cs | 2 +- ...ReportGetYammerDeviceUsageUserDetailWithDate.g.cs | 2 +- ...portGetYammerDeviceUsageUserDetailWithPeriod.g.cs | 2 +- ...eportGetYammerGroupsActivityCountsWithPeriod.g.cs | 2 +- ...gReportGetYammerGroupsActivityDetailWithDate.g.cs | 2 +- ...eportGetYammerGroupsActivityDetailWithPeriod.g.cs | 2 +- ...GetYammerGroupsActivityGroupCountsWithPeriod.g.cs | 2 +- ...MgReportManagedDeviceEnrollmentFailureDetail.g.cs | 2 +- ...DetailWithSkipWithTopWithFilterWithSkipToken.g.cs | 2 +- ...GetMgReportManagedDeviceEnrollmentTopFailure.g.cs | 2 +- ...tManagedDeviceEnrollmentTopFailureWithPeriod.g.cs | 2 +- .../GetMgReportMonthlyPrintUsageByPrinterCount.g.cs | 2 +- .../GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs | 2 +- .../GetMgReportMonthlyPrintUsageByPrinter_List.g.cs | 2 +- .../GetMgReportMonthlyPrintUsageByUserCount.g.cs | 2 +- .../GetMgReportMonthlyPrintUsageByUser_Get.g.cs | 2 +- .../GetMgReportMonthlyPrintUsageByUser_List.g.cs | 2 +- .../Cmdlets/GetMgReportOffice365ActivationCount.g.cs | 2 +- .../GetMgReportOffice365ActivationUserCount.g.cs | 2 +- .../GetMgReportOffice365ActivationUserDetail.g.cs | 2 +- .../wrapper/v1.0/Cmdlets/GetMgReportPartner.g.cs | 2 +- .../v1.0/Cmdlets/GetMgReportPartnerBilling.g.cs | 2 +- .../GetMgReportPartnerBillingManifestCount.g.cs | 2 +- .../GetMgReportPartnerBillingManifest_Get.g.cs | 2 +- .../GetMgReportPartnerBillingManifest_List.g.cs | 2 +- .../GetMgReportPartnerBillingOperationCount.g.cs | 2 +- .../GetMgReportPartnerBillingOperation_Get.g.cs | 2 +- .../GetMgReportPartnerBillingOperation_List.g.cs | 2 +- .../GetMgReportPartnerBillingReconciliation.g.cs | 2 +- ...etMgReportPartnerBillingReconciliationBilled.g.cs | 2 +- ...MgReportPartnerBillingReconciliationUnbilled.g.cs | 2 +- .../v1.0/Cmdlets/GetMgReportPartnerBillingUsage.g.cs | 2 +- .../GetMgReportPartnerBillingUsageBilled.g.cs | 2 +- .../GetMgReportPartnerBillingUsageUnbilled.g.cs | 2 +- .../wrapper/v1.0/Cmdlets/GetMgReportSecurity.g.cs | 2 +- ...ReportSecurityAttackSimulationRepeatOffender.g.cs | 2 +- ...SecurityAttackSimulationTrainingUserCoverage.g.cs | 2 +- ...MgReportSecurityAttackSimulationUserCoverage.g.cs | 2 +- .../v1.0/Cmdlets/InvokeMgDismissAuditLogSignIn.g.cs | 2 +- .../InvokeMgGraphReportAuthenticationMethod.g.cs | 2 +- ...portPartnerBillingReconciliationBilledExport.g.cs | 2 +- ...rtPartnerBillingReconciliationUnbilledExport.g.cs | 2 +- ...nvokeMgReportPartnerBillingUsageBilledExport.g.cs | 2 +- ...okeMgReportPartnerBillingUsageUnbilledExport.g.cs | 2 +- ...rtAuthenticationMethodUserRegistrationDetail.g.cs | 2 +- .../Cmdlets/NewMgReportPartnerBillingManifest.g.cs | 2 +- .../Cmdlets/NewMgReportPartnerBillingOperation.g.cs | 2 +- .../v1.0/Cmdlets/RemoveMgAdminReportSetting.g.cs | 2 +- .../v1.0/Cmdlets/RemoveMgDeviceManagementReport.g.cs | 2 +- ...rtAuthenticationMethodUserRegistrationDetail.g.cs | 2 +- .../v1.0/Cmdlets/RemoveMgReportPartnerBilling.g.cs | 2 +- .../RemoveMgReportPartnerBillingManifest.g.cs | 2 +- .../RemoveMgReportPartnerBillingOperation.g.cs | 2 +- .../RemoveMgReportPartnerBillingReconciliation.g.cs | 2 +- ...veMgReportPartnerBillingReconciliationBilled.g.cs | 2 +- ...MgReportPartnerBillingReconciliationUnbilled.g.cs | 2 +- .../Cmdlets/RemoveMgReportPartnerBillingUsage.g.cs | 2 +- .../RemoveMgReportPartnerBillingUsageBilled.g.cs | 2 +- .../RemoveMgReportPartnerBillingUsageUnbilled.g.cs | 2 +- .../v1.0/Cmdlets/UpdateMgAdminReportSetting.g.cs | 2 +- .../v1.0/Cmdlets/UpdateMgDeviceManagementReport.g.cs | 2 +- ...rtAuthenticationMethodUserRegistrationDetail.g.cs | 2 +- .../v1.0/Cmdlets/UpdateMgReportPartnerBilling.g.cs | 2 +- .../UpdateMgReportPartnerBillingManifest.g.cs | 2 +- .../UpdateMgReportPartnerBillingOperation.g.cs | 2 +- .../UpdateMgReportPartnerBillingReconciliation.g.cs | 2 +- ...teMgReportPartnerBillingReconciliationBilled.g.cs | 2 +- ...MgReportPartnerBillingReconciliationUnbilled.g.cs | 2 +- .../Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs | 2 +- .../UpdateMgReportPartnerBillingUsageBilled.g.cs | 2 +- .../UpdateMgReportPartnerBillingUsageUnbilled.g.cs | 2 +- .../v1.0/Microsoft.Graph.Wrapper.Reports.csproj | 12 +++++------- 207 files changed, 211 insertions(+), 213 deletions(-) diff --git a/src/Reports/wrapper/v1.0/Cmdlets/ConfirmMgAuditLogSignInCompromised.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/ConfirmMgAuditLogSignInCompromised.g.cs index 86b25df2e56..aba78a54a33 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/ConfirmMgAuditLogSignInCompromised.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/ConfirmMgAuditLogSignInCompromised.g.cs @@ -40,7 +40,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(RequestIds))) body.RequestIds = RequestIds!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/ConfirmMgAuditLogSignInSafe.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/ConfirmMgAuditLogSignInSafe.g.cs index c4e5868907f..f415530c372 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/ConfirmMgAuditLogSignInSafe.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/ConfirmMgAuditLogSignInSafe.g.cs @@ -40,7 +40,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(RequestIds))) body.RequestIds = RequestIds!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAdminReportSetting.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAdminReportSetting.g.cs index c6485b90c1d..dce63818f4e 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAdminReportSetting.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAdminReportSetting.g.cs @@ -33,7 +33,7 @@ public class GetMgAdminReportSettingCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AdminReportSettings? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAuditCount.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAuditCount.g.cs index 0f39bfd6387..a0b170bfa21 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAuditCount.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAuditCount.g.cs @@ -31,7 +31,7 @@ public class GetMgAuditLogDirectoryAuditCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs index 1063baeb63f..aba7f052145 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgAuditLogDirectoryAudit_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryAudit? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs index 0be00559454..4420f7f75ab 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogDirectoryAudit_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryAuditCollectionResponse? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioningCount.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioningCount.g.cs index c4e9352387a..509985b6c88 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioningCount.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioningCount.g.cs @@ -31,7 +31,7 @@ public class GetMgAuditLogProvisioningCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs index 5f2d88cb55b..6cb67e9bdd2 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgAuditLogProvisioning_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_List.g.cs index f2899b43925..03ad03c89e6 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_List.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogProvisioning_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummaryCollectionResponse? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignInCount.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignInCount.g.cs index f63afd00b59..58498c1aeca 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignInCount.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignInCount.g.cs @@ -31,7 +31,7 @@ public class GetMgAuditLogSignInCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_Get.g.cs index 5a7be954322..daeaaebe93d 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgAuditLogSignIn_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.SignIn? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_List.g.cs index 672ef05ce8e..5343adf8657 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_List.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogSignIn_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.SignInCollectionResponse? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReport.g.cs index 7fe268fdc87..e544d7948ac 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReport.g.cs @@ -33,7 +33,7 @@ public class GetMgDeviceManagementReportCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementReports? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportCachedReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportCachedReport.g.cs index 01a7960a522..08e39144768 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportCachedReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportCachedReport.g.cs @@ -74,7 +74,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Top))) body.Top = Top; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportCompliancePolicyNonComplianceReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportCompliancePolicyNonComplianceReport.g.cs index cf8a6857d01..725ea073604 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportCompliancePolicyNonComplianceReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportCompliancePolicyNonComplianceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportCompliancePolicyNonComplianceSummaryReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportCompliancePolicyNonComplianceSummaryReport.g.cs index c378a441c66..50630391604 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportCompliancePolicyNonComplianceSummaryReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportCompliancePolicyNonComplianceSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportComplianceSettingNonComplianceReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportComplianceSettingNonComplianceReport.g.cs index 3927eb41ec2..7caad6d8807 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportComplianceSettingNonComplianceReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportComplianceSettingNonComplianceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportConfigurationPolicyNonComplianceReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportConfigurationPolicyNonComplianceReport.g.cs index b895a44cae9..258c1f8b73a 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportConfigurationPolicyNonComplianceReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportConfigurationPolicyNonComplianceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportConfigurationPolicyNonComplianceSummaryReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportConfigurationPolicyNonComplianceSummaryReport.g.cs index fa0810c7165..5afe2c10bbc 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportConfigurationPolicyNonComplianceSummaryReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportConfigurationPolicyNonComplianceSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportConfigurationSettingNonComplianceReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportConfigurationSettingNonComplianceReport.g.cs index 91d28b61c22..73cd98b982f 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportConfigurationSettingNonComplianceReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportConfigurationSettingNonComplianceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceAppInstallationStatusReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceAppInstallationStatusReport.g.cs index 14e15b64f3f..fb6e3e7981f 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceAppInstallationStatusReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceAppInstallationStatusReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceManagementIntentPerSettingContributingProfile.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceManagementIntentPerSettingContributingProfile.g.cs index e369348d9c6..ba9d0737a3c 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceManagementIntentPerSettingContributingProfile.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceManagementIntentPerSettingContributingProfile.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceManagementIntentSettingReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceManagementIntentSettingReport.g.cs index fd2ce69a8d2..f301461e690 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceManagementIntentSettingReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceManagementIntentSettingReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceNonComplianceReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceNonComplianceReport.g.cs index 5207cae31b0..a1037e4b003 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceNonComplianceReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceNonComplianceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceWithoutCompliancePolicyReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceWithoutCompliancePolicyReport.g.cs index 76c0879482d..0e244d10cc9 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceWithoutCompliancePolicyReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportDeviceWithoutCompliancePolicyReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJobCount.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJobCount.g.cs index 4d9be6a36df..677b54d809d 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJobCount.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJobCount.g.cs @@ -31,7 +31,7 @@ public class GetMgDeviceManagementReportExportJobCountCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs index e373092261d..d415a307e69 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgDeviceManagementReportExportJob_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementExportJob? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs index fbcad2dace5..1a2fa0aad3d 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs @@ -59,7 +59,7 @@ public class GetMgDeviceManagementReportExportJob_ListCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementExportJobCollectionResponse? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportFilter.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportFilter.g.cs index 7c42949d560..ef6dea2b800 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportFilter.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportFilter.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportHistoricalReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportHistoricalReport.g.cs index c670343634f..0c2fcf7fba9 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportHistoricalReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportHistoricalReport.g.cs @@ -86,7 +86,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportNoncompliantDeviceAndSettingReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportNoncompliantDeviceAndSettingReport.g.cs index 99bf7ded368..39f8fa4bfa9 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportNoncompliantDeviceAndSettingReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportNoncompliantDeviceAndSettingReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportPolicyNonComplianceMetadata.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportPolicyNonComplianceMetadata.g.cs index 9b406839f86..ec3ae351e86 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportPolicyNonComplianceMetadata.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportPolicyNonComplianceMetadata.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportPolicyNonComplianceReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportPolicyNonComplianceReport.g.cs index 0db475e54d0..35af8abec57 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportPolicyNonComplianceReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportPolicyNonComplianceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportPolicyNonComplianceSummaryReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportPolicyNonComplianceSummaryReport.g.cs index 42e2b08f948..a272719765a 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportPolicyNonComplianceSummaryReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportPolicyNonComplianceSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportSettingNonComplianceReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportSettingNonComplianceReport.g.cs index 6cbd8e9481f..f2f6a11beca 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportSettingNonComplianceReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportSettingNonComplianceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethod.g.cs index 7ef938982d1..be878cda911 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethod.g.cs @@ -33,7 +33,7 @@ public class GetMgReportAuthenticationMethodCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationMethodsRoot? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetailCount.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetailCount.g.cs index fdeaa4e1548..a5a6aedb211 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetailCount.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetailCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportAuthenticationMethodUserRegistrationDetailCountCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs index f67b4d48e46..61ee306c487 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportAuthenticationMethodUserRegistrationDetail_GetCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserRegistrationDetails? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs index 48da73b5b0c..34014bd034c 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportAuthenticationMethodUserRegistrationDetail_ListCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserRegistrationDetailsCollectionResponse? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles.g.cs index c34ea3a15e6..20661a9a0a3 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles.g.cs @@ -38,7 +38,7 @@ public class GetMgReportAuthenticationMethodUsersRegisteredByFeatureWithIncluded protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles.g.cs index e0afa133f8b..be0022ffd3a 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles.g.cs @@ -38,7 +38,7 @@ public class GetMgReportAuthenticationMethodUsersRegisteredByMethodWithIncludedU protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinterCount.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinterCount.g.cs index 1cbb2466905..74a814911a2 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinterCount.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinterCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportDailyPrintUsageByPrinterCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs index 475a369a7c2..2e4e02682d5 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportDailyPrintUsageByPrinter_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs index 7ff40f39a69..f7835b6524d 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportDailyPrintUsageByPrinter_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinterCollectionResponse? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUserCount.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUserCount.g.cs index dc11100aec6..d5ce9943030 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUserCount.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUserCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportDailyPrintUsageByUserCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs index 3f7c2abc0da..d759476ec8c 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportDailyPrintUsageByUser_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs index b34175795dc..d3d29922c51 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportDailyPrintUsageByUser_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUserCollectionResponse? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDeviceConfigurationDeviceActivity.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDeviceConfigurationDeviceActivity.g.cs index 5dc797171a4..5d2ad5e2a7d 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDeviceConfigurationDeviceActivity.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDeviceConfigurationDeviceActivity.g.cs @@ -31,7 +31,7 @@ public class GetMgReportDeviceConfigurationDeviceActivityCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDeviceConfigurationUserActivity.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDeviceConfigurationUserActivity.g.cs index 24c40a240c5..141507db39e 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDeviceConfigurationUserActivity.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDeviceConfigurationUserActivity.g.cs @@ -31,7 +31,7 @@ public class GetMgReportDeviceConfigurationUserActivityCommand : GraphClientCmdl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityCountsWithPeriod.g.cs index bde98e20a4d..19024f79a50 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailActivityCountsWithPeriodCommand : GraphClientCmd protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityUserCountsWithPeriod.g.cs index b248b3e6764..39210f2aaf9 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailActivityUserCountsWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityUserDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityUserDetailWithDate.g.cs index 64d4c2b159f..a4e5ae571c5 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailActivityUserDetailWithDateCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityUserDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityUserDetailWithPeriod.g.cs index ebcf013080c..8ef875e1609 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailActivityUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailActivityUserDetailWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageAppsUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageAppsUserCountsWithPeriod.g.cs index 84cc31abefe..442c4d02285 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageAppsUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageAppsUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailAppUsageAppsUserCountsWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageUserCountsWithPeriod.g.cs index b28beddf164..75f3b9be701 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailAppUsageUserCountsWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithDate.g.cs index 469a2d7ba09..6c975c60685 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailAppUsageUserDetailWithDateCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithPeriod.g.cs index 529c0dd3b94..bb687b0c6e0 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailAppUsageUserDetailWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageVersionsUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageVersionsUserCountsWithPeriod.g.cs index 6c98cfc3428..b372b426754 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageVersionsUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetEmailAppUsageVersionsUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailAppUsageVersionsUserCountsWithPeriodCommand : Gr protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime.g.cs index c4b8b2442a5..2e6a6f2d57d 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime.g.cs @@ -55,7 +55,7 @@ public class GetMgReportGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWit protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppPlatformUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppPlatformUserCountsWithPeriod.g.cs index a5d6f5f295a..7e4450c61cb 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppPlatformUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppPlatformUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetM365AppPlatformUserCountsWithPeriodCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppUserCountsWithPeriod.g.cs index 06d3a68d808..6d104337f45 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetM365AppUserCountsWithPeriodCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppUserDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppUserDetailWithDate.g.cs index 66587e9d706..ad62c436012 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetM365AppUserDetailWithDateCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppUserDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppUserDetailWithPeriod.g.cs index 023f007cc7b..0bc9d3645ee 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetM365AppUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetM365AppUserDetailWithPeriodCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageDetailWithPeriod.g.cs index 7ade64abbc2..3891916c08b 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetMailboxUsageDetailWithPeriodCommand : GraphClientCmdl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageMailboxCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageMailboxCountsWithPeriod.g.cs index 7906b17c837..050e4aa80fc 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageMailboxCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageMailboxCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetMailboxUsageMailboxCountsWithPeriodCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageQuotaStatusMailboxCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageQuotaStatusMailboxCountsWithPeriod.g.cs index cf14843b45a..f5a1032b112 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageQuotaStatusMailboxCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageQuotaStatusMailboxCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetMailboxUsageQuotaStatusMailboxCountsWithPeriodCommand protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageStorageWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageStorageWithPeriod.g.cs index 2d7302f16ba..f7d8ed4a9b2 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageStorageWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetMailboxUsageStorageWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetMailboxUsageStorageWithPeriodCommand : GraphClientCmd protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ActiveUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ActiveUserCountsWithPeriod.g.cs index cd7afdb0bb7..d91ca179320 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ActiveUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ActiveUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOffice365ActiveUserCountsWithPeriodCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithDate.g.cs index de8054d268a..22e1f46dd95 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOffice365ActiveUserDetailWithDateCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithPeriod.g.cs index 82fcfc8a4cf..b0dea6e1384 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOffice365ActiveUserDetailWithPeriodCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityCountsWithPeriod.g.cs index 248885969ca..5ad244cc7e8 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOffice365GroupsActivityCountsWithPeriodCommand : Grap protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithDate.g.cs index 21c0a72d589..c29fecdc213 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOffice365GroupsActivityDetailWithDateCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithPeriod.g.cs index 45b5d62ad93..a1fa05093f5 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOffice365GroupsActivityDetailWithPeriodCommand : Grap protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityFileCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityFileCountsWithPeriod.g.cs index 61b8b3adf3e..015a11f959f 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityFileCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityFileCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOffice365GroupsActivityFileCountsWithPeriodCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityGroupCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityGroupCountsWithPeriod.g.cs index d10bc7d8053..dd312276a19 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityGroupCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityGroupCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOffice365GroupsActivityGroupCountsWithPeriodCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityStorageWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityStorageWithPeriod.g.cs index 0d5a1294c6a..45bb1fcc28e 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityStorageWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365GroupsActivityStorageWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOffice365GroupsActivityStorageWithPeriodCommand : Gra protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ServicesUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ServicesUserCountsWithPeriod.g.cs index 67f59ea6ede..f6452bdd183 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ServicesUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOffice365ServicesUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOffice365ServicesUserCountsWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityFileCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityFileCountsWithPeriod.g.cs index b49d187c4f2..db2a71c6511 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityFileCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityFileCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveActivityFileCountsWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityUserCountsWithPeriod.g.cs index 20da104f6ea..417b0aef289 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveActivityUserCountsWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithDate.g.cs index 8422a97eb4d..e7a4e9adf53 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveActivityUserDetailWithDateCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithPeriod.g.cs index a6dd5ed3eb1..71f95012a9e 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveActivityUserDetailWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageAccountCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageAccountCountsWithPeriod.g.cs index 92f6746ff9d..dd24a0f8b40 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageAccountCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageAccountCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveUsageAccountCountsWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithDate.g.cs index a4d37346935..4c289dd66ad 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveUsageAccountDetailWithDateCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithPeriod.g.cs index 8a33f64d008..4a72be52cb5 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveUsageAccountDetailWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageFileCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageFileCountsWithPeriod.g.cs index fe33d21a356..8282fe5e35b 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageFileCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageFileCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveUsageFileCountsWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageStorageWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageStorageWithPeriod.g.cs index 41e295b5b82..d3de3452534 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageStorageWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetOneDriveUsageStorageWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveUsageStorageWithPeriodCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime.g.cs index dee35b27150..1556e049c95 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime.g.cs @@ -55,7 +55,7 @@ public class GetMgReportGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTim protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetRelyingPartyDetailedSummaryWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetRelyingPartyDetailedSummaryWithPeriod.g.cs index 351178fd8a1..2da9e1a4939 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetRelyingPartyDetailedSummaryWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetRelyingPartyDetailedSummaryWithPeriod.g.cs @@ -59,7 +59,7 @@ public class GetMgReportGetRelyingPartyDetailedSummaryWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityFileCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityFileCountsWithPeriod.g.cs index 1a84e8df3c9..9711bf870af 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityFileCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityFileCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointActivityFileCountsWithPeriodCommand : Graph protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityPagesWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityPagesWithPeriod.g.cs index 210276bb356..d4711dcb883 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityPagesWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityPagesWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointActivityPagesWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityUserCountsWithPeriod.g.cs index b36fd02dcc1..1977dcd6383 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointActivityUserCountsWithPeriodCommand : Graph protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithDate.g.cs index 354d05ee882..8c109d5b2ec 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointActivityUserDetailWithDateCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithPeriod.g.cs index ebbf22f76da..23277fe5741 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointActivityUserDetailWithPeriodCommand : Graph protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithDate.g.cs index 616741ac36c..bb8afe4e4d3 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointSiteUsageDetailWithDateCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithPeriod.g.cs index 827f4aaace6..c40c2f6df86 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointSiteUsageDetailWithPeriodCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageFileCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageFileCountsWithPeriod.g.cs index 97b43295b32..6dabf7c3c61 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageFileCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageFileCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointSiteUsageFileCountsWithPeriodCommand : Grap protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsagePagesWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsagePagesWithPeriod.g.cs index b5275d90bd7..c02bd2a75d3 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsagePagesWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsagePagesWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointSiteUsagePagesWithPeriodCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageSiteCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageSiteCountsWithPeriod.g.cs index afb65e1470c..d4d69e99c91 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageSiteCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageSiteCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointSiteUsageSiteCountsWithPeriodCommand : Grap protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageStorageWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageStorageWithPeriod.g.cs index 08c2814c0d1..eaacf973370 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageStorageWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSharePointSiteUsageStorageWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointSiteUsageStorageWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityCountsWithPeriod.g.cs index 36c3e1af2ce..09af4a6bc6a 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessActivityCountsWithPeriodCommand : Gra protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserCountsWithPeriod.g.cs index 3106f6f4101..fb5713a68cf 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessActivityUserCountsWithPeriodCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithDate.g.cs index 58b25712f84..6c8c6a8ec78 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessActivityUserDetailWithDateCommand : G protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithPeriod.g.cs index 34f6d62c7ea..e82cebffdb6 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessActivityUserDetailWithPeriodCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod.g.cs index ccb7c732ab3..fb6e1ad488d 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessDeviceUsageDistributionUserCountsWith protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserCountsWithPeriod.g.cs index 6633db0dac5..91d52cdf805 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessDeviceUsageUserCountsWithPeriodComman protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithDate.g.cs index 1c422c681ab..dd28b76356c 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithDateCommand protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithPeriod.g.cs index 0d61ca46224..0efb8a682e3 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithPeriodComman protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityCountsWithPeriod.g.cs index cecc4aec246..61a00c98488 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessOrganizerActivityCountsWithPeriodComm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod.g.cs index 1e5a91b14b9..2fa16c37589 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessOrganizerActivityMinuteCountsWithPeri protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityUserCountsWithPeriod.g.cs index 5b10a97ec5a..b50d1b3252f 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessOrganizerActivityUserCountsWithPeriod protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityCountsWithPeriod.g.cs index f888ada5d36..0bd30a4c8d4 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessParticipantActivityCountsWithPeriodCo protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod.g.cs index ae090ed09e8..49aa9a336ab 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessParticipantActivityMinuteCountsWithPe protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityUserCountsWithPeriod.g.cs index aae78ca968d..c52864d6fea 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessParticipantActivityUserCountsWithPeri protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityCountsWithPeriod.g.cs index 74ad870f28a..4ea090d5944 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessPeerToPeerActivityCountsWithPeriodCom protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod.g.cs index 839e63ffdca..2d3c67bba0f 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPer protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod.g.cs index 8d2ecd8ef0f..bd6be5d0dc2 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessPeerToPeerActivityUserCountsWithPerio protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageDistributionUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageDistributionUserCountsWithPeriod.g.cs index 6ffd433cd08..69e390adc04 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageDistributionUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageDistributionUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsDeviceUsageDistributionUserCountsWithPeriodComma protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageUserCountsWithPeriod.g.cs index 1c25d918b60..f4781103b3b 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsDeviceUsageUserCountsWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithDate.g.cs index da2c390b549..6995d78f3a4 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsDeviceUsageUserDetailWithDateCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithPeriod.g.cs index 4595e3c8b5c..809213da9b1 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsDeviceUsageUserDetailWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityCountsWithPeriod.g.cs index 5139046a4b4..782e6228b12 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsTeamActivityCountsWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithDate.g.cs index a0b0c2cab41..3db50abb947 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsTeamActivityDetailWithDateCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithPeriod.g.cs index f75eb82dca6..f518601cf6d 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsTeamActivityDetailWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityDistributionCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityDistributionCountsWithPeriod.g.cs index 4f6522ba43c..a226edaf196 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityDistributionCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamActivityDistributionCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsTeamActivityDistributionCountsWithPeriodCommand protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamCountsWithPeriod.g.cs index 24274682dd1..5cd6d1608a5 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsTeamCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsTeamCountsWithPeriodCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityCountsWithPeriod.g.cs index abcc68f86e3..a8f0cbc66ef 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsUserActivityCountsWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityUserCountsWithPeriod.g.cs index d5be8e29309..39233286a5a 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsUserActivityUserCountsWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithDate.g.cs index 9862e2b43d7..5a7d9eb2d38 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsUserActivityUserDetailWithDateCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithPeriod.g.cs index b5a8e0c508b..5351133cf9e 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsUserActivityUserDetailWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime.g.cs index 8e23fcc3358..688168d1248 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime.g.cs @@ -55,7 +55,7 @@ public class GetMgReportGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithE protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityCountsWithPeriod.g.cs index 258e54c0f19..25e0a2ec370 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerActivityCountsWithPeriodCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityUserCountsWithPeriod.g.cs index 332892f365d..ab98625a648 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerActivityUserCountsWithPeriodCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityUserDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityUserDetailWithDate.g.cs index e6c7f79df52..95dd9dd7724 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerActivityUserDetailWithDateCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityUserDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityUserDetailWithPeriod.g.cs index b3c665f517f..743f5ce0e6a 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerActivityUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerActivityUserDetailWithPeriodCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageDistributionUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageDistributionUserCountsWithPeriod.g.cs index 780bbaf3b59..123b282269c 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageDistributionUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageDistributionUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerDeviceUsageDistributionUserCountsWithPeriodComm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageUserCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageUserCountsWithPeriod.g.cs index 6c178f60f9b..98ed3dd75d8 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerDeviceUsageUserCountsWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithDate.g.cs index 26fd8f15af1..133026e47f5 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerDeviceUsageUserDetailWithDateCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithPeriod.g.cs index bc84f7003f4..8fb3797eede 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerDeviceUsageUserDetailWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityCountsWithPeriod.g.cs index 587326f9208..0604c637770 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerGroupsActivityCountsWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithDate.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithDate.g.cs index 22ce34f7ab0..2562a2d362f 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithDate.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerGroupsActivityDetailWithDateCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithPeriod.g.cs index 14aeb09c9fa..48768457801 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerGroupsActivityDetailWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityGroupCountsWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityGroupCountsWithPeriod.g.cs index 22fafc9f609..29c5b192560 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityGroupCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportGetYammerGroupsActivityGroupCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerGroupsActivityGroupCountsWithPeriodCommand : Gr protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetail.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetail.g.cs index ce80ca1d6f0..ad741992582 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetail.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetail.g.cs @@ -31,7 +31,7 @@ public class GetMgReportManagedDeviceEnrollmentFailureDetailCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs index 8e43e219669..0f67d22c8bd 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs @@ -46,7 +46,7 @@ public class GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithF protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailure.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailure.g.cs index 5e17443b990..4c51111c126 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailure.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailure.g.cs @@ -31,7 +31,7 @@ public class GetMgReportManagedDeviceEnrollmentTopFailureCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs index 83c13650a49..c8dd0ee3609 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs @@ -34,7 +34,7 @@ public class GetMgReportManagedDeviceEnrollmentTopFailureWithPeriodCommand : Gra protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinterCount.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinterCount.g.cs index bf0b00b8c42..56ff967ce8f 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinterCount.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinterCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportMonthlyPrintUsageByPrinterCountCommand : GraphClientCmdl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs index f6f53492bef..2a765c5e306 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportMonthlyPrintUsageByPrinter_GetCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs index b1a9e9d5d17..b55d6a5e41b 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportMonthlyPrintUsageByPrinter_ListCommand : GraphClientCmdl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinterCollectionResponse? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUserCount.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUserCount.g.cs index aed615410ec..b0b73316092 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUserCount.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUserCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportMonthlyPrintUsageByUserCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs index dc42ab3fcd0..83b1a339d88 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportMonthlyPrintUsageByUser_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs index 79e06394f71..9ee18f74c51 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportMonthlyPrintUsageByUser_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUserCollectionResponse? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportOffice365ActivationCount.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportOffice365ActivationCount.g.cs index 5b8a462a3ee..7d2812bf2c7 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportOffice365ActivationCount.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportOffice365ActivationCount.g.cs @@ -35,7 +35,7 @@ public class GetMgReportOffice365ActivationCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportOffice365ActivationUserCount.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportOffice365ActivationUserCount.g.cs index 2013f7b79fe..03801a3898f 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportOffice365ActivationUserCount.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportOffice365ActivationUserCount.g.cs @@ -35,7 +35,7 @@ public class GetMgReportOffice365ActivationUserCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportOffice365ActivationUserDetail.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportOffice365ActivationUserDetail.g.cs index 8830b0b0205..7f7b9d479ef 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportOffice365ActivationUserDetail.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportOffice365ActivationUserDetail.g.cs @@ -35,7 +35,7 @@ public class GetMgReportOffice365ActivationUserDetailCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartner.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartner.g.cs index 6e359ccb99a..401e930c347 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartner.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartner.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Partners? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBilling.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBilling.g.cs index 7945c4d80b4..27b204b189b 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBilling.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBilling.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Billing? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifestCount.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifestCount.g.cs index 45d12a0a962..82155c716e7 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifestCount.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifestCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportPartnerBillingManifestCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs index dc1616fe52a..6f64831e662 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportPartnerBillingManifest_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Manifest? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs index 8d800ce3780..bd4a4a94b7e 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportPartnerBillingManifest_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.ManifestCollectionResponse? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperationCount.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperationCount.g.cs index 1ce72ed40ce..36050e19687 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperationCount.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperationCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportPartnerBillingOperationCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs index ced7596025e..0d62cbc86ab 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportPartnerBillingOperation_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs index fc5154cb1ca..1fdb90e3fe6 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportPartnerBillingOperation_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.OperationCollectionResponse? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs index 51a2ef172e5..fc51f447dc4 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingReconciliationCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BillingReconciliation? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs index 3f25b48171f..e324ab19a59 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingReconciliationBilledCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledReconciliation? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs index 466f83ec6c3..5ca683ec274 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingReconciliationUnbilledCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.UnbilledReconciliation? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsage.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsage.g.cs index f9e0e9673cd..70ddc7524b4 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsage.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsage.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingUsageCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureUsage? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs index f5a32603a7f..2565c3924ec 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingUsageBilledCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledUsage? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs index 150f00d3283..0291084b22e 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingUsageUnbilledCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.UnbilledUsage? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurity.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurity.g.cs index 53d1b496df0..f7d02941493 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurity.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurity.g.cs @@ -33,7 +33,7 @@ public class GetMgReportSecurityCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.SecurityReportsRoot? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurityAttackSimulationRepeatOffender.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurityAttackSimulationRepeatOffender.g.cs index 8fc7f833f1f..61248d90b86 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurityAttackSimulationRepeatOffender.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurityAttackSimulationRepeatOffender.g.cs @@ -44,7 +44,7 @@ public class GetMgReportSecurityAttackSimulationRepeatOffenderCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurityAttackSimulationTrainingUserCoverage.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurityAttackSimulationTrainingUserCoverage.g.cs index e5b4be1594d..96b71bd69c3 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurityAttackSimulationTrainingUserCoverage.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurityAttackSimulationTrainingUserCoverage.g.cs @@ -44,7 +44,7 @@ public class GetMgReportSecurityAttackSimulationTrainingUserCoverageCommand : Gr protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurityAttackSimulationUserCoverage.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurityAttackSimulationUserCoverage.g.cs index dac3b999631..4ecc0778643 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurityAttackSimulationUserCoverage.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurityAttackSimulationUserCoverage.g.cs @@ -44,7 +44,7 @@ public class GetMgReportSecurityAttackSimulationUserCoverageCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgDismissAuditLogSignIn.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgDismissAuditLogSignIn.g.cs index 5b5c5a75768..0ab9d15bd93 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgDismissAuditLogSignIn.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgDismissAuditLogSignIn.g.cs @@ -40,7 +40,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(RequestIds))) body.RequestIds = RequestIds!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgGraphReportAuthenticationMethod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgGraphReportAuthenticationMethod.g.cs index a3edb2e6147..fff30e92af3 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgGraphReportAuthenticationMethod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgGraphReportAuthenticationMethod.g.cs @@ -31,7 +31,7 @@ public class InvokeMgGraphReportAuthenticationMethodCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingReconciliationBilledExport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingReconciliationBilledExport.g.cs index a0c492ffcbf..569a6d69066 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingReconciliationBilledExport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingReconciliationBilledExport.g.cs @@ -44,7 +44,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(AttributeSet))) body.AttributeSet = AttributeSet; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingReconciliationUnbilledExport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingReconciliationUnbilledExport.g.cs index e5189583976..69f5e313564 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingReconciliationUnbilledExport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingReconciliationUnbilledExport.g.cs @@ -50,7 +50,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(AttributeSet))) body.AttributeSet = AttributeSet; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingUsageBilledExport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingUsageBilledExport.g.cs index 31c2f04802a..067ccfeb19c 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingUsageBilledExport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingUsageBilledExport.g.cs @@ -44,7 +44,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(AttributeSet))) body.AttributeSet = AttributeSet; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingUsageUnbilledExport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingUsageUnbilledExport.g.cs index 25f9e7a2c3c..18e59018717 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingUsageUnbilledExport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/InvokeMgReportPartnerBillingUsageUnbilledExport.g.cs @@ -50,7 +50,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(AttributeSet))) body.AttributeSet = AttributeSet; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/NewMgReportAuthenticationMethodUserRegistrationDetail.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/NewMgReportAuthenticationMethodUserRegistrationDetail.g.cs index 6600d5c8e22..f4dbec5a02a 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/NewMgReportAuthenticationMethodUserRegistrationDetail.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/NewMgReportAuthenticationMethodUserRegistrationDetail.g.cs @@ -122,7 +122,7 @@ protected override void ProcessRecord() body.UserType = UserType; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserRegistrationDetails? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/NewMgReportPartnerBillingManifest.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/NewMgReportPartnerBillingManifest.g.cs index f48f29ecf3a..275d2bfa9f8 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/NewMgReportPartnerBillingManifest.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/NewMgReportPartnerBillingManifest.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() body.Blobs = Blobs!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Manifest? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/NewMgReportPartnerBillingOperation.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/NewMgReportPartnerBillingOperation.g.cs index 6cc879103fb..55ea9603549 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/NewMgReportPartnerBillingOperation.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/NewMgReportPartnerBillingOperation.g.cs @@ -50,7 +50,7 @@ protected override void ProcessRecord() body.Status = Status; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgAdminReportSetting.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgAdminReportSetting.g.cs index d6e29011e61..10b82dde348 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgAdminReportSetting.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgAdminReportSetting.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgDeviceManagementReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgDeviceManagementReport.g.cs index 2c48d180582..4e9ccb149d7 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgDeviceManagementReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgDeviceManagementReport.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportAuthenticationMethodUserRegistrationDetail.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportAuthenticationMethodUserRegistrationDetail.g.cs index f8cd871fac8..aa74c76e566 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportAuthenticationMethodUserRegistrationDetail.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportAuthenticationMethodUserRegistrationDetail.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(UserRegistrationDetailsId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBilling.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBilling.g.cs index b1a256b26c9..2b346a36ed9 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBilling.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBilling.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingManifest.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingManifest.g.cs index 432c271d2c7..8750df225b0 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingManifest.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingManifest.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(ManifestId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingOperation.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingOperation.g.cs index 2bb252f61b1..2fa5e1edf92 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingOperation.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingOperation.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(OperationId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingReconciliation.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingReconciliation.g.cs index ea6e9d3e485..fbe6bb2f165 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingReconciliation.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingReconciliation.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingReconciliationBilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingReconciliationBilled.g.cs index 52678e26197..b6458367d8a 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingReconciliationBilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingReconciliationBilled.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingReconciliationUnbilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingReconciliationUnbilled.g.cs index ee16b8311ae..4cfeb33065d 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingReconciliationUnbilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingReconciliationUnbilled.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingUsage.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingUsage.g.cs index c5419950487..703a1769633 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingUsage.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingUsage.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingUsageBilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingUsageBilled.g.cs index 0b3f9484645..323cdbe153f 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingUsageBilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingUsageBilled.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingUsageUnbilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingUsageUnbilled.g.cs index 23ba95301b7..71385525425 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingUsageUnbilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/RemoveMgReportPartnerBillingUsageUnbilled.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgAdminReportSetting.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgAdminReportSetting.g.cs index 2a7f0bbbaea..20591c3ddee 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgAdminReportSetting.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgAdminReportSetting.g.cs @@ -40,7 +40,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AdminReportSettings? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgDeviceManagementReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgDeviceManagementReport.g.cs index 89401754a1d..46591daad3f 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgDeviceManagementReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgDeviceManagementReport.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementReports? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs index 40b0b4a6047..16695cc4c0d 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs @@ -123,7 +123,7 @@ protected override void ProcessRecord() body.UserType = UserType; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserRegistrationDetails? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBilling.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBilling.g.cs index 71425b682ee..1d8d97859f4 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBilling.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBilling.g.cs @@ -46,7 +46,7 @@ protected override void ProcessRecord() body.Usage = Usage; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Billing? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs index 265c113e593..3905debdf7b 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs @@ -93,7 +93,7 @@ protected override void ProcessRecord() body.Blobs = Blobs!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Manifest? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs index 8a1e3c22562..a424c1bed54 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs @@ -51,7 +51,7 @@ protected override void ProcessRecord() body.Status = Status; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs index 710a958a739..ec7db705b08 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs @@ -46,7 +46,7 @@ protected override void ProcessRecord() body.Unbilled = Unbilled; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BillingReconciliation? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs index 93f5c5a3859..b80769b9246 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledReconciliation? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs index 7e8e27e4942..aee903eaf02 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.UnbilledReconciliation? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs index 9b3450529c2..2693eaf8079 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs @@ -46,7 +46,7 @@ protected override void ProcessRecord() body.Unbilled = Unbilled; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureUsage? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs index b0026ff2cf3..ea816f8cec2 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledUsage? result; diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs index e811b704da8..2241f92b45d 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("v1.0"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.UnbilledUsage? result; diff --git a/src/Reports/wrapper/v1.0/Microsoft.Graph.Wrapper.Reports.csproj b/src/Reports/wrapper/v1.0/Microsoft.Graph.Wrapper.Reports.csproj index ea14153bdb2..345631d0081 100644 --- a/src/Reports/wrapper/v1.0/Microsoft.Graph.Wrapper.Reports.csproj +++ b/src/Reports/wrapper/v1.0/Microsoft.Graph.Wrapper.Reports.csproj @@ -48,18 +48,16 @@ - + Removal is by package identity, not filename. --> + Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' != ''" /> From df3412aab59fa14c04b797d9903d192f40220221 Mon Sep 17 00:00:00 2001 From: Ramses Sanchez Hernandez Date: Mon, 2 Nov 2026 16:53:27 -0800 Subject: [PATCH 10/13] Regenerate Reports beta with adapted Authentication profile transport Full queued Kiota and cmdlet/client/project generation on 844672d7c2, Release 520 exports. Generated calls select beta, normal manifests require Authentication 2.41.2, and projects prune the complete shared dependency closure. Global and USGov real factory tests preserve beta roots, actual typed Report/summary results, downloads, nested mutations and safety; known 204 refetch-header limitation remains explicit. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../Beta/Cmdlets/GetMgAdminReportSetting.g.cs | 2 +- .../Cmdlets/GetMgAdminReportSettingSharePoint.g.cs | 2 +- ...rtSettingSharePointApiUsageReportMetricCount.g.cs | 2 +- ...ortSettingSharePointApiUsageReportMetric_Get.g.cs | 2 +- ...rtSettingSharePointApiUsageReportMetric_List.g.cs | 2 +- .../Cmdlets/GetMgAuditLogAuditActivityTypeCount.g.cs | 2 +- .../Cmdlets/GetMgAuditLogAuditActivityType_Get.g.cs | 2 +- .../Cmdlets/GetMgAuditLogAuditActivityType_List.g.cs | 2 +- ...tMgAuditLogCustomSecurityAttributeAuditCount.g.cs | 2 +- ...etMgAuditLogCustomSecurityAttributeAudit_Get.g.cs | 2 +- ...tMgAuditLogCustomSecurityAttributeAudit_List.g.cs | 2 +- .../Cmdlets/GetMgAuditLogDirectoryAuditCount.g.cs | 2 +- .../Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs | 2 +- .../Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs | 2 +- .../GetMgAuditLogDirectoryProvisioningCount.g.cs | 2 +- .../GetMgAuditLogDirectoryProvisioning_Get.g.cs | 2 +- .../GetMgAuditLogDirectoryProvisioning_List.g.cs | 2 +- ...GetSummarizedMSISignInsWithAggregationWindow.g.cs | 2 +- ...edNonInteractiveSignInsWithAggregationWindow.g.cs | 2 +- ...ServicePrincipalSignInsWithAggregationWindow.g.cs | 2 +- .../Beta/Cmdlets/GetMgAuditLogProvisioningCount.g.cs | 2 +- .../Beta/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs | 2 +- .../Beta/Cmdlets/GetMgAuditLogProvisioning_List.g.cs | 2 +- .../Beta/Cmdlets/GetMgAuditLogSignInCount.g.cs | 2 +- ...etMgAuditLogSignInEventAppSummaryApplication.g.cs | 2 +- ...AuditLogSignInEventAppSummaryApplicationLogo.g.cs | 2 +- .../GetMgAuditLogSignInEventAppSummaryCount.g.cs | 2 +- .../GetMgAuditLogSignInEventAppSummary_Get.g.cs | 2 +- .../GetMgAuditLogSignInEventAppSummary_List.g.cs | 2 +- .../GetMgAuditLogSignInEventSummaryCount.g.cs | 2 +- .../Cmdlets/GetMgAuditLogSignInEventSummary_Get.g.cs | 2 +- .../GetMgAuditLogSignInEventSummary_List.g.cs | 2 +- .../Beta/Cmdlets/GetMgAuditLogSignIn_Get.g.cs | 2 +- .../Beta/Cmdlets/GetMgAuditLogSignIn_List.g.cs | 2 +- .../Beta/Cmdlets/GetMgAuditLogSignUpCount.g.cs | 2 +- .../Beta/Cmdlets/GetMgAuditLogSignUp_Get.g.cs | 2 +- .../Beta/Cmdlets/GetMgAuditLogSignUp_List.g.cs | 2 +- .../Beta/Cmdlets/GetMgDeviceManagementReport.g.cs | 2 +- ...nagementReportCachedReportConfigurationCount.g.cs | 2 +- ...anagementReportCachedReportConfiguration_Get.g.cs | 2 +- ...nagementReportCachedReportConfiguration_List.g.cs | 2 +- .../GetMgDeviceManagementReportExportJobCount.g.cs | 2 +- .../GetMgDeviceManagementReportExportJob_Get.g.cs | 2 +- .../GetMgDeviceManagementReportExportJob_List.g.cs | 2 +- .../GetMgReportAppCredentialSignInActivityCount.g.cs | 2 +- .../GetMgReportAppCredentialSignInActivity_Get.g.cs | 2 +- .../GetMgReportAppCredentialSignInActivity_List.g.cs | 2 +- ...gReportApplicationSignInDetailedSummaryCount.g.cs | 2 +- ...MgReportApplicationSignInDetailedSummary_Get.g.cs | 2 +- ...gReportApplicationSignInDetailedSummary_List.g.cs | 2 +- .../Cmdlets/GetMgReportAuthenticationMethod.g.cs | 2 +- ...ortAuthenticationMethodUserEventSummaryCount.g.cs | 2 +- ...portAuthenticationMethodUserEventSummary_Get.g.cs | 2 +- ...ortAuthenticationMethodUserEventSummary_List.g.cs | 2 +- ...uthenticationMethodUserMfaSignInSummaryCount.g.cs | 2 +- ...AuthenticationMethodUserMfaSignInSummary_Get.g.cs | 2 +- ...uthenticationMethodUserMfaSignInSummary_List.g.cs | 2 +- ...MethodUserPasswordResetAndChangeSummaryCount.g.cs | 2 +- ...nMethodUserPasswordResetAndChangeSummary_Get.g.cs | 2 +- ...MethodUserPasswordResetAndChangeSummary_List.g.cs | 2 +- ...tionMethodUserRegistrationActivityWithPeriod.g.cs | 2 +- ...henticationMethodUserRegistrationDetailCount.g.cs | 2 +- ...thenticationMethodUserRegistrationDetail_Get.g.cs | 2 +- ...henticationMethodUserRegistrationDetail_List.g.cs | 2 +- ...thodUserSignInsByAuthMethodSummaryWithPeriod.g.cs | 2 +- ...AuthenticationMethodUsersRegisteredByFeature.g.cs | 2 +- ...reWithIncludedUserTypesWithIncludedUserRoles.g.cs | 2 +- ...tAuthenticationMethodUsersRegisteredByMethod.g.cs | 2 +- ...odWithIncludedUserTypesWithIncludedUserRoles.g.cs | 2 +- .../GetMgReportAzureADPremiumLicenseInsight.g.cs | 2 +- .../GetMgReportAzureAdApplicationSignInSummary.g.cs | 2 +- .../Beta/Cmdlets/GetMgReportCorrelationCount.g.cs | 2 +- .../Cmdlets/GetMgReportCorrelationIdentityCount.g.cs | 2 +- .../Cmdlets/GetMgReportCorrelationIdentity_Get.g.cs | 2 +- .../Cmdlets/GetMgReportCorrelationIdentity_List.g.cs | 2 +- .../GetMgReportCorrelationServicePrincipal.g.cs | 2 +- .../Beta/Cmdlets/GetMgReportCorrelation_Get.g.cs | 2 +- .../Beta/Cmdlets/GetMgReportCorrelation_List.g.cs | 2 +- .../GetMgReportDailyPrintUsageByPrinterCount.g.cs | 2 +- .../GetMgReportDailyPrintUsageByPrinter_Get.g.cs | 2 +- .../GetMgReportDailyPrintUsageByPrinter_List.g.cs | 2 +- .../GetMgReportDailyPrintUsageByUserCount.g.cs | 2 +- .../GetMgReportDailyPrintUsageByUser_Get.g.cs | 2 +- .../GetMgReportDailyPrintUsageByUser_List.g.cs | 2 +- .../Cmdlets/GetMgReportDailyPrintUsageCount.g.cs | 2 +- .../Beta/Cmdlets/GetMgReportDailyPrintUsage_Get.g.cs | 2 +- .../Cmdlets/GetMgReportDailyPrintUsage_List.g.cs | 2 +- ...GetMgReportDeviceConfigurationDeviceActivity.g.cs | 2 +- .../GetMgReportDeviceConfigurationUserActivity.g.cs | 2 +- ...rtGetBrowserDistributionUserCountsWithPeriod.g.cs | 2 +- .../GetMgReportGetBrowserUserCountsWithPeriod.g.cs | 2 +- .../GetMgReportGetBrowserUserDetailWithPeriod.g.cs | 2 +- ...tMgReportGetCredentialUsageSummaryWithPeriod.g.cs | 2 +- ...etMgReportGetCredentialUserRegistrationCount.g.cs | 2 +- .../GetMgReportGetEmailActivityCountsWithPeriod.g.cs | 2 +- ...MgReportGetEmailActivityUserCountsWithPeriod.g.cs | 2 +- ...etMgReportGetEmailActivityUserDetailWithDate.g.cs | 2 +- ...MgReportGetEmailActivityUserDetailWithPeriod.g.cs | 2 +- ...portGetEmailAppUsageAppsUserCountsWithPeriod.g.cs | 2 +- ...MgReportGetEmailAppUsageUserCountsWithPeriod.g.cs | 2 +- ...etMgReportGetEmailAppUsageUserDetailWithDate.g.cs | 2 +- ...MgReportGetEmailAppUsageUserDetailWithPeriod.g.cs | 2 +- ...GetEmailAppUsageVersionsUserCountsWithPeriod.g.cs | 2 +- ...MgReportGetFormsUserActivityCountsWithPeriod.g.cs | 2 +- ...portGetFormsUserActivityUserCountsWithPeriod.g.cs | 2 +- ...ReportGetFormsUserActivityUserDetailWithDate.g.cs | 2 +- ...portGetFormsUserActivityUserDetailWithPeriod.g.cs | 2 +- ...sWithGroupIdWithStartDateTimeWithEndDateTime.g.cs | 2 +- ...ReportGetM365AppPlatformUserCountsWithPeriod.g.cs | 2 +- .../GetMgReportGetM365AppUserCountsWithPeriod.g.cs | 2 +- .../GetMgReportGetM365AppUserDetailWithDate.g.cs | 2 +- .../GetMgReportGetM365AppUserDetailWithPeriod.g.cs | 2 +- .../GetMgReportGetMailboxUsageDetailWithPeriod.g.cs | 2 +- ...ReportGetMailboxUsageMailboxCountsWithPeriod.g.cs | 2 +- ...ilboxUsageQuotaStatusMailboxCountsWithPeriod.g.cs | 2 +- .../GetMgReportGetMailboxUsageStorageWithPeriod.g.cs | 2 +- .../GetMgReportGetOffice365ActivationCounts.g.cs | 2 +- ...GetMgReportGetOffice365ActivationsUserCounts.g.cs | 2 +- ...GetMgReportGetOffice365ActivationsUserDetail.g.cs | 2 +- ...ReportGetOffice365ActiveUserCountsWithPeriod.g.cs | 2 +- ...MgReportGetOffice365ActiveUserDetailWithDate.g.cs | 2 +- ...ReportGetOffice365ActiveUserDetailWithPeriod.g.cs | 2 +- ...rtGetOffice365GroupsActivityCountsWithPeriod.g.cs | 2 +- ...portGetOffice365GroupsActivityDetailWithDate.g.cs | 2 +- ...rtGetOffice365GroupsActivityDetailWithPeriod.g.cs | 2 +- ...tOffice365GroupsActivityFileCountsWithPeriod.g.cs | 2 +- ...Office365GroupsActivityGroupCountsWithPeriod.g.cs | 2 +- ...tGetOffice365GroupsActivityStorageWithPeriod.g.cs | 2 +- ...portGetOffice365ServicesUserCountsWithPeriod.g.cs | 2 +- ...eportGetOneDriveActivityFileCountsWithPeriod.g.cs | 2 +- ...eportGetOneDriveActivityUserCountsWithPeriod.g.cs | 2 +- ...gReportGetOneDriveActivityUserDetailWithDate.g.cs | 2 +- ...eportGetOneDriveActivityUserDetailWithPeriod.g.cs | 2 +- ...eportGetOneDriveUsageAccountCountsWithPeriod.g.cs | 2 +- ...gReportGetOneDriveUsageAccountDetailWithDate.g.cs | 2 +- ...eportGetOneDriveUsageAccountDetailWithPeriod.g.cs | 2 +- ...MgReportGetOneDriveUsageFileCountsWithPeriod.g.cs | 2 +- ...GetMgReportGetOneDriveUsageStorageWithPeriod.g.cs | 2 +- ...ithPrinterIdWithStartDateTimeWithEndDateTime.g.cs | 2 +- ...portGetRelyingPartyDetailedSummaryWithPeriod.g.cs | 2 +- ...ortGetSharePointActivityFileCountsWithPeriod.g.cs | 2 +- ...MgReportGetSharePointActivityPagesWithPeriod.g.cs | 2 +- ...ortGetSharePointActivityUserCountsWithPeriod.g.cs | 2 +- ...eportGetSharePointActivityUserDetailWithDate.g.cs | 2 +- ...ortGetSharePointActivityUserDetailWithPeriod.g.cs | 2 +- ...MgReportGetSharePointSiteUsageDetailWithDate.g.cs | 2 +- ...ReportGetSharePointSiteUsageDetailWithPeriod.g.cs | 2 +- ...rtGetSharePointSiteUsageFileCountsWithPeriod.g.cs | 2 +- ...gReportGetSharePointSiteUsagePagesWithPeriod.g.cs | 2 +- ...rtGetSharePointSiteUsageSiteCountsWithPeriod.g.cs | 2 +- ...eportGetSharePointSiteUsageStorageWithPeriod.g.cs | 2 +- ...tGetSkypeForBusinessActivityCountsWithPeriod.g.cs | 2 +- ...SkypeForBusinessActivityUserCountsWithPeriod.g.cs | 2 +- ...etSkypeForBusinessActivityUserDetailWithDate.g.cs | 2 +- ...SkypeForBusinessActivityUserDetailWithPeriod.g.cs | 2 +- ...sDeviceUsageDistributionUserCountsWithPeriod.g.cs | 2 +- ...peForBusinessDeviceUsageUserCountsWithPeriod.g.cs | 2 +- ...kypeForBusinessDeviceUsageUserDetailWithDate.g.cs | 2 +- ...peForBusinessDeviceUsageUserDetailWithPeriod.g.cs | 2 +- ...ForBusinessOrganizerActivityCountsWithPeriod.g.cs | 2 +- ...inessOrganizerActivityMinuteCountsWithPeriod.g.cs | 2 +- ...usinessOrganizerActivityUserCountsWithPeriod.g.cs | 2 +- ...rBusinessParticipantActivityCountsWithPeriod.g.cs | 2 +- ...essParticipantActivityMinuteCountsWithPeriod.g.cs | 2 +- ...inessParticipantActivityUserCountsWithPeriod.g.cs | 2 +- ...orBusinessPeerToPeerActivityCountsWithPeriod.g.cs | 2 +- ...nessPeerToPeerActivityMinuteCountsWithPeriod.g.cs | 2 +- ...sinessPeerToPeerActivityUserCountsWithPeriod.g.cs | 2 +- ...ceUsageDistributionTotalUserCountsWithPeriod.g.cs | 2 +- ...sDeviceUsageDistributionUserCountsWithPeriod.g.cs | 2 +- ...GetTeamsDeviceUsageTotalUserCountsWithPeriod.g.cs | 2 +- ...eportGetTeamsDeviceUsageUserCountsWithPeriod.g.cs | 2 +- ...gReportGetTeamsDeviceUsageUserDetailWithDate.g.cs | 2 +- ...eportGetTeamsDeviceUsageUserDetailWithPeriod.g.cs | 2 +- ...MgReportGetTeamsTeamActivityCountsWithPeriod.g.cs | 2 +- ...etMgReportGetTeamsTeamActivityDetailWithDate.g.cs | 2 +- ...MgReportGetTeamsTeamActivityDetailWithPeriod.g.cs | 2 +- ...eamsTeamActivityDistributionCountsWithPeriod.g.cs | 2 +- .../GetMgReportGetTeamsTeamCountsWithPeriod.g.cs | 2 +- ...MgReportGetTeamsUserActivityCountsWithPeriod.g.cs | 2 +- ...ctivityDistributionTotalUserCountsWithPeriod.g.cs | 2 +- ...UserActivityDistributionUserCountsWithPeriod.g.cs | 2 +- ...ortGetTeamsUserActivityTotalCountsWithPeriod.g.cs | 2 +- ...serActivityTotalDistributionCountsWithPeriod.g.cs | 2 +- ...etTeamsUserActivityTotalUserCountsWithPeriod.g.cs | 2 +- ...portGetTeamsUserActivityUserCountsWithPeriod.g.cs | 2 +- ...ReportGetTeamsUserActivityUserDetailWithDate.g.cs | 2 +- ...portGetTeamsUserActivityUserDetailWithPeriod.g.cs | 2 +- ...bsWithUserIdWithStartDateTimeWithEndDateTime.g.cs | 2 +- ...GetMgReportGetYammerActivityCountsWithPeriod.g.cs | 2 +- ...gReportGetYammerActivityUserCountsWithPeriod.g.cs | 2 +- ...tMgReportGetYammerActivityUserDetailWithDate.g.cs | 2 +- ...gReportGetYammerActivityUserDetailWithPeriod.g.cs | 2 +- ...rDeviceUsageDistributionUserCountsWithPeriod.g.cs | 2 +- ...portGetYammerDeviceUsageUserCountsWithPeriod.g.cs | 2 +- ...ReportGetYammerDeviceUsageUserDetailWithDate.g.cs | 2 +- ...portGetYammerDeviceUsageUserDetailWithPeriod.g.cs | 2 +- ...eportGetYammerGroupsActivityCountsWithPeriod.g.cs | 2 +- ...gReportGetYammerGroupsActivityDetailWithDate.g.cs | 2 +- ...eportGetYammerGroupsActivityDetailWithPeriod.g.cs | 2 +- ...GetYammerGroupsActivityGroupCountsWithPeriod.g.cs | 2 +- .../Beta/Cmdlets/GetMgReportHealthMonitoring.g.cs | 2 +- ...eportHealthMonitoringAlertConfigurationCount.g.cs | 2 +- ...ReportHealthMonitoringAlertConfiguration_Get.g.cs | 2 +- ...eportHealthMonitoringAlertConfiguration_List.g.cs | 2 +- .../GetMgReportHealthMonitoringAlertCount.g.cs | 2 +- .../GetMgReportHealthMonitoringAlert_Get.g.cs | 2 +- .../GetMgReportHealthMonitoringAlert_List.g.cs | 2 +- .../Beta/Cmdlets/GetMgReportIdentityAnalytic.g.cs | 2 +- .../GetMgReportIdentityAnalyticGroupCount.g.cs | 2 +- .../GetMgReportIdentityAnalyticGroup_Get.g.cs | 2 +- .../GetMgReportIdentityAnalyticGroup_List.g.cs | 2 +- ...portManagedDeviceEnrollmentAbandonmentDetail.g.cs | 2 +- ...ortManagedDeviceEnrollmentAbandonmentSummary.g.cs | 2 +- ...MgReportManagedDeviceEnrollmentFailureDetail.g.cs | 2 +- ...DetailWithSkipWithTopWithFilterWithSkipToken.g.cs | 2 +- ...tMgReportManagedDeviceEnrollmentFailureTrend.g.cs | 2 +- ...GetMgReportManagedDeviceEnrollmentTopFailure.g.cs | 2 +- ...tManagedDeviceEnrollmentTopFailureWithPeriod.g.cs | 2 +- ...MicrosoftAppFileStorageContainerUsageSummary.g.cs | 2 +- ...ontainerUsageSummaryUsageByDataLocationCount.g.cs | 2 +- ...ageSummaryUsageByDataLocationUsageByAppCount.g.cs | 2 +- ...sageSummaryUsageByDataLocationUsageByApp_Get.g.cs | 2 +- ...ageSummaryUsageByDataLocationUsageByApp_List.g.cs | 2 +- ...ContainerUsageSummaryUsageByDataLocation_Get.g.cs | 2 +- ...ontainerUsageSummaryUsageByDataLocation_List.g.cs | 2 +- .../GetMgReportMonthlyPrintUsageByPrinterCount.g.cs | 2 +- .../GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs | 2 +- .../GetMgReportMonthlyPrintUsageByPrinter_List.g.cs | 2 +- .../GetMgReportMonthlyPrintUsageByUserCount.g.cs | 2 +- .../GetMgReportMonthlyPrintUsageByUser_Get.g.cs | 2 +- .../GetMgReportMonthlyPrintUsageByUser_List.g.cs | 2 +- .../wrapper/Beta/Cmdlets/GetMgReportPartner.g.cs | 2 +- .../Beta/Cmdlets/GetMgReportPartnerBilling.g.cs | 2 +- .../GetMgReportPartnerBillingAggregatedUsage.g.cs | 2 +- ...tMgReportPartnerBillingAggregatedUsageBilled.g.cs | 2 +- .../GetMgReportPartnerBillingManifestCount.g.cs | 2 +- .../GetMgReportPartnerBillingManifest_Get.g.cs | 2 +- .../GetMgReportPartnerBillingManifest_List.g.cs | 2 +- .../GetMgReportPartnerBillingOperationCount.g.cs | 2 +- .../GetMgReportPartnerBillingOperation_Get.g.cs | 2 +- .../GetMgReportPartnerBillingOperation_List.g.cs | 2 +- .../GetMgReportPartnerBillingReconciliation.g.cs | 2 +- ...etMgReportPartnerBillingReconciliationBilled.g.cs | 2 +- ...MgReportPartnerBillingReconciliationUnbilled.g.cs | 2 +- .../Beta/Cmdlets/GetMgReportPartnerBillingUsage.g.cs | 2 +- .../GetMgReportPartnerBillingUsageBilled.g.cs | 2 +- .../GetMgReportPartnerBillingUsageUnbilled.g.cs | 2 +- .../wrapper/Beta/Cmdlets/GetMgReportSecurity.g.cs | 2 +- ...rtSecurityGetAttackSimulationRepeatOffenders.g.cs | 2 +- ...ityGetAttackSimulationSimulationUserCoverage.g.cs | 2 +- ...urityGetAttackSimulationTrainingUserCoverage.g.cs | 2 +- .../Beta/Cmdlets/GetMgReportServiceActivity.g.cs | 2 +- ...tMgReportServicePrincipalSignInActivityCount.g.cs | 2 +- ...etMgReportServicePrincipalSignInActivity_Get.g.cs | 2 +- ...tMgReportServicePrincipalSignInActivity_List.g.cs | 2 +- src/Reports/wrapper/Beta/Cmdlets/GetMgReportSla.g.cs | 2 +- .../Cmdlets/GetMgReportSlaAzureADAuthentication.g.cs | 2 +- .../wrapper/Beta/Cmdlets/GetMgReportUserInsight.g.cs | 2 +- .../Beta/Cmdlets/GetMgReportUserInsightDaily.g.cs | 2 +- .../GetMgReportUserInsightDailyActiveUserCount.g.cs | 2 +- .../GetMgReportUserInsightDailyActiveUser_Get.g.cs | 2 +- .../GetMgReportUserInsightDailyActiveUser_List.g.cs | 2 +- ...tMgReportUserInsightDailyAuthenticationCount.g.cs | 2 +- ...etMgReportUserInsightDailyAuthentication_Get.g.cs | 2 +- ...tMgReportUserInsightDailyAuthentication_List.g.cs | 2 +- ...GetMgReportUserInsightDailyInactiveUserCount.g.cs | 2 +- .../GetMgReportUserInsightDailyInactiveUser_Get.g.cs | 2 +- ...GetMgReportUserInsightDailyInactiveUser_List.g.cs | 2 +- ...etMgReportUserInsightDailyMfaCompletionCount.g.cs | 2 +- ...GetMgReportUserInsightDailyMfaCompletion_Get.g.cs | 2 +- ...etMgReportUserInsightDailyMfaCompletion_List.g.cs | 2 +- ...MgReportUserInsightDailyMfaTelecomFraudCount.g.cs | 2 +- ...tMgReportUserInsightDailyMfaTelecomFraud_Get.g.cs | 2 +- ...MgReportUserInsightDailyMfaTelecomFraud_List.g.cs | 2 +- .../GetMgReportUserInsightDailySignUpCount.g.cs | 2 +- .../GetMgReportUserInsightDailySignUp_Get.g.cs | 2 +- .../GetMgReportUserInsightDailySignUp_List.g.cs | 2 +- .../GetMgReportUserInsightDailySummaryCount.g.cs | 2 +- .../GetMgReportUserInsightDailySummary_Get.g.cs | 2 +- .../GetMgReportUserInsightDailySummary_List.g.cs | 2 +- .../GetMgReportUserInsightDailyUserCountCount.g.cs | 2 +- .../GetMgReportUserInsightDailyUserCount_Get.g.cs | 2 +- .../GetMgReportUserInsightDailyUserCount_List.g.cs | 2 +- .../Beta/Cmdlets/GetMgReportUserInsightMonthly.g.cs | 2 +- ...GetMgReportUserInsightMonthlyActiveUserCount.g.cs | 2 +- .../GetMgReportUserInsightMonthlyActiveUser_Get.g.cs | 2 +- ...GetMgReportUserInsightMonthlyActiveUser_List.g.cs | 2 +- ...gReportUserInsightMonthlyAuthenticationCount.g.cs | 2 +- ...MgReportUserInsightMonthlyAuthentication_Get.g.cs | 2 +- ...gReportUserInsightMonthlyAuthentication_List.g.cs | 2 +- ...tMgReportUserInsightMonthlyInactiveUserCount.g.cs | 2 +- ...etMgReportUserInsightMonthlyInactiveUser_Get.g.cs | 2 +- ...tMgReportUserInsightMonthlyInactiveUser_List.g.cs | 2 +- ...MgReportUserInsightMonthlyMfaCompletionCount.g.cs | 2 +- ...tMgReportUserInsightMonthlyMfaCompletion_Get.g.cs | 2 +- ...MgReportUserInsightMonthlyMfaCompletion_List.g.cs | 2 +- ...portUserInsightMonthlyMfaRegisteredUserCount.g.cs | 2 +- ...eportUserInsightMonthlyMfaRegisteredUser_Get.g.cs | 2 +- ...portUserInsightMonthlyMfaRegisteredUser_List.g.cs | 2 +- .../GetMgReportUserInsightMonthlyRequestCount.g.cs | 2 +- .../GetMgReportUserInsightMonthlyRequest_Get.g.cs | 2 +- .../GetMgReportUserInsightMonthlyRequest_List.g.cs | 2 +- .../GetMgReportUserInsightMonthlySignUpCount.g.cs | 2 +- .../GetMgReportUserInsightMonthlySignUp_Get.g.cs | 2 +- .../GetMgReportUserInsightMonthlySignUp_List.g.cs | 2 +- .../GetMgReportUserInsightMonthlySummaryCount.g.cs | 2 +- .../GetMgReportUserInsightMonthlySummary_Get.g.cs | 2 +- .../GetMgReportUserInsightMonthlySummary_List.g.cs | 2 +- ...ReportSettingSharePointDisableApiUsageReport.g.cs | 2 +- ...nReportSettingSharePointEnableApiUsageReport.g.cs | 2 +- .../InvokeMgAuditLogSignInConfirmCompromised.g.cs | 2 +- .../Cmdlets/InvokeMgAuditLogSignInConfirmSafe.g.cs | 2 +- .../Beta/Cmdlets/InvokeMgAuditLogSignInDismiss.g.cs | 2 +- ...DeviceManagementReportGetActiveMalwareReport.g.cs | 2 +- ...anagementReportGetActiveMalwareSummaryReport.g.cs | 2 +- ...viceManagementReportGetAllCertificatesReport.g.cs | 2 +- ...ceManagementReportGetAppStatusOverviewReport.g.cs | 2 +- ...eManagementReportGetAppsInstallSummaryReport.g.cs | 2 +- ...nvokeMgDeviceManagementReportGetCachedReport.g.cs | 2 +- ...gDeviceManagementReportGetCertificatesReport.g.cs | 2 +- ...ntReportGetCompliancePoliciesReportForDevice.g.cs | 2 +- ...ReportGetCompliancePolicyDeviceSummaryReport.g.cs | 2 +- ...gementReportGetCompliancePolicyDevicesReport.g.cs | 2 +- ...ReportGetCompliancePolicyNonComplianceReport.g.cs | 2 +- ...etCompliancePolicyNonComplianceSummaryReport.g.cs | 2 +- ...ementReportGetComplianceSettingDetailsReport.g.cs | 2 +- ...eportGetComplianceSettingNonComplianceReport.g.cs | 2 +- ...eManagementReportGetComplianceSettingsReport.g.cs | 2 +- ...portGetConfigManagerDevicePolicyStatusReport.g.cs | 2 +- ...eportGetConfigurationPoliciesReportForDevice.g.cs | 2 +- ...ortGetConfigurationPolicyDeviceSummaryReport.g.cs | 2 +- ...entReportGetConfigurationPolicyDevicesReport.g.cs | 2 +- ...ortGetConfigurationPolicyNonComplianceReport.g.cs | 2 +- ...onfigurationPolicyNonComplianceSummaryReport.g.cs | 2 +- ...nfigurationPolicySettingsDeviceSummaryReport.g.cs | 2 +- ...ntReportGetConfigurationSettingDetailsReport.g.cs | 2 +- ...rtGetConfigurationSettingNonComplianceReport.g.cs | 2 +- ...nagementReportGetConfigurationSettingsReport.g.cs | 2 +- ...viceConfigurationPolicySettingsSummaryReport.g.cs | 2 +- ...ortGetDeviceConfigurationPolicyStatusSummary.g.cs | 2 +- ...nagementIntentPerSettingContributingProfiles.g.cs | 2 +- ...eportGetDeviceManagementIntentSettingsReport.g.cs | 2 +- ...ManagementReportGetDeviceNonComplianceReport.g.cs | 2 +- ...ementReportGetDevicePoliciesComplianceReport.g.cs | 2 +- ...eportGetDevicePolicySettingsComplianceReport.g.cs | 2 +- ...ReportGetDeviceStatusByCompliacePolicyReport.g.cs | 2 +- ...tDeviceStatusByCompliancePolicySettingReport.g.cs | 2 +- ...etDeviceStatusSummaryByCompliacePolicyReport.g.cs | 2 +- ...tatusSummaryByCompliancePolicySettingsReport.g.cs | 2 +- ...evicesStatusByPolicyPlatformComplianceReport.g.cs | 2 +- ...agementReportGetDevicesStatusBySettingReport.g.cs | 2 +- ...eportGetDevicesWithoutCompliancePolicyReport.g.cs | 2 +- ...anagementReportGetEncryptionReportForDevices.g.cs | 2 +- ...rtGetEnrollmentConfigurationPoliciesByDevice.g.cs | 2 +- ...iceManagementReportGetFailedMobileAppsReport.g.cs | 2 +- ...gementReportGetFailedMobileAppsSummaryReport.g.cs | 2 +- ...rtGetGroupPolicySettingsDeviceSettingsReport.g.cs | 2 +- ...eMgDeviceManagementReportGetHistoricalReport.g.cs | 2 +- ...eviceManagementReportGetMalwareSummaryReport.g.cs | 2 +- ...eApplicationManagementAppConfigurationReport.g.cs | 2 +- ...cationManagementAppRegistrationSummaryReport.g.cs | 2 +- ...eportGetNoncompliantDevicesAndSettingsReport.g.cs | 2 +- ...nagementReportGetPolicyNonComplianceMetadata.g.cs | 2 +- ...ManagementReportGetPolicyNonComplianceReport.g.cs | 2 +- ...entReportGetPolicyNonComplianceSummaryReport.g.cs | 2 +- ...entReportGetQuietTimePolicyUserSummaryReport.g.cs | 2 +- ...anagementReportGetQuietTimePolicyUsersReport.g.cs | 2 +- ...ceManagementReportGetRelatedAppsStatusReport.g.cs | 2 +- ...ementReportGetRemoteAssistanceSessionsReport.g.cs | 2 +- ...vokeMgDeviceManagementReportGetReportFilters.g.cs | 2 +- ...anagementReportGetSettingNonComplianceReport.g.cs | 2 +- ...gementReportGetUnhealthyDefenderAgentsReport.g.cs | 2 +- ...ceManagementReportGetUnhealthyFirewallReport.g.cs | 2 +- ...ementReportGetUnhealthyFirewallSummaryReport.g.cs | 2 +- ...ceManagementReportGetUserInstallStatusReport.g.cs | 2 +- ...portGetWindowsDriverUpdateAlertSummaryReport.g.cs | 2 +- ...wsDriverUpdateAlertsPerPolicyPerDeviceReport.g.cs | 2 +- ...ortGetWindowsQualityUpdateAlertSummaryReport.g.cs | 2 +- ...sQualityUpdateAlertsPerPolicyPerDeviceReport.g.cs | 2 +- ...mentReportGetWindowsUpdateAlertSummaryReport.g.cs | 2 +- ...tWindowsUpdateAlertsPerPolicyPerDeviceReport.g.cs | 2 +- ...eveAndroidWorkProfileDeviceMigrationStatuses.g.cs | 2 +- ...ementReportRetrieveAppleDeviceOSUpdateStatus.g.cs | 2 +- ...anagementReportRetrieveAppleOSUpdateFailures.g.cs | 2 +- ...tReportRetrieveCloudPkiLeafCertificateReport.g.cs | 2 +- ...RetrieveCloudPkiLeafCertificateSummaryReport.g.cs | 2 +- ...ortRetrieveDeviceAppInstallationStatusReport.g.cs | 2 +- ...tRetrieveEnrollmentTimeGroupingFailureReport.g.cs | 2 +- ...nagementReportRetrieveSecurityTaskAppsReport.g.cs | 2 +- ...ntReportRetrieveWin32CatalogAppsUpdateReport.g.cs | 2 +- ...ortPartnerBillingAggregatedUsageBilledExport.g.cs | 2 +- ...portPartnerBillingReconciliationBilledExport.g.cs | 2 +- ...rtPartnerBillingReconciliationUnbilledExport.g.cs | 2 +- ...nvokeMgReportPartnerBillingUsageBilledExport.g.cs | 2 +- ...okeMgReportPartnerBillingUsageUnbilledExport.g.cs | 2 +- ...nReportSettingSharePointApiUsageReportMetric.g.cs | 2 +- ...MgReportAuthenticationMethodUserEventSummary.g.cs | 2 +- ...portAuthenticationMethodUserMfaSignInSummary.g.cs | 2 +- ...ationMethodUserPasswordResetAndChangeSummary.g.cs | 2 +- ...rtAuthenticationMethodUserRegistrationDetail.g.cs | 2 +- .../Cmdlets/NewMgReportHealthMonitoringAlert.g.cs | 2 +- ...ewMgReportHealthMonitoringAlertConfiguration.g.cs | 2 +- .../Cmdlets/NewMgReportIdentityAnalyticGroup.g.cs | 2 +- ...rageContainerUsageSummaryUsageByDataLocation.g.cs | 2 +- ...nerUsageSummaryUsageByDataLocationUsageByApp.g.cs | 2 +- .../Cmdlets/NewMgReportPartnerBillingManifest.g.cs | 2 +- .../Cmdlets/NewMgReportPartnerBillingOperation.g.cs | 2 +- .../NewMgReportUserInsightDailyMfaTelecomFraud.g.cs | 2 +- ...wMgReportUserInsightMonthlyMfaRegisteredUser.g.cs | 2 +- .../Beta/Cmdlets/RemoveMgAdminReportSetting.g.cs | 2 +- .../RemoveMgAdminReportSettingSharePoint.g.cs | 2 +- ...nReportSettingSharePointApiUsageReportMetric.g.cs | 2 +- ...AuditLogSignInEventAppSummaryApplicationLogo.g.cs | 2 +- .../Beta/Cmdlets/RemoveMgDeviceManagementReport.g.cs | 2 +- ...MgReportAuthenticationMethodUserEventSummary.g.cs | 2 +- ...portAuthenticationMethodUserMfaSignInSummary.g.cs | 2 +- ...ationMethodUserPasswordResetAndChangeSummary.g.cs | 2 +- ...rtAuthenticationMethodUserRegistrationDetail.g.cs | 2 +- .../Cmdlets/RemoveMgReportCorrelationIdentity.g.cs | 2 +- .../Cmdlets/RemoveMgReportHealthMonitoringAlert.g.cs | 2 +- ...veMgReportHealthMonitoringAlertConfiguration.g.cs | 2 +- .../Cmdlets/RemoveMgReportIdentityAnalyticGroup.g.cs | 2 +- ...rageContainerUsageSummaryUsageByDataLocation.g.cs | 2 +- ...nerUsageSummaryUsageByDataLocationUsageByApp.g.cs | 2 +- .../Beta/Cmdlets/RemoveMgReportPartnerBilling.g.cs | 2 +- .../RemoveMgReportPartnerBillingAggregatedUsage.g.cs | 2 +- ...eMgReportPartnerBillingAggregatedUsageBilled.g.cs | 2 +- .../RemoveMgReportPartnerBillingManifest.g.cs | 2 +- .../RemoveMgReportPartnerBillingOperation.g.cs | 2 +- .../RemoveMgReportPartnerBillingReconciliation.g.cs | 2 +- ...veMgReportPartnerBillingReconciliationBilled.g.cs | 2 +- ...MgReportPartnerBillingReconciliationUnbilled.g.cs | 2 +- .../Cmdlets/RemoveMgReportPartnerBillingUsage.g.cs | 2 +- .../RemoveMgReportPartnerBillingUsageBilled.g.cs | 2 +- .../RemoveMgReportPartnerBillingUsageUnbilled.g.cs | 2 +- .../RemoveMgReportSlaAzureADAuthentication.g.cs | 2 +- .../Beta/Cmdlets/RemoveMgReportUserInsightDaily.g.cs | 2 +- ...emoveMgReportUserInsightDailyMfaTelecomFraud.g.cs | 2 +- .../Cmdlets/RemoveMgReportUserInsightMonthly.g.cs | 2 +- ...eMgReportUserInsightMonthlyMfaRegisteredUser.g.cs | 2 +- .../Beta/Cmdlets/UpdateMgAdminReportSetting.g.cs | 2 +- .../UpdateMgAdminReportSettingSharePoint.g.cs | 2 +- ...nReportSettingSharePointApiUsageReportMetric.g.cs | 2 +- .../Beta/Cmdlets/UpdateMgDeviceManagementReport.g.cs | 2 +- ...MgReportAuthenticationMethodUserEventSummary.g.cs | 2 +- ...portAuthenticationMethodUserMfaSignInSummary.g.cs | 2 +- ...ationMethodUserPasswordResetAndChangeSummary.g.cs | 2 +- ...rtAuthenticationMethodUserRegistrationDetail.g.cs | 2 +- .../Cmdlets/UpdateMgReportCorrelationIdentity.g.cs | 2 +- .../Cmdlets/UpdateMgReportHealthMonitoringAlert.g.cs | 2 +- ...teMgReportHealthMonitoringAlertConfiguration.g.cs | 2 +- .../Cmdlets/UpdateMgReportIdentityAnalyticGroup.g.cs | 2 +- ...rageContainerUsageSummaryUsageByDataLocation.g.cs | 2 +- ...nerUsageSummaryUsageByDataLocationUsageByApp.g.cs | 2 +- .../Beta/Cmdlets/UpdateMgReportPartnerBilling.g.cs | 2 +- .../UpdateMgReportPartnerBillingAggregatedUsage.g.cs | 2 +- ...eMgReportPartnerBillingAggregatedUsageBilled.g.cs | 2 +- .../UpdateMgReportPartnerBillingManifest.g.cs | 2 +- .../UpdateMgReportPartnerBillingOperation.g.cs | 2 +- .../UpdateMgReportPartnerBillingReconciliation.g.cs | 2 +- ...teMgReportPartnerBillingReconciliationBilled.g.cs | 2 +- ...MgReportPartnerBillingReconciliationUnbilled.g.cs | 2 +- .../Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs | 2 +- .../UpdateMgReportPartnerBillingUsageBilled.g.cs | 2 +- .../UpdateMgReportPartnerBillingUsageUnbilled.g.cs | 2 +- .../UpdateMgReportSlaAzureADAuthentication.g.cs | 2 +- .../Beta/Cmdlets/UpdateMgReportUserInsightDaily.g.cs | 2 +- ...pdateMgReportUserInsightDailyMfaTelecomFraud.g.cs | 2 +- .../Cmdlets/UpdateMgReportUserInsightMonthly.g.cs | 2 +- ...eMgReportUserInsightMonthlyMfaRegisteredUser.g.cs | 2 +- .../Beta/Microsoft.Graph.Wrapper.Reports.csproj | 12 +++++------- 472 files changed, 476 insertions(+), 478 deletions(-) diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSetting.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSetting.g.cs index c6485b90c1d..df1e4773bb5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSetting.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSetting.g.cs @@ -33,7 +33,7 @@ public class GetMgAdminReportSettingCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AdminReportSettings? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePoint.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePoint.g.cs index 8faf193d52c..07c03eeee99 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePoint.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePoint.g.cs @@ -33,7 +33,7 @@ public class GetMgAdminReportSettingSharePointCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.SharePointReportSettings? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetricCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetricCount.g.cs index 7cfec8c8041..e534a23727d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetricCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetricCount.g.cs @@ -31,7 +31,7 @@ public class GetMgAdminReportSettingSharePointApiUsageReportMetricCountCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_Get.g.cs index 245f01af6dd..ebf9595c5b6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgAdminReportSettingSharePointApiUsageReportMetric_GetCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ApiUsageReportEnablementStatus? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_List.g.cs index 3dcca54fef1..3586dd12f9b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_List.g.cs @@ -59,7 +59,7 @@ public class GetMgAdminReportSettingSharePointApiUsageReportMetric_ListCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ApiUsageReportEnablementStatusCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityTypeCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityTypeCount.g.cs index 87ad053c55c..d7e132bec26 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityTypeCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityTypeCount.g.cs @@ -31,7 +31,7 @@ public class GetMgAuditLogAuditActivityTypeCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_Get.g.cs index 0e0439ded40..cf888b01ced 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgAuditLogAuditActivityType_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AuditActivityType? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_List.g.cs index 63e3c74ee29..25d26374e64 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_List.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogAuditActivityType_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AuditActivityTypeCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAuditCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAuditCount.g.cs index 966a9709797..6855fee88dc 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAuditCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAuditCount.g.cs @@ -31,7 +31,7 @@ public class GetMgAuditLogCustomSecurityAttributeAuditCountCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_Get.g.cs index b164e8d72ee..16e5950d2bd 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgAuditLogCustomSecurityAttributeAudit_GetCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.CustomSecurityAttributeAudit? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_List.g.cs index 434c6e6b1e9..d8cb9a41fdf 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_List.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogCustomSecurityAttributeAudit_ListCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.CustomSecurityAttributeAuditCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAuditCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAuditCount.g.cs index 0f39bfd6387..47f85fa47fb 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAuditCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAuditCount.g.cs @@ -31,7 +31,7 @@ public class GetMgAuditLogDirectoryAuditCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs index 1063baeb63f..c06ce141bc2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgAuditLogDirectoryAudit_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryAudit? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs index 0be00559454..f33a1615867 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogDirectoryAudit_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DirectoryAuditCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioningCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioningCount.g.cs index 6d7b11725be..752fd5ed9dd 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioningCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioningCount.g.cs @@ -31,7 +31,7 @@ public class GetMgAuditLogDirectoryProvisioningCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_Get.g.cs index 7083fb02cd0..1f939082ba3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgAuditLogDirectoryProvisioning_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_List.g.cs index 43d283b1a85..ae43ae76a08 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_List.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogDirectoryProvisioning_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummaryCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogGetSummarizedMSISignInsWithAggregationWindow.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogGetSummarizedMSISignInsWithAggregationWindow.g.cs index ec9b2f64002..f688a7f1cca 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogGetSummarizedMSISignInsWithAggregationWindow.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogGetSummarizedMSISignInsWithAggregationWindow.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogGetSummarizedMSISignInsWithAggregationWindowCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogGetSummarizedNonInteractiveSignInsWithAggregationWindow.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogGetSummarizedNonInteractiveSignInsWithAggregationWindow.g.cs index b00d2c3c3cc..bb08666abfe 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogGetSummarizedNonInteractiveSignInsWithAggregationWindow.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogGetSummarizedNonInteractiveSignInsWithAggregationWindow.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogGetSummarizedNonInteractiveSignInsWithAggregationWindo protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogGetSummarizedServicePrincipalSignInsWithAggregationWindow.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogGetSummarizedServicePrincipalSignInsWithAggregationWindow.g.cs index acd3847e8bb..8297b9c1ba3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogGetSummarizedServicePrincipalSignInsWithAggregationWindow.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogGetSummarizedServicePrincipalSignInsWithAggregationWindow.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogGetSummarizedServicePrincipalSignInsWithAggregationWin protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioningCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioningCount.g.cs index c4e9352387a..31a4f6a1adb 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioningCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioningCount.g.cs @@ -31,7 +31,7 @@ public class GetMgAuditLogProvisioningCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs index 5f2d88cb55b..6610b364563 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgAuditLogProvisioning_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummary? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_List.g.cs index f2899b43925..df8edfbcec7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_List.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogProvisioning_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ProvisioningObjectSummaryCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInCount.g.cs index f63afd00b59..85bbdf249ab 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInCount.g.cs @@ -31,7 +31,7 @@ public class GetMgAuditLogSignInCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryApplication.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryApplication.g.cs index 61087c75f6e..20d1309c64d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryApplication.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryApplication.g.cs @@ -34,7 +34,7 @@ public class GetMgAuditLogSignInEventAppSummaryApplicationCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Application? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryApplicationLogo.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryApplicationLogo.g.cs index 8085c0b7188..3b58ea35196 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryApplicationLogo.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryApplicationLogo.g.cs @@ -31,7 +31,7 @@ public class GetMgAuditLogSignInEventAppSummaryApplicationLogoCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryCount.g.cs index b7471d3c593..05282e7a378 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryCount.g.cs @@ -31,7 +31,7 @@ public class GetMgAuditLogSignInEventAppSummaryCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_Get.g.cs index 3b83174230e..9f25096f85d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgAuditLogSignInEventAppSummary_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsAppActivity? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_List.g.cs index e7e786771c4..47ff964f921 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_List.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogSignInEventAppSummary_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsAppActivityCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummaryCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummaryCount.g.cs index 30c03d169a3..92db2b037e9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummaryCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummaryCount.g.cs @@ -31,7 +31,7 @@ public class GetMgAuditLogSignInEventSummaryCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_Get.g.cs index 666eec95b7c..f5276a3f096 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgAuditLogSignInEventSummary_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsActivity? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_List.g.cs index e9ea217a1fa..17715e3e6cc 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_List.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogSignInEventSummary_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.SignInEventsActivityCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_Get.g.cs index 5a7be954322..737065a9f9f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgAuditLogSignIn_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.SignIn? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_List.g.cs index 672ef05ce8e..941a452cc3a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_List.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogSignIn_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.SignInCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUpCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUpCount.g.cs index 764697db0e8..26bb7a2897a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUpCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUpCount.g.cs @@ -31,7 +31,7 @@ public class GetMgAuditLogSignUpCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_Get.g.cs index 77f7769144a..2f7838fdb73 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgAuditLogSignUp_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.SelfServiceSignUp? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_List.g.cs index 38ce09f5a8b..41241423d47 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_List.g.cs @@ -59,7 +59,7 @@ public class GetMgAuditLogSignUp_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.SelfServiceSignUpCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReport.g.cs index 7fe268fdc87..06d31577ee5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReport.g.cs @@ -33,7 +33,7 @@ public class GetMgDeviceManagementReportCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementReports? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfigurationCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfigurationCount.g.cs index e805292d4ef..1d65253fd0a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfigurationCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfigurationCount.g.cs @@ -31,7 +31,7 @@ public class GetMgDeviceManagementReportCachedReportConfigurationCountCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_Get.g.cs index 8637357fa7b..b6310f0fc2d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgDeviceManagementReportCachedReportConfiguration_GetCommand : G protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementCachedReportConfiguration? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_List.g.cs index 4971937bd70..5f5123f732e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_List.g.cs @@ -59,7 +59,7 @@ public class GetMgDeviceManagementReportCachedReportConfiguration_ListCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementCachedReportConfigurationCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJobCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJobCount.g.cs index 4d9be6a36df..2cae2c1c67b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJobCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJobCount.g.cs @@ -31,7 +31,7 @@ public class GetMgDeviceManagementReportExportJobCountCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs index e373092261d..5cb423b9954 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgDeviceManagementReportExportJob_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementExportJob? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs index fbcad2dace5..cda28764c18 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs @@ -59,7 +59,7 @@ public class GetMgDeviceManagementReportExportJob_ListCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementExportJobCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivityCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivityCount.g.cs index 496f056d94e..1b61fefdfd8 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivityCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivityCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportAppCredentialSignInActivityCountCommand : GraphClientCmd protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_Get.g.cs index abe0e56e6f1..5f94fcee603 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportAppCredentialSignInActivity_GetCommand : GraphClientCmdl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AppCredentialSignInActivity? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_List.g.cs index 20afc41f3d3..985a3ff3162 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportAppCredentialSignInActivity_ListCommand : GraphClientCmd protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AppCredentialSignInActivityCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummaryCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummaryCount.g.cs index 68faf90549c..4259fa0e10f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummaryCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummaryCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportApplicationSignInDetailedSummaryCountCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_Get.g.cs index 613176be946..baee3c933ab 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportApplicationSignInDetailedSummary_GetCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ApplicationSignInDetailedSummary? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_List.g.cs index 259437b4794..353070f051c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportApplicationSignInDetailedSummary_ListCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ApplicationSignInDetailedSummaryCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethod.g.cs index 7ef938982d1..1e68c97be37 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethod.g.cs @@ -33,7 +33,7 @@ public class GetMgReportAuthenticationMethodCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationMethodsRoot? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummaryCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummaryCount.g.cs index 8162074afad..b0042f45688 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummaryCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummaryCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportAuthenticationMethodUserEventSummaryCountCommand : Graph protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_Get.g.cs index 7a06ceae603..ca308504718 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportAuthenticationMethodUserEventSummary_GetCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserEventsSummary? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_List.g.cs index 01a8f8a0f30..c8a196caa01 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportAuthenticationMethodUserEventSummary_ListCommand : Graph protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserEventsSummaryCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummaryCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummaryCount.g.cs index cb54008d1e1..5ec17e8ec93 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummaryCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummaryCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportAuthenticationMethodUserMfaSignInSummaryCountCommand : G protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_Get.g.cs index afca06cfae2..8275f5abc2d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportAuthenticationMethodUserMfaSignInSummary_GetCommand : Gr protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserMfaSignInSummary? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_List.g.cs index b028dc509c8..71ab0c9bf67 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportAuthenticationMethodUserMfaSignInSummary_ListCommand : G protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserMfaSignInSummaryCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummaryCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummaryCount.g.cs index 751978775bb..542763fddd4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummaryCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummaryCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummaryCou protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_Get.g.cs index fefc0467d84..0496b413f2b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_Ge protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserPasswordResetsAndChangesSummary? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_List.g.cs index e02a3af4687..b6a0494f5c6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_Li protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserPasswordResetsAndChangesSummaryCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationActivityWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationActivityWithPeriod.g.cs index e71f9ab6886..d6ee4774cc2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationActivityWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationActivityWithPeriod.g.cs @@ -59,7 +59,7 @@ public class GetMgReportAuthenticationMethodUserRegistrationActivityWithPeriodCo protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetailCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetailCount.g.cs index fdeaa4e1548..480f145a235 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetailCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetailCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportAuthenticationMethodUserRegistrationDetailCountCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs index f67b4d48e46..3097c858758 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportAuthenticationMethodUserRegistrationDetail_GetCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserRegistrationDetails? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs index 48da73b5b0c..a21cbd01aea 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportAuthenticationMethodUserRegistrationDetail_ListCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserRegistrationDetailsCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserSignInsByAuthMethodSummaryWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserSignInsByAuthMethodSummaryWithPeriod.g.cs index 3dd1649018c..07985100503 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserSignInsByAuthMethodSummaryWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserSignInsByAuthMethodSummaryWithPeriod.g.cs @@ -59,7 +59,7 @@ public class GetMgReportAuthenticationMethodUserSignInsByAuthMethodSummaryWithPe protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByFeature.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByFeature.g.cs index f8e61ed7514..16196696569 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByFeature.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByFeature.g.cs @@ -31,7 +31,7 @@ public class GetMgReportAuthenticationMethodUsersRegisteredByFeatureCommand : Gr protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles.g.cs index c34ea3a15e6..f56170e15b8 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles.g.cs @@ -38,7 +38,7 @@ public class GetMgReportAuthenticationMethodUsersRegisteredByFeatureWithIncluded protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByMethod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByMethod.g.cs index d0275c7b871..e9a7fe30cd7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByMethod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByMethod.g.cs @@ -31,7 +31,7 @@ public class GetMgReportAuthenticationMethodUsersRegisteredByMethodCommand : Gra protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles.g.cs index e0afa133f8b..32063b5d4d6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles.g.cs @@ -38,7 +38,7 @@ public class GetMgReportAuthenticationMethodUsersRegisteredByMethodWithIncludedU protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureADPremiumLicenseInsight.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureADPremiumLicenseInsight.g.cs index 732205fbc29..dbdb706ff2d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureADPremiumLicenseInsight.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureADPremiumLicenseInsight.g.cs @@ -33,7 +33,7 @@ public class GetMgReportAzureADPremiumLicenseInsightCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AzureADPremiumLicenseInsight? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureAdApplicationSignInSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureAdApplicationSignInSummary.g.cs index d1b3a6e4092..c58633a6051 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureAdApplicationSignInSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureAdApplicationSignInSummary.g.cs @@ -59,7 +59,7 @@ public class GetMgReportAzureAdApplicationSignInSummaryCommand : GraphClientCmdl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationCount.g.cs index 8e68ba293c3..289f69252fe 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportCorrelationCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentityCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentityCount.g.cs index 269a49e8a3a..10a47bb95cf 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentityCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentityCount.g.cs @@ -32,7 +32,7 @@ public class GetMgReportCorrelationIdentityCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_Get.g.cs index b54f909766c..1e5ffeb7499 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_Get.g.cs @@ -36,7 +36,7 @@ public class GetMgReportCorrelationIdentity_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.CorrelatedIdentity? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_List.g.cs index 8f1a3f78f5a..69fa733b44b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_List.g.cs @@ -60,7 +60,7 @@ public class GetMgReportCorrelationIdentity_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.CorrelatedIdentityCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationServicePrincipal.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationServicePrincipal.g.cs index 8e02609ca63..1cac709781c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationServicePrincipal.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationServicePrincipal.g.cs @@ -34,7 +34,7 @@ public class GetMgReportCorrelationServicePrincipalCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ServicePrincipal? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_Get.g.cs index dc835404922..8cd93cc85ae 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportCorrelation_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityCorrelation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_List.g.cs index 8d9d08669ab..2609baa763b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportCorrelation_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityCorrelationCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinterCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinterCount.g.cs index 1cbb2466905..ae0265fd87d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinterCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinterCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportDailyPrintUsageByPrinterCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs index 475a369a7c2..fc15d66763c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportDailyPrintUsageByPrinter_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs index 7ff40f39a69..b69ede91737 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportDailyPrintUsageByPrinter_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinterCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUserCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUserCount.g.cs index dc11100aec6..ef55e610271 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUserCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUserCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportDailyPrintUsageByUserCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs index 3f7c2abc0da..bff2aff8adb 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportDailyPrintUsageByUser_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs index b34175795dc..9b5334c05f2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportDailyPrintUsageByUser_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUserCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageCount.g.cs index eac6a05ec80..ef276587c47 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportDailyPrintUsageCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_Get.g.cs index c292a65e780..c9848641542 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportDailyPrintUsage_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_List.g.cs index 2b5a5f34f7a..9dcee1b2e59 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportDailyPrintUsage_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDeviceConfigurationDeviceActivity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDeviceConfigurationDeviceActivity.g.cs index 5dc797171a4..4a68f37d1e6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDeviceConfigurationDeviceActivity.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDeviceConfigurationDeviceActivity.g.cs @@ -31,7 +31,7 @@ public class GetMgReportDeviceConfigurationDeviceActivityCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDeviceConfigurationUserActivity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDeviceConfigurationUserActivity.g.cs index 24c40a240c5..205f2049fa5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDeviceConfigurationUserActivity.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDeviceConfigurationUserActivity.g.cs @@ -31,7 +31,7 @@ public class GetMgReportDeviceConfigurationUserActivityCommand : GraphClientCmdl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetBrowserDistributionUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetBrowserDistributionUserCountsWithPeriod.g.cs index c9da21a1a46..235928bf852 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetBrowserDistributionUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetBrowserDistributionUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetBrowserDistributionUserCountsWithPeriodCommand : Grap protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetBrowserUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetBrowserUserCountsWithPeriod.g.cs index f9d42895815..76b914977aa 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetBrowserUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetBrowserUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetBrowserUserCountsWithPeriodCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetBrowserUserDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetBrowserUserDetailWithPeriod.g.cs index c71adbd2387..f95d654fa33 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetBrowserUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetBrowserUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetBrowserUserDetailWithPeriodCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetCredentialUsageSummaryWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetCredentialUsageSummaryWithPeriod.g.cs index 295190dcb3c..791e5bed9fa 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetCredentialUsageSummaryWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetCredentialUsageSummaryWithPeriod.g.cs @@ -59,7 +59,7 @@ public class GetMgReportGetCredentialUsageSummaryWithPeriodCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetCredentialUserRegistrationCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetCredentialUserRegistrationCount.g.cs index 91372d3c3ec..b99ecaa59de 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetCredentialUserRegistrationCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetCredentialUserRegistrationCount.g.cs @@ -56,7 +56,7 @@ public class GetMgReportGetCredentialUserRegistrationCountCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityCountsWithPeriod.g.cs index bde98e20a4d..1068b91db25 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailActivityCountsWithPeriodCommand : GraphClientCmd protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityUserCountsWithPeriod.g.cs index b248b3e6764..3386bae3ec6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailActivityUserCountsWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityUserDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityUserDetailWithDate.g.cs index 64d4c2b159f..13efb89bd0d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailActivityUserDetailWithDateCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityUserDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityUserDetailWithPeriod.g.cs index ebcf013080c..b97798df70e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailActivityUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailActivityUserDetailWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageAppsUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageAppsUserCountsWithPeriod.g.cs index 84cc31abefe..47d68311a53 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageAppsUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageAppsUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailAppUsageAppsUserCountsWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageUserCountsWithPeriod.g.cs index b28beddf164..087f15a6742 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailAppUsageUserCountsWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithDate.g.cs index 469a2d7ba09..82e3a519e7e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailAppUsageUserDetailWithDateCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithPeriod.g.cs index 529c0dd3b94..893b8f737d0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailAppUsageUserDetailWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageVersionsUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageVersionsUserCountsWithPeriod.g.cs index 6c98cfc3428..ce62a11aaa2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageVersionsUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetEmailAppUsageVersionsUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetEmailAppUsageVersionsUserCountsWithPeriodCommand : Gr protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityCountsWithPeriod.g.cs index d1fdba37e48..3b9ed6f8317 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetFormsUserActivityCountsWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityUserCountsWithPeriod.g.cs index b826b98088a..5ddf48e0ae8 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetFormsUserActivityUserCountsWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityUserDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityUserDetailWithDate.g.cs index 78a62950bd6..d623db34fe2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetFormsUserActivityUserDetailWithDateCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityUserDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityUserDetailWithPeriod.g.cs index 03037285551..7b577ae3ef1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetFormsUserActivityUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetFormsUserActivityUserDetailWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime.g.cs index c4b8b2442a5..aeac70fd171 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime.g.cs @@ -55,7 +55,7 @@ public class GetMgReportGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWit protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppPlatformUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppPlatformUserCountsWithPeriod.g.cs index a5d6f5f295a..0f6a7d7f95a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppPlatformUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppPlatformUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetM365AppPlatformUserCountsWithPeriodCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppUserCountsWithPeriod.g.cs index 06d3a68d808..ba19821d008 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetM365AppUserCountsWithPeriodCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppUserDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppUserDetailWithDate.g.cs index 66587e9d706..a57608eab22 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetM365AppUserDetailWithDateCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppUserDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppUserDetailWithPeriod.g.cs index 023f007cc7b..1752bafb0c6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetM365AppUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetM365AppUserDetailWithPeriodCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageDetailWithPeriod.g.cs index 7ade64abbc2..f598c1a2c35 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetMailboxUsageDetailWithPeriodCommand : GraphClientCmdl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageMailboxCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageMailboxCountsWithPeriod.g.cs index 7906b17c837..b21258228e4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageMailboxCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageMailboxCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetMailboxUsageMailboxCountsWithPeriodCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageQuotaStatusMailboxCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageQuotaStatusMailboxCountsWithPeriod.g.cs index cf14843b45a..fd1b33f596b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageQuotaStatusMailboxCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageQuotaStatusMailboxCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetMailboxUsageQuotaStatusMailboxCountsWithPeriodCommand protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageStorageWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageStorageWithPeriod.g.cs index 2d7302f16ba..4022b7fc261 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageStorageWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetMailboxUsageStorageWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetMailboxUsageStorageWithPeriodCommand : GraphClientCmd protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActivationCounts.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActivationCounts.g.cs index 79c1a32489e..ea6f2c333b5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActivationCounts.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActivationCounts.g.cs @@ -35,7 +35,7 @@ public class GetMgReportGetOffice365ActivationCountsCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActivationsUserCounts.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActivationsUserCounts.g.cs index d2477a11114..b93e39558a7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActivationsUserCounts.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActivationsUserCounts.g.cs @@ -35,7 +35,7 @@ public class GetMgReportGetOffice365ActivationsUserCountsCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActivationsUserDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActivationsUserDetail.g.cs index 93a201aa087..ae9927684a4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActivationsUserDetail.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActivationsUserDetail.g.cs @@ -35,7 +35,7 @@ public class GetMgReportGetOffice365ActivationsUserDetailCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActiveUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActiveUserCountsWithPeriod.g.cs index a5acb2881be..015e3d455a1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActiveUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActiveUserCountsWithPeriod.g.cs @@ -59,7 +59,7 @@ public class GetMgReportGetOffice365ActiveUserCountsWithPeriodCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithDate.g.cs index fc2b5db8e51..ed844271256 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithDate.g.cs @@ -59,7 +59,7 @@ public class GetMgReportGetOffice365ActiveUserDetailWithDateCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithPeriod.g.cs index 650aeda9d42..65dd55ff428 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ActiveUserDetailWithPeriod.g.cs @@ -59,7 +59,7 @@ public class GetMgReportGetOffice365ActiveUserDetailWithPeriodCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityCountsWithPeriod.g.cs index 4a186e129d8..deca51c6895 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityCountsWithPeriod.g.cs @@ -59,7 +59,7 @@ public class GetMgReportGetOffice365GroupsActivityCountsWithPeriodCommand : Grap protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithDate.g.cs index c86c0b8d01d..0b3db06d1e6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithDate.g.cs @@ -59,7 +59,7 @@ public class GetMgReportGetOffice365GroupsActivityDetailWithDateCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithPeriod.g.cs index 985a1b15dcb..aa2871f2949 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityDetailWithPeriod.g.cs @@ -59,7 +59,7 @@ public class GetMgReportGetOffice365GroupsActivityDetailWithPeriodCommand : Grap protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityFileCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityFileCountsWithPeriod.g.cs index 71c1478e4c7..b4555049847 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityFileCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityFileCountsWithPeriod.g.cs @@ -59,7 +59,7 @@ public class GetMgReportGetOffice365GroupsActivityFileCountsWithPeriodCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityGroupCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityGroupCountsWithPeriod.g.cs index df2c78aa7b5..233ceb1ebc9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityGroupCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityGroupCountsWithPeriod.g.cs @@ -59,7 +59,7 @@ public class GetMgReportGetOffice365GroupsActivityGroupCountsWithPeriodCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityStorageWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityStorageWithPeriod.g.cs index 53e9592741a..0480f0f2593 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityStorageWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365GroupsActivityStorageWithPeriod.g.cs @@ -59,7 +59,7 @@ public class GetMgReportGetOffice365GroupsActivityStorageWithPeriodCommand : Gra protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ServicesUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ServicesUserCountsWithPeriod.g.cs index ec931bd3b02..7ec25ff8042 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ServicesUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOffice365ServicesUserCountsWithPeriod.g.cs @@ -59,7 +59,7 @@ public class GetMgReportGetOffice365ServicesUserCountsWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityFileCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityFileCountsWithPeriod.g.cs index b49d187c4f2..c08ee895670 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityFileCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityFileCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveActivityFileCountsWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityUserCountsWithPeriod.g.cs index 20da104f6ea..55b79f4e25c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveActivityUserCountsWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithDate.g.cs index 8422a97eb4d..a10bf294c72 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveActivityUserDetailWithDateCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithPeriod.g.cs index a6dd5ed3eb1..0a69920418f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveActivityUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveActivityUserDetailWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageAccountCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageAccountCountsWithPeriod.g.cs index 92f6746ff9d..de03371f721 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageAccountCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageAccountCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveUsageAccountCountsWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithDate.g.cs index a4d37346935..972f48caa50 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveUsageAccountDetailWithDateCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithPeriod.g.cs index 8a33f64d008..3c9a02fcc13 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageAccountDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveUsageAccountDetailWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageFileCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageFileCountsWithPeriod.g.cs index fe33d21a356..39826c75cac 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageFileCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageFileCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveUsageFileCountsWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageStorageWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageStorageWithPeriod.g.cs index 41e295b5b82..a7e2576dcea 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageStorageWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetOneDriveUsageStorageWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetOneDriveUsageStorageWithPeriodCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime.g.cs index dee35b27150..e284c996b8f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime.g.cs @@ -55,7 +55,7 @@ public class GetMgReportGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTim protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetRelyingPartyDetailedSummaryWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetRelyingPartyDetailedSummaryWithPeriod.g.cs index 351178fd8a1..3d1cb140901 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetRelyingPartyDetailedSummaryWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetRelyingPartyDetailedSummaryWithPeriod.g.cs @@ -59,7 +59,7 @@ public class GetMgReportGetRelyingPartyDetailedSummaryWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityFileCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityFileCountsWithPeriod.g.cs index 1a84e8df3c9..d1c1b5525cf 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityFileCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityFileCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointActivityFileCountsWithPeriodCommand : Graph protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityPagesWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityPagesWithPeriod.g.cs index 210276bb356..9ae8e3d110e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityPagesWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityPagesWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointActivityPagesWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityUserCountsWithPeriod.g.cs index b36fd02dcc1..f95cd7ae684 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointActivityUserCountsWithPeriodCommand : Graph protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithDate.g.cs index 354d05ee882..be7ffdc7cd4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointActivityUserDetailWithDateCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithPeriod.g.cs index ebbf22f76da..3e75e79ac84 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointActivityUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointActivityUserDetailWithPeriodCommand : Graph protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithDate.g.cs index 616741ac36c..1c257b5cf01 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointSiteUsageDetailWithDateCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithPeriod.g.cs index 827f4aaace6..6108eb9c1a4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointSiteUsageDetailWithPeriodCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageFileCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageFileCountsWithPeriod.g.cs index 97b43295b32..511fcdbf7c7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageFileCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageFileCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointSiteUsageFileCountsWithPeriodCommand : Grap protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsagePagesWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsagePagesWithPeriod.g.cs index b5275d90bd7..b3c90784513 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsagePagesWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsagePagesWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointSiteUsagePagesWithPeriodCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageSiteCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageSiteCountsWithPeriod.g.cs index afb65e1470c..d3135a4eaf8 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageSiteCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageSiteCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointSiteUsageSiteCountsWithPeriodCommand : Grap protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageStorageWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageStorageWithPeriod.g.cs index 08c2814c0d1..ebadfd233bf 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageStorageWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSharePointSiteUsageStorageWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSharePointSiteUsageStorageWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityCountsWithPeriod.g.cs index 36c3e1af2ce..eb0543bb0d7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessActivityCountsWithPeriodCommand : Gra protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserCountsWithPeriod.g.cs index 3106f6f4101..050d33f6169 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessActivityUserCountsWithPeriodCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithDate.g.cs index 58b25712f84..4313ac22f39 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessActivityUserDetailWithDateCommand : G protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithPeriod.g.cs index 34f6d62c7ea..68be5aa9243 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessActivityUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessActivityUserDetailWithPeriodCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod.g.cs index ccb7c732ab3..8622a793e8c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessDeviceUsageDistributionUserCountsWith protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserCountsWithPeriod.g.cs index 6633db0dac5..d9b084f6c58 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessDeviceUsageUserCountsWithPeriodComman protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithDate.g.cs index 1c422c681ab..3ac3ca6d5b1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithDateCommand protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithPeriod.g.cs index 0d61ca46224..c8689bd0792 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessDeviceUsageUserDetailWithPeriodComman protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityCountsWithPeriod.g.cs index cecc4aec246..a2ad4f5243f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessOrganizerActivityCountsWithPeriodComm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod.g.cs index 1e5a91b14b9..b08c2e24447 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessOrganizerActivityMinuteCountsWithPeri protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityUserCountsWithPeriod.g.cs index 5b10a97ec5a..ba6b7bc801a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessOrganizerActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessOrganizerActivityUserCountsWithPeriod protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityCountsWithPeriod.g.cs index f888ada5d36..5dd2d8e79a2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessParticipantActivityCountsWithPeriodCo protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod.g.cs index ae090ed09e8..ef1b8dcf774 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessParticipantActivityMinuteCountsWithPe protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityUserCountsWithPeriod.g.cs index aae78ca968d..47514e7806e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessParticipantActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessParticipantActivityUserCountsWithPeri protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityCountsWithPeriod.g.cs index 74ad870f28a..f4d99933628 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessPeerToPeerActivityCountsWithPeriodCom protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod.g.cs index 839e63ffdca..fc8e40d5afe 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPer protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod.g.cs index 8d2ecd8ef0f..b784750316a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetSkypeForBusinessPeerToPeerActivityUserCountsWithPerio protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageDistributionTotalUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageDistributionTotalUserCountsWithPeriod.g.cs index 04fc6eeb867..9ce00163d3c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageDistributionTotalUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageDistributionTotalUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsDeviceUsageDistributionTotalUserCountsWithPeriod protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageDistributionUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageDistributionUserCountsWithPeriod.g.cs index 6ffd433cd08..dfd70b36e14 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageDistributionUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageDistributionUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsDeviceUsageDistributionUserCountsWithPeriodComma protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageTotalUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageTotalUserCountsWithPeriod.g.cs index 363fc15b977..3ad4a799bce 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageTotalUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageTotalUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsDeviceUsageTotalUserCountsWithPeriodCommand : Gr protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageUserCountsWithPeriod.g.cs index 1c25d918b60..1d1b1559041 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsDeviceUsageUserCountsWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithDate.g.cs index da2c390b549..47fcd7d7e5a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsDeviceUsageUserDetailWithDateCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithPeriod.g.cs index 4595e3c8b5c..ab364222cee 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsDeviceUsageUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsDeviceUsageUserDetailWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityCountsWithPeriod.g.cs index 5139046a4b4..3f6cb8545af 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsTeamActivityCountsWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithDate.g.cs index a0b0c2cab41..8242c8000ce 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsTeamActivityDetailWithDateCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithPeriod.g.cs index f75eb82dca6..f3258bb1208 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsTeamActivityDetailWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityDistributionCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityDistributionCountsWithPeriod.g.cs index 4f6522ba43c..9fae8ca6da3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityDistributionCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamActivityDistributionCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsTeamActivityDistributionCountsWithPeriodCommand protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamCountsWithPeriod.g.cs index 24274682dd1..4e67590d43b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsTeamCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsTeamCountsWithPeriodCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityCountsWithPeriod.g.cs index abcc68f86e3..3b3a1036e26 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsUserActivityCountsWithPeriodCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityDistributionTotalUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityDistributionTotalUserCountsWithPeriod.g.cs index ec630e3f8fe..b26994a4592 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityDistributionTotalUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityDistributionTotalUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsUserActivityDistributionTotalUserCountsWithPerio protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityDistributionUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityDistributionUserCountsWithPeriod.g.cs index f61ae05a2bd..2eb7bacc0cd 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityDistributionUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityDistributionUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsUserActivityDistributionUserCountsWithPeriodComm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityTotalCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityTotalCountsWithPeriod.g.cs index 49f0ae4949b..3b96e5370e6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityTotalCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityTotalCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsUserActivityTotalCountsWithPeriodCommand : Graph protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityTotalDistributionCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityTotalDistributionCountsWithPeriod.g.cs index 3914cea4cbb..9bc560a3547 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityTotalDistributionCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityTotalDistributionCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsUserActivityTotalDistributionCountsWithPeriodCom protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityTotalUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityTotalUserCountsWithPeriod.g.cs index 8c095dfce71..0050f170dcf 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityTotalUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityTotalUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsUserActivityTotalUserCountsWithPeriodCommand : G protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityUserCountsWithPeriod.g.cs index d5be8e29309..f382821f188 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsUserActivityUserCountsWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithDate.g.cs index 9862e2b43d7..a950caefeb1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsUserActivityUserDetailWithDateCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithPeriod.g.cs index b5a8e0c508b..a9da3d29450 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetTeamsUserActivityUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetTeamsUserActivityUserDetailWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime.g.cs index 8e23fcc3358..d1358b70449 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime.g.cs @@ -55,7 +55,7 @@ public class GetMgReportGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithE protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityCountsWithPeriod.g.cs index 258e54c0f19..c607e78014e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerActivityCountsWithPeriodCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityUserCountsWithPeriod.g.cs index 332892f365d..1de795b7af9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerActivityUserCountsWithPeriodCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityUserDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityUserDetailWithDate.g.cs index e6c7f79df52..7b6740d4076 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerActivityUserDetailWithDateCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityUserDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityUserDetailWithPeriod.g.cs index b3c665f517f..5d035a60ad3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerActivityUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerActivityUserDetailWithPeriodCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageDistributionUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageDistributionUserCountsWithPeriod.g.cs index 780bbaf3b59..783aaa4a367 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageDistributionUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageDistributionUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerDeviceUsageDistributionUserCountsWithPeriodComm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageUserCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageUserCountsWithPeriod.g.cs index 6c178f60f9b..b1ad48ec4a3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageUserCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageUserCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerDeviceUsageUserCountsWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithDate.g.cs index 26fd8f15af1..e0c427d9313 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerDeviceUsageUserDetailWithDateCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithPeriod.g.cs index bc84f7003f4..ec8385c9971 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerDeviceUsageUserDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerDeviceUsageUserDetailWithPeriodCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityCountsWithPeriod.g.cs index 587326f9208..083896e398c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerGroupsActivityCountsWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithDate.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithDate.g.cs index 22ce34f7ab0..4c411110805 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithDate.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithDate.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerGroupsActivityDetailWithDateCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithPeriod.g.cs index 14aeb09c9fa..61391705879 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityDetailWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerGroupsActivityDetailWithPeriodCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityGroupCountsWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityGroupCountsWithPeriod.g.cs index 22fafc9f609..2ee73a56f88 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityGroupCountsWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportGetYammerGroupsActivityGroupCountsWithPeriod.g.cs @@ -38,7 +38,7 @@ public class GetMgReportGetYammerGroupsActivityGroupCountsWithPeriodCommand : Gr protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoring.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoring.g.cs index eded3e7ddae..964d2882054 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoring.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoring.g.cs @@ -33,7 +33,7 @@ public class GetMgReportHealthMonitoringCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.HealthMonitoring.HealthMonitoringRoot? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfigurationCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfigurationCount.g.cs index b39ceefbbdb..907abfaf892 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfigurationCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfigurationCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportHealthMonitoringAlertConfigurationCountCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_Get.g.cs index 0dbafac7c37..b024860a154 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportHealthMonitoringAlertConfiguration_GetCommand : GraphCli protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.HealthMonitoring.AlertConfiguration? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_List.g.cs index 6b079bd4a0b..46fb102d1d9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportHealthMonitoringAlertConfiguration_ListCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.HealthMonitoring.AlertConfigurationCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertCount.g.cs index c8d0039d115..6594b70e82e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportHealthMonitoringAlertCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_Get.g.cs index b23a921678d..123c6eb7743 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportHealthMonitoringAlert_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.HealthMonitoring.Alert? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_List.g.cs index 242ec7b75ab..92ab55b5363 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportHealthMonitoringAlert_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.HealthMonitoring.AlertCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalytic.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalytic.g.cs index 0582cb5d4b4..6039179f0bd 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalytic.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalytic.g.cs @@ -33,7 +33,7 @@ public class GetMgReportIdentityAnalyticCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityAnalyticsRoot? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroupCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroupCount.g.cs index cbd7bb26b10..ed85524ebef 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroupCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroupCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportIdentityAnalyticGroupCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_Get.g.cs index c9929d1e7ac..9d456bccf02 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportIdentityAnalyticGroup_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.GroupAnalytics? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_List.g.cs index 4d00e0efe54..33e0e3fa825 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportIdentityAnalyticGroup_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.GroupAnalyticsCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentDetail.g.cs index 0b2c6ef5045..23e7f6f658d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentDetail.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentDetail.g.cs @@ -46,7 +46,7 @@ public class GetMgReportManagedDeviceEnrollmentAbandonmentDetailCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentSummary.g.cs index a1a46b42593..82866f07b68 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentAbandonmentSummary.g.cs @@ -46,7 +46,7 @@ public class GetMgReportManagedDeviceEnrollmentAbandonmentSummaryCommand : Graph protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetail.g.cs index ce80ca1d6f0..611355fc325 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetail.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetail.g.cs @@ -31,7 +31,7 @@ public class GetMgReportManagedDeviceEnrollmentFailureDetailCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs index 8e43e219669..3e91e73310b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithFilterWithSkipToken.g.cs @@ -46,7 +46,7 @@ public class GetMgReportManagedDeviceEnrollmentFailureDetailWithSkipWithTopWithF protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureTrend.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureTrend.g.cs index 5e4b116463d..b279fe3c135 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureTrend.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentFailureTrend.g.cs @@ -31,7 +31,7 @@ public class GetMgReportManagedDeviceEnrollmentFailureTrendCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailure.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailure.g.cs index 5e17443b990..5ef01125aca 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailure.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailure.g.cs @@ -31,7 +31,7 @@ public class GetMgReportManagedDeviceEnrollmentTopFailureCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs index 83c13650a49..a174531002f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportManagedDeviceEnrollmentTopFailureWithPeriod.g.cs @@ -34,7 +34,7 @@ public class GetMgReportManagedDeviceEnrollmentTopFailureWithPeriodCommand : Gra protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); var pathParameters = new Dictionary diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs index 5eb78f17f1e..c2a4afdacee 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs @@ -33,7 +33,7 @@ public class GetMgReportMicrosoftAppFileStorageContainerUsageSummaryCommand : Gr protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MicrosoftAppsFileStorageContainerUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationCount.g.cs index 1a6601df8f8..219760e99a3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataL protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByAppCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByAppCount.g.cs index cf857e09e2e..e2f47e12ead 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByAppCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByAppCount.g.cs @@ -32,7 +32,7 @@ public class GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataL protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_Get.g.cs index b02752368cf..cbfe32bf6f1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_Get.g.cs @@ -36,7 +36,7 @@ public class GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataL protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MicrosoftAppsFileStorageContainerAppUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_List.g.cs index 16049b0dd85..1428bc36850 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_List.g.cs @@ -60,7 +60,7 @@ public class GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataL protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MicrosoftAppsFileStorageContainerAppUsageCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_Get.g.cs index a8df2a0b71f..41281fd6429 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataL protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MicrosoftAppsFileStorageContainerGeoUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_List.g.cs index a33ed7caeec..c1eb022de80 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataL protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MicrosoftAppsFileStorageContainerGeoUsageCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinterCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinterCount.g.cs index bf0b00b8c42..606c1bf62be 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinterCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinterCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportMonthlyPrintUsageByPrinterCountCommand : GraphClientCmdl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs index f6f53492bef..c6500423da0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportMonthlyPrintUsageByPrinter_GetCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinter? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs index b1a9e9d5d17..bb1acc3953e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportMonthlyPrintUsageByPrinter_ListCommand : GraphClientCmdl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByPrinterCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUserCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUserCount.g.cs index aed615410ec..d8d9ef51bf4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUserCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUserCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportMonthlyPrintUsageByUserCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs index dc42ab3fcd0..8ce0a10c6d2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportMonthlyPrintUsageByUser_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUser? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs index 79e06394f71..95f6178cfa8 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportMonthlyPrintUsageByUser_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.PrintUsageByUserCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartner.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartner.g.cs index 6e359ccb99a..4ce391393ef 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartner.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartner.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Partners? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBilling.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBilling.g.cs index 7945c4d80b4..d317a390b3b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBilling.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBilling.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Billing? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsage.g.cs index f1f03774d14..2e56208dbc7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsage.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsage.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingAggregatedUsageCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsageBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsageBilled.g.cs index 4a31d032083..0d1112cddc3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsageBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsageBilled.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingAggregatedUsageBilledCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifestCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifestCount.g.cs index 45d12a0a962..b96e0a6201a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifestCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifestCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportPartnerBillingManifestCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs index dc1616fe52a..c70ac3b40af 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportPartnerBillingManifest_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Manifest? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs index 8d800ce3780..4d881b680eb 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportPartnerBillingManifest_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.ManifestCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperationCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperationCount.g.cs index 1ce72ed40ce..e5f4ffcec2a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperationCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperationCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportPartnerBillingOperationCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs index ced7596025e..9b8e95ab342 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportPartnerBillingOperation_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs index fc5154cb1ca..b147a1fbb0a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportPartnerBillingOperation_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.OperationCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs index 51a2ef172e5..1ed1e3f2bcd 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingReconciliationCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BillingReconciliation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs index 3f25b48171f..ac98232c7e6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingReconciliationBilledCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledReconciliation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs index 466f83ec6c3..7d570101c24 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingReconciliationUnbilledCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.UnbilledReconciliation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsage.g.cs index f9e0e9673cd..a97e3e6bc3f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsage.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsage.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingUsageCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs index f5a32603a7f..87df3b368f8 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingUsageBilledCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs index 150f00d3283..6e6ba37088c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs @@ -33,7 +33,7 @@ public class GetMgReportPartnerBillingUsageUnbilledCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.UnbilledUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurity.g.cs index 53d1b496df0..bf3519d24aa 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurity.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurity.g.cs @@ -33,7 +33,7 @@ public class GetMgReportSecurityCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.SecurityReportsRoot? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurityGetAttackSimulationRepeatOffenders.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurityGetAttackSimulationRepeatOffenders.g.cs index 17210f78d21..b630d3fd87e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurityGetAttackSimulationRepeatOffenders.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurityGetAttackSimulationRepeatOffenders.g.cs @@ -44,7 +44,7 @@ public class GetMgReportSecurityGetAttackSimulationRepeatOffendersCommand : Grap protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurityGetAttackSimulationSimulationUserCoverage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurityGetAttackSimulationSimulationUserCoverage.g.cs index 3dba2559316..9d640c2fb4f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurityGetAttackSimulationSimulationUserCoverage.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurityGetAttackSimulationSimulationUserCoverage.g.cs @@ -44,7 +44,7 @@ public class GetMgReportSecurityGetAttackSimulationSimulationUserCoverageCommand protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurityGetAttackSimulationTrainingUserCoverage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurityGetAttackSimulationTrainingUserCoverage.g.cs index c39b440b737..3af63b90758 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurityGetAttackSimulationTrainingUserCoverage.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurityGetAttackSimulationTrainingUserCoverage.g.cs @@ -44,7 +44,7 @@ public class GetMgReportSecurityGetAttackSimulationTrainingUserCoverageCommand : protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServiceActivity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServiceActivity.g.cs index 8b6b205344d..5f05bf4aa82 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServiceActivity.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServiceActivity.g.cs @@ -33,7 +33,7 @@ public class GetMgReportServiceActivityCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ServiceActivity? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivityCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivityCount.g.cs index b93bec4ccd2..02a0daa5dcf 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivityCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivityCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportServicePrincipalSignInActivityCountCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_Get.g.cs index 27cd4fc96c6..ddbb1745652 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportServicePrincipalSignInActivity_GetCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ServicePrincipalSignInActivity? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_List.g.cs index 185fc4100c0..d6a23eef6f9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportServicePrincipalSignInActivity_ListCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ServicePrincipalSignInActivityCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSla.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSla.g.cs index 3b5cdd8254d..6740bfd467b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSla.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSla.g.cs @@ -33,7 +33,7 @@ public class GetMgReportSlaCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ServiceLevelAgreementRoot? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSlaAzureADAuthentication.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSlaAzureADAuthentication.g.cs index 21051e78f43..58ac1ac86c0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSlaAzureADAuthentication.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSlaAzureADAuthentication.g.cs @@ -33,7 +33,7 @@ public class GetMgReportSlaAzureADAuthenticationCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AzureADAuthentication? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsight.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsight.g.cs index 8bca21136f0..e171af33f69 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsight.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsight.g.cs @@ -33,7 +33,7 @@ public class GetMgReportUserInsightCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserInsightsRoot? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDaily.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDaily.g.cs index 9e9119b84f7..db299cf45c3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDaily.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDaily.g.cs @@ -33,7 +33,7 @@ public class GetMgReportUserInsightDailyCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DailyUserInsightMetricsRoot? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUserCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUserCount.g.cs index 4541b7647b6..46f18208e19 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUserCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUserCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightDailyActiveUserCountCommand : GraphClientCmdl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_Get.g.cs index 36b2f2f707f..d9cad5ec3c9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightDailyActiveUser_GetCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ActiveUsersMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_List.g.cs index 4189d685253..e547511c3b5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightDailyActiveUser_ListCommand : GraphClientCmdl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ActiveUsersMetricCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthenticationCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthenticationCount.g.cs index 313b8195f23..485d55bed41 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthenticationCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthenticationCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightDailyAuthenticationCountCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_Get.g.cs index 96d50137e7f..0ead18ef619 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightDailyAuthentication_GetCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationsMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_List.g.cs index 799d9ecde25..84623fab7c1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightDailyAuthentication_ListCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationsMetricCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserCount.g.cs index 491c3b1e189..611ac99bf80 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUserCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightDailyInactiveUserCountCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_Get.g.cs index 15a68d846d5..44dc58b6ed1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightDailyInactiveUser_GetCommand : GraphClientCmd protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DailyInactiveUsersMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_List.g.cs index a61a9011d5d..3b463e09c12 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightDailyInactiveUser_ListCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DailyInactiveUsersMetricCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletionCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletionCount.g.cs index 557dd48ccdb..2df539851d4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletionCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletionCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightDailyMfaCompletionCountCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_Get.g.cs index ecf58445fe4..55bd382d21d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightDailyMfaCompletion_GetCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MfaCompletionMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_List.g.cs index dfed5569f5d..2c4c8f8dcc7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightDailyMfaCompletion_ListCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MfaCompletionMetricCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraudCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraudCount.g.cs index 8d593b97b30..9d36c5739da 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraudCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraudCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightDailyMfaTelecomFraudCountCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_Get.g.cs index a9d08e581bc..f8f1418e2cf 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightDailyMfaTelecomFraud_GetCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MfaTelecomFraudMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_List.g.cs index 4cfe7db1f6c..b6eb932fb5a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightDailyMfaTelecomFraud_ListCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MfaTelecomFraudMetricCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUpCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUpCount.g.cs index 424bace8651..a21089f70b0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUpCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUpCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightDailySignUpCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_Get.g.cs index 99a05a8db31..b5b49c6c9da 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightDailySignUp_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserSignUpMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_List.g.cs index 3abae302dbb..3eb4fdefbc0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightDailySignUp_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserSignUpMetricCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummaryCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummaryCount.g.cs index 90e1b5ceb7d..76bdea4e6ab 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummaryCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummaryCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightDailySummaryCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_Get.g.cs index 828b08f187e..419709dffd4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightDailySummary_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.InsightSummary? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_List.g.cs index 519250d5324..33e1865ac55 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightDailySummary_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.InsightSummaryCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCountCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCountCount.g.cs index dd49c005602..790df50ad81 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCountCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCountCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightDailyUserCountCountCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_Get.g.cs index 00357e468a3..2ea4e5f7fdc 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightDailyUserCount_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserCountMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_List.g.cs index 4eda889cead..fed99a00dc6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightDailyUserCount_ListCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserCountMetricCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthly.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthly.g.cs index ea5a031913e..c995b9988b9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthly.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthly.g.cs @@ -33,7 +33,7 @@ public class GetMgReportUserInsightMonthlyCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyUserInsightMetricsRoot? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUserCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUserCount.g.cs index 5afa2e569f9..6a1908a0532 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUserCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUserCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightMonthlyActiveUserCountCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_Get.g.cs index c248fb25859..84e011eefc1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightMonthlyActiveUser_GetCommand : GraphClientCmd protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ActiveUsersMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_List.g.cs index 98062b4bb64..0e45b61292e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightMonthlyActiveUser_ListCommand : GraphClientCm protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ActiveUsersMetricCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthenticationCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthenticationCount.g.cs index b1a768094d5..6c9a866ed45 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthenticationCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthenticationCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightMonthlyAuthenticationCountCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_Get.g.cs index 5d2a1c54afc..ac64c7b6e72 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightMonthlyAuthentication_GetCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationsMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_List.g.cs index ff33be9ace4..d5b95bf06c1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightMonthlyAuthentication_ListCommand : GraphClie protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AuthenticationsMetricCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserCount.g.cs index ef24e9aa2d3..fefbdbba1d3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUserCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightMonthlyInactiveUserCountCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_Get.g.cs index b4fe244ccdb..da6d79349c2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightMonthlyInactiveUser_GetCommand : GraphClientC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyInactiveUsersMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_List.g.cs index f8b5aba69a7..3687e61ef6c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightMonthlyInactiveUser_ListCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyInactiveUsersMetricCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletionCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletionCount.g.cs index ada7a559eb0..ac699448939 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletionCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletionCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightMonthlyMfaCompletionCountCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_Get.g.cs index eb522b51ce9..9820ee54c1d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightMonthlyMfaCompletion_GetCommand : GraphClient protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MfaCompletionMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_List.g.cs index c923230f0c1..9f0891b32b5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightMonthlyMfaCompletion_ListCommand : GraphClien protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MfaCompletionMetricCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUserCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUserCount.g.cs index 9d205a607a0..7d644c2339a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUserCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUserCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightMonthlyMfaRegisteredUserCountCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_Get.g.cs index 2f49171d1e8..488c4e47a93 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightMonthlyMfaRegisteredUser_GetCommand : GraphCl protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MfaUserCountMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_List.g.cs index 262a656fd61..2464cd2b834 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightMonthlyMfaRegisteredUser_ListCommand : GraphC protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MfaUserCountMetricCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequestCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequestCount.g.cs index c37ce90cef0..77f4bde3312 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequestCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequestCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightMonthlyRequestCountCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_Get.g.cs index f24afe76051..9375bf42320 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightMonthlyRequest_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserRequestsMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_List.g.cs index a24b309e5a6..26a8e9e973f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightMonthlyRequest_ListCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserRequestsMetricCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUpCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUpCount.g.cs index 2cb5a99db62..04442f38f52 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUpCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUpCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightMonthlySignUpCountCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_Get.g.cs index 6e59ec88fb4..315d5f73be5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightMonthlySignUp_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserSignUpMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_List.g.cs index 39e77884680..049ce202e7a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightMonthlySignUp_ListCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserSignUpMetricCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummaryCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummaryCount.g.cs index dabff53c343..30673b92ef3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummaryCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummaryCount.g.cs @@ -31,7 +31,7 @@ public class GetMgReportUserInsightMonthlySummaryCountCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); int? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_Get.g.cs index 9aa4ec15f3f..147bbadce40 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_Get.g.cs @@ -34,7 +34,7 @@ public class GetMgReportUserInsightMonthlySummary_GetCommand : GraphClientCmdlet protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.InsightSummary? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_List.g.cs index 3660a1871cf..93a16dafc7b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_List.g.cs @@ -59,7 +59,7 @@ public class GetMgReportUserInsightMonthlySummary_ListCommand : GraphClientCmdle protected override void ProcessRecord() { - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.InsightSummaryCollectionResponse? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAdminReportSettingSharePointDisableApiUsageReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAdminReportSettingSharePointDisableApiUsageReport.g.cs index bdcdb461ffb..32f74a68d31 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAdminReportSettingSharePointDisableApiUsageReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAdminReportSettingSharePointDisableApiUsageReport.g.cs @@ -40,7 +40,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Metric))) body.Metric = Metric; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ApiUsageReportEnablementStatus? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAdminReportSettingSharePointEnableApiUsageReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAdminReportSettingSharePointEnableApiUsageReport.g.cs index fe0e1ea5001..d242b3bca4d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAdminReportSettingSharePointEnableApiUsageReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAdminReportSettingSharePointEnableApiUsageReport.g.cs @@ -40,7 +40,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Metric))) body.Metric = Metric; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ApiUsageReportEnablementStatus? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAuditLogSignInConfirmCompromised.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAuditLogSignInConfirmCompromised.g.cs index f96948f8287..f478392a1d5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAuditLogSignInConfirmCompromised.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAuditLogSignInConfirmCompromised.g.cs @@ -40,7 +40,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(RequestIds))) body.RequestIds = RequestIds!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAuditLogSignInConfirmSafe.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAuditLogSignInConfirmSafe.g.cs index 493d1cbf677..ba96c5855f9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAuditLogSignInConfirmSafe.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAuditLogSignInConfirmSafe.g.cs @@ -40,7 +40,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(RequestIds))) body.RequestIds = RequestIds!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAuditLogSignInDismiss.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAuditLogSignInDismiss.g.cs index 409c6618464..20f716d50c0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAuditLogSignInDismiss.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgAuditLogSignInDismiss.g.cs @@ -40,7 +40,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(RequestIds))) body.RequestIds = RequestIds!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetActiveMalwareReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetActiveMalwareReport.g.cs index 1d45a2a3cf6..adf9dda3298 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetActiveMalwareReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetActiveMalwareReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetActiveMalwareSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetActiveMalwareSummaryReport.g.cs index 48598a06e9d..6d3eca61b78 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetActiveMalwareSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetActiveMalwareSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetAllCertificatesReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetAllCertificatesReport.g.cs index 1e77fa7f431..65bf5a78eea 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetAllCertificatesReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetAllCertificatesReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetAppStatusOverviewReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetAppStatusOverviewReport.g.cs index 4530434599f..7736f03ab79 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetAppStatusOverviewReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetAppStatusOverviewReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetAppsInstallSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetAppsInstallSummaryReport.g.cs index 0283adba592..ad039f24be6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetAppsInstallSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetAppsInstallSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCachedReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCachedReport.g.cs index db92764776c..c0003692b49 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCachedReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCachedReport.g.cs @@ -74,7 +74,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Top))) body.Top = Top; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCertificatesReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCertificatesReport.g.cs index ee825d1b034..834c9bc4617 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCertificatesReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCertificatesReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePoliciesReportForDevice.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePoliciesReportForDevice.g.cs index 7258d0a69f6..8705c14f628 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePoliciesReportForDevice.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePoliciesReportForDevice.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyDeviceSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyDeviceSummaryReport.g.cs index b9c4c69a004..4367767c14a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyDeviceSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyDeviceSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyDevicesReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyDevicesReport.g.cs index 8577e502781..cbd5ac698f3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyDevicesReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyDevicesReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyNonComplianceReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyNonComplianceReport.g.cs index 919347baca9..ba5097560a2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyNonComplianceReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyNonComplianceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyNonComplianceSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyNonComplianceSummaryReport.g.cs index 65a88581685..037e837a95f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyNonComplianceSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetCompliancePolicyNonComplianceSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetComplianceSettingDetailsReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetComplianceSettingDetailsReport.g.cs index ed881249006..7061cb8cd93 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetComplianceSettingDetailsReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetComplianceSettingDetailsReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetComplianceSettingNonComplianceReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetComplianceSettingNonComplianceReport.g.cs index 72aa30263e0..9deebe8b570 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetComplianceSettingNonComplianceReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetComplianceSettingNonComplianceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetComplianceSettingsReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetComplianceSettingsReport.g.cs index 60ea2151d1c..7d130d5d905 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetComplianceSettingsReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetComplianceSettingsReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigManagerDevicePolicyStatusReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigManagerDevicePolicyStatusReport.g.cs index bbfd8f01f19..0f643f6736a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigManagerDevicePolicyStatusReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigManagerDevicePolicyStatusReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPoliciesReportForDevice.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPoliciesReportForDevice.g.cs index 4b91047c681..b7964a3668b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPoliciesReportForDevice.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPoliciesReportForDevice.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyDeviceSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyDeviceSummaryReport.g.cs index 56e7a4ad83e..626b502987f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyDeviceSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyDeviceSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyDevicesReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyDevicesReport.g.cs index ab3eec76e16..15e8864eb39 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyDevicesReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyDevicesReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyNonComplianceReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyNonComplianceReport.g.cs index 181f290738c..24b39680921 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyNonComplianceReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyNonComplianceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyNonComplianceSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyNonComplianceSummaryReport.g.cs index 2ebc571e149..d8c71714c8c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyNonComplianceSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicyNonComplianceSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicySettingsDeviceSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicySettingsDeviceSummaryReport.g.cs index b45d8d0b04e..7d3129a3a12 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicySettingsDeviceSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationPolicySettingsDeviceSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationSettingDetailsReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationSettingDetailsReport.g.cs index 425b5f2855d..36e41d8cb55 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationSettingDetailsReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationSettingDetailsReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationSettingNonComplianceReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationSettingNonComplianceReport.g.cs index 726e3c63c4f..1cb18f69cce 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationSettingNonComplianceReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationSettingNonComplianceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationSettingsReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationSettingsReport.g.cs index 73aea5b843e..f9a86bf34f7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationSettingsReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetConfigurationSettingsReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceConfigurationPolicySettingsSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceConfigurationPolicySettingsSummaryReport.g.cs index dab794ad7f8..7744f6dba8e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceConfigurationPolicySettingsSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceConfigurationPolicySettingsSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceConfigurationPolicyStatusSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceConfigurationPolicyStatusSummary.g.cs index 7f05ea1d3ae..475e436db9c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceConfigurationPolicyStatusSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceConfigurationPolicyStatusSummary.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceManagementIntentPerSettingContributingProfiles.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceManagementIntentPerSettingContributingProfiles.g.cs index dbbdc7dff29..10270a41f13 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceManagementIntentPerSettingContributingProfiles.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceManagementIntentPerSettingContributingProfiles.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceManagementIntentSettingsReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceManagementIntentSettingsReport.g.cs index 16471e1932f..adcf176b412 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceManagementIntentSettingsReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceManagementIntentSettingsReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceNonComplianceReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceNonComplianceReport.g.cs index 6d8ce86d418..86c3a7e30cd 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceNonComplianceReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceNonComplianceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicePoliciesComplianceReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicePoliciesComplianceReport.g.cs index 98cbd7d223e..dcafaaa8aff 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicePoliciesComplianceReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicePoliciesComplianceReport.g.cs @@ -86,7 +86,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicePolicySettingsComplianceReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicePolicySettingsComplianceReport.g.cs index 77fc7abdab6..ab574b6a1c1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicePolicySettingsComplianceReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicePolicySettingsComplianceReport.g.cs @@ -86,7 +86,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusByCompliacePolicyReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusByCompliacePolicyReport.g.cs index aa4c9193019..0d7a85b7be5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusByCompliacePolicyReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusByCompliacePolicyReport.g.cs @@ -86,7 +86,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusByCompliancePolicySettingReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusByCompliancePolicySettingReport.g.cs index 9e7bcf4f037..4787eb5851e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusByCompliancePolicySettingReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusByCompliancePolicySettingReport.g.cs @@ -86,7 +86,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusSummaryByCompliacePolicyReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusSummaryByCompliacePolicyReport.g.cs index b2f13c0bc5d..2126b4e5707 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusSummaryByCompliacePolicyReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusSummaryByCompliacePolicyReport.g.cs @@ -86,7 +86,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusSummaryByCompliancePolicySettingsReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusSummaryByCompliancePolicySettingsReport.g.cs index a386a7a90fd..bcb66de41a9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusSummaryByCompliancePolicySettingsReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDeviceStatusSummaryByCompliancePolicySettingsReport.g.cs @@ -86,7 +86,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicesStatusByPolicyPlatformComplianceReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicesStatusByPolicyPlatformComplianceReport.g.cs index 11be6e5a7a1..2df7bbb75b0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicesStatusByPolicyPlatformComplianceReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicesStatusByPolicyPlatformComplianceReport.g.cs @@ -86,7 +86,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicesStatusBySettingReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicesStatusBySettingReport.g.cs index 863efe3b0c7..5e8523cfff5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicesStatusBySettingReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicesStatusBySettingReport.g.cs @@ -86,7 +86,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicesWithoutCompliancePolicyReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicesWithoutCompliancePolicyReport.g.cs index ddb8c2d0e01..bec864751fb 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicesWithoutCompliancePolicyReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetDevicesWithoutCompliancePolicyReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetEncryptionReportForDevices.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetEncryptionReportForDevices.g.cs index e257856dad9..a4884fa951d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetEncryptionReportForDevices.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetEncryptionReportForDevices.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetEnrollmentConfigurationPoliciesByDevice.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetEnrollmentConfigurationPoliciesByDevice.g.cs index 9bdd1671353..8df34402361 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetEnrollmentConfigurationPoliciesByDevice.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetEnrollmentConfigurationPoliciesByDevice.g.cs @@ -86,7 +86,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetFailedMobileAppsReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetFailedMobileAppsReport.g.cs index c3ed0f4dcc8..febafd2ff3f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetFailedMobileAppsReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetFailedMobileAppsReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetFailedMobileAppsSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetFailedMobileAppsSummaryReport.g.cs index 2c46b0d02cf..b94d86b3a8b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetFailedMobileAppsSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetFailedMobileAppsSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetGroupPolicySettingsDeviceSettingsReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetGroupPolicySettingsDeviceSettingsReport.g.cs index 67377df628b..f641b1ed8b0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetGroupPolicySettingsDeviceSettingsReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetGroupPolicySettingsDeviceSettingsReport.g.cs @@ -98,7 +98,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Skiptoken))) body.Skiptoken = Skiptoken; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetHistoricalReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetHistoricalReport.g.cs index 41fb6c9a2f4..ec5b5610970 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetHistoricalReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetHistoricalReport.g.cs @@ -86,7 +86,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetMalwareSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetMalwareSummaryReport.g.cs index 58c4cb0bccf..f87e0730a96 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetMalwareSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetMalwareSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetMobileApplicationManagementAppConfigurationReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetMobileApplicationManagementAppConfigurationReport.g.cs index c52e303842e..315e0747d84 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetMobileApplicationManagementAppConfigurationReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetMobileApplicationManagementAppConfigurationReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetMobileApplicationManagementAppRegistrationSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetMobileApplicationManagementAppRegistrationSummaryReport.g.cs index 29047cdeed6..01da3d7c340 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetMobileApplicationManagementAppRegistrationSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetMobileApplicationManagementAppRegistrationSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetNoncompliantDevicesAndSettingsReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetNoncompliantDevicesAndSettingsReport.g.cs index 389658961a9..b406a339513 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetNoncompliantDevicesAndSettingsReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetNoncompliantDevicesAndSettingsReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetPolicyNonComplianceMetadata.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetPolicyNonComplianceMetadata.g.cs index bc6cffe6fc9..ca116c66aef 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetPolicyNonComplianceMetadata.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetPolicyNonComplianceMetadata.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetPolicyNonComplianceReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetPolicyNonComplianceReport.g.cs index 8ecb712bd9c..1e1320f3292 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetPolicyNonComplianceReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetPolicyNonComplianceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetPolicyNonComplianceSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetPolicyNonComplianceSummaryReport.g.cs index 936b06e7059..8a19a61ddd5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetPolicyNonComplianceSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetPolicyNonComplianceSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetQuietTimePolicyUserSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetQuietTimePolicyUserSummaryReport.g.cs index f1102e43a83..f1f4e07c354 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetQuietTimePolicyUserSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetQuietTimePolicyUserSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetQuietTimePolicyUsersReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetQuietTimePolicyUsersReport.g.cs index 397374bd1fe..1d3b6539525 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetQuietTimePolicyUsersReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetQuietTimePolicyUsersReport.g.cs @@ -98,7 +98,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(SkipToken))) body.SkipToken = SkipToken; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetRelatedAppsStatusReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetRelatedAppsStatusReport.g.cs index 86c25bcafd3..c5a4a4060a3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetRelatedAppsStatusReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetRelatedAppsStatusReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetRemoteAssistanceSessionsReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetRemoteAssistanceSessionsReport.g.cs index 2fbad15e596..f41f7b2010c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetRemoteAssistanceSessionsReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetRemoteAssistanceSessionsReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetReportFilters.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetReportFilters.g.cs index cec60645a64..0c089f95d37 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetReportFilters.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetReportFilters.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetSettingNonComplianceReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetSettingNonComplianceReport.g.cs index f57203db825..6715e193e51 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetSettingNonComplianceReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetSettingNonComplianceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUnhealthyDefenderAgentsReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUnhealthyDefenderAgentsReport.g.cs index a2e674dfc30..0acf48e19b4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUnhealthyDefenderAgentsReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUnhealthyDefenderAgentsReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUnhealthyFirewallReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUnhealthyFirewallReport.g.cs index b6c1bd0d83a..66c2de1ac82 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUnhealthyFirewallReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUnhealthyFirewallReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUnhealthyFirewallSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUnhealthyFirewallSummaryReport.g.cs index bd87f47e159..f9a0deaa139 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUnhealthyFirewallSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUnhealthyFirewallSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUserInstallStatusReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUserInstallStatusReport.g.cs index 8fd56e6c1eb..e28ef24471e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUserInstallStatusReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetUserInstallStatusReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsDriverUpdateAlertSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsDriverUpdateAlertSummaryReport.g.cs index 66e8b730a60..867ae0d03b5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsDriverUpdateAlertSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsDriverUpdateAlertSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsDriverUpdateAlertsPerPolicyPerDeviceReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsDriverUpdateAlertsPerPolicyPerDeviceReport.g.cs index a04a2eccdfb..bdb78864983 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsDriverUpdateAlertsPerPolicyPerDeviceReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsDriverUpdateAlertsPerPolicyPerDeviceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsQualityUpdateAlertSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsQualityUpdateAlertSummaryReport.g.cs index 36f73affdf9..34e1f9381bc 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsQualityUpdateAlertSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsQualityUpdateAlertSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsQualityUpdateAlertsPerPolicyPerDeviceReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsQualityUpdateAlertsPerPolicyPerDeviceReport.g.cs index 041fe1a8477..973430161f8 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsQualityUpdateAlertsPerPolicyPerDeviceReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsQualityUpdateAlertsPerPolicyPerDeviceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsUpdateAlertSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsUpdateAlertSummaryReport.g.cs index 3454a683519..84582cab8b1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsUpdateAlertSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsUpdateAlertSummaryReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsUpdateAlertsPerPolicyPerDeviceReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsUpdateAlertsPerPolicyPerDeviceReport.g.cs index 8069e86e2e3..bfba29442bb 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsUpdateAlertsPerPolicyPerDeviceReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportGetWindowsUpdateAlertsPerPolicyPerDeviceReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveAndroidWorkProfileDeviceMigrationStatuses.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveAndroidWorkProfileDeviceMigrationStatuses.g.cs index 6c136f02144..6ba5baa9ac7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveAndroidWorkProfileDeviceMigrationStatuses.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveAndroidWorkProfileDeviceMigrationStatuses.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveAppleDeviceOSUpdateStatus.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveAppleDeviceOSUpdateStatus.g.cs index ae6f7b2d822..136dd713a8a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveAppleDeviceOSUpdateStatus.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveAppleDeviceOSUpdateStatus.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveAppleOSUpdateFailures.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveAppleOSUpdateFailures.g.cs index e3c25d31c8c..8e275403fb4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveAppleOSUpdateFailures.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveAppleOSUpdateFailures.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveCloudPkiLeafCertificateReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveCloudPkiLeafCertificateReport.g.cs index 1e5cc49bed2..0cababd27be 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveCloudPkiLeafCertificateReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveCloudPkiLeafCertificateReport.g.cs @@ -80,7 +80,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(OrderBy))) body.OrderBy = OrderBy!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveCloudPkiLeafCertificateSummaryReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveCloudPkiLeafCertificateSummaryReport.g.cs index c94421acd00..0253f8d30a2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveCloudPkiLeafCertificateSummaryReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveCloudPkiLeafCertificateSummaryReport.g.cs @@ -50,7 +50,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Select))) body.Select = Select!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveDeviceAppInstallationStatusReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveDeviceAppInstallationStatusReport.g.cs index e3c8f027ac9..63f8b6ca86b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveDeviceAppInstallationStatusReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveDeviceAppInstallationStatusReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveEnrollmentTimeGroupingFailureReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveEnrollmentTimeGroupingFailureReport.g.cs index 5c116975e9a..aad5c4ffd5e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveEnrollmentTimeGroupingFailureReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveEnrollmentTimeGroupingFailureReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveSecurityTaskAppsReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveSecurityTaskAppsReport.g.cs index 47c4a6404fd..20bd440bbd4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveSecurityTaskAppsReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveSecurityTaskAppsReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveWin32CatalogAppsUpdateReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveWin32CatalogAppsUpdateReport.g.cs index d6ef0ef0449..35b73ce1dfe 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveWin32CatalogAppsUpdateReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgDeviceManagementReportRetrieveWin32CatalogAppsUpdateReport.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(Filter))) body.Filter = Filter; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); System.IO.Stream? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingAggregatedUsageBilledExport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingAggregatedUsageBilledExport.g.cs index f3f2117040b..9b533929ac7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingAggregatedUsageBilledExport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingAggregatedUsageBilledExport.g.cs @@ -40,7 +40,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(InvoiceId))) body.InvoiceId = InvoiceId; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingReconciliationBilledExport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingReconciliationBilledExport.g.cs index a0c492ffcbf..17218ba5e55 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingReconciliationBilledExport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingReconciliationBilledExport.g.cs @@ -44,7 +44,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(AttributeSet))) body.AttributeSet = AttributeSet; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingReconciliationUnbilledExport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingReconciliationUnbilledExport.g.cs index e5189583976..898b62a5fe4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingReconciliationUnbilledExport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingReconciliationUnbilledExport.g.cs @@ -50,7 +50,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(AttributeSet))) body.AttributeSet = AttributeSet; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingUsageBilledExport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingUsageBilledExport.g.cs index 31c2f04802a..4730767696f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingUsageBilledExport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingUsageBilledExport.g.cs @@ -44,7 +44,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(AttributeSet))) body.AttributeSet = AttributeSet; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingUsageUnbilledExport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingUsageUnbilledExport.g.cs index 25f9e7a2c3c..7bf3d6b8143 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingUsageUnbilledExport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/InvokeMgReportPartnerBillingUsageUnbilledExport.g.cs @@ -50,7 +50,7 @@ protected override void ProcessRecord() if (this.IsParameterBound(nameof(AttributeSet))) body.AttributeSet = AttributeSet; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgAdminReportSettingSharePointApiUsageReportMetric.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgAdminReportSettingSharePointApiUsageReportMetric.g.cs index 6795a4cdb71..540997b7c1a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgAdminReportSettingSharePointApiUsageReportMetric.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/NewMgAdminReportSettingSharePointApiUsageReportMetric.g.cs @@ -44,7 +44,7 @@ protected override void ProcessRecord() body.OnboardingStatus = OnboardingStatus; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ApiUsageReportEnablementStatus? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserEventSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserEventSummary.g.cs index 7b72e18e72f..db0d424f826 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserEventSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserEventSummary.g.cs @@ -74,7 +74,7 @@ protected override void ProcessRecord() body.Feature = Feature; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserEventsSummary? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserMfaSignInSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserMfaSignInSummary.g.cs index c2936b0ccee..855ebf41b5d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserMfaSignInSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserMfaSignInSummary.g.cs @@ -58,7 +58,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserMfaSignInSummary? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs index 4560d2bab3f..60b0de8c275 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs @@ -58,7 +58,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserPasswordResetsAndChangesSummary? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserRegistrationDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserRegistrationDetail.g.cs index e4fe6ffa118..d216d0e416b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserRegistrationDetail.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportAuthenticationMethodUserRegistrationDetail.g.cs @@ -128,7 +128,7 @@ protected override void ProcessRecord() body.UserType = UserType; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserRegistrationDetails? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportHealthMonitoringAlert.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportHealthMonitoringAlert.g.cs index 9a02bc5212d..038c59356d1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportHealthMonitoringAlert.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportHealthMonitoringAlert.g.cs @@ -80,7 +80,7 @@ protected override void ProcessRecord() body.State = State; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.HealthMonitoring.Alert? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportHealthMonitoringAlertConfiguration.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportHealthMonitoringAlertConfiguration.g.cs index e080a745690..e251d8b4c53 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportHealthMonitoringAlertConfiguration.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportHealthMonitoringAlertConfiguration.g.cs @@ -40,7 +40,7 @@ protected override void ProcessRecord() body.EmailNotificationConfigurations = EmailNotificationConfigurations!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.HealthMonitoring.AlertConfiguration? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportIdentityAnalyticGroup.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportIdentityAnalyticGroup.g.cs index 678d05b7dbc..f4e245e391f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportIdentityAnalyticGroup.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportIdentityAnalyticGroup.g.cs @@ -236,7 +236,7 @@ protected override void ProcessRecord() body.GroupType = GroupType; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.GroupAnalytics? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs index 8177cdd9980..6551b45180f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MicrosoftAppsFileStorageContainerGeoUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs index 2508777a34c..4bad8cf1627 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs @@ -37,7 +37,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MicrosoftAppsFileStorageContainerAppUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportPartnerBillingManifest.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportPartnerBillingManifest.g.cs index f48f29ecf3a..f25f14651ac 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportPartnerBillingManifest.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportPartnerBillingManifest.g.cs @@ -92,7 +92,7 @@ protected override void ProcessRecord() body.Blobs = Blobs!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Manifest? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportPartnerBillingOperation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportPartnerBillingOperation.g.cs index 6cc879103fb..a44084c43fb 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportPartnerBillingOperation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportPartnerBillingOperation.g.cs @@ -50,7 +50,7 @@ protected override void ProcessRecord() body.Status = Status; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportUserInsightDailyMfaTelecomFraud.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportUserInsightDailyMfaTelecomFraud.g.cs index 0949bc93b07..d9f78af2bd3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportUserInsightDailyMfaTelecomFraud.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportUserInsightDailyMfaTelecomFraud.g.cs @@ -70,7 +70,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MfaTelecomFraudMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportUserInsightMonthlyMfaRegisteredUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportUserInsightMonthlyMfaRegisteredUser.g.cs index 41961e2cb89..bd8aa68c8fa 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/NewMgReportUserInsightMonthlyMfaRegisteredUser.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/NewMgReportUserInsightMonthlyMfaRegisteredUser.g.cs @@ -50,7 +50,7 @@ protected override void ProcessRecord() body.MfaType = MfaType; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MfaUserCountMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAdminReportSetting.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAdminReportSetting.g.cs index d6e29011e61..0cc949780a8 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAdminReportSetting.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAdminReportSetting.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAdminReportSettingSharePoint.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAdminReportSettingSharePoint.g.cs index ff569bbd0e6..5723284ac97 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAdminReportSettingSharePoint.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAdminReportSettingSharePoint.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAdminReportSettingSharePointApiUsageReportMetric.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAdminReportSettingSharePointApiUsageReportMetric.g.cs index a73322a46e8..fdecf5006c8 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAdminReportSettingSharePointApiUsageReportMetric.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAdminReportSettingSharePointApiUsageReportMetric.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(ApiUsageReportEnablementStatusMetric, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignInEventAppSummaryApplicationLogo.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignInEventAppSummaryApplicationLogo.g.cs index ce3179fa30d..7fdf11b9ebf 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignInEventAppSummaryApplicationLogo.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgAuditLogSignInEventAppSummaryApplicationLogo.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(SignInEventsAppActivityAppId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgDeviceManagementReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgDeviceManagementReport.g.cs index 2c48d180582..0cc294b6421 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgDeviceManagementReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgDeviceManagementReport.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserEventSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserEventSummary.g.cs index 0f0bca1ec9e..519e93ba85b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserEventSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserEventSummary.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(UserEventsSummaryId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserMfaSignInSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserMfaSignInSummary.g.cs index d4e9834aad6..7bbc6495e10 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserMfaSignInSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserMfaSignInSummary.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(UserMfaSignInSummaryId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs index b1478ffb829..c578f3804e5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(UserPasswordResetsAndChangesSummaryId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserRegistrationDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserRegistrationDetail.g.cs index f8cd871fac8..1dbfc8a0434 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserRegistrationDetail.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportAuthenticationMethodUserRegistrationDetail.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(UserRegistrationDetailsId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportCorrelationIdentity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportCorrelationIdentity.g.cs index dbb1a145c7a..d6b653ea20a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportCorrelationIdentity.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportCorrelationIdentity.g.cs @@ -32,7 +32,7 @@ protected override void ProcessRecord() if (!ShouldProcess(CorrelatedIdentityId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportHealthMonitoringAlert.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportHealthMonitoringAlert.g.cs index 880d73b1945..b11ea0527b0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportHealthMonitoringAlert.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportHealthMonitoringAlert.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(AlertId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportHealthMonitoringAlertConfiguration.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportHealthMonitoringAlertConfiguration.g.cs index ec81e664c10..7e6befe2b8a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportHealthMonitoringAlertConfiguration.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportHealthMonitoringAlertConfiguration.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(AlertConfigurationId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportIdentityAnalyticGroup.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportIdentityAnalyticGroup.g.cs index 50b7f28efae..351c5059b17 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportIdentityAnalyticGroup.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportIdentityAnalyticGroup.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(GroupAnalyticsId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs index 31332da9994..dc25f40d28d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(MicrosoftAppsFileStorageContainerGeoUsageDataLocationCode, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs index 3915b62ae2d..a25dcbd6756 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs @@ -32,7 +32,7 @@ protected override void ProcessRecord() if (!ShouldProcess(MicrosoftAppsFileStorageContainerAppUsageAppId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBilling.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBilling.g.cs index b1a256b26c9..63f32de7e75 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBilling.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBilling.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingAggregatedUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingAggregatedUsage.g.cs index eed468f71e5..c1728051ccf 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingAggregatedUsage.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingAggregatedUsage.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingAggregatedUsageBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingAggregatedUsageBilled.g.cs index 006f80da864..28d5217cec6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingAggregatedUsageBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingAggregatedUsageBilled.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingManifest.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingManifest.g.cs index 432c271d2c7..cb848762b4a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingManifest.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingManifest.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(ManifestId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingOperation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingOperation.g.cs index 2bb252f61b1..8522b223832 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingOperation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingOperation.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(OperationId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingReconciliation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingReconciliation.g.cs index ea6e9d3e485..a5fb2ec80f9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingReconciliation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingReconciliation.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingReconciliationBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingReconciliationBilled.g.cs index 52678e26197..68e057ab9b5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingReconciliationBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingReconciliationBilled.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingReconciliationUnbilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingReconciliationUnbilled.g.cs index ee16b8311ae..1494c8a4fdb 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingReconciliationUnbilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingReconciliationUnbilled.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingUsage.g.cs index c5419950487..e671e6dc0eb 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingUsage.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingUsage.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingUsageBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingUsageBilled.g.cs index 0b3f9484645..b6d3d448408 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingUsageBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingUsageBilled.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingUsageUnbilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingUsageUnbilled.g.cs index 23ba95301b7..0596f5a6663 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingUsageUnbilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportPartnerBillingUsageUnbilled.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportSlaAzureADAuthentication.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportSlaAzureADAuthentication.g.cs index 38f28963847..108561c70d4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportSlaAzureADAuthentication.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportSlaAzureADAuthentication.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightDaily.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightDaily.g.cs index 999a3b2f45c..900084ee32a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightDaily.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightDaily.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightDailyMfaTelecomFraud.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightDailyMfaTelecomFraud.g.cs index d34019629d8..d65dfc84607 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightDailyMfaTelecomFraud.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightDailyMfaTelecomFraud.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(MfaTelecomFraudMetricId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightMonthly.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightMonthly.g.cs index 9a80a703c8f..8eeb112d923 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightMonthly.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightMonthly.g.cs @@ -29,7 +29,7 @@ protected override void ProcessRecord() if (!ShouldProcess(null, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightMonthlyMfaRegisteredUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightMonthlyMfaRegisteredUser.g.cs index b8e40d77ce4..992b1e9d53f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightMonthlyMfaRegisteredUser.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/RemoveMgReportUserInsightMonthlyMfaRegisteredUser.g.cs @@ -30,7 +30,7 @@ protected override void ProcessRecord() if (!ShouldProcess(MfaUserCountMetricId, "Remove")) return; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); // DeleteAsync returns a plain Task: a standard delete response has no body. diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSetting.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSetting.g.cs index 2a7f0bbbaea..15d88463b2c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSetting.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSetting.g.cs @@ -40,7 +40,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AdminReportSettings? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePoint.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePoint.g.cs index 676c45c6eae..3257dff941c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePoint.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePoint.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.SharePointReportSettings? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePointApiUsageReportMetric.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePointApiUsageReportMetric.g.cs index e4337a56176..6c685d4b048 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePointApiUsageReportMetric.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePointApiUsageReportMetric.g.cs @@ -45,7 +45,7 @@ protected override void ProcessRecord() body.OnboardingStatus = OnboardingStatus; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.ApiUsageReportEnablementStatus? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReport.g.cs index 89401754a1d..089a9f0c201 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReport.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DeviceManagementReports? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserEventSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserEventSummary.g.cs index 74dc86a8b5f..f49967a0983 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserEventSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserEventSummary.g.cs @@ -75,7 +75,7 @@ protected override void ProcessRecord() body.Feature = Feature; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserEventsSummary? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserMfaSignInSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserMfaSignInSummary.g.cs index 8a48f272f32..dd9bde99448 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserMfaSignInSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserMfaSignInSummary.g.cs @@ -59,7 +59,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserMfaSignInSummary? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs index 269682b1e57..35e179c7f79 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs @@ -59,7 +59,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserPasswordResetsAndChangesSummary? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs index d4a728ea084..9a13de0368f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs @@ -129,7 +129,7 @@ protected override void ProcessRecord() body.UserType = UserType; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.UserRegistrationDetails? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCorrelationIdentity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCorrelationIdentity.g.cs index 02cbe3d0b06..cacbcf9e8b7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCorrelationIdentity.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCorrelationIdentity.g.cs @@ -65,7 +65,7 @@ protected override void ProcessRecord() body.TargetIdentity = TargetIdentity; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.CorrelatedIdentity? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlert.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlert.g.cs index a1ce749b1d9..761906441e2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlert.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlert.g.cs @@ -81,7 +81,7 @@ protected override void ProcessRecord() body.State = State; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.HealthMonitoring.Alert? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlertConfiguration.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlertConfiguration.g.cs index feb0e206891..7427e74f943 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlertConfiguration.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlertConfiguration.g.cs @@ -41,7 +41,7 @@ protected override void ProcessRecord() body.EmailNotificationConfigurations = EmailNotificationConfigurations!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.HealthMonitoring.AlertConfiguration? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportIdentityAnalyticGroup.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportIdentityAnalyticGroup.g.cs index cf6721da758..45b9c98bd95 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportIdentityAnalyticGroup.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportIdentityAnalyticGroup.g.cs @@ -237,7 +237,7 @@ protected override void ProcessRecord() body.GroupType = GroupType; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.GroupAnalytics? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs index 7106878ae18..6ec231c9e08 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs @@ -37,7 +37,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MicrosoftAppsFileStorageContainerGeoUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs index a1217e7a228..9d65722b4c7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs @@ -39,7 +39,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MicrosoftAppsFileStorageContainerAppUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBilling.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBilling.g.cs index 1dde7d9f5b4..a994a84ca91 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBilling.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBilling.g.cs @@ -52,7 +52,7 @@ protected override void ProcessRecord() body.Usage = Usage; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Billing? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsage.g.cs index 80527829d0d..1d4d3d49e35 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsage.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsage.g.cs @@ -40,7 +40,7 @@ protected override void ProcessRecord() body.Billed = Billed; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsageBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsageBilled.g.cs index 8fabe8651b4..b848bc0276f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsageBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsageBilled.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs index 265c113e593..6e785838d5a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs @@ -93,7 +93,7 @@ protected override void ProcessRecord() body.Blobs = Blobs!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Manifest? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs index 8a1e3c22562..25675433730 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs @@ -51,7 +51,7 @@ protected override void ProcessRecord() body.Status = Status; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.Operation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs index 710a958a739..e41ebb5a71b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs @@ -46,7 +46,7 @@ protected override void ProcessRecord() body.Unbilled = Unbilled; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BillingReconciliation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs index 93f5c5a3859..d6cf7210c99 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledReconciliation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs index 7e8e27e4942..b0b7719f5b1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.UnbilledReconciliation? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs index 9b3450529c2..3944f70af2e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs @@ -46,7 +46,7 @@ protected override void ProcessRecord() body.Unbilled = Unbilled; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs index b0026ff2cf3..c1610c11ec8 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs index e811b704da8..45f347d66c9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.UnbilledUsage? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSlaAzureADAuthentication.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSlaAzureADAuthentication.g.cs index 987142c477a..ad6b23c1b94 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSlaAzureADAuthentication.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSlaAzureADAuthentication.g.cs @@ -40,7 +40,7 @@ protected override void ProcessRecord() body.Attainments = Attainments!.ToList(); - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.AzureADAuthentication? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDaily.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDaily.g.cs index 95b8a9055e4..51844d12ea4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDaily.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDaily.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.DailyUserInsightMetricsRoot? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDailyMfaTelecomFraud.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDailyMfaTelecomFraud.g.cs index 210e4e459b7..d627e894a37 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDailyMfaTelecomFraud.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDailyMfaTelecomFraud.g.cs @@ -71,7 +71,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MfaTelecomFraudMetric? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthly.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthly.g.cs index a2eaf6a23bc..86afebcb4ae 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthly.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthly.g.cs @@ -36,7 +36,7 @@ protected override void ProcessRecord() - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MonthlyUserInsightMetricsRoot? result; diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthlyMfaRegisteredUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthlyMfaRegisteredUser.g.cs index 83d4f5e1c55..e4b3fb0a4d5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthlyMfaRegisteredUser.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthlyMfaRegisteredUser.g.cs @@ -51,7 +51,7 @@ protected override void ProcessRecord() body.MfaType = MfaType; - var requestAdapter = GetRequestAdapter(); + var requestAdapter = GetRequestAdapter("beta"); var client = new ApiClient(requestAdapter); Microsoft.Graph.PowerShell.Reports.Client.Models.MfaUserCountMetric? result; diff --git a/src/Reports/wrapper/Beta/Microsoft.Graph.Wrapper.Reports.csproj b/src/Reports/wrapper/Beta/Microsoft.Graph.Wrapper.Reports.csproj index ea14153bdb2..345631d0081 100644 --- a/src/Reports/wrapper/Beta/Microsoft.Graph.Wrapper.Reports.csproj +++ b/src/Reports/wrapper/Beta/Microsoft.Graph.Wrapper.Reports.csproj @@ -48,18 +48,16 @@ - + Removal is by package identity, not filename. --> + Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' != ''" /> From cc3d297130431f96bc4ac3d45b64b79f67a226d1 Mon Sep 17 00:00:00 2001 From: Ramses Sanchez Hernandez Date: Thu, 5 Nov 2026 17:52:00 -0800 Subject: [PATCH 11/13] Pin Reports single-operation PATCH and actual query scope Revalidate unchanged directive source evidence on merged 6475f3f5be. Assert no native required queries in either actual Reports spec and retain registration PATCH body, headers, profile and safety without implicit GET or invented switches. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../Reports_directiveMigrationMap.json | 6 +-- .../ReportsDirectiveMigrationTests.cs | 49 +++++++++++++++++++ 2 files changed, 52 insertions(+), 3 deletions(-) diff --git a/src/Reports/wrapper/Reports_directiveMigrationMap.json b/src/Reports/wrapper/Reports_directiveMigrationMap.json index d90422307c4..2ca3c73c6f6 100644 --- a/src/Reports/wrapper/Reports_directiveMigrationMap.json +++ b/src/Reports/wrapper/Reports_directiveMigrationMap.json @@ -22,7 +22,7 @@ "v1.0": "1f907bf7691c3a13779b7ea6786e3764cb61d5a1", "beta": "169859b86fc51330fd53c8a948dfa8ef595f36fd" }, - "reviewedTarget": "844672d7c2238f6b29a208f9ba73fe28e9e29cef", + "reviewedTarget": "6475f3f5beb4908d39ea356db32bf1e0fd3273cb", "regressionTests": "tools\\WrapperGenerator.Tests\\ReportsDirectiveMigrationTests.cs", "sourceReviewTests": "tools\\WrapperGenerator.Tests\\ReportsDirectiveSourceReview.json" }, @@ -36,7 +36,7 @@ "notes": "Baseline-supported literal-compatible ledger after #3861 ID alignment. Preserve every original source-selected survivor and explicit removal proof in the ReportsDirectiveSourceReview.json test fixture. Include all 17 genuinely additional beta CRUD routes now literally selected by the unchanged root-mutation regex, with exact prior/current identities and per-family rationale. No action/function expansion, guessed semantic successor, or broad prefix suppression. Original 84 beta matches remain accounted as 66 survivors plus 18 removed; current 83 are the 66 survivors plus 17 additional matches. Nested authentication registration and nonmatching descendants remain.", "profiles": { "v1.0": { - "notes": "Literal current-compatible regex policy on target 844672d7c2: 34 candidates. Complete original legacy regex set 34 is preserved as 34 exact surviving method/path/IDs plus 0 explicitly pruned source operations. 0 separately reviewed additional current CRUD matches are included by the unchanged root-mutation regex, not relabeled as legacy survivors.", + "notes": "Literal current-compatible regex policy on target 6475f3f5be: 34 candidates. Complete original legacy regex set 34 is preserved as 34 exact surviving method/path/IDs plus 0 explicitly pruned source operations. 0 separately reviewed additional current CRUD matches are included by the unchanged root-mutation regex, not relabeled as legacy survivors.", "absenceExpected": false, "operations": [ { @@ -212,7 +212,7 @@ ] }, "beta": { - "notes": "Literal current-compatible regex policy on target 844672d7c2: 83 candidates. Complete original legacy regex set 84 is preserved as 66 exact surviving method/path/IDs plus 18 explicitly pruned source operations. 17 separately reviewed additional current CRUD matches are included by the unchanged root-mutation regex, not relabeled as legacy survivors.", + "notes": "Literal current-compatible regex policy on target 6475f3f5be: 83 candidates. Complete original legacy regex set 84 is preserved as 66 exact surviving method/path/IDs plus 18 explicitly pruned source operations. 17 separately reviewed additional current CRUD matches are included by the unchanged root-mutation regex, not relabeled as legacy survivors.", "absenceExpected": false, "operations": [ { diff --git a/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs b/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs index 745a08851aa..86a1e70a674 100644 --- a/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs +++ b/tools/WrapperGenerator.Tests/ReportsDirectiveMigrationTests.cs @@ -307,6 +307,55 @@ static void AssertNoLegacyFields(JsonElement element) } } + [Theory] + [InlineData("v1.0")] + [InlineData("beta")] + public void ReportsSpecsHaveNoRequiredNativeQueryInputs(string profile) + { + var required = Specs[profile].Value.Paths.SelectMany(path => path.Value.Operations! + .SelectMany(operation => (path.Value.Parameters ?? []).Concat(operation.Value.Parameters ?? []) + .Where(parameter => parameter.In == ParameterLocation.Query && parameter.Required) + .Select(parameter => $"{operation.Key} {path.Key} [{parameter.Name}]"))); + Assert.Empty(required); + } + + [Theory] + [InlineData("v1.0", false)] + [InlineData("v1.0", true)] + [InlineData("beta", false)] + [InlineData("beta", true)] + public async Task RetainedRegistrationPatchUsesOnlyItsOwnOperation(string profile, bool useCollisionData) + { + const string path = "/reports/authenticationMethods/userRegistrationDetails/{userRegistrationDetails-id}"; + var source = Specs[profile].Value; + var target = new OpenApiDocument { Paths = new OpenApiPaths(), Components = source.Components }; + target.Paths.Add(path, source.Paths[path]); + var output = Path.Combine(Path.GetTempPath(), "reports-patch-tests", Guid.NewGuid().ToString("N")); + try + { + var config = new GeneratorConfig("Test.Client", output, useCollisionData); + await new PowerShellWrapperGenerationService(target, config, NullLogger.Instance, apiVersion: profile) + .GenerateAsync(CancellationToken.None); + var code = File.ReadAllText(Path.Combine(output, "UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs")); + Assert.Contains($"GetRequestAdapter(\"{profile}\")", code, StringComparison.Ordinal); + Assert.Contains("[GraphRoute(\"PATCH\", \"" + path + "\")]", code, StringComparison.Ordinal); + Assert.Contains("SupportsShouldProcess = true", code, StringComparison.Ordinal); + Assert.Contains("body.IsAdmin = IsAdmin", code, StringComparison.Ordinal); + Assert.Contains("AddRequestHeaders(requestConfiguration.Headers)", code, StringComparison.Ordinal); + Assert.Single(Regex.Matches(code, @"\.PatchAsync\(").Cast()); + Assert.DoesNotContain(".GetAsync(", code, StringComparison.Ordinal); + Assert.DoesNotContain("re-fetch", code, StringComparison.Ordinal); + Assert.DoesNotContain("PassThru", code, StringComparison.Ordinal); + Assert.DoesNotContain("ReadBack", code, StringComparison.Ordinal); + Assert.DoesNotContain("Refetch", code, StringComparison.Ordinal); + } + finally + { + if (Directory.Exists(output)) + Directory.Delete(output, recursive: true); + } + } + private static IEnumerable FunctionCases(string profile) { yield return new("/reports/deviceConfigurationDeviceActivity()", "report_deviceConfigurationDeviceActivity", "ReportDeviceConfigurationDeviceActivity"); From f63614cb4298ce6727f2dae8874a5d10dacdef9b Mon Sep 17 00:00:00 2001 From: Ramses Sanchez Hernandez Date: Thu, 5 Nov 2026 18:13:38 -0800 Subject: [PATCH 12/13] Regenerate Reports v1.0 after single-operation PATCH integration Run full queued Kiota/cmdlet/client/project/manifest generation on 6475f3f5be and an additional no-incremental Release rebuild, exporting 217 cmdlets. Global and USGov factory gates verify one PATCH/no-output on204 with GET forbidden, typed200 responses, independent caller GET and existing routing, bodies, queries, safety and session lifecycle. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../v1.0/Cmdlets/GetMgAdminReportSetting.g.cs | 1 + .../v1.0/Cmdlets/GetMgAuditLogDirectoryAudit.g.cs | 1 + .../Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs | 1 + .../Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs | 1 + .../v1.0/Cmdlets/GetMgAuditLogProvisioning.g.cs | 1 + .../Cmdlets/GetMgAuditLogProvisioning_Get.g.cs | 1 + .../Cmdlets/GetMgAuditLogProvisioning_List.g.cs | 1 + .../wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn.g.cs | 1 + .../v1.0/Cmdlets/GetMgAuditLogSignIn_Get.g.cs | 1 + .../v1.0/Cmdlets/GetMgAuditLogSignIn_List.g.cs | 1 + .../v1.0/Cmdlets/GetMgDeviceManagementReport.g.cs | 1 + .../GetMgDeviceManagementReportExportJob.g.cs | 1 + .../GetMgDeviceManagementReportExportJob_Get.g.cs | 1 + .../GetMgDeviceManagementReportExportJob_List.g.cs | 1 + .../Cmdlets/GetMgReportAuthenticationMethod.g.cs | 1 + ...AuthenticationMethodUserRegistrationDetail.g.cs | 1 + ...enticationMethodUserRegistrationDetail_Get.g.cs | 1 + ...nticationMethodUserRegistrationDetail_List.g.cs | 1 + .../GetMgReportDailyPrintUsageByPrinter.g.cs | 1 + .../GetMgReportDailyPrintUsageByPrinter_Get.g.cs | 1 + .../GetMgReportDailyPrintUsageByPrinter_List.g.cs | 1 + .../Cmdlets/GetMgReportDailyPrintUsageByUser.g.cs | 1 + .../GetMgReportDailyPrintUsageByUser_Get.g.cs | 1 + .../GetMgReportDailyPrintUsageByUser_List.g.cs | 1 + .../GetMgReportMonthlyPrintUsageByPrinter.g.cs | 1 + .../GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs | 1 + ...GetMgReportMonthlyPrintUsageByPrinter_List.g.cs | 1 + .../GetMgReportMonthlyPrintUsageByUser.g.cs | 1 + .../GetMgReportMonthlyPrintUsageByUser_Get.g.cs | 1 + .../GetMgReportMonthlyPrintUsageByUser_List.g.cs | 1 + .../wrapper/v1.0/Cmdlets/GetMgReportPartner.g.cs | 1 + .../v1.0/Cmdlets/GetMgReportPartnerBilling.g.cs | 1 + .../Cmdlets/GetMgReportPartnerBillingManifest.g.cs | 1 + .../GetMgReportPartnerBillingManifest_Get.g.cs | 1 + .../GetMgReportPartnerBillingManifest_List.g.cs | 1 + .../GetMgReportPartnerBillingOperation.g.cs | 1 + .../GetMgReportPartnerBillingOperation_Get.g.cs | 1 + .../GetMgReportPartnerBillingOperation_List.g.cs | 1 + .../GetMgReportPartnerBillingReconciliation.g.cs | 1 + ...MgReportPartnerBillingReconciliationBilled.g.cs | 1 + ...ReportPartnerBillingReconciliationUnbilled.g.cs | 1 + .../Cmdlets/GetMgReportPartnerBillingUsage.g.cs | 1 + .../GetMgReportPartnerBillingUsageBilled.g.cs | 1 + .../GetMgReportPartnerBillingUsageUnbilled.g.cs | 1 + .../wrapper/v1.0/Cmdlets/GetMgReportSecurity.g.cs | 1 + .../v1.0/Cmdlets/UpdateMgAdminReportSetting.g.cs | 14 -------------- .../Cmdlets/UpdateMgDeviceManagementReport.g.cs | 14 -------------- ...AuthenticationMethodUserRegistrationDetail.g.cs | 14 -------------- .../v1.0/Cmdlets/UpdateMgReportPartnerBilling.g.cs | 14 -------------- .../UpdateMgReportPartnerBillingManifest.g.cs | 14 -------------- .../UpdateMgReportPartnerBillingOperation.g.cs | 14 -------------- ...UpdateMgReportPartnerBillingReconciliation.g.cs | 14 -------------- ...MgReportPartnerBillingReconciliationBilled.g.cs | 14 -------------- ...ReportPartnerBillingReconciliationUnbilled.g.cs | 14 -------------- .../Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs | 14 -------------- .../UpdateMgReportPartnerBillingUsageBilled.g.cs | 14 -------------- .../UpdateMgReportPartnerBillingUsageUnbilled.g.cs | 14 -------------- 57 files changed, 45 insertions(+), 168 deletions(-) diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAdminReportSetting.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAdminReportSetting.g.cs index dce63818f4e..c0fc974563b 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAdminReportSetting.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAdminReportSetting.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit.g.cs index b6a1689fdc9..f6958f93c2c 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit.g.cs @@ -19,6 +19,7 @@ public class GetMgAuditLogDirectoryAuditCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs index aba7f052145..ac277259b0b 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs index 4420f7f75ab..15821a2f375 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning.g.cs index a086386c8db..c45aa7340c7 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning.g.cs @@ -19,6 +19,7 @@ public class GetMgAuditLogProvisioningCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs index 6cb67e9bdd2..3e1f97967a4 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_List.g.cs index 03ad03c89e6..77dc81129ef 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogProvisioning_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn.g.cs index 47200bf5196..ea0eed61dda 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn.g.cs @@ -19,6 +19,7 @@ public class GetMgAuditLogSignInCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_Get.g.cs index daeaaebe93d..c6f2044936d 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_List.g.cs index 5343adf8657..fe2cd21603a 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgAuditLogSignIn_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReport.g.cs index e544d7948ac..d125334eb19 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReport.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob.g.cs index 2257913862f..63b86be9c69 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob.g.cs @@ -19,6 +19,7 @@ public class GetMgDeviceManagementReportExportJobCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs index d415a307e69..f3ba60751f8 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs index 1a2fa0aad3d..b5a0ca7e87e 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethod.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethod.g.cs index be878cda911..395fed262f6 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethod.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethod.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail.g.cs index ac838a9be93..9f21ad557f9 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail.g.cs @@ -19,6 +19,7 @@ public class GetMgReportAuthenticationMethodUserRegistrationDetailCommand : Grap + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs index 61ee306c487..029b2dab4fb 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs index 34014bd034c..7673398406e 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter.g.cs index 7e9809d164a..d29c189d8a4 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter.g.cs @@ -19,6 +19,7 @@ public class GetMgReportDailyPrintUsageByPrinterCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs index 2e4e02682d5..34eec3ad19e 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs index f7835b6524d..5bbd8c63b93 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser.g.cs index 7af7f11338a..00ddf18cdf5 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser.g.cs @@ -19,6 +19,7 @@ public class GetMgReportDailyPrintUsageByUserCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs index d759476ec8c..8990a86d644 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs index d3d29922c51..639091e80f3 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter.g.cs index 78c50870193..82470fd3df2 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter.g.cs @@ -19,6 +19,7 @@ public class GetMgReportMonthlyPrintUsageByPrinterCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs index 2a765c5e306..59258bce617 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs index b55d6a5e41b..e1ca38c69b7 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser.g.cs index 7d7a09982a0..30100d4f944 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser.g.cs @@ -19,6 +19,7 @@ public class GetMgReportMonthlyPrintUsageByUserCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs index 83b1a339d88..2cca01ea1a9 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs index 9ee18f74c51..acd4f41e551 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartner.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartner.g.cs index 401e930c347..5e8bd764a83 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartner.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartner.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBilling.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBilling.g.cs index 27b204b189b..4a38d59f484 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBilling.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBilling.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest.g.cs index a1ff1788398..27a7ba86082 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest.g.cs @@ -19,6 +19,7 @@ public class GetMgReportPartnerBillingManifestCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs index 6f64831e662..4877f43d45f 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs index bd4a4a94b7e..d558adfc632 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation.g.cs index 7b5fedee8fa..b910a44fb66 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation.g.cs @@ -19,6 +19,7 @@ public class GetMgReportPartnerBillingOperationCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs index 0d62cbc86ab..3de51869165 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs index 1fdb90e3fe6..408d15f811f 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs index fc51f447dc4..6630ffd91bf 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs index e324ab19a59..0642ee29003 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs index 5ca683ec274..a81923064a1 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsage.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsage.g.cs index 70ddc7524b4..bef47e43c32 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsage.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsage.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs index 2565c3924ec..395ae862b76 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs index 0291084b22e..07f05df3006 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurity.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurity.g.cs index f7d02941493..4085604e90a 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurity.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/GetMgReportSecurity.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgAdminReportSetting.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgAdminReportSetting.g.cs index 20591c3ddee..8a6095a9d5d 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgAdminReportSetting.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgAdminReportSetting.g.cs @@ -58,20 +58,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Admin.ReportSettings.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgDeviceManagementReport.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgDeviceManagementReport.g.cs index 46591daad3f..f8ff678267c 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgDeviceManagementReport.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgDeviceManagementReport.g.cs @@ -54,20 +54,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.DeviceManagement.Reports.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs index 16695cc4c0d..67d96f373f2 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs @@ -141,20 +141,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.AuthenticationMethods.UserRegistrationDetails[UserRegistrationDetailsId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, UserRegistrationDetailsId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBilling.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBilling.g.cs index 1d8d97859f4..37d2b27deb1 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBilling.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBilling.g.cs @@ -64,20 +64,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs index 3905debdf7b..f04a7cbffb9 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs @@ -111,20 +111,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Manifests[ManifestId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ManifestId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs index a424c1bed54..b23af122bd4 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs @@ -69,20 +69,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Operations[OperationId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, OperationId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs index ec7db705b08..6e2a38abf96 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs @@ -64,20 +64,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Reconciliation.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs index b80769b9246..1eb01a35257 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs @@ -54,20 +54,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Reconciliation.Billed.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs index aee903eaf02..cb84a9b7071 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs @@ -54,20 +54,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Reconciliation.Unbilled.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs index 2693eaf8079..aa1cdbb7b11 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs @@ -64,20 +64,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Usage.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs index ea816f8cec2..20904b55c2c 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs @@ -54,20 +54,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Usage.Billed.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs index 2241f92b45d..e19425f7e77 100644 --- a/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs +++ b/src/Reports/wrapper/v1.0/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs @@ -54,20 +54,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Usage.Unbilled.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } From cc375ba07a8fd7f1218ac6c46f09e51e87c1259e Mon Sep 17 00:00:00 2001 From: Ramses Sanchez Hernandez Date: Thu, 5 Nov 2026 19:09:04 -0800 Subject: [PATCH 13/13] Regenerate Reports beta after single-operation PATCH integration Full queued Kiota/cmdlet/client/project/manifest generation on 6475f3f5be and an additional no-incremental Release rebuild export520cmdlets. Guarded Global/USGov real factory proof verifies actual post-import MockDataStore, one-PATCH204 no output/no GET, typed200model and independent callerGET, native existing queries/bodies/safety/lifecycle. Preserve byte-identical client/locks after trimming two generator-emitted trailing spaces. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../Beta/Cmdlets/GetMgAdminReportSetting.g.cs | 1 + .../Cmdlets/GetMgAdminReportSettingSharePoint.g.cs | 1 + ...eportSettingSharePointApiUsageReportMetric.g.cs | 1 + ...tSettingSharePointApiUsageReportMetric_Get.g.cs | 1 + ...SettingSharePointApiUsageReportMetric_List.g.cs | 1 + .../Cmdlets/GetMgAuditLogAuditActivityType.g.cs | 1 + .../GetMgAuditLogAuditActivityType_Get.g.cs | 1 + .../GetMgAuditLogAuditActivityType_List.g.cs | 1 + .../GetMgAuditLogCustomSecurityAttributeAudit.g.cs | 1 + ...MgAuditLogCustomSecurityAttributeAudit_Get.g.cs | 1 + ...gAuditLogCustomSecurityAttributeAudit_List.g.cs | 1 + .../Beta/Cmdlets/GetMgAuditLogDirectoryAudit.g.cs | 1 + .../Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs | 1 + .../Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs | 1 + .../GetMgAuditLogDirectoryProvisioning.g.cs | 1 + .../GetMgAuditLogDirectoryProvisioning_Get.g.cs | 1 + .../GetMgAuditLogDirectoryProvisioning_List.g.cs | 1 + .../Beta/Cmdlets/GetMgAuditLogProvisioning.g.cs | 1 + .../Cmdlets/GetMgAuditLogProvisioning_Get.g.cs | 1 + .../Cmdlets/GetMgAuditLogProvisioning_List.g.cs | 1 + .../wrapper/Beta/Cmdlets/GetMgAuditLogSignIn.g.cs | 1 + .../GetMgAuditLogSignInEventAppSummary.g.cs | 1 + ...MgAuditLogSignInEventAppSummaryApplication.g.cs | 1 + .../GetMgAuditLogSignInEventAppSummary_Get.g.cs | 1 + .../GetMgAuditLogSignInEventAppSummary_List.g.cs | 1 + .../Cmdlets/GetMgAuditLogSignInEventSummary.g.cs | 1 + .../GetMgAuditLogSignInEventSummary_Get.g.cs | 1 + .../GetMgAuditLogSignInEventSummary_List.g.cs | 1 + .../Beta/Cmdlets/GetMgAuditLogSignIn_Get.g.cs | 1 + .../Beta/Cmdlets/GetMgAuditLogSignIn_List.g.cs | 1 + .../wrapper/Beta/Cmdlets/GetMgAuditLogSignUp.g.cs | 1 + .../Beta/Cmdlets/GetMgAuditLogSignUp_Get.g.cs | 1 + .../Beta/Cmdlets/GetMgAuditLogSignUp_List.g.cs | 1 + .../Beta/Cmdlets/GetMgDeviceManagementReport.g.cs | 1 + ...eManagementReportCachedReportConfiguration.g.cs | 1 + ...agementReportCachedReportConfiguration_Get.g.cs | 1 + ...gementReportCachedReportConfiguration_List.g.cs | 1 + .../GetMgDeviceManagementReportExportJob.g.cs | 1 + .../GetMgDeviceManagementReportExportJob_Get.g.cs | 1 + .../GetMgDeviceManagementReportExportJob_List.g.cs | 1 + .../GetMgReportAppCredentialSignInActivity.g.cs | 1 + ...GetMgReportAppCredentialSignInActivity_Get.g.cs | 1 + ...etMgReportAppCredentialSignInActivity_List.g.cs | 1 + ...etMgReportApplicationSignInDetailedSummary.g.cs | 1 + ...ReportApplicationSignInDetailedSummary_Get.g.cs | 1 + ...eportApplicationSignInDetailedSummary_List.g.cs | 1 + .../Cmdlets/GetMgReportAuthenticationMethod.g.cs | 1 + ...ReportAuthenticationMethodUserEventSummary.g.cs | 1 + ...rtAuthenticationMethodUserEventSummary_Get.g.cs | 1 + ...tAuthenticationMethodUserEventSummary_List.g.cs | 1 + ...rtAuthenticationMethodUserMfaSignInSummary.g.cs | 1 + ...thenticationMethodUserMfaSignInSummary_Get.g.cs | 1 + ...henticationMethodUserMfaSignInSummary_List.g.cs | 1 + ...ionMethodUserPasswordResetAndChangeSummary.g.cs | 1 + ...ethodUserPasswordResetAndChangeSummary_Get.g.cs | 1 + ...thodUserPasswordResetAndChangeSummary_List.g.cs | 1 + ...AuthenticationMethodUserRegistrationDetail.g.cs | 1 + ...enticationMethodUserRegistrationDetail_Get.g.cs | 1 + ...nticationMethodUserRegistrationDetail_List.g.cs | 1 + .../GetMgReportAzureADPremiumLicenseInsight.g.cs | 1 + .../Beta/Cmdlets/GetMgReportCorrelation.g.cs | 1 + .../Cmdlets/GetMgReportCorrelationIdentity.g.cs | 1 + .../GetMgReportCorrelationIdentity_Get.g.cs | 1 + .../GetMgReportCorrelationIdentity_List.g.cs | 1 + .../GetMgReportCorrelationServicePrincipal.g.cs | 1 + .../Beta/Cmdlets/GetMgReportCorrelation_Get.g.cs | 1 + .../Beta/Cmdlets/GetMgReportCorrelation_List.g.cs | 1 + .../Beta/Cmdlets/GetMgReportDailyPrintUsage.g.cs | 1 + .../GetMgReportDailyPrintUsageByPrinter.g.cs | 1 + .../GetMgReportDailyPrintUsageByPrinter_Get.g.cs | 1 + .../GetMgReportDailyPrintUsageByPrinter_List.g.cs | 1 + .../Cmdlets/GetMgReportDailyPrintUsageByUser.g.cs | 1 + .../GetMgReportDailyPrintUsageByUser_Get.g.cs | 1 + .../GetMgReportDailyPrintUsageByUser_List.g.cs | 1 + .../Cmdlets/GetMgReportDailyPrintUsage_Get.g.cs | 1 + .../Cmdlets/GetMgReportDailyPrintUsage_List.g.cs | 1 + .../Beta/Cmdlets/GetMgReportHealthMonitoring.g.cs | 1 + .../Cmdlets/GetMgReportHealthMonitoringAlert.g.cs | 1 + ...MgReportHealthMonitoringAlertConfiguration.g.cs | 1 + ...portHealthMonitoringAlertConfiguration_Get.g.cs | 1 + ...ortHealthMonitoringAlertConfiguration_List.g.cs | 1 + .../GetMgReportHealthMonitoringAlert_Get.g.cs | 1 + .../GetMgReportHealthMonitoringAlert_List.g.cs | 1 + .../Beta/Cmdlets/GetMgReportIdentityAnalytic.g.cs | 1 + .../Cmdlets/GetMgReportIdentityAnalyticGroup.g.cs | 1 + .../GetMgReportIdentityAnalyticGroup_Get.g.cs | 1 + .../GetMgReportIdentityAnalyticGroup_List.g.cs | 1 + ...crosoftAppFileStorageContainerUsageSummary.g.cs | 1 + ...geContainerUsageSummaryUsageByDataLocation.g.cs | 1 + ...rUsageSummaryUsageByDataLocationUsageByApp.g.cs | 1 + ...geSummaryUsageByDataLocationUsageByApp_Get.g.cs | 1 + ...eSummaryUsageByDataLocationUsageByApp_List.g.cs | 1 + ...ntainerUsageSummaryUsageByDataLocation_Get.g.cs | 1 + ...tainerUsageSummaryUsageByDataLocation_List.g.cs | 1 + .../GetMgReportMonthlyPrintUsageByPrinter.g.cs | 1 + .../GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs | 1 + ...GetMgReportMonthlyPrintUsageByPrinter_List.g.cs | 1 + .../GetMgReportMonthlyPrintUsageByUser.g.cs | 1 + .../GetMgReportMonthlyPrintUsageByUser_Get.g.cs | 1 + .../GetMgReportMonthlyPrintUsageByUser_List.g.cs | 1 + .../wrapper/Beta/Cmdlets/GetMgReportPartner.g.cs | 1 + .../Beta/Cmdlets/GetMgReportPartnerBilling.g.cs | 1 + .../GetMgReportPartnerBillingAggregatedUsage.g.cs | 1 + ...gReportPartnerBillingAggregatedUsageBilled.g.cs | 1 + .../Cmdlets/GetMgReportPartnerBillingManifest.g.cs | 1 + .../GetMgReportPartnerBillingManifest_Get.g.cs | 1 + .../GetMgReportPartnerBillingManifest_List.g.cs | 1 + .../GetMgReportPartnerBillingOperation.g.cs | 1 + .../GetMgReportPartnerBillingOperation_Get.g.cs | 1 + .../GetMgReportPartnerBillingOperation_List.g.cs | 1 + .../GetMgReportPartnerBillingReconciliation.g.cs | 1 + ...MgReportPartnerBillingReconciliationBilled.g.cs | 1 + ...ReportPartnerBillingReconciliationUnbilled.g.cs | 1 + .../Cmdlets/GetMgReportPartnerBillingUsage.g.cs | 1 + .../GetMgReportPartnerBillingUsageBilled.g.cs | 1 + .../GetMgReportPartnerBillingUsageUnbilled.g.cs | 1 + .../wrapper/Beta/Cmdlets/GetMgReportSecurity.g.cs | 1 + .../Beta/Cmdlets/GetMgReportServiceActivity.g.cs | 1 + .../GetMgReportServicePrincipalSignInActivity.g.cs | 1 + ...MgReportServicePrincipalSignInActivity_Get.g.cs | 1 + ...gReportServicePrincipalSignInActivity_List.g.cs | 1 + .../wrapper/Beta/Cmdlets/GetMgReportSla.g.cs | 1 + .../GetMgReportSlaAzureADAuthentication.g.cs | 1 + .../Beta/Cmdlets/GetMgReportUserInsight.g.cs | 1 + .../Beta/Cmdlets/GetMgReportUserInsightDaily.g.cs | 1 + .../GetMgReportUserInsightDailyActiveUser.g.cs | 1 + .../GetMgReportUserInsightDailyActiveUser_Get.g.cs | 1 + ...GetMgReportUserInsightDailyActiveUser_List.g.cs | 1 + .../GetMgReportUserInsightDailyAuthentication.g.cs | 1 + ...MgReportUserInsightDailyAuthentication_Get.g.cs | 1 + ...gReportUserInsightDailyAuthentication_List.g.cs | 1 + .../GetMgReportUserInsightDailyInactiveUser.g.cs | 1 + ...etMgReportUserInsightDailyInactiveUser_Get.g.cs | 1 + ...tMgReportUserInsightDailyInactiveUser_List.g.cs | 1 + .../GetMgReportUserInsightDailyMfaCompletion.g.cs | 1 + ...tMgReportUserInsightDailyMfaCompletion_Get.g.cs | 1 + ...MgReportUserInsightDailyMfaCompletion_List.g.cs | 1 + ...GetMgReportUserInsightDailyMfaTelecomFraud.g.cs | 1 + ...gReportUserInsightDailyMfaTelecomFraud_Get.g.cs | 1 + ...ReportUserInsightDailyMfaTelecomFraud_List.g.cs | 1 + .../Cmdlets/GetMgReportUserInsightDailySignUp.g.cs | 1 + .../GetMgReportUserInsightDailySignUp_Get.g.cs | 1 + .../GetMgReportUserInsightDailySignUp_List.g.cs | 1 + .../GetMgReportUserInsightDailySummary.g.cs | 1 + .../GetMgReportUserInsightDailySummary_Get.g.cs | 1 + .../GetMgReportUserInsightDailySummary_List.g.cs | 1 + .../GetMgReportUserInsightDailyUserCount.g.cs | 1 + .../GetMgReportUserInsightDailyUserCount_Get.g.cs | 1 + .../GetMgReportUserInsightDailyUserCount_List.g.cs | 1 + .../Cmdlets/GetMgReportUserInsightMonthly.g.cs | 1 + .../GetMgReportUserInsightMonthlyActiveUser.g.cs | 1 + ...etMgReportUserInsightMonthlyActiveUser_Get.g.cs | 1 + ...tMgReportUserInsightMonthlyActiveUser_List.g.cs | 1 + ...etMgReportUserInsightMonthlyAuthentication.g.cs | 1 + ...ReportUserInsightMonthlyAuthentication_Get.g.cs | 1 + ...eportUserInsightMonthlyAuthentication_List.g.cs | 1 + .../GetMgReportUserInsightMonthlyInactiveUser.g.cs | 1 + ...MgReportUserInsightMonthlyInactiveUser_Get.g.cs | 1 + ...gReportUserInsightMonthlyInactiveUser_List.g.cs | 1 + ...GetMgReportUserInsightMonthlyMfaCompletion.g.cs | 1 + ...gReportUserInsightMonthlyMfaCompletion_Get.g.cs | 1 + ...ReportUserInsightMonthlyMfaCompletion_List.g.cs | 1 + ...gReportUserInsightMonthlyMfaRegisteredUser.g.cs | 1 + ...ortUserInsightMonthlyMfaRegisteredUser_Get.g.cs | 1 + ...rtUserInsightMonthlyMfaRegisteredUser_List.g.cs | 1 + .../GetMgReportUserInsightMonthlyRequest.g.cs | 1 + .../GetMgReportUserInsightMonthlyRequest_Get.g.cs | 1 + .../GetMgReportUserInsightMonthlyRequest_List.g.cs | 1 + .../GetMgReportUserInsightMonthlySignUp.g.cs | 1 + .../GetMgReportUserInsightMonthlySignUp_Get.g.cs | 1 + .../GetMgReportUserInsightMonthlySignUp_List.g.cs | 1 + .../GetMgReportUserInsightMonthlySummary.g.cs | 1 + .../GetMgReportUserInsightMonthlySummary_Get.g.cs | 1 + .../GetMgReportUserInsightMonthlySummary_List.g.cs | 1 + .../Beta/Cmdlets/UpdateMgAdminReportSetting.g.cs | 14 -------------- .../UpdateMgAdminReportSettingSharePoint.g.cs | 14 -------------- ...eportSettingSharePointApiUsageReportMetric.g.cs | 14 -------------- .../Cmdlets/UpdateMgDeviceManagementReport.g.cs | 14 -------------- ...ReportAuthenticationMethodUserEventSummary.g.cs | 14 -------------- ...rtAuthenticationMethodUserMfaSignInSummary.g.cs | 14 -------------- ...ionMethodUserPasswordResetAndChangeSummary.g.cs | 14 -------------- ...AuthenticationMethodUserRegistrationDetail.g.cs | 14 -------------- .../Cmdlets/UpdateMgReportCorrelationIdentity.g.cs | 14 -------------- .../UpdateMgReportHealthMonitoringAlert.g.cs | 14 -------------- ...MgReportHealthMonitoringAlertConfiguration.g.cs | 14 -------------- .../UpdateMgReportIdentityAnalyticGroup.g.cs | 14 -------------- ...geContainerUsageSummaryUsageByDataLocation.g.cs | 14 -------------- ...rUsageSummaryUsageByDataLocationUsageByApp.g.cs | 14 -------------- .../Beta/Cmdlets/UpdateMgReportPartnerBilling.g.cs | 14 -------------- ...pdateMgReportPartnerBillingAggregatedUsage.g.cs | 14 -------------- ...gReportPartnerBillingAggregatedUsageBilled.g.cs | 14 -------------- .../UpdateMgReportPartnerBillingManifest.g.cs | 14 -------------- .../UpdateMgReportPartnerBillingOperation.g.cs | 14 -------------- ...UpdateMgReportPartnerBillingReconciliation.g.cs | 14 -------------- ...MgReportPartnerBillingReconciliationBilled.g.cs | 14 -------------- ...ReportPartnerBillingReconciliationUnbilled.g.cs | 14 -------------- .../Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs | 14 -------------- .../UpdateMgReportPartnerBillingUsageBilled.g.cs | 14 -------------- .../UpdateMgReportPartnerBillingUsageUnbilled.g.cs | 14 -------------- .../UpdateMgReportSlaAzureADAuthentication.g.cs | 14 -------------- .../Cmdlets/UpdateMgReportUserInsightDaily.g.cs | 14 -------------- ...ateMgReportUserInsightDailyMfaTelecomFraud.g.cs | 14 -------------- .../Cmdlets/UpdateMgReportUserInsightMonthly.g.cs | 14 -------------- ...gReportUserInsightMonthlyMfaRegisteredUser.g.cs | 14 -------------- 204 files changed, 174 insertions(+), 420 deletions(-) diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSetting.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSetting.g.cs index df1e4773bb5..0ec630c3880 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSetting.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSetting.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePoint.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePoint.g.cs index 07c03eeee99..dd98fbb3d15 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePoint.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePoint.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric.g.cs index acc6339b967..85a6177ebac 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric.g.cs @@ -19,6 +19,7 @@ public class GetMgAdminReportSettingSharePointApiUsageReportMetricCommand : Grap + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_Get.g.cs index ebf9595c5b6..5609de72b1d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_List.g.cs index 3586dd12f9b..274125ec631 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAdminReportSettingSharePointApiUsageReportMetric_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType.g.cs index ced28ce4ee4..4f9eeef8ce0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType.g.cs @@ -19,6 +19,7 @@ public class GetMgAuditLogAuditActivityTypeCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_Get.g.cs index cf888b01ced..86f4a880fd6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_List.g.cs index 25d26374e64..78757bc27f6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogAuditActivityType_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit.g.cs index 806754cbe19..6faa6613368 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit.g.cs @@ -19,6 +19,7 @@ public class GetMgAuditLogCustomSecurityAttributeAuditCommand : GraphClientCmdle + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_Get.g.cs index 16e5950d2bd..bf075126571 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_List.g.cs index d8cb9a41fdf..6d4a968f9de 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogCustomSecurityAttributeAudit_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit.g.cs index b6a1689fdc9..f6958f93c2c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit.g.cs @@ -19,6 +19,7 @@ public class GetMgAuditLogDirectoryAuditCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs index c06ce141bc2..3505e8b4fb3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs index f33a1615867..bcfe7d8a3e1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryAudit_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning.g.cs index 3115cd8597b..c04c7610694 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning.g.cs @@ -19,6 +19,7 @@ public class GetMgAuditLogDirectoryProvisioningCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_Get.g.cs index 1f939082ba3..20fc2c350a2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_List.g.cs index ae43ae76a08..e15fc1bf7cb 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogDirectoryProvisioning_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning.g.cs index a086386c8db..c45aa7340c7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning.g.cs @@ -19,6 +19,7 @@ public class GetMgAuditLogProvisioningCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs index 6610b364563..02e25ee5866 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_List.g.cs index df8edfbcec7..b360621b6eb 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogProvisioning_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn.g.cs index 47200bf5196..ea0eed61dda 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn.g.cs @@ -19,6 +19,7 @@ public class GetMgAuditLogSignInCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary.g.cs index fc5fd046231..c41ca400f7c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary.g.cs @@ -19,6 +19,7 @@ public class GetMgAuditLogSignInEventAppSummaryCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryApplication.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryApplication.g.cs index 20d1309c64d..6321bad3ed0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryApplication.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummaryApplication.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_Get.g.cs index 9f25096f85d..6248f96648f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_List.g.cs index 47ff964f921..d88947c93dd 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventAppSummary_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary.g.cs index 5e0f131d522..cd67a1a17de 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary.g.cs @@ -19,6 +19,7 @@ public class GetMgAuditLogSignInEventSummaryCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_Get.g.cs index f5276a3f096..b518d84a8bc 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_List.g.cs index 17715e3e6cc..7298e9b2abe 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignInEventSummary_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_Get.g.cs index 737065a9f9f..ff13aeda614 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_List.g.cs index 941a452cc3a..102892e15cf 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignIn_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp.g.cs index d95685259cc..89d13bd019b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp.g.cs @@ -19,6 +19,7 @@ public class GetMgAuditLogSignUpCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_Get.g.cs index 2f7838fdb73..1a6de3850dc 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_List.g.cs index 41241423d47..5dba51ecd9b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgAuditLogSignUp_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReport.g.cs index 06d31577ee5..b61945b9513 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReport.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration.g.cs index 24b90f89f57..bb3add8a667 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration.g.cs @@ -19,6 +19,7 @@ public class GetMgDeviceManagementReportCachedReportConfigurationCommand : Graph + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_Get.g.cs index b6310f0fc2d..3799fc7af2f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_List.g.cs index 5f5123f732e..0d67bd4bf4f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportCachedReportConfiguration_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob.g.cs index 2257913862f..63b86be9c69 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob.g.cs @@ -19,6 +19,7 @@ public class GetMgDeviceManagementReportExportJobCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs index 5cb423b9954..84a5071e30c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs index cda28764c18..fc75c090965 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgDeviceManagementReportExportJob_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity.g.cs index ef7012289f8..9251bac2933 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity.g.cs @@ -19,6 +19,7 @@ public class GetMgReportAppCredentialSignInActivityCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_Get.g.cs index 5f94fcee603..6cdc266eadd 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_List.g.cs index 985a3ff3162..7ec09cb4731 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAppCredentialSignInActivity_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary.g.cs index 8ea688b521d..4aab855acf5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary.g.cs @@ -19,6 +19,7 @@ public class GetMgReportApplicationSignInDetailedSummaryCommand : GraphClientCmd + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_Get.g.cs index baee3c933ab..4cbbee3d88c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_List.g.cs index 353070f051c..c73377be4f8 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportApplicationSignInDetailedSummary_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethod.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethod.g.cs index 1e68c97be37..8ac302a3802 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethod.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethod.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary.g.cs index 085edd16c26..1852633b6f0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary.g.cs @@ -19,6 +19,7 @@ public class GetMgReportAuthenticationMethodUserEventSummaryCommand : GraphClien + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_Get.g.cs index ca308504718..b48dad4a26f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_List.g.cs index c8a196caa01..e2e3980b909 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserEventSummary_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary.g.cs index e736b93fc57..e61b326660f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary.g.cs @@ -19,6 +19,7 @@ public class GetMgReportAuthenticationMethodUserMfaSignInSummaryCommand : GraphC + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_Get.g.cs index 8275f5abc2d..f55d6889488 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_List.g.cs index 71ab0c9bf67..c3bdb60f9cf 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserMfaSignInSummary_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs index 55ad4c40efc..784fb9f8917 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs @@ -19,6 +19,7 @@ public class GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummaryCom + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_Get.g.cs index 0496b413f2b..3ace2e9e0d2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_List.g.cs index b6a0494f5c6..fab395dc1f2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserPasswordResetAndChangeSummary_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail.g.cs index ac838a9be93..9f21ad557f9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail.g.cs @@ -19,6 +19,7 @@ public class GetMgReportAuthenticationMethodUserRegistrationDetailCommand : Grap + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs index 3097c858758..f6a797567da 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs index a21cbd01aea..db6ba163f24 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAuthenticationMethodUserRegistrationDetail_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureADPremiumLicenseInsight.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureADPremiumLicenseInsight.g.cs index dbdb706ff2d..07d50a3bf45 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureADPremiumLicenseInsight.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportAzureADPremiumLicenseInsight.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation.g.cs index 831e263e9e0..0cf4c7b4092 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation.g.cs @@ -19,6 +19,7 @@ public class GetMgReportCorrelationCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity.g.cs index 89cbd47b69c..8010fe25ce7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity.g.cs @@ -21,6 +21,7 @@ public class GetMgReportCorrelationIdentityCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_Get.g.cs index 1e5ffeb7499..ae2f443bd6b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_Get.g.cs @@ -52,6 +52,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_List.g.cs index 69fa733b44b..626237b1418 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationIdentity_List.g.cs @@ -94,6 +94,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationServicePrincipal.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationServicePrincipal.g.cs index 1cac709781c..71bb906c674 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationServicePrincipal.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelationServicePrincipal.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_Get.g.cs index 8cd93cc85ae..aaafebbf1a7 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_List.g.cs index 2609baa763b..f36645f3e58 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportCorrelation_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage.g.cs index 7f70b6242d5..6cdaaa64b58 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage.g.cs @@ -19,6 +19,7 @@ public class GetMgReportDailyPrintUsageCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter.g.cs index 7e9809d164a..d29c189d8a4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter.g.cs @@ -19,6 +19,7 @@ public class GetMgReportDailyPrintUsageByPrinterCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs index fc15d66763c..c35dfd099ba 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs index b69ede91737..b999670a8bf 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByPrinter_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser.g.cs index 7af7f11338a..00ddf18cdf5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser.g.cs @@ -19,6 +19,7 @@ public class GetMgReportDailyPrintUsageByUserCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs index bff2aff8adb..5f1596b191d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs index 9b5334c05f2..78878d93916 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsageByUser_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_Get.g.cs index c9848641542..386f296a608 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_List.g.cs index 9dcee1b2e59..b9e6da39611 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportDailyPrintUsage_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoring.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoring.g.cs index 964d2882054..e03ca7ab8f8 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoring.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoring.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert.g.cs index 42e5f70e217..f87b0e1f023 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert.g.cs @@ -19,6 +19,7 @@ public class GetMgReportHealthMonitoringAlertCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration.g.cs index 9435b17ec1c..bd649dcec66 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration.g.cs @@ -19,6 +19,7 @@ public class GetMgReportHealthMonitoringAlertConfigurationCommand : GraphClientC + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_Get.g.cs index b024860a154..2524648c99a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_List.g.cs index 46fb102d1d9..b2ca171cc18 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlertConfiguration_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_Get.g.cs index 123c6eb7743..5f78df8e7c6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_List.g.cs index 92ab55b5363..d7bb786dc76 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportHealthMonitoringAlert_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalytic.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalytic.g.cs index 6039179f0bd..75c210e06d8 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalytic.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalytic.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup.g.cs index df6acec1880..c9dac7db0a5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup.g.cs @@ -19,6 +19,7 @@ public class GetMgReportIdentityAnalyticGroupCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_Get.g.cs index 9d456bccf02..8fcd9e7f7e2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_List.g.cs index 33e0e3fa825..23ccd5f14e6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportIdentityAnalyticGroup_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs index c2a4afdacee..e1ece88aad6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummary.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs index 54512df155b..c4170e7b9ea 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs @@ -19,6 +19,7 @@ public class GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataL + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs index 27e720d9706..f5bae664f1c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs @@ -21,6 +21,7 @@ public class GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataL + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_Get.g.cs index cbfe32bf6f1..b8148b91ce5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_Get.g.cs @@ -52,6 +52,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_List.g.cs index 1428bc36850..b5ec685a8a3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp_List.g.cs @@ -94,6 +94,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_Get.g.cs index 41281fd6429..116930f4cf5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_List.g.cs index c1eb022de80..3d5ec53eb59 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter.g.cs index 78c50870193..82470fd3df2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter.g.cs @@ -19,6 +19,7 @@ public class GetMgReportMonthlyPrintUsageByPrinterCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs index c6500423da0..83185151605 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs index bb1acc3953e..1353688341b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByPrinter_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser.g.cs index 7d7a09982a0..30100d4f944 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser.g.cs @@ -19,6 +19,7 @@ public class GetMgReportMonthlyPrintUsageByUserCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs index 8ce0a10c6d2..c4f5007c055 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs index 95f6178cfa8..00bd26f7fa5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportMonthlyPrintUsageByUser_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartner.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartner.g.cs index 4ce391393ef..99334f29678 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartner.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartner.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBilling.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBilling.g.cs index d317a390b3b..26fe1530ad6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBilling.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBilling.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsage.g.cs index 2e56208dbc7..6d22ca28403 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsage.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsage.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsageBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsageBilled.g.cs index 0d1112cddc3..557129d57cd 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsageBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingAggregatedUsageBilled.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest.g.cs index a1ff1788398..27a7ba86082 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest.g.cs @@ -19,6 +19,7 @@ public class GetMgReportPartnerBillingManifestCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs index c70ac3b40af..8262269380d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs index 4d881b680eb..32b59702fe6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingManifest_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation.g.cs index 7b5fedee8fa..b910a44fb66 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation.g.cs @@ -19,6 +19,7 @@ public class GetMgReportPartnerBillingOperationCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs index 9b8e95ab342..7ce7f6ad274 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs index b147a1fbb0a..e06e998a0c3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingOperation_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs index 1ed1e3f2bcd..0e28821794a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliation.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs index ac98232c7e6..79b36cbca21 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationBilled.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs index 7d570101c24..3e25b90425c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingReconciliationUnbilled.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsage.g.cs index a97e3e6bc3f..9c6cc43578e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsage.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsage.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs index 87df3b368f8..3fd0998a343 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageBilled.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs index 6e6ba37088c..5f81d92a593 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportPartnerBillingUsageUnbilled.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurity.g.cs index bf3519d24aa..a247ff8bf1d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurity.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSecurity.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServiceActivity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServiceActivity.g.cs index 5f05bf4aa82..81fb47a25ae 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServiceActivity.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServiceActivity.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity.g.cs index b7b47e4874a..311bd5347de 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity.g.cs @@ -19,6 +19,7 @@ public class GetMgReportServicePrincipalSignInActivityCommand : GraphClientCmdle + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_Get.g.cs index ddbb1745652..0c708e9c93b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_List.g.cs index d6a23eef6f9..f8590ccc234 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportServicePrincipalSignInActivity_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSla.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSla.g.cs index 6740bfd467b..104bfdebca5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSla.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSla.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSlaAzureADAuthentication.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSlaAzureADAuthentication.g.cs index 58ac1ac86c0..d70d55dbed8 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSlaAzureADAuthentication.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportSlaAzureADAuthentication.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsight.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsight.g.cs index e171af33f69..ccb5ec6549e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsight.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsight.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDaily.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDaily.g.cs index db299cf45c3..e0955ba0008 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDaily.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDaily.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser.g.cs index 1cbb4a8a547..a327204fab9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightDailyActiveUserCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_Get.g.cs index d9cad5ec3c9..b8a5a7c6232 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_List.g.cs index e547511c3b5..c6040acd68e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyActiveUser_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication.g.cs index dfb2684d6ac..d5b9ca65030 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightDailyAuthenticationCommand : GraphClientCmdle + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_Get.g.cs index 0ead18ef619..5da037aad86 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_List.g.cs index 84623fab7c1..885bcfd6e37 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyAuthentication_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser.g.cs index 208f164a69f..753defeba4b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightDailyInactiveUserCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_Get.g.cs index 44dc58b6ed1..f96ab90b756 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_List.g.cs index 3b463e09c12..818ed879571 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyInactiveUser_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion.g.cs index cb6f914acf6..42a94b01d52 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightDailyMfaCompletionCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_Get.g.cs index 55bd382d21d..8ececec3512 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_List.g.cs index 2c4c8f8dcc7..117585e6e46 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaCompletion_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud.g.cs index 89fb09c3ac0..c468b8e51f6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightDailyMfaTelecomFraudCommand : GraphClientCmdl + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_Get.g.cs index f8f1418e2cf..66e2ad6d2a1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_List.g.cs index b6eb932fb5a..9eea0318558 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyMfaTelecomFraud_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp.g.cs index 7e89bf438aa..ce4138ef11c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightDailySignUpCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_Get.g.cs index b5b49c6c9da..3c91310c2fe 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_List.g.cs index 3eb4fdefbc0..02b327b5f68 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySignUp_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary.g.cs index 2c0198e7ae1..f01a61f8f43 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightDailySummaryCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_Get.g.cs index 419709dffd4..fbf3982a6e0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_List.g.cs index 33e1865ac55..a803e1e54f0 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailySummary_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount.g.cs index e84551e0ad3..259d894643f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightDailyUserCountCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_Get.g.cs index 2ea4e5f7fdc..831ce3e3d35 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_List.g.cs index fed99a00dc6..9c685b66d93 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightDailyUserCount_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthly.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthly.g.cs index c995b9988b9..989390d8f78 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthly.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthly.g.cs @@ -49,6 +49,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser.g.cs index 4cd22e6b4ed..3e9b8b1d1e4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightMonthlyActiveUserCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_Get.g.cs index 84e011eefc1..baa7189e667 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_List.g.cs index 0e45b61292e..26966bc9c4c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyActiveUser_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication.g.cs index 120980fa1c5..12322b2850a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightMonthlyAuthenticationCommand : GraphClientCmd + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_Get.g.cs index ac64c7b6e72..f12bfb57687 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_List.g.cs index d5b95bf06c1..911a05e0176 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyAuthentication_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser.g.cs index 650cef7a556..39d8fb52541 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightMonthlyInactiveUserCommand : GraphClientCmdle + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_Get.g.cs index da6d79349c2..f19505e7553 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_List.g.cs index 3687e61ef6c..125ccbf5f4f 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyInactiveUser_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion.g.cs index 0a943890a58..7323cf4ab2a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightMonthlyMfaCompletionCommand : GraphClientCmdl + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_Get.g.cs index 9820ee54c1d..ed42f3d0f95 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_List.g.cs index 9f0891b32b5..7866fb26463 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaCompletion_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser.g.cs index 2d4729dc81c..f97dfd3dffa 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightMonthlyMfaRegisteredUserCommand : GraphClient + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_Get.g.cs index 488c4e47a93..4d4b43e6509 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_List.g.cs index 2464cd2b834..36fab1b3f12 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyMfaRegisteredUser_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest.g.cs index eb06042d8d3..17ddbc156fb 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightMonthlyRequestCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_Get.g.cs index 9375bf42320..2bbae4fae2d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_List.g.cs index 26a8e9e973f..139d0566d99 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlyRequest_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp.g.cs index a05a54c363e..38dfa42b07e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightMonthlySignUpCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_Get.g.cs index 315d5f73be5..8e6211cfc37 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_List.g.cs index 049ce202e7a..bb7e0e65838 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySignUp_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary.g.cs index 585365444c8..7a25b5424d1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary.g.cs @@ -19,6 +19,7 @@ public class GetMgReportUserInsightMonthlySummaryCommand : GraphClientCmdlet + [Parameter(Mandatory = false)] [Alias("Select")] public string[]? Property { get; set; } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_Get.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_Get.g.cs index 147bbadce40..d82fbf53dd5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_Get.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_Get.g.cs @@ -50,6 +50,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_List.g.cs b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_List.g.cs index 93a16dafc7b..8e9db0a004d 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_List.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/GetMgReportUserInsightMonthlySummary_List.g.cs @@ -93,6 +93,7 @@ protected override void ProcessRecord() + AddRequestHeaders(requestConfiguration.Headers); }).GetAwaiter().GetResult(); diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSetting.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSetting.g.cs index 15d88463b2c..9b1708ca665 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSetting.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSetting.g.cs @@ -58,20 +58,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Admin.ReportSettings.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePoint.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePoint.g.cs index 3257dff941c..a833af4ed04 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePoint.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePoint.g.cs @@ -54,20 +54,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Admin.ReportSettings.SharePoint.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePointApiUsageReportMetric.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePointApiUsageReportMetric.g.cs index 6c685d4b048..13670e9690c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePointApiUsageReportMetric.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgAdminReportSettingSharePointApiUsageReportMetric.g.cs @@ -63,20 +63,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Admin.ReportSettings.SharePoint.ApiUsageReportMetrics[ApiUsageReportEnablementStatusMetric].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ApiUsageReportEnablementStatusMetric); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReport.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReport.g.cs index 089a9f0c201..dcdcdee2212 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReport.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgDeviceManagementReport.g.cs @@ -54,20 +54,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.DeviceManagement.Reports.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserEventSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserEventSummary.g.cs index f49967a0983..ffe7e271843 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserEventSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserEventSummary.g.cs @@ -93,20 +93,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.AuthenticationMethods.UserEventsSummary[UserEventsSummaryId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, UserEventsSummaryId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserMfaSignInSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserMfaSignInSummary.g.cs index dd9bde99448..594b25081c9 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserMfaSignInSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserMfaSignInSummary.g.cs @@ -77,20 +77,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.AuthenticationMethods.UserMfaSignInSummary[UserMfaSignInSummaryId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, UserMfaSignInSummaryId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs index 35e179c7f79..cc8c4b3c01b 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserPasswordResetAndChangeSummary.g.cs @@ -77,20 +77,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.AuthenticationMethods.UserPasswordResetsAndChangesSummary[UserPasswordResetsAndChangesSummaryId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, UserPasswordResetsAndChangesSummaryId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs index 9a13de0368f..becfda10c36 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportAuthenticationMethodUserRegistrationDetail.g.cs @@ -147,20 +147,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.AuthenticationMethods.UserRegistrationDetails[UserRegistrationDetailsId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, UserRegistrationDetailsId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCorrelationIdentity.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCorrelationIdentity.g.cs index cacbcf9e8b7..6e4e5cc61a2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCorrelationIdentity.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportCorrelationIdentity.g.cs @@ -83,20 +83,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Correlations[IdentityCorrelationId].Identities[CorrelatedIdentityId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, CorrelatedIdentityId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlert.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlert.g.cs index 761906441e2..5f59ffc7ae5 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlert.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlert.g.cs @@ -99,20 +99,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.HealthMonitoring.Alerts[AlertId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, AlertId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlertConfiguration.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlertConfiguration.g.cs index 7427e74f943..b5915c812c1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlertConfiguration.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportHealthMonitoringAlertConfiguration.g.cs @@ -59,20 +59,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.HealthMonitoring.AlertConfigurations[AlertConfigurationId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, AlertConfigurationId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportIdentityAnalyticGroup.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportIdentityAnalyticGroup.g.cs index 45b9c98bd95..27df7890ec6 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportIdentityAnalyticGroup.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportIdentityAnalyticGroup.g.cs @@ -255,20 +255,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.IdentityAnalytics.Groups[GroupAnalyticsId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, GroupAnalyticsId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs index 6ec231c9e08..50b48588106 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocation.g.cs @@ -55,20 +55,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.MicrosoftAppsFileStorageContainerUsageSummary.UsageByDataLocation[MicrosoftAppsFileStorageContainerGeoUsageDataLocationCode].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, MicrosoftAppsFileStorageContainerGeoUsageDataLocationCode); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs index 9d65722b4c7..5effb79fd5e 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportMicrosoftAppFileStorageContainerUsageSummaryUsageByDataLocationUsageByApp.g.cs @@ -57,20 +57,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.MicrosoftAppsFileStorageContainerUsageSummary.UsageByDataLocation[MicrosoftAppsFileStorageContainerGeoUsageDataLocationCode].UsageByApp[MicrosoftAppsFileStorageContainerAppUsageAppId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, MicrosoftAppsFileStorageContainerAppUsageAppId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBilling.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBilling.g.cs index a994a84ca91..e6178c4251c 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBilling.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBilling.g.cs @@ -70,20 +70,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsage.g.cs index 1d4d3d49e35..7347bf68eb4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsage.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsage.g.cs @@ -58,20 +58,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.AggregatedUsage.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsageBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsageBilled.g.cs index b848bc0276f..900f09d642a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsageBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingAggregatedUsageBilled.g.cs @@ -54,20 +54,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.AggregatedUsage.Billed.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs index 6e785838d5a..4fc521f7616 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingManifest.g.cs @@ -111,20 +111,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Manifests[ManifestId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, ManifestId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs index 25675433730..1c0b99eda65 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingOperation.g.cs @@ -69,20 +69,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Operations[OperationId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, OperationId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs index e41ebb5a71b..f48025a5109 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliation.g.cs @@ -64,20 +64,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Reconciliation.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs index d6cf7210c99..b4263d0ba8a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationBilled.g.cs @@ -54,20 +54,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Reconciliation.Billed.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs index b0b7719f5b1..f72b931adf4 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingReconciliationUnbilled.g.cs @@ -54,20 +54,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Reconciliation.Unbilled.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs index 3944f70af2e..c48b40efdc1 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsage.g.cs @@ -64,20 +64,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Usage.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs index c1610c11ec8..f00501e81c2 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageBilled.g.cs @@ -54,20 +54,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Usage.Billed.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs index 45f347d66c9..5d188ffd692 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportPartnerBillingUsageUnbilled.g.cs @@ -54,20 +54,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Partners.Billing.Usage.Unbilled.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSlaAzureADAuthentication.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSlaAzureADAuthentication.g.cs index ad6b23c1b94..4198a3944c3 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSlaAzureADAuthentication.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportSlaAzureADAuthentication.g.cs @@ -58,20 +58,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.Sla.AzureADAuthentication.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDaily.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDaily.g.cs index 51844d12ea4..52c6d491a4a 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDaily.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDaily.g.cs @@ -54,20 +54,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.UserInsights.Daily.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDailyMfaTelecomFraud.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDailyMfaTelecomFraud.g.cs index d627e894a37..53fc09947cd 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDailyMfaTelecomFraud.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightDailyMfaTelecomFraud.g.cs @@ -89,20 +89,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.UserInsights.Daily.MfaTelecomFraud[MfaTelecomFraudMetricId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, MfaTelecomFraudMetricId); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthly.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthly.g.cs index 86afebcb4ae..0832eb84e28 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthly.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthly.g.cs @@ -54,20 +54,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.UserInsights.Monthly.GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, null); - return; - } - } if (result is not null) WriteObject(result); } diff --git a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthlyMfaRegisteredUser.g.cs b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthlyMfaRegisteredUser.g.cs index e4b3fb0a4d5..2c59abfd183 100644 --- a/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthlyMfaRegisteredUser.g.cs +++ b/src/Reports/wrapper/Beta/Cmdlets/UpdateMgReportUserInsightMonthlyMfaRegisteredUser.g.cs @@ -69,20 +69,6 @@ protected override void ProcessRecord() return; } - - if (result is null) - { - WriteVerbose("PATCH succeeded with no response body, re-fetching the updated resource."); - try - { - result = client.Reports.UserInsights.Monthly.MfaRegisteredUsers[MfaUserCountMetricId].GetAsync().GetAwaiter().GetResult(); - } - catch (Exception ex) when (ex is not PipelineStoppedException && ex is not OperationCanceledException) - { - ThrowGraphRequestFailed(ex, MfaUserCountMetricId); - return; - } - } if (result is not null) WriteObject(result); }