Skip to content
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

[AutoRelease] t2-servicenetworking-2024-12-27-16602(can only be merged by SDK owner) #38989

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
30 changes: 30 additions & 0 deletions sdk/servicenetworking/azure-mgmt-servicenetworking/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Release History

## 1.1.0 (2025-01-20)

### Features Added

- Client `ServiceNetworkingMgmtClient` added operation group `security_policies_interface`
- Model `TrafficController` added property `security_policies`
- Model `TrafficController` added property `security_policy_configurations`
- Model `TrafficControllerUpdate` added property `security_policy_configurations`
- Added enum `PolicyType`
- Added model `SecurityPolicy`
- Added model `SecurityPolicyConfigurations`
- Added model `SecurityPolicyConfigurationsUpdate`
- Added model `SecurityPolicyListResult`
- Added model `SecurityPolicyUpdate`
- Added model `WafPolicy`
- Added model `WafPolicyUpdate`
- Added model `WafSecurityPolicy`
- Added model `WafSecurityPolicyUpdate`
- Added model `SecurityPoliciesInterfaceOperations`
- Method `AssociationsInterfaceOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, traffic_controller_name: str, association_name: str, resource: IO[bytes], content_type: str)`
- Method `AssociationsInterfaceOperations.update` has a new overload `def update(self: None, resource_group_name: str, traffic_controller_name: str, association_name: str, properties: IO[bytes], content_type: str)`
- Method `FrontendsInterfaceOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, traffic_controller_name: str, frontend_name: str, resource: IO[bytes], content_type: str)`
- Method `FrontendsInterfaceOperations.update` has a new overload `def update(self: None, resource_group_name: str, traffic_controller_name: str, frontend_name: str, properties: IO[bytes], content_type: str)`
- Method `TrafficControllerInterfaceOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, traffic_controller_name: str, resource: IO[bytes], content_type: str)`
- Method `TrafficControllerInterfaceOperations.update` has a new overload `def update(self: None, resource_group_name: str, traffic_controller_name: str, properties: IO[bytes], content_type: str)`
- Method `SecurityPoliciesInterfaceOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, traffic_controller_name: str, security_policy_name: str, resource: SecurityPolicy, content_type: str)`
- Method `SecurityPoliciesInterfaceOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, traffic_controller_name: str, security_policy_name: str, resource: IO[bytes], content_type: str)`
- Method `SecurityPoliciesInterfaceOperations.update` has a new overload `def update(self: None, resource_group_name: str, traffic_controller_name: str, security_policy_name: str, properties: SecurityPolicyUpdate, content_type: str)`
- Method `SecurityPoliciesInterfaceOperations.update` has a new overload `def update(self: None, resource_group_name: str, traffic_controller_name: str, security_policy_name: str, properties: IO[bytes], content_type: str)`

## 1.1.0b1 (2024-09-29)

### Features Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "778fdb20839c487eba95a6b161812ad9d9d6337d",
"commit": "64f6997950d8bee63f314563cedaa20148db2186",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.19.0",
"@autorest/python@6.27.2",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/servicenetworking/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --tag=2024-05-01-preview --use=@autorest/python@6.19.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"autorest_command": "autorest specification/servicenetworking/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.27.2 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"readme": "specification/servicenetworking/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,28 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wrong-import-position

from ._service_networking_mgmt_client import ServiceNetworkingMgmtClient
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._service_networking_mgmt_client import ServiceNetworkingMgmtClient # type: ignore
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
from ._patch import *
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk

__all__ = [
"ServiceNetworkingMgmtClient",
]
__all__.extend([p for p in _patch_all if p not in __all__])
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore

_patch_sdk()
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
from ._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials import TokenCredential


class ServiceNetworkingMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
class ServiceNetworkingMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes
"""Configuration for ServiceNetworkingMgmtClient.

Note that all parameters used to create this instance are saved as instance
Expand All @@ -28,13 +27,13 @@ class ServiceNetworkingMgmtClientConfiguration: # pylint: disable=too-many-inst
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2024-05-01-preview". Note that overriding
this default value may result in unsupported behavior.
:keyword api_version: Api Version. Default value is "2025-01-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
api_version: str = kwargs.pop("api_version", "2024-05-01-preview")
api_version: str = kwargs.pop("api_version", "2025-01-01")

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Loading
Loading