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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ class AddressSpace(Model):
}

def __init__(self, address_prefixes=None):
super(AddressSpace, self).__init__()
self.address_prefixes = address_prefixes
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ class ApplicationGatewayBackendAddress(Model):
}

def __init__(self, fqdn=None, ip_address=None):
super(ApplicationGatewayBackendAddress, self).__init__()
self.fqdn = fqdn
self.ip_address = ip_address
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class ApplicationGatewaySku(Model):
}

def __init__(self, name=None, tier=None, capacity=None):
super(ApplicationGatewaySku, self).__init__()
self.name = name
self.tier = tier
self.capacity = capacity
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ class AzureAsyncOperationResult(Model):
}

def __init__(self, status=None, error=None):
super(AzureAsyncOperationResult, self).__init__()
self.status = status
self.error = error
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class BgpSettings(Model):
}

def __init__(self, asn=None, bgp_peering_address=None, peer_weight=None):
super(BgpSettings, self).__init__()
self.asn = asn
self.bgp_peering_address = bgp_peering_address
self.peer_weight = peer_weight
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class ConnectionResetSharedKey(Model):
}

def __init__(self, key_length=None):
super(ConnectionResetSharedKey, self).__init__()
self.key_length = key_length
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class ConnectionSharedKey(Model):
}

def __init__(self, value=None):
super(ConnectionSharedKey, self).__init__()
self.value = value
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class ConnectionSharedKeyResult(Model):
}

def __init__(self, value=None):
super(ConnectionSharedKeyResult, self).__init__()
self.value = value
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ class DhcpOptions(Model):
}

def __init__(self, dns_servers=None):
super(DhcpOptions, self).__init__()
self.dns_servers = dns_servers
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class DnsNameAvailabilityResult(Model):
}

def __init__(self, available=None):
super(DnsNameAvailabilityResult, self).__init__()
self.available = available
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class Error(Model):
}

def __init__(self, code=None, message=None, target=None, details=None, inner_error=None):
super(Error, self).__init__()
self.code = code
self.message = message
self.target = target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class ErrorDetails(Model):
}

def __init__(self, code=None, target=None, message=None):
super(ErrorDetails, self).__init__()
self.code = code
self.target = target
self.message = message
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ class ExpressRouteCircuitArpTable(Model):
}

def __init__(self, ip_address=None, mac_address=None):
super(ExpressRouteCircuitArpTable, self).__init__()
self.ip_address = ip_address
self.mac_address = mac_address
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class ExpressRouteCircuitPeeringConfig(Model):
}

def __init__(self, advertised_public_prefixes=None, advertised_public_prefixes_state=None, customer_asn=None, routing_registry_name=None):
super(ExpressRouteCircuitPeeringConfig, self).__init__()
self.advertised_public_prefixes = advertised_public_prefixes
self.advertised_public_prefixes_state = advertised_public_prefixes_state
self.customer_asn = customer_asn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class ExpressRouteCircuitRoutesTable(Model):
}

def __init__(self, next_hop_type, address_prefix=None, next_hop_ip=None, as_path=None):
super(ExpressRouteCircuitRoutesTable, self).__init__()
self.address_prefix = address_prefix
self.next_hop_type = next_hop_type
self.next_hop_ip = next_hop_ip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class ExpressRouteCircuitServiceProviderProperties(Model):
}

def __init__(self, service_provider_name=None, peering_location=None, bandwidth_in_mbps=None):
super(ExpressRouteCircuitServiceProviderProperties, self).__init__()
self.service_provider_name = service_provider_name
self.peering_location = peering_location
self.bandwidth_in_mbps = bandwidth_in_mbps
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class ExpressRouteCircuitSku(Model):
}

def __init__(self, name=None, tier=None, family=None):
super(ExpressRouteCircuitSku, self).__init__()
self.name = name
self.tier = tier
self.family = family
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ class ExpressRouteCircuitStats(Model):
}

def __init__(self, bytes_in=None, bytes_out=None):
super(ExpressRouteCircuitStats, self).__init__()
self.bytes_in = bytes_in
self.bytes_out = bytes_out
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ class ExpressRouteServiceProviderBandwidthsOffered(Model):
}

def __init__(self, offer_name=None, value_in_mbps=None):
super(ExpressRouteServiceProviderBandwidthsOffered, self).__init__()
self.offer_name = offer_name
self.value_in_mbps = value_in_mbps
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class NetworkInterfaceDnsSettings(Model):
}

def __init__(self, dns_servers=None, applied_dns_servers=None, internal_dns_name_label=None, internal_fqdn=None):
super(NetworkInterfaceDnsSettings, self).__init__()
self.dns_servers = dns_servers
self.applied_dns_servers = applied_dns_servers
self.internal_dns_name_label = internal_dns_name_label
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class PublicIPAddressDnsSettings(Model):
}

def __init__(self, domain_name_label=None, fqdn=None, reverse_fqdn=None):
super(PublicIPAddressDnsSettings, self).__init__()
self.domain_name_label = domain_name_label
self.fqdn = fqdn
self.reverse_fqdn = reverse_fqdn
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class Resource(Model):
}

def __init__(self, id=None, location=None, tags=None):
super(Resource, self).__init__()
self.id = id
self.name = None
self.type = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class SubResource(Model):
}

def __init__(self, id=None):
super(SubResource, self).__init__()
self.id = id
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class Usage(Model):
unit = "Count"

def __init__(self, current_value, limit, name):
super(Usage, self).__init__()
self.current_value = current_value
self.limit = limit
self.name = name
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ class UsageName(Model):
}

def __init__(self, value=None, localized_value=None):
super(UsageName, self).__init__()
self.value = value
self.localized_value = localized_value
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class VirtualNetworkGatewaySku(Model):
}

def __init__(self, name=None, tier=None, capacity=None):
super(VirtualNetworkGatewaySku, self).__init__()
self.name = name
self.tier = tier
self.capacity = capacity
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class VpnClientConfiguration(Model):
}

def __init__(self, vpn_client_address_pool=None, vpn_client_root_certificates=None, vpn_client_revoked_certificates=None):
super(VpnClientConfiguration, self).__init__()
self.vpn_client_address_pool = vpn_client_address_pool
self.vpn_client_root_certificates = vpn_client_root_certificates
self.vpn_client_revoked_certificates = vpn_client_revoked_certificates
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ class VpnClientParameters(Model):
}

def __init__(self, processor_architecture=None):
super(VpnClientParameters, self).__init__()
self.processor_architecture = processor_architecture
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def check_dns_name_availability(

# Construct and send request
request = self._client.get(url, query_parameters)
response = self._client.send(request, header_parameters, **operation_config)
response = self._client.send(request, header_parameters, stream=False, **operation_config)

if response.status_code not in [200]:
exp = CloudError(response)
Expand Down
Loading