Skip to content

Commit 75b1f25

Browse files
author
SDKAuto
committed
CodeGen from PR 33459 in Azure/azure-rest-api-specs
Merge 98c4a6c3c4a58b4b77991198a19ce62e886c94f3 into 02a8f540f2e4f51e7b142c2840ae1aca5197f058
1 parent 4d05b49 commit 75b1f25

File tree

81 files changed

+11769
-9789
lines changed

Some content is hidden

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

81 files changed

+11769
-9789
lines changed

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

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

3+
## 2.0.0 (2025-03-26)
4+
5+
### Features Added
6+
7+
- Added operation Operations.list
8+
- Added operation group ExperimentExecutionsOperations
9+
- Model Capability has a new parameter properties
10+
- Model CapabilityType has a new parameter properties
11+
- Model ExperimentExecution has a new parameter properties
12+
- Model ExperimentExecution has a new parameter system_data
13+
- Model ExperimentExecutionDetails has a new parameter properties
14+
- Model Resource has a new parameter system_data
15+
- Model TrackedResource has a new parameter system_data
16+
17+
### Breaking Changes
18+
19+
- Model Capability no longer has parameter description
20+
- Model Capability no longer has parameter parameters_schema
21+
- Model Capability no longer has parameter publisher
22+
- Model Capability no longer has parameter target_type
23+
- Model Capability no longer has parameter urn
24+
- Model CapabilityType no longer has parameter azure_rbac_actions
25+
- Model CapabilityType no longer has parameter azure_rbac_data_actions
26+
- Model CapabilityType no longer has parameter description
27+
- Model CapabilityType no longer has parameter display_name
28+
- Model CapabilityType no longer has parameter kind
29+
- Model CapabilityType no longer has parameter location
30+
- Model CapabilityType no longer has parameter parameters_schema
31+
- Model CapabilityType no longer has parameter publisher
32+
- Model CapabilityType no longer has parameter runtime_properties
33+
- Model CapabilityType no longer has parameter target_type
34+
- Model CapabilityType no longer has parameter urn
35+
- Model ChaosTargetListSelector no longer has parameter additional_properties
36+
- Model ChaosTargetQuerySelector no longer has parameter additional_properties
37+
- Model ChaosTargetSelector no longer has parameter additional_properties
38+
- Model Experiment has a new required parameter properties
39+
- Model Experiment no longer has parameter provisioning_state
40+
- Model Experiment no longer has parameter selectors
41+
- Model Experiment no longer has parameter steps
42+
- Model ExperimentExecution no longer has parameter started_at
43+
- Model ExperimentExecution no longer has parameter status
44+
- Model ExperimentExecution no longer has parameter stopped_at
45+
- Model ExperimentExecutionDetails no longer has parameter failure_reason
46+
- Model ExperimentExecutionDetails no longer has parameter last_action_at
47+
- Model ExperimentExecutionDetails no longer has parameter run_information
48+
- Model ExperimentExecutionDetails no longer has parameter started_at
49+
- Model ExperimentExecutionDetails no longer has parameter status
50+
- Model ExperimentExecutionDetails no longer has parameter stopped_at
51+
- Model TargetType has a new required parameter properties
52+
- Model TargetType no longer has parameter description
53+
- Model TargetType no longer has parameter display_name
54+
- Model TargetType no longer has parameter location
55+
- Model TargetType no longer has parameter properties_schema
56+
- Model TargetType no longer has parameter resource_types
57+
- Operation CapabilitiesOperations.create_or_update has a new required parameter resource
58+
- Operation CapabilitiesOperations.create_or_update no longer has parameter capability
59+
- Operation CapabilityTypesOperations.get has a new required parameter location
60+
- Operation CapabilityTypesOperations.get no longer has parameter location_name
61+
- Operation CapabilityTypesOperations.list has a new required parameter location
62+
- Operation CapabilityTypesOperations.list no longer has parameter location_name
63+
- Operation ExperimentsOperations.begin_create_or_update has a new required parameter resource
64+
- Operation ExperimentsOperations.begin_create_or_update no longer has parameter experiment
65+
- Operation ExperimentsOperations.begin_update has a new required parameter properties
66+
- Operation ExperimentsOperations.begin_update no longer has parameter experiment
67+
- Operation OperationStatusesOperations.get has a new required parameter operation_id
68+
- Operation OperationStatusesOperations.get no longer has parameter async_operation_id
69+
- Operation TargetTypesOperations.get has a new required parameter location
70+
- Operation TargetTypesOperations.get no longer has parameter location_name
71+
- Operation TargetTypesOperations.list has a new required parameter location
72+
- Operation TargetTypesOperations.list no longer has parameter location_name
73+
- Operation TargetsOperations.create_or_update has a new required parameter resource
74+
- Operation TargetsOperations.create_or_update no longer has parameter target
75+
- Removed operation ExperimentsOperations.execution_details
76+
- Removed operation ExperimentsOperations.get_execution
77+
- Removed operation ExperimentsOperations.list_all_executions
78+
- Removed operation Operations.list_all
79+
380
## 1.1.0 (2024-03-04)
481

582
### Features Added

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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.
Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
{
2-
"commit": "50f502f5099796ba92f63384884574d46333cec2",
2+
"commit": "6f015c91ba94dfef8da3e3e05a42995683e28039",
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.41.0"
116
}
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
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.OperationStatus": "Microsoft.Chaos.OperationStatus",
44+
"azure.mgmt.chaos.models.OperationStatusResult": "Azure.ResourceManager.CommonTypes.OperationStatusResult",
45+
"azure.mgmt.chaos.models.StepStatus": "Microsoft.Chaos.StepStatus",
46+
"azure.mgmt.chaos.models.SystemData": "Azure.ResourceManager.CommonTypes.SystemData",
47+
"azure.mgmt.chaos.models.Target": "Microsoft.Chaos.Target",
48+
"azure.mgmt.chaos.models.TargetReference": "Microsoft.Chaos.TargetReference",
49+
"azure.mgmt.chaos.models.TargetType": "Microsoft.Chaos.TargetType",
50+
"azure.mgmt.chaos.models.TargetTypeProperties": "Microsoft.Chaos.TargetTypeProperties",
51+
"azure.mgmt.chaos.models.UserAssignedIdentity": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity",
52+
"azure.mgmt.chaos.models.CreatedByType": "Azure.ResourceManager.CommonTypes.createdByType",
53+
"azure.mgmt.chaos.models.Origin": "Azure.ResourceManager.CommonTypes.Origin",
54+
"azure.mgmt.chaos.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType",
55+
"azure.mgmt.chaos.models.ManagedServiceIdentityType": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
56+
"azure.mgmt.chaos.models.ProvisioningState": "Microsoft.Chaos.ProvisioningState",
57+
"azure.mgmt.chaos.models.ExperimentActionType": "Microsoft.Chaos.ExperimentActionType",
58+
"azure.mgmt.chaos.models.SelectorType": "Microsoft.Chaos.SelectorType",
59+
"azure.mgmt.chaos.models.FilterType": "Microsoft.Chaos.FilterType",
60+
"azure.mgmt.chaos.models.TargetReferenceType": "Microsoft.Chaos.TargetReferenceType",
61+
"azure.mgmt.chaos.ChaosManagementClient.capabilities.get": "Microsoft.Chaos.Capabilities.get",
62+
"azure.mgmt.chaos.ChaosManagementClient.capabilities.create_or_update": "Microsoft.Chaos.Capabilities.createOrUpdate",
63+
"azure.mgmt.chaos.ChaosManagementClient.capabilities.delete": "Microsoft.Chaos.Capabilities.delete",
64+
"azure.mgmt.chaos.ChaosManagementClient.capabilities.list": "Microsoft.Chaos.Capabilities.list",
65+
"azure.mgmt.chaos.ChaosManagementClient.operations.list": "Azure.ResourceManager.Operations.list",
66+
"azure.mgmt.chaos.ChaosManagementClient.targets.get": "Microsoft.Chaos.Targets.get",
67+
"azure.mgmt.chaos.ChaosManagementClient.targets.create_or_update": "Microsoft.Chaos.Targets.createOrUpdate",
68+
"azure.mgmt.chaos.ChaosManagementClient.targets.delete": "Microsoft.Chaos.Targets.delete",
69+
"azure.mgmt.chaos.ChaosManagementClient.targets.list": "Microsoft.Chaos.Targets.list",
70+
"azure.mgmt.chaos.ChaosManagementClient.capability_types.get": "Microsoft.Chaos.CapabilityTypes.get",
71+
"azure.mgmt.chaos.ChaosManagementClient.capability_types.list": "Microsoft.Chaos.CapabilityTypes.list",
72+
"azure.mgmt.chaos.ChaosManagementClient.experiments.get": "Microsoft.Chaos.Experiments.get",
73+
"azure.mgmt.chaos.ChaosManagementClient.experiments.begin_create_or_update": "Microsoft.Chaos.Experiments.createOrUpdate",
74+
"azure.mgmt.chaos.ChaosManagementClient.experiments.begin_update": "Microsoft.Chaos.Experiments.update",
75+
"azure.mgmt.chaos.ChaosManagementClient.experiments.begin_delete": "Microsoft.Chaos.Experiments.delete",
76+
"azure.mgmt.chaos.ChaosManagementClient.experiments.list": "Microsoft.Chaos.Experiments.list",
77+
"azure.mgmt.chaos.ChaosManagementClient.experiments.list_all": "Microsoft.Chaos.Experiments.listAll",
78+
"azure.mgmt.chaos.ChaosManagementClient.experiments.begin_cancel": "Microsoft.Chaos.Experiments.cancel",
79+
"azure.mgmt.chaos.ChaosManagementClient.experiments.begin_start": "Microsoft.Chaos.Experiments.start",
80+
"azure.mgmt.chaos.ChaosManagementClient.experiment_executions.get_execution": "Microsoft.Chaos.ExperimentExecutions.getExecution",
81+
"azure.mgmt.chaos.ChaosManagementClient.experiment_executions.list_all_executions": "Microsoft.Chaos.ExperimentExecutions.listAllExecutions",
82+
"azure.mgmt.chaos.ChaosManagementClient.experiment_executions.get_execution_details": "Microsoft.Chaos.ExperimentExecutions.getExecutionDetails",
83+
"azure.mgmt.chaos.ChaosManagementClient.target_types.get": "Microsoft.Chaos.TargetTypes.get",
84+
"azure.mgmt.chaos.ChaosManagementClient.target_types.list": "Microsoft.Chaos.TargetTypes.list",
85+
"azure.mgmt.chaos.ChaosManagementClient.operation_statuses.get": "Microsoft.Chaos.OperationStatuses.get"
86+
}
87+
}

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)