Skip to content

[AutoRelease] t2-servicenetworking-2025-01-22-78104(can only be merged by SDK owner) #39342

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 2.0.0 (2025-01-20)
## 2.0.0 (2025-02-05)

### Features Added

Expand All @@ -24,7 +24,7 @@
- Added model `WafPolicy`
- Added model `WafSecurityPolicy`
- Added operation group `SecurityPoliciesInterfaceOperations`

### Breaking Changes

- Model `Association` deleted or renamed its instance variable `association_type`
Expand All @@ -38,7 +38,6 @@
- Model `TrafficController` deleted or renamed its instance variable `frontends`
- Model `TrafficController` deleted or renamed its instance variable `associations`
- Model `TrafficController` deleted or renamed its instance variable `provisioning_state`
- Deleted or renamed model `AssociationSubnetUpdate`

## 1.1.0b1 (2024-09-29)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commit": "ae6e92d62421bfafa2b695d742f3820d5de204eb",
"commit": "16eba0e39fedb21b9a7a3df5bec5524c78c72ba3",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/servicenetworking/ServiceNetworking.Management",
"@azure-tools/typespec-python": "0.38.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
Association,
AssociationProperties,
AssociationSubnet,
AssociationSubnetUpdate,
AssociationUpdate,
AssociationUpdateProperties,
ErrorAdditionalInfo,
Expand Down Expand Up @@ -60,6 +61,7 @@
"Association",
"AssociationProperties",
"AssociationSubnet",
"AssociationSubnetUpdate",
"AssociationUpdate",
"AssociationUpdateProperties",
"ErrorAdditionalInfo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,36 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class AssociationSubnetUpdate(_model_base.Model):
"""Association Subnet.

All required parameters must be populated in order to send to server.

:ivar id: Association ID. Required.
:vartype id: str
"""

id: str = rest_field()
"""Association ID. Required."""

@overload
def __init__(
self,
*,
id: str, # pylint: disable=redefined-builtin
) -> None: ...

@overload
def __init__(self, mapping: Mapping[str, Any]) -> None:
"""
:param mapping: raw JSON to initialize the model.
:type mapping: Mapping[str, Any]
"""

def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class AssociationUpdate(_model_base.Model):
"""The type used for update operations of the Association.

Expand Down Expand Up @@ -258,20 +288,20 @@ class AssociationUpdateProperties(_model_base.Model):
:ivar association_type: Association Type. "subnets"
:vartype association_type: str or ~azure.mgmt.servicenetworking.models.AssociationType
:ivar subnet: Association Subnet.
:vartype subnet: ~azure.mgmt.servicenetworking.models.AssociationSubnet
:vartype subnet: ~azure.mgmt.servicenetworking.models.AssociationSubnetUpdate
"""

association_type: Optional[Union[str, "_models.AssociationType"]] = rest_field(name="associationType")
"""Association Type. \"subnets\""""
subnet: Optional["_models.AssociationSubnet"] = rest_field()
subnet: Optional["_models.AssociationSubnetUpdate"] = rest_field()
"""Association Subnet."""

@overload
def __init__(
self,
*,
association_type: Optional[Union[str, "_models.AssociationType"]] = None,
subnet: Optional["_models.AssociationSubnet"] = None,
subnet: Optional["_models.AssociationSubnetUpdate"] = None,
) -> None: ...

@overload
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
directory: specification/servicenetworking/ServiceNetworking.Management
commit: ae6e92d62421bfafa2b695d742f3820d5de204eb
commit: 16eba0e39fedb21b9a7a3df5bec5524c78c72ba3
repo: Azure/azure-rest-api-specs
additionalDirectories: