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

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.v2019_09_01.models.DnsNameAvailabilityResult or
~azure.mgmt.network.v2019_11_01.models.DnsNameAvailabilityResult or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`

Expand Down Expand Up @@ -85,6 +85,8 @@ def check_dns_name_availability(self, location, domain_name_label, custom_header
from .v2019_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2019-09-01':
from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2019-11-01':
from .v2019_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -111,7 +113,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.v2019_09_01.models.AuthenticationMethod
~azure.mgmt.network.v2019_11_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 @@ -120,9 +122,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.v2019_09_01.models.VpnProfileResponse]
~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_11_01.models.VpnProfileResponse]
or
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_09_01.models.VpnProfileResponse]]
~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_11_01.models.VpnProfileResponse]]
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`

"""
Expand All @@ -131,6 +133,8 @@ def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name
from .v2019_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2019-09-01':
from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2019-11-01':
from .v2019_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
mixin_instance = OperationClass()
Expand All @@ -156,7 +160,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.v2019_09_01.models.VirtualWanSecurityProviders or
~azure.mgmt.network.v2019_11_01.models.VirtualWanSecurityProviders or
~msrest.pipeline.ClientRawResponse
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`

Expand All @@ -182,6 +186,8 @@ def supported_security_providers(self, resource_group_name, virtual_wan_name, cu
from .v2019_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2019-09-01':
from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass
elif api_version == '2019-11-01':
from .v2019_11_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 @@ -7,4 +7,4 @@
from .v2018_07_01.models import *
from .v2019_02_01.models import *
from .v2019_07_01.models import *
from .v2019_09_01.models import *
from .v2019_11_01.models import *
Original file line number Diff line number Diff line change
Expand Up @@ -5407,22 +5407,22 @@ class ExpressRouteCircuit(Resource):
:type sku: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteCircuitSku
:param allow_classic_operations: Allow classic operations.
:type allow_classic_operations: bool
:ivar circuit_provisioning_state: The CircuitProvisioningState state of
:param circuit_provisioning_state: The CircuitProvisioningState state of
the resource.
:vartype circuit_provisioning_state: str
:ivar service_provider_provisioning_state: The
:type circuit_provisioning_state: str
:param service_provider_provisioning_state: The
ServiceProviderProvisioningState state of the resource. Possible values
include: 'NotProvisioned', 'Provisioning', 'Provisioned', 'Deprovisioning'
:vartype service_provider_provisioning_state: str or
:type service_provider_provisioning_state: str or
~azure.mgmt.network.v2019_09_01.models.ServiceProviderProvisioningState
:param authorizations: The list of authorizations.
:type authorizations:
list[~azure.mgmt.network.v2019_09_01.models.ExpressRouteCircuitAuthorization]
:param peerings: The list of peerings.
:type peerings:
list[~azure.mgmt.network.v2019_09_01.models.ExpressRouteCircuitPeering]
:ivar service_key: The ServiceKey.
:vartype service_key: str
:param service_key: The ServiceKey.
:type service_key: str
:param service_provider_notes: The ServiceProviderNotes.
:type service_provider_notes: str
:param service_provider_properties: The ServiceProviderProperties.
Expand All @@ -5445,8 +5445,8 @@ class ExpressRouteCircuit(Resource):
~azure.mgmt.network.v2019_09_01.models.ProvisioningState
:param gateway_manager_etag: The GatewayManager Etag.
:type gateway_manager_etag: str
:ivar global_reach_enabled: Flag denoting Global reach status.
:vartype global_reach_enabled: bool
:param global_reach_enabled: Flag denoting Global reach status.
:type global_reach_enabled: bool
:ivar etag: A unique read-only string that changes whenever the resource
is updated.
:vartype etag: str
Expand All @@ -5455,12 +5455,8 @@ class ExpressRouteCircuit(Resource):
_validation = {
'name': {'readonly': True},
'type': {'readonly': True},
'circuit_provisioning_state': {'readonly': True},
'service_provider_provisioning_state': {'readonly': True},
'service_key': {'readonly': True},
'stag': {'readonly': True},
'provisioning_state': {'readonly': True},
'global_reach_enabled': {'readonly': True},
'etag': {'readonly': True},
}

Expand Down Expand Up @@ -5492,19 +5488,19 @@ def __init__(self, **kwargs):
super(ExpressRouteCircuit, self).__init__(**kwargs)
self.sku = kwargs.get('sku', None)
self.allow_classic_operations = kwargs.get('allow_classic_operations', None)
self.circuit_provisioning_state = None
self.service_provider_provisioning_state = None
self.circuit_provisioning_state = kwargs.get('circuit_provisioning_state', None)
self.service_provider_provisioning_state = kwargs.get('service_provider_provisioning_state', None)
self.authorizations = kwargs.get('authorizations', None)
self.peerings = kwargs.get('peerings', None)
self.service_key = None
self.service_key = kwargs.get('service_key', None)
self.service_provider_notes = kwargs.get('service_provider_notes', None)
self.service_provider_properties = kwargs.get('service_provider_properties', None)
self.express_route_port = kwargs.get('express_route_port', None)
self.bandwidth_in_gbps = kwargs.get('bandwidth_in_gbps', None)
self.stag = None
self.provisioning_state = None
self.gateway_manager_etag = kwargs.get('gateway_manager_etag', None)
self.global_reach_enabled = None
self.global_reach_enabled = kwargs.get('global_reach_enabled', None)
self.etag = None


Expand Down Expand Up @@ -5544,11 +5540,11 @@ class ExpressRouteCircuitAuthorization(SubResource):

:param id: Resource ID.
:type id: str
:ivar authorization_key: The authorization key.
:vartype authorization_key: str
:ivar authorization_use_status: The authorization use status. Possible
:param authorization_key: The authorization key.
:type authorization_key: str
:param authorization_use_status: The authorization use status. Possible
values include: 'Available', 'InUse'
:vartype authorization_use_status: str or
:type authorization_use_status: str or
~azure.mgmt.network.v2019_09_01.models.AuthorizationUseStatus
:ivar provisioning_state: The provisioning state of the authorization
resource. Possible values include: 'Succeeded', 'Updating', 'Deleting',
Expand All @@ -5566,8 +5562,6 @@ class ExpressRouteCircuitAuthorization(SubResource):
"""

_validation = {
'authorization_key': {'readonly': True},
'authorization_use_status': {'readonly': True},
'provisioning_state': {'readonly': True},
'etag': {'readonly': True},
'type': {'readonly': True},
Expand All @@ -5585,8 +5579,8 @@ class ExpressRouteCircuitAuthorization(SubResource):

def __init__(self, **kwargs):
super(ExpressRouteCircuitAuthorization, self).__init__(**kwargs)
self.authorization_key = None
self.authorization_use_status = None
self.authorization_key = kwargs.get('authorization_key', None)
self.authorization_use_status = kwargs.get('authorization_use_status', None)
self.provisioning_state = None
self.name = kwargs.get('name', None)
self.etag = None
Expand Down Expand Up @@ -5614,9 +5608,9 @@ class ExpressRouteCircuitConnection(SubResource):
:type address_prefix: str
:param authorization_key: The authorization key.
:type authorization_key: str
:ivar circuit_connection_status: Express Route Circuit connection state.
:param circuit_connection_status: Express Route Circuit connection state.
Possible values include: 'Connected', 'Connecting', 'Disconnected'
:vartype circuit_connection_status: str or
:type circuit_connection_status: str or
~azure.mgmt.network.v2019_09_01.models.CircuitConnectionStatus
:ivar provisioning_state: The provisioning state of the express route
circuit connection resource. Possible values include: 'Succeeded',
Expand All @@ -5634,7 +5628,6 @@ class ExpressRouteCircuitConnection(SubResource):
"""

_validation = {
'circuit_connection_status': {'readonly': True},
'provisioning_state': {'readonly': True},
'etag': {'readonly': True},
'type': {'readonly': True},
Expand All @@ -5659,7 +5652,7 @@ def __init__(self, **kwargs):
self.peer_express_route_circuit_peering = kwargs.get('peer_express_route_circuit_peering', None)
self.address_prefix = kwargs.get('address_prefix', None)
self.authorization_key = kwargs.get('authorization_key', None)
self.circuit_connection_status = None
self.circuit_connection_status = kwargs.get('circuit_connection_status', None)
self.provisioning_state = None
self.name = kwargs.get('name', None)
self.etag = None
Expand All @@ -5682,18 +5675,18 @@ class ExpressRouteCircuitPeering(SubResource):
'Enabled'
:type state: str or
~azure.mgmt.network.v2019_09_01.models.ExpressRoutePeeringState
:ivar azure_asn: The Azure ASN.
:vartype azure_asn: int
:param azure_asn: The Azure ASN.
:type azure_asn: int
:param peer_asn: The peer ASN.
:type peer_asn: long
:param primary_peer_address_prefix: The primary address prefix.
:type primary_peer_address_prefix: str
:param secondary_peer_address_prefix: The secondary address prefix.
:type secondary_peer_address_prefix: str
:ivar primary_azure_port: The primary port.
:vartype primary_azure_port: str
:ivar secondary_azure_port: The secondary port.
:vartype secondary_azure_port: str
:param primary_azure_port: The primary port.
:type primary_azure_port: str
:param secondary_azure_port: The secondary port.
:type secondary_azure_port: str
:param shared_key: The shared key.
:type shared_key: str
:param vlan_id: The VLAN ID.
Expand Down Expand Up @@ -5721,9 +5714,9 @@ class ExpressRouteCircuitPeering(SubResource):
:param express_route_connection: The ExpressRoute connection.
:type express_route_connection:
~azure.mgmt.network.v2019_09_01.models.ExpressRouteConnectionId
:ivar connections: The list of circuit connections associated with Azure
:param connections: The list of circuit connections associated with Azure
Private Peering for this circuit.
:vartype connections:
:type connections:
list[~azure.mgmt.network.v2019_09_01.models.ExpressRouteCircuitConnection]
:ivar peered_connections: The list of peered circuit connections
associated with Azure Private Peering for this circuit.
Expand All @@ -5740,13 +5733,9 @@ class ExpressRouteCircuitPeering(SubResource):
"""

_validation = {
'azure_asn': {'readonly': True},
'peer_asn': {'maximum': 4294967295, 'minimum': 1},
'primary_azure_port': {'readonly': True},
'secondary_azure_port': {'readonly': True},
'provisioning_state': {'readonly': True},
'last_modified_by': {'readonly': True},
'connections': {'readonly': True},
'peered_connections': {'readonly': True},
'etag': {'readonly': True},
'type': {'readonly': True},
Expand Down Expand Up @@ -5783,12 +5772,12 @@ def __init__(self, **kwargs):
super(ExpressRouteCircuitPeering, self).__init__(**kwargs)
self.peering_type = kwargs.get('peering_type', None)
self.state = kwargs.get('state', None)
self.azure_asn = None
self.azure_asn = kwargs.get('azure_asn', None)
self.peer_asn = kwargs.get('peer_asn', None)
self.primary_peer_address_prefix = kwargs.get('primary_peer_address_prefix', None)
self.secondary_peer_address_prefix = kwargs.get('secondary_peer_address_prefix', None)
self.primary_azure_port = None
self.secondary_azure_port = None
self.primary_azure_port = kwargs.get('primary_azure_port', None)
self.secondary_azure_port = kwargs.get('secondary_azure_port', None)
self.shared_key = kwargs.get('shared_key', None)
self.vlan_id = kwargs.get('vlan_id', None)
self.microsoft_peering_config = kwargs.get('microsoft_peering_config', None)
Expand All @@ -5799,7 +5788,7 @@ def __init__(self, **kwargs):
self.route_filter = kwargs.get('route_filter', None)
self.ipv6_peering_config = kwargs.get('ipv6_peering_config', None)
self.express_route_connection = kwargs.get('express_route_connection', None)
self.connections = None
self.connections = kwargs.get('connections', None)
self.peered_connections = None
self.name = kwargs.get('name', None)
self.etag = None
Expand Down
Loading