diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/ApplicableCatalogSummariesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/ApplicableCatalogSummariesRequestBuilder.cs
new file mode 100644
index 000000000000..ea7fb7c86894
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/ApplicableCatalogSummariesRequestBuilder.cs
@@ -0,0 +1,184 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count;
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries
+{
+ ///
+ /// Provides operations to manage the applicableCatalogSummaries property of the microsoft.graph.windowsUpdates.updateData entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ApplicableCatalogSummariesRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the applicableCatalogSummaries property of the microsoft.graph.windowsUpdates.updateData entity.
+ /// The unique identifier of applicableCatalogSummary
+ /// A
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("applicableCatalogSummary%2Did", position);
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder(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 ApplicableCatalogSummariesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries{?%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 ApplicableCatalogSummariesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Get a list of applicableCatalogSummary resources aggregated across Windows Autopatch policies.
+ /// 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
+#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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalogSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get a list of applicableCatalogSummary resources aggregated across Windows Autopatch policies.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.ApplicableCatalogSummariesRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.ApplicableCatalogSummariesRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get a list of applicableCatalogSummary resources aggregated across Windows Autopatch policies.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ApplicableCatalogSummariesRequestBuilderGetQueryParameters
+ {
+ /// 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 ApplicableCatalogSummariesRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..174bd2ed0f32
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Count/CountRequestBuilder.cs
@@ -0,0 +1,124 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.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.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ [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}/admin/windows/updates/data/applicableCatalogSummaries/$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}/admin/windows/updates/data/applicableCatalogSummaries/$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
+#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.Beta.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.
+#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.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.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/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/AggregatedDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/AggregatedDevicesRequestBuilder.cs
new file mode 100644
index 000000000000..6430460a8e4f
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/AggregatedDevicesRequestBuilder.cs
@@ -0,0 +1,184 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count;
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices
+{
+ ///
+ /// Provides operations to manage the aggregatedDevices property of the microsoft.graph.windowsUpdates.applicableCatalogSummary entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AggregatedDevicesRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the aggregatedDevices property of the microsoft.graph.windowsUpdates.applicableCatalogSummary entity.
+ /// The unique identifier of applicableDevice
+ /// A
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("applicableDevice%2Did", position);
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder(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 AggregatedDevicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/aggregatedDevices{?%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 AggregatedDevicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/aggregatedDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Get the applicableDevice resources included in an update applicability summary.
+ /// 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
+#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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get the applicableDevice resources included in an update applicability summary.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.AggregatedDevicesRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.AggregatedDevicesRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get the applicableDevice resources included in an update applicability summary.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AggregatedDevicesRequestBuilderGetQueryParameters
+ {
+ /// 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 AggregatedDevicesRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..34ad09ba4f00
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/Count/CountRequestBuilder.cs
@@ -0,0 +1,124 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.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.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ [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}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/aggregatedDevices/$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}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/aggregatedDevices/$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
+#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.Beta.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.
+#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.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.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/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/Item/ApplicableDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/Item/ApplicableDeviceItemRequestBuilder.cs
new file mode 100644
index 000000000000..3dd5005f4add
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/AggregatedDevices/Item/ApplicableDeviceItemRequestBuilder.cs
@@ -0,0 +1,125 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item
+{
+ ///
+ /// Provides operations to manage the aggregatedDevices property of the microsoft.graph.windowsUpdates.applicableCatalogSummary entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ApplicableDeviceItemRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public ApplicableDeviceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/aggregatedDevices/{applicableDevice%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 ApplicableDeviceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/aggregatedDevices/{applicableDevice%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// The devices included in the applicability summary.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// The devices included in the applicability summary.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.Item.ApplicableDeviceItemRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// The devices included in the applicability summary.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ApplicableDeviceItemRequestBuilderGetQueryParameters
+ {
+ /// 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 ApplicableDeviceItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/ApplicableCatalogSummaryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/ApplicableCatalogSummaryItemRequestBuilder.cs
new file mode 100644
index 000000000000..1f1e9af31201
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/ApplicableCatalogSummaryItemRequestBuilder.cs
@@ -0,0 +1,137 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices;
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item
+{
+ ///
+ /// Provides operations to manage the applicableCatalogSummaries property of the microsoft.graph.windowsUpdates.updateData entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ApplicableCatalogSummaryItemRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to manage the aggregatedDevices property of the microsoft.graph.windowsUpdates.applicableCatalogSummary entity.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.AggregatedDevicesRequestBuilder AggregatedDevices
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.AggregatedDevices.AggregatedDevicesRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableCatalogSummary entity.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.CatalogEntryRequestBuilder CatalogEntry
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.CatalogEntryRequestBuilder(PathParameters, RequestAdapter);
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public ApplicableCatalogSummaryItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%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 ApplicableCatalogSummaryItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Catalog applicability aggregated across Autopatch policies. Read-only.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalogSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Catalog applicability aggregated across Autopatch policies. Read-only.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.ApplicableCatalogSummaryItemRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Catalog applicability aggregated across Autopatch policies. Read-only.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ApplicableCatalogSummaryItemRequestBuilderGetQueryParameters
+ {
+ /// 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 ApplicableCatalogSummaryItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/CatalogEntry/CatalogEntryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/CatalogEntry/CatalogEntryRequestBuilder.cs
new file mode 100644
index 000000000000..b36c991d2b00
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/ApplicableCatalogSummaries/Item/CatalogEntry/CatalogEntryRequestBuilder.cs
@@ -0,0 +1,125 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry
+{
+ ///
+ /// Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableCatalogSummary entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CatalogEntryRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CatalogEntryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/catalogEntry{?%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 CatalogEntryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/applicableCatalogSummaries/{applicableCatalogSummary%2Did}/catalogEntry{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// The associated Windows update catalog entry.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.CatalogEntry.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// The associated Windows update catalog entry.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.CatalogEntryRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.Item.CatalogEntry.CatalogEntryRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// The associated Windows update catalog entry.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CatalogEntryRequestBuilderGetQueryParameters
+ {
+ /// 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 CatalogEntryRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DataRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DataRequestBuilder.cs
new file mode 100644
index 000000000000..f844e623d325
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DataRequestBuilder.cs
@@ -0,0 +1,253 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries;
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles;
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers;
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data
+{
+ ///
+ /// Provides operations to manage the data property of the microsoft.graph.adminWindowsUpdates entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DataRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to manage the applicableCatalogSummaries property of the microsoft.graph.windowsUpdates.updateData entity.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.ApplicableCatalogSummariesRequestBuilder ApplicableCatalogSummaries
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.ApplicableCatalogSummaries.ApplicableCatalogSummariesRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the deviceProfiles property of the microsoft.graph.windowsUpdates.updateData entity.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.DeviceProfilesRequestBuilder DeviceProfiles
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.DeviceProfilesRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the drivers property of the microsoft.graph.windowsUpdates.updateData entity.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.DriversRequestBuilder Drivers
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.DriversRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the policyAssignments property of the microsoft.graph.windowsUpdates.updateData entity.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.PolicyAssignmentsRequestBuilder PolicyAssignments
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.PolicyAssignmentsRequestBuilder(PathParameters, RequestAdapter);
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public DataRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data{?%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 DataRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Delete navigation property data for admin
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToDeleteRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Read-only Windows Autopatch device, policy assignment, applicability, and driver reporting data.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Update the navigation property data in admin
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Delete navigation property data for admin
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Read-only Windows Autopatch device, policy assignment, applicability, and driver reporting data.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Update the navigation property data in admin
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdateData body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DataRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DataRequestBuilder(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 DataRequestBuilderDeleteRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Read-only Windows Autopatch device, policy assignment, applicability, and driver reporting data.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DataRequestBuilderGetQueryParameters
+ {
+ /// 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 DataRequestBuilderGetRequestConfiguration : 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 DataRequestBuilderPatchRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..39bd3ec2c920
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/Count/CountRequestBuilder.cs
@@ -0,0 +1,124 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.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.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ [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}/admin/windows/updates/data/deviceProfiles/$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}/admin/windows/updates/data/deviceProfiles/$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
+#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.Beta.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.
+#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.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.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/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/DeviceProfilesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/DeviceProfilesRequestBuilder.cs
new file mode 100644
index 000000000000..b7948a5c2968
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/DeviceProfilesRequestBuilder.cs
@@ -0,0 +1,184 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count;
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data.DeviceProfiles
+{
+ ///
+ /// Provides operations to manage the deviceProfiles property of the microsoft.graph.windowsUpdates.updateData entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DeviceProfilesRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the deviceProfiles property of the microsoft.graph.windowsUpdates.updateData entity.
+ /// The unique identifier of deviceProfile
+ /// A
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("deviceProfile%2Did", position);
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder(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 DeviceProfilesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/deviceProfiles{?%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 DeviceProfilesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/deviceProfiles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Get a list of deviceProfile resources and their Windows servicing information.
+ /// 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
+#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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get a list of deviceProfile resources and their Windows servicing information.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.DeviceProfilesRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.DeviceProfilesRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get a list of deviceProfile resources and their Windows servicing information.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DeviceProfilesRequestBuilderGetQueryParameters
+ {
+ /// 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 DeviceProfilesRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/Item/DeviceProfileItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/Item/DeviceProfileItemRequestBuilder.cs
new file mode 100644
index 000000000000..65ba4cf15842
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/DeviceProfiles/Item/DeviceProfileItemRequestBuilder.cs
@@ -0,0 +1,126 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item
+{
+ ///
+ /// Provides operations to manage the deviceProfiles property of the microsoft.graph.windowsUpdates.updateData entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DeviceProfileItemRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public DeviceProfileItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/deviceProfiles/{deviceProfile%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 DeviceProfileItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/deviceProfiles/{deviceProfile%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Get a deviceProfile resource and its Windows servicing information.
+ /// 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
+#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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get a deviceProfile resource and its Windows servicing information.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.DeviceProfiles.Item.DeviceProfileItemRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get a deviceProfile resource and its Windows servicing information.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DeviceProfileItemRequestBuilderGetQueryParameters
+ {
+ /// 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 DeviceProfileItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..720b0dc135dd
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Count/CountRequestBuilder.cs
@@ -0,0 +1,124 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.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.Beta.Admin.Windows.Updates.Data.Drivers.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ [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}/admin/windows/updates/data/drivers/$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}/admin/windows/updates/data/drivers/$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
+#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.Beta.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.
+#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.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.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/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/DriversRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/DriversRequestBuilder.cs
new file mode 100644
index 000000000000..48914c730c30
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/DriversRequestBuilder.cs
@@ -0,0 +1,184 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count;
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data.Drivers
+{
+ ///
+ /// Provides operations to manage the drivers property of the microsoft.graph.windowsUpdates.updateData entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DriversRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the drivers property of the microsoft.graph.windowsUpdates.updateData entity.
+ /// The unique identifier of driverUpdateReport
+ /// A
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("driverUpdateReport%2Did", position);
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder(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 DriversRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers{?%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 DriversRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Get a list of driverUpdateReport resources for driver and firmware updates available in the 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
+#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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get a list of driverUpdateReport resources for driver and firmware updates available in the tenant.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.DriversRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.DriversRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get a list of driverUpdateReport resources for driver and firmware updates available in the tenant.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DriversRequestBuilderGetQueryParameters
+ {
+ /// 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 DriversRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..89318de2a58c
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/Count/CountRequestBuilder.cs
@@ -0,0 +1,124 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.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.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ [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}/admin/windows/updates/data/drivers/{driverUpdateReport%2Did}/deviceStatuses/$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}/admin/windows/updates/data/drivers/{driverUpdateReport%2Did}/deviceStatuses/$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
+#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.Beta.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.
+#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.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.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/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs
new file mode 100644
index 000000000000..e022bc4f1517
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs
@@ -0,0 +1,184 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count;
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses
+{
+ ///
+ /// Provides operations to manage the deviceStatuses property of the microsoft.graph.windowsUpdates.driverUpdateReport entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DeviceStatusesRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the deviceStatuses property of the microsoft.graph.windowsUpdates.driverUpdateReport entity.
+ /// The unique identifier of driverUpdateDeviceStatus
+ /// A
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("driverUpdateDeviceStatus%2Did", position);
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder(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 DeviceStatusesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers/{driverUpdateReport%2Did}/deviceStatuses{?%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 DeviceStatusesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers/{driverUpdateReport%2Did}/deviceStatuses{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Get the driverUpdateDeviceStatus resources for a driver or firmware update.
+ /// 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
+#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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateDeviceStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get the driverUpdateDeviceStatus resources for a driver or firmware update.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.DeviceStatusesRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.DeviceStatusesRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get the driverUpdateDeviceStatus resources for a driver or firmware update.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DeviceStatusesRequestBuilderGetQueryParameters
+ {
+ /// 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 DeviceStatusesRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/Item/DriverUpdateDeviceStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/Item/DriverUpdateDeviceStatusItemRequestBuilder.cs
new file mode 100644
index 000000000000..a292185a6168
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DeviceStatuses/Item/DriverUpdateDeviceStatusItemRequestBuilder.cs
@@ -0,0 +1,126 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item
+{
+ ///
+ /// Provides operations to manage the deviceStatuses property of the microsoft.graph.windowsUpdates.driverUpdateReport entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DriverUpdateDeviceStatusItemRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public DriverUpdateDeviceStatusItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers/{driverUpdateReport%2Did}/deviceStatuses/{driverUpdateDeviceStatus%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 DriverUpdateDeviceStatusItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers/{driverUpdateReport%2Did}/deviceStatuses/{driverUpdateDeviceStatus%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Get a driverUpdateDeviceStatus resource for a driver or firmware update.
+ /// 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
+#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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get a driverUpdateDeviceStatus resource for a driver or firmware update.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.Item.DriverUpdateDeviceStatusItemRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get a driverUpdateDeviceStatus resource for a driver or firmware update.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DriverUpdateDeviceStatusItemRequestBuilderGetQueryParameters
+ {
+ /// 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 DriverUpdateDeviceStatusItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DriverUpdateReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DriverUpdateReportItemRequestBuilder.cs
new file mode 100644
index 000000000000..878c4df7f5d7
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/Drivers/Item/DriverUpdateReportItemRequestBuilder.cs
@@ -0,0 +1,131 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data.Drivers.Item
+{
+ ///
+ /// Provides operations to manage the drivers property of the microsoft.graph.windowsUpdates.updateData entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DriverUpdateReportItemRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to manage the deviceStatuses property of the microsoft.graph.windowsUpdates.driverUpdateReport entity.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.DeviceStatusesRequestBuilder DeviceStatuses
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DeviceStatuses.DeviceStatusesRequestBuilder(PathParameters, RequestAdapter);
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public DriverUpdateReportItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers/{driverUpdateReport%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 DriverUpdateReportItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/drivers/{driverUpdateReport%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Driver updates available in the tenant and their per-device rollout status. Read-only.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.DriverUpdateReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Driver updates available in the tenant and their per-device rollout status. Read-only.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.Drivers.Item.DriverUpdateReportItemRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Driver updates available in the tenant and their per-device rollout status. Read-only.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DriverUpdateReportItemRequestBuilderGetQueryParameters
+ {
+ /// 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 DriverUpdateReportItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..9114a3e963f8
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Count/CountRequestBuilder.cs
@@ -0,0 +1,124 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.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.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ [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}/admin/windows/updates/data/policyAssignments/$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}/admin/windows/updates/data/policyAssignments/$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
+#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.Beta.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.
+#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.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.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/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Item/DeviceProfile/DeviceProfileRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Item/DeviceProfile/DeviceProfileRequestBuilder.cs
new file mode 100644
index 000000000000..ce7b299c4c9f
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Item/DeviceProfile/DeviceProfileRequestBuilder.cs
@@ -0,0 +1,125 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile
+{
+ ///
+ /// Provides operations to manage the deviceProfile property of the microsoft.graph.windowsUpdates.policyAssignment entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DeviceProfileRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public DeviceProfileRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/policyAssignments/{policyAssignment%2Did}/deviceProfile{?%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 DeviceProfileRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/policyAssignments/{policyAssignment%2Did}/deviceProfile{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// The profile of the assigned device.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.DeviceProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// The profile of the assigned device.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.DeviceProfileRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.DeviceProfileRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// The profile of the assigned device.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DeviceProfileRequestBuilderGetQueryParameters
+ {
+ /// 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 DeviceProfileRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Item/PolicyAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Item/PolicyAssignmentItemRequestBuilder.cs
new file mode 100644
index 000000000000..559db4eb9700
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/Item/PolicyAssignmentItemRequestBuilder.cs
@@ -0,0 +1,132 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item
+{
+ ///
+ /// Provides operations to manage the policyAssignments property of the microsoft.graph.windowsUpdates.updateData entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PolicyAssignmentItemRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to manage the deviceProfile property of the microsoft.graph.windowsUpdates.policyAssignment entity.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.DeviceProfileRequestBuilder DeviceProfile
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.DeviceProfile.DeviceProfileRequestBuilder(PathParameters, RequestAdapter);
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public PolicyAssignmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/policyAssignments/{policyAssignment%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 PolicyAssignmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/policyAssignments/{policyAssignment%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Get a policyAssignment resource that associates a Windows Autopatch policy with a device.
+ /// 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
+#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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get a policyAssignment resource that associates a Windows Autopatch policy with a device.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get a policyAssignment resource that associates a Windows Autopatch policy with a device.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PolicyAssignmentItemRequestBuilderGetQueryParameters
+ {
+ /// 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 PolicyAssignmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/PolicyAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/PolicyAssignmentsRequestBuilder.cs
new file mode 100644
index 000000000000..5664092d3476
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Data/PolicyAssignments/PolicyAssignmentsRequestBuilder.cs
@@ -0,0 +1,184 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count;
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Data.PolicyAssignments
+{
+ ///
+ /// Provides operations to manage the policyAssignments property of the microsoft.graph.windowsUpdates.updateData entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PolicyAssignmentsRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the policyAssignments property of the microsoft.graph.windowsUpdates.updateData entity.
+ /// The unique identifier of policyAssignment
+ /// A
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("policyAssignment%2Did", position);
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.Item.PolicyAssignmentItemRequestBuilder(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 PolicyAssignmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/policyAssignments{?%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 PolicyAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/data/policyAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Get a list of policyAssignment resources that associate Windows Autopatch policies with devices.
+ /// 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
+#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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.PolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get a list of policyAssignment resources that associate Windows Autopatch policies with devices.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.PolicyAssignmentsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Data.PolicyAssignments.PolicyAssignmentsRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get a list of policyAssignment resources that associate Windows Autopatch policies with devices.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PolicyAssignmentsRequestBuilderGetQueryParameters
+ {
+ /// 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 PolicyAssignmentsRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/ApplicableCatalogsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/ApplicableCatalogsRequestBuilder.cs
new file mode 100644
index 000000000000..259a850471c5
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/ApplicableCatalogsRequestBuilder.cs
@@ -0,0 +1,184 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count;
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs
+{
+ ///
+ /// Provides operations to manage the applicableCatalogs property of the microsoft.graph.windowsUpdates.policy entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ApplicableCatalogsRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the applicableCatalogs property of the microsoft.graph.windowsUpdates.policy entity.
+ /// The unique identifier of applicableCatalog
+ /// A
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("applicableCatalog%2Did", position);
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.ApplicableCatalogItemRequestBuilder(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 ApplicableCatalogsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs{?%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 ApplicableCatalogsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// List catalog entries that are applicable to devices targeted by a Windows Autopatch policy.
+ /// 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
+#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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ApplicableCatalogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// List catalog entries that are applicable to devices targeted by a Windows Autopatch policy.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.ApplicableCatalogsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.ApplicableCatalogsRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// List catalog entries that are applicable to devices targeted by a Windows Autopatch policy.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ApplicableCatalogsRequestBuilderGetQueryParameters
+ {
+ /// 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 ApplicableCatalogsRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..e7805c3f5821
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Count/CountRequestBuilder.cs
@@ -0,0 +1,124 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.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.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ [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}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs/$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}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs/$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
+#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.Beta.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.
+#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.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.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/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/ApplicableCatalogItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/ApplicableCatalogItemRequestBuilder.cs
new file mode 100644
index 000000000000..cc26ecb8066c
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Policies/Item/ApplicableCatalogs/Item/ApplicableCatalogItemRequestBuilder.cs
@@ -0,0 +1,137 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry;
+using Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.WindowsUpdates;
+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.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item
+{
+ ///
+ /// Provides operations to manage the applicableCatalogs property of the microsoft.graph.windowsUpdates.policy entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ApplicableCatalogItemRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableCatalog entity.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.CatalogEntryRequestBuilder CatalogEntry
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.CatalogEntry.CatalogEntryRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the devices property of the microsoft.graph.windowsUpdates.applicableCatalog entity.
+ public global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.DevicesRequestBuilder Devices
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Windows.Updates.Policies.Item.ApplicableCatalogs.Item.Devices.DevicesRequestBuilder(PathParameters, RequestAdapter);
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public ApplicableCatalogItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableCatalogs/{applicableCatalog%2Did}{?%24expand,%24select}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new