Skip to content

Commit

Permalink
release-mgmt-network-2020-06 (#13477)
Browse files Browse the repository at this point in the history
Co-authored-by: SDK Automation <[email protected]>
Co-authored-by: Azure SDK Bot <[email protected]>
  • Loading branch information
3 people authored Sep 10, 2020
1 parent 41a8d43 commit decd18c
Show file tree
Hide file tree
Showing 149 changed files with 90,566 additions and 8,868 deletions.
44 changes: 44 additions & 0 deletions sdk/network/azure-mgmt-network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# Release History

## 12.0.0 (2020-09-01)

**Features**

- Model ConnectionMonitorEndpoint has a new parameter scope
- Model ConnectionMonitorEndpoint has a new parameter coverage_level
- Model ConnectionMonitorEndpoint has a new parameter type
- Model P2SConnectionConfiguration has a new parameter enable_internet_security
- Model VirtualHub has a new parameter enable_virtual_router_route_propogation
- Model VpnGateway has a new parameter ip_configurations
- Model NetworkInterface has a new parameter dscp_configuration
- Model NetworkVirtualAppliance has a new parameter address_prefix
- Model NetworkVirtualAppliance has a new parameter inbound_security_rules
- Model ApplicationGatewayHttpListener has a new parameter ssl_profile
- Model ConnectionMonitorTcpConfiguration has a new parameter destination_port_behavior
- Model ApplicationGateway has a new parameter ssl_profiles
- Model ApplicationGateway has a new parameter trusted_client_certificates
- Model PublicIPPrefix has a new parameter custom_ip_prefix
- Model VpnSite has a new parameter o365_policy
- Model ExpressRouteLinkMacSecConfig has a new parameter sci_state
- Model VirtualNetworkPeering has a new parameter remote_bgp_communities
- Added operation VpnGatewaysOperations.stop_packet_capture
- Added operation VpnGatewaysOperations.start_packet_capture
- Added operation VirtualHubBgpConnectionsOperations.list_learned_routes
- Added operation VirtualHubBgpConnectionsOperations.list_advertised_routes
- Added operation VpnConnectionsOperations.stop_packet_capture
- Added operation VpnConnectionsOperations.start_packet_capture
- Added operation FlowLogsOperations.update_tags
- Added operation ExpressRoutePortsOperations.generate_loa
- Added operation P2sVpnGatewaysOperations.reset
- Added operation group InboundSecurityRuleOperations
- Added operation group CustomIPPrefixesOperations
- Added operation group DscpConfigurationOperations

**Breaking changes**

- Model ApplicationRuleCondition no longer has parameter target_urls
- Model FirewallPolicy no longer has parameter intrusion_system_mode
- Model FirewallPolicy no longer has parameter identity
- Model FirewallPolicy no longer has parameter transport_security
- Model ApplicationRule no longer has parameter target_urls
- Model ApplicationRule no longer has parameter terminate_tls
- Model NatRuleCondition no longer has parameter terminate_tls

## 11.0.0 (2020-06-19)

**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 check_dns_name_availability(self, location, domain_name_label, custom_header
overrides<msrest:optionsforoperations>`.
:return: DnsNameAvailabilityResult or ClientRawResponse if raw=true
:rtype:
~azure.mgmt.network.v2020_05_01.models.DnsNameAvailabilityResult or
~azure.mgmt.network.v2020_06_01.models.DnsNameAvailabilityResult or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
Expand Down Expand Up @@ -95,6 +95,8 @@ def check_dns_name_availability(self, location, domain_name_label, custom_header
from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-05-01':
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -115,7 +117,7 @@ def delete_bastion_shareable_link(self, resource_group_name, bastion_host_name,
:type bastion_host_name: str
:param vms: List of VM references.
:type vms:
list[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink]
list[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink]
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
direct response alongside the deserialized response
Expand All @@ -141,6 +143,8 @@ def delete_bastion_shareable_link(self, resource_group_name, bastion_host_name,
from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-05-01':
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -167,7 +171,7 @@ def disconnect_active_sessions(self, resource_group_name, bastion_host_name, ses
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of BastionSessionState
:rtype:
~azure.mgmt.network.v2020_05_01.models.BastionSessionStatePaged[~azure.mgmt.network.v2020_05_01.models.BastionSessionState]
~azure.mgmt.network.v2020_06_01.models.BastionSessionStatePaged[~azure.mgmt.network.v2020_06_01.models.BastionSessionState]
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
Expand All @@ -184,6 +188,8 @@ def disconnect_active_sessions(self, resource_group_name, bastion_host_name, ses
from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-05-01':
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -210,7 +216,7 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
:param authentication_method: VPN client authentication method.
Possible values include: 'EAPTLS', 'EAPMSCHAPv2'
:type authentication_method: str or
~azure.mgmt.network.v2020_05_01.models.AuthenticationMethod
~azure.mgmt.network.v2020_06_01.models.AuthenticationMethod
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
direct response alongside the deserialized response
Expand All @@ -219,9 +225,9 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
:return: An instance of LROPoller that returns VpnProfileResponse or
ClientRawResponse<VpnProfileResponse> if raw==True
:rtype:
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse]
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse]
or
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse]]
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse]]
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
Expand All @@ -240,6 +246,8 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-05-01':
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -266,9 +274,9 @@ def get_active_sessions(self, resource_group_name, bastion_host_name, custom_hea
BastionActiveSessionListResult or
ClientRawResponse<BastionActiveSessionListResult> if raw==True
:rtype:
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult]
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]
or
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult]]
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]]
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
Expand All @@ -285,6 +293,8 @@ def get_active_sessions(self, resource_group_name, bastion_host_name, custom_hea
from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-05-01':
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -305,15 +315,15 @@ def get_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
:type bastion_host_name: str
:param vms: List of VM references.
:type vms:
list[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink]
list[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink]
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of BastionShareableLink
:rtype:
~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkPaged[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink]
~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink]
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
Expand All @@ -330,6 +340,8 @@ def get_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-05-01':
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -350,7 +362,7 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
:type bastion_host_name: str
:param vms: List of VM references.
:type vms:
list[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink]
list[~azure.mgmt.network.v2020_06_01.models.BastionShareableLink]
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
direct response alongside the deserialized response
Expand All @@ -360,9 +372,9 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
BastionShareableLinkListResult or
ClientRawResponse<BastionShareableLinkListResult> if raw==True
:rtype:
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult]
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]
or
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult]]
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]]
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
Expand All @@ -379,6 +391,8 @@ def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms
from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-05-01':
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -404,7 +418,7 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
overrides<msrest:optionsforoperations>`.
:return: VirtualWanSecurityProviders or ClientRawResponse if raw=true
:rtype:
~azure.mgmt.network.v2020_05_01.models.VirtualWanSecurityProviders or
~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviders or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
Expand Down Expand Up @@ -440,6 +454,8 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-05-01':
from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2020-06-01':
from .v2020_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from .v2019_02_01.models import *
from .v2019_07_01.models import *
from .v2020_04_01.models import *
from .v2020_05_01.models import *
from .v2020_06_01.models import *
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,6 @@
ExpressRouteLinkConnectorType,
ExpressRouteLinkAdminState,
ExpressRoutePortsEncapsulation,
FirewallPolicyIntrusionSystemMode,
FirewallPolicyNatRuleActionType,
FirewallPolicyFilterRuleActionType,
FirewallPolicyRuleConditionApplicationProtocolType,
Expand Down Expand Up @@ -1549,7 +1548,6 @@
'ExpressRouteLinkConnectorType',
'ExpressRouteLinkAdminState',
'ExpressRoutePortsEncapsulation',
'FirewallPolicyIntrusionSystemMode',
'FirewallPolicyNatRuleActionType',
'FirewallPolicyFilterRuleActionType',
'FirewallPolicyRuleConditionApplicationProtocolType',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7716,10 +7716,6 @@ class FirewallPolicy(Resource):
Possible values include: 'Alert', 'Deny', 'Off'
:type threat_intel_mode: str or
~azure.mgmt.network.v2020_03_01.models.AzureFirewallThreatIntelMode
:param intrusion_system_mode: The operation mode for Intrusion system.
Possible values include: 'Enabled', 'Disabled'
:type intrusion_system_mode: str or
~azure.mgmt.network.v2020_03_01.models.FirewallPolicyIntrusionSystemMode
:ivar etag: A unique read-only string that changes whenever the resource
is updated.
:vartype etag: str
Expand Down Expand Up @@ -7747,7 +7743,6 @@ class FirewallPolicy(Resource):
'firewalls': {'key': 'properties.firewalls', 'type': '[SubResource]'},
'child_policies': {'key': 'properties.childPolicies', 'type': '[SubResource]'},
'threat_intel_mode': {'key': 'properties.threatIntelMode', 'type': 'str'},
'intrusion_system_mode': {'key': 'properties.intrusionSystemMode', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
}

Expand All @@ -7759,7 +7754,6 @@ def __init__(self, **kwargs):
self.firewalls = None
self.child_policies = None
self.threat_intel_mode = kwargs.get('threat_intel_mode', None)
self.intrusion_system_mode = kwargs.get('intrusion_system_mode', None)
self.etag = None


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7716,10 +7716,6 @@ class FirewallPolicy(Resource):
Possible values include: 'Alert', 'Deny', 'Off'
:type threat_intel_mode: str or
~azure.mgmt.network.v2020_03_01.models.AzureFirewallThreatIntelMode
:param intrusion_system_mode: The operation mode for Intrusion system.
Possible values include: 'Enabled', 'Disabled'
:type intrusion_system_mode: str or
~azure.mgmt.network.v2020_03_01.models.FirewallPolicyIntrusionSystemMode
:ivar etag: A unique read-only string that changes whenever the resource
is updated.
:vartype etag: str
Expand Down Expand Up @@ -7747,19 +7743,17 @@ class FirewallPolicy(Resource):
'firewalls': {'key': 'properties.firewalls', 'type': '[SubResource]'},
'child_policies': {'key': 'properties.childPolicies', 'type': '[SubResource]'},
'threat_intel_mode': {'key': 'properties.threatIntelMode', 'type': 'str'},
'intrusion_system_mode': {'key': 'properties.intrusionSystemMode', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
}

def __init__(self, *, id: str=None, location: str=None, tags=None, base_policy=None, threat_intel_mode=None, intrusion_system_mode=None, **kwargs) -> None:
def __init__(self, *, id: str=None, location: str=None, tags=None, base_policy=None, threat_intel_mode=None, **kwargs) -> None:
super(FirewallPolicy, self).__init__(id=id, location=location, tags=tags, **kwargs)
self.rule_groups = None
self.provisioning_state = None
self.base_policy = base_policy
self.firewalls = None
self.child_policies = None
self.threat_intel_mode = threat_intel_mode
self.intrusion_system_mode = intrusion_system_mode
self.etag = None


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,6 @@ class ExpressRoutePortsEncapsulation(str, Enum):
qin_q = "QinQ"


class FirewallPolicyIntrusionSystemMode(str, Enum):

enabled = "Enabled"
disabled = "Disabled"


class FirewallPolicyNatRuleActionType(str, Enum):

dnat = "DNAT"
Expand Down
Loading

0 comments on commit decd18c

Please sign in to comment.