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

## 2.0.0 (2026-07-29)

### Features Added

- Model `AuthorizationRule` added property `location`
- Model `AuthorizationRule` added property `system_data`
- Model `HybridConnection` added property `location`
- Model `HybridConnection` added property `system_data`
- Model `Operation` added property `action_type`
- Model `Operation` added property `is_data_action`
- Model `Operation` added property `origin`
- Model `OperationDisplay` added property `description`
- Model `RelayNamespace` 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`
- Model `WcfRelay` added property `location`
- Model `WcfRelay` added property `system_data`
- Added enum `ActionType`
- Added model `ConnectionState`
- Added enum `CreatedByType`
- Added enum `DefaultAction`
- Added enum `EndPointProvisioningState`
- Added model `ErrorAdditionalInfo`
- Added model `NWRuleSetIpRules`
- Added enum `NetworkRuleIPAction`
- Added model `NetworkRuleSet`
- Added model `NetworkRuleSetProperties`
- Added enum `Origin`
- Added model `PrivateEndpoint`
- Added model `PrivateEndpointConnection`
- Added model `PrivateEndpointConnectionProperties`
- Added enum `PrivateLinkConnectionStatus`
- Added model `PrivateLinkResource`
- Added model `PrivateLinkResourceProperties`
- Added model `PrivateLinkResourcesListResult`
- Added model `ProxyResource`
- Added enum `PublicNetworkAccess`
- Added enum `SkuName`
- Added enum `SkuTier`
- Added model `SystemData`
- Operation group `NamespacesOperations` added method `create_or_update_network_rule_set`
- Operation group `NamespacesOperations` added method `get_network_rule_set`
- Added operation group `PrivateEndpointConnectionsOperations`
- Added operation group `PrivateLinkResourcesOperations`

### 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 `ErrorResponse` moved instance variable `code` and `message` under property `error` whose type is `ErrorDetail`
- 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 `RelayNamespace` moved instance variable `provisioning_state`, `created_at`, `updated_at`, `service_bus_endpoint` and `metric_id` under property `properties` whose type is `RelayNamespaceProperties`
- Model `RelayUpdateParameters` moved instance variable `provisioning_state`, `created_at`, `updated_at`, `service_bus_endpoint` and `metric_id` 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`
- Deleted or renamed enum `ProvisioningStateEnum`

### Other Changes

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

## 2.0.0b2 (2026-07-06)

### Features Added
Expand Down
6 changes: 3 additions & 3 deletions sdk/relay/azure-mgmt-relay/_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"apiVersions": {
"Microsoft.Relay": "2024-01-01"
},
"commit": "3d1de464b5576fa149aed429795f6030313e31bb",
"commit": "801a60cdad2669e8f824fedfbabbfe7f7093b940",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/relay/resource-manager/Microsoft.Relay/Relay",
"emitterVersion": "0.63.2",
"httpClientPythonVersion": "^0.34.0"
"emitterVersion": "0.63.3",
"httpClientPythonVersion": "^0.34.2"
}
99 changes: 0 additions & 99 deletions sdk/relay/azure-mgmt-relay/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2308,19 +2308,6 @@ namespace azure.mgmt.relay.operations

namespace azure.mgmt.relay.types

class azure.mgmt.relay.types.AccessKeys(TypedDict, total=False):
key "keyName": str
key "primaryConnectionString": str
key "primaryKey": str
key "secondaryConnectionString": str
key "secondaryKey": str
key_name: str
primary_connection_string: str
primary_key: str
secondary_connection_string: str
secondary_key: str


class azure.mgmt.relay.types.AuthorizationRule(ProxyResource):
key "id": str
key "location": str
Expand All @@ -2346,46 +2333,13 @@ namespace azure.mgmt.relay.types
name: str


class azure.mgmt.relay.types.CheckNameAvailabilityResult(TypedDict, total=False):
key "message": str
key "nameAvailable": bool
key "reason": Union[str, UnavailableReason]
message: str
name_available: bool
reason: Union[str, UnavailableReason]


class azure.mgmt.relay.types.ConnectionState(TypedDict, total=False):
key "description": str
key "status": Union[str, PrivateLinkConnectionStatus]
description: str
status: Union[str, PrivateLinkConnectionStatus]


class azure.mgmt.relay.types.ErrorAdditionalInfo(TypedDict, total=False):
key "info": Any
key "type": str
info: Any
type: str


class azure.mgmt.relay.types.ErrorDetail(TypedDict, total=False):
key "code": str
key "message": str
key "target": str
additionalInfo: list[ErrorAdditionalInfo]
additional_info: list[ErrorAdditionalInfo]
code: str
details: list[ErrorDetail]
message: str
target: str


class azure.mgmt.relay.types.ErrorResponse(TypedDict, total=False):
key "error": ForwardRef('ErrorDetail', module='types')
error: ErrorDetail


class azure.mgmt.relay.types.HybridConnection(ProxyResource):
key "id": str
key "location": str
Expand Down Expand Up @@ -2445,30 +2399,6 @@ namespace azure.mgmt.relay.types
trusted_service_access_enabled: bool


class azure.mgmt.relay.types.Operation(TypedDict, total=False):
key "actionType": Union[str, ActionType]
key "display": ForwardRef('OperationDisplay', module='types')
key "isDataAction": bool
key "name": str
key "origin": Union[str, Origin]
action_type: Union[str, ActionType]
display: OperationDisplay
is_data_action: bool
name: str
origin: Union[str, Origin]


class azure.mgmt.relay.types.OperationDisplay(TypedDict, total=False):
key "description": str
key "operation": str
key "provider": str
key "resource": str
description: str
operation: str
provider: str
resource: str


class azure.mgmt.relay.types.PrivateEndpoint(TypedDict, total=False):
key "id": str
id: str
Expand Down Expand Up @@ -2498,35 +2428,6 @@ namespace azure.mgmt.relay.types
provisioning_state: Union[str, EndPointProvisioningState]


class azure.mgmt.relay.types.PrivateLinkResource(ProxyResource):
key "id": str
key "name": str
key "properties": ForwardRef('PrivateLinkResourceProperties', module='types')
key "systemData": ForwardRef('SystemData', module='types')
key "type": str
id: str
name: str
properties: PrivateLinkResourceProperties
system_data: SystemData
type: str


class azure.mgmt.relay.types.PrivateLinkResourceProperties(TypedDict, total=False):
key "groupId": str
group_id: str
requiredMembers: list[str]
requiredZoneNames: list[str]
required_members: list[str]
required_zone_names: list[str]


class azure.mgmt.relay.types.PrivateLinkResourcesListResult(TypedDict, total=False):
key "nextLink": str
key "value": Required[list[PrivateLinkResource]]
next_link: str
value: list[PrivateLinkResource]


class azure.mgmt.relay.types.ProxyResource(Resource):
key "id": str
key "name": str
Expand Down
6 changes: 3 additions & 3 deletions sdk/relay/azure-mgmt-relay/api.metadata.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
apiMdSha256: 3ba6ed3999b5a7a531979e25ffcab204c019f58466ea5d693cc152f0a01bfb26
parserVersion: 0.3.28
pythonVersion: 3.13.13
apiMdSha256: b05ac57a72afd8f1755038b0defeb9c8c7b1d7857da29997d479c64b5edaadb5
parserVersion: 0.3.30
pythonVersion: 3.13.14
2 changes: 1 addition & 1 deletion sdk/relay/azure-mgmt-relay/apiview-properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,5 @@
"azure.mgmt.relay.operations.NamespacesOperations.check_name_availability": "Microsoft.Relay.NamespacesOperationGroup.checkNameAvailability",
"azure.mgmt.relay.aio.operations.NamespacesOperations.check_name_availability": "Microsoft.Relay.NamespacesOperationGroup.checkNameAvailability"
},
"CrossLanguageVersion": "52ef10b94093"
"CrossLanguageVersion": "c5b063e0f415"
}
Original file line number Diff line number Diff line change
Expand Up @@ -458,21 +458,21 @@ def __ne__(self, other: typing.Any) -> bool:

def keys(self) -> typing.KeysView[str]:
"""
:returns: a set-like object providing a view on D's keys
:returns: a set-like object providing a view on the mapping's keys
:rtype: ~typing.KeysView
"""
return self._data.keys()

def values(self) -> typing.ValuesView[typing.Any]:
"""
:returns: an object providing a view on D's values
:returns: an object providing a view on the mapping's values
:rtype: ~typing.ValuesView
"""
return self._data.values()

def items(self) -> typing.ItemsView[str, typing.Any]:
"""
:returns: set-like object providing a view on D's items
:returns: a set-like object providing a view on the mapping's items
:rtype: ~typing.ItemsView
"""
return self._data.items()
Expand All @@ -482,7 +482,7 @@ def get(self, key: str, default: typing.Any = None) -> typing.Any:
Get the value for key if key is in the dictionary, else default.
:param str key: The key to look up.
:param any default: The value to return if key is not in the dictionary. Defaults to None
:returns: D[k] if k in D, else d.
:returns: The value for key if key is in the dictionary, else default.
:rtype: any
"""
try:
Expand Down Expand Up @@ -517,19 +517,19 @@ def popitem(self) -> tuple[str, typing.Any]:
Removes and returns some (key, value) pair
:returns: The (key, value) pair.
:rtype: tuple
:raises KeyError: if D is empty.
:raises KeyError: if the dictionary is empty.
"""
return self._data.popitem()

def clear(self) -> None:
"""
Remove all items from D.
Remove all items from the dictionary.
"""
self._data.clear()

def update(self, *args: typing.Any, **kwargs: typing.Any) -> None: # pylint: disable=arguments-differ
"""
Updates D from mapping/iterable E and F.
Update the dictionary from a mapping or an iterable of key-value pairs.
:param any args: Either a mapping object or an iterable of key-value pairs.
"""
self._data.update(*args, **kwargs)
Expand All @@ -542,10 +542,11 @@ def setdefault(self, key: str, default: typing.Any) -> typing.Any: ... # pylint

def setdefault(self, key: str, default: typing.Any = _UNSET) -> typing.Any:
"""
Same as calling D.get(k, d), and setting D[k]=d if k not found
Return the value for key if key is in the dictionary; otherwise set the key to
default and return default.
:param str key: The key to look up.
:param any default: The value to set if key is not in the dictionary
:returns: D[k] if k in D, else d.
:returns: The value for key if key is in the dictionary, else default.
:rtype: any
"""
if default is _UNSET:
Expand Down
2 changes: 1 addition & 1 deletion sdk/relay/azure-mgmt-relay/azure/mgmt/relay/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "2.0.0b2"
VERSION = "2.0.0"
Loading
Loading