Skip to content
Merged
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
33 changes: 33 additions & 0 deletions sdk/relay/azure-mgmt-relay/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# Release History

## 2.0.0b2 (2026-07-06)

### Features Added

- Model `Operation` added property `action_type`
- Model `PrivateLinkResource` added property `system_data`
- Model `ProxyResource` added property `system_data`
- Model `RelayUpdateParameters` added property `system_data`
- Model `Resource` added property `system_data`
- Model `ResourceNamespacePatch` added property `system_data`
- Model `TrackedResource` added property `system_data`
- Added enum `ActionType`
- Added enum `Origin`

### Breaking Changes

- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
- Renamed client `RelayAPI` to `RelayAPIMgmtClient`
- Model `AuthorizationRule` moved instance variable `rights` under property `properties` whose type is `AuthorizationRuleProperties`
- Model `HybridConnection` moved instance variable `created_at`, `updated_at`, `listener_count`, `requires_client_authorization` and `user_metadata` under property `properties` whose type is `HybridConnectionProperties`
- Model `NetworkRuleSet` moved instance variable `default_action`, `public_network_access` and `ip_rules` under property `properties` whose type is `NetworkRuleSetProperties`
- Model `Operation` deleted or renamed its instance variable `properties`
- Model `PrivateEndpointConnection` moved instance variable `private_endpoint`, `private_link_service_connection_state` and `provisioning_state` under property `properties` whose type is `PrivateEndpointConnectionProperties`
- Model `PrivateLinkResource` moved instance variable `group_id`, `required_members` and `required_zone_names` under property `properties` whose type is `PrivateLinkResourceProperties`
- Model `ProxyResource` deleted or renamed its instance variable `location`
- Model `RelayNamespace` moved instance variable `provisioning_state`, `status`, `created_at`, `updated_at`, `service_bus_endpoint`, `metric_id`, `private_endpoint_connections` and `public_network_access` under property `properties` whose type is `RelayNamespaceProperties`
- Model `RelayUpdateParameters` moved instance variable `provisioning_state`, `status`, `created_at`, `updated_at`, `service_bus_endpoint`, `metric_id`, `private_endpoint_connections` and `public_network_access` under property `properties` whose type is `RelayNamespaceProperties`
- Model `WcfRelay` moved instance variable `is_dynamic`, `created_at`, `updated_at`, `listener_count`, `relay_type`, `requires_client_authorization`, `requires_transport_security` and `user_metadata` under property `properties` whose type is `WcfRelayProperties`

### Other Changes

- Deleted model `AuthorizationRuleListResult`/`HybridConnectionListResult`/`OperationListResult`/`PrivateEndpointConnectionListResult`/`RelayNamespaceListResult`/`WcfRelaysListResult` which actually were not used by SDK users

## 1.1.1 (2026-05-09)

### Other Changes
Expand Down
6 changes: 3 additions & 3 deletions sdk/relay/azure-mgmt-relay/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 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.
Expand All @@ -36,11 +36,11 @@ With above configuration, client can be authenticated by following code:

```python
from azure.identity import DefaultAzureCredential
from azure.mgmt.relay import RelayAPI
from azure.mgmt.relay import RelayAPIMgmtClient
import os

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

## Examples
Expand Down
16 changes: 8 additions & 8 deletions sdk/relay/azure-mgmt-relay/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "cbafdff192ed6ae5bad220cf0288180b33529c6f",
"apiVersion": "2024-01-01",
"apiVersions": {
"Microsoft.Relay": "2024-01-01"
},
"commit": "3d1de464b5576fa149aed429795f6030313e31bb",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.50.0",
"@autorest/modelerfour@4.27.0"
],
"autorest_command": "autorest specification/relay/resource-manager/Microsoft.Relay/Relay/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --package-mode=azure-mgmt --python --python-sdks-folder=/home/codespace/workspace/sdk --tag=package-2017-04 --use=@autorest/python@6.50.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"readme": "specification/relay/resource-manager/Microsoft.Relay/Relay/readme.md"
"typespec_src": "specification/relay/resource-manager/Microsoft.Relay/Relay",
"emitterVersion": "0.63.2",
"httpClientPythonVersion": "^0.34.0"
}
Loading
Loading