forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update azure-mgmt-network to new generated code
- Loading branch information
Showing
114 changed files
with
12,606 additions
and
17,095 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,27 @@ | ||
#------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft. All rights reserved. | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft and contributors. All rights reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
#-------------------------------------------------------------------------- | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
__author__ = 'Microsoft Corp. <ptvshelp@microsoft.com>' | ||
__version__ = '0.20.1' | ||
from .network_management_client import NetworkManagementClient, NetworkManagementClientConfiguration | ||
|
||
from .networkresourceprovider import * | ||
__all__ = [ | ||
'NetworkManagementClient', | ||
'NetworkManagementClientConfiguration' | ||
] |
262 changes: 262 additions & 0 deletions
262
azure-mgmt-network/azure/mgmt/network/models/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,262 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft and contributors. All rights reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from .application_gateway_sku import ApplicationGatewaySku | ||
from .sub_resource import SubResource | ||
from .application_gateway_ip_configuration import ApplicationGatewayIPConfiguration | ||
from .application_gateway_ssl_certificate import ApplicationGatewaySslCertificate | ||
from .application_gateway_frontend_ip_configuration import ApplicationGatewayFrontendIPConfiguration | ||
from .application_gateway_frontend_port import ApplicationGatewayFrontendPort | ||
from .application_gateway_backend_address import ApplicationGatewayBackendAddress | ||
from .application_gateway_backend_address_pool import ApplicationGatewayBackendAddressPool | ||
from .application_gateway_backend_http_settings import ApplicationGatewayBackendHttpSettings | ||
from .application_gateway_http_listener import ApplicationGatewayHttpListener | ||
from .application_gateway_path_rule import ApplicationGatewayPathRule | ||
from .application_gateway_probe import ApplicationGatewayProbe | ||
from .application_gateway_request_routing_rule import ApplicationGatewayRequestRoutingRule | ||
from .application_gateway_url_path_map import ApplicationGatewayUrlPathMap | ||
from .application_gateway import ApplicationGateway | ||
from .express_route_circuit_authorization import ExpressRouteCircuitAuthorization | ||
from .express_route_circuit_peering_config import ExpressRouteCircuitPeeringConfig | ||
from .express_route_circuit_stats import ExpressRouteCircuitStats | ||
from .express_route_circuit_peering import ExpressRouteCircuitPeering | ||
from .express_route_circuit_sku import ExpressRouteCircuitSku | ||
from .express_route_circuit_service_provider_properties import ExpressRouteCircuitServiceProviderProperties | ||
from .express_route_circuit import ExpressRouteCircuit | ||
from .express_route_circuit_arp_table import ExpressRouteCircuitArpTable | ||
from .express_route_circuit_routes_table import ExpressRouteCircuitRoutesTable | ||
from .express_route_service_provider_bandwidths_offered import ExpressRouteServiceProviderBandwidthsOffered | ||
from .express_route_service_provider import ExpressRouteServiceProvider | ||
from .subnet import Subnet | ||
from .network_security_group import NetworkSecurityGroup | ||
from .security_rule import SecurityRule | ||
from .network_interface import NetworkInterface | ||
from .network_interface_ip_configuration import NetworkInterfaceIPConfiguration | ||
from .backend_address_pool import BackendAddressPool | ||
from .inbound_nat_rule import InboundNatRule | ||
from .public_ip_address import PublicIPAddress | ||
from .ip_configuration import IPConfiguration | ||
from .public_ip_address_dns_settings import PublicIPAddressDnsSettings | ||
from .network_interface_dns_settings import NetworkInterfaceDnsSettings | ||
from .route_table import RouteTable | ||
from .route import Route | ||
from .frontend_ip_configuration import FrontendIPConfiguration | ||
from .load_balancing_rule import LoadBalancingRule | ||
from .probe import Probe | ||
from .inbound_nat_pool import InboundNatPool | ||
from .outbound_nat_rule import OutboundNatRule | ||
from .load_balancer import LoadBalancer | ||
from .address_space import AddressSpace | ||
from .local_network_gateway import LocalNetworkGateway | ||
from .usage_name import UsageName | ||
from .usage import Usage | ||
from .virtual_network_gateway_ip_configuration import VirtualNetworkGatewayIPConfiguration | ||
from .virtual_network_gateway_sku import VirtualNetworkGatewaySku | ||
from .vpn_client_configuration import VpnClientConfiguration | ||
from .vpn_client_root_certificate import VpnClientRootCertificate | ||
from .vpn_client_revoked_certificate import VpnClientRevokedCertificate | ||
from .virtual_network_gateway import VirtualNetworkGateway | ||
from .vpn_client_parameters import VpnClientParameters | ||
from .virtual_network_gateway_connection import VirtualNetworkGatewayConnection | ||
from .connection_shared_key_result import ConnectionSharedKeyResult | ||
from .connection_reset_shared_key import ConnectionResetSharedKey | ||
from .connection_shared_key import ConnectionSharedKey | ||
from .dhcp_options import DhcpOptions | ||
from .virtual_network import VirtualNetwork | ||
from .dns_name_availability_result import DnsNameAvailabilityResult | ||
from .error_details import ErrorDetails | ||
from .error import Error | ||
from .azure_async_operation_result import AzureAsyncOperationResult | ||
from .resource import Resource | ||
from .application_gateway_paged import ApplicationGatewayPaged | ||
from .express_route_circuit_authorization_paged import ExpressRouteCircuitAuthorizationPaged | ||
from .express_route_circuit_peering_paged import ExpressRouteCircuitPeeringPaged | ||
from .express_route_circuit_arp_table_paged import ExpressRouteCircuitArpTablePaged | ||
from .express_route_circuit_routes_table_paged import ExpressRouteCircuitRoutesTablePaged | ||
from .express_route_circuit_stats_paged import ExpressRouteCircuitStatsPaged | ||
from .express_route_circuit_paged import ExpressRouteCircuitPaged | ||
from .express_route_service_provider_paged import ExpressRouteServiceProviderPaged | ||
from .load_balancer_paged import LoadBalancerPaged | ||
from .local_network_gateway_paged import LocalNetworkGatewayPaged | ||
from .network_interface_paged import NetworkInterfacePaged | ||
from .network_security_group_paged import NetworkSecurityGroupPaged | ||
from .public_ip_address_paged import PublicIPAddressPaged | ||
from .route_table_paged import RouteTablePaged | ||
from .route_paged import RoutePaged | ||
from .security_rule_paged import SecurityRulePaged | ||
from .subnet_paged import SubnetPaged | ||
from .usage_paged import UsagePaged | ||
from .virtual_network_gateway_connection_paged import VirtualNetworkGatewayConnectionPaged | ||
from .virtual_network_gateway_paged import VirtualNetworkGatewayPaged | ||
from .virtual_network_paged import VirtualNetworkPaged | ||
from .network_management_client_enums import ( | ||
ApplicationGatewaySkuName, | ||
ApplicationGatewayTier, | ||
IPAllocationMethod, | ||
ApplicationGatewayProtocol, | ||
ApplicationGatewayCookieBasedAffinity, | ||
ApplicationGatewayRequestRoutingRuleType, | ||
ApplicationGatewayOperationalState, | ||
AuthorizationUseStatus, | ||
ExpressRouteCircuitPeeringAdvertisedPublicPrefixState, | ||
ExpressRouteCircuitPeeringType, | ||
ExpressRouteCircuitPeeringState, | ||
ExpressRouteCircuitSkuTier, | ||
ExpressRouteCircuitSkuFamily, | ||
ServiceProviderProvisioningState, | ||
RouteNextHopType, | ||
SecurityRuleProtocol, | ||
SecurityRuleAccess, | ||
SecurityRuleDirection, | ||
TransportProtocol, | ||
LoadDistribution, | ||
ProbeProtocol, | ||
UsageUnit, | ||
VirtualNetworkGatewayType, | ||
VpnType, | ||
VirtualNetworkGatewaySkuName, | ||
VirtualNetworkGatewaySkuTier, | ||
ProcessorArchitecture, | ||
VirtualNetworkGatewayConnectionType, | ||
VirtualNetworkGatewayConnectionStatus, | ||
NetworkOperationStatus, | ||
) | ||
|
||
__all__ = [ | ||
'ApplicationGatewaySku', | ||
'SubResource', | ||
'ApplicationGatewayIPConfiguration', | ||
'ApplicationGatewaySslCertificate', | ||
'ApplicationGatewayFrontendIPConfiguration', | ||
'ApplicationGatewayFrontendPort', | ||
'ApplicationGatewayBackendAddress', | ||
'ApplicationGatewayBackendAddressPool', | ||
'ApplicationGatewayBackendHttpSettings', | ||
'ApplicationGatewayHttpListener', | ||
'ApplicationGatewayPathRule', | ||
'ApplicationGatewayProbe', | ||
'ApplicationGatewayRequestRoutingRule', | ||
'ApplicationGatewayUrlPathMap', | ||
'ApplicationGateway', | ||
'ExpressRouteCircuitAuthorization', | ||
'ExpressRouteCircuitPeeringConfig', | ||
'ExpressRouteCircuitStats', | ||
'ExpressRouteCircuitPeering', | ||
'ExpressRouteCircuitSku', | ||
'ExpressRouteCircuitServiceProviderProperties', | ||
'ExpressRouteCircuit', | ||
'ExpressRouteCircuitArpTable', | ||
'ExpressRouteCircuitRoutesTable', | ||
'ExpressRouteServiceProviderBandwidthsOffered', | ||
'ExpressRouteServiceProvider', | ||
'Subnet', | ||
'NetworkSecurityGroup', | ||
'SecurityRule', | ||
'NetworkInterface', | ||
'NetworkInterfaceIPConfiguration', | ||
'BackendAddressPool', | ||
'InboundNatRule', | ||
'PublicIPAddress', | ||
'IPConfiguration', | ||
'PublicIPAddressDnsSettings', | ||
'NetworkInterfaceDnsSettings', | ||
'RouteTable', | ||
'Route', | ||
'FrontendIPConfiguration', | ||
'LoadBalancingRule', | ||
'Probe', | ||
'InboundNatPool', | ||
'OutboundNatRule', | ||
'LoadBalancer', | ||
'AddressSpace', | ||
'LocalNetworkGateway', | ||
'UsageName', | ||
'Usage', | ||
'VirtualNetworkGatewayIPConfiguration', | ||
'VirtualNetworkGatewaySku', | ||
'VpnClientConfiguration', | ||
'VpnClientRootCertificate', | ||
'VpnClientRevokedCertificate', | ||
'VirtualNetworkGateway', | ||
'VpnClientParameters', | ||
'VirtualNetworkGatewayConnection', | ||
'ConnectionSharedKeyResult', | ||
'ConnectionResetSharedKey', | ||
'ConnectionSharedKey', | ||
'DhcpOptions', | ||
'VirtualNetwork', | ||
'DnsNameAvailabilityResult', | ||
'ErrorDetails', | ||
'Error', | ||
'AzureAsyncOperationResult', | ||
'Resource', | ||
'ApplicationGatewayPaged', | ||
'ExpressRouteCircuitAuthorizationPaged', | ||
'ExpressRouteCircuitPeeringPaged', | ||
'ExpressRouteCircuitArpTablePaged', | ||
'ExpressRouteCircuitRoutesTablePaged', | ||
'ExpressRouteCircuitStatsPaged', | ||
'ExpressRouteCircuitPaged', | ||
'ExpressRouteServiceProviderPaged', | ||
'LoadBalancerPaged', | ||
'LocalNetworkGatewayPaged', | ||
'NetworkInterfacePaged', | ||
'NetworkSecurityGroupPaged', | ||
'PublicIPAddressPaged', | ||
'RouteTablePaged', | ||
'RoutePaged', | ||
'SecurityRulePaged', | ||
'SubnetPaged', | ||
'UsagePaged', | ||
'VirtualNetworkGatewayConnectionPaged', | ||
'VirtualNetworkGatewayPaged', | ||
'VirtualNetworkPaged', | ||
'ApplicationGatewaySkuName', | ||
'ApplicationGatewayTier', | ||
'IPAllocationMethod', | ||
'ApplicationGatewayProtocol', | ||
'ApplicationGatewayCookieBasedAffinity', | ||
'ApplicationGatewayRequestRoutingRuleType', | ||
'ApplicationGatewayOperationalState', | ||
'AuthorizationUseStatus', | ||
'ExpressRouteCircuitPeeringAdvertisedPublicPrefixState', | ||
'ExpressRouteCircuitPeeringType', | ||
'ExpressRouteCircuitPeeringState', | ||
'ExpressRouteCircuitSkuTier', | ||
'ExpressRouteCircuitSkuFamily', | ||
'ServiceProviderProvisioningState', | ||
'RouteNextHopType', | ||
'SecurityRuleProtocol', | ||
'SecurityRuleAccess', | ||
'SecurityRuleDirection', | ||
'TransportProtocol', | ||
'LoadDistribution', | ||
'ProbeProtocol', | ||
'UsageUnit', | ||
'VirtualNetworkGatewayType', | ||
'VpnType', | ||
'VirtualNetworkGatewaySkuName', | ||
'VirtualNetworkGatewaySkuTier', | ||
'ProcessorArchitecture', | ||
'VirtualNetworkGatewayConnectionType', | ||
'VirtualNetworkGatewayConnectionStatus', | ||
'NetworkOperationStatus', | ||
] |
41 changes: 41 additions & 0 deletions
41
azure-mgmt-network/azure/mgmt/network/models/address_space.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft and contributors. All rights reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AddressSpace(Model): | ||
""" | ||
AddressSpace contains an array of IP address ranges that can be used by | ||
subnets | ||
:param list address_prefixes: Gets or sets List of address blocks | ||
reserved for this virtual network in CIDR notation | ||
""" | ||
|
||
_required = [] | ||
|
||
_attribute_map = { | ||
'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, | ||
} | ||
|
||
def __init__(self, address_prefixes=None): | ||
self.address_prefixes = address_prefixes |
Oops, something went wrong.