Skip to content

Commit

Permalink
CodeGen from PR 12039 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge ca4b529f9d09096841138f8ce708274148745acd into 1a252a742db2c1557afc92b990da4f4862fc5233
  • Loading branch information
SDKAuto committed Dec 9, 2020
1 parent b85bb25 commit 363af2b
Show file tree
Hide file tree
Showing 4,062 changed files with 298,464 additions and 94,882 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
43 changes: 43 additions & 0 deletions sdk/network/azure-mgmt-network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# Release History

## 17.0.0 (2020-11-25)

**Features**

- Model PublicIPPrefix has a new parameter extended_location
- Model PublicIPPrefixSku has a new parameter tier
- Model NatRule has a new parameter translated_fqdn
- Model NetworkInterface has a new parameter extended_location
- Model ApplicationRule has a new parameter terminate_tls
- Model ApplicationRule has a new parameter web_categories
- Model ApplicationRule has a new parameter target_urls
- Model VirtualNetworkGatewayConnection has a new parameter connection_mode
- Model LoadBalancer has a new parameter extended_location
- Model PublicIPAddress has a new parameter extended_location
- Model LoadBalancerSku has a new parameter tier
- Model VirtualNetwork has a new parameter extended_location
- Model P2SVpnGateway has a new parameter is_routing_preference_internet
- Model IpGroup has a new parameter firewall_policies
- Model VpnGateway has a new parameter is_routing_preference_internet
- Model VirtualNetworkGateway has a new parameter extended_location
- Model VirtualNetworkGateway has a new parameter virtual_network_extended_location_resource_id
- Model VirtualNetworkGatewayConnectionListEntity has a new parameter connection_mode
- Model FirewallPolicy has a new parameter sku
- Model FirewallPolicy has a new parameter transport_security
- Model FirewallPolicy has a new parameter identity
- Model FirewallPolicy has a new parameter intrusion_detection
- Model VirtualHub has a new parameter allow_branch_to_branch_traffic
- Model PublicIPAddressSku has a new parameter tier
- Model ServiceTagsListResult has a new parameter next_link
- Model LoadBalancerBackendAddress has a new parameter load_balancer_frontend_ip_configuration
- Added operation NetworkInterfacesOperations.list_cloud_service_network_interfaces
- Added operation NetworkInterfacesOperations.get_cloud_service_network_interface
- Added operation NetworkInterfacesOperations.list_cloud_service_role_instance_network_interfaces
- Added operation PublicIPAddressesOperations.list_cloud_service_role_instance_public_ip_addresses
- Added operation PublicIPAddressesOperations.list_cloud_service_public_ip_addresses
- Added operation PublicIPAddressesOperations.get_cloud_service_public_ip_address
- Added operation group WebCategoriesOperations

**Breaking changes**

- Operation ConnectionMonitorsOperations.begin_create_or_update has a new signature
- Model VirtualHub no longer has parameter enable_virtual_router_route_propogation

## 16.0.0 (2020-09-15)

**Features**
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def begin_delete_bastion_shareable_link(
self,
resource_group_name, # type: str
bastion_host_name, # type: str
bsl_request, # type: "models.BastionShareableLinkListRequest"
bsl_request, # type: "_models.BastionShareableLinkListRequest"
**kwargs # type: Any
):
"""Deletes the Bastion Shareable Links for all the VMs specified in the request.
Expand All @@ -41,7 +41,7 @@ def begin_delete_bastion_shareable_link(
:param bastion_host_name: The name of the Bastion Host.
:type bastion_host_name: str
:param bsl_request: Post request for all the Bastion Shareable Link endpoints.
:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest
:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
Expand All @@ -67,6 +67,8 @@ def begin_delete_bastion_shareable_link(
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise ValueError("API version {} does not have operation 'begin_delete_bastion_shareable_link'".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -80,7 +82,7 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
self,
resource_group_name, # type: str
virtual_wan_name, # type: str
vpn_client_params, # type: "models.VirtualWanVpnProfileParameters"
vpn_client_params, # type: "_models.VirtualWanVpnProfileParameters"
**kwargs # type: Any
):
"""Generates a unique VPN profile for P2S clients for VirtualWan and associated
Expand All @@ -93,15 +95,15 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
:type virtual_wan_name: str
:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation
operation.
:type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters
:type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
polling object for personal polling strategy
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse]
:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse]
:raises ~azure.core.exceptions.HttpResponseError:
"""
api_version = self._get_api_version('begin_generatevirtualwanvpnserverconfigurationvpnprofile')
Expand All @@ -121,6 +123,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise ValueError("API version {} does not have operation 'begin_generatevirtualwanvpnserverconfigurationvpnprofile'".format(api_version))
mixin_instance = OperationClass()
Expand Down Expand Up @@ -149,7 +153,7 @@ def begin_get_active_sessions(
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)
:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]]
:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]]
:raises ~azure.core.exceptions.HttpResponseError:
"""
api_version = self._get_api_version('begin_get_active_sessions')
Expand All @@ -167,6 +171,8 @@ def begin_get_active_sessions(
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise ValueError("API version {} does not have operation 'begin_get_active_sessions'".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -180,7 +186,7 @@ def begin_put_bastion_shareable_link(
self,
resource_group_name, # type: str
bastion_host_name, # type: str
bsl_request, # type: "models.BastionShareableLinkListRequest"
bsl_request, # type: "_models.BastionShareableLinkListRequest"
**kwargs # type: Any
):
"""Creates a Bastion Shareable Links for all the VMs specified in the request.
Expand All @@ -190,15 +196,15 @@ def begin_put_bastion_shareable_link(
:param bastion_host_name: The name of the Bastion Host.
:type bastion_host_name: str
:param bsl_request: Post request for all the Bastion Shareable Link endpoints.
:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest
:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
polling object for personal polling strategy
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)
:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]]
:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]]
:raises ~azure.core.exceptions.HttpResponseError:
"""
api_version = self._get_api_version('begin_put_bastion_shareable_link')
Expand All @@ -216,6 +222,8 @@ def begin_put_bastion_shareable_link(
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise ValueError("API version {} does not have operation 'begin_put_bastion_shareable_link'".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -240,7 +248,7 @@ def check_dns_name_availability(
:type domain_name_label: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: DnsNameAvailabilityResult, or the result of cls(response)
:rtype: ~azure.mgmt.network.v2020_06_01.models.DnsNameAvailabilityResult
:rtype: ~azure.mgmt.network.v2020_07_01.models.DnsNameAvailabilityResult
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = self._get_api_version('check_dns_name_availability')
Expand Down Expand Up @@ -304,6 +312,8 @@ def check_dns_name_availability(
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise ValueError("API version {} does not have operation 'check_dns_name_availability'".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -317,7 +327,7 @@ def disconnect_active_sessions(
self,
resource_group_name, # type: str
bastion_host_name, # type: str
session_ids, # type: "models.SessionIds"
session_ids, # type: "_models.SessionIds"
**kwargs # type: Any
):
"""Returns the list of currently active sessions on the Bastion.
Expand All @@ -327,10 +337,10 @@ def disconnect_active_sessions(
:param bastion_host_name: The name of the Bastion Host.
:type bastion_host_name: str
:param session_ids: The list of sessionids to disconnect.
:type session_ids: ~azure.mgmt.network.v2020_06_01.models.SessionIds
:type session_ids: ~azure.mgmt.network.v2020_07_01.models.SessionIds
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionSessionDeleteResult]
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionSessionDeleteResult]
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = self._get_api_version('disconnect_active_sessions')
Expand All @@ -348,6 +358,8 @@ def disconnect_active_sessions(
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise ValueError("API version {} does not have operation 'disconnect_active_sessions'".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -361,7 +373,7 @@ def get_bastion_shareable_link(
self,
resource_group_name, # type: str
bastion_host_name, # type: str
bsl_request, # type: "models.BastionShareableLinkListRequest"
bsl_request, # type: "_models.BastionShareableLinkListRequest"
**kwargs # type: Any
):
"""Return the Bastion Shareable Links for all the VMs specified in the request.
Expand All @@ -371,10 +383,10 @@ def get_bastion_shareable_link(
:param bastion_host_name: The name of the Bastion Host.
:type bastion_host_name: str
:param bsl_request: Post request for all the Bastion Shareable Link endpoints.
:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest
:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]
:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = self._get_api_version('get_bastion_shareable_link')
Expand All @@ -392,6 +404,8 @@ def get_bastion_shareable_link(
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise ValueError("API version {} does not have operation 'get_bastion_shareable_link'".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -416,7 +430,7 @@ def supported_security_providers(
:type virtual_wan_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: VirtualWanSecurityProviders, or the result of cls(response)
:rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviders
:rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviders
:raises: ~azure.core.exceptions.HttpResponseError
"""
api_version = self._get_api_version('supported_security_providers')
Expand Down Expand Up @@ -452,6 +466,8 @@ def supported_security_providers(
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-07-01':
from .v2020_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise ValueError("API version {} does not have operation 'supported_security_providers'".format(api_version))
mixin_instance = OperationClass()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "16.0.0"
VERSION = "17.0.0"
Loading

0 comments on commit 363af2b

Please sign in to comment.