Skip to content

Commit a68b366

Browse files
authored
Merge pull request #1260 from microsoftgraph/beta/pipelinebuild/203832
Generated beta models and request builders
2 parents fd4c3af + ea73ee9 commit a68b366

File tree

692 files changed

+35552
-58492
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

692 files changed

+35552
-58492
lines changed

src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import com.microsoft.graph.beta.activitystatistics.ActivitystatisticsRequestBuilder;
66
import com.microsoft.graph.beta.admin.AdminRequestBuilder;
77
import com.microsoft.graph.beta.administrativeunits.AdministrativeUnitsRequestBuilder;
8+
import com.microsoft.graph.beta.agents.AgentsRequestBuilder;
89
import com.microsoft.graph.beta.agreementacceptances.AgreementAcceptancesRequestBuilder;
910
import com.microsoft.graph.beta.agreements.AgreementsRequestBuilder;
1011
import com.microsoft.graph.beta.alloweddatalocations.AllowedDataLocationsRequestBuilder;
@@ -186,6 +187,14 @@ public AdminRequestBuilder admin() {
186187
public AdministrativeUnitsRequestBuilder administrativeUnits() {
187188
return new AdministrativeUnitsRequestBuilder(pathParameters, requestAdapter);
188189
}
190+
/**
191+
* Provides operations to manage the collection of agent entities.
192+
* @return a {@link AgentsRequestBuilder}
193+
*/
194+
@jakarta.annotation.Nonnull
195+
public AgentsRequestBuilder agents() {
196+
return new AgentsRequestBuilder(pathParameters, requestAdapter);
197+
}
189198
/**
190199
* Provides operations to manage the collection of agreementAcceptance entities.
191200
* @return a {@link AgreementAcceptancesRequestBuilder}

src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/restore/RestoreRequestBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
3636
super(requestAdapter, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/restore", rawUrl);
3737
}
3838
/**
39-
* 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.
39+
* 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.
4040
* @return a {@link DirectoryObject}
4141
* @throws ODataError When receiving a 4XX or 5XX status code
4242
* @see <a href="https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta">Find more info here</a>
@@ -46,7 +46,7 @@ public DirectoryObject post() {
4646
return post(null);
4747
}
4848
/**
49-
* 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&apos;t applicable to security groups, which are deleted permanently. Also, restoring an application doesn&apos;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.
49+
* 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&apos;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.
5050
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5151
* @return a {@link DirectoryObject}
5252
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,15 +60,15 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio
6060
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
6161
}
6262
/**
63-
* 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&apos;t applicable to security groups, which are deleted permanently. Also, restoring an application doesn&apos;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.
63+
* 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&apos;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.
6464
* @return a {@link RequestInformation}
6565
*/
6666
@jakarta.annotation.Nonnull
6767
public RequestInformation toPostRequestInformation() {
6868
return toPostRequestInformation(null);
6969
}
7070
/**
71-
* 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&apos;t applicable to security groups, which are deleted permanently. Also, restoring an application doesn&apos;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.
71+
* 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&apos;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.
7272
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7373
* @return a {@link RequestInformation}
7474
*/

0 commit comments

Comments
 (0)