diff --git a/.github/workflows/release-please-gha.yml b/.github/workflows/release-please-gha.yml
index c58ac27d15e..28f1d59d189 100644
--- a/.github/workflows/release-please-gha.yml
+++ b/.github/workflows/release-please-gha.yml
@@ -19,7 +19,7 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
- name: Generate GitHub App token
id: app-token
diff --git a/.github/workflows/validatePullRequest.yml b/.github/workflows/validatePullRequest.yml
index a880f153be6..fb688713ac0 100644
--- a/.github/workflows/validatePullRequest.yml
+++ b/.github/workflows/validatePullRequest.yml
@@ -19,9 +19,9 @@ jobs:
solutionName: Microsoft.Graph.Beta.sln
projectName: src/Microsoft.Graph/Microsoft.Graph.Beta.csproj
steps:
- - uses: actions/checkout@v4.2.2
+ - uses: actions/checkout@v5
- name: Setup .NET
- uses: actions/setup-dotnet@v4.3.1
+ uses: actions/setup-dotnet@v5.0.0
with:
dotnet-version: 8.x
- name: Restore dependencies
@@ -49,9 +49,9 @@ jobs:
language: [ 'csharp' ]
steps:
- name: Checkout repository
- uses: actions/checkout@v4.2.2
+ uses: actions/checkout@v5
- name: Initialize CodeQL
- uses: github/codeql-action/init@v3
+ uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
- name: Restore dependencies
@@ -59,4 +59,4 @@ jobs:
- name: Build for netstandard2.0
run: dotnet build ${{ env.projectName }} -f netstandard2.0 --no-restore -c Release --no-incremental
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v3
+ uses: github/codeql-action/analyze@v4
diff --git a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs
index 7677a8d9f2e..9717c8b8f28 100644
--- a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs
+++ b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs
@@ -525,7 +525,7 @@ public partial class BaseGraphServiceClient : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.PermissionGrants.PermissionGrantsRequestBuilder(PathParameters, RequestAdapter);
}
- /// The places property
+ /// Provides operations to manage the collection of place entities.
public global::Microsoft.Graph.Beta.Places.PlacesRequestBuilder Places
{
get => new global::Microsoft.Graph.Beta.Places.PlacesRequestBuilder(PathParameters, RequestAdapter);
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder.cs
index bfef3a32919..2f7d438e4e2 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder.cs
@@ -4,8 +4,11 @@
using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.ApproveApps;
using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CompleteSignup;
using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateGooglePlayWebToken;
+using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl;
using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestSignupUrl;
+using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RetrieveStoreLayout;
using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetAndroidDeviceOwnerFullyManagedEnrollmentState;
+using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetStoreLayout;
using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SyncApps;
using Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.Unbind;
using Microsoft.Graph.Beta.Models.ODataErrors;
@@ -46,16 +49,31 @@ public partial class AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.CreateGooglePlayWebToken.CreateGooglePlayWebTokenRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the requestEnterpriseUpgradeUrl method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.RequestEnterpriseUpgradeUrlRequestBuilder RequestEnterpriseUpgradeUrl
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.RequestEnterpriseUpgradeUrlRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the requestSignupUrl method.
public global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestSignupUrl.RequestSignupUrlRequestBuilder RequestSignupUrl
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestSignupUrl.RequestSignupUrlRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the retrieveStoreLayout method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RetrieveStoreLayout.RetrieveStoreLayoutRequestBuilder RetrieveStoreLayout
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RetrieveStoreLayout.RetrieveStoreLayoutRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the setAndroidDeviceOwnerFullyManagedEnrollmentState method.
public global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetAndroidDeviceOwnerFullyManagedEnrollmentState.SetAndroidDeviceOwnerFullyManagedEnrollmentStateRequestBuilder SetAndroidDeviceOwnerFullyManagedEnrollmentState
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetAndroidDeviceOwnerFullyManagedEnrollmentState.SetAndroidDeviceOwnerFullyManagedEnrollmentStateRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the setStoreLayout method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetStoreLayout.SetStoreLayoutRequestBuilder SetStoreLayout
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetStoreLayout.SetStoreLayoutRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the syncApps method.
public global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SyncApps.SyncAppsRequestBuilder SyncApps
{
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/RequestEnterpriseUpgradeUrl/RequestEnterpriseUpgradeUrlPostResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/RequestEnterpriseUpgradeUrl/RequestEnterpriseUpgradeUrlPostResponse.cs
new file mode 100644
index 00000000000..6dadd2e8dbb
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/RequestEnterpriseUpgradeUrl/RequestEnterpriseUpgradeUrlPostResponse.cs
@@ -0,0 +1,81 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class RequestEnterpriseUpgradeUrlPostResponse : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The value property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Value
+ {
+ get { return BackingStore?.Get("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+#nullable restore
+#else
+ public string Value
+ {
+ get { return BackingStore?.Get("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public RequestEnterpriseUpgradeUrlPostResponse()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.RequestEnterpriseUpgradeUrlPostResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.RequestEnterpriseUpgradeUrlPostResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "value", n => { Value = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("value", Value);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/RequestEnterpriseUpgradeUrl/RequestEnterpriseUpgradeUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/RequestEnterpriseUpgradeUrl/RequestEnterpriseUpgradeUrlRequestBuilder.cs
new file mode 100644
index 00000000000..c28d1affbc8
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/RequestEnterpriseUpgradeUrl/RequestEnterpriseUpgradeUrlRequestBuilder.cs
@@ -0,0 +1,121 @@
+//
+#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.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl
+{
+ ///
+ /// Provides operations to call the requestEnterpriseUpgradeUrl method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RequestEnterpriseUpgradeUrlRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public RequestEnterpriseUpgradeUrlRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/androidManagedStoreAccountEnterpriseSettings/requestEnterpriseUpgradeUrl", 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 RequestEnterpriseUpgradeUrlRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/androidManagedStoreAccountEnterpriseSettings/requestEnterpriseUpgradeUrl", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action requestEnterpriseUpgradeUrl
+ ///
+ /// 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 PostAsRequestEnterpriseUpgradeUrlPostResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsRequestEnterpriseUpgradeUrlPostResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToPostRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.RequestEnterpriseUpgradeUrlPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action requestEnterpriseUpgradeUrl
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+ [Obsolete("This method is obsolete. Use PostAsRequestEnterpriseUpgradeUrlPostResponseAsync instead.")]
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToPostRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.RequestEnterpriseUpgradeUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action requestEnterpriseUpgradeUrl
+ ///
+ /// 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 ToPostRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.POST, 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.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.RequestEnterpriseUpgradeUrlRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.RequestEnterpriseUpgradeUrlRequestBuilder(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 RequestEnterpriseUpgradeUrlRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/RequestEnterpriseUpgradeUrl/RequestEnterpriseUpgradeUrlResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/RequestEnterpriseUpgradeUrl/RequestEnterpriseUpgradeUrlResponse.cs
new file mode 100644
index 00000000000..1a9b78f76db
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/RequestEnterpriseUpgradeUrl/RequestEnterpriseUpgradeUrlResponse.cs
@@ -0,0 +1,28 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl
+{
+ [Obsolete("This class is obsolete. Use RequestEnterpriseUpgradeUrlPostResponse instead.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class RequestEnterpriseUpgradeUrlResponse : global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.RequestEnterpriseUpgradeUrlPostResponse, IParsable
+ #pragma warning restore CS1591
+ {
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.RequestEnterpriseUpgradeUrlResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RequestEnterpriseUpgradeUrl.RequestEnterpriseUpgradeUrlResponse();
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/RetrieveStoreLayout/RetrieveStoreLayoutRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/RetrieveStoreLayout/RetrieveStoreLayoutRequestBuilder.cs
new file mode 100644
index 00000000000..52b5e118df8
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/RetrieveStoreLayout/RetrieveStoreLayoutRequestBuilder.cs
@@ -0,0 +1,98 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RetrieveStoreLayout
+{
+ ///
+ /// Provides operations to call the retrieveStoreLayout method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RetrieveStoreLayoutRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public RetrieveStoreLayoutRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/androidManagedStoreAccountEnterpriseSettings/retrieveStoreLayout()", 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 RetrieveStoreLayoutRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/androidManagedStoreAccountEnterpriseSettings/retrieveStoreLayout()", rawUrl)
+ {
+ }
+ ///
+ /// Gets the Managed Google Play store layout type from Google EMM API.
+ ///
+ /// 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);
+ }
+ ///
+ /// Gets the Managed Google Play store layout type from Google EMM API.
+ ///
+ /// 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.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RetrieveStoreLayout.RetrieveStoreLayoutRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.RetrieveStoreLayout.RetrieveStoreLayoutRequestBuilder(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 RetrieveStoreLayoutRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/SetStoreLayout/SetStoreLayoutPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/SetStoreLayout/SetStoreLayoutPostRequestBody.cs
new file mode 100644
index 00000000000..dd6b1640a9d
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/SetStoreLayout/SetStoreLayoutPostRequestBody.cs
@@ -0,0 +1,72 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetStoreLayout
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class SetStoreLayoutPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The store layout types for Managed Google Play. Values correspond directly to the store layout types of Google enterprise objects.
+ public global::Microsoft.Graph.Beta.Models.AndroidManagedStoreLayoutType? StoreLayoutType
+ {
+ get { return BackingStore?.Get("storeLayoutType"); }
+ set { BackingStore?.Set("storeLayoutType", value); }
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public SetStoreLayoutPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetStoreLayout.SetStoreLayoutPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetStoreLayout.SetStoreLayoutPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "storeLayoutType", n => { StoreLayoutType = n.GetEnumValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteEnumValue("storeLayoutType", StoreLayoutType);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/SetStoreLayout/SetStoreLayoutRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/SetStoreLayout/SetStoreLayoutRequestBuilder.cs
new file mode 100644
index 00000000000..2f97cc0c25a
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/AndroidManagedStoreAccountEnterpriseSettings/SetStoreLayout/SetStoreLayoutRequestBuilder.cs
@@ -0,0 +1,101 @@
+//
+#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.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetStoreLayout
+{
+ ///
+ /// Provides operations to call the setStoreLayout method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class SetStoreLayoutRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public SetStoreLayoutRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/androidManagedStoreAccountEnterpriseSettings/setStoreLayout", 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 SetStoreLayoutRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/androidManagedStoreAccountEnterpriseSettings/setStoreLayout", rawUrl)
+ {
+ }
+ ///
+ /// Sets the Managed Google Play store layout type via Google EMM API.
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetStoreLayout.SetStoreLayoutPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetStoreLayout.SetStoreLayoutPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Sets the Managed Google Play store layout type via Google EMM API.
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetStoreLayout.SetStoreLayoutPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetStoreLayout.SetStoreLayoutPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetStoreLayout.SetStoreLayoutRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.AndroidManagedStoreAccountEnterpriseSettings.SetStoreLayout.SetStoreLayoutRequestBuilder(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 SetStoreLayoutRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs
index 6405f85d411..22c4e4e9920 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.cs
@@ -15,6 +15,8 @@
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Resize;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPCRemoteActionResults;
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail;
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveFrontlineCloudPcDetail;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveReviewStatus;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveSnapshots;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetryPartnerAgentInstallation;
@@ -110,11 +112,21 @@ public partial class CloudPCItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the retrieveCloudPcLaunchDetail method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder RetrieveCloudPcLaunchDetail
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the retrieveCloudPCRemoteActionResults method.
public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPCRemoteActionResults.RetrieveCloudPCRemoteActionResultsRequestBuilder RetrieveCloudPCRemoteActionResults
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPCRemoteActionResults.RetrieveCloudPCRemoteActionResultsRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the retrieveFrontlineCloudPcDetail method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveFrontlineCloudPcDetail.RetrieveFrontlineCloudPcDetailRequestBuilder RetrieveFrontlineCloudPcDetail
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveFrontlineCloudPcDetail.RetrieveFrontlineCloudPcDetailRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the retrieveReviewStatus method.
public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveReviewStatus.RetrieveReviewStatusRequestBuilder RetrieveReviewStatus
{
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/GetCloudPcLaunchInfo/GetCloudPcLaunchInfoRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/GetCloudPcLaunchInfo/GetCloudPcLaunchInfoRequestBuilder.cs
index be3fd125c5e..64d54d81af5 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/GetCloudPcLaunchInfo/GetCloudPcLaunchInfoRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/GetCloudPcLaunchInfo/GetCloudPcLaunchInfoRequestBuilder.cs
@@ -42,6 +42,7 @@ public GetCloudPcLaunchInfoRequestBuilder(string rawUrl, IRequestAdapter request
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
+ [Obsolete("Starting from Oct 30, 2026, this API: getCloudPcLaunchInfo will be deprecated and no longer be supported. Please use the new API:retrieveCloudPcLaunchDetail to retrieve same details. as of 2025-09/cloudPcLaunchInfo on 2025-09-30 and will be removed 2026-10-30")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
@@ -63,6 +64,7 @@ public GetCloudPcLaunchInfoRequestBuilder(string rawUrl, IRequestAdapter request
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("Starting from Oct 30, 2026, this API: getCloudPcLaunchInfo will be deprecated and no longer be supported. Please use the new API:retrieveCloudPcLaunchDetail to retrieve same details. as of 2025-09/cloudPcLaunchInfo on 2025-09-30 and will be removed 2026-10-30")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
@@ -82,6 +84,7 @@ public RequestInformation ToGetRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
+ [Obsolete("Starting from Oct 30, 2026, this API: getCloudPcLaunchInfo will be deprecated and no longer be supported. Please use the new API:retrieveCloudPcLaunchDetail to retrieve same details. as of 2025-09/cloudPcLaunchInfo on 2025-09-30 and will be removed 2026-10-30")]
public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.GetCloudPcLaunchInfo.GetCloudPcLaunchInfoRequestBuilder WithUrl(string rawUrl)
{
return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.GetCloudPcLaunchInfo.GetCloudPcLaunchInfoRequestBuilder(rawUrl, RequestAdapter);
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs
new file mode 100644
index 00000000000..9fbc1619fb0
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.cs
@@ -0,0 +1,99 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail
+{
+ ///
+ /// Provides operations to call the retrieveCloudPcLaunchDetail method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RetrieveCloudPcLaunchDetailRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public RetrieveCloudPcLaunchDetailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/retrieveCloudPcLaunchDetail()", 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 RetrieveCloudPcLaunchDetailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/retrieveCloudPcLaunchDetail()", rawUrl)
+ {
+ }
+ ///
+ /// Get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user.
+ /// 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.CloudPcLaunchDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user.
+ ///
+ /// 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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder(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 RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveFrontlineCloudPcDetail/RetrieveFrontlineCloudPcDetailRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveFrontlineCloudPcDetail/RetrieveFrontlineCloudPcDetailRequestBuilder.cs
new file mode 100644
index 00000000000..3da7d2f4c65
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveFrontlineCloudPcDetail/RetrieveFrontlineCloudPcDetailRequestBuilder.cs
@@ -0,0 +1,99 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveFrontlineCloudPcDetail
+{
+ ///
+ /// Provides operations to call the retrieveFrontlineCloudPcDetail method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RetrieveFrontlineCloudPcDetailRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public RetrieveFrontlineCloudPcDetailRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/retrieveFrontlineCloudPcDetail()", 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 RetrieveFrontlineCloudPcDetailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/retrieveFrontlineCloudPcDetail()", rawUrl)
+ {
+ }
+ ///
+ /// Get the frontlineCloudPcDetail of a frontline Cloud PC. This API only supports shared-use licenses. For more information, see cloudPcProvisioningPolicy. Shared-use licenses allow three users per license, with one user signed in at a time. Callers can get the latest frontline Cloud PC availability and determine whether the frontline Cloud PC is available to a user.
+ /// 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.FrontlineCloudPcDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get the frontlineCloudPcDetail of a frontline Cloud PC. This API only supports shared-use licenses. For more information, see cloudPcProvisioningPolicy. Shared-use licenses allow three users per license, with one user signed in at a time. Callers can get the latest frontline Cloud PC availability and determine whether the frontline Cloud PC is available to a user.
+ ///
+ /// 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.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveFrontlineCloudPcDetail.RetrieveFrontlineCloudPcDetailRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.CloudPCs.Item.RetrieveFrontlineCloudPcDetail.RetrieveFrontlineCloudPcDetailRequestBuilder(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 RetrieveFrontlineCloudPcDetailRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ManagedLicenses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ManagedLicenses/Count/CountRequestBuilder.cs
new file mode 100644
index 00000000000..9f53c00d371
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ManagedLicenses/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.DeviceManagement.VirtualEndpoint.ManagedLicenses.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}/deviceManagement/virtualEndpoint/managedLicenses/$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}/deviceManagement/virtualEndpoint/managedLicenses/$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.DeviceManagement.VirtualEndpoint.ManagedLicenses.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses.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/NetworkAccess/Connectivity/RemoteNetworks/Item/DeviceLinks/Item/DeviceLinkItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ManagedLicenses/Item/CloudPcManagedLicenseItemRequestBuilder.cs
similarity index 62%
rename from src/Microsoft.Graph/Generated/NetworkAccess/Connectivity/RemoteNetworks/Item/DeviceLinks/Item/DeviceLinkItemRequestBuilder.cs
rename to src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ManagedLicenses/Item/CloudPcManagedLicenseItemRequestBuilder.cs
index 1d8987a3b3e..d7ef8ca3bc0 100644
--- a/src/Microsoft.Graph/Generated/NetworkAccess/Connectivity/RemoteNetworks/Item/DeviceLinks/Item/DeviceLinkItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ManagedLicenses/Item/CloudPcManagedLicenseItemRequestBuilder.cs
@@ -1,7 +1,7 @@
//
#pragma warning disable CS0618
-using Microsoft.Graph.Beta.Models.Networkaccess;
using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
using Microsoft.Kiota.Abstractions;
@@ -10,33 +10,32 @@
using System.Threading.Tasks;
using System.Threading;
using System;
-namespace Microsoft.Graph.Beta.NetworkAccess.Connectivity.RemoteNetworks.Item.DeviceLinks.Item
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses.Item
{
///
- /// Provides operations to manage the deviceLinks property of the microsoft.graph.networkaccess.remoteNetwork entity.
+ /// Provides operations to manage the managedLicenses property of the microsoft.graph.virtualEndpoint entity.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class DeviceLinkItemRequestBuilder : BaseRequestBuilder
+ public partial class CloudPcManagedLicenseItemRequestBuilder : BaseRequestBuilder
{
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public DeviceLinkItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/connectivity/remoteNetworks/{remoteNetwork%2Did}/deviceLinks/{deviceLink%2Did}{?%24expand,%24select}", pathParameters)
+ public CloudPcManagedLicenseItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/managedLicenses/{cloudPcManagedLicense%2Did}{?%24expand,%24select}", pathParameters)
{
}
///
- /// Instantiates a new and sets the default values.
+ /// 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 DeviceLinkItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/connectivity/remoteNetworks/{remoteNetwork%2Did}/deviceLinks/{deviceLink%2Did}{?%24expand,%24select}", rawUrl)
+ public CloudPcManagedLicenseItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/managedLicenses/{cloudPcManagedLicense%2Did}{?%24expand,%24select}", rawUrl)
{
}
///
- /// Removes the link between the branch or remote network and the CPE device, effectively removing the connection and associated configuration between them.
- /// Find more info here
+ /// Delete navigation property managedLicenses for deviceManagement
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -58,20 +57,19 @@ public async Task DeleteAsync(Action
- /// Retrieves a specific device link associated with a remote network.
- /// Find more info here
+ /// The managed licenses for Cloud PCs in the organization.
///
- /// A
+ /// 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)
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
{
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
{
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
@@ -79,23 +77,23 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.DeviceLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcManagedLicense.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property deviceLinks in networkAccess
+ /// Update the navigation property managedLicenses in deviceManagement
///
- /// A
+ /// 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.Networkaccess.DeviceLink body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CloudPcManagedLicense body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
{
#nullable restore
#else
- public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Networkaccess.DeviceLink body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CloudPcManagedLicense body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
{
#endif
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
@@ -104,10 +102,10 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.DeviceLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcManagedLicense.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Removes the link between the branch or remote network and the CPE device, effectively removing the connection and associated configuration between them.
+ /// Delete navigation property managedLicenses for deviceManagement
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -126,17 +124,17 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Retrieves a specific device link associated with a remote network.
+ /// The managed licenses for Cloud PCs in the organization.
///
/// 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)
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
{
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
{
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
@@ -145,18 +143,18 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property deviceLinks in networkAccess
+ /// Update the navigation property managedLicenses in deviceManagement
///
/// 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.Networkaccess.DeviceLink body, Action>? requestConfiguration = default)
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CloudPcManagedLicense body, Action>? requestConfiguration = default)
{
#nullable restore
#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Networkaccess.DeviceLink body, Action> requestConfiguration = default)
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CloudPcManagedLicense body, Action> requestConfiguration = default)
{
#endif
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
@@ -169,25 +167,25 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta
///
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
- /// A
+ /// A
/// The raw URL to use for the request builder.
- public global::Microsoft.Graph.Beta.NetworkAccess.Connectivity.RemoteNetworks.Item.DeviceLinks.Item.DeviceLinkItemRequestBuilder WithUrl(string rawUrl)
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses.Item.CloudPcManagedLicenseItemRequestBuilder WithUrl(string rawUrl)
{
- return new global::Microsoft.Graph.Beta.NetworkAccess.Connectivity.RemoteNetworks.Item.DeviceLinks.Item.DeviceLinkItemRequestBuilder(rawUrl, RequestAdapter);
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses.Item.CloudPcManagedLicenseItemRequestBuilder(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 DeviceLinkItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
+ public partial class CloudPcManagedLicenseItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
{
}
///
- /// Retrieves a specific device link associated with a remote network.
+ /// The managed licenses for Cloud PCs in the organization.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class DeviceLinkItemRequestBuilderGetQueryParameters
+ public partial class CloudPcManagedLicenseItemRequestBuilderGetQueryParameters
{
/// Expand related entities
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -215,7 +213,7 @@ public partial class DeviceLinkItemRequestBuilderGetQueryParameters
///
[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 DeviceLinkItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ public partial class CloudPcManagedLicenseItemRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
///
@@ -223,7 +221,7 @@ public partial class DeviceLinkItemRequestBuilderGetRequestConfiguration : Reque
///
[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 DeviceLinkItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
+ public partial class CloudPcManagedLicenseItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
{
}
}
diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Connectivity/RemoteNetworks/RemoteNetworksRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ManagedLicenses/ManagedLicensesRequestBuilder.cs
similarity index 57%
rename from src/Microsoft.Graph/Generated/NetworkAccess/Connectivity/RemoteNetworks/RemoteNetworksRequestBuilder.cs
rename to src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ManagedLicenses/ManagedLicensesRequestBuilder.cs
index 49a2d060376..020431137c8 100644
--- a/src/Microsoft.Graph/Generated/NetworkAccess/Connectivity/RemoteNetworks/RemoteNetworksRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ManagedLicenses/ManagedLicensesRequestBuilder.cs
@@ -1,9 +1,9 @@
//
#pragma warning disable CS0618
-using Microsoft.Graph.Beta.Models.Networkaccess;
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses.Count;
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses.Item;
using Microsoft.Graph.Beta.Models.ODataErrors;
-using Microsoft.Graph.Beta.NetworkAccess.Connectivity.RemoteNetworks.Count;
-using Microsoft.Graph.Beta.NetworkAccess.Connectivity.RemoteNetworks.Item;
+using Microsoft.Graph.Beta.Models;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
using Microsoft.Kiota.Abstractions;
@@ -12,61 +12,62 @@
using System.Threading.Tasks;
using System.Threading;
using System;
-namespace Microsoft.Graph.Beta.NetworkAccess.Connectivity.RemoteNetworks
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses
{
///
- /// Provides operations to manage the remoteNetworks property of the microsoft.graph.networkaccess.connectivity entity.
+ /// Provides operations to manage the managedLicenses property of the microsoft.graph.virtualEndpoint entity.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class RemoteNetworksRequestBuilder : BaseRequestBuilder
+ public partial class ManagedLicensesRequestBuilder : BaseRequestBuilder
{
/// Provides operations to count the resources in the collection.
- public global::Microsoft.Graph.Beta.NetworkAccess.Connectivity.RemoteNetworks.Count.CountRequestBuilder Count
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses.Count.CountRequestBuilder Count
{
- get => new global::Microsoft.Graph.Beta.NetworkAccess.Connectivity.RemoteNetworks.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses.Count.CountRequestBuilder(PathParameters, RequestAdapter);
}
- /// Provides operations to manage the remoteNetworks property of the microsoft.graph.networkaccess.connectivity entity.
- /// The unique identifier of remoteNetwork
- /// A
- public global::Microsoft.Graph.Beta.NetworkAccess.Connectivity.RemoteNetworks.Item.RemoteNetworkItemRequestBuilder this[string position]
+ /// Provides operations to manage the managedLicenses property of the microsoft.graph.virtualEndpoint entity.
+ /// The unique identifier of cloudPcManagedLicense
+ /// A
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses.Item.CloudPcManagedLicenseItemRequestBuilder this[string position]
{
get
{
var urlTplParams = new Dictionary(PathParameters);
- urlTplParams.Add("remoteNetwork%2Did", position);
- return new global::Microsoft.Graph.Beta.NetworkAccess.Connectivity.RemoteNetworks.Item.RemoteNetworkItemRequestBuilder(urlTplParams, RequestAdapter);
+ urlTplParams.Add("cloudPcManagedLicense%2Did", position);
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses.Item.CloudPcManagedLicenseItemRequestBuilder(urlTplParams, RequestAdapter);
}
}
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RemoteNetworksRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/connectivity/remoteNetworks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters)
+ public ManagedLicensesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/managedLicenses{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters)
{
}
///
- /// Instantiates a new and sets the default values.
+ /// 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 RemoteNetworksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/connectivity/remoteNetworks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ public ManagedLicensesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/managedLicenses{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
{
}
///
- /// The locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel.
+ /// Get information about cloudPcManagedLicense objects that the Cloud PC service manages directly.
+ /// Find more info here
///
- /// A
+ /// 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)
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
{
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
{
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
@@ -74,24 +75,23 @@ public RemoteNetworksRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
{
{ "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
};
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.RemoteNetworkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcManagedLicenseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create a new remote network.
- /// Find more info here
+ /// Create new navigation property to managedLicenses for deviceManagement
///
- /// A
+ /// A
/// The request body
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Networkaccess.RemoteNetwork body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CloudPcManagedLicense body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
{
#nullable restore
#else
- public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Networkaccess.RemoteNetwork body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CloudPcManagedLicense body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
{
#endif
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
@@ -100,20 +100,20 @@ public RemoteNetworksRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
{
{ "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
};
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Networkaccess.RemoteNetwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcManagedLicense.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// The locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel.
+ /// Get information about cloudPcManagedLicense objects that the Cloud PC service manages directly.
///
/// 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)
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
{
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
{
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
@@ -122,18 +122,18 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new remote network.
+ /// Create new navigation property to managedLicenses for deviceManagement
///
/// A
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Networkaccess.RemoteNetwork body, Action>? requestConfiguration = default)
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CloudPcManagedLicense body, Action>? requestConfiguration = default)
{
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Networkaccess.RemoteNetwork body, Action> requestConfiguration = default)
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CloudPcManagedLicense body, Action> requestConfiguration = default)
{
#endif
if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
@@ -146,17 +146,17 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
///
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
- /// A
+ /// A
/// The raw URL to use for the request builder.
- public global::Microsoft.Graph.Beta.NetworkAccess.Connectivity.RemoteNetworks.RemoteNetworksRequestBuilder WithUrl(string rawUrl)
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses.ManagedLicensesRequestBuilder WithUrl(string rawUrl)
{
- return new global::Microsoft.Graph.Beta.NetworkAccess.Connectivity.RemoteNetworks.RemoteNetworksRequestBuilder(rawUrl, RequestAdapter);
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses.ManagedLicensesRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// The locations, such as branches, that are connected to Global Secure Access services through an IPsec tunnel.
+ /// Get information about cloudPcManagedLicense objects that the Cloud PC service manages directly.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class RemoteNetworksRequestBuilderGetQueryParameters
+ public partial class ManagedLicensesRequestBuilderGetQueryParameters
{
/// Include count of items
[QueryParameter("%24count")]
@@ -223,7 +223,7 @@ public partial class RemoteNetworksRequestBuilderGetQueryParameters
///
[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 RemoteNetworksRequestBuilderGetRequestConfiguration : RequestConfiguration
+ public partial class ManagedLicensesRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
///
@@ -231,7 +231,7 @@ public partial class RemoteNetworksRequestBuilderGetRequestConfiguration : Reque
///
[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 RemoteNetworksRequestBuilderPostRequestConfiguration : RequestConfiguration
+ public partial class ManagedLicensesRequestBuilderPostRequestConfiguration : RequestConfiguration
{
}
}
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/ImportSnapshot/ImportSnapshotPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/ImportSnapshot/ImportSnapshotPostRequestBody.cs
new file mode 100644
index 00000000000..69e221bd700
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/ImportSnapshot/ImportSnapshotPostRequestBody.cs
@@ -0,0 +1,100 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.ImportSnapshot
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class ImportSnapshotPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// The assignedUserId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? AssignedUserId
+ {
+ get { return BackingStore?.Get("assignedUserId"); }
+ set { BackingStore?.Set("assignedUserId", value); }
+ }
+#nullable restore
+#else
+ public string AssignedUserId
+ {
+ get { return BackingStore?.Get("assignedUserId"); }
+ set { BackingStore?.Set("assignedUserId", value); }
+ }
+#endif
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The sourceFiles property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? SourceFiles
+ {
+ get { return BackingStore?.Get?>("sourceFiles"); }
+ set { BackingStore?.Set("sourceFiles", value); }
+ }
+#nullable restore
+#else
+ public List SourceFiles
+ {
+ get { return BackingStore?.Get>("sourceFiles"); }
+ set { BackingStore?.Set("sourceFiles", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public ImportSnapshotPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.ImportSnapshot.ImportSnapshotPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.ImportSnapshot.ImportSnapshotPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "assignedUserId", n => { AssignedUserId = n.GetStringValue(); } },
+ { "sourceFiles", n => { SourceFiles = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudPcSnapshotImportActionDetail.CreateFromDiscriminatorValue)?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("assignedUserId", AssignedUserId);
+ writer.WriteCollectionOfObjectValues("sourceFiles", SourceFiles);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/ImportSnapshot/ImportSnapshotRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/ImportSnapshot/ImportSnapshotRequestBuilder.cs
new file mode 100644
index 00000000000..c20c3cf385e
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/ImportSnapshot/ImportSnapshotRequestBuilder.cs
@@ -0,0 +1,104 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.ImportSnapshot
+{
+ ///
+ /// Provides operations to call the importSnapshot method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ImportSnapshotRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public ImportSnapshotRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/snapshots/importSnapshot", 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 ImportSnapshotRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/snapshots/importSnapshot", rawUrl)
+ {
+ }
+ ///
+ /// Import the snapshot from the customer-managed storage account using the provided information, and store it in the Azure storage account within the Cloud PC service on behalf of the customer. To provision a new Cloud PC for a licensed user, import a valid .vhd snapshot from a customer-managed storage account into the Azure storage account used by the Cloud PC service.
+ /// Find more info here
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.ImportSnapshot.ImportSnapshotPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.ImportSnapshot.ImportSnapshotPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcSnapshotImportActionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Import the snapshot from the customer-managed storage account using the provided information, and store it in the Azure storage account within the Cloud PC service on behalf of the customer. To provision a new Cloud PC for a licensed user, import a valid .vhd snapshot from a customer-managed storage account into the Azure storage account used by the Cloud PC service.
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.ImportSnapshot.ImportSnapshotPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.ImportSnapshot.ImportSnapshotPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.ImportSnapshot.ImportSnapshotRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.ImportSnapshot.ImportSnapshotRequestBuilder(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 ImportSnapshotRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/PurgeImportedSnapshot/PurgeImportedSnapshotPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/PurgeImportedSnapshot/PurgeImportedSnapshotPostRequestBody.cs
new file mode 100644
index 00000000000..8c893e1f671
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/PurgeImportedSnapshot/PurgeImportedSnapshotPostRequestBody.cs
@@ -0,0 +1,81 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.PurgeImportedSnapshot
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class PurgeImportedSnapshotPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The snapshotIds property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? SnapshotIds
+ {
+ get { return BackingStore?.Get?>("snapshotIds"); }
+ set { BackingStore?.Set("snapshotIds", value); }
+ }
+#nullable restore
+#else
+ public List SnapshotIds
+ {
+ get { return BackingStore?.Get>("snapshotIds"); }
+ set { BackingStore?.Set("snapshotIds", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public PurgeImportedSnapshotPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.PurgeImportedSnapshot.PurgeImportedSnapshotPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.PurgeImportedSnapshot.PurgeImportedSnapshotPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "snapshotIds", n => { SnapshotIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteCollectionOfPrimitiveValues("snapshotIds", SnapshotIds);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/PurgeImportedSnapshot/PurgeImportedSnapshotRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/PurgeImportedSnapshot/PurgeImportedSnapshotRequestBuilder.cs
new file mode 100644
index 00000000000..9fc67672f1e
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/PurgeImportedSnapshot/PurgeImportedSnapshotRequestBuilder.cs
@@ -0,0 +1,102 @@
+//
+#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.DeviceManagement.VirtualEndpoint.Snapshots.PurgeImportedSnapshot
+{
+ ///
+ /// Provides operations to call the purgeImportedSnapshot method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PurgeImportedSnapshotRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public PurgeImportedSnapshotRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/snapshots/purgeImportedSnapshot", 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 PurgeImportedSnapshotRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/snapshots/purgeImportedSnapshot", rawUrl)
+ {
+ }
+ ///
+ /// Purge (delete) the unused imported snapshot from the Windows 365 service-managed storage account.
+ /// Find more info here
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.PurgeImportedSnapshot.PurgeImportedSnapshotPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.PurgeImportedSnapshot.PurgeImportedSnapshotPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Purge (delete) the unused imported snapshot from the Windows 365 service-managed storage account.
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.PurgeImportedSnapshot.PurgeImportedSnapshotPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.PurgeImportedSnapshot.PurgeImportedSnapshotPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.PurgeImportedSnapshot.PurgeImportedSnapshotRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.PurgeImportedSnapshot.PurgeImportedSnapshotRequestBuilder(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 PurgeImportedSnapshotRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/RetrieveSnapshotImportResultsWithSnapshotId/RetrieveSnapshotImportResultsWithSnapshotIdGetResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/RetrieveSnapshotImportResultsWithSnapshotId/RetrieveSnapshotImportResultsWithSnapshotIdGetResponse.cs
new file mode 100644
index 00000000000..daf4941101a
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/RetrieveSnapshotImportResultsWithSnapshotId/RetrieveSnapshotImportResultsWithSnapshotIdGetResponse.cs
@@ -0,0 +1,65 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class RetrieveSnapshotImportResultsWithSnapshotIdGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable
+ #pragma warning restore CS1591
+ {
+ /// The value property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? Value
+ {
+ get { return BackingStore?.Get?>("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+#nullable restore
+#else
+ public List Value
+ {
+ get { return BackingStore?.Get>("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+#endif
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId.RetrieveSnapshotImportResultsWithSnapshotIdGetResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId.RetrieveSnapshotImportResultsWithSnapshotIdGetResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public override IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>(base.GetFieldDeserializers())
+ {
+ { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudPcSnapshotImportActionResult.CreateFromDiscriminatorValue)?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public override void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ base.Serialize(writer);
+ writer.WriteCollectionOfObjectValues("value", Value);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/RetrieveSnapshotImportResultsWithSnapshotId/RetrieveSnapshotImportResultsWithSnapshotIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/RetrieveSnapshotImportResultsWithSnapshotId/RetrieveSnapshotImportResultsWithSnapshotIdRequestBuilder.cs
new file mode 100644
index 00000000000..a77ab2237d0
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/RetrieveSnapshotImportResultsWithSnapshotId/RetrieveSnapshotImportResultsWithSnapshotIdRequestBuilder.cs
@@ -0,0 +1,159 @@
+//
+#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.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId
+{
+ ///
+ /// Provides operations to call the retrieveSnapshotImportResults method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RetrieveSnapshotImportResultsWithSnapshotIdRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ /// Usage: snapshotId='{snapshotId}'
+ public RetrieveSnapshotImportResultsWithSnapshotIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string snapshotId = "") : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/snapshots/retrieveSnapshotImportResults(snapshotId='{snapshotId}'){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters)
+ {
+ if (!string.IsNullOrWhiteSpace(snapshotId)) PathParameters.Add("snapshotId", snapshotId);
+ }
+ ///
+ /// 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 RetrieveSnapshotImportResultsWithSnapshotIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/snapshots/retrieveSnapshotImportResults(snapshotId='{snapshotId}'){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Invoke function retrieveSnapshotImportResults
+ ///
+ /// 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 GetAsRetrieveSnapshotImportResultsWithSnapshotIdGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsRetrieveSnapshotImportResultsWithSnapshotIdGetResponseAsync(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.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId.RetrieveSnapshotImportResultsWithSnapshotIdGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke function retrieveSnapshotImportResults
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+ [Obsolete("This method is obsolete. Use GetAsRetrieveSnapshotImportResultsWithSnapshotIdGetResponseAsync instead.")]
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId.RetrieveSnapshotImportResultsWithSnapshotIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke function retrieveSnapshotImportResults
+ ///
+ /// 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.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId.RetrieveSnapshotImportResultsWithSnapshotIdRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId.RetrieveSnapshotImportResultsWithSnapshotIdRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Invoke function retrieveSnapshotImportResults
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RetrieveSnapshotImportResultsWithSnapshotIdRequestBuilderGetQueryParameters
+ {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RetrieveSnapshotImportResultsWithSnapshotIdRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/RetrieveSnapshotImportResultsWithSnapshotId/RetrieveSnapshotImportResultsWithSnapshotIdResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/RetrieveSnapshotImportResultsWithSnapshotId/RetrieveSnapshotImportResultsWithSnapshotIdResponse.cs
new file mode 100644
index 00000000000..a0626af3186
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/RetrieveSnapshotImportResultsWithSnapshotId/RetrieveSnapshotImportResultsWithSnapshotIdResponse.cs
@@ -0,0 +1,28 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId
+{
+ [Obsolete("This class is obsolete. Use RetrieveSnapshotImportResultsWithSnapshotIdGetResponse instead.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class RetrieveSnapshotImportResultsWithSnapshotIdResponse : global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId.RetrieveSnapshotImportResultsWithSnapshotIdGetResponse, IParsable
+ #pragma warning restore CS1591
+ {
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId.RetrieveSnapshotImportResultsWithSnapshotIdResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId.RetrieveSnapshotImportResultsWithSnapshotIdResponse();
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/SnapshotsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/SnapshotsRequestBuilder.cs
index 3bbf7e67625..6301a9e4862 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/SnapshotsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Snapshots/SnapshotsRequestBuilder.cs
@@ -3,7 +3,10 @@
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.Count;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.GetStorageAccountsWithSubscriptionId;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.GetSubscriptions;
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.ImportSnapshot;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.Item;
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.PurgeImportedSnapshot;
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId;
using Microsoft.Graph.Beta.Models.ODataErrors;
using Microsoft.Graph.Beta.Models;
using Microsoft.Kiota.Abstractions.Extensions;
@@ -32,6 +35,16 @@ public partial class SnapshotsRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.GetSubscriptions.GetSubscriptionsRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the importSnapshot method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.ImportSnapshot.ImportSnapshotRequestBuilder ImportSnapshot
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.ImportSnapshot.ImportSnapshotRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to call the purgeImportedSnapshot method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.PurgeImportedSnapshot.PurgeImportedSnapshotRequestBuilder PurgeImportedSnapshot
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.PurgeImportedSnapshot.PurgeImportedSnapshotRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to manage the snapshots property of the microsoft.graph.virtualEndpoint entity.
/// The unique identifier of cloudPcSnapshot
/// A
@@ -119,6 +132,16 @@ public SnapshotsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcSnapshot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
+ /// Provides operations to call the retrieveSnapshotImportResults method.
+ ///
+ /// A
+ /// Usage: snapshotId='{snapshotId}'
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId.RetrieveSnapshotImportResultsWithSnapshotIdRequestBuilder RetrieveSnapshotImportResultsWithSnapshotId(string snapshotId)
+ {
+ if(string.IsNullOrEmpty(snapshotId)) throw new ArgumentNullException(nameof(snapshotId));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.Snapshots.RetrieveSnapshotImportResultsWithSnapshotId.RetrieveSnapshotImportResultsWithSnapshotIdRequestBuilder(PathParameters, RequestAdapter, snapshotId);
+ }
+ ///
/// Cloud PC snapshots.
///
/// A
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs
index 8e4852b7b9b..4f178eb20a3 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.cs
@@ -11,6 +11,7 @@
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.FrontLineServicePlans;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.GalleryImages;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.GetEffectivePermissions;
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.OnPremisesConnections;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.OrganizationSettings;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies;
@@ -94,6 +95,11 @@ public partial class VirtualEndpointRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.GetEffectivePermissions.GetEffectivePermissionsRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the managedLicenses property of the microsoft.graph.virtualEndpoint entity.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses.ManagedLicensesRequestBuilder ManagedLicenses
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ManagedLicenses.ManagedLicensesRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to manage the onPremisesConnections property of the microsoft.graph.virtualEndpoint entity.
public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.OnPremisesConnections.OnPremisesConnectionsRequestBuilder OnPremisesConnections
{
diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs
index 95bc89c4c1c..6d7c456b898 100644
--- a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs
@@ -64,7 +64,7 @@ public async Task DeleteAsync(Action
- /// Users who have been assigned this role.
+ /// Users that have this role assigned.
///
/// A
/// Cancellation token to use when cancelling requests
@@ -131,7 +131,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Users who have been assigned this role.
+ /// Users that have this role assigned.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -189,7 +189,7 @@ public partial class EngagementRoleMemberItemRequestBuilderDeleteRequestConfigur
{
}
///
- /// Users who have been assigned this role.
+ /// Users that have this role assigned.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class EngagementRoleMemberItemRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilder.cs
index 0413ebfb8a1..8216affb491 100644
--- a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilder.cs
@@ -47,7 +47,7 @@ public UserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(
{
}
///
- /// User entity of the member who has been assigned the role.
+ /// The user who has this role assigned.
///
/// A
/// Cancellation token to use when cancelling requests
@@ -70,7 +70,7 @@ public UserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// User entity of the member who has been assigned the role.
+ /// The user who has this role assigned.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -98,7 +98,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// User entity of the member who has been assigned the role.
+ /// The user who has this role assigned.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class UserRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilder.cs
index d19d78f8d57..84490e74b52 100644
--- a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilder.cs
@@ -54,7 +54,7 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
{
}
///
- /// Get a list of the engagementRoleMember objects and their properties.
+ /// Get a list of users with assigned roles in Viva Engage.
/// Find more info here
///
/// A
@@ -78,7 +78,7 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Assign a Viva Engage role to a user.
+ /// Create a new engagementRoleMember object that assigns a Viva Engage role to a user.
/// Find more info here
///
/// A
@@ -104,7 +104,7 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get a list of the engagementRoleMember objects and their properties.
+ /// Get a list of users with assigned roles in Viva Engage.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Assign a Viva Engage role to a user.
+ /// Create a new engagementRoleMember object that assigns a Viva Engage role to a user.
///
/// A
/// The request body
@@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
return new global::Microsoft.Graph.Beta.EmployeeExperience.Roles.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Get a list of the engagementRoleMember objects and their properties.
+ /// Get a list of users with assigned roles in Viva Engage.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class MembersRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/GetOperationStatusWithOperationId/GetOperationStatusWithOperationIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/GetOperationStatusWithOperationId/GetOperationStatusWithOperationIdRequestBuilder.cs
new file mode 100644
index 00000000000..d76c97c90aa
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/GetOperationStatusWithOperationId/GetOperationStatusWithOperationIdRequestBuilder.cs
@@ -0,0 +1,101 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Sites.GetOperationStatusWithOperationId
+{
+ ///
+ /// Provides operations to call the getOperationStatus method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class GetOperationStatusWithOperationIdRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Usage: operationId='{operationId}'
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public GetOperationStatusWithOperationIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string operationId = "") : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/getOperationStatus(operationId='{operationId}')", pathParameters)
+ {
+ if (!string.IsNullOrWhiteSpace(operationId)) PathParameters.Add("operationId", operationId);
+ }
+ ///
+ /// 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 GetOperationStatusWithOperationIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/getOperationStatus(operationId='{operationId}')", rawUrl)
+ {
+ }
+ ///
+ /// Get the status of a SharePoint site creation operation to monitor its progress.
+ /// 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.RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get the status of a SharePoint site creation operation to monitor its progress.
+ ///
+ /// 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.Groups.Item.Sites.GetOperationStatusWithOperationId.GetOperationStatusWithOperationIdRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Sites.GetOperationStatusWithOperationId.GetOperationStatusWithOperationIdRequestBuilder(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 GetOperationStatusWithOperationIdRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/SitesRequestBuilder.cs
index be37084373c..f83fac55650 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/SitesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/SitesRequestBuilder.cs
@@ -4,6 +4,7 @@
using Microsoft.Graph.Beta.Groups.Item.Sites.Count;
using Microsoft.Graph.Beta.Groups.Item.Sites.Delta;
using Microsoft.Graph.Beta.Groups.Item.Sites.GetAllSites;
+using Microsoft.Graph.Beta.Groups.Item.Sites.GetOperationStatusWithOperationId;
using Microsoft.Graph.Beta.Groups.Item.Sites.Item;
using Microsoft.Graph.Beta.Groups.Item.Sites.Remove;
using Microsoft.Graph.Beta.Models.ODataErrors;
@@ -101,6 +102,16 @@ public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
+ /// Provides operations to call the getOperationStatus method.
+ ///
+ /// A
+ /// Usage: operationId='{operationId}'
+ public global::Microsoft.Graph.Beta.Groups.Item.Sites.GetOperationStatusWithOperationId.GetOperationStatusWithOperationIdRequestBuilder GetOperationStatusWithOperationId(string operationId)
+ {
+ if(string.IsNullOrEmpty(operationId)) throw new ArgumentNullException(nameof(operationId));
+ return new global::Microsoft.Graph.Beta.Groups.Item.Sites.GetOperationStatusWithOperationId.GetOperationStatusWithOperationIdRequestBuilder(PathParameters, RequestAdapter, operationId);
+ }
+ ///
/// The list of SharePoint sites in this group. Access the default site with /sites/root.
///
/// A
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs
index 3526fc62e58..8dd55e396cb 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs
@@ -4,6 +4,7 @@
using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Archive;
using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.CompleteMigration;
using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName;
+using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.EnabledApps;
using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.FilesFolder;
using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Members;
using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages;
@@ -51,6 +52,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the enabledApps property of the microsoft.graph.channel entity.
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.EnabledApps.EnabledAppsRequestBuilder EnabledApps
+ {
+ get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.EnabledApps.EnabledAppsRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to manage the filesFolder property of the microsoft.graph.channel entity.
public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.FilesFolder.FilesFolderRequestBuilder FilesFolder
{
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs
index f51121731c9..7feb0c20748 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs
@@ -34,7 +34,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci
{
}
///
- /// Determine whether a user has access to a shared channel.
+ /// Determine whether a user has access to a channel.
/// Find more info here
///
/// A
@@ -58,7 +58,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Determine whether a user has access to a shared channel.
+ /// Determine whether a user has access to a channel.
/// Find more info here
///
/// A
@@ -83,7 +83,7 @@ public DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrinci
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Determine whether a user has access to a shared channel.
+ /// Determine whether a user has access to a channel.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Determine whether a user has access to a shared channel.
+ /// Determine whether a user has access to a channel.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs
similarity index 71%
rename from src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/Count/CountRequestBuilder.cs
rename to src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs
index 52b1a48d6fa..91c1e786a4d 100644
--- a/src/Microsoft.Graph/Generated/NetworkAccess/FilteringProfiles/Item/Policies/Count/CountRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/EnabledApps/Count/CountRequestBuilder.cs
@@ -9,7 +9,7 @@
using System.Threading.Tasks;
using System.Threading;
using System;
-namespace Microsoft.Graph.Beta.NetworkAccess.FilteringProfiles.Item.Policies.Count
+namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.EnabledApps.Count
{
///
/// Provides operations to count the resources in the collection.
@@ -18,19 +18,19 @@ namespace Microsoft.Graph.Beta.NetworkAccess.FilteringProfiles.Item.Policies.Cou
public partial class CountRequestBuilder : BaseRequestBuilder
{
///
- /// Instantiates a new and sets the default values.
+ /// 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}/networkAccess/filteringProfiles/{filteringProfile%2Did}/policies/$count{?%24filter,%24search}", pathParameters)
+ public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/enabledApps/$count{?%24filter,%24search}", pathParameters)
{
}
///
- /// Instantiates a new and sets the default values.
+ /// 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}/networkAccess/filteringProfiles/{filteringProfile%2Did}/policies/$count{?%24filter,%24search}", rawUrl)
+ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/enabledApps/$count{?%24filter,%24search}", rawUrl)
{
}
///
@@ -42,11 +42,11 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
/// 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)
+ public async Task