Skip to content

Commit f8823c5

Browse files
author
SDKAuto
committed
CodeGen from PR 34482 in Azure/azure-rest-api-specs
Merge 45bc57995d2c200fab406df9a3ff0ee8e6e1b9f3 into e2006c1b75927db9d566a4d38bd256103b5b5c12
1 parent 066b303 commit f8823c5

File tree

84 files changed

+11928
-9827
lines changed

Some content is hidden

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

84 files changed

+11928
-9827
lines changed

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

Lines changed: 227 additions & 0 deletions
Large diffs are not rendered by default.

sdk/chaos/azure-mgmt-chaos/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Chaos Management Client Library.
4-
This package has been tested with Python 3.8+.
4+
This package has been tested with Python 3.9+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.8+ is required to use this package.
15+
- Python 3.9+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
{
2-
"commit": "50f502f5099796ba92f63384884574d46333cec2",
2+
"commit": "0660a73ea14775552af66f95d92e1a0446a04b54",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4-
"autorest": "3.9.7",
5-
"use": [
6-
"@autorest/[email protected]",
7-
"@autorest/[email protected]"
8-
],
9-
"autorest_command": "autorest specification/chaos/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.7 --version-tolerant=False",
10-
"readme": "specification/chaos/resource-manager/readme.md"
4+
"typespec_src": "specification/chaos/Chaos.Management",
5+
"@azure-tools/typespec-python": "0.44.1"
116
}
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
{
2+
"CrossLanguagePackageId": "Microsoft.Chaos",
3+
"CrossLanguageDefinitionId": {
4+
"azure.mgmt.chaos.models.ActionStatus": "Microsoft.Chaos.ActionStatus",
5+
"azure.mgmt.chaos.models.BranchStatus": "Microsoft.Chaos.BranchStatus",
6+
"azure.mgmt.chaos.models.Resource": "Azure.ResourceManager.CommonTypes.Resource",
7+
"azure.mgmt.chaos.models.ProxyResource": "Azure.ResourceManager.CommonTypes.ProxyResource",
8+
"azure.mgmt.chaos.models.Capability": "Microsoft.Chaos.Capability",
9+
"azure.mgmt.chaos.models.CapabilityProperties": "Microsoft.Chaos.CapabilityProperties",
10+
"azure.mgmt.chaos.models.CapabilityType": "Microsoft.Chaos.CapabilityType",
11+
"azure.mgmt.chaos.models.CapabilityTypeProperties": "Microsoft.Chaos.CapabilityTypeProperties",
12+
"azure.mgmt.chaos.models.CapabilityTypePropertiesRuntimeProperties": "Microsoft.Chaos.CapabilityTypePropertiesRuntimeProperties",
13+
"azure.mgmt.chaos.models.ChaosExperimentAction": "Microsoft.Chaos.ChaosExperimentAction",
14+
"azure.mgmt.chaos.models.ChaosExperimentBranch": "Microsoft.Chaos.ChaosExperimentBranch",
15+
"azure.mgmt.chaos.models.ChaosExperimentStep": "Microsoft.Chaos.ChaosExperimentStep",
16+
"azure.mgmt.chaos.models.ChaosTargetFilter": "Microsoft.Chaos.ChaosTargetFilter",
17+
"azure.mgmt.chaos.models.ChaosTargetSelector": "Microsoft.Chaos.ChaosTargetSelector",
18+
"azure.mgmt.chaos.models.ChaosTargetListSelector": "Microsoft.Chaos.ChaosTargetListSelector",
19+
"azure.mgmt.chaos.models.ChaosTargetQuerySelector": "Microsoft.Chaos.ChaosTargetQuerySelector",
20+
"azure.mgmt.chaos.models.ChaosTargetSimpleFilter": "Microsoft.Chaos.ChaosTargetSimpleFilter",
21+
"azure.mgmt.chaos.models.ChaosTargetSimpleFilterParameters": "Microsoft.Chaos.ChaosTargetSimpleFilterParameters",
22+
"azure.mgmt.chaos.models.ContinuousAction": "Microsoft.Chaos.ContinuousAction",
23+
"azure.mgmt.chaos.models.DelayAction": "Microsoft.Chaos.DelayAction",
24+
"azure.mgmt.chaos.models.DiscreteAction": "Microsoft.Chaos.DiscreteAction",
25+
"azure.mgmt.chaos.models.ErrorAdditionalInfo": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
26+
"azure.mgmt.chaos.models.ErrorDetail": "Azure.ResourceManager.CommonTypes.ErrorDetail",
27+
"azure.mgmt.chaos.models.ErrorResponse": "Azure.ResourceManager.CommonTypes.ErrorResponse",
28+
"azure.mgmt.chaos.models.TrackedResource": "Azure.ResourceManager.CommonTypes.TrackedResource",
29+
"azure.mgmt.chaos.models.Experiment": "Microsoft.Chaos.Experiment",
30+
"azure.mgmt.chaos.models.ExperimentExecution": "Microsoft.Chaos.ExperimentExecution",
31+
"azure.mgmt.chaos.models.ExperimentExecutionActionTargetDetailsError": "Microsoft.Chaos.ExperimentExecutionActionTargetDetailsError",
32+
"azure.mgmt.chaos.models.ExperimentExecutionActionTargetDetailsProperties": "Microsoft.Chaos.ExperimentExecutionActionTargetDetailsProperties",
33+
"azure.mgmt.chaos.models.ExperimentExecutionDetails": "Microsoft.Chaos.ExperimentExecutionDetails",
34+
"azure.mgmt.chaos.models.ExperimentExecutionDetailsProperties": "Microsoft.Chaos.ExperimentExecutionDetailsProperties",
35+
"azure.mgmt.chaos.models.ExperimentExecutionDetailsPropertiesRunInformation": "Microsoft.Chaos.ExperimentExecutionDetailsPropertiesRunInformation",
36+
"azure.mgmt.chaos.models.ExperimentExecutionProperties": "Microsoft.Chaos.ExperimentExecutionProperties",
37+
"azure.mgmt.chaos.models.ExperimentProperties": "Microsoft.Chaos.ExperimentProperties",
38+
"azure.mgmt.chaos.models.ExperimentUpdate": "Microsoft.Chaos.ExperimentUpdate",
39+
"azure.mgmt.chaos.models.KeyValuePair": "Microsoft.Chaos.KeyValuePair",
40+
"azure.mgmt.chaos.models.ManagedServiceIdentity": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity",
41+
"azure.mgmt.chaos.models.Operation": "Azure.ResourceManager.CommonTypes.Operation",
42+
"azure.mgmt.chaos.models.OperationDisplay": "Azure.ResourceManager.CommonTypes.OperationDisplay",
43+
"azure.mgmt.chaos.models.OperationStatusResult": "Azure.ResourceManager.CommonTypes.OperationStatusResult",
44+
"azure.mgmt.chaos.models.StepStatus": "Microsoft.Chaos.StepStatus",
45+
"azure.mgmt.chaos.models.SystemData": "Azure.ResourceManager.CommonTypes.SystemData",
46+
"azure.mgmt.chaos.models.Target": "Microsoft.Chaos.Target",
47+
"azure.mgmt.chaos.models.TargetReference": "Microsoft.Chaos.TargetReference",
48+
"azure.mgmt.chaos.models.TargetType": "Microsoft.Chaos.TargetType",
49+
"azure.mgmt.chaos.models.TargetTypeProperties": "Microsoft.Chaos.TargetTypeProperties",
50+
"azure.mgmt.chaos.models.UserAssignedIdentity": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity",
51+
"azure.mgmt.chaos.models.CreatedByType": "Azure.ResourceManager.CommonTypes.createdByType",
52+
"azure.mgmt.chaos.models.Origin": "Azure.ResourceManager.CommonTypes.Origin",
53+
"azure.mgmt.chaos.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType",
54+
"azure.mgmt.chaos.models.ManagedServiceIdentityType": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
55+
"azure.mgmt.chaos.models.ProvisioningState": "Microsoft.Chaos.ProvisioningState",
56+
"azure.mgmt.chaos.models.ExperimentActionType": "Microsoft.Chaos.ExperimentActionType",
57+
"azure.mgmt.chaos.models.SelectorType": "Microsoft.Chaos.SelectorType",
58+
"azure.mgmt.chaos.models.FilterType": "Microsoft.Chaos.FilterType",
59+
"azure.mgmt.chaos.models.TargetReferenceType": "Microsoft.Chaos.TargetReferenceType",
60+
"azure.mgmt.chaos.operations.CapabilitiesOperations.get": "Microsoft.Chaos.Capabilities.get",
61+
"azure.mgmt.chaos.aio.operations.CapabilitiesOperations.get": "Microsoft.Chaos.Capabilities.get",
62+
"azure.mgmt.chaos.operations.CapabilitiesOperations.create_or_update": "Microsoft.Chaos.Capabilities.createOrUpdate",
63+
"azure.mgmt.chaos.aio.operations.CapabilitiesOperations.create_or_update": "Microsoft.Chaos.Capabilities.createOrUpdate",
64+
"azure.mgmt.chaos.operations.CapabilitiesOperations.delete": "Microsoft.Chaos.Capabilities.delete",
65+
"azure.mgmt.chaos.aio.operations.CapabilitiesOperations.delete": "Microsoft.Chaos.Capabilities.delete",
66+
"azure.mgmt.chaos.operations.CapabilitiesOperations.list": "Microsoft.Chaos.Capabilities.list",
67+
"azure.mgmt.chaos.aio.operations.CapabilitiesOperations.list": "Microsoft.Chaos.Capabilities.list",
68+
"azure.mgmt.chaos.operations.Operations.list": "Azure.ResourceManager.Operations.list",
69+
"azure.mgmt.chaos.aio.operations.Operations.list": "Azure.ResourceManager.Operations.list",
70+
"azure.mgmt.chaos.operations.TargetsOperations.get": "Microsoft.Chaos.Targets.get",
71+
"azure.mgmt.chaos.aio.operations.TargetsOperations.get": "Microsoft.Chaos.Targets.get",
72+
"azure.mgmt.chaos.operations.TargetsOperations.create_or_update": "Microsoft.Chaos.Targets.createOrUpdate",
73+
"azure.mgmt.chaos.aio.operations.TargetsOperations.create_or_update": "Microsoft.Chaos.Targets.createOrUpdate",
74+
"azure.mgmt.chaos.operations.TargetsOperations.delete": "Microsoft.Chaos.Targets.delete",
75+
"azure.mgmt.chaos.aio.operations.TargetsOperations.delete": "Microsoft.Chaos.Targets.delete",
76+
"azure.mgmt.chaos.operations.TargetsOperations.list": "Microsoft.Chaos.Targets.list",
77+
"azure.mgmt.chaos.aio.operations.TargetsOperations.list": "Microsoft.Chaos.Targets.list",
78+
"azure.mgmt.chaos.operations.CapabilityTypesOperations.get": "Microsoft.Chaos.CapabilityTypes.get",
79+
"azure.mgmt.chaos.aio.operations.CapabilityTypesOperations.get": "Microsoft.Chaos.CapabilityTypes.get",
80+
"azure.mgmt.chaos.operations.CapabilityTypesOperations.list": "Microsoft.Chaos.CapabilityTypes.list",
81+
"azure.mgmt.chaos.aio.operations.CapabilityTypesOperations.list": "Microsoft.Chaos.CapabilityTypes.list",
82+
"azure.mgmt.chaos.operations.ExperimentsOperations.get": "Microsoft.Chaos.Experiments.get",
83+
"azure.mgmt.chaos.aio.operations.ExperimentsOperations.get": "Microsoft.Chaos.Experiments.get",
84+
"azure.mgmt.chaos.operations.ExperimentsOperations.begin_create_or_update": "Microsoft.Chaos.Experiments.createOrUpdate",
85+
"azure.mgmt.chaos.aio.operations.ExperimentsOperations.begin_create_or_update": "Microsoft.Chaos.Experiments.createOrUpdate",
86+
"azure.mgmt.chaos.operations.ExperimentsOperations.begin_update": "Microsoft.Chaos.Experiments.update",
87+
"azure.mgmt.chaos.aio.operations.ExperimentsOperations.begin_update": "Microsoft.Chaos.Experiments.update",
88+
"azure.mgmt.chaos.operations.ExperimentsOperations.begin_delete": "Microsoft.Chaos.Experiments.delete",
89+
"azure.mgmt.chaos.aio.operations.ExperimentsOperations.begin_delete": "Microsoft.Chaos.Experiments.delete",
90+
"azure.mgmt.chaos.operations.ExperimentsOperations.list": "Microsoft.Chaos.Experiments.list",
91+
"azure.mgmt.chaos.aio.operations.ExperimentsOperations.list": "Microsoft.Chaos.Experiments.list",
92+
"azure.mgmt.chaos.operations.ExperimentsOperations.list_all": "Microsoft.Chaos.Experiments.listAll",
93+
"azure.mgmt.chaos.aio.operations.ExperimentsOperations.list_all": "Microsoft.Chaos.Experiments.listAll",
94+
"azure.mgmt.chaos.operations.ExperimentsOperations.begin_cancel": "Microsoft.Chaos.Experiments.cancel",
95+
"azure.mgmt.chaos.aio.operations.ExperimentsOperations.begin_cancel": "Microsoft.Chaos.Experiments.cancel",
96+
"azure.mgmt.chaos.operations.ExperimentsOperations.begin_start": "Microsoft.Chaos.Experiments.start",
97+
"azure.mgmt.chaos.aio.operations.ExperimentsOperations.begin_start": "Microsoft.Chaos.Experiments.start",
98+
"azure.mgmt.chaos.operations.ExperimentExecutionsOperations.get_execution": "Microsoft.Chaos.ExperimentExecutions.getExecution",
99+
"azure.mgmt.chaos.aio.operations.ExperimentExecutionsOperations.get_execution": "Microsoft.Chaos.ExperimentExecutions.getExecution",
100+
"azure.mgmt.chaos.operations.ExperimentExecutionsOperations.list_all_executions": "Microsoft.Chaos.ExperimentExecutions.listAllExecutions",
101+
"azure.mgmt.chaos.aio.operations.ExperimentExecutionsOperations.list_all_executions": "Microsoft.Chaos.ExperimentExecutions.listAllExecutions",
102+
"azure.mgmt.chaos.operations.ExperimentExecutionsOperations.get_execution_details": "Microsoft.Chaos.ExperimentExecutions.getExecutionDetails",
103+
"azure.mgmt.chaos.aio.operations.ExperimentExecutionsOperations.get_execution_details": "Microsoft.Chaos.ExperimentExecutions.getExecutionDetails",
104+
"azure.mgmt.chaos.operations.TargetTypesOperations.get": "Microsoft.Chaos.TargetTypes.get",
105+
"azure.mgmt.chaos.aio.operations.TargetTypesOperations.get": "Microsoft.Chaos.TargetTypes.get",
106+
"azure.mgmt.chaos.operations.TargetTypesOperations.list": "Microsoft.Chaos.TargetTypes.list",
107+
"azure.mgmt.chaos.aio.operations.TargetTypesOperations.list": "Microsoft.Chaos.TargetTypes.list",
108+
"azure.mgmt.chaos.operations.OperationStatusesOperations.get": "Microsoft.Chaos.OperationStatuses.get",
109+
"azure.mgmt.chaos.aio.operations.OperationStatusesOperations.get": "Microsoft.Chaos.OperationStatuses.get"
110+
}
111+
}

sdk/chaos/azure-mgmt-chaos/azure/mgmt/chaos/__init__.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,31 @@
22
# --------------------------------------------------------------------------
33
# Copyright (c) Microsoft Corporation. All rights reserved.
44
# Licensed under the MIT License. See License.txt in the project root for license information.
5-
# Code generated by Microsoft (R) AutoRest Code Generator.
5+
# Code generated by Microsoft (R) Python Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
89

9-
from ._chaos_management_client import ChaosManagementClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._client import ChaosManagementClient # type: ignore
1016
from ._version import VERSION
1117

1218
__version__ = VERSION
1319

1420
try:
1521
from ._patch import __all__ as _patch_all
16-
from ._patch import * # pylint: disable=unused-wildcard-import
22+
from ._patch import *
1723
except ImportError:
1824
_patch_all = []
1925
from ._patch import patch_sdk as _patch_sdk
2026

2127
__all__ = [
2228
"ChaosManagementClient",
2329
]
24-
__all__.extend([p for p in _patch_all if p not in __all__])
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
2531

2632
_patch_sdk()

0 commit comments

Comments
 (0)