Metadata-Version: 2.4
Name: azure-mgmt-baremetalinfrastructure
Version: 1.1.0b2
Summary: Microsoft Azure Bare Metal Infrastructure Management Client Library for Python
Home-page: https://github.com/Azure/azure-sdk-for-python
Author: Microsoft Corporation
Author-email: azpysdkhelp@microsoft.com
License: MIT License
Keywords: azure,azure sdk
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: isodate<1.0.0,>=0.6.1
Requires-Dist: azure-common>=1.1
Requires-Dist: azure-mgmt-core<2.0.0,>=1.3.2
Requires-Dist: typing-extensions>=4.3.0; python_version < "3.8.0"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Microsoft Azure SDK for Python

This is the Microsoft Azure Bare Metal Infrastructure 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](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.7+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)

### Install the package

```bash
pip install azure-mgmt-baremetalinfrastructure
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.baremetalinfrastructure import BareMetalInfrastructureClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = BareMetalInfrastructureClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
```

## Examples

Code samples for this package can be found at:
- [Search Bare Metal Infrastructure 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.0b2 (2023-10-23)

### Features Added

  - Added operation AzureBareMetalInstancesOperations.begin_restart
  - Added operation AzureBareMetalInstancesOperations.begin_shutdown
  - Added operation AzureBareMetalInstancesOperations.begin_start
  - Added operation group AzureBareMetalStorageInstancesOperations
  - Model Operation has a new parameter action_type
  - Model Operation has a new parameter origin
  - Model Resource has a new parameter system_data
  - Model TrackedResource has a new parameter system_data

## 1.1.0b1 (2022-11-09)

### Other Changes

  - Added generated samples in github repo
  - Drop support for python<3.7.0

## 1.0.0 (2021-10-14)

**Features**

  - Model AzureBareMetalInstance has a new parameter system_data
  - Added operation AzureBareMetalInstancesOperations.list_by_resource_group

**Breaking changes**

  - Model Display no longer has parameter origin
  - Removed operation AzureBareMetalInstancesOperations.list
  - Removed operation AzureBareMetalInstancesOperations.begin_shutdown
  - Removed operation AzureBareMetalInstancesOperations.begin_start
  - Removed operation AzureBareMetalInstancesOperations.begin_restart
  - Removed operation AzureBareMetalInstancesOperations.begin_delete

## 1.0.0b2 (2021-06-28)

* Fix dependencies

## 1.0.0b1 (2020-09-22)

* Initial Release
