Skip to content

Commit cc0835e

Browse files
authored
Merge pull request #1150 from microsoftgraph/beta/pipelinebuild/183670
Generated beta models and request builders
2 parents 1e8cb58 + e75cd0c commit cc0835e

File tree

106 files changed

+551
-551
lines changed

Some content is hidden

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

106 files changed

+551
-551
lines changed

src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
5757
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
5858
}
5959
/**
60-
* Read the properties and relationships of an operationalInsightsConnection object.
60+
* Read the properties and relationships of a resourceConnection object.
6161
* @return a {@link ResourceConnection}
6262
* @throws ODataError When receiving a 4XX or 5XX status code
63-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta">Find more info here</a>
63+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta">Find more info here</a>
6464
*/
6565
@jakarta.annotation.Nullable
6666
public ResourceConnection get() {
6767
return get(null);
6868
}
6969
/**
70-
* Read the properties and relationships of an operationalInsightsConnection object.
70+
* Read the properties and relationships of a resourceConnection object.
7171
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7272
* @return a {@link ResourceConnection}
7373
* @throws ODataError When receiving a 4XX or 5XX status code
74-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta">Find more info here</a>
74+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta">Find more info here</a>
7575
*/
7676
@jakarta.annotation.Nullable
7777
public ResourceConnection get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -126,15 +126,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
126126
return requestInfo;
127127
}
128128
/**
129-
* Read the properties and relationships of an operationalInsightsConnection object.
129+
* Read the properties and relationships of a resourceConnection object.
130130
* @return a {@link RequestInformation}
131131
*/
132132
@jakarta.annotation.Nonnull
133133
public RequestInformation toGetRequestInformation() {
134134
return toGetRequestInformation(null);
135135
}
136136
/**
137-
* Read the properties and relationships of an operationalInsightsConnection object.
137+
* Read the properties and relationships of a resourceConnection object.
138138
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
139139
* @return a {@link RequestInformation}
140140
*/
@@ -186,7 +186,7 @@ public ResourceConnectionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull
186186
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
187187
}
188188
/**
189-
* Read the properties and relationships of an operationalInsightsConnection object.
189+
* Read the properties and relationships of a resourceConnection object.
190190
*/
191191
@jakarta.annotation.Generated("com.microsoft.kiota")
192192
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,18 @@ public UpdatableAssetItemRequestBuilder(@jakarta.annotation.Nonnull final String
7373
super(requestAdapter, "{+baseurl}/admin/windows/updates/updatableAssets/{updatableAsset%2Did}{?%24expand,%24select}", rawUrl);
7474
}
7575
/**
76-
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
76+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
7777
* @throws ODataError When receiving a 4XX or 5XX status code
78-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta">Find more info here</a>
78+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta">Find more info here</a>
7979
*/
8080
public void delete() {
8181
delete(null);
8282
}
8383
/**
84-
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
84+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
8585
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8686
* @throws ODataError When receiving a 4XX or 5XX status code
87-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta">Find more info here</a>
87+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta">Find more info here</a>
8888
*/
8989
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> requestConfiguration) {
9090
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -142,15 +142,15 @@ public UpdatableAsset patch(@jakarta.annotation.Nonnull final UpdatableAsset bod
142142
return this.requestAdapter.send(requestInfo, errorMapping, UpdatableAsset::createFromDiscriminatorValue);
143143
}
144144
/**
145-
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
145+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
146146
* @return a {@link RequestInformation}
147147
*/
148148
@jakarta.annotation.Nonnull
149149
public RequestInformation toDeleteRequestInformation() {
150150
return toDeleteRequestInformation(null);
151151
}
152152
/**
153-
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
153+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
154154
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
155155
* @return a {@link RequestInformation}
156156
*/

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](../resources/certificateauthoritydetail.md- 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.
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&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.
4040
* @param body The request body
4141
* @return a {@link DirectoryObject}
4242
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -47,7 +47,7 @@ public DirectoryObject post(@jakarta.annotation.Nonnull final RestorePostRequest
4747
return post(body, null);
4848
}
4949
/**
50-
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- [certificateAuthorityDetail](../resources/certificateauthoritydetail.md- 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.
50+
* 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.
5151
* @param body The request body
5252
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5353
* @return a {@link DirectoryObject}
@@ -63,7 +63,7 @@ public DirectoryObject post(@jakarta.annotation.Nonnull final RestorePostRequest
6363
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
6464
}
6565
/**
66-
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- [certificateAuthorityDetail](../resources/certificateauthoritydetail.md- 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.
66+
* 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.
6767
* @param body The request body
6868
* @return a {@link RequestInformation}
6969
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
7272
return toPostRequestInformation(body, null);
7373
}
7474
/**
75-
* Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- [certificateAuthorityDetail](../resources/certificateauthoritydetail.md- 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.
75+
* 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.
7676
* @param body The request body
7777
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7878
* @return a {@link RequestInformation}

src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/ref/RefRequestBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util
8282
return this.requestAdapter.send(requestInfo, errorMapping, StringCollectionResponse::createFromDiscriminatorValue);
8383
}
8484
/**
85-
* Add an owner to an application. Currently, only individual users are supported as owners of applications.
85+
* Add an owner to an application. Application owners can be individual users, the associated service principal, or another service principal.
8686
* @param body The request body
8787
* @throws ODataError When receiving a 4XX or 5XX status code
8888
* @see <a href="https://learn.microsoft.com/graph/api/application-post-owners?view=graph-rest-beta">Find more info here</a>
@@ -91,7 +91,7 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) {
9191
post(body, null);
9292
}
9393
/**
94-
* Add an owner to an application. Currently, only individual users are supported as owners of applications.
94+
* Add an owner to an application. Application owners can be individual users, the associated service principal, or another service principal.
9595
* @param body The request body
9696
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9797
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -145,7 +145,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
145145
return requestInfo;
146146
}
147147
/**
148-
* Add an owner to an application. Currently, only individual users are supported as owners of applications.
148+
* Add an owner to an application. Application owners can be individual users, the associated service principal, or another service principal.
149149
* @param body The request body
150150
* @return a {@link RequestInformation}
151151
*/
@@ -154,7 +154,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
154154
return toPostRequestInformation(body, null);
155155
}
156156
/**
157-
* Add an owner to an application. Currently, only individual users are supported as owners of applications.
157+
* Add an owner to an application. Application owners can be individual users, the associated service principal, or another service principal.
158158
* @param body The request body
159159
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
160160
* @return a {@link RequestInformation}

0 commit comments

Comments
 (0)