Skip to content

Commit

Permalink
Generated from 4dc41cee4481348ea53c2af451d4c242553b3a3b
Browse files Browse the repository at this point in the history
change output of advertised route
  • Loading branch information
SDK Automation committed Sep 9, 2020
1 parent 0009740 commit 1b58207
Show file tree
Hide file tree
Showing 134 changed files with 88,999 additions and 1,523 deletions.

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_07_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-07-01':
from .v2020_07_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_07_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-07-01':
from .v2020_07_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_07_01.models.BastionSessionStatePaged[~azure.mgmt.network.v2020_07_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-07-01':
from .v2020_07_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_07_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_07_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_07_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-07-01':
from .v2020_07_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_07_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_07_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-07-01':
from .v2020_07_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_07_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_07_01.models.BastionShareableLinkPaged[~azure.mgmt.network.v2020_07_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-07-01':
from .v2020_07_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_07_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_07_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_07_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-07-01':
from .v2020_07_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_07_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-07-01':
from .v2020_07_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_07_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
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@
from ._models_py3 import ExpressRouteServiceProvider
from ._models_py3 import ExpressRouteServiceProviderBandwidthsOffered
from ._models_py3 import FirewallPolicy
from ._models_py3 import FirewallPolicyCertificateAuthority
from ._models_py3 import FirewallPolicyFilterRule
from ._models_py3 import FirewallPolicyFilterRuleAction
from ._models_py3 import FirewallPolicyNatRule
Expand All @@ -198,8 +197,6 @@
from ._models_py3 import FirewallPolicyRuleConditionApplicationProtocol
from ._models_py3 import FirewallPolicyRuleGroup
from ._models_py3 import FirewallPolicyThreatIntelWhitelist
from ._models_py3 import FirewallPolicyTransportSecurity
from ._models_py3 import FirewallPolicyTrustedRootCertificate
from ._models_py3 import FlowLog
from ._models_py3 import FlowLogFormatParameters
from ._models_py3 import FlowLogInformation
Expand Down Expand Up @@ -594,7 +591,6 @@
from ._models import ExpressRouteServiceProvider
from ._models import ExpressRouteServiceProviderBandwidthsOffered
from ._models import FirewallPolicy
from ._models import FirewallPolicyCertificateAuthority
from ._models import FirewallPolicyFilterRule
from ._models import FirewallPolicyFilterRuleAction
from ._models import FirewallPolicyNatRule
Expand All @@ -604,8 +600,6 @@
from ._models import FirewallPolicyRuleConditionApplicationProtocol
from ._models import FirewallPolicyRuleGroup
from ._models import FirewallPolicyThreatIntelWhitelist
from ._models import FirewallPolicyTransportSecurity
from ._models import FirewallPolicyTrustedRootCertificate
from ._models import FlowLog
from ._models import FlowLogFormatParameters
from ._models import FlowLogInformation
Expand Down Expand Up @@ -959,7 +953,6 @@
ExpressRouteLinkConnectorType,
ExpressRouteLinkAdminState,
ExpressRoutePortsEncapsulation,
FirewallPolicyIntrusionSystemMode,
FirewallPolicyNatRuleActionType,
FirewallPolicyFilterRuleActionType,
FirewallPolicyRuleConditionApplicationProtocolType,
Expand Down Expand Up @@ -1220,7 +1213,6 @@
'ExpressRouteServiceProvider',
'ExpressRouteServiceProviderBandwidthsOffered',
'FirewallPolicy',
'FirewallPolicyCertificateAuthority',
'FirewallPolicyFilterRule',
'FirewallPolicyFilterRuleAction',
'FirewallPolicyNatRule',
Expand All @@ -1230,8 +1222,6 @@
'FirewallPolicyRuleConditionApplicationProtocol',
'FirewallPolicyRuleGroup',
'FirewallPolicyThreatIntelWhitelist',
'FirewallPolicyTransportSecurity',
'FirewallPolicyTrustedRootCertificate',
'FlowLog',
'FlowLogFormatParameters',
'FlowLogInformation',
Expand Down Expand Up @@ -1584,7 +1574,6 @@
'ExpressRouteLinkConnectorType',
'ExpressRouteLinkAdminState',
'ExpressRoutePortsEncapsulation',
'FirewallPolicyIntrusionSystemMode',
'FirewallPolicyNatRuleActionType',
'FirewallPolicyFilterRuleActionType',
'FirewallPolicyRuleConditionApplicationProtocolType',
Expand Down
Loading

0 comments on commit 1b58207

Please sign in to comment.