diff --git a/src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java b/src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java
index c734f37f163..7f5c6d90c33 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java
@@ -5,6 +5,7 @@
import com.microsoft.graph.beta.activitystatistics.ActivitystatisticsRequestBuilder;
import com.microsoft.graph.beta.admin.AdminRequestBuilder;
import com.microsoft.graph.beta.administrativeunits.AdministrativeUnitsRequestBuilder;
+import com.microsoft.graph.beta.agents.AgentsRequestBuilder;
import com.microsoft.graph.beta.agreementacceptances.AgreementAcceptancesRequestBuilder;
import com.microsoft.graph.beta.agreements.AgreementsRequestBuilder;
import com.microsoft.graph.beta.alloweddatalocations.AllowedDataLocationsRequestBuilder;
@@ -186,6 +187,14 @@ public AdminRequestBuilder admin() {
public AdministrativeUnitsRequestBuilder administrativeUnits() {
return new AdministrativeUnitsRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the collection of agent entities.
+ * @return a {@link AgentsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public AgentsRequestBuilder agents() {
+ return new AgentsRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the collection of agreementAcceptance entities.
* @return a {@link AgreementAcceptancesRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/restore/RestoreRequestBuilder.java
index 2ac404f5b51..8ac1677e819 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/restore/RestoreRequestBuilder.java
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/restore", rawUrl);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public DirectoryObject post() {
return post(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @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
@@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agents/AgentsRequestBuilder.java
similarity index 54%
rename from src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java
rename to src/main/java/com/microsoft/graph/beta/generated/agents/AgentsRequestBuilder.java
index 08730afcd9f..a4c0580bed5 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agents/AgentsRequestBuilder.java
@@ -1,9 +1,10 @@
-package com.microsoft.graph.beta.identitygovernance.entitlementmanagement.accesspackages.item.accesspackageresourcerolescopes.item.accesspackageresourcerole.accesspackageresource.uploadsessions.item.files;
+package com.microsoft.graph.beta.agents;
-import com.microsoft.graph.beta.identitygovernance.entitlementmanagement.accesspackages.item.accesspackageresourcerolescopes.item.accesspackageresourcerole.accesspackageresource.uploadsessions.item.files.count.CountRequestBuilder;
-import com.microsoft.graph.beta.identitygovernance.entitlementmanagement.accesspackages.item.accesspackageresourcerolescopes.item.accesspackageresourcerole.accesspackageresource.uploadsessions.item.files.item.CustomDataProvidedResourceFileNameItemRequestBuilder;
-import com.microsoft.graph.beta.models.CustomDataProvidedResourceFile;
-import com.microsoft.graph.beta.models.CustomDataProvidedResourceFileCollectionResponse;
+import com.microsoft.graph.beta.agents.count.CountRequestBuilder;
+import com.microsoft.graph.beta.agents.discovercopilottools.DiscoverCopilotToolsRequestBuilder;
+import com.microsoft.graph.beta.agents.item.AgentItemRequestBuilder;
+import com.microsoft.graph.beta.models.Agent;
+import com.microsoft.graph.beta.models.AgentCollectionResponse;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
import com.microsoft.kiota.BaseRequestConfiguration;
@@ -19,131 +20,115 @@
import java.util.Map;
import java.util.Objects;
/**
- * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity.
+ * Provides operations to manage the collection of agent entities.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
-public class FilesRequestBuilder extends BaseRequestBuilder {
+public class AgentsRequestBuilder extends BaseRequestBuilder {
/**
* Provides operations to count the resources in the collection.
* @return a {@link CountRequestBuilder}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public CountRequestBuilder count() {
return new CountRequestBuilder(pathParameters, requestAdapter);
}
/**
- * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity.
- * @param customDataProvidedResourceFileName The unique identifier of customDataProvidedResourceFile
- * @return a {@link CustomDataProvidedResourceFileNameItemRequestBuilder}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
+ * Provides operations to call the discoverCopilotTools method.
+ * @return a {@link DiscoverCopilotToolsRequestBuilder}
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public CustomDataProvidedResourceFileNameItemRequestBuilder byCustomDataProvidedResourceFileName(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileName) {
- Objects.requireNonNull(customDataProvidedResourceFileName);
+ public DiscoverCopilotToolsRequestBuilder discoverCopilotTools() {
+ return new DiscoverCopilotToolsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the collection of agent entities.
+ * @param agentId The unique identifier of agent
+ * @return a {@link AgentItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public AgentItemRequestBuilder byAgentId(@jakarta.annotation.Nonnull final String agentId) {
+ Objects.requireNonNull(agentId);
final HashMap urlTplParams = new HashMap(this.pathParameters);
- urlTplParams.put("customDataProvidedResourceFile%2Dname", customDataProvidedResourceFileName);
- return new CustomDataProvidedResourceFileNameItemRequestBuilder(urlTplParams, requestAdapter);
+ urlTplParams.put("agent%2Did", agentId);
+ return new AgentItemRequestBuilder(urlTplParams, requestAdapter);
}
/**
- * Instantiates a new {@link FilesRequestBuilder} and sets the default values.
+ * Instantiates a new {@link AgentsRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
* @param requestAdapter The request adapter to use to execute the requests.
*/
- public FilesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/uploadSessions/{customDataProvidedResourceUploadSession%2Did}/files{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ public AgentsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/agents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
}
/**
- * Instantiates a new {@link FilesRequestBuilder} and sets the default values.
+ * Instantiates a new {@link AgentsRequestBuilder} 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 FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/uploadSessions/{customDataProvidedResourceUploadSession%2Did}/files{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ public AgentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/agents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get files from identityGovernance
- * @return a {@link CustomDataProvidedResourceFileCollectionResponse}
+ * Get entities from agents
+ * @return a {@link AgentCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nullable
- @Deprecated
- public CustomDataProvidedResourceFileCollectionResponse get() {
+ public AgentCollectionResponse get() {
return get(null);
}
/**
- * Get files from identityGovernance
+ * Get entities from agents
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link CustomDataProvidedResourceFileCollectionResponse}
+ * @return a {@link AgentCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nullable
- @Deprecated
- public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public AgentCollectionResponse 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, CustomDataProvidedResourceFileCollectionResponse::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, AgentCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create new navigation property to files for identityGovernance
+ * Add new entity to agents
* @param body The request body
- * @return a {@link CustomDataProvidedResourceFile}
+ * @return a {@link Agent}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nullable
- @Deprecated
- public CustomDataProvidedResourceFile post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceFile body) {
+ public Agent post(@jakarta.annotation.Nonnull final Agent body) {
return post(body, null);
}
/**
- * Create new navigation property to files for identityGovernance
+ * Add new entity to agents
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link CustomDataProvidedResourceFile}
+ * @return a {@link Agent}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nullable
- @Deprecated
- public CustomDataProvidedResourceFile post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public Agent post(@jakarta.annotation.Nonnull final Agent 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, CustomDataProvidedResourceFile::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, Agent::createFromDiscriminatorValue);
}
/**
- * Get files from identityGovernance
+ * Get entities from agents
* @return a {@link RequestInformation}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get files from identityGovernance
+ * Get entities from agents
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-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);
@@ -151,28 +136,22 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create new navigation property to files for identityGovernance
+ * Add new entity to agents
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceFile body) {
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Agent body) {
return toPostRequestInformation(body, null);
}
/**
- * Create new navigation property to files for identityGovernance
+ * Add new entity to agents
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Agent 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);
@@ -183,18 +162,15 @@ 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 FilesRequestBuilder}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
+ * @return a {@link AgentsRequestBuilder}
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ public AgentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
- return new FilesRequestBuilder(rawUrl, requestAdapter);
+ return new AgentsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get files from identityGovernance
+ * Get entities from agents
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agents/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agents/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..dbac4e8150a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/agents/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.beta.agents.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}/agents/$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}/agents/$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/agents/discovercopilottools/DiscoverCopilotToolsGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/agents/discovercopilottools/DiscoverCopilotToolsGetResponse.java
new file mode 100644
index 00000000000..44c2f2e2c36
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/agents/discovercopilottools/DiscoverCopilotToolsGetResponse.java
@@ -0,0 +1,63 @@
+package com.microsoft.graph.beta.agents.discovercopilottools;
+
+import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.graph.beta.models.CopilotTool;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class DiscoverCopilotToolsGetResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link DiscoverCopilotToolsGetResponse} and sets the default values.
+ */
+ public DiscoverCopilotToolsGetResponse() {
+ super();
+ }
+ /**
+ * Creates a new instance of the appropriate class based on discriminator value
+ * @param parseNode The parse node to use to read the discriminator value and create the object
+ * @return a {@link DiscoverCopilotToolsGetResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static DiscoverCopilotToolsGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new DiscoverCopilotToolsGetResponse();
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
+ deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(CopilotTool::createFromDiscriminatorValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfObjectValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agents/discovercopilottools/DiscoverCopilotToolsRequestBuilder.java
similarity index 56%
rename from src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java
rename to src/main/java/com/microsoft/graph/beta/generated/agents/discovercopilottools/DiscoverCopilotToolsRequestBuilder.java
index 94f3ecf8e70..a424e194aff 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/uploadsessions/count/CountRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agents/discovercopilottools/DiscoverCopilotToolsRequestBuilder.java
@@ -1,4 +1,4 @@
-package com.microsoft.graph.beta.identitygovernance.entitlementmanagement.accesspackageassignments.item.accesspackageassignmentresourceroles.item.accesspackageresourcescope.accesspackageresource.uploadsessions.count;
+package com.microsoft.graph.beta.agents.discovercopilottools;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -15,108 +15,123 @@
import java.util.Map;
import java.util.Objects;
/**
- * Provides operations to count the resources in the collection.
+ * Provides operations to call the discoverCopilotTools method.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
-public class CountRequestBuilder extends BaseRequestBuilder {
+public class DiscoverCopilotToolsRequestBuilder extends BaseRequestBuilder {
/**
- * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * Instantiates a new {@link DiscoverCopilotToolsRequestBuilder} 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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/uploadSessions/$count{?%24filter,%24search}", pathParameters);
+ public DiscoverCopilotToolsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/agents/discoverCopilotTools(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
}
/**
- * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * Instantiates a new {@link DiscoverCopilotToolsRequestBuilder} 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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/uploadSessions/$count{?%24filter,%24search}", rawUrl);
+ public DiscoverCopilotToolsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/agents/discoverCopilotTools(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get the number of the resource
- * @return a {@link Integer}
+ * Invoke function discoverCopilotTools
+ * @return a {@link DiscoverCopilotToolsGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nullable
- @Deprecated
- public Integer get() {
+ public DiscoverCopilotToolsGetResponse get() {
return get(null);
}
/**
- * Get the number of the resource
+ * Invoke function discoverCopilotTools
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link Integer}
+ * @return a {@link DiscoverCopilotToolsGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nullable
- @Deprecated
- public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public DiscoverCopilotToolsGetResponse 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);
+ return this.requestAdapter.send(requestInfo, errorMapping, DiscoverCopilotToolsGetResponse::createFromDiscriminatorValue);
}
/**
- * Get the number of the resource
+ * Invoke function discoverCopilotTools
* @return a {@link RequestInformation}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get the number of the resource
+ * Invoke function discoverCopilotTools
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-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);
- requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9");
+ 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 CountRequestBuilder}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
+ * @return a {@link DiscoverCopilotToolsRequestBuilder}
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ public DiscoverCopilotToolsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
- return new CountRequestBuilder(rawUrl, requestAdapter);
+ return new DiscoverCopilotToolsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get the number of the resource
+ * Invoke function discoverCopilotTools
*/
@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}
@@ -124,8 +139,14 @@ public class GetQueryParameters implements QueryParameters {
@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;
}
}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agents/item/AgentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agents/item/AgentItemRequestBuilder.java
new file mode 100644
index 00000000000..c5f69acca8a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/agents/item/AgentItemRequestBuilder.java
@@ -0,0 +1,237 @@
+package com.microsoft.graph.beta.agents.item;
+
+import com.microsoft.graph.beta.agents.item.copilottools.CopilotToolsRequestBuilder;
+import com.microsoft.graph.beta.models.Agent;
+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 collection of agent entities.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class AgentItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the copilotTools property of the microsoft.graph.agent entity.
+ * @return a {@link CopilotToolsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CopilotToolsRequestBuilder copilotTools() {
+ return new CopilotToolsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link AgentItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public AgentItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/agents/{agent%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link AgentItemRequestBuilder} 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 AgentItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/agents/{agent%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete entity from agents
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete entity from agents
+ * @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);
+ }
+ /**
+ * Get entity from agents by key
+ * @return a {@link Agent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Agent get() {
+ return get(null);
+ }
+ /**
+ * Get entity from agents by key
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Agent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Agent 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, Agent::createFromDiscriminatorValue);
+ }
+ /**
+ * Update entity in agents
+ * @param body The request body
+ * @return a {@link Agent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Agent patch(@jakarta.annotation.Nonnull final Agent body) {
+ return patch(body, null);
+ }
+ /**
+ * Update entity in agents
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Agent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Agent patch(@jakarta.annotation.Nonnull final Agent 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, Agent::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete entity from agents
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete entity from agents
+ * @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;
+ }
+ /**
+ * Get entity from agents by key
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get entity from agents by key
+ * @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 entity in agents
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Agent body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update entity in agents
+ * @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 Agent 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 AgentItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public AgentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new AgentItemRequestBuilder(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 {
+ }
+ /**
+ * Get entity from agents by key
+ */
+ @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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agents/item/copilottools/CopilotToolsRequestBuilder.java
similarity index 54%
rename from src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java
rename to src/main/java/com/microsoft/graph/beta/generated/agents/item/copilottools/CopilotToolsRequestBuilder.java
index 80329d71cf9..058b3e770ba 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/uploadsessions/item/files/FilesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agents/item/copilottools/CopilotToolsRequestBuilder.java
@@ -1,9 +1,9 @@
-package com.microsoft.graph.beta.identitygovernance.entitlementmanagement.accesspackageresourcerolescopes.item.accesspackageresourcescope.accesspackageresource.uploadsessions.item.files;
+package com.microsoft.graph.beta.agents.item.copilottools;
-import com.microsoft.graph.beta.identitygovernance.entitlementmanagement.accesspackageresourcerolescopes.item.accesspackageresourcescope.accesspackageresource.uploadsessions.item.files.count.CountRequestBuilder;
-import com.microsoft.graph.beta.identitygovernance.entitlementmanagement.accesspackageresourcerolescopes.item.accesspackageresourcescope.accesspackageresource.uploadsessions.item.files.item.CustomDataProvidedResourceFileNameItemRequestBuilder;
-import com.microsoft.graph.beta.models.CustomDataProvidedResourceFile;
-import com.microsoft.graph.beta.models.CustomDataProvidedResourceFileCollectionResponse;
+import com.microsoft.graph.beta.agents.item.copilottools.count.CountRequestBuilder;
+import com.microsoft.graph.beta.agents.item.copilottools.item.CopilotToolCopilotToolNameItemRequestBuilder;
+import com.microsoft.graph.beta.models.CopilotTool;
+import com.microsoft.graph.beta.models.CopilotToolCollectionResponse;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
import com.microsoft.kiota.BaseRequestConfiguration;
@@ -19,131 +19,107 @@
import java.util.Map;
import java.util.Objects;
/**
- * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity.
+ * Provides operations to manage the copilotTools property of the microsoft.graph.agent entity.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
-public class FilesRequestBuilder extends BaseRequestBuilder {
+public class CopilotToolsRequestBuilder extends BaseRequestBuilder {
/**
* Provides operations to count the resources in the collection.
* @return a {@link CountRequestBuilder}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
- @Deprecated
@jakarta.annotation.Nonnull
public CountRequestBuilder count() {
return new CountRequestBuilder(pathParameters, requestAdapter);
}
/**
- * Provides operations to manage the files property of the microsoft.graph.customDataProvidedResourceUploadSession entity.
- * @param customDataProvidedResourceFileName The unique identifier of customDataProvidedResourceFile
- * @return a {@link CustomDataProvidedResourceFileNameItemRequestBuilder}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
+ * Provides operations to manage the copilotTools property of the microsoft.graph.agent entity.
+ * @param copilotToolCopilotToolName The unique identifier of copilotTool
+ * @return a {@link CopilotToolCopilotToolNameItemRequestBuilder}
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public CustomDataProvidedResourceFileNameItemRequestBuilder byCustomDataProvidedResourceFileName(@jakarta.annotation.Nonnull final String customDataProvidedResourceFileName) {
- Objects.requireNonNull(customDataProvidedResourceFileName);
+ public CopilotToolCopilotToolNameItemRequestBuilder byCopilotToolCopilotToolName(@jakarta.annotation.Nonnull final String copilotToolCopilotToolName) {
+ Objects.requireNonNull(copilotToolCopilotToolName);
final HashMap urlTplParams = new HashMap(this.pathParameters);
- urlTplParams.put("customDataProvidedResourceFile%2Dname", customDataProvidedResourceFileName);
- return new CustomDataProvidedResourceFileNameItemRequestBuilder(urlTplParams, requestAdapter);
+ urlTplParams.put("copilotTool%2DcopilotToolName", copilotToolCopilotToolName);
+ return new CopilotToolCopilotToolNameItemRequestBuilder(urlTplParams, requestAdapter);
}
/**
- * Instantiates a new {@link FilesRequestBuilder} and sets the default values.
+ * Instantiates a new {@link CopilotToolsRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
* @param requestAdapter The request adapter to use to execute the requests.
*/
- public FilesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/uploadSessions/{customDataProvidedResourceUploadSession%2Did}/files{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ public CopilotToolsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/agents/{agent%2Did}/copilotTools{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
}
/**
- * Instantiates a new {@link FilesRequestBuilder} and sets the default values.
+ * Instantiates a new {@link CopilotToolsRequestBuilder} 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 FilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/uploadSessions/{customDataProvidedResourceUploadSession%2Did}/files{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ public CopilotToolsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/agents/{agent%2Did}/copilotTools{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get files from identityGovernance
- * @return a {@link CustomDataProvidedResourceFileCollectionResponse}
+ * Get copilotTools from agents
+ * @return a {@link CopilotToolCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nullable
- @Deprecated
- public CustomDataProvidedResourceFileCollectionResponse get() {
+ public CopilotToolCollectionResponse get() {
return get(null);
}
/**
- * Get files from identityGovernance
+ * Get copilotTools from agents
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link CustomDataProvidedResourceFileCollectionResponse}
+ * @return a {@link CopilotToolCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nullable
- @Deprecated
- public CustomDataProvidedResourceFileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public CopilotToolCollectionResponse 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, CustomDataProvidedResourceFileCollectionResponse::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, CopilotToolCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create new navigation property to files for identityGovernance
+ * Create new navigation property to copilotTools for agents
* @param body The request body
- * @return a {@link CustomDataProvidedResourceFile}
+ * @return a {@link CopilotTool}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nullable
- @Deprecated
- public CustomDataProvidedResourceFile post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceFile body) {
+ public CopilotTool post(@jakarta.annotation.Nonnull final CopilotTool body) {
return post(body, null);
}
/**
- * Create new navigation property to files for identityGovernance
+ * Create new navigation property to copilotTools for agents
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link CustomDataProvidedResourceFile}
+ * @return a {@link CopilotTool}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nullable
- @Deprecated
- public CustomDataProvidedResourceFile post(@jakarta.annotation.Nonnull final CustomDataProvidedResourceFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public CopilotTool post(@jakarta.annotation.Nonnull final CopilotTool 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, CustomDataProvidedResourceFile::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, CopilotTool::createFromDiscriminatorValue);
}
/**
- * Get files from identityGovernance
+ * Get copilotTools from agents
* @return a {@link RequestInformation}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get files from identityGovernance
+ * Get copilotTools from agents
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-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);
@@ -151,28 +127,22 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create new navigation property to files for identityGovernance
+ * Create new navigation property to copilotTools for agents
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceFile body) {
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CopilotTool body) {
return toPostRequestInformation(body, null);
}
/**
- * Create new navigation property to files for identityGovernance
+ * Create new navigation property to copilotTools for agents
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomDataProvidedResourceFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CopilotTool 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);
@@ -183,18 +153,15 @@ 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 FilesRequestBuilder}
- * @deprecated
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-31
+ * @return a {@link CopilotToolsRequestBuilder}
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public FilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ public CopilotToolsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
- return new FilesRequestBuilder(rawUrl, requestAdapter);
+ return new CopilotToolsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get files from identityGovernance
+ * Get copilotTools from agents
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/uploadsessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agents/item/copilottools/count/CountRequestBuilder.java
similarity index 79%
rename from src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/uploadsessions/count/CountRequestBuilder.java
rename to src/main/java/com/microsoft/graph/beta/generated/agents/item/copilottools/count/CountRequestBuilder.java
index aefc50ba35d..421bd458c81 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/uploadsessions/count/CountRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agents/item/copilottools/count/CountRequestBuilder.java
@@ -1,4 +1,4 @@
-package com.microsoft.graph.beta.identitygovernance.entitlementmanagement.accesspackagecatalogs.item.accesspackageresources.item.uploadsessions.count;
+package com.microsoft.graph.beta.agents.item.copilottools.count;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -25,7 +25,7 @@ public class CountRequestBuilder extends BaseRequestBuilder {
* @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}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/uploadSessions/$count{?%24filter,%24search}", pathParameters);
+ super(requestAdapter, "{+baseurl}/agents/{agent%2Did}/copilotTools/$count{?%24filter,%24search}", pathParameters);
}
/**
* Instantiates a new {@link CountRequestBuilder} and sets the default values.
@@ -33,17 +33,14 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap 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
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-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
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-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
- * This API is for private preview. as of 2025-07/PrivatePreview:uploadSessions on 2025-07-31 and will be removed 2026-07-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/agents/item/copilottools/item/CopilotToolCopilotToolNameItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agents/item/copilottools/item/CopilotToolCopilotToolNameItemRequestBuilder.java
new file mode 100644
index 00000000000..1135846b885
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/agents/item/copilottools/item/CopilotToolCopilotToolNameItemRequestBuilder.java
@@ -0,0 +1,228 @@
+package com.microsoft.graph.beta.agents.item.copilottools.item;
+
+import com.microsoft.graph.beta.models.CopilotTool;
+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 copilotTools property of the microsoft.graph.agent entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CopilotToolCopilotToolNameItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CopilotToolCopilotToolNameItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CopilotToolCopilotToolNameItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/agents/{agent%2Did}/copilotTools/{copilotTool%2DcopilotToolName}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CopilotToolCopilotToolNameItemRequestBuilder} 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 CopilotToolCopilotToolNameItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/agents/{agent%2Did}/copilotTools/{copilotTool%2DcopilotToolName}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property copilotTools for agents
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property copilotTools for agents
+ * @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);
+ }
+ /**
+ * Get copilotTools from agents
+ * @return a {@link CopilotTool}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CopilotTool get() {
+ return get(null);
+ }
+ /**
+ * Get copilotTools from agents
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CopilotTool}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CopilotTool 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, CopilotTool::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property copilotTools in agents
+ * @param body The request body
+ * @return a {@link CopilotTool}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CopilotTool patch(@jakarta.annotation.Nonnull final CopilotTool body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property copilotTools in agents
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CopilotTool}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CopilotTool patch(@jakarta.annotation.Nonnull final CopilotTool 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, CopilotTool::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property copilotTools for agents
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property copilotTools for agents
+ * @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;
+ }
+ /**
+ * Get copilotTools from agents
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get copilotTools from agents
+ * @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 copilotTools in agents
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CopilotTool body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property copilotTools in agents
+ * @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 CopilotTool 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 CopilotToolCopilotToolNameItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CopilotToolCopilotToolNameItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CopilotToolCopilotToolNameItemRequestBuilder(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 {
+ }
+ /**
+ * Get copilotTools from agents
+ */
+ @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/applications/ApplicationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/ApplicationsRequestBuilder.java
index a2df7af22ac..6f054b26f87 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/ApplicationsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/ApplicationsRequestBuilder.java
@@ -96,7 +96,7 @@ public ApplicationsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr
super(requestAdapter, "{+baseurl}/applications{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get the list of applications in this organization.
+ * Get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint.
* @return a {@link ApplicationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -106,7 +106,7 @@ public ApplicationCollectionResponse get() {
return get(null);
}
/**
- * Get the list of applications in this organization.
+ * Get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ApplicationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -120,7 +120,7 @@ public ApplicationCollectionResponse get(@jakarta.annotation.Nullable final java
return this.requestAdapter.send(requestInfo, errorMapping, ApplicationCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create a new application object.
+ * Create a new application object. This API can also create an agentIdentityBlueprint object when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @return a {@link Application}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -131,7 +131,7 @@ public Application post(@jakarta.annotation.Nonnull final Application body) {
return post(body, null);
}
/**
- * Create a new application object.
+ * Create a new application object. This API can also create an agentIdentityBlueprint object when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Application}
@@ -147,7 +147,7 @@ public Application post(@jakarta.annotation.Nonnull final Application body, @jak
return this.requestAdapter.send(requestInfo, errorMapping, Application::createFromDiscriminatorValue);
}
/**
- * Get the list of applications in this organization.
+ * Get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -155,7 +155,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get the list of applications in this organization.
+ * Get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -167,7 +167,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new application object.
+ * Create a new application object. This API can also create an agentIdentityBlueprint object when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -176,7 +176,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Create a new application object.
+ * Create a new application object. This API can also create an agentIdentityBlueprint object when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -201,7 +201,7 @@ public ApplicationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri
return new ApplicationsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get the list of applications in this organization.
+ * Get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/delta/DeltaRequestBuilder.java
index da08f42f598..b0b79b06982 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/delta/DeltaRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/delta/DeltaRequestBuilder.java
@@ -36,7 +36,7 @@ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/applications/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
+ * Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public DeltaGetResponse get() {
return get(null);
}
/**
- * Get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
+ * Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,7 +60,7 @@ public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue);
}
/**
- * Get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
+ * Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
+ * Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -90,7 +90,7 @@ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
return new DeltaRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
+ * Get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/ApplicationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/ApplicationItemRequestBuilder.java
index e67b37433fe..fd36f2aa3af 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/ApplicationItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/ApplicationItemRequestBuilder.java
@@ -236,7 +236,7 @@ public ApplicationItemRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/applications/{application%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.
+ * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@@ -244,7 +244,7 @@ public void delete() {
delete(null);
}
/**
- * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.
+ * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID.
* @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
@@ -266,7 +266,7 @@ public FederatedIdentityCredentialsWithNameRequestBuilder federatedIdentityCrede
return new FederatedIdentityCredentialsWithNameRequestBuilder(pathParameters, requestAdapter, name);
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
* @return a {@link Application}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -276,7 +276,7 @@ public Application get() {
return get(null);
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Application}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -290,7 +290,7 @@ public Application get(@jakarta.annotation.Nullable final java.util.function.Con
return this.requestAdapter.send(requestInfo, errorMapping, Application::createFromDiscriminatorValue);
}
/**
- * Create a new application object if it doesn't exist, or update the properties of an existing application object.
+ * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @return a {@link Application}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -301,7 +301,7 @@ public Application patch(@jakarta.annotation.Nonnull final Application body) {
return patch(body, null);
}
/**
- * Create a new application object if it doesn't exist, or update the properties of an existing application object.
+ * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Application}
@@ -317,7 +317,7 @@ public Application patch(@jakarta.annotation.Nonnull final Application body, @ja
return this.requestAdapter.send(requestInfo, errorMapping, Application::createFromDiscriminatorValue);
}
/**
- * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.
+ * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -325,7 +325,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.
+ * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -337,7 +337,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -345,7 +345,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -357,7 +357,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new application object if it doesn't exist, or update the properties of an existing application object.
+ * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -366,7 +366,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Create a new application object if it doesn't exist, or update the properties of an existing application object.
+ * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -397,7 +397,7 @@ public ApplicationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final S
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentials/FederatedIdentityCredentialsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentials/FederatedIdentityCredentialsRequestBuilder.java
index 2c5a1f1e77a..2bd002ef272 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentials/FederatedIdentityCredentialsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentials/FederatedIdentityCredentialsRequestBuilder.java
@@ -84,23 +84,23 @@ public FederatedIdentityCredentialCollectionResponse get(@jakarta.annotation.Nul
return this.requestAdapter.send(requestInfo, errorMapping, FederatedIdentityCredentialCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
+ * Create a new federatedIdentityCredential object for an agentIdentityBlueprint. By configuring a trust relationship between your Microsoft Entra agent identity blueprint registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an agentIdentityBlueprint.
* @param body The request body
* @return a {@link FederatedIdentityCredential}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public FederatedIdentityCredential post(@jakarta.annotation.Nonnull final FederatedIdentityCredential body) {
return post(body, null);
}
/**
- * Create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
+ * Create a new federatedIdentityCredential object for an agentIdentityBlueprint. By configuring a trust relationship between your Microsoft Entra agent identity blueprint registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an agentIdentityBlueprint.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link FederatedIdentityCredential}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public FederatedIdentityCredential post(@jakarta.annotation.Nonnull final FederatedIdentityCredential body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
+ * Create a new federatedIdentityCredential object for an agentIdentityBlueprint. By configuring a trust relationship between your Microsoft Entra agent identity blueprint registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an agentIdentityBlueprint.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
+ * Create a new federatedIdentityCredential object for an agentIdentityBlueprint. By configuring a trust relationship between your Microsoft Entra agent identity blueprint registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an agentIdentityBlueprint.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/removekey/RemoveKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/removekey/RemoveKeyRequestBuilder.java
index 73dd3b5b1ad..95c04284686 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/removekey/RemoveKeyRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/removekey/RemoveKeyRequestBuilder.java
@@ -35,20 +35,20 @@ public RemoveKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/removeKey", rawUrl);
}
/**
- * Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed.
+ * Remove a key credential from an agentIdentityBlueprint. This method along with addKey can be used to automate rolling its expiring keys.
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final RemoveKeyPostRequestBody body) {
post(body, null);
}
/**
- * Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed.
+ * Remove a key credential from an agentIdentityBlueprint. This method along with addKey can be used to automate rolling its expiring keys.
* @param body The request body
* @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
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final RemoveKeyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
@@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final RemoveKeyPostRequestBody body
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed.
+ * Remove a key credential from an agentIdentityBlueprint. This method along with addKey can be used to automate rolling its expiring keys.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed.
+ * Remove a key credential from an agentIdentityBlueprint. This method along with addKey can be used to automate rolling its expiring keys.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/restore/RestoreRequestBuilder.java
index e079d9c6f49..61e2bac6a5f 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/restore/RestoreRequestBuilder.java
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/restore", rawUrl);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public DirectoryObject post() {
return post(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @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
@@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/setverifiedpublisher/SetVerifiedPublisherRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/setverifiedpublisher/SetVerifiedPublisherRequestBuilder.java
index 5b3482a5ddf..df98f25e36b 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/setverifiedpublisher/SetVerifiedPublisherRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/setverifiedpublisher/SetVerifiedPublisherRequestBuilder.java
@@ -35,20 +35,20 @@ public SetVerifiedPublisherRequestBuilder(@jakarta.annotation.Nonnull final Stri
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/setVerifiedPublisher", rawUrl);
}
/**
- * Set the the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification.
+ * Set the the verifiedPublisher on an agentIdentityBlueprint. For more information, including prerequisites to setting a verified publisher, see Publisher verification.
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final SetVerifiedPublisherPostRequestBody body) {
post(body, null);
}
/**
- * Set the the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification.
+ * Set the the verifiedPublisher on an agentIdentityBlueprint. For more information, including prerequisites to setting a verified publisher, see Publisher verification.
* @param body The request body
* @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
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final SetVerifiedPublisherPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
@@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final SetVerifiedPublisherPostReque
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Set the the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification.
+ * Set the the verifiedPublisher on an agentIdentityBlueprint. For more information, including prerequisites to setting a verified publisher, see Publisher verification.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Set the the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification.
+ * Set the the verifiedPublisher on an agentIdentityBlueprint. For more information, including prerequisites to setting a verified publisher, see Publisher verification.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/unsetverifiedpublisher/UnsetVerifiedPublisherRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/unsetverifiedpublisher/UnsetVerifiedPublisherRequestBuilder.java
index ce50612beb6..c09c9254813 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/unsetverifiedpublisher/UnsetVerifiedPublisherRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/unsetverifiedpublisher/UnsetVerifiedPublisherRequestBuilder.java
@@ -35,18 +35,18 @@ public UnsetVerifiedPublisherRequestBuilder(@jakarta.annotation.Nonnull final St
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/unsetVerifiedPublisher", rawUrl);
}
/**
- * Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification.
+ * Unset the verifiedPublisher previously set on an agentIdentityBlueprint, removing all verified publisher properties. For more information, see Publisher verification.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void post() {
post(null);
}
/**
- * Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification.
+ * Unset the verifiedPublisher previously set on an agentIdentityBlueprint, removing all verified publisher properties. For more information, see Publisher verification.
* @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
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
@@ -55,7 +55,7 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer<
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification.
+ * Unset the verifiedPublisher previously set on an agentIdentityBlueprint, removing all verified publisher properties. For more information, see Publisher verification.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -63,7 +63,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification.
+ * Unset the verifiedPublisher previously set on an agentIdentityBlueprint, removing all verified publisher properties. For more information, see Publisher verification.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applicationswithappid/ApplicationsWithAppIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applicationswithappid/ApplicationsWithAppIdRequestBuilder.java
index b2bcac55205..da639356c53 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applicationswithappid/ApplicationsWithAppIdRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applicationswithappid/ApplicationsWithAppIdRequestBuilder.java
@@ -39,7 +39,7 @@ public ApplicationsWithAppIdRequestBuilder(@jakarta.annotation.Nonnull final Str
super(requestAdapter, "{+baseurl}/applications(appId='{appId}'){?%24expand,%24select}", rawUrl);
}
/**
- * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.
+ * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@@ -47,7 +47,7 @@ public void delete() {
delete(null);
}
/**
- * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.
+ * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID.
* @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
@@ -59,7 +59,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
* @return a {@link Application}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -69,7 +69,7 @@ public Application get() {
return get(null);
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Application}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -83,7 +83,7 @@ public Application get(@jakarta.annotation.Nullable final java.util.function.Con
return this.requestAdapter.send(requestInfo, errorMapping, Application::createFromDiscriminatorValue);
}
/**
- * Create a new application object if it doesn't exist, or update the properties of an existing application object.
+ * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @return a {@link Application}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -94,7 +94,7 @@ public Application patch(@jakarta.annotation.Nonnull final Application body) {
return patch(body, null);
}
/**
- * Create a new application object if it doesn't exist, or update the properties of an existing application object.
+ * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Application}
@@ -110,7 +110,7 @@ public Application patch(@jakarta.annotation.Nonnull final Application body, @ja
return this.requestAdapter.send(requestInfo, errorMapping, Application::createFromDiscriminatorValue);
}
/**
- * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.
+ * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -118,7 +118,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.
+ * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -130,7 +130,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -138,7 +138,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -150,7 +150,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new application object if it doesn't exist, or update the properties of an existing application object.
+ * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Create a new application object if it doesn't exist, or update the properties of an existing application object.
+ * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -190,7 +190,7 @@ public ApplicationsWithAppIdRequestBuilder withUrl(@jakarta.annotation.Nonnull f
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applicationswithuniquename/ApplicationsWithUniqueNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applicationswithuniquename/ApplicationsWithUniqueNameRequestBuilder.java
index 0e3283919f1..4c1ba7243c1 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applicationswithuniquename/ApplicationsWithUniqueNameRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applicationswithuniquename/ApplicationsWithUniqueNameRequestBuilder.java
@@ -39,7 +39,7 @@ public ApplicationsWithUniqueNameRequestBuilder(@jakarta.annotation.Nonnull fina
super(requestAdapter, "{+baseurl}/applications(uniqueName='{uniqueName}'){?%24expand,%24select}", rawUrl);
}
/**
- * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.
+ * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@@ -47,7 +47,7 @@ public void delete() {
delete(null);
}
/**
- * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.
+ * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID.
* @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
@@ -59,7 +59,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
* @return a {@link Application}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -69,7 +69,7 @@ public Application get() {
return get(null);
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Application}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -83,7 +83,7 @@ public Application get(@jakarta.annotation.Nullable final java.util.function.Con
return this.requestAdapter.send(requestInfo, errorMapping, Application::createFromDiscriminatorValue);
}
/**
- * Create a new application object if it doesn't exist, or update the properties of an existing application object.
+ * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @return a {@link Application}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -94,7 +94,7 @@ public Application patch(@jakarta.annotation.Nonnull final Application body) {
return patch(body, null);
}
/**
- * Create a new application object if it doesn't exist, or update the properties of an existing application object.
+ * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Application}
@@ -110,7 +110,7 @@ public Application patch(@jakarta.annotation.Nonnull final Application body, @ja
return this.requestAdapter.send(requestInfo, errorMapping, Application::createFromDiscriminatorValue);
}
/**
- * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.
+ * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -118,7 +118,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted.
+ * Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -130,7 +130,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -138,7 +138,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -150,7 +150,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new application object if it doesn't exist, or update the properties of an existing application object.
+ * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Create a new application object if it doesn't exist, or update the properties of an existing application object.
+ * Create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -190,7 +190,7 @@ public ApplicationsWithUniqueNameRequestBuilder withUrl(@jakarta.annotation.Nonn
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Get the properties and relationships of an application object.
+ * Get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applicationtemplates/ApplicationTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applicationtemplates/ApplicationTemplatesRequestBuilder.java
index 4456b2b9a23..6dc23ec03ec 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applicationtemplates/ApplicationTemplatesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applicationtemplates/ApplicationTemplatesRequestBuilder.java
@@ -59,7 +59,7 @@ public ApplicationTemplatesRequestBuilder(@jakarta.annotation.Nonnull final Stri
super(requestAdapter, "{+baseurl}/applicationTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery.
+ * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
* @return a {@link ApplicationTemplateCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -69,7 +69,7 @@ public ApplicationTemplateCollectionResponse get() {
return get(null);
}
/**
- * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery.
+ * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ApplicationTemplateCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -83,7 +83,7 @@ public ApplicationTemplateCollectionResponse get(@jakarta.annotation.Nullable fi
return this.requestAdapter.send(requestInfo, errorMapping, ApplicationTemplateCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery.
+ * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -91,7 +91,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery.
+ * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -113,7 +113,7 @@ public ApplicationTemplatesRequestBuilder withUrl(@jakarta.annotation.Nonnull fi
return new ApplicationTemplatesRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery.
+ * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applicationtemplates/item/ApplicationTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applicationtemplates/item/ApplicationTemplateItemRequestBuilder.java
index a6f1aa63fdb..5d0f6d352ff 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applicationtemplates/item/ApplicationTemplateItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applicationtemplates/item/ApplicationTemplateItemRequestBuilder.java
@@ -46,7 +46,7 @@ public ApplicationTemplateItemRequestBuilder(@jakarta.annotation.Nonnull final S
super(requestAdapter, "{+baseurl}/applicationTemplates/{applicationTemplate%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Retrieve the properties of an applicationTemplate object.
+ * Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
* @return a {@link ApplicationTemplate}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -56,7 +56,7 @@ public ApplicationTemplate get() {
return get(null);
}
/**
- * Retrieve the properties of an applicationTemplate object.
+ * Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ApplicationTemplate}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -70,7 +70,7 @@ public ApplicationTemplate get(@jakarta.annotation.Nullable final java.util.func
return this.requestAdapter.send(requestInfo, errorMapping, ApplicationTemplate::createFromDiscriminatorValue);
}
/**
- * Retrieve the properties of an applicationTemplate object.
+ * Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -78,7 +78,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve the properties of an applicationTemplate object.
+ * Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -100,7 +100,7 @@ public ApplicationTemplateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull
return new ApplicationTemplateItemRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Retrieve the properties of an applicationTemplate object.
+ * Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/PresenceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/PresenceItemRequestBuilder.java
index fc87266402b..69a2f907d47 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/PresenceItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/PresenceItemRequestBuilder.java
@@ -1,7 +1,11 @@
package com.microsoft.graph.beta.communications.presences.item;
+import com.microsoft.graph.beta.communications.presences.item.clearautomaticlocation.ClearAutomaticLocationRequestBuilder;
+import com.microsoft.graph.beta.communications.presences.item.clearlocation.ClearLocationRequestBuilder;
import com.microsoft.graph.beta.communications.presences.item.clearpresence.ClearPresenceRequestBuilder;
import com.microsoft.graph.beta.communications.presences.item.clearuserpreferredpresence.ClearUserPreferredPresenceRequestBuilder;
+import com.microsoft.graph.beta.communications.presences.item.setautomaticlocation.SetAutomaticLocationRequestBuilder;
+import com.microsoft.graph.beta.communications.presences.item.setmanuallocation.SetManualLocationRequestBuilder;
import com.microsoft.graph.beta.communications.presences.item.setpresence.SetPresenceRequestBuilder;
import com.microsoft.graph.beta.communications.presences.item.setstatusmessage.SetStatusMessageRequestBuilder;
import com.microsoft.graph.beta.communications.presences.item.setuserpreferredpresence.SetUserPreferredPresenceRequestBuilder;
@@ -25,6 +29,22 @@
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class PresenceItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to call the clearAutomaticLocation method.
+ * @return a {@link ClearAutomaticLocationRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ClearAutomaticLocationRequestBuilder clearAutomaticLocation() {
+ return new ClearAutomaticLocationRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the clearLocation method.
+ * @return a {@link ClearLocationRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ClearLocationRequestBuilder clearLocation() {
+ return new ClearLocationRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the clearPresence method.
* @return a {@link ClearPresenceRequestBuilder}
@@ -41,6 +61,22 @@ public ClearPresenceRequestBuilder clearPresence() {
public ClearUserPreferredPresenceRequestBuilder clearUserPreferredPresence() {
return new ClearUserPreferredPresenceRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the setAutomaticLocation method.
+ * @return a {@link SetAutomaticLocationRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SetAutomaticLocationRequestBuilder setAutomaticLocation() {
+ return new SetAutomaticLocationRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the setManualLocation method.
+ * @return a {@link SetManualLocationRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SetManualLocationRequestBuilder setManualLocation() {
+ return new SetManualLocationRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the setPresence method.
* @return a {@link SetPresenceRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/clearautomaticlocation/ClearAutomaticLocationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/clearautomaticlocation/ClearAutomaticLocationRequestBuilder.java
new file mode 100644
index 00000000000..fca31832938
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/clearautomaticlocation/ClearAutomaticLocationRequestBuilder.java
@@ -0,0 +1,91 @@
+package com.microsoft.graph.beta.communications.presences.item.clearautomaticlocation;
+
+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 clearAutomaticLocation method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ClearAutomaticLocationRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ClearAutomaticLocationRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ClearAutomaticLocationRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/clearAutomaticLocation", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ClearAutomaticLocationRequestBuilder} 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 ClearAutomaticLocationRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/clearAutomaticLocation", rawUrl);
+ }
+ /**
+ * Invoke action clearAutomaticLocation
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void post() {
+ post(null);
+ }
+ /**
+ * Invoke action clearAutomaticLocation
+ * @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 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);
+ }
+ /**
+ * Invoke action clearAutomaticLocation
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation() {
+ return toPostRequestInformation(null);
+ }
+ /**
+ * Invoke action clearAutomaticLocation
+ * @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 ClearAutomaticLocationRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ClearAutomaticLocationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ClearAutomaticLocationRequestBuilder(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/communications/presences/item/clearlocation/ClearLocationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/clearlocation/ClearLocationRequestBuilder.java
new file mode 100644
index 00000000000..238cb385198
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/clearlocation/ClearLocationRequestBuilder.java
@@ -0,0 +1,91 @@
+package com.microsoft.graph.beta.communications.presences.item.clearlocation;
+
+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 clearLocation method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ClearLocationRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ClearLocationRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ClearLocationRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/clearLocation", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ClearLocationRequestBuilder} 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 ClearLocationRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/clearLocation", rawUrl);
+ }
+ /**
+ * Invoke action clearLocation
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void post() {
+ post(null);
+ }
+ /**
+ * Invoke action clearLocation
+ * @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 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);
+ }
+ /**
+ * Invoke action clearLocation
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation() {
+ return toPostRequestInformation(null);
+ }
+ /**
+ * Invoke action clearLocation
+ * @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 ClearLocationRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ClearLocationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ClearLocationRequestBuilder(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/communications/presences/item/setautomaticlocation/SetAutomaticLocationPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/setautomaticlocation/SetAutomaticLocationPostRequestBody.java
new file mode 100644
index 00000000000..1282dd03047
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/setautomaticlocation/SetAutomaticLocationPostRequestBody.java
@@ -0,0 +1,125 @@
+package com.microsoft.graph.beta.communications.presences.item.setautomaticlocation;
+
+import com.microsoft.graph.beta.models.WorkLocationType;
+import com.microsoft.kiota.serialization.AdditionalDataHolder;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import com.microsoft.kiota.store.BackedModel;
+import com.microsoft.kiota.store.BackingStore;
+import com.microsoft.kiota.store.BackingStoreFactorySingleton;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class SetAutomaticLocationPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link SetAutomaticLocationPostRequestBody} and sets the default values.
+ */
+ public SetAutomaticLocationPostRequestBody() {
+ this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
+ this.setAdditionalData(new HashMap<>());
+ }
+ /**
+ * Creates a new instance of the appropriate class based on discriminator value
+ * @param parseNode The parse node to use to read the discriminator value and create the object
+ * @return a {@link SetAutomaticLocationPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static SetAutomaticLocationPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new SetAutomaticLocationPostRequestBody();
+ }
+ /**
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map getAdditionalData() {
+ Map value = this.backingStore.get("additionalData");
+ if(value == null) {
+ value = new HashMap<>();
+ this.setAdditionalData(value);
+ }
+ return value;
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(2);
+ deserializerMap.put("placeId", (n) -> { this.setPlaceId(n.getStringValue()); });
+ deserializerMap.put("workLocationType", (n) -> { this.setWorkLocationType(n.getEnumValue(WorkLocationType::forValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the placeId property value. The placeId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getPlaceId() {
+ return this.backingStore.get("placeId");
+ }
+ /**
+ * Gets the workLocationType property value. The workLocationType property
+ * @return a {@link WorkLocationType}
+ */
+ @jakarta.annotation.Nullable
+ public WorkLocationType getWorkLocationType() {
+ return this.backingStore.get("workLocationType");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeStringValue("placeId", this.getPlaceId());
+ writer.writeEnumValue("workLocationType", this.getWorkLocationType());
+ writer.writeAdditionalData(this.getAdditionalData());
+ }
+ /**
+ * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @param value Value to set for the AdditionalData property.
+ */
+ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) {
+ this.backingStore.set("additionalData", value);
+ }
+ /**
+ * Sets the backingStore property value. Stores model information.
+ * @param value Value to set for the backingStore property.
+ */
+ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) {
+ Objects.requireNonNull(value);
+ this.backingStore = value;
+ }
+ /**
+ * Sets the placeId property value. The placeId property
+ * @param value Value to set for the placeId property.
+ */
+ public void setPlaceId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("placeId", value);
+ }
+ /**
+ * Sets the workLocationType property value. The workLocationType property
+ * @param value Value to set for the workLocationType property.
+ */
+ public void setWorkLocationType(@jakarta.annotation.Nullable final WorkLocationType value) {
+ this.backingStore.set("workLocationType", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/setautomaticlocation/SetAutomaticLocationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/setautomaticlocation/SetAutomaticLocationRequestBuilder.java
new file mode 100644
index 00000000000..0dbbd9d8d23
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/setautomaticlocation/SetAutomaticLocationRequestBuilder.java
@@ -0,0 +1,98 @@
+package com.microsoft.graph.beta.communications.presences.item.setautomaticlocation;
+
+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 setAutomaticLocation method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class SetAutomaticLocationRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link SetAutomaticLocationRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public SetAutomaticLocationRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/setAutomaticLocation", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link SetAutomaticLocationRequestBuilder} 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 SetAutomaticLocationRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/setAutomaticLocation", rawUrl);
+ }
+ /**
+ * Invoke action setAutomaticLocation
+ * @param body The request body
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void post(@jakarta.annotation.Nonnull final SetAutomaticLocationPostRequestBody body) {
+ post(body, null);
+ }
+ /**
+ * Invoke action setAutomaticLocation
+ * @param body The request body
+ * @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 post(@jakarta.annotation.Nonnull final SetAutomaticLocationPostRequestBody 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);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Invoke action setAutomaticLocation
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SetAutomaticLocationPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action setAutomaticLocation
+ * @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 SetAutomaticLocationPostRequestBody 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 SetAutomaticLocationRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SetAutomaticLocationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new SetAutomaticLocationRequestBuilder(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/communications/presences/item/setmanuallocation/SetManualLocationPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/setmanuallocation/SetManualLocationPostRequestBody.java
new file mode 100644
index 00000000000..d0126c0a477
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/setmanuallocation/SetManualLocationPostRequestBody.java
@@ -0,0 +1,125 @@
+package com.microsoft.graph.beta.communications.presences.item.setmanuallocation;
+
+import com.microsoft.graph.beta.models.WorkLocationType;
+import com.microsoft.kiota.serialization.AdditionalDataHolder;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import com.microsoft.kiota.store.BackedModel;
+import com.microsoft.kiota.store.BackingStore;
+import com.microsoft.kiota.store.BackingStoreFactorySingleton;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class SetManualLocationPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link SetManualLocationPostRequestBody} and sets the default values.
+ */
+ public SetManualLocationPostRequestBody() {
+ this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
+ this.setAdditionalData(new HashMap<>());
+ }
+ /**
+ * Creates a new instance of the appropriate class based on discriminator value
+ * @param parseNode The parse node to use to read the discriminator value and create the object
+ * @return a {@link SetManualLocationPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static SetManualLocationPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new SetManualLocationPostRequestBody();
+ }
+ /**
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map getAdditionalData() {
+ Map value = this.backingStore.get("additionalData");
+ if(value == null) {
+ value = new HashMap<>();
+ this.setAdditionalData(value);
+ }
+ return value;
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(2);
+ deserializerMap.put("placeId", (n) -> { this.setPlaceId(n.getStringValue()); });
+ deserializerMap.put("workLocationType", (n) -> { this.setWorkLocationType(n.getEnumValue(WorkLocationType::forValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the placeId property value. The placeId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getPlaceId() {
+ return this.backingStore.get("placeId");
+ }
+ /**
+ * Gets the workLocationType property value. The workLocationType property
+ * @return a {@link WorkLocationType}
+ */
+ @jakarta.annotation.Nullable
+ public WorkLocationType getWorkLocationType() {
+ return this.backingStore.get("workLocationType");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeStringValue("placeId", this.getPlaceId());
+ writer.writeEnumValue("workLocationType", this.getWorkLocationType());
+ writer.writeAdditionalData(this.getAdditionalData());
+ }
+ /**
+ * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @param value Value to set for the AdditionalData property.
+ */
+ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) {
+ this.backingStore.set("additionalData", value);
+ }
+ /**
+ * Sets the backingStore property value. Stores model information.
+ * @param value Value to set for the backingStore property.
+ */
+ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) {
+ Objects.requireNonNull(value);
+ this.backingStore = value;
+ }
+ /**
+ * Sets the placeId property value. The placeId property
+ * @param value Value to set for the placeId property.
+ */
+ public void setPlaceId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("placeId", value);
+ }
+ /**
+ * Sets the workLocationType property value. The workLocationType property
+ * @param value Value to set for the workLocationType property.
+ */
+ public void setWorkLocationType(@jakarta.annotation.Nullable final WorkLocationType value) {
+ this.backingStore.set("workLocationType", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/setmanuallocation/SetManualLocationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/setmanuallocation/SetManualLocationRequestBuilder.java
new file mode 100644
index 00000000000..86aa57f828a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/setmanuallocation/SetManualLocationRequestBuilder.java
@@ -0,0 +1,98 @@
+package com.microsoft.graph.beta.communications.presences.item.setmanuallocation;
+
+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 setManualLocation method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class SetManualLocationRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link SetManualLocationRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public SetManualLocationRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/setManualLocation", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link SetManualLocationRequestBuilder} 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 SetManualLocationRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/communications/presences/{presence%2Did}/setManualLocation", rawUrl);
+ }
+ /**
+ * Invoke action setManualLocation
+ * @param body The request body
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void post(@jakarta.annotation.Nonnull final SetManualLocationPostRequestBody body) {
+ post(body, null);
+ }
+ /**
+ * Invoke action setManualLocation
+ * @param body The request body
+ * @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 post(@jakarta.annotation.Nonnull final SetManualLocationPostRequestBody 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);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Invoke action setManualLocation
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SetManualLocationPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action setManualLocation
+ * @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 SetManualLocationPostRequestBody 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 SetManualLocationRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SetManualLocationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new SetManualLocationRequestBuilder(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/contacts/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/contacts/item/restore/RestoreRequestBuilder.java
index b98fcd33939..4e6af8b1e96 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/contacts/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/contacts/item/restore/RestoreRequestBuilder.java
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/contacts/{orgContact%2Did}/restore", rawUrl);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public DirectoryObject post() {
return post(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @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
@@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/contracts/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/contracts/item/restore/RestoreRequestBuilder.java
index 235cbd9fc8b..c8727b7a577 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/contracts/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/contracts/item/restore/RestoreRequestBuilder.java
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/contracts/{contract%2Did}/restore", rawUrl);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public DirectoryObject post() {
return post(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @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
@@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java
index a703f1e9de6..f70586c8da3 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java
@@ -15,6 +15,7 @@
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.onpremisesconnections.OnPremisesConnectionsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.organizationsettings.OrganizationSettingsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.provisioningpolicies.ProvisioningPoliciesRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.virtualendpoint.report.ReportRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.ReportsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.retrievescopedpermissions.RetrieveScopedPermissionsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.retrievetenantencryptionsetting.RetrieveTenantEncryptionSettingRequestBuilder;
@@ -162,6 +163,14 @@ public OrganizationSettingsRequestBuilder organizationSettings() {
public ProvisioningPoliciesRequestBuilder provisioningPolicies() {
return new ProvisioningPoliciesRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the report property of the microsoft.graph.virtualEndpoint entity.
+ * @return a {@link ReportRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ReportRequestBuilder report() {
+ return new ReportRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the reports property of the microsoft.graph.virtualEndpoint entity.
* @return a {@link ReportsRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/report/ReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/report/ReportRequestBuilder.java
new file mode 100644
index 00000000000..7dce55e55a6
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/report/ReportRequestBuilder.java
@@ -0,0 +1,237 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.report;
+
+import com.microsoft.graph.beta.devicemanagement.virtualendpoint.report.retrievecloudpcrecommendationreports.RetrieveCloudPcRecommendationReportsRequestBuilder;
+import com.microsoft.graph.beta.models.CloudPcReport;
+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 report property of the microsoft.graph.virtualEndpoint entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ReportRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to call the retrieveCloudPcRecommendationReports method.
+ * @return a {@link RetrieveCloudPcRecommendationReportsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RetrieveCloudPcRecommendationReportsRequestBuilder retrieveCloudPcRecommendationReports() {
+ return new RetrieveCloudPcRecommendationReportsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link ReportRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ReportRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/report{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ReportRequestBuilder} 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 ReportRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/report{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property report for deviceManagement
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property report 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
+ */
+ 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);
+ }
+ /**
+ * Cloud PC-related reports. Read-only.
+ * @return a {@link CloudPcReport}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcReport get() {
+ return get(null);
+ }
+ /**
+ * Cloud PC-related reports. Read-only.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcReport}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcReport 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, CloudPcReport::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property report in deviceManagement
+ * @param body The request body
+ * @return a {@link CloudPcReport}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcReport patch(@jakarta.annotation.Nonnull final CloudPcReport body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property report in deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcReport}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcReport patch(@jakarta.annotation.Nonnull final CloudPcReport 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, CloudPcReport::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property report for deviceManagement
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property report for deviceManagement
+ * @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;
+ }
+ /**
+ * Cloud PC-related reports. Read-only.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Cloud PC-related reports. Read-only.
+ * @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 report in deviceManagement
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcReport body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property report in deviceManagement
+ * @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 CloudPcReport 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 ReportRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ReportRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ReportRequestBuilder(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 {
+ }
+ /**
+ * Cloud PC-related reports. Read-only.
+ */
+ @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/devicemanagement/virtualendpoint/report/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/report/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsPostRequestBody.java
new file mode 100644
index 00000000000..a3853c70154
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/report/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsPostRequestBody.java
@@ -0,0 +1,227 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.report.retrievecloudpcrecommendationreports;
+
+import com.microsoft.graph.beta.models.CloudPcRecommendationReportType;
+import com.microsoft.kiota.serialization.AdditionalDataHolder;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import com.microsoft.kiota.store.BackedModel;
+import com.microsoft.kiota.store.BackingStore;
+import com.microsoft.kiota.store.BackingStoreFactorySingleton;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RetrieveCloudPcRecommendationReportsPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link RetrieveCloudPcRecommendationReportsPostRequestBody} and sets the default values.
+ */
+ public RetrieveCloudPcRecommendationReportsPostRequestBody() {
+ this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
+ this.setAdditionalData(new HashMap<>());
+ }
+ /**
+ * Creates a new instance of the appropriate class based on discriminator value
+ * @param parseNode The parse node to use to read the discriminator value and create the object
+ * @return a {@link RetrieveCloudPcRecommendationReportsPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static RetrieveCloudPcRecommendationReportsPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new RetrieveCloudPcRecommendationReportsPostRequestBody();
+ }
+ /**
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map getAdditionalData() {
+ Map value = this.backingStore.get("additionalData");
+ if(value == null) {
+ value = new HashMap<>();
+ this.setAdditionalData(value);
+ }
+ return value;
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(8);
+ deserializerMap.put("filter", (n) -> { this.setFilter(n.getStringValue()); });
+ deserializerMap.put("groupBy", (n) -> { this.setGroupBy(n.getCollectionOfPrimitiveValues(String.class)); });
+ deserializerMap.put("orderBy", (n) -> { this.setOrderBy(n.getCollectionOfPrimitiveValues(String.class)); });
+ deserializerMap.put("reportType", (n) -> { this.setReportType(n.getEnumValue(CloudPcRecommendationReportType::forValue)); });
+ deserializerMap.put("search", (n) -> { this.setSearch(n.getStringValue()); });
+ deserializerMap.put("select", (n) -> { this.setSelect(n.getCollectionOfPrimitiveValues(String.class)); });
+ deserializerMap.put("skip", (n) -> { this.setSkip(n.getIntegerValue()); });
+ deserializerMap.put("top", (n) -> { this.setTop(n.getIntegerValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the filter property value. The filter property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getFilter() {
+ return this.backingStore.get("filter");
+ }
+ /**
+ * Gets the groupBy property value. The groupBy property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getGroupBy() {
+ return this.backingStore.get("groupBy");
+ }
+ /**
+ * Gets the orderBy property value. The orderBy property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getOrderBy() {
+ return this.backingStore.get("orderBy");
+ }
+ /**
+ * Gets the reportType property value. The reportType property
+ * @return a {@link CloudPcRecommendationReportType}
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcRecommendationReportType getReportType() {
+ return this.backingStore.get("reportType");
+ }
+ /**
+ * Gets the search property value. The search property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getSearch() {
+ return this.backingStore.get("search");
+ }
+ /**
+ * Gets the select property value. The select property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getSelect() {
+ return this.backingStore.get("select");
+ }
+ /**
+ * Gets the skip property value. The skip property
+ * @return a {@link Integer}
+ */
+ @jakarta.annotation.Nullable
+ public Integer getSkip() {
+ return this.backingStore.get("skip");
+ }
+ /**
+ * Gets the top property value. The top property
+ * @return a {@link Integer}
+ */
+ @jakarta.annotation.Nullable
+ public Integer getTop() {
+ return this.backingStore.get("top");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeStringValue("filter", this.getFilter());
+ writer.writeCollectionOfPrimitiveValues("groupBy", this.getGroupBy());
+ writer.writeCollectionOfPrimitiveValues("orderBy", this.getOrderBy());
+ writer.writeEnumValue("reportType", this.getReportType());
+ writer.writeStringValue("search", this.getSearch());
+ writer.writeCollectionOfPrimitiveValues("select", this.getSelect());
+ writer.writeIntegerValue("skip", this.getSkip());
+ writer.writeIntegerValue("top", this.getTop());
+ writer.writeAdditionalData(this.getAdditionalData());
+ }
+ /**
+ * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @param value Value to set for the AdditionalData property.
+ */
+ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) {
+ this.backingStore.set("additionalData", value);
+ }
+ /**
+ * Sets the backingStore property value. Stores model information.
+ * @param value Value to set for the backingStore property.
+ */
+ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) {
+ Objects.requireNonNull(value);
+ this.backingStore = value;
+ }
+ /**
+ * Sets the filter property value. The filter property
+ * @param value Value to set for the filter property.
+ */
+ public void setFilter(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("filter", value);
+ }
+ /**
+ * Sets the groupBy property value. The groupBy property
+ * @param value Value to set for the groupBy property.
+ */
+ public void setGroupBy(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("groupBy", value);
+ }
+ /**
+ * Sets the orderBy property value. The orderBy property
+ * @param value Value to set for the orderBy property.
+ */
+ public void setOrderBy(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("orderBy", value);
+ }
+ /**
+ * Sets the reportType property value. The reportType property
+ * @param value Value to set for the reportType property.
+ */
+ public void setReportType(@jakarta.annotation.Nullable final CloudPcRecommendationReportType value) {
+ this.backingStore.set("reportType", value);
+ }
+ /**
+ * Sets the search property value. The search property
+ * @param value Value to set for the search property.
+ */
+ public void setSearch(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("search", value);
+ }
+ /**
+ * Sets the select property value. The select property
+ * @param value Value to set for the select property.
+ */
+ public void setSelect(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("select", value);
+ }
+ /**
+ * Sets the skip property value. The skip property
+ * @param value Value to set for the skip property.
+ */
+ public void setSkip(@jakarta.annotation.Nullable final Integer value) {
+ this.backingStore.set("skip", value);
+ }
+ /**
+ * Sets the top property value. The top property
+ * @param value Value to set for the top property.
+ */
+ public void setTop(@jakarta.annotation.Nullable final Integer value) {
+ this.backingStore.set("top", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/report/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/report/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsRequestBuilder.java
new file mode 100644
index 00000000000..c31417fa256
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/report/retrievecloudpcrecommendationreports/RetrieveCloudPcRecommendationReportsRequestBuilder.java
@@ -0,0 +1,105 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.report.retrievecloudpcrecommendationreports;
+
+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.io.InputStream;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the retrieveCloudPcRecommendationReports method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RetrieveCloudPcRecommendationReportsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link RetrieveCloudPcRecommendationReportsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RetrieveCloudPcRecommendationReportsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/report/retrieveCloudPcRecommendationReports", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RetrieveCloudPcRecommendationReportsRequestBuilder} 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 RetrieveCloudPcRecommendationReportsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/report/retrieveCloudPcRecommendationReports", rawUrl);
+ }
+ /**
+ * Retrieve Cloud PC recommendation reports for usage optimization and cost savings. The usage category report categorizes a Cloud PC as Undersized, Oversized, Rightsized, or Underutilized, and also provides the recommended SKU when the Cloud PC isn't Rightsized.
+ * @param body The request body
+ * @return a {@link InputStream}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcRecommendationReportsPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Retrieve Cloud PC recommendation reports for usage optimization and cost savings. The usage category report categorizes a Cloud PC as Undersized, Oversized, Rightsized, or Underutilized, and also provides the recommended SKU when the Cloud PC isn't Rightsized.
+ * @param body The request body
+ * @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
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcRecommendationReportsPostRequestBody 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.sendPrimitive(requestInfo, errorMapping, InputStream.class);
+ }
+ /**
+ * Retrieve Cloud PC recommendation reports for usage optimization and cost savings. The usage category report categorizes a Cloud PC as Undersized, Oversized, Rightsized, or Underutilized, and also provides the recommended SKU when the Cloud PC isn't Rightsized.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCloudPcRecommendationReportsPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Retrieve Cloud PC recommendation reports for usage optimization and cost savings. The usage category report categorizes a Cloud PC as Undersized, Oversized, Rightsized, or Underutilized, and also provides the recommended SKU when the Cloud PC isn't Rightsized.
+ * @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 RetrieveCloudPcRecommendationReportsPostRequestBody 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/octet-stream, 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 RetrieveCloudPcRecommendationReportsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RetrieveCloudPcRecommendationReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RetrieveCloudPcRecommendationReportsRequestBuilder(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/reports/ReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java
index a5b96e69d34..6df3e51197e 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,7 +43,10 @@ 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);
@@ -51,7 +54,10 @@ 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);
@@ -59,7 +65,10 @@ 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);
@@ -67,7 +76,10 @@ 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);
@@ -75,7 +87,10 @@ 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);
@@ -83,7 +98,10 @@ 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);
@@ -91,7 +109,10 @@ 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);
@@ -99,7 +120,10 @@ 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);
@@ -107,7 +131,10 @@ 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);
@@ -115,7 +142,10 @@ 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);
@@ -123,7 +153,10 @@ 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);
@@ -131,7 +164,10 @@ 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);
@@ -139,7 +175,10 @@ 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);
@@ -147,7 +186,10 @@ 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);
@@ -155,7 +197,10 @@ 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);
@@ -163,7 +208,10 @@ 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);
@@ -171,7 +219,10 @@ 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);
@@ -179,7 +230,10 @@ 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);
@@ -203,7 +257,10 @@ 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);
}
@@ -211,7 +268,10 @@ 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>();
@@ -219,21 +279,27 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Cloud PC related reports.
+ * 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);
}
/**
- * Cloud PC related reports.
+ * Cloud PC-related reports.
* @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>();
@@ -244,8 +310,11 @@ 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);
@@ -254,8 +323,11 @@ 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);
@@ -265,8 +337,11 @@ 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);
}
@@ -276,8 +351,11 @@ 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);
@@ -288,8 +366,11 @@ 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);
}
@@ -297,8 +378,11 @@ 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);
@@ -306,19 +390,25 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Cloud PC related reports.
+ * 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);
}
/**
- * Cloud PC related reports.
+ * 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);
@@ -329,8 +419,11 @@ 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);
}
@@ -339,8 +432,11 @@ 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);
@@ -353,8 +449,11 @@ 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);
@@ -366,7 +465,7 @@ public ReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String ra
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Cloud PC related reports.
+ * Cloud PC-related reports.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
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 18b2f4b169c..46c608bc269 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,7 +26,10 @@ 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);
@@ -35,8 +38,11 @@ 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);
@@ -63,8 +69,11 @@ 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);
}
@@ -73,8 +82,11 @@ 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>();
@@ -86,9 +98,12 @@ 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);
}
@@ -98,9 +113,12 @@ 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);
@@ -111,8 +129,11 @@ 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);
}
@@ -120,8 +141,11 @@ 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);
@@ -132,8 +156,11 @@ 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);
}
@@ -142,8 +169,11 @@ 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);
@@ -156,8 +186,11 @@ 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 1447757d908..bdec627f9f1 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,8 +39,11 @@ 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);
}
@@ -49,8 +52,11 @@ 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>();
@@ -60,8 +66,11 @@ 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);
}
@@ -69,8 +78,11 @@ 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);
@@ -81,8 +93,11 @@ 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 790e2e9ee87..576631cfc1e 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,7 +39,10 @@ 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);
}
@@ -47,7 +50,10 @@ 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>();
@@ -58,9 +64,12 @@ 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);
}
@@ -69,9 +78,12 @@ 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>();
@@ -83,8 +95,11 @@ 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);
}
@@ -94,8 +109,11 @@ 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);
@@ -106,8 +124,11 @@ 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);
}
@@ -115,8 +136,11 @@ 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);
@@ -126,8 +150,11 @@ 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);
}
@@ -135,8 +162,11 @@ 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);
@@ -147,8 +177,11 @@ 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);
}
@@ -157,8 +190,11 @@ 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);
@@ -171,8 +207,11 @@ 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 dab750fdb0b..30f3382e64e 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,9 +40,12 @@ 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);
}
@@ -52,9 +55,12 @@ 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);
@@ -66,8 +72,11 @@ 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);
}
@@ -76,8 +85,11 @@ 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);
@@ -90,8 +102,11 @@ 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 00fa32b9b43..0f4d9001ef7 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, 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
+ * 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
@@ -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, 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
+ * 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
@@ -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, 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
+ * 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
@@ -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, 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
+ * 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
@@ -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, 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
+ * 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
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 fd18bb92d97..60991aad6ab 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 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
+ * 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
@@ -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 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
+ * 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
@@ -73,7 +73,7 @@ public InputStream post(@jakarta.annotation.Nonnull final GetCloudPcRecommendati
* @param body The request body
* @return a {@link RequestInformation}
* @deprecated
- * 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
+ * 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
@@ -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 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
+ * 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
@@ -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 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
+ * 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
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 986d8e02897..a7fc76ea084 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, 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
+ * 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
@@ -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, 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
+ * 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
@@ -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, 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
+ * 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
@@ -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, 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
+ * 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
@@ -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, 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
+ * 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
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 406111c445e..644d849b90f 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,9 +40,12 @@ 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);
}
@@ -52,9 +55,12 @@ 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);
@@ -66,8 +72,11 @@ 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);
}
@@ -76,8 +85,11 @@ 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);
@@ -90,8 +102,11 @@ 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 6734f45ac26..64ed21cdc71 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, 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
+ * 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
@@ -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, 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
+ * 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
@@ -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, 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
+ * 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
@@ -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, 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
+ * 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
@@ -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, 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
+ * 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
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 2bca350475d..c046fc0f898 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,9 +40,12 @@ 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);
}
@@ -52,9 +55,12 @@ 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);
@@ -66,8 +72,11 @@ 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);
}
@@ -76,8 +85,11 @@ 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);
@@ -90,8 +102,11 @@ 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 4cbc5bf4fe6..dcef3f001d8 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,9 +40,12 @@ 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);
}
@@ -52,9 +55,12 @@ 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);
@@ -66,8 +72,11 @@ 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);
}
@@ -76,8 +85,11 @@ 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);
@@ -90,8 +102,11 @@ 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 8772e574dda..955493c108b 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,9 +41,12 @@ 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);
}
@@ -52,9 +55,12 @@ 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>();
@@ -64,8 +70,11 @@ 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);
}
@@ -73,8 +82,11 @@ 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);
@@ -85,8 +97,11 @@ 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 dc181f204a7..52b80373303 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,9 +41,12 @@ 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);
}
@@ -52,9 +55,12 @@ 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>();
@@ -64,8 +70,11 @@ 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);
}
@@ -73,8 +82,11 @@ 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);
@@ -85,8 +97,11 @@ 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 d45002ab323..962f4c0abb7 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,9 +40,12 @@ 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);
}
@@ -52,9 +55,12 @@ 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);
@@ -66,8 +72,11 @@ 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);
}
@@ -76,8 +85,11 @@ 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);
@@ -90,8 +102,11 @@ 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 9065ff60400..fa064807e98 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,9 +40,12 @@ 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);
}
@@ -52,9 +55,12 @@ 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);
@@ -66,8 +72,11 @@ 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);
}
@@ -76,8 +85,11 @@ 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);
@@ -90,8 +102,11 @@ 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 ec0418669c5..26dd5cc89bb 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,9 +40,12 @@ 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);
}
@@ -52,9 +55,12 @@ 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);
@@ -66,8 +72,11 @@ 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);
}
@@ -76,8 +85,11 @@ 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);
@@ -90,8 +102,11 @@ 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 01d5a5d0d17..3495a325472 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
@@ -40,8 +40,11 @@ public RetrieveCloudPcRecommendationReportsRequestBuilder(@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
*/
@jakarta.annotation.Nullable
+ @Deprecated
public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcRecommendationReportsPostRequestBody body) {
return post(body, null);
}
@@ -51,8 +54,11 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcRecomme
* @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 RetrieveCloudPcRecommendationReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -64,8 +70,11 @@ public InputStream post(@jakarta.annotation.Nonnull final RetrieveCloudPcRecomme
* Invoke action retrieveCloudPcRecommendationReports
* @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 RetrieveCloudPcRecommendationReportsPostRequestBody body) {
return toPostRequestInformation(body, null);
}
@@ -74,8 +83,11 @@ 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 RetrieveCloudPcRecommendationReportsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -88,8 +100,11 @@ 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 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
*/
@jakarta.annotation.Nonnull
+ @Deprecated
public RetrieveCloudPcRecommendationReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new RetrieveCloudPcRecommendationReportsRequestBuilder(rawUrl, requestAdapter);
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 2baa7cda9a7..0231f185bdd 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,9 +40,12 @@ 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);
}
@@ -52,9 +55,12 @@ 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);
@@ -66,8 +72,11 @@ 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);
}
@@ -76,8 +85,11 @@ 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);
@@ -90,8 +102,11 @@ 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 c436a700379..facc08298ef 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,9 +40,12 @@ 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);
}
@@ -52,9 +55,12 @@ 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);
@@ -66,8 +72,11 @@ 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);
}
@@ -76,8 +85,11 @@ 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);
@@ -90,8 +102,11 @@ 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 c0f13c0667f..f98b7e7a7d8 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,8 +40,11 @@ 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);
}
@@ -51,8 +54,11 @@ 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);
@@ -64,8 +70,11 @@ 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);
}
@@ -74,8 +83,11 @@ 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);
@@ -88,8 +100,11 @@ 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 dfb3319e7bf..e24034e7718 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,9 +40,12 @@ 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);
}
@@ -52,9 +55,12 @@ 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);
@@ -66,8 +72,11 @@ 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);
}
@@ -76,8 +85,11 @@ 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);
@@ -90,8 +102,11 @@ 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 9b2cb31a0d2..fd6cf782c10 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,8 +40,11 @@ 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);
}
@@ -51,8 +54,11 @@ 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);
@@ -64,8 +70,11 @@ 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);
}
@@ -74,8 +83,11 @@ 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);
@@ -88,8 +100,11 @@ 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/devices/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/item/restore/RestoreRequestBuilder.java
index eb18f76a465..15c3c69a9ad 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devices/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devices/item/restore/RestoreRequestBuilder.java
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/devices/{device%2Did}/restore", rawUrl);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public DirectoryObject post() {
return post(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @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
@@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/graphgroup/GraphGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/graphgroup/GraphGroupRequestBuilder.java
index 9362b959c2e..c30d56d4b26 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/graphgroup/GraphGroupRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/graphgroup/GraphGroupRequestBuilder.java
@@ -46,7 +46,7 @@ public GraphGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
super(requestAdapter, "{+baseurl}/directory/deletedItems/graph.group{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
+ * Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
* @return a {@link GroupCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -56,7 +56,7 @@ public GroupCollectionResponse get() {
return get(null);
}
/**
- * Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
+ * Retrieve a list of recently deleted directory objects 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 GroupCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -70,7 +70,7 @@ public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util.
return this.requestAdapter.send(requestInfo, errorMapping, GroupCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
+ * Retrieve a list of recently deleted directory objects 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
@@ -78,7 +78,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
+ * Retrieve a list of recently deleted directory objects 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}
*/
@@ -100,7 +100,7 @@ public GraphGroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
return new GraphGroupRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
+ * Retrieve a list of recently deleted directory objects 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/graphgroup/GraphGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/graphgroup/GraphGroupRequestBuilder.java
index f21b4e54c65..0a8ff0feb68 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/graphgroup/GraphGroupRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/graphgroup/GraphGroupRequestBuilder.java
@@ -37,7 +37,7 @@ public GraphGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
super(requestAdapter, "{+baseurl}/directory/deletedItems/{directoryObject%2Did}/graph.group{?%24expand,%24select}", rawUrl);
}
/**
- * Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
+ * Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
* @return a {@link Group}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -47,7 +47,7 @@ public Group get() {
return get(null);
}
/**
- * Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
+ * Retrieve a list of recently deleted directory objects 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 Group}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -61,7 +61,7 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer<
return this.requestAdapter.send(requestInfo, errorMapping, Group::createFromDiscriminatorValue);
}
/**
- * Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
+ * Retrieve a list of recently deleted directory objects 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
@@ -69,7 +69,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
+ * Retrieve a list of recently deleted directory objects 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}
*/
@@ -91,7 +91,7 @@ public GraphGroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
return new GraphGroupRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user
+ * Retrieve a list of recently deleted directory objects 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/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java
index 798fae19c06..63652208567 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/directory/deletedItems/{directoryObject%2Did}/restore", rawUrl);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public DirectoryObject post() {
return post(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @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
@@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directoryobjects/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directoryobjects/item/restore/RestoreRequestBuilder.java
index 7d29f5f7210..d7c1d06ad5c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/directoryobjects/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/directoryobjects/item/restore/RestoreRequestBuilder.java
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/directoryObjects/{directoryObject%2Did}/restore", rawUrl);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public DirectoryObject post() {
return post(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @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
@@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/restore/RestoreRequestBuilder.java
index b05b6690d68..1f2236fb2b8 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/restore/RestoreRequestBuilder.java
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/restore", rawUrl);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public DirectoryObject post() {
return post(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @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
@@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java
index 5519c699e71..1baf9a3f0c4 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/directoryRoleTemplates/{directoryRoleTemplate%2Did}/restore", rawUrl);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public DirectoryObject post() {
return post(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @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
@@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directorysettingtemplates/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directorysettingtemplates/item/restore/RestoreRequestBuilder.java
index a13df6f53a0..7f2aa30587c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/directorysettingtemplates/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/directorysettingtemplates/item/restore/RestoreRequestBuilder.java
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/directorySettingTemplates/{directorySettingTemplate%2Did}/restore", rawUrl);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public DirectoryObject post() {
return post(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @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
@@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/GroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/GroupItemRequestBuilder.java
index e0fef22361c..ff0df7433d3 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/GroupItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/GroupItemRequestBuilder.java
@@ -469,7 +469,7 @@ public GroupItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
super(requestAdapter, "{+baseurl}/groups/{group%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
+ * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This doesn't apply to Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@@ -477,7 +477,7 @@ public void delete() {
delete(null);
}
/**
- * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
+ * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This doesn't apply to Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
* @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
@@ -540,7 +540,7 @@ public Group patch(@jakarta.annotation.Nonnull final Group body, @jakarta.annota
return this.requestAdapter.send(requestInfo, errorMapping, Group::createFromDiscriminatorValue);
}
/**
- * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
+ * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This doesn't apply to Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -548,7 +548,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
+ * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This doesn't apply to Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/PlannerPlanItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/PlannerPlanItemRequestBuilder.java
index df6a5076e30..84aee093a21 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/PlannerPlanItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/PlannerPlanItemRequestBuilder.java
@@ -3,6 +3,7 @@
import com.microsoft.graph.beta.groups.item.planner.plans.item.archive.ArchiveRequestBuilder;
import com.microsoft.graph.beta.groups.item.planner.plans.item.buckets.BucketsRequestBuilder;
import com.microsoft.graph.beta.groups.item.planner.plans.item.details.DetailsRequestBuilder;
+import com.microsoft.graph.beta.groups.item.planner.plans.item.getusagerights.GetUsageRightsRequestBuilder;
import com.microsoft.graph.beta.groups.item.planner.plans.item.movetocontainer.MoveToContainerRequestBuilder;
import com.microsoft.graph.beta.groups.item.planner.plans.item.tasks.TasksRequestBuilder;
import com.microsoft.graph.beta.groups.item.planner.plans.item.unarchive.UnarchiveRequestBuilder;
@@ -50,6 +51,14 @@ public BucketsRequestBuilder buckets() {
public DetailsRequestBuilder details() {
return new DetailsRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the getUsageRights method.
+ * @return a {@link GetUsageRightsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetUsageRightsRequestBuilder getUsageRights() {
+ return new GetUsageRightsRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the moveToContainer method.
* @return a {@link MoveToContainerRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/getusagerights/GetUsageRightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/getusagerights/GetUsageRightsRequestBuilder.java
new file mode 100644
index 00000000000..c8abdc7f16c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/getusagerights/GetUsageRightsRequestBuilder.java
@@ -0,0 +1,96 @@
+package com.microsoft.graph.beta.groups.item.planner.plans.item.getusagerights;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.PlanUsageRight;
+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 getUsageRights method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetUsageRightsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link GetUsageRightsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetUsageRightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/getUsageRights()", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GetUsageRightsRequestBuilder} 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 GetUsageRightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/getUsageRights()", rawUrl);
+ }
+ /**
+ * Invoke function getUsageRights
+ * @return a {@link PlanUsageRight}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public PlanUsageRight get() {
+ return get(null);
+ }
+ /**
+ * Invoke function getUsageRights
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link PlanUsageRight}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public PlanUsageRight 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, PlanUsageRight::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke function getUsageRights
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Invoke function getUsageRights
+ * @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);
+ 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 GetUsageRightsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetUsageRightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GetUsageRightsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/restore/RestoreRequestBuilder.java
index 9fdb5ba6128..8f7ddda147d 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/restore/RestoreRequestBuilder.java
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/groups/{group%2Did}/restore", rawUrl);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public DirectoryObject post() {
return post(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @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
@@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * Restore 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 If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans/item/PlannerPlanItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans/item/PlannerPlanItemRequestBuilder.java
index b67fa27d04f..bf5842bbd37 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans/item/PlannerPlanItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans/item/PlannerPlanItemRequestBuilder.java
@@ -3,6 +3,7 @@
import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.archive.ArchiveRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.buckets.BucketsRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.details.DetailsRequestBuilder;
+import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.getusagerights.GetUsageRightsRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.movetocontainer.MoveToContainerRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.tasks.TasksRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.unarchive.UnarchiveRequestBuilder;
@@ -50,6 +51,14 @@ public BucketsRequestBuilder buckets() {
public DetailsRequestBuilder details() {
return new DetailsRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the getUsageRights method.
+ * @return a {@link GetUsageRightsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetUsageRightsRequestBuilder getUsageRights() {
+ return new GetUsageRightsRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the moveToContainer method.
* @return a {@link MoveToContainerRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans/item/getusagerights/GetUsageRightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans/item/getusagerights/GetUsageRightsRequestBuilder.java
new file mode 100644
index 00000000000..6e5353ff61f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/planner/plans/item/getusagerights/GetUsageRightsRequestBuilder.java
@@ -0,0 +1,96 @@
+package com.microsoft.graph.beta.groups.item.team.channels.item.planner.plans.item.getusagerights;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.PlanUsageRight;
+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 getUsageRights method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetUsageRightsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link GetUsageRightsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetUsageRightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/getUsageRights()", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GetUsageRightsRequestBuilder} 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 GetUsageRightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/getUsageRights()", rawUrl);
+ }
+ /**
+ * Invoke function getUsageRights
+ * @return a {@link PlanUsageRight}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public PlanUsageRight get() {
+ return get(null);
+ }
+ /**
+ * Invoke function getUsageRights
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link PlanUsageRight}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public PlanUsageRight 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, PlanUsageRight::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke function getUsageRights
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Invoke function getUsageRights
+ * @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);
+ 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 GetUsageRightsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetUsageRightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GetUsageRightsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans/item/PlannerPlanItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans/item/PlannerPlanItemRequestBuilder.java
index c98067a6e29..6bc43c28945 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans/item/PlannerPlanItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans/item/PlannerPlanItemRequestBuilder.java
@@ -3,6 +3,7 @@
import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.archive.ArchiveRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.buckets.BucketsRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.details.DetailsRequestBuilder;
+import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.getusagerights.GetUsageRightsRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.movetocontainer.MoveToContainerRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.tasks.TasksRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.unarchive.UnarchiveRequestBuilder;
@@ -50,6 +51,14 @@ public BucketsRequestBuilder buckets() {
public DetailsRequestBuilder details() {
return new DetailsRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the getUsageRights method.
+ * @return a {@link GetUsageRightsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetUsageRightsRequestBuilder getUsageRights() {
+ return new GetUsageRightsRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the moveToContainer method.
* @return a {@link MoveToContainerRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans/item/getusagerights/GetUsageRightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans/item/getusagerights/GetUsageRightsRequestBuilder.java
new file mode 100644
index 00000000000..bc2ca73f478
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/planner/plans/item/getusagerights/GetUsageRightsRequestBuilder.java
@@ -0,0 +1,96 @@
+package com.microsoft.graph.beta.groups.item.team.primarychannel.planner.plans.item.getusagerights;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.PlanUsageRight;
+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 getUsageRights method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetUsageRightsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link GetUsageRightsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetUsageRightsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/getUsageRights()", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GetUsageRightsRequestBuilder} 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 GetUsageRightsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/getUsageRights()", rawUrl);
+ }
+ /**
+ * Invoke function getUsageRights
+ * @return a {@link PlanUsageRight}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public PlanUsageRight get() {
+ return get(null);
+ }
+ /**
+ * Invoke function getUsageRights
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link PlanUsageRight}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public PlanUsageRight 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, PlanUsageRight::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke function getUsageRights
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Invoke function getUsageRights
+ * @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);
+ 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 GetUsageRightsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetUsageRightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GetUsageRightsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groupswithuniquename/GroupsWithUniqueNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groupswithuniquename/GroupsWithUniqueNameRequestBuilder.java
index 3fc87c9bb52..e840d5fbe70 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/groupswithuniquename/GroupsWithUniqueNameRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/groupswithuniquename/GroupsWithUniqueNameRequestBuilder.java
@@ -39,7 +39,7 @@ public GroupsWithUniqueNameRequestBuilder(@jakarta.annotation.Nonnull final Stri
super(requestAdapter, "{+baseurl}/groups(uniqueName='{uniqueName}'){?%24expand,%24select}", rawUrl);
}
/**
- * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
+ * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This doesn't apply to Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@@ -47,7 +47,7 @@ public void delete() {
delete(null);
}
/**
- * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
+ * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This doesn't apply to Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
* @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
@@ -110,7 +110,7 @@ public Group patch(@jakarta.annotation.Nonnull final Group body, @jakarta.annota
return this.requestAdapter.send(requestInfo, errorMapping, Group::createFromDiscriminatorValue);
}
/**
- * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
+ * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This doesn't apply to Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -118,7 +118,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
+ * Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This doesn't apply to Distribution groups that are permanently deleted immediately. To learn more, see deletedItems.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/identity/IdentityRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/IdentityRequestBuilder.java
index 24cfd76b3a8..81020f4d4de 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/identity/IdentityRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/identity/IdentityRequestBuilder.java
@@ -10,8 +10,10 @@
import com.microsoft.graph.beta.identity.customauthenticationextensions.CustomAuthenticationExtensionsRequestBuilder;
import com.microsoft.graph.beta.identity.identityproviders.IdentityProvidersRequestBuilder;
import com.microsoft.graph.beta.identity.riskprevention.RiskPreventionRequestBuilder;
+import com.microsoft.graph.beta.identity.signinidentifiers.SignInIdentifiersRequestBuilder;
import com.microsoft.graph.beta.identity.userflowattributes.UserFlowAttributesRequestBuilder;
import com.microsoft.graph.beta.identity.userflows.UserFlowsRequestBuilder;
+import com.microsoft.graph.beta.identity.verifiedid.VerifiedIdRequestBuilder;
import com.microsoft.graph.beta.models.IdentityContainer;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -112,6 +114,14 @@ public IdentityProvidersRequestBuilder identityProviders() {
public RiskPreventionRequestBuilder riskPrevention() {
return new RiskPreventionRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the signInIdentifiers property of the microsoft.graph.identityContainer entity.
+ * @return a {@link SignInIdentifiersRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SignInIdentifiersRequestBuilder signInIdentifiers() {
+ return new SignInIdentifiersRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the userFlowAttributes property of the microsoft.graph.identityContainer entity.
* @return a {@link UserFlowAttributesRequestBuilder}
@@ -128,6 +138,14 @@ public UserFlowAttributesRequestBuilder userFlowAttributes() {
public UserFlowsRequestBuilder userFlows() {
return new UserFlowsRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the verifiedId property of the microsoft.graph.identityContainer entity.
+ * @return a {@link VerifiedIdRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public VerifiedIdRequestBuilder verifiedId() {
+ return new VerifiedIdRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Instantiates a new {@link IdentityRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
diff --git a/src/main/java/com/microsoft/graph/beta/generated/identity/riskprevention/webapplicationfirewallproviders/WebApplicationFirewallProvidersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/riskprevention/webapplicationfirewallproviders/WebApplicationFirewallProvidersRequestBuilder.java
index 6d668cf38ef..353a59b490c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/identity/riskprevention/webapplicationfirewallproviders/WebApplicationFirewallProvidersRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/identity/riskprevention/webapplicationfirewallproviders/WebApplicationFirewallProvidersRequestBuilder.java
@@ -60,19 +60,21 @@ public WebApplicationFirewallProvidersRequestBuilder(@jakarta.annotation.Nonnull
super(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get webApplicationFirewallProviders from identity
+ * Get a list of the webApplicationFirewallProvider objects and their properties.
* @return a {@link WebApplicationFirewallProviderCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WebApplicationFirewallProviderCollectionResponse get() {
return get(null);
}
/**
- * Get webApplicationFirewallProviders from identity
+ * Get a list of the webApplicationFirewallProvider objects and their properties.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link WebApplicationFirewallProviderCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WebApplicationFirewallProviderCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -82,21 +84,23 @@ public WebApplicationFirewallProviderCollectionResponse get(@jakarta.annotation.
return this.requestAdapter.send(requestInfo, errorMapping, WebApplicationFirewallProviderCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create new navigation property to webApplicationFirewallProviders for identity
+ * Create a new webApplicationFirewallProvider object. You can create one of the following subtypes that are derived from webApplicationFirewallProvider.
* @param body The request body
* @return a {@link WebApplicationFirewallProvider}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WebApplicationFirewallProvider post(@jakarta.annotation.Nonnull final WebApplicationFirewallProvider body) {
return post(body, null);
}
/**
- * Create new navigation property to webApplicationFirewallProviders for identity
+ * Create a new webApplicationFirewallProvider object. You can create one of the following subtypes that are derived from webApplicationFirewallProvider.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link WebApplicationFirewallProvider}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WebApplicationFirewallProvider post(@jakarta.annotation.Nonnull final WebApplicationFirewallProvider body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -107,7 +111,7 @@ public WebApplicationFirewallProvider post(@jakarta.annotation.Nonnull final Web
return this.requestAdapter.send(requestInfo, errorMapping, WebApplicationFirewallProvider::createFromDiscriminatorValue);
}
/**
- * Get webApplicationFirewallProviders from identity
+ * Get a list of the webApplicationFirewallProvider objects and their properties.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -115,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get webApplicationFirewallProviders from identity
+ * Get a list of the webApplicationFirewallProvider objects and their properties.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -127,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create new navigation property to webApplicationFirewallProviders for identity
+ * Create a new webApplicationFirewallProvider object. You can create one of the following subtypes that are derived from webApplicationFirewallProvider.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -136,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Create new navigation property to webApplicationFirewallProviders for identity
+ * Create a new webApplicationFirewallProvider object. You can create one of the following subtypes that are derived from webApplicationFirewallProvider.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -161,7 +165,7 @@ public WebApplicationFirewallProvidersRequestBuilder withUrl(@jakarta.annotation
return new WebApplicationFirewallProvidersRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get webApplicationFirewallProviders from identity
+ * Get a list of the webApplicationFirewallProvider objects 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/identity/riskprevention/webapplicationfirewallproviders/item/WebApplicationFirewallProviderItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/riskprevention/webapplicationfirewallproviders/item/WebApplicationFirewallProviderItemRequestBuilder.java
index 48e6453f2d4..c7ec8535840 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/identity/riskprevention/webapplicationfirewallproviders/item/WebApplicationFirewallProviderItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/identity/riskprevention/webapplicationfirewallproviders/item/WebApplicationFirewallProviderItemRequestBuilder.java
@@ -46,16 +46,18 @@ public WebApplicationFirewallProviderItemRequestBuilder(@jakarta.annotation.Nonn
super(requestAdapter, "{+baseurl}/identity/riskPrevention/webApplicationFirewallProviders/{webApplicationFirewallProvider%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Delete navigation property webApplicationFirewallProviders for identity
+ * Delete a webApplicationFirewallProvider object.
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
public void delete() {
delete(null);
}
/**
- * Delete navigation property webApplicationFirewallProviders for identity
+ * Delete a webApplicationFirewallProvider object.
* @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);
@@ -64,19 +66,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Get webApplicationFirewallProviders from identity
+ * Read the properties and relationships of webApplicationFirewallProvider object.
* @return a {@link WebApplicationFirewallProvider}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see