diff --git a/src/Reports/Reports.md b/src/Reports/Reports.md
index c5dcb500064..0184707c096 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,64 @@ 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. 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 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).*
# 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/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/CredentialUserRegistrationDetailsCollectionResponse.cs b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyRule.cs
similarity index 56%
rename from src/Reports/wrapper/Beta/Client/Models/CredentialUserRegistrationDetailsCollectionResponse.cs
rename to src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyRule.cs
index 684dfac16c1..b5151c90dd1 100644
--- a/src/Reports/wrapper/Beta/Client/Models/CredentialUserRegistrationDetailsCollectionResponse.cs
+++ b/src/Reports/wrapper/Beta/Client/Models/IdentityGovernance/LifecyclePolicyRule.cs
@@ -5,30 +5,24 @@
using System.Collections.Generic;
using System.IO;
using System;
-namespace Microsoft.Graph.PowerShell.Reports.Client.Models
+namespace Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance
{
[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
+ public partial class LifecyclePolicyRule : global::Microsoft.Graph.PowerShell.Reports.Client.Models.Entity, 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
+ /// 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
+ /// 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)
+ 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.CredentialUserRegistrationDetailsCollectionResponse();
+ return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.IdentityGovernance.LifecyclePolicyRule();
}
///
/// The deserialization information for the current model
@@ -38,7 +32,7 @@ public override IDictionary> GetFieldDeserializers()
{
return new Dictionary>(base.GetFieldDeserializers())
{
- { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.CredentialUserRegistrationDetails.CreateFromDiscriminatorValue)?.AsList(); } },
+ { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } },
};
}
///
@@ -49,7 +43,7 @@ public override void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
base.Serialize(writer);
- writer.WriteCollectionOfObjectValues("value", Value);
+ writer.WriteBoolValue("isEnabled", IsEnabled);
}
}
}
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/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/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/UserCredentialUsageDetailsCollectionResponse.cs b/src/Reports/wrapper/Beta/Client/Models/Partners/Billing/AzureAggregatedUsage.cs
similarity index 60%
rename from src/Reports/wrapper/Beta/Client/Models/UserCredentialUsageDetailsCollectionResponse.cs
rename to src/Reports/wrapper/Beta/Client/Models/Partners/Billing/AzureAggregatedUsage.cs
index db4c256a56d..84939330dc0 100644
--- a/src/Reports/wrapper/Beta/Client/Models/UserCredentialUsageDetailsCollectionResponse.cs
+++ b/src/Reports/wrapper/Beta/Client/Models/Partners/Billing/AzureAggregatedUsage.cs
@@ -5,30 +5,30 @@
using System.Collections.Generic;
using System.IO;
using System;
-namespace Microsoft.Graph.PowerShell.Reports.Client.Models
+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 UserCredentialUsageDetailsCollectionResponse : global::Microsoft.Graph.PowerShell.Reports.Client.Models.BaseCollectionPaginationCountResponse, IParsable
+ public partial class AzureAggregatedUsage : global::Microsoft.Graph.PowerShell.Reports.Client.Models.Entity, IParsable
#pragma warning restore CS1591
{
- /// The value property
+ /// The billed property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? Value { get; set; }
+ public global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage? Billed { get; set; }
#nullable restore
#else
- public List Value { get; set; }
+ 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
+ /// 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)
+ 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.UserCredentialUsageDetailsCollectionResponse();
+ return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.AzureAggregatedUsage();
}
///
/// The deserialization information for the current model
@@ -38,7 +38,7 @@ public override IDictionary> GetFieldDeserializers()
{
return new Dictionary>(base.GetFieldDeserializers())
{
- { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.UserCredentialUsageDetails.CreateFromDiscriminatorValue)?.AsList(); } },
+ { "billed", n => { Billed = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage.CreateFromDiscriminatorValue); } },
};
}
///
@@ -49,7 +49,7 @@ public override void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
base.Serialize(writer);
- writer.WriteCollectionOfObjectValues("value", Value);
+ writer.WriteObjectValue("billed", Billed);
}
}
}
diff --git a/src/Reports/wrapper/Beta/Client/Models/DailyInactiveUsersByApplicationMetricCollectionResponse.cs b/src/Reports/wrapper/Beta/Client/Models/Partners/Billing/BilledAggregatedUsage.cs
similarity index 55%
rename from src/Reports/wrapper/Beta/Client/Models/DailyInactiveUsersByApplicationMetricCollectionResponse.cs
rename to src/Reports/wrapper/Beta/Client/Models/Partners/Billing/BilledAggregatedUsage.cs
index 5591cb793be..acb81a73a57 100644
--- a/src/Reports/wrapper/Beta/Client/Models/DailyInactiveUsersByApplicationMetricCollectionResponse.cs
+++ b/src/Reports/wrapper/Beta/Client/Models/Partners/Billing/BilledAggregatedUsage.cs
@@ -5,30 +5,22 @@
using System.Collections.Generic;
using System.IO;
using System;
-namespace Microsoft.Graph.PowerShell.Reports.Client.Models
+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 DailyInactiveUsersByApplicationMetricCollectionResponse : global::Microsoft.Graph.PowerShell.Reports.Client.Models.BaseCollectionPaginationCountResponse, IParsable
+ public partial class BilledAggregatedUsage : global::Microsoft.Graph.PowerShell.Reports.Client.Models.Entity, 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
+ /// 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)
+ 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.DailyInactiveUsersByApplicationMetricCollectionResponse();
+ return new global::Microsoft.Graph.PowerShell.Reports.Client.Models.Partners.Billing.BilledAggregatedUsage();
}
///
/// The deserialization information for the current model
@@ -38,7 +30,6 @@ public override IDictionary> GetFieldDeserializers()
{
return new Dictionary>(base.GetFieldDeserializers())
{
- { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Reports.Client.Models.DailyInactiveUsersByApplicationMetric.CreateFromDiscriminatorValue)?.AsList(); } },
};
}
///
@@ -49,7 +40,6 @@ public override void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
base.Serialize(writer);
- writer.WriteCollectionOfObjectValues("value", Value);
}
}
}
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/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