Skip to content

Commit 5b92cc2

Browse files
authored
Merge pull request #802 from microsoftgraph/beta/pipelinebuild/185491
Generated beta models and request builders
2 parents 0bac600 + a46a8cf commit 5b92cc2

File tree

64 files changed

+259
-249
lines changed

Some content is hidden

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

64 files changed

+259
-249
lines changed

msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3232

3333
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
3434
"""
35-
Delete a resourceConnection object.
35+
Delete an operationalInsightsConnection object.
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: None
38-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta
38+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta
3939
"""
4040
request_info = self.to_delete_request_information(
4141
request_configuration
@@ -95,7 +95,7 @@ async def patch(self,body: ResourceConnection, request_configuration: Optional[R
9595

9696
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
9797
"""
98-
Delete a resourceConnection object.
98+
Delete an operationalInsightsConnection object.
9999
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
100100
Returns: RequestInformation
101101
"""

msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3636

3737
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
3838
"""
39-
Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
39+
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.
4040
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
4141
Returns: None
42-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta
42+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta
4343
"""
4444
request_info = self.to_delete_request_information(
4545
request_configuration
@@ -99,7 +99,7 @@ async def patch(self,body: UpdatableAsset, request_configuration: Optional[Reque
9999

100100
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
101101
"""
102-
Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
102+
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.
103103
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
104104
Returns: RequestInformation
105105
"""

msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3333

3434
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
3535
"""
36-
Delete a complianceChange object.
36+
Delete a contentApproval object.
3737
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3838
Returns: None
39-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta
39+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta
4040
"""
4141
request_info = self.to_delete_request_information(
4242
request_configuration
@@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5252

5353
async def get(self,request_configuration: Optional[RequestConfiguration[ComplianceChangeItemRequestBuilderGetQueryParameters]] = None) -> Optional[ComplianceChange]:
5454
"""
55-
Read the properties and relationships of a contentApproval object.
55+
Read the properties and relationships of a complianceChange object.
5656
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5757
Returns: Optional[ComplianceChange]
58-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta
58+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta
5959
"""
6060
request_info = self.to_get_request_information(
6161
request_configuration
@@ -97,7 +97,7 @@ async def patch(self,body: ComplianceChange, request_configuration: Optional[Req
9797

9898
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
9999
"""
100-
Delete a complianceChange object.
100+
Delete a contentApproval object.
101101
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
102102
Returns: RequestInformation
103103
"""
@@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
107107

108108
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ComplianceChangeItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
109109
"""
110-
Read the properties and relationships of a contentApproval object.
110+
Read the properties and relationships of a complianceChange object.
111111
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
112112
Returns: RequestInformation
113113
"""
@@ -160,7 +160,7 @@ class ComplianceChangeItemRequestBuilderDeleteRequestConfiguration(RequestConfig
160160
@dataclass
161161
class ComplianceChangeItemRequestBuilderGetQueryParameters():
162162
"""
163-
Read the properties and relationships of a contentApproval object.
163+
Read the properties and relationships of a complianceChange object.
164164
"""
165165
def get_query_parameter(self,original_name: str) -> str:
166166
"""

msgraph_beta/generated/chats/item/messages/messages_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages
7373

7474
async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]:
7575
"""
76-
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.
76+
Send a new chatMessage in the specified channel or a chat.
7777
param body: The request body
7878
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7979
Returns: Optional[ChatMessage]
80-
Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta
80+
Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta
8181
"""
8282
if body is None:
8383
raise TypeError("body cannot be null.")
@@ -108,7 +108,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
108108

109109
def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
110110
"""
111-
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.
111+
Send a new chatMessage in the specified channel or a chat.
112112
param body: The request body
113113
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
114114
Returns: RequestInformation

msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5151

5252
async def get(self,request_configuration: Optional[RequestConfiguration[DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceComplianceScheduledActionForRule]:
5353
"""
54-
The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
54+
The list of scheduled action for this rule
5555
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5656
Returns: Optional[DeviceComplianceScheduledActionForRule]
5757
"""
@@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
104104

105105
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
106106
"""
107-
The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
107+
The list of scheduled action for this rule
108108
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
109109
Returns: RequestInformation
110110
"""
@@ -157,7 +157,7 @@ class DeviceComplianceScheduledActionForRuleItemRequestBuilderDeleteRequestConfi
157157
@dataclass
158158
class DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters():
159159
"""
160-
The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
160+
The list of scheduled action for this rule
161161
"""
162162
def get_query_parameter(self,original_name: str) -> str:
163163
"""

msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def by_device_compliance_scheduled_action_for_rule_id(self,device_compliance_sch
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[ScheduledActionsForRuleRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceComplianceScheduledActionForRuleCollectionResponse]:
5151
"""
52-
The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
52+
The list of scheduled action for this rule
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[DeviceComplianceScheduledActionForRuleCollectionResponse]
5555
"""
@@ -92,7 +92,7 @@ async def post(self,body: DeviceComplianceScheduledActionForRule, request_config
9292

9393
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ScheduledActionsForRuleRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9494
"""
95-
The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
95+
The list of scheduled action for this rule
9696
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9797
Returns: RequestInformation
9898
"""
@@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder:
138138
@dataclass
139139
class ScheduledActionsForRuleRequestBuilderGetQueryParameters():
140140
"""
141-
The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
141+
The list of scheduled action for this rule
142142
"""
143143
def get_query_parameter(self,original_name: str) -> str:
144144
"""

msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Hardware
7070

7171
async def post(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]:
7272
"""
73-
Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation.
73+
Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API.
7474
param body: The request body
7575
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7676
Returns: Optional[HardwareOathTokenAuthenticationMethodDevice]
77-
Find more info here: https://learn.microsoft.com/graph/api/authenticationmethoddevice-update?view=graph-rest-beta
77+
Find more info here: https://learn.microsoft.com/graph/api/authenticationmethoddevice-post-hardwareoathdevices?view=graph-rest-beta
7878
"""
7979
if body is None:
8080
raise TypeError("body cannot be null.")
@@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
105105

106106
def to_post_request_information(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
107107
"""
108-
Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation.
108+
Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API.
109109
param body: The request body
110110
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
111111
Returns: RequestInformation

msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3333

3434
async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]:
3535
"""
36-
Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
36+
Use this API to create a new Table.
3737
param body: The request body
3838
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3939
Returns: Optional[WorkbookTable]
40-
Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta
40+
Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta
4141
"""
4242
if body is None:
4343
raise TypeError("body cannot be null.")
@@ -57,7 +57,7 @@ async def post(self,body: AddPostRequestBody, request_configuration: Optional[Re
5757

5858
def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5959
"""
60-
Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
60+
Use this API to create a new Table.
6161
param body: The request body
6262
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
6363
Returns: RequestInformation

msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d
3333

3434
async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]:
3535
"""
36-
Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
36+
Use this API to create a new Table.
3737
param body: The request body
3838
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3939
Returns: Optional[WorkbookTable]
40-
Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta
40+
Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta
4141
"""
4242
if body is None:
4343
raise TypeError("body cannot be null.")
@@ -57,7 +57,7 @@ async def post(self,body: AddPostRequestBody, request_configuration: Optional[Re
5757

5858
def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5959
"""
60-
Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
60+
Use this API to create a new Table.
6161
param body: The request body
6262
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
6363
Returns: RequestInformation

msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External
7474

7575
async def put(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExternalItem]:
7676
"""
77-
Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type.
77+
Update the properties of an externalitem.
7878
param body: The request body
7979
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
8080
Returns: Optional[ExternalItem]
81-
Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-beta
81+
Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-beta
8282
"""
8383
if body is None:
8484
raise TypeError("body cannot be null.")
@@ -119,7 +119,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
119119

120120
def to_put_request_information(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
121121
"""
122-
Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type.
122+
Update the properties of an externalitem.
123123
param body: The request body
124124
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
125125
Returns: RequestInformation

0 commit comments

Comments
 (0)