Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions sdk/chaos/azure-mgmt-chaos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,82 @@
# Release History

## 2.0.0 (2025-04-02)

### Features Added

- Added operation Operations.list
- Added operation group ExperimentExecutionsOperations
- Model Capability has a new parameter properties
- Model CapabilityType has a new parameter properties
- Model ExperimentExecution has a new parameter properties
- Model ExperimentExecution has a new parameter system_data
- Model ExperimentExecutionDetails has a new parameter properties
- Model Resource has a new parameter system_data
- Model TrackedResource has a new parameter system_data

### Breaking Changes

- Model Capability no longer has parameter description
- Model Capability no longer has parameter parameters_schema
- Model Capability no longer has parameter publisher
- Model Capability no longer has parameter target_type
- Model Capability no longer has parameter urn
- Model CapabilityType no longer has parameter azure_rbac_actions
- Model CapabilityType no longer has parameter azure_rbac_data_actions
- Model CapabilityType no longer has parameter description
- Model CapabilityType no longer has parameter display_name
- Model CapabilityType no longer has parameter kind
- Model CapabilityType no longer has parameter location
- Model CapabilityType no longer has parameter parameters_schema
- Model CapabilityType no longer has parameter publisher
- Model CapabilityType no longer has parameter runtime_properties
- Model CapabilityType no longer has parameter target_type
- Model CapabilityType no longer has parameter urn
- Model ChaosTargetListSelector no longer has parameter additional_properties
- Model ChaosTargetQuerySelector no longer has parameter additional_properties
- Model ChaosTargetSelector no longer has parameter additional_properties
- Model Experiment has a new required parameter properties
- Model Experiment no longer has parameter provisioning_state
- Model Experiment no longer has parameter selectors
- Model Experiment no longer has parameter steps
- Model ExperimentExecution no longer has parameter started_at
- Model ExperimentExecution no longer has parameter status
- Model ExperimentExecution no longer has parameter stopped_at
- Model ExperimentExecutionDetails no longer has parameter failure_reason
- Model ExperimentExecutionDetails no longer has parameter last_action_at
- Model ExperimentExecutionDetails no longer has parameter run_information
- Model ExperimentExecutionDetails no longer has parameter started_at
- Model ExperimentExecutionDetails no longer has parameter status
- Model ExperimentExecutionDetails no longer has parameter stopped_at
- Model TargetType has a new required parameter properties
- Model TargetType no longer has parameter description
- Model TargetType no longer has parameter display_name
- Model TargetType no longer has parameter location
- Model TargetType no longer has parameter properties_schema
- Model TargetType no longer has parameter resource_types
- Operation CapabilitiesOperations.create_or_update has a new required parameter resource
- Operation CapabilitiesOperations.create_or_update no longer has parameter capability
- Operation CapabilityTypesOperations.get has a new required parameter location
- Operation CapabilityTypesOperations.get no longer has parameter location_name
- Operation CapabilityTypesOperations.list has a new required parameter location
- Operation CapabilityTypesOperations.list no longer has parameter location_name
- Operation ExperimentsOperations.begin_create_or_update has a new required parameter resource
- Operation ExperimentsOperations.begin_create_or_update no longer has parameter experiment
- Operation ExperimentsOperations.begin_update has a new required parameter properties
- Operation ExperimentsOperations.begin_update no longer has parameter experiment
- Operation OperationStatusesOperations.get has a new required parameter operation_id
- Operation OperationStatusesOperations.get no longer has parameter async_operation_id
- Operation TargetTypesOperations.get has a new required parameter location
- Operation TargetTypesOperations.get no longer has parameter location_name
- Operation TargetTypesOperations.list has a new required parameter location
- Operation TargetTypesOperations.list no longer has parameter location_name
- Operation TargetsOperations.create_or_update has a new required parameter resource
- Operation TargetsOperations.create_or_update no longer has parameter target
- Removed operation ExperimentsOperations.execution_details
- Removed operation ExperimentsOperations.get_execution
- Removed operation ExperimentsOperations.list_all_executions
- Removed operation Operations.list_all

## 1.1.0 (2024-03-04)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/chaos/azure-mgmt-chaos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pip install azure-identity

### Authentication

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

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
Expand Down
11 changes: 3 additions & 8 deletions sdk/chaos/azure-mgmt-chaos/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"commit": "50f502f5099796ba92f63384884574d46333cec2",
"commit": "ff123404ffbf7a4467e904b3eba2798c0b04ce69",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.7",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"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",
"readme": "specification/chaos/resource-manager/readme.md"
"typespec_src": "specification/chaos/Chaos.Management",
"@azure-tools/typespec-python": "0.41.0"
}
87 changes: 87 additions & 0 deletions sdk/chaos/azure-mgmt-chaos/apiview-properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"CrossLanguagePackageId": "Microsoft.Chaos",
"CrossLanguageDefinitionId": {
"azure.mgmt.chaos.models.ActionStatus": "Microsoft.Chaos.ActionStatus",
"azure.mgmt.chaos.models.BranchStatus": "Microsoft.Chaos.BranchStatus",
"azure.mgmt.chaos.models.Resource": "Azure.ResourceManager.CommonTypes.Resource",
"azure.mgmt.chaos.models.ProxyResource": "Azure.ResourceManager.CommonTypes.ProxyResource",
"azure.mgmt.chaos.models.Capability": "Microsoft.Chaos.Capability",
"azure.mgmt.chaos.models.CapabilityProperties": "Microsoft.Chaos.CapabilityProperties",
"azure.mgmt.chaos.models.CapabilityType": "Microsoft.Chaos.CapabilityType",
"azure.mgmt.chaos.models.CapabilityTypeProperties": "Microsoft.Chaos.CapabilityTypeProperties",
"azure.mgmt.chaos.models.CapabilityTypePropertiesRuntimeProperties": "Microsoft.Chaos.CapabilityTypePropertiesRuntimeProperties",
"azure.mgmt.chaos.models.ChaosExperimentAction": "Microsoft.Chaos.ChaosExperimentAction",
"azure.mgmt.chaos.models.ChaosExperimentBranch": "Microsoft.Chaos.ChaosExperimentBranch",
"azure.mgmt.chaos.models.ChaosExperimentStep": "Microsoft.Chaos.ChaosExperimentStep",
"azure.mgmt.chaos.models.ChaosTargetFilter": "Microsoft.Chaos.ChaosTargetFilter",
"azure.mgmt.chaos.models.ChaosTargetSelector": "Microsoft.Chaos.ChaosTargetSelector",
"azure.mgmt.chaos.models.ChaosTargetListSelector": "Microsoft.Chaos.ChaosTargetListSelector",
"azure.mgmt.chaos.models.ChaosTargetQuerySelector": "Microsoft.Chaos.ChaosTargetQuerySelector",
"azure.mgmt.chaos.models.ChaosTargetSimpleFilter": "Microsoft.Chaos.ChaosTargetSimpleFilter",
"azure.mgmt.chaos.models.ChaosTargetSimpleFilterParameters": "Microsoft.Chaos.ChaosTargetSimpleFilterParameters",
"azure.mgmt.chaos.models.ContinuousAction": "Microsoft.Chaos.ContinuousAction",
"azure.mgmt.chaos.models.DelayAction": "Microsoft.Chaos.DelayAction",
"azure.mgmt.chaos.models.DiscreteAction": "Microsoft.Chaos.DiscreteAction",
"azure.mgmt.chaos.models.ErrorAdditionalInfo": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
"azure.mgmt.chaos.models.ErrorDetail": "Azure.ResourceManager.CommonTypes.ErrorDetail",
"azure.mgmt.chaos.models.ErrorResponse": "Azure.ResourceManager.CommonTypes.ErrorResponse",
"azure.mgmt.chaos.models.TrackedResource": "Azure.ResourceManager.CommonTypes.TrackedResource",
"azure.mgmt.chaos.models.Experiment": "Microsoft.Chaos.Experiment",
"azure.mgmt.chaos.models.ExperimentExecution": "Microsoft.Chaos.ExperimentExecution",
"azure.mgmt.chaos.models.ExperimentExecutionActionTargetDetailsError": "Microsoft.Chaos.ExperimentExecutionActionTargetDetailsError",
"azure.mgmt.chaos.models.ExperimentExecutionActionTargetDetailsProperties": "Microsoft.Chaos.ExperimentExecutionActionTargetDetailsProperties",
"azure.mgmt.chaos.models.ExperimentExecutionDetails": "Microsoft.Chaos.ExperimentExecutionDetails",
"azure.mgmt.chaos.models.ExperimentExecutionDetailsProperties": "Microsoft.Chaos.ExperimentExecutionDetailsProperties",
"azure.mgmt.chaos.models.ExperimentExecutionDetailsPropertiesRunInformation": "Microsoft.Chaos.ExperimentExecutionDetailsPropertiesRunInformation",
"azure.mgmt.chaos.models.ExperimentExecutionProperties": "Microsoft.Chaos.ExperimentExecutionProperties",
"azure.mgmt.chaos.models.ExperimentProperties": "Microsoft.Chaos.ExperimentProperties",
"azure.mgmt.chaos.models.ExperimentUpdate": "Microsoft.Chaos.ExperimentUpdate",
"azure.mgmt.chaos.models.KeyValuePair": "Microsoft.Chaos.KeyValuePair",
"azure.mgmt.chaos.models.ManagedServiceIdentity": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity",
"azure.mgmt.chaos.models.Operation": "Azure.ResourceManager.CommonTypes.Operation",
"azure.mgmt.chaos.models.OperationDisplay": "Azure.ResourceManager.CommonTypes.OperationDisplay",
"azure.mgmt.chaos.models.OperationStatus": "Microsoft.Chaos.OperationStatus",
"azure.mgmt.chaos.models.OperationStatusResult": "Azure.ResourceManager.CommonTypes.OperationStatusResult",
"azure.mgmt.chaos.models.StepStatus": "Microsoft.Chaos.StepStatus",
"azure.mgmt.chaos.models.SystemData": "Azure.ResourceManager.CommonTypes.SystemData",
"azure.mgmt.chaos.models.Target": "Microsoft.Chaos.Target",
"azure.mgmt.chaos.models.TargetReference": "Microsoft.Chaos.TargetReference",
"azure.mgmt.chaos.models.TargetType": "Microsoft.Chaos.TargetType",
"azure.mgmt.chaos.models.TargetTypeProperties": "Microsoft.Chaos.TargetTypeProperties",
"azure.mgmt.chaos.models.UserAssignedIdentity": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity",
"azure.mgmt.chaos.models.CreatedByType": "Azure.ResourceManager.CommonTypes.createdByType",
"azure.mgmt.chaos.models.Origin": "Azure.ResourceManager.CommonTypes.Origin",
"azure.mgmt.chaos.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType",
"azure.mgmt.chaos.models.ManagedServiceIdentityType": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
"azure.mgmt.chaos.models.ProvisioningState": "Microsoft.Chaos.ProvisioningState",
"azure.mgmt.chaos.models.ExperimentActionType": "Microsoft.Chaos.ExperimentActionType",
"azure.mgmt.chaos.models.SelectorType": "Microsoft.Chaos.SelectorType",
"azure.mgmt.chaos.models.FilterType": "Microsoft.Chaos.FilterType",
"azure.mgmt.chaos.models.TargetReferenceType": "Microsoft.Chaos.TargetReferenceType",
"azure.mgmt.chaos.ChaosManagementClient.capabilities.get": "Microsoft.Chaos.Capabilities.get",
"azure.mgmt.chaos.ChaosManagementClient.capabilities.create_or_update": "Microsoft.Chaos.Capabilities.createOrUpdate",
"azure.mgmt.chaos.ChaosManagementClient.capabilities.delete": "Microsoft.Chaos.Capabilities.delete",
"azure.mgmt.chaos.ChaosManagementClient.capabilities.list": "Microsoft.Chaos.Capabilities.list",
"azure.mgmt.chaos.ChaosManagementClient.operations.list": "Azure.ResourceManager.Operations.list",
"azure.mgmt.chaos.ChaosManagementClient.targets.get": "Microsoft.Chaos.Targets.get",
"azure.mgmt.chaos.ChaosManagementClient.targets.create_or_update": "Microsoft.Chaos.Targets.createOrUpdate",
"azure.mgmt.chaos.ChaosManagementClient.targets.delete": "Microsoft.Chaos.Targets.delete",
"azure.mgmt.chaos.ChaosManagementClient.targets.list": "Microsoft.Chaos.Targets.list",
"azure.mgmt.chaos.ChaosManagementClient.capability_types.get": "Microsoft.Chaos.CapabilityTypes.get",
"azure.mgmt.chaos.ChaosManagementClient.capability_types.list": "Microsoft.Chaos.CapabilityTypes.list",
"azure.mgmt.chaos.ChaosManagementClient.experiments.get": "Microsoft.Chaos.Experiments.get",
"azure.mgmt.chaos.ChaosManagementClient.experiments.begin_create_or_update": "Microsoft.Chaos.Experiments.createOrUpdate",
"azure.mgmt.chaos.ChaosManagementClient.experiments.begin_update": "Microsoft.Chaos.Experiments.update",
"azure.mgmt.chaos.ChaosManagementClient.experiments.begin_delete": "Microsoft.Chaos.Experiments.delete",
"azure.mgmt.chaos.ChaosManagementClient.experiments.list": "Microsoft.Chaos.Experiments.list",
"azure.mgmt.chaos.ChaosManagementClient.experiments.list_all": "Microsoft.Chaos.Experiments.listAll",
"azure.mgmt.chaos.ChaosManagementClient.experiments.begin_cancel": "Microsoft.Chaos.Experiments.cancel",
"azure.mgmt.chaos.ChaosManagementClient.experiments.begin_start": "Microsoft.Chaos.Experiments.start",
"azure.mgmt.chaos.ChaosManagementClient.experiment_executions.get_execution": "Microsoft.Chaos.ExperimentExecutions.getExecution",
"azure.mgmt.chaos.ChaosManagementClient.experiment_executions.list_all_executions": "Microsoft.Chaos.ExperimentExecutions.listAllExecutions",
"azure.mgmt.chaos.ChaosManagementClient.experiment_executions.get_execution_details": "Microsoft.Chaos.ExperimentExecutions.getExecutionDetails",
"azure.mgmt.chaos.ChaosManagementClient.target_types.get": "Microsoft.Chaos.TargetTypes.get",
"azure.mgmt.chaos.ChaosManagementClient.target_types.list": "Microsoft.Chaos.TargetTypes.list",
"azure.mgmt.chaos.ChaosManagementClient.operation_statuses.get": "Microsoft.Chaos.OperationStatuses.get"
}
}
14 changes: 10 additions & 4 deletions sdk/chaos/azure-mgmt-chaos/azure/mgmt/chaos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,31 @@
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Code generated by Microsoft (R) Python Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wrong-import-position

from ._chaos_management_client import ChaosManagementClient
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._client import ChaosManagementClient # type: ignore
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
from ._patch import *
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk

__all__ = [
"ChaosManagementClient",
]
__all__.extend([p for p in _patch_all if p not in __all__])
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore

_patch_sdk()
Loading