diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/ConfigurationSnapshotsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/ConfigurationSnapshotsRequestBuilder.java
index 502733139e4..2609d8c8b47 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/ConfigurationSnapshotsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/configurationmanagement/configurationsnapshots/ConfigurationSnapshotsRequestBuilder.java
@@ -60,19 +60,21 @@ public ConfigurationSnapshotsRequestBuilder(@jakarta.annotation.Nonnull final St
super(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationSnapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * A container for configuration snapshot baselines.
+ * Get a list of configurationBaseline objects that represent configuration snapshots and their properties.
* @return a {@link ConfigurationBaselineCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ConfigurationBaselineCollectionResponse get() {
return get(null);
}
/**
- * A container for configuration snapshot baselines.
+ * Get a list of configurationBaseline objects that represent configuration snapshots and their properties.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ConfigurationBaselineCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ConfigurationBaselineCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -107,7 +109,7 @@ public ConfigurationBaseline post(@jakarta.annotation.Nonnull final Configuratio
return this.requestAdapter.send(requestInfo, errorMapping, ConfigurationBaseline::createFromDiscriminatorValue);
}
/**
- * A container for configuration snapshot baselines.
+ * Get a list of configurationBaseline objects that represent configuration snapshots and their properties.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -115,7 +117,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * A container for configuration snapshot baselines.
+ * Get a list of configurationBaseline objects that represent configuration snapshots and their properties.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -161,7 +163,7 @@ public ConfigurationSnapshotsRequestBuilder withUrl(@jakarta.annotation.Nonnull
return new ConfigurationSnapshotsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * A container for configuration snapshot baselines.
+ * Get a list of configurationBaseline objects that represent configuration snapshots and their properties.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java
index bc96826c695..11aaea7d7b2 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java
@@ -1,5 +1,6 @@
package com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item;
+import com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.retryupload.RetryUploadRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.reupload.ReuploadRequestBuilder;
import com.microsoft.graph.beta.models.CloudPcDeviceImage;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
@@ -21,6 +22,14 @@
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class CloudPcDeviceImageItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to call the retryUpload method.
+ * @return a {@link RetryUploadRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RetryUploadRequestBuilder retryUpload() {
+ return new RetryUploadRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the reupload method.
* @return a {@link ReuploadRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/retryupload/RetryUploadRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/retryupload/RetryUploadRequestBuilder.java
new file mode 100644
index 00000000000..b923e7b3666
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/retryupload/RetryUploadRequestBuilder.java
@@ -0,0 +1,93 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.deviceimages.item.retryupload;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the retryUpload method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RetryUploadRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link RetryUploadRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RetryUploadRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/{cloudPcDeviceImage%2Did}/retryUpload", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RetryUploadRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RetryUploadRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/{cloudPcDeviceImage%2Did}/retryUpload", rawUrl);
+ }
+ /**
+ * Retry the upload of a cloudPcDeviceImage object that previously failed.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void post() {
+ post(null);
+ }
+ /**
+ * Retry the upload of a cloudPcDeviceImage object that previously failed.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Retry the upload of a cloudPcDeviceImage object that previously failed.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation() {
+ return toPostRequestInformation(null);
+ }
+ /**
+ * Retry the upload of a cloudPcDeviceImage object that previously failed.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link RetryUploadRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RetryUploadRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RetryUploadRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/reupload/ReuploadRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/reupload/ReuploadRequestBuilder.java
index e9e3eaebafe..b5a4b98c18b 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/reupload/ReuploadRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/reupload/ReuploadRequestBuilder.java
@@ -37,8 +37,11 @@ public ReuploadRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @
/**
* Reupload a cloudPcDeviceImage object that failed to upload.
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @deprecated
+ * The reupload is deprecated and will not be supported starting June 25, 2026. Please use retryUpload instead. as of 2026-01/reupload on 2026-01-09 and will be removed 2026-06-25
* @see Find more info here
*/
+ @Deprecated
public void post() {
post(null);
}
@@ -46,8 +49,11 @@ public void post() {
* Reupload a cloudPcDeviceImage object that failed to upload.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @deprecated
+ * The reupload is deprecated and will not be supported starting June 25, 2026. Please use retryUpload instead. as of 2026-01/reupload on 2026-01-09 and will be removed 2026-06-25
* @see Find more info here
*/
+ @Deprecated
public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
final HashMap> errorMapping = new HashMap>();
@@ -57,8 +63,11 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer<
/**
* Reupload a cloudPcDeviceImage object that failed to upload.
* @return a {@link RequestInformation}
+ * @deprecated
+ * The reupload is deprecated and will not be supported starting June 25, 2026. Please use retryUpload instead. as of 2026-01/reupload on 2026-01-09 and will be removed 2026-06-25
*/
@jakarta.annotation.Nonnull
+ @Deprecated
public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
@@ -66,8 +75,11 @@ public RequestInformation toPostRequestInformation() {
* Reupload a cloudPcDeviceImage object that failed to upload.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
+ * @deprecated
+ * The reupload is deprecated and will not be supported starting June 25, 2026. Please use retryUpload instead. as of 2026-01/reupload on 2026-01-09 and will be removed 2026-06-25
*/
@jakarta.annotation.Nonnull
+ @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
@@ -78,8 +90,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link ReuploadRequestBuilder}
+ * @deprecated
+ * The reupload is deprecated and will not be supported starting June 25, 2026. Please use retryUpload instead. as of 2026-01/reupload on 2026-01-09 and will be removed 2026-06-25
*/
@jakarta.annotation.Nonnull
+ @Deprecated
public ReuploadRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new ReuploadRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java
index 6df3e51197e..856b5552725 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java
@@ -43,10 +43,7 @@ public class ReportsRequestBuilder extends BaseRequestBuilder {
/**
* Provides operations to manage the exportJobs property of the microsoft.graph.cloudPcReports entity.
* @return a {@link ExportJobsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public ExportJobsRequestBuilder exportJobs() {
return new ExportJobsRequestBuilder(pathParameters, requestAdapter);
@@ -54,10 +51,7 @@ public ExportJobsRequestBuilder exportJobs() {
/**
* Provides operations to call the getActionStatusReports method.
* @return a {@link GetActionStatusReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public GetActionStatusReportsRequestBuilder getActionStatusReports() {
return new GetActionStatusReportsRequestBuilder(pathParameters, requestAdapter);
@@ -65,10 +59,7 @@ public GetActionStatusReportsRequestBuilder getActionStatusReports() {
/**
* Provides operations to call the getCloudPcPerformanceReport method.
* @return a {@link GetCloudPcPerformanceReportRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public GetCloudPcPerformanceReportRequestBuilder getCloudPcPerformanceReport() {
return new GetCloudPcPerformanceReportRequestBuilder(pathParameters, requestAdapter);
@@ -76,10 +67,7 @@ public GetCloudPcPerformanceReportRequestBuilder getCloudPcPerformanceReport() {
/**
* Provides operations to call the getCloudPcRecommendationReports method.
* @return a {@link GetCloudPcRecommendationReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public GetCloudPcRecommendationReportsRequestBuilder getCloudPcRecommendationReports() {
return new GetCloudPcRecommendationReportsRequestBuilder(pathParameters, requestAdapter);
@@ -87,10 +75,7 @@ public GetCloudPcRecommendationReportsRequestBuilder getCloudPcRecommendationRep
/**
* Provides operations to call the getConnectionQualityReports method.
* @return a {@link GetConnectionQualityReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public GetConnectionQualityReportsRequestBuilder getConnectionQualityReports() {
return new GetConnectionQualityReportsRequestBuilder(pathParameters, requestAdapter);
@@ -98,10 +83,7 @@ public GetConnectionQualityReportsRequestBuilder getConnectionQualityReports() {
/**
* Provides operations to call the getDailyAggregatedRemoteConnectionReports method.
* @return a {@link GetDailyAggregatedRemoteConnectionReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public GetDailyAggregatedRemoteConnectionReportsRequestBuilder getDailyAggregatedRemoteConnectionReports() {
return new GetDailyAggregatedRemoteConnectionReportsRequestBuilder(pathParameters, requestAdapter);
@@ -109,10 +91,7 @@ public GetDailyAggregatedRemoteConnectionReportsRequestBuilder getDailyAggregate
/**
* Provides operations to call the getFrontlineReport method.
* @return a {@link GetFrontlineReportRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public GetFrontlineReportRequestBuilder getFrontlineReport() {
return new GetFrontlineReportRequestBuilder(pathParameters, requestAdapter);
@@ -120,10 +99,7 @@ public GetFrontlineReportRequestBuilder getFrontlineReport() {
/**
* Provides operations to call the getInaccessibleCloudPcReports method.
* @return a {@link GetInaccessibleCloudPcReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public GetInaccessibleCloudPcReportsRequestBuilder getInaccessibleCloudPcReports() {
return new GetInaccessibleCloudPcReportsRequestBuilder(pathParameters, requestAdapter);
@@ -131,10 +107,7 @@ public GetInaccessibleCloudPcReportsRequestBuilder getInaccessibleCloudPcReports
/**
* Provides operations to call the getRawRemoteConnectionReports method.
* @return a {@link GetRawRemoteConnectionReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public GetRawRemoteConnectionReportsRequestBuilder getRawRemoteConnectionReports() {
return new GetRawRemoteConnectionReportsRequestBuilder(pathParameters, requestAdapter);
@@ -142,10 +115,7 @@ public GetRawRemoteConnectionReportsRequestBuilder getRawRemoteConnectionReports
/**
* Provides operations to call the getRemoteConnectionHistoricalReports method.
* @return a {@link GetRemoteConnectionHistoricalReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public GetRemoteConnectionHistoricalReportsRequestBuilder getRemoteConnectionHistoricalReports() {
return new GetRemoteConnectionHistoricalReportsRequestBuilder(pathParameters, requestAdapter);
@@ -153,10 +123,7 @@ public GetRemoteConnectionHistoricalReportsRequestBuilder getRemoteConnectionHis
/**
* Provides operations to call the getTotalAggregatedRemoteConnectionReports method.
* @return a {@link GetTotalAggregatedRemoteConnectionReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public GetTotalAggregatedRemoteConnectionReportsRequestBuilder getTotalAggregatedRemoteConnectionReports() {
return new GetTotalAggregatedRemoteConnectionReportsRequestBuilder(pathParameters, requestAdapter);
@@ -164,10 +131,7 @@ public GetTotalAggregatedRemoteConnectionReportsRequestBuilder getTotalAggregate
/**
* Provides operations to call the retrieveBulkActionStatusReport method.
* @return a {@link RetrieveBulkActionStatusReportRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public RetrieveBulkActionStatusReportRequestBuilder retrieveBulkActionStatusReport() {
return new RetrieveBulkActionStatusReportRequestBuilder(pathParameters, requestAdapter);
@@ -175,10 +139,7 @@ public RetrieveBulkActionStatusReportRequestBuilder retrieveBulkActionStatusRepo
/**
* Provides operations to call the retrieveCloudPcRecommendationReports method.
* @return a {@link RetrieveCloudPcRecommendationReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public RetrieveCloudPcRecommendationReportsRequestBuilder retrieveCloudPcRecommendationReports() {
return new RetrieveCloudPcRecommendationReportsRequestBuilder(pathParameters, requestAdapter);
@@ -186,10 +147,7 @@ public RetrieveCloudPcRecommendationReportsRequestBuilder retrieveCloudPcRecomme
/**
* Provides operations to call the retrieveCloudPcTenantMetricsReport method.
* @return a {@link RetrieveCloudPcTenantMetricsReportRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public RetrieveCloudPcTenantMetricsReportRequestBuilder retrieveCloudPcTenantMetricsReport() {
return new RetrieveCloudPcTenantMetricsReportRequestBuilder(pathParameters, requestAdapter);
@@ -197,10 +155,7 @@ public RetrieveCloudPcTenantMetricsReportRequestBuilder retrieveCloudPcTenantMet
/**
* Provides operations to call the retrieveCloudPcTroubleshootReports method.
* @return a {@link RetrieveCloudPcTroubleshootReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public RetrieveCloudPcTroubleshootReportsRequestBuilder retrieveCloudPcTroubleshootReports() {
return new RetrieveCloudPcTroubleshootReportsRequestBuilder(pathParameters, requestAdapter);
@@ -208,10 +163,7 @@ public RetrieveCloudPcTroubleshootReportsRequestBuilder retrieveCloudPcTroublesh
/**
* Provides operations to call the retrieveConnectionQualityReports method.
* @return a {@link RetrieveConnectionQualityReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public RetrieveConnectionQualityReportsRequestBuilder retrieveConnectionQualityReports() {
return new RetrieveConnectionQualityReportsRequestBuilder(pathParameters, requestAdapter);
@@ -219,10 +171,7 @@ public RetrieveConnectionQualityReportsRequestBuilder retrieveConnectionQualityR
/**
* Provides operations to call the retrieveCrossRegionDisasterRecoveryReport method.
* @return a {@link RetrieveCrossRegionDisasterRecoveryReportRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public RetrieveCrossRegionDisasterRecoveryReportRequestBuilder retrieveCrossRegionDisasterRecoveryReport() {
return new RetrieveCrossRegionDisasterRecoveryReportRequestBuilder(pathParameters, requestAdapter);
@@ -230,10 +179,7 @@ public RetrieveCrossRegionDisasterRecoveryReportRequestBuilder retrieveCrossRegi
/**
* Provides operations to call the retrieveFrontlineReports method.
* @return a {@link RetrieveFrontlineReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public RetrieveFrontlineReportsRequestBuilder retrieveFrontlineReports() {
return new RetrieveFrontlineReportsRequestBuilder(pathParameters, requestAdapter);
@@ -257,10 +203,7 @@ public ReportsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
/**
* Delete navigation property reports for deviceManagement
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
public void delete() {
delete(null);
}
@@ -268,10 +211,7 @@ public void delete() {
* Delete navigation property reports for deviceManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
final HashMap> errorMapping = new HashMap>();
@@ -282,11 +222,8 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
* Cloud PC-related reports.
* @return a {@link CloudPcReports}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nullable
- @Deprecated
public CloudPcReports get() {
return get(null);
}
@@ -295,11 +232,8 @@ public CloudPcReports get() {
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link CloudPcReports}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nullable
- @Deprecated
public CloudPcReports get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap> errorMapping = new HashMap>();
@@ -310,11 +244,8 @@ public CloudPcReports get(@jakarta.annotation.Nullable final java.util.function.
* Provides operations to call the getRealTimeRemoteConnectionLatency method.
* @param cloudPcId Usage: cloudPcId='{cloudPcId}'
* @return a {@link GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder getRealTimeRemoteConnectionLatencyWithCloudPcId(@jakarta.annotation.Nonnull final String cloudPcId) {
Objects.requireNonNull(cloudPcId);
return new GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder(pathParameters, requestAdapter, cloudPcId);
@@ -323,11 +254,8 @@ public GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder getRealTime
* Provides operations to call the getRealTimeRemoteConnectionStatus method.
* @param cloudPcId Usage: cloudPcId='{cloudPcId}'
* @return a {@link GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder getRealTimeRemoteConnectionStatusWithCloudPcId(@jakarta.annotation.Nonnull final String cloudPcId) {
Objects.requireNonNull(cloudPcId);
return new GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder(pathParameters, requestAdapter, cloudPcId);
@@ -337,11 +265,8 @@ public GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder getRealTimeR
* @param body The request body
* @return a {@link CloudPcReports}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nullable
- @Deprecated
public CloudPcReports patch(@jakarta.annotation.Nonnull final CloudPcReports body) {
return patch(body, null);
}
@@ -351,11 +276,8 @@ public CloudPcReports patch(@jakarta.annotation.Nonnull final CloudPcReports bod
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link CloudPcReports}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nullable
- @Deprecated
public CloudPcReports patch(@jakarta.annotation.Nonnull final CloudPcReports body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration);
@@ -366,11 +288,8 @@ public CloudPcReports patch(@jakarta.annotation.Nonnull final CloudPcReports bod
/**
* Delete navigation property reports for deviceManagement
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
@@ -378,11 +297,8 @@ public RequestInformation toDeleteRequestInformation() {
* Delete navigation property reports for deviceManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
@@ -392,11 +308,8 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
/**
* Cloud PC-related reports.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
@@ -404,11 +317,8 @@ public RequestInformation toGetRequestInformation() {
* Cloud PC-related reports.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
@@ -419,11 +329,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
* Update the navigation property reports in deviceManagement
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcReports body) {
return toPatchRequestInformation(body, null);
}
@@ -432,11 +339,8 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcReports body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
@@ -449,11 +353,8 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link ReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public ReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new ReportsRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/ExportJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/ExportJobsRequestBuilder.java
index 46c608bc269..18b2f4b169c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/ExportJobsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/ExportJobsRequestBuilder.java
@@ -26,10 +26,7 @@ public class ExportJobsRequestBuilder extends BaseRequestBuilder {
/**
* Provides operations to count the resources in the collection.
* @return a {@link CountRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public CountRequestBuilder count() {
return new CountRequestBuilder(pathParameters, requestAdapter);
@@ -38,11 +35,8 @@ public CountRequestBuilder count() {
* Provides operations to manage the exportJobs property of the microsoft.graph.cloudPcReports entity.
* @param cloudPcExportJobId The unique identifier of cloudPcExportJob
* @return a {@link CloudPcExportJobItemRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public CloudPcExportJobItemRequestBuilder byCloudPcExportJobId(@jakarta.annotation.Nonnull final String cloudPcExportJobId) {
Objects.requireNonNull(cloudPcExportJobId);
final HashMap urlTplParams = new HashMap(this.pathParameters);
@@ -69,11 +63,8 @@ public ExportJobsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
* Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property.
* @return a {@link CloudPcExportJobCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nullable
- @Deprecated
public CloudPcExportJobCollectionResponse get() {
return get(null);
}
@@ -82,11 +73,8 @@ public CloudPcExportJobCollectionResponse get() {
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link CloudPcExportJobCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nullable
- @Deprecated
public CloudPcExportJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap> errorMapping = new HashMap>();
@@ -98,12 +86,9 @@ public CloudPcExportJobCollectionResponse get(@jakarta.annotation.Nullable final
* @param body The request body
* @return a {@link CloudPcExportJob}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public CloudPcExportJob post(@jakarta.annotation.Nonnull final CloudPcExportJob body) {
return post(body, null);
}
@@ -113,12 +98,9 @@ public CloudPcExportJob post(@jakarta.annotation.Nonnull final CloudPcExportJob
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link CloudPcExportJob}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public CloudPcExportJob post(@jakarta.annotation.Nonnull final CloudPcExportJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -129,11 +111,8 @@ public CloudPcExportJob post(@jakarta.annotation.Nonnull final CloudPcExportJob
/**
* Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
@@ -141,11 +120,8 @@ public RequestInformation toGetRequestInformation() {
* Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
@@ -156,11 +132,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
* Create a new cloudPcExportJob resource to initiate downloading the entire or specified portion of a report. Use the GET cloudPcExportJob operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property result is completed, the report finishes downloading to the location specified by the exportUrl property.
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcExportJob body) {
return toPostRequestInformation(body, null);
}
@@ -169,11 +142,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcExportJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -186,11 +156,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link ExportJobsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public ExportJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new ExportJobsRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/count/CountRequestBuilder.java
index bdec627f9f1..1447757d908 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/count/CountRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/count/CountRequestBuilder.java
@@ -39,11 +39,8 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
* Get the number of the resource
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nullable
- @Deprecated
public Integer get() {
return get(null);
}
@@ -52,11 +49,8 @@ public Integer get() {
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Integer}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nullable
- @Deprecated
public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap> errorMapping = new HashMap>();
@@ -66,11 +60,8 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume
/**
* Get the number of the resource
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
@@ -78,11 +69,8 @@ public RequestInformation toGetRequestInformation() {
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
@@ -93,11 +81,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link CountRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new CountRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/item/CloudPcExportJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/item/CloudPcExportJobItemRequestBuilder.java
index 576631cfc1e..790e2e9ee87 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/item/CloudPcExportJobItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/item/CloudPcExportJobItemRequestBuilder.java
@@ -39,10 +39,7 @@ public CloudPcExportJobItemRequestBuilder(@jakarta.annotation.Nonnull final Stri
/**
* Delete navigation property exportJobs for deviceManagement
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
public void delete() {
delete(null);
}
@@ -50,10 +47,7 @@ public void delete() {
* Delete navigation property exportJobs for deviceManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
- @Deprecated
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
final HashMap> errorMapping = new HashMap>();
@@ -64,12 +58,9 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
* Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property.
* @return a {@link CloudPcExportJob}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public CloudPcExportJob get() {
return get(null);
}
@@ -78,12 +69,9 @@ public CloudPcExportJob get() {
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link CloudPcExportJob}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public CloudPcExportJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap> errorMapping = new HashMap>();
@@ -95,11 +83,8 @@ public CloudPcExportJob get(@jakarta.annotation.Nullable final java.util.functio
* @param body The request body
* @return a {@link CloudPcExportJob}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nullable
- @Deprecated
public CloudPcExportJob patch(@jakarta.annotation.Nonnull final CloudPcExportJob body) {
return patch(body, null);
}
@@ -109,11 +94,8 @@ public CloudPcExportJob patch(@jakarta.annotation.Nonnull final CloudPcExportJob
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link CloudPcExportJob}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nullable
- @Deprecated
public CloudPcExportJob patch(@jakarta.annotation.Nonnull final CloudPcExportJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration);
@@ -124,11 +106,8 @@ public CloudPcExportJob patch(@jakarta.annotation.Nonnull final CloudPcExportJob
/**
* Delete navigation property exportJobs for deviceManagement
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
@@ -136,11 +115,8 @@ public RequestInformation toDeleteRequestInformation() {
* Delete navigation property exportJobs for deviceManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
@@ -150,11 +126,8 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
/**
* Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
@@ -162,11 +135,8 @@ public RequestInformation toGetRequestInformation() {
* Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
@@ -177,11 +147,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
* Update the navigation property exportJobs in deviceManagement
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcExportJob body) {
return toPatchRequestInformation(body, null);
}
@@ -190,11 +157,8 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcExportJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
@@ -207,11 +171,8 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link CloudPcExportJobItemRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public CloudPcExportJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new CloudPcExportJobItemRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getactionstatusreports/GetActionStatusReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getactionstatusreports/GetActionStatusReportsRequestBuilder.java
index 30f3382e64e..dab750fdb0b 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getactionstatusreports/GetActionStatusReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getactionstatusreports/GetActionStatusReportsRequestBuilder.java
@@ -40,12 +40,9 @@ public GetActionStatusReportsRequestBuilder(@jakarta.annotation.Nonnull final St
* @param body The request body
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final GetActionStatusReportsPostRequestBody body) {
return post(body, null);
}
@@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final GetActionStatusReports
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final GetActionStatusReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final GetActionStatusReports
* Get the remote action status reports, including data such as the Cloud PC ID, Cloud PC device display name, initiating user's principal name, device owner's user principal name, action taken, and action state.
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetActionStatusReportsPostRequestBody body) {
return toPostRequestInformation(body, null);
}
@@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetActionStatusReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GetActionStatusReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public GetActionStatusReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new GetActionStatusReportsRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcperformancereport/GetCloudPcPerformanceReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcperformancereport/GetCloudPcPerformanceReportRequestBuilder.java
index 0f4d9001ef7..00fa32b9b43 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcperformancereport/GetCloudPcPerformanceReportRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcperformancereport/GetCloudPcPerformanceReportRequestBuilder.java
@@ -41,7 +41,7 @@ public GetCloudPcPerformanceReportRequestBuilder(@jakarta.annotation.Nonnull fin
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getCloudPcPerformanceReport') will be deprecated and no longer supported. Please use the retrieveCloudPcTenantMetricsReport API. as of 2024-09/getCloudPcPerformanceReport on 2024-09-10 and will be removed 2024-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
@@ -56,7 +56,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetCloudPcPerformanceR
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getCloudPcPerformanceReport') will be deprecated and no longer supported. Please use the retrieveCloudPcTenantMetricsReport API. as of 2024-09/getCloudPcPerformanceReport on 2024-09-10 and will be removed 2024-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
@@ -73,7 +73,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetCloudPcPerformanceR
* @param body The request body
* @return a {@link RequestInformation}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getCloudPcPerformanceReport') will be deprecated and no longer supported. Please use the retrieveCloudPcTenantMetricsReport API. as of 2024-09/getCloudPcPerformanceReport on 2024-09-10 and will be removed 2024-12-31
*/
@jakarta.annotation.Nonnull
@Deprecated
@@ -86,7 +86,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getCloudPcPerformanceReport') will be deprecated and no longer supported. Please use the retrieveCloudPcTenantMetricsReport API. as of 2024-09/getCloudPcPerformanceReport on 2024-09-10 and will be removed 2024-12-31
*/
@jakarta.annotation.Nonnull
@Deprecated
@@ -103,7 +103,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GetCloudPcPerformanceReportRequestBuilder}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getCloudPcPerformanceReport') will be deprecated and no longer supported. Please use the retrieveCloudPcTenantMetricsReport API. as of 2024-09/getCloudPcPerformanceReport on 2024-09-10 and will be removed 2024-12-31
*/
@jakarta.annotation.Nonnull
@Deprecated
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcrecommendationreports/GetCloudPcRecommendationReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcrecommendationreports/GetCloudPcRecommendationReportsRequestBuilder.java
index 60991aad6ab..fd18bb92d97 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcrecommendationreports/GetCloudPcRecommendationReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getcloudpcrecommendationreports/GetCloudPcRecommendationReportsRequestBuilder.java
@@ -41,7 +41,7 @@ public GetCloudPcRecommendationReportsRequestBuilder(@jakarta.annotation.Nonnull
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01
* @see Find more info here
*/
@jakarta.annotation.Nullable
@@ -56,7 +56,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetCloudPcRecommendati
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01
* @see Find more info here
*/
@jakarta.annotation.Nullable
@@ -73,7 +73,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetCloudPcRecommendati
* @param body The request body
* @return a {@link RequestInformation}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01
*/
@jakarta.annotation.Nonnull
@Deprecated
@@ -86,7 +86,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01
*/
@jakarta.annotation.Nonnull
@Deprecated
@@ -103,7 +103,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GetCloudPcRecommendationReportsRequestBuilder}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from July 01, 2025, this API ('getCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the retrieveCloudPcRecommendationReports API. as of 2025-02/getCloudPcRecommendationReports on 2025-02-27 and will be removed 2025-07-01
*/
@jakarta.annotation.Nonnull
@Deprecated
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getconnectionqualityreports/GetConnectionQualityReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getconnectionqualityreports/GetConnectionQualityReportsRequestBuilder.java
index a7fc76ea084..986d8e02897 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getconnectionqualityreports/GetConnectionQualityReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getconnectionqualityreports/GetConnectionQualityReportsRequestBuilder.java
@@ -41,7 +41,7 @@ public GetConnectionQualityReportsRequestBuilder(@jakarta.annotation.Nonnull fin
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports on 2024-09-10 and will be removed 2024-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
@@ -56,7 +56,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetConnectionQualityRe
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports on 2024-09-10 and will be removed 2024-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
@@ -73,7 +73,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetConnectionQualityRe
* @param body The request body
* @return a {@link RequestInformation}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports on 2024-09-10 and will be removed 2024-12-31
*/
@jakarta.annotation.Nonnull
@Deprecated
@@ -86,7 +86,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports on 2024-09-10 and will be removed 2024-12-31
*/
@jakarta.annotation.Nonnull
@Deprecated
@@ -103,7 +103,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GetConnectionQualityReportsRequestBuilder}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getConnectionQualityReports') will be deprecated and no longer supported. Please use the retrieveConnectionQualityReports API. as of 2024-09/getConnectionQualityReports on 2024-09-10 and will be removed 2024-12-31
*/
@jakarta.annotation.Nonnull
@Deprecated
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getdailyaggregatedremoteconnectionreports/GetDailyAggregatedRemoteConnectionReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getdailyaggregatedremoteconnectionreports/GetDailyAggregatedRemoteConnectionReportsRequestBuilder.java
index 644d849b90f..406111c445e 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getdailyaggregatedremoteconnectionreports/GetDailyAggregatedRemoteConnectionReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getdailyaggregatedremoteconnectionreports/GetDailyAggregatedRemoteConnectionReportsRequestBuilder.java
@@ -40,12 +40,9 @@ public GetDailyAggregatedRemoteConnectionReportsRequestBuilder(@jakarta.annotati
* @param body The request body
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final GetDailyAggregatedRemoteConnectionReportsPostRequestBody body) {
return post(body, null);
}
@@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final GetDailyAggregatedRemo
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final GetDailyAggregatedRemoteConnectionReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final GetDailyAggregatedRemo
* Get the daily aggregated remote connection reports, such as round trip time, available bandwidth, and so on, in a given period.
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetDailyAggregatedRemoteConnectionReportsPostRequestBody body) {
return toPostRequestInformation(body, null);
}
@@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetDailyAggregatedRemoteConnectionReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GetDailyAggregatedRemoteConnectionReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public GetDailyAggregatedRemoteConnectionReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new GetDailyAggregatedRemoteConnectionReportsRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getfrontlinereport/GetFrontlineReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getfrontlinereport/GetFrontlineReportRequestBuilder.java
index 64ed21cdc71..6734f45ac26 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getfrontlinereport/GetFrontlineReportRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getfrontlinereport/GetFrontlineReportRequestBuilder.java
@@ -41,7 +41,7 @@ public GetFrontlineReportRequestBuilder(@jakarta.annotation.Nonnull final String
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport on 2024-08-22 and will be removed 2024-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
@@ -56,7 +56,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetFrontlineReportPost
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport on 2024-08-22 and will be removed 2024-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
@@ -73,7 +73,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetFrontlineReportPost
* @param body The request body
* @return a {@link RequestInformation}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport on 2024-08-22 and will be removed 2024-12-31
*/
@jakarta.annotation.Nonnull
@Deprecated
@@ -86,7 +86,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport on 2024-08-22 and will be removed 2024-12-31
*/
@jakarta.annotation.Nonnull
@Deprecated
@@ -103,7 +103,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GetFrontlineReportRequestBuilder}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2024, this API ('getFrontlineReport') will be deprecated and no longer supported. Please use the retrieveFrontlineReports API. as of 2024-09/getFrontlineReport on 2024-08-22 and will be removed 2024-12-31
*/
@jakarta.annotation.Nonnull
@Deprecated
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getinaccessiblecloudpcreports/GetInaccessibleCloudPcReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getinaccessiblecloudpcreports/GetInaccessibleCloudPcReportsRequestBuilder.java
index c046fc0f898..2bca350475d 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getinaccessiblecloudpcreports/GetInaccessibleCloudPcReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getinaccessiblecloudpcreports/GetInaccessibleCloudPcReportsRequestBuilder.java
@@ -40,12 +40,9 @@ public GetInaccessibleCloudPcReportsRequestBuilder(@jakarta.annotation.Nonnull f
* @param body The request body
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final GetInaccessibleCloudPcReportsPostRequestBody body) {
return post(body, null);
}
@@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final GetInaccessibleCloudPc
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final GetInaccessibleCloudPcReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final GetInaccessibleCloudPc
* Get inaccessible Cloud PCs with details, including the latest health state, failed connection count, failed health check count, and system status. An inaccessible Cloud PC represents a Cloud PC that is in an unavailable state (at least one of the health checks failed) or has consecutive user connections failure.
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetInaccessibleCloudPcReportsPostRequestBody body) {
return toPostRequestInformation(body, null);
}
@@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetInaccessibleCloudPcReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GetInaccessibleCloudPcReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public GetInaccessibleCloudPcReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new GetInaccessibleCloudPcReportsRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrawremoteconnectionreports/GetRawRemoteConnectionReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrawremoteconnectionreports/GetRawRemoteConnectionReportsRequestBuilder.java
index dcef3f001d8..4cbc5bf4fe6 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrawremoteconnectionreports/GetRawRemoteConnectionReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrawremoteconnectionreports/GetRawRemoteConnectionReportsRequestBuilder.java
@@ -40,12 +40,9 @@ public GetRawRemoteConnectionReportsRequestBuilder(@jakarta.annotation.Nonnull f
* @param body The request body
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final GetRawRemoteConnectionReportsPostRequestBody body) {
return post(body, null);
}
@@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final GetRawRemoteConnection
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final GetRawRemoteConnectionReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final GetRawRemoteConnection
* Get the raw real-time remote connection report for a Cloud PC without any calculation, such as roundTripTime or available bandwidth, which are aggregated hourly from the raw event data.
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetRawRemoteConnectionReportsPostRequestBody body) {
return toPostRequestInformation(body, null);
}
@@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetRawRemoteConnectionReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GetRawRemoteConnectionReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public GetRawRemoteConnectionReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new GetRawRemoteConnectionReportsRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionlatencywithcloudpcid/GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionlatencywithcloudpcid/GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder.java
index 955493c108b..8772e574dda 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionlatencywithcloudpcid/GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionlatencywithcloudpcid/GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder.java
@@ -41,12 +41,9 @@ public GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder(@jakarta.an
* Get the real-time connection latency information for a Cloud PC.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream get() {
return get(null);
}
@@ -55,12 +52,9 @@ public InputStream get() {
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap> errorMapping = new HashMap>();
@@ -70,11 +64,8 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con
/**
* Get the real-time connection latency information for a Cloud PC.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
@@ -82,11 +73,8 @@ public RequestInformation toGetRequestInformation() {
* Get the real-time connection latency information for a Cloud PC.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new);
@@ -97,11 +85,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionstatuswithcloudpcid/GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionstatuswithcloudpcid/GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder.java
index 52b80373303..dc181f204a7 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionstatuswithcloudpcid/GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getrealtimeremoteconnectionstatuswithcloudpcid/GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder.java
@@ -41,12 +41,9 @@ public GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder(@jakarta.ann
* Get the real-time connection status information, such as signInStatus or daysSinceLastUse, for a Cloud PC.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream get() {
return get(null);
}
@@ -55,12 +52,9 @@ public InputStream get() {
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap> errorMapping = new HashMap>();
@@ -70,11 +64,8 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con
/**
* Get the real-time connection status information, such as signInStatus or daysSinceLastUse, for a Cloud PC.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
@@ -82,11 +73,8 @@ public RequestInformation toGetRequestInformation() {
* Get the real-time connection status information, such as signInStatus or daysSinceLastUse, for a Cloud PC.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new);
@@ -97,11 +85,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getremoteconnectionhistoricalreports/GetRemoteConnectionHistoricalReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getremoteconnectionhistoricalreports/GetRemoteConnectionHistoricalReportsRequestBuilder.java
index 962f4c0abb7..d45002ab323 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getremoteconnectionhistoricalreports/GetRemoteConnectionHistoricalReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/getremoteconnectionhistoricalreports/GetRemoteConnectionHistoricalReportsRequestBuilder.java
@@ -40,12 +40,9 @@ public GetRemoteConnectionHistoricalReportsRequestBuilder(@jakarta.annotation.No
* @param body The request body
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final GetRemoteConnectionHistoricalReportsPostRequestBody body) {
return post(body, null);
}
@@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final GetRemoteConnectionHis
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final GetRemoteConnectionHistoricalReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final GetRemoteConnectionHis
* Get the remote connection history records of a Cloud PC during a given period. This report contains data such as signInDateTime, signOutDateTime, usageInHour, remoteSignInTimeInSec and roundTripTimeInMsP50, and so on. This data is aggregated hourly for a specified time period, such as the last seven days.
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetRemoteConnectionHistoricalReportsPostRequestBody body) {
return toPostRequestInformation(body, null);
}
@@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetRemoteConnectionHistoricalReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GetRemoteConnectionHistoricalReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public GetRemoteConnectionHistoricalReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new GetRemoteConnectionHistoricalReportsRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/gettotalaggregatedremoteconnectionreports/GetTotalAggregatedRemoteConnectionReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/gettotalaggregatedremoteconnectionreports/GetTotalAggregatedRemoteConnectionReportsRequestBuilder.java
index fa064807e98..9065ff60400 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/gettotalaggregatedremoteconnectionreports/GetTotalAggregatedRemoteConnectionReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/gettotalaggregatedremoteconnectionreports/GetTotalAggregatedRemoteConnectionReportsRequestBuilder.java
@@ -40,12 +40,9 @@ public GetTotalAggregatedRemoteConnectionReportsRequestBuilder(@jakarta.annotati
* @param body The request body
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final GetTotalAggregatedRemoteConnectionReportsPostRequestBody body) {
return post(body, null);
}
@@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final GetTotalAggregatedRemo
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final GetTotalAggregatedRemoteConnectionReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final GetTotalAggregatedRemo
* Get the total aggregated remote connection usage of a Cloud PC during a given time span.
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetTotalAggregatedRemoteConnectionReportsPostRequestBody body) {
return toPostRequestInformation(body, null);
}
@@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetTotalAggregatedRemoteConnectionReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GetTotalAggregatedRemoteConnectionReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public GetTotalAggregatedRemoteConnectionReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new GetTotalAggregatedRemoteConnectionReportsRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievebulkactionstatusreport/RetrieveBulkActionStatusReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievebulkactionstatusreport/RetrieveBulkActionStatusReportRequestBuilder.java
index 26dd5cc89bb..ec0418669c5 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievebulkactionstatusreport/RetrieveBulkActionStatusReportRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievebulkactionstatusreport/RetrieveBulkActionStatusReportRequestBuilder.java
@@ -40,12 +40,9 @@ public RetrieveBulkActionStatusReportRequestBuilder(@jakarta.annotation.Nonnull
* @param body The request body
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final RetrieveBulkActionStatusReportPostRequestBody body) {
return post(body, null);
}
@@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveBulkActionStat
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final RetrieveBulkActionStatusReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveBulkActionStat
* Get the bulk remote action status report, including data such as the bulk action ID, bulk action display name, initiating user's principal name, action type, and action state.
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveBulkActionStatusReportPostRequestBody body) {
return toPostRequestInformation(body, null);
}
@@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveBulkActionStatusReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link RetrieveBulkActionStatusReportRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RetrieveBulkActionStatusReportRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new RetrieveBulkActionStatusReportRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsRequestBuilder.java
index 3495a325472..2e00b1e976f 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsRequestBuilder.java
@@ -41,7 +41,7 @@ public RetrieveCloudPcRecommendationReportsRequestBuilder(@jakarta.annotation.No
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2025, this API ('cloudPcReports/retrieveCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the cloudPcReport/retrieveCloudPcRecommendationReports API. as of 2025-09/cloudPcReports/retrieveCloudPcRecommendationReports on 2025-09-01 and will be removed 2025-12-31
*/
@jakarta.annotation.Nullable
@Deprecated
@@ -55,7 +55,7 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcRecomme
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2025, this API ('cloudPcReports/retrieveCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the cloudPcReport/retrieveCloudPcRecommendationReports API. as of 2025-09/cloudPcReports/retrieveCloudPcRecommendationReports on 2025-09-01 and will be removed 2025-12-31
*/
@jakarta.annotation.Nullable
@Deprecated
@@ -71,7 +71,7 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcRecomme
* @param body The request body
* @return a {@link RequestInformation}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2025, this API ('cloudPcReports/retrieveCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the cloudPcReport/retrieveCloudPcRecommendationReports API. as of 2025-09/cloudPcReports/retrieveCloudPcRecommendationReports on 2025-09-01 and will be removed 2025-12-31
*/
@jakarta.annotation.Nonnull
@Deprecated
@@ -84,7 +84,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2025, this API ('cloudPcReports/retrieveCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the cloudPcReport/retrieveCloudPcRecommendationReports API. as of 2025-09/cloudPcReports/retrieveCloudPcRecommendationReports on 2025-09-01 and will be removed 2025-12-31
*/
@jakarta.annotation.Nonnull
@Deprecated
@@ -101,7 +101,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link RetrieveCloudPcRecommendationReportsRequestBuilder}
* @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
+ * Starting from December 31, 2025, this API ('cloudPcReports/retrieveCloudPcRecommendationReports') will be deprecated and no longer supported. Please use the cloudPcReport/retrieveCloudPcRecommendationReports API. as of 2025-09/cloudPcReports/retrieveCloudPcRecommendationReports on 2025-09-01 and will be removed 2025-12-31
*/
@jakarta.annotation.Nonnull
@Deprecated
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctenantmetricsreport/RetrieveCloudPcTenantMetricsReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctenantmetricsreport/RetrieveCloudPcTenantMetricsReportRequestBuilder.java
index 0231f185bdd..2baa7cda9a7 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctenantmetricsreport/RetrieveCloudPcTenantMetricsReportRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctenantmetricsreport/RetrieveCloudPcTenantMetricsReportRequestBuilder.java
@@ -40,12 +40,9 @@ public RetrieveCloudPcTenantMetricsReportRequestBuilder(@jakarta.annotation.Nonn
* @param body The request body
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTenantMetricsReportPostRequestBody body) {
return post(body, null);
}
@@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTenantM
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTenantMetricsReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTenantM
* Get a report related to the performance of Cloud PCs.
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCloudPcTenantMetricsReportPostRequestBody body) {
return toPostRequestInformation(body, null);
}
@@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCloudPcTenantMetricsReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link RetrieveCloudPcTenantMetricsReportRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RetrieveCloudPcTenantMetricsReportRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new RetrieveCloudPcTenantMetricsReportRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctroubleshootreports/RetrieveCloudPcTroubleshootReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctroubleshootreports/RetrieveCloudPcTroubleshootReportsRequestBuilder.java
index facc08298ef..c436a700379 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctroubleshootreports/RetrieveCloudPcTroubleshootReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecloudpctroubleshootreports/RetrieveCloudPcTroubleshootReportsRequestBuilder.java
@@ -40,12 +40,9 @@ public RetrieveCloudPcTroubleshootReportsRequestBuilder(@jakarta.annotation.Nonn
* @param body The request body
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTroubleshootReportsPostRequestBody body) {
return post(body, null);
}
@@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTrouble
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTroubleshootReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcTrouble
* Get troubleshooting reports for Cloud PCs. You can get a regional troubleshooting report, a report with troubleshooting details, a report with troubleshooting trends, or a report on the number of troubleshooting issues.
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCloudPcTroubleshootReportsPostRequestBody body) {
return toPostRequestInformation(body, null);
}
@@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCloudPcTroubleshootReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link RetrieveCloudPcTroubleshootReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RetrieveCloudPcTroubleshootReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new RetrieveCloudPcTroubleshootReportsRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrieveconnectionqualityreports/RetrieveConnectionQualityReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrieveconnectionqualityreports/RetrieveConnectionQualityReportsRequestBuilder.java
index f98b7e7a7d8..c0f13c0667f 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrieveconnectionqualityreports/RetrieveConnectionQualityReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrieveconnectionqualityreports/RetrieveConnectionQualityReportsRequestBuilder.java
@@ -40,11 +40,8 @@ public RetrieveConnectionQualityReportsRequestBuilder(@jakarta.annotation.Nonnul
* @param body The request body
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final RetrieveConnectionQualityReportsPostRequestBody body) {
return post(body, null);
}
@@ -54,11 +51,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveConnectionQual
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final RetrieveConnectionQualityReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -70,11 +64,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveConnectionQual
* Invoke action retrieveConnectionQualityReports
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveConnectionQualityReportsPostRequestBody body) {
return toPostRequestInformation(body, null);
}
@@ -83,11 +74,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveConnectionQualityReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -100,11 +88,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link RetrieveConnectionQualityReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RetrieveConnectionQualityReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new RetrieveConnectionQualityReportsRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecrossregiondisasterrecoveryreport/RetrieveCrossRegionDisasterRecoveryReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecrossregiondisasterrecoveryreport/RetrieveCrossRegionDisasterRecoveryReportRequestBuilder.java
index e24034e7718..dfb3319e7bf 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecrossregiondisasterrecoveryreport/RetrieveCrossRegionDisasterRecoveryReportRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecrossregiondisasterrecoveryreport/RetrieveCrossRegionDisasterRecoveryReportRequestBuilder.java
@@ -40,12 +40,9 @@ public RetrieveCrossRegionDisasterRecoveryReportRequestBuilder(@jakarta.annotati
* @param body The request body
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final RetrieveCrossRegionDisasterRecoveryReportPostRequestBody body) {
return post(body, null);
}
@@ -55,12 +52,9 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCrossRegionDis
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
* @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final RetrieveCrossRegionDisasterRecoveryReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -72,11 +66,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCrossRegionDis
* Retrieve the Windows 365 cross-region disaster recovery report, including cloudPcId, userId, deviceId, cloudPCDeviceDisplayName, userPrincipalName, enabledDRType, disasterRecoveryStatus, licenseType, drHealthStatus, currentRestorePointDateTime, backupCloudPcStatus, and activationExpirationDateTime.
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCrossRegionDisasterRecoveryReportPostRequestBody body) {
return toPostRequestInformation(body, null);
}
@@ -85,11 +76,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCrossRegionDisasterRecoveryReportPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -102,11 +90,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link RetrieveCrossRegionDisasterRecoveryReportRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RetrieveCrossRegionDisasterRecoveryReportRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new RetrieveCrossRegionDisasterRecoveryReportRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievefrontlinereports/RetrieveFrontlineReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievefrontlinereports/RetrieveFrontlineReportsRequestBuilder.java
index fd6cf782c10..9b2cb31a0d2 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievefrontlinereports/RetrieveFrontlineReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievefrontlinereports/RetrieveFrontlineReportsRequestBuilder.java
@@ -40,11 +40,8 @@ public RetrieveFrontlineReportsRequestBuilder(@jakarta.annotation.Nonnull final
* @param body The request body
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final RetrieveFrontlineReportsPostRequestBody body) {
return post(body, null);
}
@@ -54,11 +51,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveFrontlineRepor
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nullable
- @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final RetrieveFrontlineReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -70,11 +64,8 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveFrontlineRepor
* Invoke action retrieveFrontlineReports
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveFrontlineReportsPostRequestBody body) {
return toPostRequestInformation(body, null);
}
@@ -83,11 +74,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveFrontlineReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -100,11 +88,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link RetrieveFrontlineReportsRequestBuilder}
- * @deprecated
- * Starting from December 31, 2026, this entity type ('cloudPcReports') will be deprecated and no longer supported. Please use 'cloudPcReport' instead. as of 2025-09/cloudPcReports on 2025-09-01 and will be removed 2026-12-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RetrieveFrontlineReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new RetrieveFrontlineReportsRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/DirectoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/DirectoryRequestBuilder.java
index 103c3b5dd9e..6f95ed44c97 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/directory/DirectoryRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/DirectoryRequestBuilder.java
@@ -18,11 +18,13 @@
import com.microsoft.graph.beta.directory.publickeyinfrastructure.PublicKeyInfrastructureRequestBuilder;
import com.microsoft.graph.beta.directory.recommendationconfiguration.RecommendationConfigurationRequestBuilder;
import com.microsoft.graph.beta.directory.recommendations.RecommendationsRequestBuilder;
+import com.microsoft.graph.beta.directory.recovery.RecoveryRequestBuilder;
import com.microsoft.graph.beta.directory.sharedemaildomains.SharedEmailDomainsRequestBuilder;
import com.microsoft.graph.beta.directory.subscriptions.SubscriptionsRequestBuilder;
import com.microsoft.graph.beta.directory.subscriptionswithcommercesubscriptionid.SubscriptionsWithCommerceSubscriptionIdRequestBuilder;
import com.microsoft.graph.beta.directory.subscriptionswithocpsubscriptionid.SubscriptionsWithOcpSubscriptionIdRequestBuilder;
import com.microsoft.graph.beta.directory.templates.TemplatesRequestBuilder;
+import com.microsoft.graph.beta.directory.tenantgovernance.TenantGovernanceRequestBuilder;
import com.microsoft.graph.beta.models.Directory;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -187,6 +189,14 @@ public RecommendationConfigurationRequestBuilder recommendationConfiguration() {
public RecommendationsRequestBuilder recommendations() {
return new RecommendationsRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the recovery property of the microsoft.graph.directory entity.
+ * @return a {@link RecoveryRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RecoveryRequestBuilder recovery() {
+ return new RecoveryRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the sharedEmailDomains property of the microsoft.graph.directory entity.
* @return a {@link SharedEmailDomainsRequestBuilder}
@@ -211,6 +221,14 @@ public SubscriptionsRequestBuilder subscriptions() {
public TemplatesRequestBuilder templates() {
return new TemplatesRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the tenantGovernance property of the microsoft.graph.directory entity.
+ * @return a {@link TenantGovernanceRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public TenantGovernanceRequestBuilder tenantGovernance() {
+ return new TenantGovernanceRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Instantiates a new {@link DirectoryRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/DeletedItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/DeletedItemsRequestBuilder.java
index 2cc10f1fc03..3a28ddb3e54 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/DeletedItemsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/DeletedItemsRequestBuilder.java
@@ -131,7 +131,7 @@ public DeletedItemsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr
super(requestAdapter, "{+baseurl}/directory/deletedItems{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Recently deleted items. Read-only. Nullable.
+ * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
* @return a {@link DirectoryObjectCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -140,7 +140,7 @@ public DirectoryObjectCollectionResponse get() {
return get(null);
}
/**
- * Recently deleted items. Read-only. Nullable.
+ * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DirectoryObjectCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -153,7 +153,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Recently deleted items. Read-only. Nullable.
+ * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -161,7 +161,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Recently deleted items. Read-only. Nullable.
+ * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -183,7 +183,7 @@ public DeletedItemsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri
return new DeletedItemsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Recently deleted items. Read-only. Nullable.
+ * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java
index b5f5d44e255..463b7bf165c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java
@@ -136,16 +136,18 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin
super(requestAdapter, "{+baseurl}/directory/deletedItems/{directoryObject%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Delete navigation property deletedItems for directory
+ * Permanently delete a recently deleted directory object from deleted items. The following types are supported:- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored.
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
public void delete() {
delete(null);
}
/**
- * Delete navigation property deletedItems for directory
+ * Permanently delete a recently deleted directory object from deleted items. The following types are supported:- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -154,19 +156,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Recently deleted items. Read-only. Nullable.
+ * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DirectoryObject get() {
return get(null);
}
/**
- * Recently deleted items. Read-only. Nullable.
+ * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -176,7 +180,7 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
- * Delete navigation property deletedItems for directory
+ * Permanently delete a recently deleted directory object from deleted items. The following types are supported:- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -184,7 +188,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete navigation property deletedItems for directory
+ * Permanently delete a recently deleted directory object from deleted items. The following types are supported:- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -196,7 +200,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Recently deleted items. Read-only. Nullable.
+ * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -204,7 +208,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Recently deleted items. Read-only. Nullable.
+ * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -232,7 +236,7 @@ public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fin
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Recently deleted items. Read-only. Nullable.
+ * Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/RecoveryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/RecoveryRequestBuilder.java
new file mode 100644
index 00000000000..91b2605aa14
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/RecoveryRequestBuilder.java
@@ -0,0 +1,246 @@
+package com.microsoft.graph.beta.directory.recovery;
+
+import com.microsoft.graph.beta.directory.recovery.jobs.JobsRequestBuilder;
+import com.microsoft.graph.beta.directory.recovery.snapshots.SnapshotsRequestBuilder;
+import com.microsoft.graph.beta.models.entrarecoveryservices.Recovery;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the recovery property of the microsoft.graph.directory entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RecoveryRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the jobs property of the microsoft.graph.entraRecoveryServices.recovery entity.
+ * @return a {@link JobsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public JobsRequestBuilder jobs() {
+ return new JobsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the snapshots property of the microsoft.graph.entraRecoveryServices.recovery entity.
+ * @return a {@link SnapshotsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SnapshotsRequestBuilder snapshots() {
+ return new SnapshotsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link RecoveryRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RecoveryRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RecoveryRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RecoveryRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property recovery for directory
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property recovery for directory
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Represents the Entra backup and recovery service for the tenant.
+ * @return a {@link Recovery}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Recovery get() {
+ return get(null);
+ }
+ /**
+ * Represents the Entra backup and recovery service for the tenant.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Recovery}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Recovery get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, Recovery::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property recovery in directory
+ * @param body The request body
+ * @return a {@link Recovery}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Recovery patch(@jakarta.annotation.Nonnull final Recovery body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property recovery in directory
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Recovery}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Recovery patch(@jakarta.annotation.Nonnull final Recovery body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, Recovery::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property recovery for directory
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property recovery for directory
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Represents the Entra backup and recovery service for the tenant.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Represents the Entra backup and recovery service for the tenant.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Update the navigation property recovery in directory
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Recovery body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property recovery in directory
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Recovery body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link RecoveryRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RecoveryRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RecoveryRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class DeleteRequestConfiguration extends BaseRequestConfiguration {
+ }
+ /**
+ * Represents the Entra backup and recovery service for the tenant.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PatchRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/JobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/JobsRequestBuilder.java
new file mode 100644
index 00000000000..90502d0dfd4
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/JobsRequestBuilder.java
@@ -0,0 +1,245 @@
+package com.microsoft.graph.beta.directory.recovery.jobs;
+
+import com.microsoft.graph.beta.directory.recovery.jobs.count.CountRequestBuilder;
+import com.microsoft.graph.beta.directory.recovery.jobs.item.RecoveryJobBaseItemRequestBuilder;
+import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase;
+import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBaseCollectionResponse;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the jobs property of the microsoft.graph.entraRecoveryServices.recovery entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class JobsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to count the resources in the collection.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder count() {
+ return new CountRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the jobs property of the microsoft.graph.entraRecoveryServices.recovery entity.
+ * @param recoveryJobBaseId The unique identifier of recoveryJobBase
+ * @return a {@link RecoveryJobBaseItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RecoveryJobBaseItemRequestBuilder byRecoveryJobBaseId(@jakarta.annotation.Nonnull final String recoveryJobBaseId) {
+ Objects.requireNonNull(recoveryJobBaseId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("recoveryJobBase%2Did", recoveryJobBaseId);
+ return new RecoveryJobBaseItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link JobsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public JobsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/jobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link JobsRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public JobsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/jobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant.
+ * @return a {@link RecoveryJobBaseCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryJobBaseCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RecoveryJobBaseCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryJobBaseCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, RecoveryJobBaseCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create new navigation property to jobs for directory
+ * @param body The request body
+ * @return a {@link RecoveryJobBase}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryJobBase post(@jakarta.annotation.Nonnull final RecoveryJobBase body) {
+ return post(body, null);
+ }
+ /**
+ * Create new navigation property to jobs for directory
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RecoveryJobBase}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryJobBase post(@jakarta.annotation.Nonnull final RecoveryJobBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, RecoveryJobBase::createFromDiscriminatorValue);
+ }
+ /**
+ * Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Create new navigation property to jobs for directory
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecoveryJobBase body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create new navigation property to jobs for directory
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecoveryJobBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link JobsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public JobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new JobsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get a list of all recovery recoveryJobBase objects (both preview and recovery jobs) across all snapshots for the tenant.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..0e1dad88337
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.beta.directory.recovery.jobs.count;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to count the resources in the collection.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CountRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/jobs/$count{?%24filter,%24search}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/jobs/$count{?%24filter,%24search}", rawUrl);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get() {
+ return get(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CountRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the number of the resource
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/item/RecoveryJobBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/item/RecoveryJobBaseItemRequestBuilder.java
new file mode 100644
index 00000000000..efe10e89680
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/item/RecoveryJobBaseItemRequestBuilder.java
@@ -0,0 +1,237 @@
+package com.microsoft.graph.beta.directory.recovery.jobs.item;
+
+import com.microsoft.graph.beta.directory.recovery.jobs.item.microsoftgraphentrarecoveryservicescancel.MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder;
+import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobBase;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the jobs property of the microsoft.graph.entraRecoveryServices.recovery entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RecoveryJobBaseItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to call the cancel method.
+ * @return a {@link MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder microsoftGraphEntraRecoveryServicesCancel() {
+ return new MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link RecoveryJobBaseItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RecoveryJobBaseItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/jobs/{recoveryJobBase%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RecoveryJobBaseItemRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RecoveryJobBaseItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/jobs/{recoveryJobBase%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property jobs for directory
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property jobs for directory
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Collection of all recovery jobs (both preview and recovery) for the tenant.
+ * @return a {@link RecoveryJobBase}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryJobBase get() {
+ return get(null);
+ }
+ /**
+ * Collection of all recovery jobs (both preview and recovery) for the tenant.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RecoveryJobBase}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryJobBase get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, RecoveryJobBase::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property jobs in directory
+ * @param body The request body
+ * @return a {@link RecoveryJobBase}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryJobBase patch(@jakarta.annotation.Nonnull final RecoveryJobBase body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property jobs in directory
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RecoveryJobBase}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryJobBase patch(@jakarta.annotation.Nonnull final RecoveryJobBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, RecoveryJobBase::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property jobs for directory
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property jobs for directory
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Collection of all recovery jobs (both preview and recovery) for the tenant.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Collection of all recovery jobs (both preview and recovery) for the tenant.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Update the navigation property jobs in directory
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RecoveryJobBase body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property jobs in directory
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RecoveryJobBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link RecoveryJobBaseItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RecoveryJobBaseItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RecoveryJobBaseItemRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class DeleteRequestConfiguration extends BaseRequestConfiguration {
+ }
+ /**
+ * Collection of all recovery jobs (both preview and recovery) for the tenant.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PatchRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/item/microsoftgraphentrarecoveryservicescancel/MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/item/microsoftgraphentrarecoveryservicescancel/MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder.java
new file mode 100644
index 00000000000..c13f7524596
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/jobs/item/microsoftgraphentrarecoveryservicescancel/MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder.java
@@ -0,0 +1,93 @@
+package com.microsoft.graph.beta.directory.recovery.jobs.item.microsoftgraphentrarecoveryservicescancel;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the cancel method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/jobs/{recoveryJobBase%2Did}/microsoft.graph.entraRecoveryServices.cancel", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/jobs/{recoveryJobBase%2Did}/microsoft.graph.entraRecoveryServices.cancel", rawUrl);
+ }
+ /**
+ * Cancel a running recoveryJobBase object (either a preview or recovery job). The job must be in a non-terminal state (initialized, calculating, loadingData, or running). After cancellation, the job status changes to abandoned.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void post() {
+ post(null);
+ }
+ /**
+ * Cancel a running recoveryJobBase object (either a preview or recovery job). The job must be in a non-terminal state (initialized, calculating, loadingData, or running). After cancellation, the job status changes to abandoned.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Cancel a running recoveryJobBase object (either a preview or recovery job). The job must be in a non-terminal state (initialized, calculating, loadingData, or running). After cancellation, the job status changes to abandoned.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation() {
+ return toPostRequestInformation(null);
+ }
+ /**
+ * Cancel a running recoveryJobBase object (either a preview or recovery job). The job must be in a non-terminal state (initialized, calculating, loadingData, or running). After cancellation, the job status changes to abandoned.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new MicrosoftGraphEntraRecoveryServicesCancelRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/SnapshotsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/SnapshotsRequestBuilder.java
new file mode 100644
index 00000000000..f2a33a67365
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/SnapshotsRequestBuilder.java
@@ -0,0 +1,245 @@
+package com.microsoft.graph.beta.directory.recovery.snapshots;
+
+import com.microsoft.graph.beta.directory.recovery.snapshots.count.CountRequestBuilder;
+import com.microsoft.graph.beta.directory.recovery.snapshots.item.SnapshotItemRequestBuilder;
+import com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot;
+import com.microsoft.graph.beta.models.entrarecoveryservices.SnapshotCollectionResponse;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the snapshots property of the microsoft.graph.entraRecoveryServices.recovery entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class SnapshotsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to count the resources in the collection.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder count() {
+ return new CountRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the snapshots property of the microsoft.graph.entraRecoveryServices.recovery entity.
+ * @param snapshotId The unique identifier of snapshot
+ * @return a {@link SnapshotItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SnapshotItemRequestBuilder bySnapshotId(@jakarta.annotation.Nonnull final String snapshotId) {
+ Objects.requireNonNull(snapshotId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("snapshot%2Did", snapshotId);
+ return new SnapshotItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link SnapshotsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public SnapshotsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link SnapshotsRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public SnapshotsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored.
+ * @return a {@link SnapshotCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public SnapshotCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link SnapshotCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public SnapshotCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, SnapshotCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create new navigation property to snapshots for directory
+ * @param body The request body
+ * @return a {@link Snapshot}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Snapshot post(@jakarta.annotation.Nonnull final Snapshot body) {
+ return post(body, null);
+ }
+ /**
+ * Create new navigation property to snapshots for directory
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Snapshot}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Snapshot post(@jakarta.annotation.Nonnull final Snapshot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, Snapshot::createFromDiscriminatorValue);
+ }
+ /**
+ * Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Create new navigation property to snapshots for directory
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Snapshot body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create new navigation property to snapshots for directory
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Snapshot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link SnapshotsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SnapshotsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new SnapshotsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get a list of available backup snapshot objects for the tenant. Snapshots represent points in time to which the tenant can be restored.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..9717f1e5761
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.beta.directory.recovery.snapshots.count;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to count the resources in the collection.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CountRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/$count{?%24filter,%24search}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/$count{?%24filter,%24search}", rawUrl);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get() {
+ return get(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CountRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the number of the resource
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/SnapshotItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/SnapshotItemRequestBuilder.java
new file mode 100644
index 00000000000..e603f4d1319
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/SnapshotItemRequestBuilder.java
@@ -0,0 +1,246 @@
+package com.microsoft.graph.beta.directory.recovery.snapshots.item;
+
+import com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.RecoveryJobsRequestBuilder;
+import com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.RecoveryPreviewJobsRequestBuilder;
+import com.microsoft.graph.beta.models.entrarecoveryservices.Snapshot;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the snapshots property of the microsoft.graph.entraRecoveryServices.recovery entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class SnapshotItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the recoveryJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity.
+ * @return a {@link RecoveryJobsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RecoveryJobsRequestBuilder recoveryJobs() {
+ return new RecoveryJobsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the recoveryPreviewJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity.
+ * @return a {@link RecoveryPreviewJobsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RecoveryPreviewJobsRequestBuilder recoveryPreviewJobs() {
+ return new RecoveryPreviewJobsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link SnapshotItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public SnapshotItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link SnapshotItemRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public SnapshotItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property snapshots for directory
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property snapshots for directory
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Collection of backup snapshots available for the tenant.
+ * @return a {@link Snapshot}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Snapshot get() {
+ return get(null);
+ }
+ /**
+ * Collection of backup snapshots available for the tenant.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Snapshot}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Snapshot get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, Snapshot::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property snapshots in directory
+ * @param body The request body
+ * @return a {@link Snapshot}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Snapshot patch(@jakarta.annotation.Nonnull final Snapshot body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property snapshots in directory
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Snapshot}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Snapshot patch(@jakarta.annotation.Nonnull final Snapshot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, Snapshot::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property snapshots for directory
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property snapshots for directory
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Collection of backup snapshots available for the tenant.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Collection of backup snapshots available for the tenant.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Update the navigation property snapshots in directory
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Snapshot body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property snapshots in directory
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Snapshot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link SnapshotItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SnapshotItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new SnapshotItemRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class DeleteRequestConfiguration extends BaseRequestConfiguration {
+ }
+ /**
+ * Collection of backup snapshots available for the tenant.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PatchRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/RecoveryJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/RecoveryJobsRequestBuilder.java
new file mode 100644
index 00000000000..333f02f5dc1
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/RecoveryJobsRequestBuilder.java
@@ -0,0 +1,187 @@
+package com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs;
+
+import com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count.CountRequestBuilder;
+import com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item.RecoveryJobItemRequestBuilder;
+import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJobCollectionResponse;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the recoveryJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RecoveryJobsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to count the resources in the collection.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder count() {
+ return new CountRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the recoveryJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity.
+ * @param recoveryJobId The unique identifier of recoveryJob
+ * @return a {@link RecoveryJobItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RecoveryJobItemRequestBuilder byRecoveryJobId(@jakarta.annotation.Nonnull final String recoveryJobId) {
+ Objects.requireNonNull(recoveryJobId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("recoveryJob%2Did", recoveryJobId);
+ return new RecoveryJobItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link RecoveryJobsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RecoveryJobsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RecoveryJobsRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RecoveryJobsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Collection of recovery jobs created for this snapshot.
+ * @return a {@link RecoveryJobCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryJobCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Collection of recovery jobs created for this snapshot.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RecoveryJobCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, RecoveryJobCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Collection of recovery jobs created for this snapshot.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Collection of recovery jobs created for this snapshot.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link RecoveryJobsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RecoveryJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RecoveryJobsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Collection of recovery jobs created for this snapshot.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..7558832d39e
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.count;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to count the resources in the collection.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CountRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryJobs/$count{?%24filter,%24search}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryJobs/$count{?%24filter,%24search}", rawUrl);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get() {
+ return get(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CountRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the number of the resource
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/item/RecoveryJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/item/RecoveryJobItemRequestBuilder.java
new file mode 100644
index 00000000000..1ad7b7424a1
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoveryjobs/item/RecoveryJobItemRequestBuilder.java
@@ -0,0 +1,129 @@
+package com.microsoft.graph.beta.directory.recovery.snapshots.item.recoveryjobs.item;
+
+import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryJob;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the recoveryJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RecoveryJobItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link RecoveryJobItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RecoveryJobItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryJobs/{recoveryJob%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RecoveryJobItemRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RecoveryJobItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryJobs/{recoveryJob%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Collection of recovery jobs created for this snapshot.
+ * @return a {@link RecoveryJob}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryJob get() {
+ return get(null);
+ }
+ /**
+ * Collection of recovery jobs created for this snapshot.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RecoveryJob}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, RecoveryJob::createFromDiscriminatorValue);
+ }
+ /**
+ * Collection of recovery jobs created for this snapshot.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Collection of recovery jobs created for this snapshot.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link RecoveryJobItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RecoveryJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RecoveryJobItemRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Collection of recovery jobs created for this snapshot.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/RecoveryPreviewJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/RecoveryPreviewJobsRequestBuilder.java
new file mode 100644
index 00000000000..7f78a9b3178
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/RecoveryPreviewJobsRequestBuilder.java
@@ -0,0 +1,187 @@
+package com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs;
+
+import com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count.CountRequestBuilder;
+import com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item.RecoveryPreviewJobItemRequestBuilder;
+import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJobCollectionResponse;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the recoveryPreviewJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RecoveryPreviewJobsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to count the resources in the collection.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder count() {
+ return new CountRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the recoveryPreviewJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity.
+ * @param recoveryPreviewJobId The unique identifier of recoveryPreviewJob
+ * @return a {@link RecoveryPreviewJobItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RecoveryPreviewJobItemRequestBuilder byRecoveryPreviewJobId(@jakarta.annotation.Nonnull final String recoveryPreviewJobId) {
+ Objects.requireNonNull(recoveryPreviewJobId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("recoveryPreviewJob%2Did", recoveryPreviewJobId);
+ return new RecoveryPreviewJobItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link RecoveryPreviewJobsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RecoveryPreviewJobsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryPreviewJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RecoveryPreviewJobsRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RecoveryPreviewJobsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryPreviewJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Collection of preview jobs created for this snapshot.
+ * @return a {@link RecoveryPreviewJobCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryPreviewJobCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Collection of preview jobs created for this snapshot.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RecoveryPreviewJobCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryPreviewJobCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, RecoveryPreviewJobCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Collection of preview jobs created for this snapshot.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Collection of preview jobs created for this snapshot.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link RecoveryPreviewJobsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RecoveryPreviewJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RecoveryPreviewJobsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Collection of preview jobs created for this snapshot.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..a6054f328f6
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.count;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to count the resources in the collection.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CountRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryPreviewJobs/$count{?%24filter,%24search}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryPreviewJobs/$count{?%24filter,%24search}", rawUrl);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get() {
+ return get(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CountRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the number of the resource
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/item/RecoveryPreviewJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/item/RecoveryPreviewJobItemRequestBuilder.java
new file mode 100644
index 00000000000..474b1bd2930
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recovery/snapshots/item/recoverypreviewjobs/item/RecoveryPreviewJobItemRequestBuilder.java
@@ -0,0 +1,129 @@
+package com.microsoft.graph.beta.directory.recovery.snapshots.item.recoverypreviewjobs.item;
+
+import com.microsoft.graph.beta.models.entrarecoveryservices.RecoveryPreviewJob;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the recoveryPreviewJobs property of the microsoft.graph.entraRecoveryServices.snapshot entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RecoveryPreviewJobItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link RecoveryPreviewJobItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RecoveryPreviewJobItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryPreviewJobs/{recoveryPreviewJob%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RecoveryPreviewJobItemRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RecoveryPreviewJobItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recovery/snapshots/{snapshot%2Did}/recoveryPreviewJobs/{recoveryPreviewJob%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Collection of preview jobs created for this snapshot.
+ * @return a {@link RecoveryPreviewJob}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryPreviewJob get() {
+ return get(null);
+ }
+ /**
+ * Collection of preview jobs created for this snapshot.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RecoveryPreviewJob}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public RecoveryPreviewJob get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, RecoveryPreviewJob::createFromDiscriminatorValue);
+ }
+ /**
+ * Collection of preview jobs created for this snapshot.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Collection of preview jobs created for this snapshot.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link RecoveryPreviewJobItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RecoveryPreviewJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RecoveryPreviewJobItemRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Collection of preview jobs created for this snapshot.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/TenantGovernanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/TenantGovernanceRequestBuilder.java
new file mode 100644
index 00000000000..4ef68b6e7da
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/TenantGovernanceRequestBuilder.java
@@ -0,0 +1,282 @@
+package com.microsoft.graph.beta.directory.tenantgovernance;
+
+import com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.GovernanceInvitationsRequestBuilder;
+import com.microsoft.graph.beta.directory.tenantgovernance.governancepolicytemplates.GovernancePolicyTemplatesRequestBuilder;
+import com.microsoft.graph.beta.directory.tenantgovernance.governancerelationships.GovernanceRelationshipsRequestBuilder;
+import com.microsoft.graph.beta.directory.tenantgovernance.governancerequests.GovernanceRequestsRequestBuilder;
+import com.microsoft.graph.beta.directory.tenantgovernance.relatedtenants.RelatedTenantsRequestBuilder;
+import com.microsoft.graph.beta.directory.tenantgovernance.settings.SettingsRequestBuilder;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.tenantgovernanceservices.TenantGovernance;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the tenantGovernance property of the microsoft.graph.directory entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class TenantGovernanceRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity.
+ * @return a {@link GovernanceInvitationsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GovernanceInvitationsRequestBuilder governanceInvitations() {
+ return new GovernanceInvitationsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the governancePolicyTemplates property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity.
+ * @return a {@link GovernancePolicyTemplatesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GovernancePolicyTemplatesRequestBuilder governancePolicyTemplates() {
+ return new GovernancePolicyTemplatesRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the governanceRelationships property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity.
+ * @return a {@link GovernanceRelationshipsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GovernanceRelationshipsRequestBuilder governanceRelationships() {
+ return new GovernanceRelationshipsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the governanceRequests property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity.
+ * @return a {@link GovernanceRequestsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GovernanceRequestsRequestBuilder governanceRequests() {
+ return new GovernanceRequestsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity.
+ * @return a {@link RelatedTenantsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RelatedTenantsRequestBuilder relatedTenants() {
+ return new RelatedTenantsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the settings property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity.
+ * @return a {@link SettingsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SettingsRequestBuilder settings() {
+ return new SettingsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link TenantGovernanceRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public TenantGovernanceRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/tenantGovernance{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link TenantGovernanceRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public TenantGovernanceRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/tenantGovernance{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property tenantGovernance for directory
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property tenantGovernance for directory
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Container for Microsoft Entra Tenant Governance capabilities.
+ * @return a {@link TenantGovernance}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public TenantGovernance get() {
+ return get(null);
+ }
+ /**
+ * Container for Microsoft Entra Tenant Governance capabilities.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link TenantGovernance}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public TenantGovernance get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernance::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property tenantGovernance in directory
+ * @param body The request body
+ * @return a {@link TenantGovernance}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public TenantGovernance patch(@jakarta.annotation.Nonnull final TenantGovernance body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property tenantGovernance in directory
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link TenantGovernance}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public TenantGovernance patch(@jakarta.annotation.Nonnull final TenantGovernance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernance::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property tenantGovernance for directory
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property tenantGovernance for directory
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Container for Microsoft Entra Tenant Governance capabilities.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Container for Microsoft Entra Tenant Governance capabilities.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Update the navigation property tenantGovernance in directory
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TenantGovernance body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property tenantGovernance in directory
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TenantGovernance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link TenantGovernanceRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public TenantGovernanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new TenantGovernanceRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class DeleteRequestConfiguration extends BaseRequestConfiguration {
+ }
+ /**
+ * Container for Microsoft Entra Tenant Governance capabilities.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PatchRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/GovernanceInvitationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/GovernanceInvitationsRequestBuilder.java
new file mode 100644
index 00000000000..9a990d7d572
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/tenantgovernance/governanceinvitations/GovernanceInvitationsRequestBuilder.java
@@ -0,0 +1,247 @@
+package com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations;
+
+import com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.count.CountRequestBuilder;
+import com.microsoft.graph.beta.directory.tenantgovernance.governanceinvitations.item.GovernanceInvitationItemRequestBuilder;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitation;
+import com.microsoft.graph.beta.models.tenantgovernanceservices.GovernanceInvitationCollectionResponse;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GovernanceInvitationsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to count the resources in the collection.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder count() {
+ return new CountRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the governanceInvitations property of the microsoft.graph.tenantGovernanceServices.tenantGovernance entity.
+ * @param governanceInvitationId The unique identifier of governanceInvitation
+ * @return a {@link GovernanceInvitationItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GovernanceInvitationItemRequestBuilder byGovernanceInvitationId(@jakarta.annotation.Nonnull final String governanceInvitationId) {
+ Objects.requireNonNull(governanceInvitationId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("governanceInvitation%2Did", governanceInvitationId);
+ return new GovernanceInvitationItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link GovernanceInvitationsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GovernanceInvitationsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceInvitations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GovernanceInvitationsRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GovernanceInvitationsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceInvitations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
+ * @return a {@link GovernanceInvitationCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GovernanceInvitationCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link GovernanceInvitationCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GovernanceInvitationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, GovernanceInvitationCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
+ * @param body The request body
+ * @return a {@link GovernanceInvitation}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GovernanceInvitation post(@jakarta.annotation.Nonnull final GovernanceInvitation body) {
+ return post(body, null);
+ }
+ /**
+ * Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link GovernanceInvitation}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GovernanceInvitation post(@jakarta.annotation.Nonnull final GovernanceInvitation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, GovernanceInvitation::createFromDiscriminatorValue);
+ }
+ /**
+ * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInvitation body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInvitation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
+ 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.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link GovernanceInvitationsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GovernanceInvitationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GovernanceInvitationsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map