Skip to content

Commit 9ed6e96

Browse files
authored
Merge pull request #663 from microsoftgraph/beta/pipelinebuild/172840
Generated beta models and request builders
2 parents 70f8747 + 240fda7 commit 9ed6e96

File tree

304 files changed

+17280
-433
lines changed

Some content is hidden

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

304 files changed

+17280
-433
lines changed

msgraph_beta/generated/admin/entra/entra_request_builder.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
3636
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3737
Returns: None
3838
"""
39-
warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning)
4039
request_info = self.to_delete_request_information(
4140
request_configuration
4241
)
@@ -55,7 +54,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[EntraReq
5554
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5655
Returns: Optional[Entra]
5756
"""
58-
warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning)
5957
request_info = self.to_get_request_information(
6058
request_configuration
6159
)
@@ -77,7 +75,6 @@ async def patch(self,body: Entra, request_configuration: Optional[RequestConfigu
7775
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7876
Returns: Optional[Entra]
7977
"""
80-
warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning)
8178
if body is None:
8279
raise TypeError("body cannot be null.")
8380
request_info = self.to_patch_request_information(
@@ -100,7 +97,6 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
10097
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
10198
Returns: RequestInformation
10299
"""
103-
warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning)
104100
request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters)
105101
request_info.configure(request_configuration)
106102
request_info.headers.try_add("Accept", "application/json")
@@ -112,7 +108,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
112108
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
113109
Returns: RequestInformation
114110
"""
115-
warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning)
116111
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
117112
request_info.configure(request_configuration)
118113
request_info.headers.try_add("Accept", "application/json")
@@ -125,7 +120,6 @@ def to_patch_request_information(self,body: Entra, request_configuration: Option
125120
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
126121
Returns: RequestInformation
127122
"""
128-
warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning)
129123
if body is None:
130124
raise TypeError("body cannot be null.")
131125
request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters)
@@ -140,7 +134,6 @@ def with_url(self,raw_url: str) -> EntraRequestBuilder:
140134
param raw_url: The raw URL to use for the request builder.
141135
Returns: EntraRequestBuilder
142136
"""
143-
warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning)
144137
if raw_url is None:
145138
raise TypeError("raw_url cannot be null.")
146139
return EntraRequestBuilder(self.request_adapter, raw_url)

msgraph_beta/generated/admin/entra/ux_setting/ux_setting_request_builder.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
3535
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3636
Returns: None
3737
"""
38-
warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning)
3938
request_info = self.to_delete_request_information(
4039
request_configuration
4140
)
@@ -55,7 +54,6 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UxSettin
5554
Returns: Optional[UxSetting]
5655
Find more info here: https://learn.microsoft.com/graph/api/uxsetting-get?view=graph-rest-beta
5756
"""
58-
warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning)
5957
request_info = self.to_get_request_information(
6058
request_configuration
6159
)
@@ -78,7 +76,6 @@ async def patch(self,body: UxSetting, request_configuration: Optional[RequestCon
7876
Returns: Optional[UxSetting]
7977
Find more info here: https://learn.microsoft.com/graph/api/uxsetting-update?view=graph-rest-beta
8078
"""
81-
warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning)
8279
if body is None:
8380
raise TypeError("body cannot be null.")
8481
request_info = self.to_patch_request_information(
@@ -101,7 +98,6 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
10198
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
10299
Returns: RequestInformation
103100
"""
104-
warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning)
105101
request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters)
106102
request_info.configure(request_configuration)
107103
request_info.headers.try_add("Accept", "application/json")
@@ -113,7 +109,6 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
113109
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
114110
Returns: RequestInformation
115111
"""
116-
warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning)
117112
request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters)
118113
request_info.configure(request_configuration)
119114
request_info.headers.try_add("Accept", "application/json")
@@ -126,7 +121,6 @@ def to_patch_request_information(self,body: UxSetting, request_configuration: Op
126121
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
127122
Returns: RequestInformation
128123
"""
129-
warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning)
130124
if body is None:
131125
raise TypeError("body cannot be null.")
132126
request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters)
@@ -141,7 +135,6 @@ def with_url(self,raw_url: str) -> UxSettingRequestBuilder:
141135
param raw_url: The raw URL to use for the request builder.
142136
Returns: UxSettingRequestBuilder
143137
"""
144-
warn(" as of 2023-11/PrivatePreview:BulkJobs", DeprecationWarning)
145138
if raw_url is None:
146139
raise TypeError("raw_url cannot be null.")
147140
return UxSettingRequestBuilder(self.request_adapter, raw_url)

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

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

3232
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
3333
"""
34-
Delete a resourceConnection object.
34+
Delete an operationalInsightsConnection object.
3535
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3636
Returns: None
37-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta
37+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta
3838
"""
3939
request_info = self.to_delete_request_information(
4040
request_configuration
@@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5050

5151
async def get(self,request_configuration: Optional[RequestConfiguration[ResourceConnectionItemRequestBuilderGetQueryParameters]] = None) -> Optional[ResourceConnection]:
5252
"""
53-
Read the properties and relationships of an operationalInsightsConnection object.
53+
Read the properties and relationships of a resourceConnection object.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: Optional[ResourceConnection]
56-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta
56+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta
5757
"""
5858
request_info = self.to_get_request_information(
5959
request_configuration
@@ -94,7 +94,7 @@ async def patch(self,body: ResourceConnection, request_configuration: Optional[R
9494

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

106106
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ResourceConnectionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
107107
"""
108-
Read the properties and relationships of an operationalInsightsConnection object.
108+
Read the properties and relationships of a resourceConnection object.
109109
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
110110
Returns: RequestInformation
111111
"""
@@ -149,7 +149,7 @@ class ResourceConnectionItemRequestBuilderDeleteRequestConfiguration(RequestConf
149149
@dataclass
150150
class ResourceConnectionItemRequestBuilderGetQueryParameters():
151151
"""
152-
Read the properties and relationships of an operationalInsightsConnection object.
152+
Read the properties and relationships of a resourceConnection object.
153153
"""
154154
def get_query_parameter(self,original_name: str) -> str:
155155
"""

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
@@ -35,10 +35,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D
3535

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

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

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

Lines changed: 6 additions & 6 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 contentApproval object.
35+
Delete a complianceChange 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-contentapproval-delete?view=graph-rest-beta
38+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta
3939
"""
4040
request_info = self.to_delete_request_information(
4141
request_configuration
@@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Complian
7272

7373
async def patch(self,body: ComplianceChange, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ComplianceChange]:
7474
"""
75-
Update the properties of a contentApproval object.
75+
Update the properties of a complianceChange object.
7676
param body: The request body
7777
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7878
Returns: Optional[ComplianceChange]
79-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta
79+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta
8080
"""
8181
if body is None:
8282
raise TypeError("body cannot be null.")
@@ -96,7 +96,7 @@ async def patch(self,body: ComplianceChange, request_configuration: Optional[Req
9696

9797
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
9898
"""
99-
Delete a contentApproval object.
99+
Delete a complianceChange object.
100100
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
101101
Returns: RequestInformation
102102
"""
@@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
118118

119119
def to_patch_request_information(self,body: ComplianceChange, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
120120
"""
121-
Update the properties of a contentApproval object.
121+
Update the properties of a complianceChange object.
122122
param body: The request body
123123
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
124124
Returns: RequestInformation

0 commit comments

Comments
 (0)