# Microsoft Azure SDK for Python
This is the Microsoft Azure Chaos Management Client Library.
This package has been tested with Python 3.8+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
## _Disclaimer_
_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
## Getting started
### Prerequisites
- Python 3.8+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)
### Install the package
```bash
pip install azure-mgmt-chaos
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.
- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
- `AZURE_CLIENT_SECRET` for Azure client secret.
In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
With above configuration, client can be authenticated by following code:
```python
from azure.identity import DefaultAzureCredential
from azure.mgmt.chaos import ChaosManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = ChaosManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
```
## Examples
Code samples for this package can be found at:
- [Search Chaos Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
## Troubleshooting
## Next steps
## Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project.
# Release History
## 1.1.0 (2024-03-04)
### Features Added
- Model ExperimentUpdate has a new parameter tags
## 1.0.0 (2023-11-20)
### Features Added
- Added operation ExperimentsOperations.execution_details
- Added operation ExperimentsOperations.get_execution
- Added operation ExperimentsOperations.list_all_executions
- Added operation group OperationStatusesOperations
- Model Experiment has a new parameter provisioning_state
- Model ExperimentExecutionDetails has a new parameter last_action_at
- Model ExperimentExecutionDetails has a new parameter started_at
- Model ExperimentExecutionDetails has a new parameter stopped_at
### Breaking Changes
- Model Experiment no longer has parameter start_on_creation
- Model ExperimentExecutionDetails no longer has parameter created_date_time
- Model ExperimentExecutionDetails no longer has parameter experiment_id
- Model ExperimentExecutionDetails no longer has parameter last_action_date_time
- Model ExperimentExecutionDetails no longer has parameter start_date_time
- Model ExperimentExecutionDetails no longer has parameter stop_date_time
- Removed operation ExperimentsOperations.get_execution_details
- Removed operation ExperimentsOperations.get_status
- Removed operation ExperimentsOperations.list_all_statuses
- Removed operation ExperimentsOperations.list_execution_details
- Renamed operation ExperimentsOperations.cancel to ExperimentsOperations.begin_cancel
- Renamed operation ExperimentsOperations.create_or_update to ExperimentsOperations.begin_create_or_update
- Renamed operation ExperimentsOperations.delete to ExperimentsOperations.begin_delete
- Renamed operation ExperimentsOperations.start to ExperimentsOperations.begin_start
- Renamed operation ExperimentsOperations.update to ExperimentsOperations.begin_update
## 1.0.0b7 (2023-08-18)
### Features Added
- Added operation ExperimentsOperations.update
- Model CapabilityType has a new parameter azure_rbac_actions
- Model CapabilityType has a new parameter azure_rbac_data_actions
- Model ResourceIdentity has a new parameter user_assigned_identities
- Model Selector has a new parameter additional_properties
### Breaking Changes
- Model Selector no longer has parameter targets
## 1.0.0b6 (2022-12-14)
### Features Added
- Model Selector has a new parameter filter
## 1.0.0b5 (2022-08-01)
**Features**
- Added operation ExperimentsOperations.cancel
- Added operation ExperimentsOperations.create_or_update
- Model CapabilityType has a new parameter kind
- Model CapabilityType has a new parameter runtime_properties
**Breaking changes**
- Removed operation ExperimentsOperations.begin_cancel
- Removed operation ExperimentsOperations.begin_create_or_update
## 1.0.0b4 (2022-06-28)
**Features**
- Model ActionStatus has a new parameter action_id
- Model ActionStatus has a new parameter action_name
- Model BranchStatus has a new parameter branch_id
- Model BranchStatus has a new parameter branch_name
- Model ExperimentExecutionActionTargetDetailsProperties has a new parameter target_completed_time
- Model ExperimentExecutionActionTargetDetailsProperties has a new parameter target_failed_time
- Model ExperimentExecutionDetails has a new parameter created_date_time
- Model ExperimentExecutionDetails has a new parameter last_action_date_time
- Model ExperimentExecutionDetails has a new parameter start_date_time
- Model ExperimentExecutionDetails has a new parameter stop_date_time
- Model StepStatus has a new parameter step_id
- Model StepStatus has a new parameter step_name
**Breaking changes**
- Model ActionStatus no longer has parameter id
- Model ActionStatus no longer has parameter name
- Model BranchStatus no longer has parameter id
- Model BranchStatus no longer has parameter name
- Model ExperimentExecutionActionTargetDetailsProperties no longer has parameter completed_date_utc
- Model ExperimentExecutionActionTargetDetailsProperties no longer has parameter failed_date_utc
- Model ExperimentExecutionDetails no longer has parameter created_date_utc
- Model ExperimentExecutionDetails no longer has parameter last_action_date_utc
- Model ExperimentExecutionDetails no longer has parameter start_date_utc
- Model ExperimentExecutionDetails no longer has parameter stop_date_utc
- Model StepStatus no longer has parameter id
- Model StepStatus no longer has parameter name
## 1.0.0b3 (2022-05-07)
**Features**
- Model ActionStatus has a new parameter end_time
- Model ActionStatus has a new parameter start_time
## 1.0.0b2 (2021-10-25)
**Features**
- Modified client name
## 1.0.0b1 (2021-10-21)
* Initial Release
Raw data
{
"_id": null,
"home_page": "https://github.com/Azure/azure-sdk-for-python",
"name": "azure-mgmt-chaos",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "azure,azure sdk",
"author": "Microsoft Corporation",
"author_email": "azpysdkhelp@microsoft.com",
"download_url": "https://files.pythonhosted.org/packages/3e/ac/ea5f0b241c763017296d7bb1da585679b610acb7fb8bd8ba91d708eaad01/azure-mgmt-chaos-1.1.0.tar.gz",
"platform": null,
"description": "# Microsoft Azure SDK for Python\n\nThis is the Microsoft Azure Chaos Management Client Library.\nThis package has been tested with Python 3.8+.\nFor a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).\n\n## _Disclaimer_\n\n_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_\n\n## Getting started\n\n### Prerequisites\n\n- Python 3.8+ is required to use this package.\n- [Azure subscription](https://azure.microsoft.com/free/)\n\n### Install the package\n\n```bash\npip install azure-mgmt-chaos\npip install azure-identity\n```\n\n### Authentication\n\nBy default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.\n\n- `AZURE_CLIENT_ID` for Azure client ID.\n- `AZURE_TENANT_ID` for Azure tenant ID.\n- `AZURE_CLIENT_SECRET` for Azure client secret.\n\nIn addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.\n\nWith above configuration, client can be authenticated by following code:\n\n```python\nfrom azure.identity import DefaultAzureCredential\nfrom azure.mgmt.chaos import ChaosManagementClient\nimport os\n\nsub_id = os.getenv(\"AZURE_SUBSCRIPTION_ID\")\nclient = ChaosManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)\n```\n\n## Examples\n\nCode samples for this package can be found at:\n- [Search Chaos Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com\n- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)\n\n\n## Troubleshooting\n\n## Next steps\n\n## Provide Feedback\n\nIf you encounter any bugs or have suggestions, please file an issue in the\n[Issues](https://github.com/Azure/azure-sdk-for-python/issues)\nsection of the project. \n\n\n# Release History\n\n## 1.1.0 (2024-03-04)\n\n### Features Added\n\n - Model ExperimentUpdate has a new parameter tags\n\n## 1.0.0 (2023-11-20)\n\n### Features Added\n\n - Added operation ExperimentsOperations.execution_details\n - Added operation ExperimentsOperations.get_execution\n - Added operation ExperimentsOperations.list_all_executions\n - Added operation group OperationStatusesOperations\n - Model Experiment has a new parameter provisioning_state\n - Model ExperimentExecutionDetails has a new parameter last_action_at\n - Model ExperimentExecutionDetails has a new parameter started_at\n - Model ExperimentExecutionDetails has a new parameter stopped_at\n\n### Breaking Changes\n\n - Model Experiment no longer has parameter start_on_creation\n - Model ExperimentExecutionDetails no longer has parameter created_date_time\n - Model ExperimentExecutionDetails no longer has parameter experiment_id\n - Model ExperimentExecutionDetails no longer has parameter last_action_date_time\n - Model ExperimentExecutionDetails no longer has parameter start_date_time\n - Model ExperimentExecutionDetails no longer has parameter stop_date_time\n - Removed operation ExperimentsOperations.get_execution_details\n - Removed operation ExperimentsOperations.get_status\n - Removed operation ExperimentsOperations.list_all_statuses\n - Removed operation ExperimentsOperations.list_execution_details\n - Renamed operation ExperimentsOperations.cancel to ExperimentsOperations.begin_cancel\n - Renamed operation ExperimentsOperations.create_or_update to ExperimentsOperations.begin_create_or_update\n - Renamed operation ExperimentsOperations.delete to ExperimentsOperations.begin_delete\n - Renamed operation ExperimentsOperations.start to ExperimentsOperations.begin_start\n - Renamed operation ExperimentsOperations.update to ExperimentsOperations.begin_update\n\n## 1.0.0b7 (2023-08-18)\n\n### Features Added\n\n - Added operation ExperimentsOperations.update\n - Model CapabilityType has a new parameter azure_rbac_actions\n - Model CapabilityType has a new parameter azure_rbac_data_actions\n - Model ResourceIdentity has a new parameter user_assigned_identities\n - Model Selector has a new parameter additional_properties\n\n### Breaking Changes\n\n - Model Selector no longer has parameter targets\n\n## 1.0.0b6 (2022-12-14)\n\n### Features Added\n\n - Model Selector has a new parameter filter\n\n## 1.0.0b5 (2022-08-01)\n\n**Features**\n\n - Added operation ExperimentsOperations.cancel\n - Added operation ExperimentsOperations.create_or_update\n - Model CapabilityType has a new parameter kind\n - Model CapabilityType has a new parameter runtime_properties\n\n**Breaking changes**\n\n - Removed operation ExperimentsOperations.begin_cancel\n - Removed operation ExperimentsOperations.begin_create_or_update\n\n## 1.0.0b4 (2022-06-28)\n\n**Features**\n\n - Model ActionStatus has a new parameter action_id\n - Model ActionStatus has a new parameter action_name\n - Model BranchStatus has a new parameter branch_id\n - Model BranchStatus has a new parameter branch_name\n - Model ExperimentExecutionActionTargetDetailsProperties has a new parameter target_completed_time\n - Model ExperimentExecutionActionTargetDetailsProperties has a new parameter target_failed_time\n - Model ExperimentExecutionDetails has a new parameter created_date_time\n - Model ExperimentExecutionDetails has a new parameter last_action_date_time\n - Model ExperimentExecutionDetails has a new parameter start_date_time\n - Model ExperimentExecutionDetails has a new parameter stop_date_time\n - Model StepStatus has a new parameter step_id\n - Model StepStatus has a new parameter step_name\n\n**Breaking changes**\n\n - Model ActionStatus no longer has parameter id\n - Model ActionStatus no longer has parameter name\n - Model BranchStatus no longer has parameter id\n - Model BranchStatus no longer has parameter name\n - Model ExperimentExecutionActionTargetDetailsProperties no longer has parameter completed_date_utc\n - Model ExperimentExecutionActionTargetDetailsProperties no longer has parameter failed_date_utc\n - Model ExperimentExecutionDetails no longer has parameter created_date_utc\n - Model ExperimentExecutionDetails no longer has parameter last_action_date_utc\n - Model ExperimentExecutionDetails no longer has parameter start_date_utc\n - Model ExperimentExecutionDetails no longer has parameter stop_date_utc\n - Model StepStatus no longer has parameter id\n - Model StepStatus no longer has parameter name\n\n## 1.0.0b3 (2022-05-07)\n\n**Features**\n\n - Model ActionStatus has a new parameter end_time\n - Model ActionStatus has a new parameter start_time\n\n## 1.0.0b2 (2021-10-25)\n\n**Features**\n\n - Modified client name\n\n## 1.0.0b1 (2021-10-21)\n\n* Initial Release\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Microsoft Azure Chaos Management Client Library for Python",
"version": "1.1.0",
"project_urls": {
"Homepage": "https://github.com/Azure/azure-sdk-for-python"
},
"split_keywords": [
"azure",
"azure sdk"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "386bc9041b393d74e69e0111938ecf9043faacd6118b3e4da773bf4d6519cbe9",
"md5": "3e0e5c7ca857c1fa7b399d57bcfa388a",
"sha256": "7e162a7557863c644c96ded729a70b063db2d07811e1f84cb03dbbe57023493d"
},
"downloads": -1,
"filename": "azure_mgmt_chaos-1.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3e0e5c7ca857c1fa7b399d57bcfa388a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 92754,
"upload_time": "2024-03-04T04:40:51",
"upload_time_iso_8601": "2024-03-04T04:40:51.946441Z",
"url": "https://files.pythonhosted.org/packages/38/6b/c9041b393d74e69e0111938ecf9043faacd6118b3e4da773bf4d6519cbe9/azure_mgmt_chaos-1.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "3eacea5f0b241c763017296d7bb1da585679b610acb7fb8bd8ba91d708eaad01",
"md5": "bd8a7447ab865b21c1f69ae88d3dd6aa",
"sha256": "063fbde48dfa92645650acc951ccc3ef0948c47a3f12a9949a47d52f471c0c26"
},
"downloads": -1,
"filename": "azure-mgmt-chaos-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "bd8a7447ab865b21c1f69ae88d3dd6aa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 62095,
"upload_time": "2024-03-04T04:40:49",
"upload_time_iso_8601": "2024-03-04T04:40:49.931583Z",
"url": "https://files.pythonhosted.org/packages/3e/ac/ea5f0b241c763017296d7bb1da585679b610acb7fb8bd8ba91d708eaad01/azure-mgmt-chaos-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-04 04:40:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Azure",
"github_project": "azure-sdk-for-python",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "azure-mgmt-chaos"
}