Skip to content

Commit a8e90bc

Browse files
authored
Merge pull request #374 from microsoftgraph/kiota/beta/pipelinebuild/183670
Generated beta models and request builders
2 parents 91453a1 + 15d913e commit a8e90bc

File tree

167 files changed

+327
-327
lines changed

Some content is hidden

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

167 files changed

+327
-327
lines changed

src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ public function delete(?ResourceConnectionItemRequestBuilderDeleteRequestConfigu
4646
}
4747

4848
/**
49-
* Read the properties and relationships of an operationalInsightsConnection object.
49+
* Read the properties and relationships of a resourceConnection object.
5050
* @param ResourceConnectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5151
* @return Promise<ResourceConnection|null>
5252
* @throws Exception
53-
* @link https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta Find more info here
53+
* @link https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta Find more info here
5454
*/
5555
public function get(?ResourceConnectionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
5656
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -94,7 +94,7 @@ public function toDeleteRequestInformation(?ResourceConnectionItemRequestBuilder
9494
}
9595

9696
/**
97-
* Read the properties and relationships of an operationalInsightsConnection object.
97+
* Read the properties and relationships of a resourceConnection object.
9898
* @param ResourceConnectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9999
* @return RequestInformation
100100
*/

src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilderGetQueryParameters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Microsoft\Kiota\Abstractions\QueryParameter;
66

77
/**
8-
* Read the properties and relationships of an operationalInsightsConnection object.
8+
* Read the properties and relationships of a resourceConnection object.
99
*/
1010
class ResourceConnectionItemRequestBuilderGetQueryParameters
1111
{

src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
6363
}
6464

6565
/**
66-
* 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.
66+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
6767
* @param UpdatableAssetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6868
* @return Promise<void|null>
6969
* @throws Exception
70-
* @link https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta Find more info here
70+
* @link https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta Find more info here
7171
*/
7272
public function delete(?UpdatableAssetItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
7373
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
@@ -108,7 +108,7 @@ public function patch(UpdatableAsset $body, ?UpdatableAssetItemRequestBuilderPat
108108
}
109109

110110
/**
111-
* 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.
111+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
112112
* @param UpdatableAssetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
113113
* @return RequestInformation
114114
*/

src/Generated/AdministrativeUnits/Item/Restore/RestoreRequestBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3131
}
3232

3333
/**
34-
* 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'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.
34+
* 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.
3535
* @param RestorePostRequestBody $body The request body
3636
* @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3737
* @return Promise<DirectoryObject|null>
@@ -47,7 +47,7 @@ public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostReq
4747
}
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'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.
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'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.
5151
* @param RestorePostRequestBody $body The request body
5252
* @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5353
* @return RequestInformation

src/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function get(?RefRequestBuilderGetRequestConfiguration $requestConfigurat
6262
}
6363

6464
/**
65-
* Add an owner to an application. Currently, only individual users are supported as owners of applications.
65+
* Add an owner to an application. Application owners can be individual users, the associated service principal, or another service principal.
6666
* @param ReferenceCreate $body The request body
6767
* @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6868
* @return Promise<void|null>
@@ -120,7 +120,7 @@ public function toGetRequestInformation(?RefRequestBuilderGetRequestConfiguratio
120120
}
121121

122122
/**
123-
* Add an owner to an application. Currently, only individual users are supported as owners of applications.
123+
* Add an owner to an application. Application owners can be individual users, the associated service principal, or another service principal.
124124
* @param ReferenceCreate $body The request body
125125
* @param RefRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
126126
* @return RequestInformation

src/Generated/Applications/Item/Restore/RestoreRequestBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3131
}
3232

3333
/**
34-
* 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'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.
34+
* 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.
3535
* @param RestorePostRequestBody $body The request body
3636
* @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3737
* @return Promise<DirectoryObject|null>
@@ -47,7 +47,7 @@ public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostReq
4747
}
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'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.
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'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.
5151
* @param RestorePostRequestBody $body The request body
5252
* @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5353
* @return RequestInformation

src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi
9191
}
9292

9393
/**
94-
* Send a new chatMessage in the specified channel or a chat.
94+
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
9595
* @param ChatMessage $body The request body
9696
* @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9797
* @return Promise<ChatMessage|null>
9898
* @throws Exception
99-
* @link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta Find more info here
99+
* @link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta Find more info here
100100
*/
101101
public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
102102
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
@@ -128,7 +128,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu
128128
}
129129

130130
/**
131-
* Send a new chatMessage in the specified channel or a chat.
131+
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
132132
* @param ChatMessage $body The request body
133133
* @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
134134
* @return RequestInformation

src/Generated/Contacts/Item/Restore/RestoreRequestBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3131
}
3232

3333
/**
34-
* 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'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.
34+
* 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.
3535
* @param RestorePostRequestBody $body The request body
3636
* @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3737
* @return Promise<DirectoryObject|null>
@@ -47,7 +47,7 @@ public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostReq
4747
}
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'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.
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'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.
5151
* @param RestorePostRequestBody $body The request body
5252
* @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5353
* @return RequestInformation

0 commit comments

Comments
 (0)