Skip to main content

Microsoft Azure Chaos Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Chaos Management Client Library. This package has been tested with Python 3.7+. For a more complete view of Azure libraries, see the azure sdk python release.

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

Install the package

pip install azure-mgmt-chaos
pip install azure-identity

Authentication

By default, Azure Active Directory 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:

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:

Troubleshooting

Next steps

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Impressions

Release History

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-mgmt-chaos-1.0.0b7.tar.gz (58.6 kB view details)

Uploaded Source

Built Distribution

azure_mgmt_chaos-1.0.0b7-py3-none-any.whl (85.9 kB view details)

Uploaded Python 3

File details

Details for the file azure-mgmt-chaos-1.0.0b7.tar.gz.

File metadata

  • Download URL: azure-mgmt-chaos-1.0.0b7.tar.gz
  • Upload date:
  • Size: 58.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: RestSharp/106.13.0.0

File hashes

Hashes for azure-mgmt-chaos-1.0.0b7.tar.gz
Algorithm Hash digest
SHA256 f48d97ebf38f0ede46d83be1a427d554215f9875036b5c9eb7f2002604d8838c
MD5 173a89b7354abdc78b5c1ae28ecb96c1
BLAKE2b-256 2cc12ec0b9c5d38bf471fa1c1ab990eac08d1c949ec69bba16fff78757ed70eb

See more details on using hashes here.

File details

Details for the file azure_mgmt_chaos-1.0.0b7-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_chaos-1.0.0b7-py3-none-any.whl
Algorithm Hash digest
SHA256 ec266d9b82da47c048d903ef2d84a4a199627356dde0bc2485cb437ad560b20c
MD5 35b586de00b98316307ec0352ab50da4
BLAKE2b-256 ca10de0ddffaee1f481ca1952adedb3e1bb644a1845c9d9a770b008aaa7855d6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page