Skip to content
Open
Show file tree
Hide file tree
Changes from 4 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
4 changes: 4 additions & 0 deletions sdk/relationships/azure-mgmt-relationships/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History

## 1.0.0b2 (2026-08-13)

tool can't generate changelog for this release, please update manually.

Comment thread
ChenxiJiang333 marked this conversation as resolved.
Outdated
## 1.0.0b1 (2026-04-02)

### Other Changes
Expand Down
12 changes: 8 additions & 4 deletions sdk/relationships/azure-mgmt-relationships/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Relationships Management Client Library.
This package has been tested with Python 3.9+.
This package has been tested with Python 3.10+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand All @@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For

### Prerequisites

- Python 3.9+ is required to use this package.
- Python 3.10+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)

### Install the package
Expand All @@ -24,19 +24,23 @@ pip install azure-identity

### Authentication

By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
By default, [Microsoft Entra](https://learn.microsoft.com/entra/fundamentals/what-is-entra) 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.
- `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.relationships import RelationshipsMgmtClient
import os

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

## Examples
Expand Down
11 changes: 6 additions & 5 deletions sdk/relationships/azure-mgmt-relationships/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"apiVersion": "2023-09-01-preview",
"apiVersion": "2026-03-01-preview",
"apiVersions": {
"Microsoft.Relationships": "2023-09-01-preview"
"Microsoft.Relationships": "2026-03-01-preview"
},
"commit": "fe03e53383d9c9c97ec22a65abd1d8c18e401abe",
"commit": "ad48a6c4c835ed1a4242ff178cdeb32a74c5c6a3",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/relationships/Relationships.Management",
"emitterVersion": "0.61.2"
"typespec_src": "specification/relationships/resource-manager/Microsoft.Relationships/Relationships",
"emitterVersion": "0.63.3",
"httpClientPythonVersion": "^0.35.1"
}
Loading
Loading