Skip to content

Commit fe87184

Browse files
authored
code and test (#35178)
Co-authored-by: azure-sdk <PythonSdkPipelines>
1 parent ba86357 commit fe87184

File tree

120 files changed

+284
-2606
lines changed

Some content is hidden

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

120 files changed

+284
-2606
lines changed

sdk/support/azure-mgmt-support/CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# Release History
22

3+
## 7.0.0 (2024-04-22)
4+
5+
### Features Added
6+
7+
- Added operation group ChatTranscriptsNoSubscriptionOperations
8+
- Added operation group ChatTranscriptsOperations
9+
- Added operation group CommunicationsNoSubscriptionOperations
10+
- Added operation group FileWorkspacesNoSubscriptionOperations
11+
- Added operation group FileWorkspacesOperations
12+
- Added operation group FilesNoSubscriptionOperations
13+
- Added operation group FilesOperations
14+
- Added operation group SupportTicketsNoSubscriptionOperations
15+
- Model ProblemClassification has a new parameter secondary_consent_enabled
16+
- Model SupportTicketDetails has a new parameter file_workspace_name
17+
- Model SupportTicketDetails has a new parameter is_temporary_ticket
18+
- Model SupportTicketDetails has a new parameter problem_scoping_questions
19+
- Model SupportTicketDetails has a new parameter secondary_consent
20+
- Model SupportTicketDetails has a new parameter support_plan_display_name
21+
- Model SupportTicketDetails has a new parameter support_plan_id
22+
- Model UpdateSupportTicket has a new parameter advanced_diagnostic_consent
23+
- Model UpdateSupportTicket has a new parameter secondary_consent
24+
25+
### Breaking Changes
26+
27+
- Model SupportTicketDetails has a new required parameter advanced_diagnostic_consent
28+
- Parameter body of model CommunicationDetails is now required
29+
- Parameter contact_details of model SupportTicketDetails is now required
30+
- Parameter description of model SupportTicketDetails is now required
31+
- Parameter problem_classification_id of model SupportTicketDetails is now required
32+
- Parameter service_id of model SupportTicketDetails is now required
33+
- Parameter severity of model SupportTicketDetails is now required
34+
- Parameter subject of model CommunicationDetails is now required
35+
- Parameter title of model SupportTicketDetails is now required
36+
337
## 6.1.0b3 (2024-03-18)
438

539
### Features Added

sdk/support/azure-mgmt-support/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"commit": "8d6f30424e2667112c888118ac6facc2f639370e",
2+
"commit": "665e7c3b6f26b148b3c05e55602621bc293cc0a4",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.7",
55
"use": [

sdk/support/azure-mgmt-support/azure/mgmt/support/_configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ class MicrosoftSupportConfiguration: # pylint: disable=too-many-instance-attrib
2828
:type credential: ~azure.core.credentials.TokenCredential
2929
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3030
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2023-06-01-preview". Note that overriding
32-
this default value may result in unsupported behavior.
31+
:keyword api_version: Api Version. Default value is "2024-04-01". Note that overriding this
32+
default value may result in unsupported behavior.
3333
:paramtype api_version: str
3434
"""
3535

3636
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2023-06-01-preview")
37+
api_version: str = kwargs.pop("api_version", "2024-04-01")
3838

3939
if credential is None:
4040
raise ValueError("Parameter 'credential' must not be None.")

sdk/support/azure-mgmt-support/azure/mgmt/support/_microsoft_support.py

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,8 @@
2626
FileWorkspacesOperations,
2727
FilesNoSubscriptionOperations,
2828
FilesOperations,
29-
LookUpResourceIdOperations,
3029
Operations,
31-
ProblemClassificationsNoSubscriptionOperations,
3230
ProblemClassificationsOperations,
33-
ServiceClassificationsNoSubscriptionOperations,
34-
ServiceClassificationsOperations,
3531
ServicesOperations,
3632
SupportTicketsNoSubscriptionOperations,
3733
SupportTicketsOperations,
@@ -49,17 +45,6 @@ class MicrosoftSupport: # pylint: disable=client-accepts-api-version-keyword,to
4945
:vartype operations: azure.mgmt.support.operations.Operations
5046
:ivar services: ServicesOperations operations
5147
:vartype services: azure.mgmt.support.operations.ServicesOperations
52-
:ivar service_classifications_no_subscription: ServiceClassificationsNoSubscriptionOperations
53-
operations
54-
:vartype service_classifications_no_subscription:
55-
azure.mgmt.support.operations.ServiceClassificationsNoSubscriptionOperations
56-
:ivar service_classifications: ServiceClassificationsOperations operations
57-
:vartype service_classifications:
58-
azure.mgmt.support.operations.ServiceClassificationsOperations
59-
:ivar problem_classifications_no_subscription: ProblemClassificationsNoSubscriptionOperations
60-
operations
61-
:vartype problem_classifications_no_subscription:
62-
azure.mgmt.support.operations.ProblemClassificationsNoSubscriptionOperations
6348
:ivar problem_classifications: ProblemClassificationsOperations operations
6449
:vartype problem_classifications:
6550
azure.mgmt.support.operations.ProblemClassificationsOperations
@@ -87,16 +72,14 @@ class MicrosoftSupport: # pylint: disable=client-accepts-api-version-keyword,to
8772
:vartype files: azure.mgmt.support.operations.FilesOperations
8873
:ivar files_no_subscription: FilesNoSubscriptionOperations operations
8974
:vartype files_no_subscription: azure.mgmt.support.operations.FilesNoSubscriptionOperations
90-
:ivar look_up_resource_id: LookUpResourceIdOperations operations
91-
:vartype look_up_resource_id: azure.mgmt.support.operations.LookUpResourceIdOperations
9275
:param credential: Credential needed for the client to connect to Azure. Required.
9376
:type credential: ~azure.core.credentials.TokenCredential
9477
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
9578
:type subscription_id: str
9679
:param base_url: Service URL. Default value is "https://management.azure.com".
9780
:type base_url: str
98-
:keyword api_version: Api Version. Default value is "2023-06-01-preview". Note that overriding
99-
this default value may result in unsupported behavior.
81+
:keyword api_version: Api Version. Default value is "2024-04-01". Note that overriding this
82+
default value may result in unsupported behavior.
10083
:paramtype api_version: str
10184
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
10285
Retry-After header is present.
@@ -136,15 +119,6 @@ def __init__(
136119
self._serialize.client_side_validation = False
137120
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
138121
self.services = ServicesOperations(self._client, self._config, self._serialize, self._deserialize)
139-
self.service_classifications_no_subscription = ServiceClassificationsNoSubscriptionOperations(
140-
self._client, self._config, self._serialize, self._deserialize
141-
)
142-
self.service_classifications = ServiceClassificationsOperations(
143-
self._client, self._config, self._serialize, self._deserialize
144-
)
145-
self.problem_classifications_no_subscription = ProblemClassificationsNoSubscriptionOperations(
146-
self._client, self._config, self._serialize, self._deserialize
147-
)
148122
self.problem_classifications = ProblemClassificationsOperations(
149123
self._client, self._config, self._serialize, self._deserialize
150124
)
@@ -170,9 +144,6 @@ def __init__(
170144
self.files_no_subscription = FilesNoSubscriptionOperations(
171145
self._client, self._config, self._serialize, self._deserialize
172146
)
173-
self.look_up_resource_id = LookUpResourceIdOperations(
174-
self._client, self._config, self._serialize, self._deserialize
175-
)
176147

177148
def _send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: Any) -> HttpResponse:
178149
"""Runs the network request through the client's chained policies.

sdk/support/azure-mgmt-support/azure/mgmt/support/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "6.1.0b3"
9+
VERSION = "7.0.0"

sdk/support/azure-mgmt-support/azure/mgmt/support/aio/_configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ class MicrosoftSupportConfiguration: # pylint: disable=too-many-instance-attrib
2828
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
2929
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3030
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2023-06-01-preview". Note that overriding
32-
this default value may result in unsupported behavior.
31+
:keyword api_version: Api Version. Default value is "2024-04-01". Note that overriding this
32+
default value may result in unsupported behavior.
3333
:paramtype api_version: str
3434
"""
3535

3636
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2023-06-01-preview")
37+
api_version: str = kwargs.pop("api_version", "2024-04-01")
3838

3939
if credential is None:
4040
raise ValueError("Parameter 'credential' must not be None.")

sdk/support/azure-mgmt-support/azure/mgmt/support/aio/_microsoft_support.py

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,8 @@
2626
FileWorkspacesOperations,
2727
FilesNoSubscriptionOperations,
2828
FilesOperations,
29-
LookUpResourceIdOperations,
3029
Operations,
31-
ProblemClassificationsNoSubscriptionOperations,
3230
ProblemClassificationsOperations,
33-
ServiceClassificationsNoSubscriptionOperations,
34-
ServiceClassificationsOperations,
3531
ServicesOperations,
3632
SupportTicketsNoSubscriptionOperations,
3733
SupportTicketsOperations,
@@ -49,17 +45,6 @@ class MicrosoftSupport: # pylint: disable=client-accepts-api-version-keyword,to
4945
:vartype operations: azure.mgmt.support.aio.operations.Operations
5046
:ivar services: ServicesOperations operations
5147
:vartype services: azure.mgmt.support.aio.operations.ServicesOperations
52-
:ivar service_classifications_no_subscription: ServiceClassificationsNoSubscriptionOperations
53-
operations
54-
:vartype service_classifications_no_subscription:
55-
azure.mgmt.support.aio.operations.ServiceClassificationsNoSubscriptionOperations
56-
:ivar service_classifications: ServiceClassificationsOperations operations
57-
:vartype service_classifications:
58-
azure.mgmt.support.aio.operations.ServiceClassificationsOperations
59-
:ivar problem_classifications_no_subscription: ProblemClassificationsNoSubscriptionOperations
60-
operations
61-
:vartype problem_classifications_no_subscription:
62-
azure.mgmt.support.aio.operations.ProblemClassificationsNoSubscriptionOperations
6348
:ivar problem_classifications: ProblemClassificationsOperations operations
6449
:vartype problem_classifications:
6550
azure.mgmt.support.aio.operations.ProblemClassificationsOperations
@@ -87,16 +72,14 @@ class MicrosoftSupport: # pylint: disable=client-accepts-api-version-keyword,to
8772
:vartype files: azure.mgmt.support.aio.operations.FilesOperations
8873
:ivar files_no_subscription: FilesNoSubscriptionOperations operations
8974
:vartype files_no_subscription: azure.mgmt.support.aio.operations.FilesNoSubscriptionOperations
90-
:ivar look_up_resource_id: LookUpResourceIdOperations operations
91-
:vartype look_up_resource_id: azure.mgmt.support.aio.operations.LookUpResourceIdOperations
9275
:param credential: Credential needed for the client to connect to Azure. Required.
9376
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
9477
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
9578
:type subscription_id: str
9679
:param base_url: Service URL. Default value is "https://management.azure.com".
9780
:type base_url: str
98-
:keyword api_version: Api Version. Default value is "2023-06-01-preview". Note that overriding
99-
this default value may result in unsupported behavior.
81+
:keyword api_version: Api Version. Default value is "2024-04-01". Note that overriding this
82+
default value may result in unsupported behavior.
10083
:paramtype api_version: str
10184
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
10285
Retry-After header is present.
@@ -136,15 +119,6 @@ def __init__(
136119
self._serialize.client_side_validation = False
137120
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
138121
self.services = ServicesOperations(self._client, self._config, self._serialize, self._deserialize)
139-
self.service_classifications_no_subscription = ServiceClassificationsNoSubscriptionOperations(
140-
self._client, self._config, self._serialize, self._deserialize
141-
)
142-
self.service_classifications = ServiceClassificationsOperations(
143-
self._client, self._config, self._serialize, self._deserialize
144-
)
145-
self.problem_classifications_no_subscription = ProblemClassificationsNoSubscriptionOperations(
146-
self._client, self._config, self._serialize, self._deserialize
147-
)
148122
self.problem_classifications = ProblemClassificationsOperations(
149123
self._client, self._config, self._serialize, self._deserialize
150124
)
@@ -170,9 +144,6 @@ def __init__(
170144
self.files_no_subscription = FilesNoSubscriptionOperations(
171145
self._client, self._config, self._serialize, self._deserialize
172146
)
173-
self.look_up_resource_id = LookUpResourceIdOperations(
174-
self._client, self._config, self._serialize, self._deserialize
175-
)
176147

177148
def _send_request(
178149
self, request: HttpRequest, *, stream: bool = False, **kwargs: Any

sdk/support/azure-mgmt-support/azure/mgmt/support/aio/operations/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88

99
from ._operations import Operations
1010
from ._services_operations import ServicesOperations
11-
from ._service_classifications_no_subscription_operations import ServiceClassificationsNoSubscriptionOperations
12-
from ._service_classifications_operations import ServiceClassificationsOperations
13-
from ._problem_classifications_no_subscription_operations import ProblemClassificationsNoSubscriptionOperations
1411
from ._problem_classifications_operations import ProblemClassificationsOperations
1512
from ._support_tickets_operations import SupportTicketsOperations
1613
from ._support_tickets_no_subscription_operations import SupportTicketsNoSubscriptionOperations
@@ -22,7 +19,6 @@
2219
from ._file_workspaces_no_subscription_operations import FileWorkspacesNoSubscriptionOperations
2320
from ._files_operations import FilesOperations
2421
from ._files_no_subscription_operations import FilesNoSubscriptionOperations
25-
from ._look_up_resource_id_operations import LookUpResourceIdOperations
2622

2723
from ._patch import __all__ as _patch_all
2824
from ._patch import * # pylint: disable=unused-wildcard-import
@@ -31,9 +27,6 @@
3127
__all__ = [
3228
"Operations",
3329
"ServicesOperations",
34-
"ServiceClassificationsNoSubscriptionOperations",
35-
"ServiceClassificationsOperations",
36-
"ProblemClassificationsNoSubscriptionOperations",
3730
"ProblemClassificationsOperations",
3831
"SupportTicketsOperations",
3932
"SupportTicketsNoSubscriptionOperations",
@@ -45,7 +38,6 @@
4538
"FileWorkspacesNoSubscriptionOperations",
4639
"FilesOperations",
4740
"FilesNoSubscriptionOperations",
48-
"LookUpResourceIdOperations",
4941
]
5042
__all__.extend([p for p in _patch_all if p not in __all__])
5143
_patch_sdk()

0 commit comments

Comments
 (0)