diff --git a/azure-mgmt-network/azure/mgmt/network/__init__.py b/azure-mgmt-network/azure/mgmt/network/__init__.py index 59f2e3e1e0ea..8360036bf989 100644 --- a/azure-mgmt-network/azure/mgmt/network/__init__.py +++ b/azure-mgmt-network/azure/mgmt/network/__init__.py @@ -71,7 +71,7 @@ class NetworkManagementClient(object): :param str base_url: Service URL """ - DEFAULT_API_VERSION='2017-06-01' + DEFAULT_API_VERSION='2017-08-01' def __init__( self, credentials, subscription_id, api_version=DEFAULT_API_VERSION, base_url=None): @@ -100,13 +100,18 @@ def check_dns_name_availability( deserialized response :param operation_config: :ref:`Operation configuration overrides`. + :return: :class:`DnsNameAvailabilityResult + ` or + :class:`ClientRawResponse` if + raw=true :rtype: :class:`DnsNameAvailabilityResult - ` - :rtype: :class:`ClientRawResponse` - if raw=true + ` or + :class:`ClientRawResponse` :raises: :class:`CloudError` """ - if self.api_version == '2017-06-01': + if self.api_version == '2017-08-01': + from .v2017_08_01 import NetworkManagementClient as ClientClass + elif self.api_version == '2017-06-01': from .v2017_06_01 import NetworkManagementClient as ClientClass elif self.api_version == '2017-03-01': from .v2017_03_01 import NetworkManagementClient as ClientClass @@ -134,6 +139,7 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2016-12-01: :mod:`v2016_12_01.models` * 2017-03-01: :mod:`v2017_03_01.models` * 2017-06-01: :mod:`v2017_06_01.models` + * 2017-08-01: :mod:`v2017_08_01.models` """ if api_version == '2015-06-15': from .v2015_06_15 import models @@ -150,6 +156,9 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2017-06-01': from .v2017_06_01 import models return models + elif api_version == '2017-08-01': + from .v2017_08_01 import models + return models raise NotImplementedError("APIVersion {} is not available".format(api_version)) @property @@ -161,6 +170,7 @@ def application_gateways(self): * 2016-12-01: :class:`ApplicationGatewaysOperations` * 2017-03-01: :class:`ApplicationGatewaysOperations` * 2017-06-01: :class:`ApplicationGatewaysOperations` + * 2017-08-01: :class:`ApplicationGatewaysOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import ApplicationGatewaysOperations as OperationClass @@ -172,18 +182,23 @@ def application_gateways(self): from .v2017_03_01.operations import ApplicationGatewaysOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import ApplicationGatewaysOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import ApplicationGatewaysOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @property - def available_private_access_services(self): + def available_endpoint_services(self): """Instance depends on the API version: - * 2017-06-01: :class:`AvailablePrivateAccessServicesOperations` + * 2017-06-01: :class:`AvailableEndpointServicesOperations` + * 2017-08-01: :class:`AvailableEndpointServicesOperations` """ if self.api_version == '2017-06-01': - from .v2017_06_01.operations import AvailablePrivateAccessServicesOperations as OperationClass + from .v2017_06_01.operations import AvailableEndpointServicesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import AvailableEndpointServicesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -195,6 +210,7 @@ def bgp_service_communities(self): * 2016-12-01: :class:`BgpServiceCommunitiesOperations` * 2017-03-01: :class:`BgpServiceCommunitiesOperations` * 2017-06-01: :class:`BgpServiceCommunitiesOperations` + * 2017-08-01: :class:`BgpServiceCommunitiesOperations` """ if self.api_version == '2016-12-01': from .v2016_12_01.operations import BgpServiceCommunitiesOperations as OperationClass @@ -202,6 +218,23 @@ def bgp_service_communities(self): from .v2017_03_01.operations import BgpServiceCommunitiesOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import BgpServiceCommunitiesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import BgpServiceCommunitiesOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) + return OperationClass(self._client, self.config, self._serialize, self._deserialize) + + @property + def default_security_rules(self): + """Instance depends on the API version: + + * 2017-06-01: :class:`DefaultSecurityRulesOperations` + * 2017-08-01: :class:`DefaultSecurityRulesOperations` + """ + if self.api_version == '2017-06-01': + from .v2017_06_01.operations import DefaultSecurityRulesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import DefaultSecurityRulesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -215,6 +248,7 @@ def express_route_circuit_authorizations(self): * 2016-12-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2017-03-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2017-06-01: :class:`ExpressRouteCircuitAuthorizationsOperations` + * 2017-08-01: :class:`ExpressRouteCircuitAuthorizationsOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass @@ -226,6 +260,8 @@ def express_route_circuit_authorizations(self): from .v2017_03_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -239,6 +275,7 @@ def express_route_circuit_peerings(self): * 2016-12-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2017-03-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2017-06-01: :class:`ExpressRouteCircuitPeeringsOperations` + * 2017-08-01: :class:`ExpressRouteCircuitPeeringsOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import ExpressRouteCircuitPeeringsOperations as OperationClass @@ -250,6 +287,8 @@ def express_route_circuit_peerings(self): from .v2017_03_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -263,6 +302,7 @@ def express_route_circuits(self): * 2016-12-01: :class:`ExpressRouteCircuitsOperations` * 2017-03-01: :class:`ExpressRouteCircuitsOperations` * 2017-06-01: :class:`ExpressRouteCircuitsOperations` + * 2017-08-01: :class:`ExpressRouteCircuitsOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import ExpressRouteCircuitsOperations as OperationClass @@ -274,6 +314,8 @@ def express_route_circuits(self): from .v2017_03_01.operations import ExpressRouteCircuitsOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import ExpressRouteCircuitsOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import ExpressRouteCircuitsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -287,6 +329,7 @@ def express_route_service_providers(self): * 2016-12-01: :class:`ExpressRouteServiceProvidersOperations` * 2017-03-01: :class:`ExpressRouteServiceProvidersOperations` * 2017-06-01: :class:`ExpressRouteServiceProvidersOperations` + * 2017-08-01: :class:`ExpressRouteServiceProvidersOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import ExpressRouteServiceProvidersOperations as OperationClass @@ -298,6 +341,98 @@ def express_route_service_providers(self): from .v2017_03_01.operations import ExpressRouteServiceProvidersOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import ExpressRouteServiceProvidersOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import ExpressRouteServiceProvidersOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) + return OperationClass(self._client, self.config, self._serialize, self._deserialize) + + @property + def inbound_nat_rules(self): + """Instance depends on the API version: + + * 2017-06-01: :class:`InboundNatRulesOperations` + * 2017-08-01: :class:`InboundNatRulesOperations` + """ + if self.api_version == '2017-06-01': + from .v2017_06_01.operations import InboundNatRulesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import InboundNatRulesOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) + return OperationClass(self._client, self.config, self._serialize, self._deserialize) + + @property + def load_balancer_backend_address_pools(self): + """Instance depends on the API version: + + * 2017-06-01: :class:`LoadBalancerBackendAddressPoolsOperations` + * 2017-08-01: :class:`LoadBalancerBackendAddressPoolsOperations` + """ + if self.api_version == '2017-06-01': + from .v2017_06_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) + return OperationClass(self._client, self.config, self._serialize, self._deserialize) + + @property + def load_balancer_frontend_ip_configurations(self): + """Instance depends on the API version: + + * 2017-06-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` + * 2017-08-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` + """ + if self.api_version == '2017-06-01': + from .v2017_06_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) + return OperationClass(self._client, self.config, self._serialize, self._deserialize) + + @property + def load_balancer_load_balancing_rules(self): + """Instance depends on the API version: + + * 2017-06-01: :class:`LoadBalancerLoadBalancingRulesOperations` + * 2017-08-01: :class:`LoadBalancerLoadBalancingRulesOperations` + """ + if self.api_version == '2017-06-01': + from .v2017_06_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) + return OperationClass(self._client, self.config, self._serialize, self._deserialize) + + @property + def load_balancer_network_interfaces(self): + """Instance depends on the API version: + + * 2017-06-01: :class:`LoadBalancerNetworkInterfacesOperations` + * 2017-08-01: :class:`LoadBalancerNetworkInterfacesOperations` + """ + if self.api_version == '2017-06-01': + from .v2017_06_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) + return OperationClass(self._client, self.config, self._serialize, self._deserialize) + + @property + def load_balancer_probes(self): + """Instance depends on the API version: + + * 2017-06-01: :class:`LoadBalancerProbesOperations` + * 2017-08-01: :class:`LoadBalancerProbesOperations` + """ + if self.api_version == '2017-06-01': + from .v2017_06_01.operations import LoadBalancerProbesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import LoadBalancerProbesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -311,6 +446,7 @@ def load_balancers(self): * 2016-12-01: :class:`LoadBalancersOperations` * 2017-03-01: :class:`LoadBalancersOperations` * 2017-06-01: :class:`LoadBalancersOperations` + * 2017-08-01: :class:`LoadBalancersOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import LoadBalancersOperations as OperationClass @@ -322,6 +458,8 @@ def load_balancers(self): from .v2017_03_01.operations import LoadBalancersOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import LoadBalancersOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import LoadBalancersOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -335,6 +473,7 @@ def local_network_gateways(self): * 2016-12-01: :class:`LocalNetworkGatewaysOperations` * 2017-03-01: :class:`LocalNetworkGatewaysOperations` * 2017-06-01: :class:`LocalNetworkGatewaysOperations` + * 2017-08-01: :class:`LocalNetworkGatewaysOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import LocalNetworkGatewaysOperations as OperationClass @@ -346,6 +485,38 @@ def local_network_gateways(self): from .v2017_03_01.operations import LocalNetworkGatewaysOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import LocalNetworkGatewaysOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import LocalNetworkGatewaysOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) + return OperationClass(self._client, self.config, self._serialize, self._deserialize) + + @property + def network_interface_ip_configurations(self): + """Instance depends on the API version: + + * 2017-06-01: :class:`NetworkInterfaceIPConfigurationsOperations` + * 2017-08-01: :class:`NetworkInterfaceIPConfigurationsOperations` + """ + if self.api_version == '2017-06-01': + from .v2017_06_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) + return OperationClass(self._client, self.config, self._serialize, self._deserialize) + + @property + def network_interface_load_balancers(self): + """Instance depends on the API version: + + * 2017-06-01: :class:`NetworkInterfaceLoadBalancersOperations` + * 2017-08-01: :class:`NetworkInterfaceLoadBalancersOperations` + """ + if self.api_version == '2017-06-01': + from .v2017_06_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -359,6 +530,7 @@ def network_interfaces(self): * 2016-12-01: :class:`NetworkInterfacesOperations` * 2017-03-01: :class:`NetworkInterfacesOperations` * 2017-06-01: :class:`NetworkInterfacesOperations` + * 2017-08-01: :class:`NetworkInterfacesOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import NetworkInterfacesOperations as OperationClass @@ -370,6 +542,8 @@ def network_interfaces(self): from .v2017_03_01.operations import NetworkInterfacesOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import NetworkInterfacesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import NetworkInterfacesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -383,6 +557,7 @@ def network_security_groups(self): * 2016-12-01: :class:`NetworkSecurityGroupsOperations` * 2017-03-01: :class:`NetworkSecurityGroupsOperations` * 2017-06-01: :class:`NetworkSecurityGroupsOperations` + * 2017-08-01: :class:`NetworkSecurityGroupsOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import NetworkSecurityGroupsOperations as OperationClass @@ -394,6 +569,8 @@ def network_security_groups(self): from .v2017_03_01.operations import NetworkSecurityGroupsOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import NetworkSecurityGroupsOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import NetworkSecurityGroupsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -406,6 +583,7 @@ def network_watchers(self): * 2016-12-01: :class:`NetworkWatchersOperations` * 2017-03-01: :class:`NetworkWatchersOperations` * 2017-06-01: :class:`NetworkWatchersOperations` + * 2017-08-01: :class:`NetworkWatchersOperations` """ if self.api_version == '2016-09-01': from .v2016_09_01.operations import NetworkWatchersOperations as OperationClass @@ -415,6 +593,8 @@ def network_watchers(self): from .v2017_03_01.operations import NetworkWatchersOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import NetworkWatchersOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import NetworkWatchersOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -427,6 +607,7 @@ def packet_captures(self): * 2016-12-01: :class:`PacketCapturesOperations` * 2017-03-01: :class:`PacketCapturesOperations` * 2017-06-01: :class:`PacketCapturesOperations` + * 2017-08-01: :class:`PacketCapturesOperations` """ if self.api_version == '2016-09-01': from .v2016_09_01.operations import PacketCapturesOperations as OperationClass @@ -436,6 +617,8 @@ def packet_captures(self): from .v2017_03_01.operations import PacketCapturesOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import PacketCapturesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import PacketCapturesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -449,6 +632,7 @@ def public_ip_addresses(self): * 2016-12-01: :class:`PublicIPAddressesOperations` * 2017-03-01: :class:`PublicIPAddressesOperations` * 2017-06-01: :class:`PublicIPAddressesOperations` + * 2017-08-01: :class:`PublicIPAddressesOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import PublicIPAddressesOperations as OperationClass @@ -460,6 +644,8 @@ def public_ip_addresses(self): from .v2017_03_01.operations import PublicIPAddressesOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import PublicIPAddressesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import PublicIPAddressesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -471,6 +657,7 @@ def route_filter_rules(self): * 2016-12-01: :class:`RouteFilterRulesOperations` * 2017-03-01: :class:`RouteFilterRulesOperations` * 2017-06-01: :class:`RouteFilterRulesOperations` + * 2017-08-01: :class:`RouteFilterRulesOperations` """ if self.api_version == '2016-12-01': from .v2016_12_01.operations import RouteFilterRulesOperations as OperationClass @@ -478,6 +665,8 @@ def route_filter_rules(self): from .v2017_03_01.operations import RouteFilterRulesOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import RouteFilterRulesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import RouteFilterRulesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -489,6 +678,7 @@ def route_filters(self): * 2016-12-01: :class:`RouteFiltersOperations` * 2017-03-01: :class:`RouteFiltersOperations` * 2017-06-01: :class:`RouteFiltersOperations` + * 2017-08-01: :class:`RouteFiltersOperations` """ if self.api_version == '2016-12-01': from .v2016_12_01.operations import RouteFiltersOperations as OperationClass @@ -496,6 +686,8 @@ def route_filters(self): from .v2017_03_01.operations import RouteFiltersOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import RouteFiltersOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import RouteFiltersOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -509,6 +701,7 @@ def route_tables(self): * 2016-12-01: :class:`RouteTablesOperations` * 2017-03-01: :class:`RouteTablesOperations` * 2017-06-01: :class:`RouteTablesOperations` + * 2017-08-01: :class:`RouteTablesOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import RouteTablesOperations as OperationClass @@ -520,6 +713,8 @@ def route_tables(self): from .v2017_03_01.operations import RouteTablesOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import RouteTablesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import RouteTablesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -533,6 +728,7 @@ def routes(self): * 2016-12-01: :class:`RoutesOperations` * 2017-03-01: :class:`RoutesOperations` * 2017-06-01: :class:`RoutesOperations` + * 2017-08-01: :class:`RoutesOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import RoutesOperations as OperationClass @@ -544,6 +740,8 @@ def routes(self): from .v2017_03_01.operations import RoutesOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import RoutesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import RoutesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -557,6 +755,7 @@ def security_rules(self): * 2016-12-01: :class:`SecurityRulesOperations` * 2017-03-01: :class:`SecurityRulesOperations` * 2017-06-01: :class:`SecurityRulesOperations` + * 2017-08-01: :class:`SecurityRulesOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import SecurityRulesOperations as OperationClass @@ -568,6 +767,8 @@ def security_rules(self): from .v2017_03_01.operations import SecurityRulesOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import SecurityRulesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import SecurityRulesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -581,6 +782,7 @@ def subnets(self): * 2016-12-01: :class:`SubnetsOperations` * 2017-03-01: :class:`SubnetsOperations` * 2017-06-01: :class:`SubnetsOperations` + * 2017-08-01: :class:`SubnetsOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import SubnetsOperations as OperationClass @@ -592,6 +794,8 @@ def subnets(self): from .v2017_03_01.operations import SubnetsOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import SubnetsOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import SubnetsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -605,6 +809,7 @@ def usages(self): * 2016-12-01: :class:`UsagesOperations` * 2017-03-01: :class:`UsagesOperations` * 2017-06-01: :class:`UsagesOperations` + * 2017-08-01: :class:`UsagesOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import UsagesOperations as OperationClass @@ -616,6 +821,8 @@ def usages(self): from .v2017_03_01.operations import UsagesOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import UsagesOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import UsagesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -629,6 +836,7 @@ def virtual_network_gateway_connections(self): * 2016-12-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2017-03-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2017-06-01: :class:`VirtualNetworkGatewayConnectionsOperations` + * 2017-08-01: :class:`VirtualNetworkGatewayConnectionsOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass @@ -640,6 +848,8 @@ def virtual_network_gateway_connections(self): from .v2017_03_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -653,6 +863,7 @@ def virtual_network_gateways(self): * 2016-12-01: :class:`VirtualNetworkGatewaysOperations` * 2017-03-01: :class:`VirtualNetworkGatewaysOperations` * 2017-06-01: :class:`VirtualNetworkGatewaysOperations` + * 2017-08-01: :class:`VirtualNetworkGatewaysOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import VirtualNetworkGatewaysOperations as OperationClass @@ -664,6 +875,8 @@ def virtual_network_gateways(self): from .v2017_03_01.operations import VirtualNetworkGatewaysOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import VirtualNetworkGatewaysOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import VirtualNetworkGatewaysOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -676,6 +889,7 @@ def virtual_network_peerings(self): * 2016-12-01: :class:`VirtualNetworkPeeringsOperations` * 2017-03-01: :class:`VirtualNetworkPeeringsOperations` * 2017-06-01: :class:`VirtualNetworkPeeringsOperations` + * 2017-08-01: :class:`VirtualNetworkPeeringsOperations` """ if self.api_version == '2016-09-01': from .v2016_09_01.operations import VirtualNetworkPeeringsOperations as OperationClass @@ -685,6 +899,8 @@ def virtual_network_peerings(self): from .v2017_03_01.operations import VirtualNetworkPeeringsOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import VirtualNetworkPeeringsOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import VirtualNetworkPeeringsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) @@ -698,6 +914,7 @@ def virtual_networks(self): * 2016-12-01: :class:`VirtualNetworksOperations` * 2017-03-01: :class:`VirtualNetworksOperations` * 2017-06-01: :class:`VirtualNetworksOperations` + * 2017-08-01: :class:`VirtualNetworksOperations` """ if self.api_version == '2015-06-15': from .v2015_06_15.operations import VirtualNetworksOperations as OperationClass @@ -709,6 +926,8 @@ def virtual_networks(self): from .v2017_03_01.operations import VirtualNetworksOperations as OperationClass elif self.api_version == '2017-06-01': from .v2017_06_01.operations import VirtualNetworksOperations as OperationClass + elif self.api_version == '2017-08-01': + from .v2017_08_01.operations import VirtualNetworksOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(self.api_version)) return OperationClass(self._client, self.config, self._serialize, self._deserialize) diff --git a/azure-mgmt-network/azure/mgmt/network/v2015_06_15/build.json b/azure-mgmt-network/azure/mgmt/network/v2015_06_15/build.json index 5993dce6a0af..ea3d6c47f53c 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2015_06_15/build.json +++ b/azure-mgmt-network/azure/mgmt/network/v2015_06_15/build.json @@ -1 +1 @@ -{"autorest": "1.2.2", "date": "2017-08-16T22:35:25Z", "version": ""} \ No newline at end of file +{"autorest": "1.2.2", "date": "2017-08-17T15:39:08Z", "version": ""} \ No newline at end of file diff --git a/azure-mgmt-network/azure/mgmt/network/v2016_09_01/build.json b/azure-mgmt-network/azure/mgmt/network/v2016_09_01/build.json index bcc4104add32..0bf3f1b39851 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2016_09_01/build.json +++ b/azure-mgmt-network/azure/mgmt/network/v2016_09_01/build.json @@ -1 +1 @@ -{"autorest": "1.2.2", "date": "2017-08-16T22:38:40Z", "version": ""} \ No newline at end of file +{"autorest": "1.2.2", "date": "2017-08-17T15:40:07Z", "version": ""} \ No newline at end of file diff --git a/azure-mgmt-network/azure/mgmt/network/v2016_12_01/build.json b/azure-mgmt-network/azure/mgmt/network/v2016_12_01/build.json index 8230bc252a0f..1ffb29eb7630 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2016_12_01/build.json +++ b/azure-mgmt-network/azure/mgmt/network/v2016_12_01/build.json @@ -1 +1 @@ -{"autorest": "1.2.2", "date": "2017-08-16T22:41:33Z", "version": ""} \ No newline at end of file +{"autorest": "1.2.2", "date": "2017-08-17T15:41:10Z", "version": ""} \ No newline at end of file diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_03_01/build.json b/azure-mgmt-network/azure/mgmt/network/v2017_03_01/build.json index 5126ab936ee3..498e057b1b54 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_03_01/build.json +++ b/azure-mgmt-network/azure/mgmt/network/v2017_03_01/build.json @@ -1 +1 @@ -{"autorest": "1.2.2", "date": "2017-08-16T22:44:59Z", "version": ""} \ No newline at end of file +{"autorest": "1.2.2", "date": "2017-08-17T15:42:19Z", "version": ""} \ No newline at end of file diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/build.json b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/build.json index 856964264cf6..7949357cbd95 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/build.json +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/build.json @@ -1 +1 @@ -{"autorest": "1.2.2", "date": "2017-08-16T22:59:57Z", "version": ""} \ No newline at end of file +{"autorest": "1.2.2", "date": "2017-08-17T15:43:49Z", "version": ""} \ No newline at end of file diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/__init__.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/__init__.py index e25806e74788..6ba17d6be7c9 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/__init__.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/__init__.py @@ -18,7 +18,7 @@ from .network_security_group import NetworkSecurityGroup from .route import Route from .route_table import RouteTable -from .private_access_service_properties_format import PrivateAccessServicePropertiesFormat +from .service_endpoint_properties_format import ServiceEndpointPropertiesFormat from .public_ip_address_dns_settings import PublicIPAddressDnsSettings from .public_ip_address import PublicIPAddress from .ip_configuration import IPConfiguration @@ -58,6 +58,7 @@ from .application_gateway_ssl_predefined_policy import ApplicationGatewaySslPredefinedPolicy from .resource import Resource from .dns_name_availability_result import DnsNameAvailabilityResult +from .endpoint_service_result import EndpointServiceResult from .express_route_circuit_authorization import ExpressRouteCircuitAuthorization from .express_route_circuit_peering_config import ExpressRouteCircuitPeeringConfig from .route_filter_rule import RouteFilterRule @@ -126,7 +127,6 @@ from .connectivity_issue import ConnectivityIssue from .connectivity_hop import ConnectivityHop from .connectivity_information import ConnectivityInformation -from .private_access_service_result import PrivateAccessServiceResult from .patch_route_filter_rule import PatchRouteFilterRule from .patch_route_filter import PatchRouteFilter from .bgp_community import BGPCommunity @@ -158,19 +158,27 @@ from .virtual_network_gateway_connection import VirtualNetworkGatewayConnection from .connection_reset_shared_key import ConnectionResetSharedKey from .connection_shared_key import ConnectionSharedKey +from .virtual_network_connection_gateway_reference import VirtualNetworkConnectionGatewayReference +from .virtual_network_gateway_connection_list_entity import VirtualNetworkGatewayConnectionListEntity from .application_gateway_paged import ApplicationGatewayPaged from .application_gateway_ssl_predefined_policy_paged import ApplicationGatewaySslPredefinedPolicyPaged +from .endpoint_service_result_paged import EndpointServiceResultPaged from .express_route_circuit_authorization_paged import ExpressRouteCircuitAuthorizationPaged from .express_route_circuit_peering_paged import ExpressRouteCircuitPeeringPaged from .express_route_circuit_paged import ExpressRouteCircuitPaged from .express_route_service_provider_paged import ExpressRouteServiceProviderPaged from .load_balancer_paged import LoadBalancerPaged +from .backend_address_pool_paged import BackendAddressPoolPaged +from .frontend_ip_configuration_paged import FrontendIPConfigurationPaged +from .inbound_nat_rule_paged import InboundNatRulePaged +from .load_balancing_rule_paged import LoadBalancingRulePaged from .network_interface_paged import NetworkInterfacePaged +from .probe_paged import ProbePaged +from .network_interface_ip_configuration_paged import NetworkInterfaceIPConfigurationPaged from .network_security_group_paged import NetworkSecurityGroupPaged from .security_rule_paged import SecurityRulePaged from .network_watcher_paged import NetworkWatcherPaged from .packet_capture_result_paged import PacketCaptureResultPaged -from .private_access_service_result_paged import PrivateAccessServiceResultPaged from .public_ip_address_paged import PublicIPAddressPaged from .route_filter_paged import RouteFilterPaged from .route_filter_rule_paged import RouteFilterRulePaged @@ -183,6 +191,7 @@ from .subnet_paged import SubnetPaged from .virtual_network_peering_paged import VirtualNetworkPeeringPaged from .virtual_network_gateway_paged import VirtualNetworkGatewayPaged +from .virtual_network_gateway_connection_list_entity_paged import VirtualNetworkGatewayConnectionListEntityPaged from .virtual_network_gateway_connection_paged import VirtualNetworkGatewayConnectionPaged from .local_network_gateway_paged import LocalNetworkGatewayPaged from .network_management_client_enums import ( @@ -217,6 +226,7 @@ LoadDistribution, ProbeProtocol, NetworkOperationStatus, + EffectiveSecurityRuleProtocol, EffectiveRouteSource, EffectiveRouteState, ProvisioningState, @@ -260,7 +270,7 @@ 'NetworkSecurityGroup', 'Route', 'RouteTable', - 'PrivateAccessServicePropertiesFormat', + 'ServiceEndpointPropertiesFormat', 'PublicIPAddressDnsSettings', 'PublicIPAddress', 'IPConfiguration', @@ -300,6 +310,7 @@ 'ApplicationGatewaySslPredefinedPolicy', 'Resource', 'DnsNameAvailabilityResult', + 'EndpointServiceResult', 'ExpressRouteCircuitAuthorization', 'ExpressRouteCircuitPeeringConfig', 'RouteFilterRule', @@ -368,7 +379,6 @@ 'ConnectivityIssue', 'ConnectivityHop', 'ConnectivityInformation', - 'PrivateAccessServiceResult', 'PatchRouteFilterRule', 'PatchRouteFilter', 'BGPCommunity', @@ -400,19 +410,27 @@ 'VirtualNetworkGatewayConnection', 'ConnectionResetSharedKey', 'ConnectionSharedKey', + 'VirtualNetworkConnectionGatewayReference', + 'VirtualNetworkGatewayConnectionListEntity', 'ApplicationGatewayPaged', 'ApplicationGatewaySslPredefinedPolicyPaged', + 'EndpointServiceResultPaged', 'ExpressRouteCircuitAuthorizationPaged', 'ExpressRouteCircuitPeeringPaged', 'ExpressRouteCircuitPaged', 'ExpressRouteServiceProviderPaged', 'LoadBalancerPaged', + 'BackendAddressPoolPaged', + 'FrontendIPConfigurationPaged', + 'InboundNatRulePaged', + 'LoadBalancingRulePaged', 'NetworkInterfacePaged', + 'ProbePaged', + 'NetworkInterfaceIPConfigurationPaged', 'NetworkSecurityGroupPaged', 'SecurityRulePaged', 'NetworkWatcherPaged', 'PacketCaptureResultPaged', - 'PrivateAccessServiceResultPaged', 'PublicIPAddressPaged', 'RouteFilterPaged', 'RouteFilterRulePaged', @@ -425,6 +443,7 @@ 'SubnetPaged', 'VirtualNetworkPeeringPaged', 'VirtualNetworkGatewayPaged', + 'VirtualNetworkGatewayConnectionListEntityPaged', 'VirtualNetworkGatewayConnectionPaged', 'LocalNetworkGatewayPaged', 'TransportProtocol', @@ -458,6 +477,7 @@ 'LoadDistribution', 'ProbeProtocol', 'NetworkOperationStatus', + 'EffectiveSecurityRuleProtocol', 'EffectiveRouteSource', 'EffectiveRouteState', 'ProvisioningState', diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/backend_address_pool_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/backend_address_pool_paged.py new file mode 100644 index 000000000000..cf5f025810c1 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/backend_address_pool_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class BackendAddressPoolPaged(Paged): + """ + A paging container for iterating over a list of :class:`BackendAddressPool ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[BackendAddressPool]'} + } + + def __init__(self, *args, **kwargs): + + super(BackendAddressPoolPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_network_security_group.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_network_security_group.py index 09ab5b1a9ffe..60e7c15049f6 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_network_security_group.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_network_security_group.py @@ -19,22 +19,27 @@ class EffectiveNetworkSecurityGroup(Model): applied. :type network_security_group: :class:`SubResource ` - :param association: + :param association: Associated resources. :type association: :class:`EffectiveNetworkSecurityGroupAssociation ` :param effective_security_rules: A collection of effective security rules. :type effective_security_rules: list of :class:`EffectiveNetworkSecurityRule ` + :param tag_map: Mapping of tags to list of IP Addresses included within + the tag. + :type tag_map: dict """ _attribute_map = { 'network_security_group': {'key': 'networkSecurityGroup', 'type': 'SubResource'}, 'association': {'key': 'association', 'type': 'EffectiveNetworkSecurityGroupAssociation'}, 'effective_security_rules': {'key': 'effectiveSecurityRules', 'type': '[EffectiveNetworkSecurityRule]'}, + 'tag_map': {'key': 'tagMap', 'type': '{[str]}'}, } - def __init__(self, network_security_group=None, association=None, effective_security_rules=None): + def __init__(self, network_security_group=None, association=None, effective_security_rules=None, tag_map=None): self.network_security_group = network_security_group self.association = association self.effective_security_rules = effective_security_rules + self.tag_map = tag_map diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_network_security_group_list_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_network_security_group_list_result.py index c5665e6d16d2..83dcfbb4b195 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_network_security_group_list_result.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_network_security_group_list_result.py @@ -15,18 +15,25 @@ class EffectiveNetworkSecurityGroupListResult(Model): """Response for list effective network security groups API service call. + Variables are only populated by the server, and will be ignored when + sending a request. + :param value: A list of effective network security groups. :type value: list of :class:`EffectiveNetworkSecurityGroup ` - :param next_link: The URL to get the next set of results. - :type next_link: str + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str """ + _validation = { + 'next_link': {'readonly': True}, + } + _attribute_map = { 'value': {'key': 'value', 'type': '[EffectiveNetworkSecurityGroup]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } - def __init__(self, value=None, next_link=None): + def __init__(self, value=None): self.value = value - self.next_link = next_link + self.next_link = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_network_security_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_network_security_rule.py index 2fea64f0f0bd..121665ee3fff 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_network_security_rule.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_network_security_rule.py @@ -19,18 +19,34 @@ class EffectiveNetworkSecurityRule(Model): created by the user). :type name: str :param protocol: The network protocol this rule applies to. Possible - values are: 'Tcp', 'Udp', and '*'. Possible values include: 'Tcp', 'Udp', - '*' - :type protocol: str or :class:`SecurityRuleProtocol - ` + values are: 'Tcp', 'Udp', and 'All'. Possible values include: 'Tcp', + 'Udp', 'All' + :type protocol: str or :class:`EffectiveSecurityRuleProtocol + ` :param source_port_range: The source port or range. :type source_port_range: str :param destination_port_range: The destination port or range. :type destination_port_range: str + :param source_port_ranges: The source port ranges. Expected values include + a single integer between 0 and 65535, a range using '-' as seperator (e.g. + 100-400), or an asterix (*) + :type source_port_ranges: list of str + :param destination_port_ranges: The destination port ranges. Expected + values include a single integer between 0 and 65535, a range using '-' as + seperator (e.g. 100-400), or an asterix (*) + :type destination_port_ranges: list of str :param source_address_prefix: The source address prefix. :type source_address_prefix: str :param destination_address_prefix: The destination address prefix. :type destination_address_prefix: str + :param source_address_prefixes: The source address prefixes. Expected + values include CIDR IP ranges, Default Tags (VirtualNetwork, + AureLoadBalancer, Internet), System Tags, and the asterix (*). + :type source_address_prefixes: list of str + :param destination_address_prefixes: The destination address prefixes. + Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, + AureLoadBalancer, Internet), System Tags, and the asterix (*). + :type destination_address_prefixes: list of str :param expanded_source_address_prefix: The expanded source address prefix. :type expanded_source_address_prefix: list of str :param expanded_destination_address_prefix: Expanded destination address @@ -53,8 +69,12 @@ class EffectiveNetworkSecurityRule(Model): 'protocol': {'key': 'protocol', 'type': 'str'}, 'source_port_range': {'key': 'sourcePortRange', 'type': 'str'}, 'destination_port_range': {'key': 'destinationPortRange', 'type': 'str'}, + 'source_port_ranges': {'key': 'sourcePortRanges', 'type': '[str]'}, + 'destination_port_ranges': {'key': 'destinationPortRanges', 'type': '[str]'}, 'source_address_prefix': {'key': 'sourceAddressPrefix', 'type': 'str'}, 'destination_address_prefix': {'key': 'destinationAddressPrefix', 'type': 'str'}, + 'source_address_prefixes': {'key': 'sourceAddressPrefixes', 'type': '[str]'}, + 'destination_address_prefixes': {'key': 'destinationAddressPrefixes', 'type': '[str]'}, 'expanded_source_address_prefix': {'key': 'expandedSourceAddressPrefix', 'type': '[str]'}, 'expanded_destination_address_prefix': {'key': 'expandedDestinationAddressPrefix', 'type': '[str]'}, 'access': {'key': 'access', 'type': 'str'}, @@ -62,13 +82,17 @@ class EffectiveNetworkSecurityRule(Model): 'direction': {'key': 'direction', 'type': 'str'}, } - def __init__(self, name=None, protocol=None, source_port_range=None, destination_port_range=None, source_address_prefix=None, destination_address_prefix=None, expanded_source_address_prefix=None, expanded_destination_address_prefix=None, access=None, priority=None, direction=None): + def __init__(self, name=None, protocol=None, source_port_range=None, destination_port_range=None, source_port_ranges=None, destination_port_ranges=None, source_address_prefix=None, destination_address_prefix=None, source_address_prefixes=None, destination_address_prefixes=None, expanded_source_address_prefix=None, expanded_destination_address_prefix=None, access=None, priority=None, direction=None): self.name = name self.protocol = protocol self.source_port_range = source_port_range self.destination_port_range = destination_port_range + self.source_port_ranges = source_port_ranges + self.destination_port_ranges = destination_port_ranges self.source_address_prefix = source_address_prefix self.destination_address_prefix = destination_address_prefix + self.source_address_prefixes = source_address_prefixes + self.destination_address_prefixes = destination_address_prefixes self.expanded_source_address_prefix = expanded_source_address_prefix self.expanded_destination_address_prefix = expanded_destination_address_prefix self.access = access diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_route_list_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_route_list_result.py index d29407bfd71d..b0fb5f7df797 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_route_list_result.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/effective_route_list_result.py @@ -15,18 +15,25 @@ class EffectiveRouteListResult(Model): """Response for list effective route API service call. + Variables are only populated by the server, and will be ignored when + sending a request. + :param value: A list of effective routes. :type value: list of :class:`EffectiveRoute ` - :param next_link: The URL to get the next set of results. - :type next_link: str + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str """ + _validation = { + 'next_link': {'readonly': True}, + } + _attribute_map = { 'value': {'key': 'value', 'type': '[EffectiveRoute]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } - def __init__(self, value=None, next_link=None): + def __init__(self, value=None): self.value = value - self.next_link = next_link + self.next_link = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/private_access_service_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/endpoint_service_result.py similarity index 81% rename from azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/private_access_service_result.py rename to azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/endpoint_service_result.py index 445960bea49f..9098a41ff164 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/private_access_service_result.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/endpoint_service_result.py @@ -12,17 +12,17 @@ from .sub_resource import SubResource -class PrivateAccessServiceResult(SubResource): - """Private access service. +class EndpointServiceResult(SubResource): + """Endpoint service. Variables are only populated by the server, and will be ignored when sending a request. :param id: Resource ID. :type id: str - :ivar name: Name of the private access value. + :ivar name: Name of the endpoint service. :vartype name: str - :ivar type: Type of the private access value. + :ivar type: Type of the endpoint service. :vartype type: str """ @@ -38,6 +38,6 @@ class PrivateAccessServiceResult(SubResource): } def __init__(self, id=None): - super(PrivateAccessServiceResult, self).__init__(id=id) + super(EndpointServiceResult, self).__init__(id=id) self.name = None self.type = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/endpoint_service_result_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/endpoint_service_result_paged.py new file mode 100644 index 000000000000..4a76cdb051d7 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/endpoint_service_result_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class EndpointServiceResultPaged(Paged): + """ + A paging container for iterating over a list of :class:`EndpointServiceResult ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[EndpointServiceResult]'} + } + + def __init__(self, *args, **kwargs): + + super(EndpointServiceResultPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/frontend_ip_configuration_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/frontend_ip_configuration_paged.py new file mode 100644 index 000000000000..b3edb95ed756 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/frontend_ip_configuration_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class FrontendIPConfigurationPaged(Paged): + """ + A paging container for iterating over a list of :class:`FrontendIPConfiguration ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[FrontendIPConfiguration]'} + } + + def __init__(self, *args, **kwargs): + + super(FrontendIPConfigurationPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/inbound_nat_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/inbound_nat_rule.py index 6e091a1467b7..9dc34b2c722b 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/inbound_nat_rule.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/inbound_nat_rule.py @@ -25,7 +25,7 @@ class InboundNatRule(SubResource): ` :ivar backend_ip_configuration: A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port - of each of the frontend IP configurations is forwarded to the backed IP. + of each of the frontend IP configurations is forwarded to the backend IP. :vartype backend_ip_configuration: :class:`NetworkInterfaceIPConfiguration ` :param protocol: The transport protocol for the endpoint. Possible values diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/inbound_nat_rule_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/inbound_nat_rule_paged.py new file mode 100644 index 000000000000..3d264a84ec64 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/inbound_nat_rule_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class InboundNatRulePaged(Paged): + """ + A paging container for iterating over a list of :class:`InboundNatRule ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[InboundNatRule]'} + } + + def __init__(self, *args, **kwargs): + + super(InboundNatRulePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/ip_configuration.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/ip_configuration.py index a4625ca1e655..7f013bf21861 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/ip_configuration.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/ip_configuration.py @@ -13,7 +13,7 @@ class IPConfiguration(SubResource): - """IPConfiguration. + """IP configuration. :param id: Resource ID. :type id: str diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/load_balancing_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/load_balancing_rule.py index 4afa3b0a5022..f3247ec137e1 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/load_balancing_rule.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/load_balancing_rule.py @@ -13,7 +13,7 @@ class LoadBalancingRule(SubResource): - """A loag balancing rule for a load balancer. + """A load balancing rule for a load balancer. :param id: Resource ID. :type id: str diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/load_balancing_rule_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/load_balancing_rule_paged.py new file mode 100644 index 000000000000..bb3d9d305d1e --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/load_balancing_rule_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class LoadBalancingRulePaged(Paged): + """ + A paging container for iterating over a list of :class:`LoadBalancingRule ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[LoadBalancingRule]'} + } + + def __init__(self, *args, **kwargs): + + super(LoadBalancingRulePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/network_interface_ip_configuration.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/network_interface_ip_configuration.py index 4e62f096790f..210c909a17c0 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/network_interface_ip_configuration.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/network_interface_ip_configuration.py @@ -31,7 +31,7 @@ class NetworkInterfaceIPConfiguration(SubResource): LoadBalancerInboundNatRules. :type load_balancer_inbound_nat_rules: list of :class:`InboundNatRule ` - :param private_ip_address: + :param private_ip_address: Private IP address of the IP configuration. :type private_ip_address: str :param private_ip_allocation_method: Defines how a private IP address is assigned. Possible values are: 'Static' and 'Dynamic'. Possible values @@ -44,16 +44,18 @@ class NetworkInterfaceIPConfiguration(SubResource): Possible values include: 'IPv4', 'IPv6' :type private_ip_address_version: str or :class:`IPVersion ` - :param subnet: + :param subnet: Subnet bound to the IP configuration. :type subnet: :class:`Subnet ` :param primary: Gets whether this is a primary customer address on the network interface. :type primary: bool - :param public_ip_address: + :param public_ip_address: Public IP address bound to the IP configuration. :type public_ip_address: :class:`PublicIPAddress ` - :param provisioning_state: + :param provisioning_state: The provisioning state of the network interface + IP configuration. Possible values are: 'Updating', 'Deleting', and + 'Failed'. :type provisioning_state: str :param name: The name of the resource that is unique within a resource group. This name can be used to access the resource. diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/network_interface_ip_configuration_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/network_interface_ip_configuration_paged.py new file mode 100644 index 000000000000..e439f739cc2c --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/network_interface_ip_configuration_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class NetworkInterfaceIPConfigurationPaged(Paged): + """ + A paging container for iterating over a list of :class:`NetworkInterfaceIPConfiguration ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[NetworkInterfaceIPConfiguration]'} + } + + def __init__(self, *args, **kwargs): + + super(NetworkInterfaceIPConfigurationPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/network_management_client_enums.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/network_management_client_enums.py index d4de70b97b23..acce4aaa9bf7 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/network_management_client_enums.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/network_management_client_enums.py @@ -244,6 +244,13 @@ class NetworkOperationStatus(Enum): failed = "Failed" +class EffectiveSecurityRuleProtocol(Enum): + + tcp = "Tcp" + udp = "Udp" + all = "All" + + class EffectiveRouteSource(Enum): unknown = "Unknown" diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/probe_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/probe_paged.py new file mode 100644 index 000000000000..0e0dff4101b6 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/probe_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class ProbePaged(Paged): + """ + A paging container for iterating over a list of :class:`Probe ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Probe]'} + } + + def __init__(self, *args, **kwargs): + + super(ProbePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/public_ip_address.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/public_ip_address.py index 8636ad3d53c2..03b76e1f9ae2 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/public_ip_address.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/public_ip_address.py @@ -37,14 +37,16 @@ class PublicIPAddress(Resource): values are: 'IPv4' and 'IPv6'. Possible values include: 'IPv4', 'IPv6' :type public_ip_address_version: str or :class:`IPVersion ` - :ivar ip_configuration: + :ivar ip_configuration: The IP configuration associated with the public IP + address. :vartype ip_configuration: :class:`IPConfiguration ` :param dns_settings: The FQDN of the DNS record associated with the public IP address. :type dns_settings: :class:`PublicIPAddressDnsSettings ` - :param ip_address: + :param ip_address: The IP address associated with the public IP address + resource. :type ip_address: str :param idle_timeout_in_minutes: The idle timeout of the public IP address. :type idle_timeout_in_minutes: int diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/resource.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/resource.py index 562d40a68661..0f0b2f02f123 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/resource.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/resource.py @@ -13,7 +13,7 @@ class Resource(Model): - """Resource. + """Common resource representation. Variables are only populated by the server, and will be ignored when sending a request. diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/security_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/security_rule.py index cff8c8abb6aa..c14827c06c57 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/security_rule.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/security_rule.py @@ -35,11 +35,20 @@ class SecurityRule(SubResource): 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from. :type source_address_prefix: str + :param source_address_prefixes: The CIDR or source IP ranges. + :type source_address_prefixes: list of str :param destination_address_prefix: The destination address prefix. CIDR or - source IP range. Asterix '*' can also be used to match all source IPs. - Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' - can also be used. + destination IP range. Asterix '*' can also be used to match all source + IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and + 'Internet' can also be used. :type destination_address_prefix: str + :param destination_address_prefixes: The destination address prefixes. + CIDR or destination IP ranges. + :type destination_address_prefixes: list of str + :param source_port_ranges: The source port ranges. + :type source_port_ranges: list of str + :param destination_port_ranges: The destination port ranges. + :type destination_port_ranges: list of str :param access: The network traffic is allowed or denied. Possible values are: 'Allow' and 'Deny'. Possible values include: 'Allow', 'Deny' :type access: str or :class:`SecurityRuleAccess @@ -81,7 +90,11 @@ class SecurityRule(SubResource): 'source_port_range': {'key': 'properties.sourcePortRange', 'type': 'str'}, 'destination_port_range': {'key': 'properties.destinationPortRange', 'type': 'str'}, 'source_address_prefix': {'key': 'properties.sourceAddressPrefix', 'type': 'str'}, + 'source_address_prefixes': {'key': 'properties.sourceAddressPrefixes', 'type': '[str]'}, 'destination_address_prefix': {'key': 'properties.destinationAddressPrefix', 'type': 'str'}, + 'destination_address_prefixes': {'key': 'properties.destinationAddressPrefixes', 'type': '[str]'}, + 'source_port_ranges': {'key': 'properties.sourcePortRanges', 'type': '[str]'}, + 'destination_port_ranges': {'key': 'properties.destinationPortRanges', 'type': '[str]'}, 'access': {'key': 'properties.access', 'type': 'str'}, 'priority': {'key': 'properties.priority', 'type': 'int'}, 'direction': {'key': 'properties.direction', 'type': 'str'}, @@ -90,14 +103,18 @@ class SecurityRule(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, protocol, source_address_prefix, destination_address_prefix, access, direction, id=None, description=None, source_port_range=None, destination_port_range=None, priority=None, provisioning_state=None, name=None, etag=None): + def __init__(self, protocol, source_address_prefix, destination_address_prefix, access, direction, id=None, description=None, source_port_range=None, destination_port_range=None, source_address_prefixes=None, destination_address_prefixes=None, source_port_ranges=None, destination_port_ranges=None, priority=None, provisioning_state=None, name=None, etag=None): super(SecurityRule, self).__init__(id=id) self.description = description self.protocol = protocol self.source_port_range = source_port_range self.destination_port_range = destination_port_range self.source_address_prefix = source_address_prefix + self.source_address_prefixes = source_address_prefixes self.destination_address_prefix = destination_address_prefix + self.destination_address_prefixes = destination_address_prefixes + self.source_port_ranges = source_port_ranges + self.destination_port_ranges = destination_port_ranges self.access = access self.priority = priority self.direction = direction diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/private_access_service_properties_format.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/service_endpoint_properties_format.py similarity index 88% rename from azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/private_access_service_properties_format.py rename to azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/service_endpoint_properties_format.py index 6e0a0d33a6d4..8677cdf300be 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/private_access_service_properties_format.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/service_endpoint_properties_format.py @@ -12,10 +12,10 @@ from msrest.serialization import Model -class PrivateAccessServicePropertiesFormat(Model): - """The private access service properties. +class ServiceEndpointPropertiesFormat(Model): + """The service endpoint properties. - :param service: The type of the private access. + :param service: The type of the endpoint service. :type service: str :param locations: A list of locations. :type locations: list of str diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/sub_resource.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/sub_resource.py index e7fa13135e83..b23dc42afd0e 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/sub_resource.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/sub_resource.py @@ -13,7 +13,7 @@ class SubResource(Model): - """SubResource. + """Reference to another subresource. :param id: Resource ID. :type id: str diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/subnet.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/subnet.py index 9737e52aa045..a5e8a523cb07 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/subnet.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/subnet.py @@ -29,11 +29,9 @@ class Subnet(SubResource): :param route_table: The reference of the RouteTable resource. :type route_table: :class:`RouteTable ` - :param private_access_services: An array of private access services - values. - :type private_access_services: list of - :class:`PrivateAccessServicePropertiesFormat - ` + :param service_endpoints: An array of service endpoints. + :type service_endpoints: list of :class:`ServiceEndpointPropertiesFormat + ` :ivar ip_configurations: Gets an array of references to the network interface IP configurations using subnet. :vartype ip_configurations: list of :class:`IPConfiguration @@ -61,7 +59,7 @@ class Subnet(SubResource): 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, 'route_table': {'key': 'properties.routeTable', 'type': 'RouteTable'}, - 'private_access_services': {'key': 'properties.privateAccessServices', 'type': '[PrivateAccessServicePropertiesFormat]'}, + 'service_endpoints': {'key': 'properties.serviceEndpoints', 'type': '[ServiceEndpointPropertiesFormat]'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[IPConfiguration]'}, 'resource_navigation_links': {'key': 'properties.resourceNavigationLinks', 'type': '[ResourceNavigationLink]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, @@ -69,12 +67,12 @@ class Subnet(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, id=None, address_prefix=None, network_security_group=None, route_table=None, private_access_services=None, resource_navigation_links=None, provisioning_state=None, name=None, etag=None): + def __init__(self, id=None, address_prefix=None, network_security_group=None, route_table=None, service_endpoints=None, resource_navigation_links=None, provisioning_state=None, name=None, etag=None): super(Subnet, self).__init__(id=id) self.address_prefix = address_prefix self.network_security_group = network_security_group self.route_table = route_table - self.private_access_services = private_access_services + self.service_endpoints = service_endpoints self.ip_configurations = None self.resource_navigation_links = resource_navigation_links self.provisioning_state = provisioning_state diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_connection_gateway_reference.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_connection_gateway_reference.py new file mode 100644 index 000000000000..f50295906ad8 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_connection_gateway_reference.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 VirtualNetworkConnectionGatewayReference(Model): + """A reference to VirtualNetworkGateway or LocalNetworkGateway resource. + + :param id: The ID of VirtualNetworkGateway or LocalNetworkGateway + resource. + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__(self, id): + self.id = id diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_gateway.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_gateway.py index ca1a448e4b94..aa805f228bed 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_gateway.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_gateway.py @@ -64,12 +64,6 @@ class VirtualNetworkGateway(Resource): :param bgp_settings: Virtual network gateway's BGP speaker settings. :type bgp_settings: :class:`BgpSettings ` - :param radius_server: The radius server address property of the - VirtualNetworkGateway resource for vpn client connection. - :type radius_server: str - :param radius_secret: The radius secret property of the - VirtualNetworkGateway resource for vpn client connection. - :type radius_secret: str :param resource_guid: The resource GUID property of the VirtualNetworkGateway resource. :type resource_guid: str @@ -103,14 +97,12 @@ class VirtualNetworkGateway(Resource): 'sku': {'key': 'properties.sku', 'type': 'VirtualNetworkGatewaySku'}, 'vpn_client_configuration': {'key': 'properties.vpnClientConfiguration', 'type': 'VpnClientConfiguration'}, 'bgp_settings': {'key': 'properties.bgpSettings', 'type': 'BgpSettings'}, - 'radius_server': {'key': 'properties.radiusServer', 'type': 'str'}, - 'radius_secret': {'key': 'properties.radiusSecret', 'type': 'str'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, id=None, location=None, tags=None, ip_configurations=None, gateway_type=None, vpn_type=None, enable_bgp=None, active_active=None, gateway_default_site=None, sku=None, vpn_client_configuration=None, bgp_settings=None, radius_server=None, radius_secret=None, resource_guid=None, etag=None): + def __init__(self, id=None, location=None, tags=None, ip_configurations=None, gateway_type=None, vpn_type=None, enable_bgp=None, active_active=None, gateway_default_site=None, sku=None, vpn_client_configuration=None, bgp_settings=None, resource_guid=None, etag=None): super(VirtualNetworkGateway, self).__init__(id=id, location=location, tags=tags) self.ip_configurations = ip_configurations self.gateway_type = gateway_type @@ -121,8 +113,6 @@ def __init__(self, id=None, location=None, tags=None, ip_configurations=None, ga self.sku = sku self.vpn_client_configuration = vpn_client_configuration self.bgp_settings = bgp_settings - self.radius_server = radius_server - self.radius_secret = radius_secret self.resource_guid = resource_guid self.provisioning_state = None self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_gateway_connection.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_gateway_connection.py index cc9908c99d96..fe4a2b479c16 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_gateway_connection.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_gateway_connection.py @@ -30,13 +30,16 @@ class VirtualNetworkGatewayConnection(Resource): :type tags: dict :param authorization_key: The authorizationKey. :type authorization_key: str - :param virtual_network_gateway1: + :param virtual_network_gateway1: The reference to virtual network gateway + resource. :type virtual_network_gateway1: :class:`VirtualNetworkGateway ` - :param virtual_network_gateway2: + :param virtual_network_gateway2: The reference to virtual network gateway + resource. :type virtual_network_gateway2: :class:`VirtualNetworkGateway ` - :param local_network_gateway2: + :param local_network_gateway2: The reference to local network gateway + resource. :type local_network_gateway2: :class:`LocalNetworkGateway ` :param connection_type: Gateway connection type. Possible values are: diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_gateway_connection_list_entity.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_gateway_connection_list_entity.py new file mode 100644 index 000000000000..a1dc24782322 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_gateway_connection_list_entity.py @@ -0,0 +1,155 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class VirtualNetworkGatewayConnectionListEntity(Resource): + """A common class for general resource information. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param authorization_key: The authorizationKey. + :type authorization_key: str + :param virtual_network_gateway1: The reference to virtual network gateway + resource. + :type virtual_network_gateway1: + :class:`VirtualNetworkConnectionGatewayReference + ` + :param virtual_network_gateway2: The reference to virtual network gateway + resource. + :type virtual_network_gateway2: + :class:`VirtualNetworkConnectionGatewayReference + ` + :param local_network_gateway2: The reference to local network gateway + resource. + :type local_network_gateway2: + :class:`VirtualNetworkConnectionGatewayReference + ` + :param connection_type: Gateway connection type. Possible values are: + 'Ipsec','Vnet2Vnet','ExpressRoute', and 'VPNClient. Possible values + include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient' + :type connection_type: str or :class:`VirtualNetworkGatewayConnectionType + ` + :param routing_weight: The routing weight. + :type routing_weight: int + :param shared_key: The IPSec shared key. + :type shared_key: str + :ivar connection_status: Virtual network Gateway connection status. + Possible values are 'Unknown', 'Connecting', 'Connected' and + 'NotConnected'. Possible values include: 'Unknown', 'Connecting', + 'Connected', 'NotConnected' + :vartype connection_status: str or + :class:`VirtualNetworkGatewayConnectionStatus + ` + :ivar tunnel_connection_status: Collection of all tunnels' connection + health status. + :vartype tunnel_connection_status: list of :class:`TunnelConnectionHealth + ` + :ivar egress_bytes_transferred: The egress bytes transferred in this + connection. + :vartype egress_bytes_transferred: long + :ivar ingress_bytes_transferred: The ingress bytes transferred in this + connection. + :vartype ingress_bytes_transferred: long + :param peer: The reference to peerings resource. + :type peer: :class:`SubResource + ` + :param enable_bgp: EnableBgp flag + :type enable_bgp: bool + :param use_policy_based_traffic_selectors: Enable policy-based traffic + selectors. + :type use_policy_based_traffic_selectors: bool + :param ipsec_policies: The IPSec Policies to be considered by this + connection. + :type ipsec_policies: list of :class:`IpsecPolicy + ` + :param resource_guid: The resource GUID property of the + VirtualNetworkGatewayConnection resource. + :type resource_guid: str + :ivar provisioning_state: The provisioning state of the + VirtualNetworkGatewayConnection resource. Possible values are: 'Updating', + 'Deleting', and 'Failed'. + :vartype provisioning_state: str + :param etag: Gets a unique read-only string that changes whenever the + resource is updated. + :type etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'virtual_network_gateway1': {'required': True}, + 'connection_type': {'required': True}, + 'connection_status': {'readonly': True}, + 'tunnel_connection_status': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, + 'virtual_network_gateway1': {'key': 'properties.virtualNetworkGateway1', 'type': 'VirtualNetworkConnectionGatewayReference'}, + 'virtual_network_gateway2': {'key': 'properties.virtualNetworkGateway2', 'type': 'VirtualNetworkConnectionGatewayReference'}, + 'local_network_gateway2': {'key': 'properties.localNetworkGateway2', 'type': 'VirtualNetworkConnectionGatewayReference'}, + 'connection_type': {'key': 'properties.connectionType', 'type': 'str'}, + 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, + 'tunnel_connection_status': {'key': 'properties.tunnelConnectionStatus', 'type': '[TunnelConnectionHealth]'}, + 'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'}, + 'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'}, + 'peer': {'key': 'properties.peer', 'type': 'SubResource'}, + 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, + 'use_policy_based_traffic_selectors': {'key': 'properties.usePolicyBasedTrafficSelectors', 'type': 'bool'}, + 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, virtual_network_gateway1, connection_type, id=None, location=None, tags=None, authorization_key=None, virtual_network_gateway2=None, local_network_gateway2=None, routing_weight=None, shared_key=None, peer=None, enable_bgp=None, use_policy_based_traffic_selectors=None, ipsec_policies=None, resource_guid=None, etag=None): + super(VirtualNetworkGatewayConnectionListEntity, self).__init__(id=id, location=location, tags=tags) + self.authorization_key = authorization_key + self.virtual_network_gateway1 = virtual_network_gateway1 + self.virtual_network_gateway2 = virtual_network_gateway2 + self.local_network_gateway2 = local_network_gateway2 + self.connection_type = connection_type + self.routing_weight = routing_weight + self.shared_key = shared_key + self.connection_status = None + self.tunnel_connection_status = None + self.egress_bytes_transferred = None + self.ingress_bytes_transferred = None + self.peer = peer + self.enable_bgp = enable_bgp + self.use_policy_based_traffic_selectors = use_policy_based_traffic_selectors + self.ipsec_policies = ipsec_policies + self.resource_guid = resource_guid + self.provisioning_state = None + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_gateway_connection_list_entity_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_gateway_connection_list_entity_paged.py new file mode 100644 index 000000000000..e32a2dde9061 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/virtual_network_gateway_connection_list_entity_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class VirtualNetworkGatewayConnectionListEntityPaged(Paged): + """ + A paging container for iterating over a list of :class:`VirtualNetworkGatewayConnectionListEntity ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[VirtualNetworkGatewayConnectionListEntity]'} + } + + def __init__(self, *args, **kwargs): + + super(VirtualNetworkGatewayConnectionListEntityPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/vpn_client_configuration.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/vpn_client_configuration.py index 2e55c8bb4bd9..ef4b42c05a86 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/vpn_client_configuration.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/vpn_client_configuration.py @@ -33,6 +33,12 @@ class VpnClientConfiguration(Model): gateway. :type vpn_client_protocols: list of str or :class:`VpnClientProtocol ` + :param radius_server_address: The radius server address property of the + VirtualNetworkGateway resource for vpn client connection. + :type radius_server_address: str + :param radius_server_secret: The radius secret property of the + VirtualNetworkGateway resource for vpn client connection. + :type radius_server_secret: str """ _attribute_map = { @@ -40,10 +46,14 @@ class VpnClientConfiguration(Model): 'vpn_client_root_certificates': {'key': 'vpnClientRootCertificates', 'type': '[VpnClientRootCertificate]'}, 'vpn_client_revoked_certificates': {'key': 'vpnClientRevokedCertificates', 'type': '[VpnClientRevokedCertificate]'}, 'vpn_client_protocols': {'key': 'vpnClientProtocols', 'type': '[str]'}, + 'radius_server_address': {'key': 'radiusServerAddress', 'type': 'str'}, + 'radius_server_secret': {'key': 'radiusServerSecret', 'type': 'str'}, } - def __init__(self, vpn_client_address_pool=None, vpn_client_root_certificates=None, vpn_client_revoked_certificates=None, vpn_client_protocols=None): + def __init__(self, vpn_client_address_pool=None, vpn_client_root_certificates=None, vpn_client_revoked_certificates=None, vpn_client_protocols=None, radius_server_address=None, radius_server_secret=None): 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 self.vpn_client_protocols = vpn_client_protocols + self.radius_server_address = radius_server_address + self.radius_server_secret = radius_server_secret diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/network_management_client.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/network_management_client.py index b8ab6e1ee886..52368e4a12c1 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/network_management_client.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/network_management_client.py @@ -18,17 +18,26 @@ from msrestazure.azure_operation import AzureOperationPoller import uuid from .operations.application_gateways_operations import ApplicationGatewaysOperations +from .operations.available_endpoint_services_operations import AvailableEndpointServicesOperations from .operations.express_route_circuit_authorizations_operations import ExpressRouteCircuitAuthorizationsOperations from .operations.express_route_circuit_peerings_operations import ExpressRouteCircuitPeeringsOperations from .operations.express_route_circuits_operations import ExpressRouteCircuitsOperations from .operations.express_route_service_providers_operations import ExpressRouteServiceProvidersOperations from .operations.load_balancers_operations import LoadBalancersOperations +from .operations.load_balancer_backend_address_pools_operations import LoadBalancerBackendAddressPoolsOperations +from .operations.load_balancer_frontend_ip_configurations_operations import LoadBalancerFrontendIPConfigurationsOperations +from .operations.inbound_nat_rules_operations import InboundNatRulesOperations +from .operations.load_balancer_load_balancing_rules_operations import LoadBalancerLoadBalancingRulesOperations +from .operations.load_balancer_network_interfaces_operations import LoadBalancerNetworkInterfacesOperations +from .operations.load_balancer_probes_operations import LoadBalancerProbesOperations from .operations.network_interfaces_operations import NetworkInterfacesOperations +from .operations.network_interface_ip_configurations_operations import NetworkInterfaceIPConfigurationsOperations +from .operations.network_interface_load_balancers_operations import NetworkInterfaceLoadBalancersOperations from .operations.network_security_groups_operations import NetworkSecurityGroupsOperations from .operations.security_rules_operations import SecurityRulesOperations +from .operations.default_security_rules_operations import DefaultSecurityRulesOperations from .operations.network_watchers_operations import NetworkWatchersOperations from .operations.packet_captures_operations import PacketCapturesOperations -from .operations.available_private_access_services_operations import AvailablePrivateAccessServicesOperations from .operations.public_ip_addresses_operations import PublicIPAddressesOperations from .operations.route_filters_operations import RouteFiltersOperations from .operations.route_filter_rules_operations import RouteFilterRulesOperations @@ -89,6 +98,8 @@ class NetworkManagementClient(object): :ivar application_gateways: ApplicationGateways operations :vartype application_gateways: azure.mgmt.network.v2017_06_01.operations.ApplicationGatewaysOperations + :ivar available_endpoint_services: AvailableEndpointServices operations + :vartype available_endpoint_services: azure.mgmt.network.v2017_06_01.operations.AvailableEndpointServicesOperations :ivar express_route_circuit_authorizations: ExpressRouteCircuitAuthorizations operations :vartype express_route_circuit_authorizations: azure.mgmt.network.v2017_06_01.operations.ExpressRouteCircuitAuthorizationsOperations :ivar express_route_circuit_peerings: ExpressRouteCircuitPeerings operations @@ -99,18 +110,34 @@ class NetworkManagementClient(object): :vartype express_route_service_providers: azure.mgmt.network.v2017_06_01.operations.ExpressRouteServiceProvidersOperations :ivar load_balancers: LoadBalancers operations :vartype load_balancers: azure.mgmt.network.v2017_06_01.operations.LoadBalancersOperations + :ivar load_balancer_backend_address_pools: LoadBalancerBackendAddressPools operations + :vartype load_balancer_backend_address_pools: azure.mgmt.network.v2017_06_01.operations.LoadBalancerBackendAddressPoolsOperations + :ivar load_balancer_frontend_ip_configurations: LoadBalancerFrontendIPConfigurations operations + :vartype load_balancer_frontend_ip_configurations: azure.mgmt.network.v2017_06_01.operations.LoadBalancerFrontendIPConfigurationsOperations + :ivar inbound_nat_rules: InboundNatRules operations + :vartype inbound_nat_rules: azure.mgmt.network.v2017_06_01.operations.InboundNatRulesOperations + :ivar load_balancer_load_balancing_rules: LoadBalancerLoadBalancingRules operations + :vartype load_balancer_load_balancing_rules: azure.mgmt.network.v2017_06_01.operations.LoadBalancerLoadBalancingRulesOperations + :ivar load_balancer_network_interfaces: LoadBalancerNetworkInterfaces operations + :vartype load_balancer_network_interfaces: azure.mgmt.network.v2017_06_01.operations.LoadBalancerNetworkInterfacesOperations + :ivar load_balancer_probes: LoadBalancerProbes operations + :vartype load_balancer_probes: azure.mgmt.network.v2017_06_01.operations.LoadBalancerProbesOperations :ivar network_interfaces: NetworkInterfaces operations :vartype network_interfaces: azure.mgmt.network.v2017_06_01.operations.NetworkInterfacesOperations + :ivar network_interface_ip_configurations: NetworkInterfaceIPConfigurations operations + :vartype network_interface_ip_configurations: azure.mgmt.network.v2017_06_01.operations.NetworkInterfaceIPConfigurationsOperations + :ivar network_interface_load_balancers: NetworkInterfaceLoadBalancers operations + :vartype network_interface_load_balancers: azure.mgmt.network.v2017_06_01.operations.NetworkInterfaceLoadBalancersOperations :ivar network_security_groups: NetworkSecurityGroups operations :vartype network_security_groups: azure.mgmt.network.v2017_06_01.operations.NetworkSecurityGroupsOperations :ivar security_rules: SecurityRules operations :vartype security_rules: azure.mgmt.network.v2017_06_01.operations.SecurityRulesOperations + :ivar default_security_rules: DefaultSecurityRules operations + :vartype default_security_rules: azure.mgmt.network.v2017_06_01.operations.DefaultSecurityRulesOperations :ivar network_watchers: NetworkWatchers operations :vartype network_watchers: azure.mgmt.network.v2017_06_01.operations.NetworkWatchersOperations :ivar packet_captures: PacketCaptures operations :vartype packet_captures: azure.mgmt.network.v2017_06_01.operations.PacketCapturesOperations - :ivar available_private_access_services: AvailablePrivateAccessServices operations - :vartype available_private_access_services: azure.mgmt.network.v2017_06_01.operations.AvailablePrivateAccessServicesOperations :ivar public_ip_addresses: PublicIPAddresses operations :vartype public_ip_addresses: azure.mgmt.network.v2017_06_01.operations.PublicIPAddressesOperations :ivar route_filters: RouteFilters operations @@ -160,6 +187,8 @@ def __init__( self.application_gateways = ApplicationGatewaysOperations( self._client, self.config, self._serialize, self._deserialize) + self.available_endpoint_services = AvailableEndpointServicesOperations( + self._client, self.config, self._serialize, self._deserialize) self.express_route_circuit_authorizations = ExpressRouteCircuitAuthorizationsOperations( self._client, self.config, self._serialize, self._deserialize) self.express_route_circuit_peerings = ExpressRouteCircuitPeeringsOperations( @@ -170,18 +199,34 @@ def __init__( self._client, self.config, self._serialize, self._deserialize) self.load_balancers = LoadBalancersOperations( self._client, self.config, self._serialize, self._deserialize) + self.load_balancer_backend_address_pools = LoadBalancerBackendAddressPoolsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.load_balancer_frontend_ip_configurations = LoadBalancerFrontendIPConfigurationsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.inbound_nat_rules = InboundNatRulesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.load_balancer_load_balancing_rules = LoadBalancerLoadBalancingRulesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.load_balancer_network_interfaces = LoadBalancerNetworkInterfacesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.load_balancer_probes = LoadBalancerProbesOperations( + self._client, self.config, self._serialize, self._deserialize) self.network_interfaces = NetworkInterfacesOperations( self._client, self.config, self._serialize, self._deserialize) + self.network_interface_ip_configurations = NetworkInterfaceIPConfigurationsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.network_interface_load_balancers = NetworkInterfaceLoadBalancersOperations( + self._client, self.config, self._serialize, self._deserialize) self.network_security_groups = NetworkSecurityGroupsOperations( self._client, self.config, self._serialize, self._deserialize) self.security_rules = SecurityRulesOperations( self._client, self.config, self._serialize, self._deserialize) + self.default_security_rules = DefaultSecurityRulesOperations( + self._client, self.config, self._serialize, self._deserialize) self.network_watchers = NetworkWatchersOperations( self._client, self.config, self._serialize, self._deserialize) self.packet_captures = PacketCapturesOperations( self._client, self.config, self._serialize, self._deserialize) - self.available_private_access_services = AvailablePrivateAccessServicesOperations( - self._client, self.config, self._serialize, self._deserialize) self.public_ip_addresses = PublicIPAddressesOperations( self._client, self.config, self._serialize, self._deserialize) self.route_filters = RouteFiltersOperations( diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/__init__.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/__init__.py index f242b46a3db0..36515998d7c5 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/__init__.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/__init__.py @@ -10,17 +10,26 @@ # -------------------------------------------------------------------------- from .application_gateways_operations import ApplicationGatewaysOperations +from .available_endpoint_services_operations import AvailableEndpointServicesOperations from .express_route_circuit_authorizations_operations import ExpressRouteCircuitAuthorizationsOperations from .express_route_circuit_peerings_operations import ExpressRouteCircuitPeeringsOperations from .express_route_circuits_operations import ExpressRouteCircuitsOperations from .express_route_service_providers_operations import ExpressRouteServiceProvidersOperations from .load_balancers_operations import LoadBalancersOperations +from .load_balancer_backend_address_pools_operations import LoadBalancerBackendAddressPoolsOperations +from .load_balancer_frontend_ip_configurations_operations import LoadBalancerFrontendIPConfigurationsOperations +from .inbound_nat_rules_operations import InboundNatRulesOperations +from .load_balancer_load_balancing_rules_operations import LoadBalancerLoadBalancingRulesOperations +from .load_balancer_network_interfaces_operations import LoadBalancerNetworkInterfacesOperations +from .load_balancer_probes_operations import LoadBalancerProbesOperations from .network_interfaces_operations import NetworkInterfacesOperations +from .network_interface_ip_configurations_operations import NetworkInterfaceIPConfigurationsOperations +from .network_interface_load_balancers_operations import NetworkInterfaceLoadBalancersOperations from .network_security_groups_operations import NetworkSecurityGroupsOperations from .security_rules_operations import SecurityRulesOperations +from .default_security_rules_operations import DefaultSecurityRulesOperations from .network_watchers_operations import NetworkWatchersOperations from .packet_captures_operations import PacketCapturesOperations -from .available_private_access_services_operations import AvailablePrivateAccessServicesOperations from .public_ip_addresses_operations import PublicIPAddressesOperations from .route_filters_operations import RouteFiltersOperations from .route_filter_rules_operations import RouteFilterRulesOperations @@ -37,17 +46,26 @@ __all__ = [ 'ApplicationGatewaysOperations', + 'AvailableEndpointServicesOperations', 'ExpressRouteCircuitAuthorizationsOperations', 'ExpressRouteCircuitPeeringsOperations', 'ExpressRouteCircuitsOperations', 'ExpressRouteServiceProvidersOperations', 'LoadBalancersOperations', + 'LoadBalancerBackendAddressPoolsOperations', + 'LoadBalancerFrontendIPConfigurationsOperations', + 'InboundNatRulesOperations', + 'LoadBalancerLoadBalancingRulesOperations', + 'LoadBalancerNetworkInterfacesOperations', + 'LoadBalancerProbesOperations', 'NetworkInterfacesOperations', + 'NetworkInterfaceIPConfigurationsOperations', + 'NetworkInterfaceLoadBalancersOperations', 'NetworkSecurityGroupsOperations', 'SecurityRulesOperations', + 'DefaultSecurityRulesOperations', 'NetworkWatchersOperations', 'PacketCapturesOperations', - 'AvailablePrivateAccessServicesOperations', 'PublicIPAddressesOperations', 'RouteFiltersOperations', 'RouteFilterRulesOperations', diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/available_private_access_services_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/available_endpoint_services_operations.py similarity index 80% rename from azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/available_private_access_services_operations.py rename to azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/available_endpoint_services_operations.py index 55e0c620d010..cbe37e2994b6 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/available_private_access_services_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/available_endpoint_services_operations.py @@ -16,8 +16,8 @@ from .. import models -class AvailablePrivateAccessServicesOperations(object): - """AvailablePrivateAccessServicesOperations operations. +class AvailableEndpointServicesOperations(object): + """AvailableEndpointServicesOperations operations. :param client: Client for service requests. :param config: Configuration of service client. @@ -37,28 +37,26 @@ def __init__(self, client, config, serializer, deserializer): def list( self, location, custom_headers=None, raw=False, **operation_config): - """List what values of private access services are available for use. + """List what values of endpoint services are available for use. - :param location: The location to check available private access - values. + :param location: The location to check available endpoint services. :type location: str :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`. - :return: An iterator like instance of - :class:`PrivateAccessServiceResult - ` - :rtype: :class:`PrivateAccessServiceResultPaged - ` + :return: An iterator like instance of :class:`EndpointServiceResult + ` + :rtype: :class:`EndpointServiceResultPaged + ` :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/privateAccessServices' + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices' path_format_arguments = { 'location': self._serialize.url("location", location, 'str'), 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') @@ -96,11 +94,11 @@ def internal_paging(next_link=None, raw=False): return response # Deserialize response - deserialized = models.PrivateAccessServiceResultPaged(internal_paging, self._deserialize.dependencies) + deserialized = models.EndpointServiceResultPaged(internal_paging, self._deserialize.dependencies) if raw: header_dict = {} - client_raw_response = models.PrivateAccessServiceResultPaged(internal_paging, self._deserialize.dependencies, header_dict) + client_raw_response = models.EndpointServiceResultPaged(internal_paging, self._deserialize.dependencies, header_dict) return client_raw_response return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/default_security_rules_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/default_security_rules_operations.py new file mode 100644 index 000000000000..0f0f688237a1 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/default_security_rules_operations.py @@ -0,0 +1,178 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class DefaultSecurityRulesOperations(object): + """DefaultSecurityRulesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-06-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-06-01" + + self.config = config + + def list( + self, resource_group_name, network_security_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all default security rules in a network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security + group. + :type network_security_group_name: str + :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`. + :return: An iterator like instance of :class:`SecurityRule + ` + :rtype: :class:`SecurityRulePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.SecurityRulePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.SecurityRulePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get( + self, resource_group_name, network_security_group_name, default_security_rule_name, custom_headers=None, raw=False, **operation_config): + """Get the specified default network security rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security + group. + :type network_security_group_name: str + :param default_security_rule_name: The name of the default security + rule. + :type default_security_rule_name: str + :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`. + :return: :class:`SecurityRule + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`SecurityRule + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'defaultSecurityRuleName': self._serialize.url("default_security_rule_name", default_security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('SecurityRule', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/inbound_nat_rules_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/inbound_nat_rules_operations.py new file mode 100644 index 000000000000..9beb33827ef0 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/inbound_nat_rules_operations.py @@ -0,0 +1,364 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class InboundNatRulesOperations(object): + """InboundNatRulesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-06-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-06-01" + + self.config = config + + def list( + self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): + """Gets all the inbound nat rules in a load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :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`. + :return: An iterator like instance of :class:`InboundNatRule + ` + :rtype: :class:`InboundNatRulePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.InboundNatRulePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.InboundNatRulePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def delete( + self, resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified load balancer inbound nat rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param inbound_nat_rule_name: The name of the inbound nat rule. + :type inbound_nat_rule_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [204, 202, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, load_balancer_name, inbound_nat_rule_name, expand=None, custom_headers=None, raw=False, **operation_config): + """Gets the specified load balancer inbound nat rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param inbound_nat_rule_name: The name of the inbound nat rule. + :type inbound_nat_rule_name: str + :param expand: Expands referenced resources. + :type expand: str + :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`. + :return: :class:`InboundNatRule + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`InboundNatRule + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('InboundNatRule', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a load balancer inbound nat rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param inbound_nat_rule_name: The name of the inbound nat rule. + :type inbound_nat_rule_name: str + :param inbound_nat_rule_parameters: Parameters supplied to the create + or update inbound nat rule operation. + :type inbound_nat_rule_parameters: :class:`InboundNatRule + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`InboundNatRule + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(inbound_nat_rule_parameters, 'InboundNatRule') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [201, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('InboundNatRule', response) + if response.status_code == 200: + deserialized = self._deserialize('InboundNatRule', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_backend_address_pools_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_backend_address_pools_operations.py new file mode 100644 index 000000000000..7191e781b7d9 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_backend_address_pools_operations.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class LoadBalancerBackendAddressPoolsOperations(object): + """LoadBalancerBackendAddressPoolsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-06-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-06-01" + + self.config = config + + def list( + self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): + """Gets all the load balancer backed address pools. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :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`. + :return: An iterator like instance of :class:`BackendAddressPool + ` + :rtype: :class:`BackendAddressPoolPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.BackendAddressPoolPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.BackendAddressPoolPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get( + self, resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers=None, raw=False, **operation_config): + """Gets load balancer backend address pool. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param backend_address_pool_name: The name of the backend address + pool. + :type backend_address_pool_name: str + :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`. + :return: :class:`BackendAddressPool + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`BackendAddressPool + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'backendAddressPoolName': self._serialize.url("backend_address_pool_name", backend_address_pool_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('BackendAddressPool', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_frontend_ip_configurations_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_frontend_ip_configurations_operations.py new file mode 100644 index 000000000000..e57fdcc6d224 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_frontend_ip_configurations_operations.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class LoadBalancerFrontendIPConfigurationsOperations(object): + """LoadBalancerFrontendIPConfigurationsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-06-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-06-01" + + self.config = config + + def list( + self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): + """Gets all the load balancer frontend IP configurations. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :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`. + :return: An iterator like instance of :class:`FrontendIPConfiguration + ` + :rtype: :class:`FrontendIPConfigurationPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.FrontendIPConfigurationPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.FrontendIPConfigurationPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get( + self, resource_group_name, load_balancer_name, frontend_ip_configuration_name, custom_headers=None, raw=False, **operation_config): + """Gets load balancer frontend IP configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param frontend_ip_configuration_name: The name of the frontend IP + configuration. + :type frontend_ip_configuration_name: str + :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`. + :return: :class:`FrontendIPConfiguration + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`FrontendIPConfiguration + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'frontendIPConfigurationName': self._serialize.url("frontend_ip_configuration_name", frontend_ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('FrontendIPConfiguration', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_load_balancing_rules_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_load_balancing_rules_operations.py new file mode 100644 index 000000000000..5685171c33b2 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_load_balancing_rules_operations.py @@ -0,0 +1,175 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class LoadBalancerLoadBalancingRulesOperations(object): + """LoadBalancerLoadBalancingRulesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-06-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-06-01" + + self.config = config + + def list( + self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): + """Gets all the load balancing rules in a load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :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`. + :return: An iterator like instance of :class:`LoadBalancingRule + ` + :rtype: :class:`LoadBalancingRulePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.LoadBalancingRulePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.LoadBalancingRulePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get( + self, resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers=None, raw=False, **operation_config): + """Gets the specified load balancer load balancing rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param load_balancing_rule_name: The name of the load balancing rule. + :type load_balancing_rule_name: str + :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`. + :return: :class:`LoadBalancingRule + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`LoadBalancingRule + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'loadBalancingRuleName': self._serialize.url("load_balancing_rule_name", load_balancing_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('LoadBalancingRule', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_network_interfaces_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_network_interfaces_operations.py new file mode 100644 index 000000000000..6f82b213d3f2 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_network_interfaces_operations.py @@ -0,0 +1,107 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class LoadBalancerNetworkInterfacesOperations(object): + """LoadBalancerNetworkInterfacesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-06-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-06-01" + + self.config = config + + def list( + self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): + """Gets associated load balancer network interfaces. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :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`. + :return: An iterator like instance of :class:`NetworkInterface + ` + :rtype: :class:`NetworkInterfacePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.NetworkInterfacePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.NetworkInterfacePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_probes_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_probes_operations.py new file mode 100644 index 000000000000..de5fd24a3677 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/load_balancer_probes_operations.py @@ -0,0 +1,173 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class LoadBalancerProbesOperations(object): + """LoadBalancerProbesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-06-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-06-01" + + self.config = config + + def list( + self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): + """Gets all the load balancer probes. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :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`. + :return: An iterator like instance of :class:`Probe + ` + :rtype: :class:`ProbePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.ProbePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.ProbePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get( + self, resource_group_name, load_balancer_name, probe_name, custom_headers=None, raw=False, **operation_config): + """Gets load balancer probe. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param probe_name: The name of the probe. + :type probe_name: str + :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`. + :return: :class:`Probe ` + or :class:`ClientRawResponse` if + raw=true + :rtype: :class:`Probe ` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'probeName': self._serialize.url("probe_name", probe_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Probe', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/network_interface_ip_configurations_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/network_interface_ip_configurations_operations.py new file mode 100644 index 000000000000..57470356febc --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/network_interface_ip_configurations_operations.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class NetworkInterfaceIPConfigurationsOperations(object): + """NetworkInterfaceIPConfigurationsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-06-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-06-01" + + self.config = config + + def list( + self, resource_group_name, network_interface_name, custom_headers=None, raw=False, **operation_config): + """Get all ip configurations in a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :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`. + :return: An iterator like instance of + :class:`NetworkInterfaceIPConfiguration + ` + :rtype: :class:`NetworkInterfaceIPConfigurationPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.NetworkInterfaceIPConfigurationPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.NetworkInterfaceIPConfigurationPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get( + self, resource_group_name, network_interface_name, ip_configuration_name, custom_headers=None, raw=False, **operation_config): + """Gets the specified network interface ip configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param ip_configuration_name: The name of the ip configuration name. + :type ip_configuration_name: str + :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`. + :return: :class:`NetworkInterfaceIPConfiguration + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: :class:`NetworkInterfaceIPConfiguration + ` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('NetworkInterfaceIPConfiguration', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/network_interface_load_balancers_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/network_interface_load_balancers_operations.py new file mode 100644 index 000000000000..cb759d12d2b4 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/network_interface_load_balancers_operations.py @@ -0,0 +1,107 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class NetworkInterfaceLoadBalancersOperations(object): + """NetworkInterfaceLoadBalancersOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-06-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-06-01" + + self.config = config + + def list( + self, resource_group_name, network_interface_name, custom_headers=None, raw=False, **operation_config): + """Get all load balancers in a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :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`. + :return: An iterator like instance of :class:`LoadBalancer + ` + :rtype: :class:`LoadBalancerPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.LoadBalancerPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.LoadBalancerPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/virtual_network_gateways_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/virtual_network_gateways_operations.py index b09128f27749..0fe18d37589a 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/virtual_network_gateways_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/virtual_network_gateways_operations.py @@ -351,6 +351,79 @@ def internal_paging(next_link=None, raw=False): return deserialized + def list_connections( + self, resource_group_name, virtual_network_gateway_name, custom_headers=None, raw=False, **operation_config): + """Gets all the connections in a virtual network gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network + gateway. + :type virtual_network_gateway_name: str + :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`. + :return: An iterator like instance of + :class:`VirtualNetworkGatewayConnectionListEntity + ` + :rtype: :class:`VirtualNetworkGatewayConnectionListEntityPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.VirtualNetworkGatewayConnectionListEntityPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.VirtualNetworkGatewayConnectionListEntityPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + def reset( self, resource_group_name, virtual_network_gateway_name, gateway_vip=None, custom_headers=None, raw=False, **operation_config): """Resets the primary of the virtual network gateway in the specified diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/__init__.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/__init__.py new file mode 100644 index 000000000000..2a2f032f38aa --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/__init__.py @@ -0,0 +1,18 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .network_management_client import NetworkManagementClient +from .version import VERSION + +__all__ = ['NetworkManagementClient'] + +__version__ = VERSION + diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/build.json b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/build.json new file mode 100644 index 000000000000..84a188cf216c --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/build.json @@ -0,0 +1 @@ +{"autorest": "1.2.2", "date": "2017-08-17T16:04:55Z", "version": ""} \ No newline at end of file diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/__init__.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/__init__.py new file mode 100644 index 000000000000..9a880678f3cb --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/__init__.py @@ -0,0 +1,520 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource +from .backend_address_pool import BackendAddressPool +from .inbound_nat_rule import InboundNatRule +from .security_rule import SecurityRule +from .network_interface_dns_settings import NetworkInterfaceDnsSettings +from .network_interface import NetworkInterface +from .network_security_group import NetworkSecurityGroup +from .route import Route +from .route_table import RouteTable +from .service_endpoint_properties_format import ServiceEndpointPropertiesFormat +from .public_ip_address_sku import PublicIPAddressSku +from .public_ip_address_dns_settings import PublicIPAddressDnsSettings +from .public_ip_address import PublicIPAddress +from .ip_configuration import IPConfiguration +from .resource_navigation_link import ResourceNavigationLink +from .subnet import Subnet +from .network_interface_ip_configuration import NetworkInterfaceIPConfiguration +from .application_gateway_backend_address import ApplicationGatewayBackendAddress +from .application_gateway_backend_address_pool import ApplicationGatewayBackendAddressPool +from .application_gateway_connection_draining import ApplicationGatewayConnectionDraining +from .application_gateway_backend_http_settings import ApplicationGatewayBackendHttpSettings +from .application_gateway_backend_health_server import ApplicationGatewayBackendHealthServer +from .application_gateway_backend_health_http_settings import ApplicationGatewayBackendHealthHttpSettings +from .application_gateway_backend_health_pool import ApplicationGatewayBackendHealthPool +from .application_gateway_backend_health import ApplicationGatewayBackendHealth +from .application_gateway_sku import ApplicationGatewaySku +from .application_gateway_ssl_policy import ApplicationGatewaySslPolicy +from .application_gateway_ip_configuration import ApplicationGatewayIPConfiguration +from .application_gateway_authentication_certificate import ApplicationGatewayAuthenticationCertificate +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_http_listener import ApplicationGatewayHttpListener +from .application_gateway_path_rule import ApplicationGatewayPathRule +from .application_gateway_probe_health_response_match import ApplicationGatewayProbeHealthResponseMatch +from .application_gateway_probe import ApplicationGatewayProbe +from .application_gateway_request_routing_rule import ApplicationGatewayRequestRoutingRule +from .application_gateway_redirect_configuration import ApplicationGatewayRedirectConfiguration +from .application_gateway_url_path_map import ApplicationGatewayUrlPathMap +from .application_gateway_firewall_disabled_rule_group import ApplicationGatewayFirewallDisabledRuleGroup +from .application_gateway_web_application_firewall_configuration import ApplicationGatewayWebApplicationFirewallConfiguration +from .application_gateway import ApplicationGateway +from .application_gateway_firewall_rule import ApplicationGatewayFirewallRule +from .application_gateway_firewall_rule_group import ApplicationGatewayFirewallRuleGroup +from .application_gateway_firewall_rule_set import ApplicationGatewayFirewallRuleSet +from .application_gateway_available_waf_rule_sets_result import ApplicationGatewayAvailableWafRuleSetsResult +from .application_gateway_available_ssl_options import ApplicationGatewayAvailableSslOptions +from .application_gateway_ssl_predefined_policy import ApplicationGatewaySslPredefinedPolicy +from .resource import Resource +from .dns_name_availability_result import DnsNameAvailabilityResult +from .endpoint_service_result import EndpointServiceResult +from .express_route_circuit_authorization import ExpressRouteCircuitAuthorization +from .express_route_circuit_peering_config import ExpressRouteCircuitPeeringConfig +from .route_filter_rule import RouteFilterRule +from .express_route_circuit_stats import ExpressRouteCircuitStats +from .express_route_circuit_peering import ExpressRouteCircuitPeering +from .route_filter import RouteFilter +from .ipv6_express_route_circuit_peering_config import Ipv6ExpressRouteCircuitPeeringConfig +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_circuits_arp_table_list_result import ExpressRouteCircuitsArpTableListResult +from .express_route_circuit_routes_table import ExpressRouteCircuitRoutesTable +from .express_route_circuits_routes_table_list_result import ExpressRouteCircuitsRoutesTableListResult +from .express_route_circuit_routes_table_summary import ExpressRouteCircuitRoutesTableSummary +from .express_route_circuits_routes_table_summary_list_result import ExpressRouteCircuitsRoutesTableSummaryListResult +from .express_route_service_provider_bandwidths_offered import ExpressRouteServiceProviderBandwidthsOffered +from .express_route_service_provider import ExpressRouteServiceProvider +from .load_balancer_sku import LoadBalancerSku +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 .error_details import ErrorDetails +from .error import Error +from .azure_async_operation_result import AzureAsyncOperationResult +from .effective_network_security_group_association import EffectiveNetworkSecurityGroupAssociation +from .effective_network_security_rule import EffectiveNetworkSecurityRule +from .effective_network_security_group import EffectiveNetworkSecurityGroup +from .effective_network_security_group_list_result import EffectiveNetworkSecurityGroupListResult +from .effective_route import EffectiveRoute +from .effective_route_list_result import EffectiveRouteListResult +from .network_watcher import NetworkWatcher +from .topology_parameters import TopologyParameters +from .topology_association import TopologyAssociation +from .topology_resource import TopologyResource +from .topology import Topology +from .verification_ip_flow_parameters import VerificationIPFlowParameters +from .verification_ip_flow_result import VerificationIPFlowResult +from .next_hop_parameters import NextHopParameters +from .next_hop_result import NextHopResult +from .security_group_view_parameters import SecurityGroupViewParameters +from .network_interface_association import NetworkInterfaceAssociation +from .subnet_association import SubnetAssociation +from .security_rule_associations import SecurityRuleAssociations +from .security_group_network_interface import SecurityGroupNetworkInterface +from .security_group_view_result import SecurityGroupViewResult +from .packet_capture_storage_location import PacketCaptureStorageLocation +from .packet_capture_filter import PacketCaptureFilter +from .packet_capture_parameters import PacketCaptureParameters +from .packet_capture import PacketCapture +from .packet_capture_result import PacketCaptureResult +from .packet_capture_query_status_result import PacketCaptureQueryStatusResult +from .troubleshooting_parameters import TroubleshootingParameters +from .query_troubleshooting_parameters import QueryTroubleshootingParameters +from .troubleshooting_recommended_actions import TroubleshootingRecommendedActions +from .troubleshooting_details import TroubleshootingDetails +from .troubleshooting_result import TroubleshootingResult +from .retention_policy_parameters import RetentionPolicyParameters +from .flow_log_status_parameters import FlowLogStatusParameters +from .flow_log_information import FlowLogInformation +from .connectivity_source import ConnectivitySource +from .connectivity_destination import ConnectivityDestination +from .connectivity_parameters import ConnectivityParameters +from .connectivity_issue import ConnectivityIssue +from .connectivity_hop import ConnectivityHop +from .connectivity_information import ConnectivityInformation +from .patch_route_filter_rule import PatchRouteFilterRule +from .patch_route_filter import PatchRouteFilter +from .bgp_community import BGPCommunity +from .bgp_service_community import BgpServiceCommunity +from .usage_name import UsageName +from .usage import Usage +from .virtual_network_peering import VirtualNetworkPeering +from .address_space import AddressSpace +from .dhcp_options import DhcpOptions +from .virtual_network import VirtualNetwork +from .ip_address_availability_result import IPAddressAvailabilityResult +from .virtual_network_usage_name import VirtualNetworkUsageName +from .virtual_network_usage import VirtualNetworkUsage +from .virtual_network_gateway_ip_configuration import VirtualNetworkGatewayIPConfiguration +from .virtual_network_gateway_sku import VirtualNetworkGatewaySku +from .vpn_client_root_certificate import VpnClientRootCertificate +from .vpn_client_revoked_certificate import VpnClientRevokedCertificate +from .vpn_client_configuration import VpnClientConfiguration +from .bgp_settings import BgpSettings +from .bgp_peer_status import BgpPeerStatus +from .gateway_route import GatewayRoute +from .virtual_network_gateway import VirtualNetworkGateway +from .vpn_client_parameters import VpnClientParameters +from .bgp_peer_status_list_result import BgpPeerStatusListResult +from .gateway_route_list_result import GatewayRouteListResult +from .tunnel_connection_health import TunnelConnectionHealth +from .local_network_gateway import LocalNetworkGateway +from .ipsec_policy import IpsecPolicy +from .virtual_network_gateway_connection import VirtualNetworkGatewayConnection +from .connection_reset_shared_key import ConnectionResetSharedKey +from .connection_shared_key import ConnectionSharedKey +from .virtual_network_connection_gateway_reference import VirtualNetworkConnectionGatewayReference +from .virtual_network_gateway_connection_list_entity import VirtualNetworkGatewayConnectionListEntity +from .application_gateway_paged import ApplicationGatewayPaged +from .application_gateway_ssl_predefined_policy_paged import ApplicationGatewaySslPredefinedPolicyPaged +from .endpoint_service_result_paged import EndpointServiceResultPaged +from .express_route_circuit_authorization_paged import ExpressRouteCircuitAuthorizationPaged +from .express_route_circuit_peering_paged import ExpressRouteCircuitPeeringPaged +from .express_route_circuit_paged import ExpressRouteCircuitPaged +from .express_route_service_provider_paged import ExpressRouteServiceProviderPaged +from .load_balancer_paged import LoadBalancerPaged +from .backend_address_pool_paged import BackendAddressPoolPaged +from .frontend_ip_configuration_paged import FrontendIPConfigurationPaged +from .inbound_nat_rule_paged import InboundNatRulePaged +from .load_balancing_rule_paged import LoadBalancingRulePaged +from .network_interface_paged import NetworkInterfacePaged +from .probe_paged import ProbePaged +from .network_interface_ip_configuration_paged import NetworkInterfaceIPConfigurationPaged +from .network_security_group_paged import NetworkSecurityGroupPaged +from .security_rule_paged import SecurityRulePaged +from .network_watcher_paged import NetworkWatcherPaged +from .packet_capture_result_paged import PacketCaptureResultPaged +from .public_ip_address_paged import PublicIPAddressPaged +from .route_filter_paged import RouteFilterPaged +from .route_filter_rule_paged import RouteFilterRulePaged +from .route_table_paged import RouteTablePaged +from .route_paged import RoutePaged +from .bgp_service_community_paged import BgpServiceCommunityPaged +from .usage_paged import UsagePaged +from .virtual_network_paged import VirtualNetworkPaged +from .virtual_network_usage_paged import VirtualNetworkUsagePaged +from .subnet_paged import SubnetPaged +from .virtual_network_peering_paged import VirtualNetworkPeeringPaged +from .virtual_network_gateway_paged import VirtualNetworkGatewayPaged +from .virtual_network_gateway_connection_list_entity_paged import VirtualNetworkGatewayConnectionListEntityPaged +from .virtual_network_gateway_connection_paged import VirtualNetworkGatewayConnectionPaged +from .local_network_gateway_paged import LocalNetworkGatewayPaged +from .network_management_client_enums import ( + TransportProtocol, + IPAllocationMethod, + IPVersion, + SecurityRuleProtocol, + SecurityRuleAccess, + SecurityRuleDirection, + RouteNextHopType, + PublicIPAddressSkuName, + ApplicationGatewayProtocol, + ApplicationGatewayCookieBasedAffinity, + ApplicationGatewayBackendHealthServerHealth, + ApplicationGatewaySkuName, + ApplicationGatewayTier, + ApplicationGatewaySslProtocol, + ApplicationGatewaySslPolicyType, + ApplicationGatewaySslPolicyName, + ApplicationGatewaySslCipherSuite, + ApplicationGatewayRequestRoutingRuleType, + ApplicationGatewayRedirectType, + ApplicationGatewayOperationalState, + ApplicationGatewayFirewallMode, + AuthorizationUseStatus, + ExpressRouteCircuitPeeringAdvertisedPublicPrefixState, + Access, + ExpressRouteCircuitPeeringType, + ExpressRouteCircuitPeeringState, + ExpressRouteCircuitSkuTier, + ExpressRouteCircuitSkuFamily, + ServiceProviderProvisioningState, + LoadBalancerSkuName, + LoadDistribution, + ProbeProtocol, + NetworkOperationStatus, + EffectiveSecurityRuleProtocol, + EffectiveRouteSource, + EffectiveRouteState, + ProvisioningState, + AssociationType, + Direction, + Protocol, + NextHopType, + PcProtocol, + PcStatus, + PcError, + Origin, + Severity, + IssueType, + ConnectionStatus, + VirtualNetworkPeeringState, + VirtualNetworkGatewayType, + VpnType, + VirtualNetworkGatewaySkuName, + VirtualNetworkGatewaySkuTier, + VpnClientProtocol, + BgpPeerState, + ProcessorArchitecture, + AuthenticationMethod, + VirtualNetworkGatewayConnectionStatus, + VirtualNetworkGatewayConnectionType, + IpsecEncryption, + IpsecIntegrity, + IkeEncryption, + IkeIntegrity, + DhGroup, + PfsGroup, +) + +__all__ = [ + 'SubResource', + 'BackendAddressPool', + 'InboundNatRule', + 'SecurityRule', + 'NetworkInterfaceDnsSettings', + 'NetworkInterface', + 'NetworkSecurityGroup', + 'Route', + 'RouteTable', + 'ServiceEndpointPropertiesFormat', + 'PublicIPAddressSku', + 'PublicIPAddressDnsSettings', + 'PublicIPAddress', + 'IPConfiguration', + 'ResourceNavigationLink', + 'Subnet', + 'NetworkInterfaceIPConfiguration', + 'ApplicationGatewayBackendAddress', + 'ApplicationGatewayBackendAddressPool', + 'ApplicationGatewayConnectionDraining', + 'ApplicationGatewayBackendHttpSettings', + 'ApplicationGatewayBackendHealthServer', + 'ApplicationGatewayBackendHealthHttpSettings', + 'ApplicationGatewayBackendHealthPool', + 'ApplicationGatewayBackendHealth', + 'ApplicationGatewaySku', + 'ApplicationGatewaySslPolicy', + 'ApplicationGatewayIPConfiguration', + 'ApplicationGatewayAuthenticationCertificate', + 'ApplicationGatewaySslCertificate', + 'ApplicationGatewayFrontendIPConfiguration', + 'ApplicationGatewayFrontendPort', + 'ApplicationGatewayHttpListener', + 'ApplicationGatewayPathRule', + 'ApplicationGatewayProbeHealthResponseMatch', + 'ApplicationGatewayProbe', + 'ApplicationGatewayRequestRoutingRule', + 'ApplicationGatewayRedirectConfiguration', + 'ApplicationGatewayUrlPathMap', + 'ApplicationGatewayFirewallDisabledRuleGroup', + 'ApplicationGatewayWebApplicationFirewallConfiguration', + 'ApplicationGateway', + 'ApplicationGatewayFirewallRule', + 'ApplicationGatewayFirewallRuleGroup', + 'ApplicationGatewayFirewallRuleSet', + 'ApplicationGatewayAvailableWafRuleSetsResult', + 'ApplicationGatewayAvailableSslOptions', + 'ApplicationGatewaySslPredefinedPolicy', + 'Resource', + 'DnsNameAvailabilityResult', + 'EndpointServiceResult', + 'ExpressRouteCircuitAuthorization', + 'ExpressRouteCircuitPeeringConfig', + 'RouteFilterRule', + 'ExpressRouteCircuitStats', + 'ExpressRouteCircuitPeering', + 'RouteFilter', + 'Ipv6ExpressRouteCircuitPeeringConfig', + 'ExpressRouteCircuitSku', + 'ExpressRouteCircuitServiceProviderProperties', + 'ExpressRouteCircuit', + 'ExpressRouteCircuitArpTable', + 'ExpressRouteCircuitsArpTableListResult', + 'ExpressRouteCircuitRoutesTable', + 'ExpressRouteCircuitsRoutesTableListResult', + 'ExpressRouteCircuitRoutesTableSummary', + 'ExpressRouteCircuitsRoutesTableSummaryListResult', + 'ExpressRouteServiceProviderBandwidthsOffered', + 'ExpressRouteServiceProvider', + 'LoadBalancerSku', + 'FrontendIPConfiguration', + 'LoadBalancingRule', + 'Probe', + 'InboundNatPool', + 'OutboundNatRule', + 'LoadBalancer', + 'ErrorDetails', + 'Error', + 'AzureAsyncOperationResult', + 'EffectiveNetworkSecurityGroupAssociation', + 'EffectiveNetworkSecurityRule', + 'EffectiveNetworkSecurityGroup', + 'EffectiveNetworkSecurityGroupListResult', + 'EffectiveRoute', + 'EffectiveRouteListResult', + 'NetworkWatcher', + 'TopologyParameters', + 'TopologyAssociation', + 'TopologyResource', + 'Topology', + 'VerificationIPFlowParameters', + 'VerificationIPFlowResult', + 'NextHopParameters', + 'NextHopResult', + 'SecurityGroupViewParameters', + 'NetworkInterfaceAssociation', + 'SubnetAssociation', + 'SecurityRuleAssociations', + 'SecurityGroupNetworkInterface', + 'SecurityGroupViewResult', + 'PacketCaptureStorageLocation', + 'PacketCaptureFilter', + 'PacketCaptureParameters', + 'PacketCapture', + 'PacketCaptureResult', + 'PacketCaptureQueryStatusResult', + 'TroubleshootingParameters', + 'QueryTroubleshootingParameters', + 'TroubleshootingRecommendedActions', + 'TroubleshootingDetails', + 'TroubleshootingResult', + 'RetentionPolicyParameters', + 'FlowLogStatusParameters', + 'FlowLogInformation', + 'ConnectivitySource', + 'ConnectivityDestination', + 'ConnectivityParameters', + 'ConnectivityIssue', + 'ConnectivityHop', + 'ConnectivityInformation', + 'PatchRouteFilterRule', + 'PatchRouteFilter', + 'BGPCommunity', + 'BgpServiceCommunity', + 'UsageName', + 'Usage', + 'VirtualNetworkPeering', + 'AddressSpace', + 'DhcpOptions', + 'VirtualNetwork', + 'IPAddressAvailabilityResult', + 'VirtualNetworkUsageName', + 'VirtualNetworkUsage', + 'VirtualNetworkGatewayIPConfiguration', + 'VirtualNetworkGatewaySku', + 'VpnClientRootCertificate', + 'VpnClientRevokedCertificate', + 'VpnClientConfiguration', + 'BgpSettings', + 'BgpPeerStatus', + 'GatewayRoute', + 'VirtualNetworkGateway', + 'VpnClientParameters', + 'BgpPeerStatusListResult', + 'GatewayRouteListResult', + 'TunnelConnectionHealth', + 'LocalNetworkGateway', + 'IpsecPolicy', + 'VirtualNetworkGatewayConnection', + 'ConnectionResetSharedKey', + 'ConnectionSharedKey', + 'VirtualNetworkConnectionGatewayReference', + 'VirtualNetworkGatewayConnectionListEntity', + 'ApplicationGatewayPaged', + 'ApplicationGatewaySslPredefinedPolicyPaged', + 'EndpointServiceResultPaged', + 'ExpressRouteCircuitAuthorizationPaged', + 'ExpressRouteCircuitPeeringPaged', + 'ExpressRouteCircuitPaged', + 'ExpressRouteServiceProviderPaged', + 'LoadBalancerPaged', + 'BackendAddressPoolPaged', + 'FrontendIPConfigurationPaged', + 'InboundNatRulePaged', + 'LoadBalancingRulePaged', + 'NetworkInterfacePaged', + 'ProbePaged', + 'NetworkInterfaceIPConfigurationPaged', + 'NetworkSecurityGroupPaged', + 'SecurityRulePaged', + 'NetworkWatcherPaged', + 'PacketCaptureResultPaged', + 'PublicIPAddressPaged', + 'RouteFilterPaged', + 'RouteFilterRulePaged', + 'RouteTablePaged', + 'RoutePaged', + 'BgpServiceCommunityPaged', + 'UsagePaged', + 'VirtualNetworkPaged', + 'VirtualNetworkUsagePaged', + 'SubnetPaged', + 'VirtualNetworkPeeringPaged', + 'VirtualNetworkGatewayPaged', + 'VirtualNetworkGatewayConnectionListEntityPaged', + 'VirtualNetworkGatewayConnectionPaged', + 'LocalNetworkGatewayPaged', + 'TransportProtocol', + 'IPAllocationMethod', + 'IPVersion', + 'SecurityRuleProtocol', + 'SecurityRuleAccess', + 'SecurityRuleDirection', + 'RouteNextHopType', + 'PublicIPAddressSkuName', + 'ApplicationGatewayProtocol', + 'ApplicationGatewayCookieBasedAffinity', + 'ApplicationGatewayBackendHealthServerHealth', + 'ApplicationGatewaySkuName', + 'ApplicationGatewayTier', + 'ApplicationGatewaySslProtocol', + 'ApplicationGatewaySslPolicyType', + 'ApplicationGatewaySslPolicyName', + 'ApplicationGatewaySslCipherSuite', + 'ApplicationGatewayRequestRoutingRuleType', + 'ApplicationGatewayRedirectType', + 'ApplicationGatewayOperationalState', + 'ApplicationGatewayFirewallMode', + 'AuthorizationUseStatus', + 'ExpressRouteCircuitPeeringAdvertisedPublicPrefixState', + 'Access', + 'ExpressRouteCircuitPeeringType', + 'ExpressRouteCircuitPeeringState', + 'ExpressRouteCircuitSkuTier', + 'ExpressRouteCircuitSkuFamily', + 'ServiceProviderProvisioningState', + 'LoadBalancerSkuName', + 'LoadDistribution', + 'ProbeProtocol', + 'NetworkOperationStatus', + 'EffectiveSecurityRuleProtocol', + 'EffectiveRouteSource', + 'EffectiveRouteState', + 'ProvisioningState', + 'AssociationType', + 'Direction', + 'Protocol', + 'NextHopType', + 'PcProtocol', + 'PcStatus', + 'PcError', + 'Origin', + 'Severity', + 'IssueType', + 'ConnectionStatus', + 'VirtualNetworkPeeringState', + 'VirtualNetworkGatewayType', + 'VpnType', + 'VirtualNetworkGatewaySkuName', + 'VirtualNetworkGatewaySkuTier', + 'VpnClientProtocol', + 'BgpPeerState', + 'ProcessorArchitecture', + 'AuthenticationMethod', + 'VirtualNetworkGatewayConnectionStatus', + 'VirtualNetworkGatewayConnectionType', + 'IpsecEncryption', + 'IpsecIntegrity', + 'IkeEncryption', + 'IkeIntegrity', + 'DhGroup', + 'PfsGroup', +] diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/address_space.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/address_space.py new file mode 100644 index 000000000000..f6376cb109d3 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/address_space.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 of the virtual network. + + :param address_prefixes: A list of address blocks reserved for this + virtual network in CIDR notation. + :type address_prefixes: list of str + """ + + _attribute_map = { + 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + } + + def __init__(self, address_prefixes=None): + self.address_prefixes = address_prefixes diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway.py new file mode 100644 index 000000000000..d3c0e88bfd6c --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway.py @@ -0,0 +1,163 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class ApplicationGateway(Resource): + """Application gateway resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param sku: SKU of the application gateway resource. + :type sku: :class:`ApplicationGatewaySku + ` + :param ssl_policy: SSL policy of the application gateway resource. + :type ssl_policy: :class:`ApplicationGatewaySslPolicy + ` + :ivar operational_state: Operational state of the application gateway + resource. Possible values include: 'Stopped', 'Starting', 'Running', + 'Stopping' + :vartype operational_state: str or + :class:`ApplicationGatewayOperationalState + ` + :param gateway_ip_configurations: Subnets of application the gateway + resource. + :type gateway_ip_configurations: list of + :class:`ApplicationGatewayIPConfiguration + ` + :param authentication_certificates: Authentication certificates of the + application gateway resource. + :type authentication_certificates: list of + :class:`ApplicationGatewayAuthenticationCertificate + ` + :param ssl_certificates: SSL certificates of the application gateway + resource. + :type ssl_certificates: list of :class:`ApplicationGatewaySslCertificate + ` + :param frontend_ip_configurations: Frontend IP addresses of the + application gateway resource. + :type frontend_ip_configurations: list of + :class:`ApplicationGatewayFrontendIPConfiguration + ` + :param frontend_ports: Frontend ports of the application gateway resource. + :type frontend_ports: list of :class:`ApplicationGatewayFrontendPort + ` + :param probes: Probes of the application gateway resource. + :type probes: list of :class:`ApplicationGatewayProbe + ` + :param backend_address_pools: Backend address pool of the application + gateway resource. + :type backend_address_pools: list of + :class:`ApplicationGatewayBackendAddressPool + ` + :param backend_http_settings_collection: Backend http settings of the + application gateway resource. + :type backend_http_settings_collection: list of + :class:`ApplicationGatewayBackendHttpSettings + ` + :param http_listeners: Http listeners of the application gateway resource. + :type http_listeners: list of :class:`ApplicationGatewayHttpListener + ` + :param url_path_maps: URL path map of the application gateway resource. + :type url_path_maps: list of :class:`ApplicationGatewayUrlPathMap + ` + :param request_routing_rules: Request routing rules of the application + gateway resource. + :type request_routing_rules: list of + :class:`ApplicationGatewayRequestRoutingRule + ` + :param redirect_configurations: Redirect configurations of the application + gateway resource. + :type redirect_configurations: list of + :class:`ApplicationGatewayRedirectConfiguration + ` + :param web_application_firewall_configuration: Web application firewall + configuration. + :type web_application_firewall_configuration: + :class:`ApplicationGatewayWebApplicationFirewallConfiguration + ` + :param resource_guid: Resource GUID property of the application gateway + resource. + :type resource_guid: str + :param provisioning_state: Provisioning state of the application gateway + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'operational_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'properties.sku', 'type': 'ApplicationGatewaySku'}, + 'ssl_policy': {'key': 'properties.sslPolicy', 'type': 'ApplicationGatewaySslPolicy'}, + 'operational_state': {'key': 'properties.operationalState', 'type': 'str'}, + 'gateway_ip_configurations': {'key': 'properties.gatewayIPConfigurations', 'type': '[ApplicationGatewayIPConfiguration]'}, + 'authentication_certificates': {'key': 'properties.authenticationCertificates', 'type': '[ApplicationGatewayAuthenticationCertificate]'}, + 'ssl_certificates': {'key': 'properties.sslCertificates', 'type': '[ApplicationGatewaySslCertificate]'}, + 'frontend_ip_configurations': {'key': 'properties.frontendIPConfigurations', 'type': '[ApplicationGatewayFrontendIPConfiguration]'}, + 'frontend_ports': {'key': 'properties.frontendPorts', 'type': '[ApplicationGatewayFrontendPort]'}, + 'probes': {'key': 'properties.probes', 'type': '[ApplicationGatewayProbe]'}, + 'backend_address_pools': {'key': 'properties.backendAddressPools', 'type': '[ApplicationGatewayBackendAddressPool]'}, + 'backend_http_settings_collection': {'key': 'properties.backendHttpSettingsCollection', 'type': '[ApplicationGatewayBackendHttpSettings]'}, + 'http_listeners': {'key': 'properties.httpListeners', 'type': '[ApplicationGatewayHttpListener]'}, + 'url_path_maps': {'key': 'properties.urlPathMaps', 'type': '[ApplicationGatewayUrlPathMap]'}, + 'request_routing_rules': {'key': 'properties.requestRoutingRules', 'type': '[ApplicationGatewayRequestRoutingRule]'}, + 'redirect_configurations': {'key': 'properties.redirectConfigurations', 'type': '[ApplicationGatewayRedirectConfiguration]'}, + 'web_application_firewall_configuration': {'key': 'properties.webApplicationFirewallConfiguration', 'type': 'ApplicationGatewayWebApplicationFirewallConfiguration'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, location=None, tags=None, sku=None, ssl_policy=None, gateway_ip_configurations=None, authentication_certificates=None, ssl_certificates=None, frontend_ip_configurations=None, frontend_ports=None, probes=None, backend_address_pools=None, backend_http_settings_collection=None, http_listeners=None, url_path_maps=None, request_routing_rules=None, redirect_configurations=None, web_application_firewall_configuration=None, resource_guid=None, provisioning_state=None, etag=None): + super(ApplicationGateway, self).__init__(id=id, location=location, tags=tags) + self.sku = sku + self.ssl_policy = ssl_policy + self.operational_state = None + self.gateway_ip_configurations = gateway_ip_configurations + self.authentication_certificates = authentication_certificates + self.ssl_certificates = ssl_certificates + self.frontend_ip_configurations = frontend_ip_configurations + self.frontend_ports = frontend_ports + self.probes = probes + self.backend_address_pools = backend_address_pools + self.backend_http_settings_collection = backend_http_settings_collection + self.http_listeners = http_listeners + self.url_path_maps = url_path_maps + self.request_routing_rules = request_routing_rules + self.redirect_configurations = redirect_configurations + self.web_application_firewall_configuration = web_application_firewall_configuration + self.resource_guid = resource_guid + self.provisioning_state = provisioning_state + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_authentication_certificate.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_authentication_certificate.py new file mode 100644 index 000000000000..18f36b7401a7 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_authentication_certificate.py @@ -0,0 +1,51 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ApplicationGatewayAuthenticationCertificate(SubResource): + """Authentication certificates of an application gateway. + + :param id: Resource ID. + :type id: str + :param data: Certificate public data. + :type data: str + :param provisioning_state: Provisioning state of the authentication + certificate resource. Possible values are: 'Updating', 'Deleting', and + 'Failed'. + :type provisioning_state: str + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + :param type: Type of the resource. + :type type: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'data': {'key': 'properties.data', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, id=None, data=None, provisioning_state=None, name=None, etag=None, type=None): + super(ApplicationGatewayAuthenticationCertificate, self).__init__(id=id) + self.data = data + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag + self.type = type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_available_ssl_options.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_available_ssl_options.py new file mode 100644 index 000000000000..6e7f78615fd8 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_available_ssl_options.py @@ -0,0 +1,72 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class ApplicationGatewayAvailableSslOptions(Resource): + """Response for ApplicationGatewayAvailableSslOptions API service call. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param predefined_policies: List of available Ssl predefined policy. + :type predefined_policies: list of :class:`SubResource + ` + :param default_policy: Name of the Ssl predefined policy applied by + default to application gateway. Possible values include: + 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401', + 'AppGwSslPolicy20170401S' + :type default_policy: str or :class:`ApplicationGatewaySslPolicyName + ` + :param available_cipher_suites: List of available Ssl cipher suites. + :type available_cipher_suites: list of str or + :class:`ApplicationGatewaySslCipherSuite + ` + :param available_protocols: List of available Ssl protocols. + :type available_protocols: list of str or + :class:`ApplicationGatewaySslProtocol + ` + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'predefined_policies': {'key': 'properties.predefinedPolicies', 'type': '[SubResource]'}, + 'default_policy': {'key': 'properties.defaultPolicy', 'type': 'str'}, + 'available_cipher_suites': {'key': 'properties.availableCipherSuites', 'type': '[str]'}, + 'available_protocols': {'key': 'properties.availableProtocols', 'type': '[str]'}, + } + + def __init__(self, id=None, location=None, tags=None, predefined_policies=None, default_policy=None, available_cipher_suites=None, available_protocols=None): + super(ApplicationGatewayAvailableSslOptions, self).__init__(id=id, location=location, tags=tags) + self.predefined_policies = predefined_policies + self.default_policy = default_policy + self.available_cipher_suites = available_cipher_suites + self.available_protocols = available_protocols diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_available_waf_rule_sets_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_available_waf_rule_sets_result.py new file mode 100644 index 000000000000..63d13c16a488 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_available_waf_rule_sets_result.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ApplicationGatewayAvailableWafRuleSetsResult(Model): + """Response for ApplicationGatewayAvailableWafRuleSets API service call. + + :param value: The list of application gateway rule sets. + :type value: list of :class:`ApplicationGatewayFirewallRuleSet + ` + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ApplicationGatewayFirewallRuleSet]'}, + } + + def __init__(self, value=None): + self.value = value diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_address.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_address.py new file mode 100644 index 000000000000..5ff5ce4b4a5c --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_address.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ApplicationGatewayBackendAddress(Model): + """Backend address of an application gateway. + + :param fqdn: Fully qualified domain name (FQDN). + :type fqdn: str + :param ip_address: IP address + :type ip_address: str + """ + + _attribute_map = { + 'fqdn': {'key': 'fqdn', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + } + + def __init__(self, fqdn=None, ip_address=None): + self.fqdn = fqdn + self.ip_address = ip_address diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_address_pool.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_address_pool.py new file mode 100644 index 000000000000..0bdd2138beee --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_address_pool.py @@ -0,0 +1,58 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ApplicationGatewayBackendAddressPool(SubResource): + """Backend Address Pool of an application gateway. + + :param id: Resource ID. + :type id: str + :param backend_ip_configurations: Collection of references to IPs defined + in network interfaces. + :type backend_ip_configurations: list of + :class:`NetworkInterfaceIPConfiguration + ` + :param backend_addresses: Backend addresses + :type backend_addresses: list of :class:`ApplicationGatewayBackendAddress + ` + :param provisioning_state: Provisioning state of the backend address pool + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: Resource that is unique within a resource group. This name + can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + :param type: Type of the resource. + :type type: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'backend_ip_configurations': {'key': 'properties.backendIPConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'backend_addresses': {'key': 'properties.backendAddresses', 'type': '[ApplicationGatewayBackendAddress]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, id=None, backend_ip_configurations=None, backend_addresses=None, provisioning_state=None, name=None, etag=None, type=None): + super(ApplicationGatewayBackendAddressPool, self).__init__(id=id) + self.backend_ip_configurations = backend_ip_configurations + self.backend_addresses = backend_addresses + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag + self.type = type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_health.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_health.py new file mode 100644 index 000000000000..df8c1b93e160 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_health.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ApplicationGatewayBackendHealth(Model): + """List of ApplicationGatewayBackendHealthPool resources. + + :param backend_address_pools: + :type backend_address_pools: list of + :class:`ApplicationGatewayBackendHealthPool + ` + """ + + _attribute_map = { + 'backend_address_pools': {'key': 'backendAddressPools', 'type': '[ApplicationGatewayBackendHealthPool]'}, + } + + def __init__(self, backend_address_pools=None): + self.backend_address_pools = backend_address_pools diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_health_http_settings.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_health_http_settings.py new file mode 100644 index 000000000000..9d20a62b0ac6 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_health_http_settings.py @@ -0,0 +1,34 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ApplicationGatewayBackendHealthHttpSettings(Model): + """Application gateway BackendHealthHttp settings. + + :param backend_http_settings: Reference of an + ApplicationGatewayBackendHttpSettings resource. + :type backend_http_settings: :class:`ApplicationGatewayBackendHttpSettings + ` + :param servers: List of ApplicationGatewayBackendHealthServer resources. + :type servers: list of :class:`ApplicationGatewayBackendHealthServer + ` + """ + + _attribute_map = { + 'backend_http_settings': {'key': 'backendHttpSettings', 'type': 'ApplicationGatewayBackendHttpSettings'}, + 'servers': {'key': 'servers', 'type': '[ApplicationGatewayBackendHealthServer]'}, + } + + def __init__(self, backend_http_settings=None, servers=None): + self.backend_http_settings = backend_http_settings + self.servers = servers diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_health_pool.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_health_pool.py new file mode 100644 index 000000000000..64d34921ed0b --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_health_pool.py @@ -0,0 +1,36 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ApplicationGatewayBackendHealthPool(Model): + """Application gateway BackendHealth pool. + + :param backend_address_pool: Reference of an + ApplicationGatewayBackendAddressPool resource. + :type backend_address_pool: :class:`ApplicationGatewayBackendAddressPool + ` + :param backend_http_settings_collection: List of + ApplicationGatewayBackendHealthHttpSettings resources. + :type backend_http_settings_collection: list of + :class:`ApplicationGatewayBackendHealthHttpSettings + ` + """ + + _attribute_map = { + 'backend_address_pool': {'key': 'backendAddressPool', 'type': 'ApplicationGatewayBackendAddressPool'}, + 'backend_http_settings_collection': {'key': 'backendHttpSettingsCollection', 'type': '[ApplicationGatewayBackendHealthHttpSettings]'}, + } + + def __init__(self, backend_address_pool=None, backend_http_settings_collection=None): + self.backend_address_pool = backend_address_pool + self.backend_http_settings_collection = backend_http_settings_collection diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_health_server.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_health_server.py new file mode 100644 index 000000000000..2743684f78f5 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_health_server.py @@ -0,0 +1,38 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ApplicationGatewayBackendHealthServer(Model): + """Application gateway backendhealth http settings. + + :param address: IP address or FQDN of backend server. + :type address: str + :param ip_configuration: Reference of IP configuration of backend server. + :type ip_configuration: :class:`NetworkInterfaceIPConfiguration + ` + :param health: Health of backend server. Possible values include: + 'Unknown', 'Up', 'Down', 'Partial', 'Draining' + :type health: str or :class:`ApplicationGatewayBackendHealthServerHealth + ` + """ + + _attribute_map = { + 'address': {'key': 'address', 'type': 'str'}, + 'ip_configuration': {'key': 'ipConfiguration', 'type': 'NetworkInterfaceIPConfiguration'}, + 'health': {'key': 'health', 'type': 'str'}, + } + + def __init__(self, address=None, ip_configuration=None, health=None): + self.address = address + self.ip_configuration = ip_configuration + self.health = health diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_http_settings.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_http_settings.py new file mode 100644 index 000000000000..3fd01ca7a72c --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_backend_http_settings.py @@ -0,0 +1,109 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ApplicationGatewayBackendHttpSettings(SubResource): + """Backend address pool settings of an application gateway. + + :param id: Resource ID. + :type id: str + :param port: Port + :type port: int + :param protocol: Protocol. Possible values include: 'Http', 'Https' + :type protocol: str or :class:`ApplicationGatewayProtocol + ` + :param cookie_based_affinity: Cookie based affinity. Possible values + include: 'Enabled', 'Disabled' + :type cookie_based_affinity: str or + :class:`ApplicationGatewayCookieBasedAffinity + ` + :param request_timeout: Request timeout in seconds. Application Gateway + will fail the request if response is not received within RequestTimeout. + Acceptable values are from 1 second to 86400 seconds. + :type request_timeout: int + :param probe: Probe resource of an application gateway. + :type probe: :class:`SubResource + ` + :param authentication_certificates: Array of references to application + gateway authentication certificates. + :type authentication_certificates: list of :class:`SubResource + ` + :param connection_draining: Connection draining of the backend http + settings resource. + :type connection_draining: :class:`ApplicationGatewayConnectionDraining + ` + :param host_name: Host header to be sent to the backend servers. + :type host_name: str + :param pick_host_name_from_backend_address: Whether to pick host header + should be picked from the host name of the backend server. Default value + is false. + :type pick_host_name_from_backend_address: bool + :param affinity_cookie_name: Cookie name to use for the affinity cookie. + :type affinity_cookie_name: str + :param probe_enabled: Whether the probe is enabled. Default value is + false. + :type probe_enabled: bool + :param path: Path which should be used as a prefix for all HTTP requests. + Null means no path will be prefixed. Default value is null. + :type path: str + :param provisioning_state: Provisioning state of the backend http settings + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + :param type: Type of the resource. + :type type: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'port': {'key': 'properties.port', 'type': 'int'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'cookie_based_affinity': {'key': 'properties.cookieBasedAffinity', 'type': 'str'}, + 'request_timeout': {'key': 'properties.requestTimeout', 'type': 'int'}, + 'probe': {'key': 'properties.probe', 'type': 'SubResource'}, + 'authentication_certificates': {'key': 'properties.authenticationCertificates', 'type': '[SubResource]'}, + 'connection_draining': {'key': 'properties.connectionDraining', 'type': 'ApplicationGatewayConnectionDraining'}, + 'host_name': {'key': 'properties.hostName', 'type': 'str'}, + 'pick_host_name_from_backend_address': {'key': 'properties.pickHostNameFromBackendAddress', 'type': 'bool'}, + 'affinity_cookie_name': {'key': 'properties.affinityCookieName', 'type': 'str'}, + 'probe_enabled': {'key': 'properties.probeEnabled', 'type': 'bool'}, + 'path': {'key': 'properties.path', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, id=None, port=None, protocol=None, cookie_based_affinity=None, request_timeout=None, probe=None, authentication_certificates=None, connection_draining=None, host_name=None, pick_host_name_from_backend_address=None, affinity_cookie_name=None, probe_enabled=None, path=None, provisioning_state=None, name=None, etag=None, type=None): + super(ApplicationGatewayBackendHttpSettings, self).__init__(id=id) + self.port = port + self.protocol = protocol + self.cookie_based_affinity = cookie_based_affinity + self.request_timeout = request_timeout + self.probe = probe + self.authentication_certificates = authentication_certificates + self.connection_draining = connection_draining + self.host_name = host_name + self.pick_host_name_from_backend_address = pick_host_name_from_backend_address + self.affinity_cookie_name = affinity_cookie_name + self.probe_enabled = probe_enabled + self.path = path + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag + self.type = type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_connection_draining.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_connection_draining.py new file mode 100644 index 000000000000..e1912ca67c62 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_connection_draining.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ApplicationGatewayConnectionDraining(Model): + """Connection draining allows open connections to a backend server to be + active for a specified time after the backend server got removed from the + configuration. + + :param enabled: Whether connection draining is enabled or not. + :type enabled: bool + :param drain_timeout_in_sec: The number of seconds connection draining is + active. Acceptable values are from 1 second to 3600 seconds. + :type drain_timeout_in_sec: int + """ + + _validation = { + 'enabled': {'required': True}, + 'drain_timeout_in_sec': {'required': True, 'maximum': 3600, 'minimum': 1}, + } + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'drain_timeout_in_sec': {'key': 'drainTimeoutInSec', 'type': 'int'}, + } + + def __init__(self, enabled, drain_timeout_in_sec): + self.enabled = enabled + self.drain_timeout_in_sec = drain_timeout_in_sec diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_firewall_disabled_rule_group.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_firewall_disabled_rule_group.py new file mode 100644 index 000000000000..11b790332188 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_firewall_disabled_rule_group.py @@ -0,0 +1,36 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ApplicationGatewayFirewallDisabledRuleGroup(Model): + """Allows to disable rules within a rule group or an entire rule group. + + :param rule_group_name: The name of the rule group that will be disabled. + :type rule_group_name: str + :param rules: The list of rules that will be disabled. If null, all rules + of the rule group will be disabled. + :type rules: list of int + """ + + _validation = { + 'rule_group_name': {'required': True}, + } + + _attribute_map = { + 'rule_group_name': {'key': 'ruleGroupName', 'type': 'str'}, + 'rules': {'key': 'rules', 'type': '[int]'}, + } + + def __init__(self, rule_group_name, rules=None): + self.rule_group_name = rule_group_name + self.rules = rules diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_firewall_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_firewall_rule.py new file mode 100644 index 000000000000..74db98eb4e23 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_firewall_rule.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ApplicationGatewayFirewallRule(Model): + """A web application firewall rule. + + :param rule_id: The identifier of the web application firewall rule. + :type rule_id: int + :param description: The description of the web application firewall rule. + :type description: str + """ + + _validation = { + 'rule_id': {'required': True}, + } + + _attribute_map = { + 'rule_id': {'key': 'ruleId', 'type': 'int'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__(self, rule_id, description=None): + self.rule_id = rule_id + self.description = description diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_firewall_rule_group.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_firewall_rule_group.py new file mode 100644 index 000000000000..a3e409515da0 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_firewall_rule_group.py @@ -0,0 +1,43 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ApplicationGatewayFirewallRuleGroup(Model): + """A web application firewall rule group. + + :param rule_group_name: The name of the web application firewall rule + group. + :type rule_group_name: str + :param description: The description of the web application firewall rule + group. + :type description: str + :param rules: The rules of the web application firewall rule group. + :type rules: list of :class:`ApplicationGatewayFirewallRule + ` + """ + + _validation = { + 'rule_group_name': {'required': True}, + 'rules': {'required': True}, + } + + _attribute_map = { + 'rule_group_name': {'key': 'ruleGroupName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'rules': {'key': 'rules', 'type': '[ApplicationGatewayFirewallRule]'}, + } + + def __init__(self, rule_group_name, rules, description=None): + self.rule_group_name = rule_group_name + self.description = description + self.rules = rules diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_firewall_rule_set.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_firewall_rule_set.py new file mode 100644 index 000000000000..73fdd211b167 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_firewall_rule_set.py @@ -0,0 +1,70 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class ApplicationGatewayFirewallRuleSet(Resource): + """A web application firewall rule set. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param provisioning_state: The provisioning state of the web application + firewall rule set. + :type provisioning_state: str + :param rule_set_type: The type of the web application firewall rule set. + :type rule_set_type: str + :param rule_set_version: The version of the web application firewall rule + set type. + :type rule_set_version: str + :param rule_groups: The rule groups of the web application firewall rule + set. + :type rule_groups: list of :class:`ApplicationGatewayFirewallRuleGroup + ` + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'rule_set_type': {'required': True}, + 'rule_set_version': {'required': True}, + 'rule_groups': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'rule_set_type': {'key': 'properties.ruleSetType', 'type': 'str'}, + 'rule_set_version': {'key': 'properties.ruleSetVersion', 'type': 'str'}, + 'rule_groups': {'key': 'properties.ruleGroups', 'type': '[ApplicationGatewayFirewallRuleGroup]'}, + } + + def __init__(self, rule_set_type, rule_set_version, rule_groups, id=None, location=None, tags=None, provisioning_state=None): + super(ApplicationGatewayFirewallRuleSet, self).__init__(id=id, location=location, tags=tags) + self.provisioning_state = provisioning_state + self.rule_set_type = rule_set_type + self.rule_set_version = rule_set_version + self.rule_groups = rule_groups diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_frontend_ip_configuration.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_frontend_ip_configuration.py new file mode 100644 index 000000000000..7afbc7d36192 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_frontend_ip_configuration.py @@ -0,0 +1,67 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ApplicationGatewayFrontendIPConfiguration(SubResource): + """Frontend IP configuration of an application gateway. + + :param id: Resource ID. + :type id: str + :param private_ip_address: PrivateIPAddress of the network interface IP + Configuration. + :type private_ip_address: str + :param private_ip_allocation_method: PrivateIP allocation method. Possible + values include: 'Static', 'Dynamic' + :type private_ip_allocation_method: str or :class:`IPAllocationMethod + ` + :param subnet: Reference of the subnet resource. + :type subnet: :class:`SubResource + ` + :param public_ip_address: Reference of the PublicIP resource. + :type public_ip_address: :class:`SubResource + ` + :param provisioning_state: Provisioning state of the public IP resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + :param type: Type of the resource. + :type type: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, id=None, private_ip_address=None, private_ip_allocation_method=None, subnet=None, public_ip_address=None, provisioning_state=None, name=None, etag=None, type=None): + super(ApplicationGatewayFrontendIPConfiguration, self).__init__(id=id) + self.private_ip_address = private_ip_address + self.private_ip_allocation_method = private_ip_allocation_method + self.subnet = subnet + self.public_ip_address = public_ip_address + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag + self.type = type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_frontend_port.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_frontend_port.py new file mode 100644 index 000000000000..2b1b32d1b79e --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_frontend_port.py @@ -0,0 +1,50 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ApplicationGatewayFrontendPort(SubResource): + """Frontend port of an application gateway. + + :param id: Resource ID. + :type id: str + :param port: Frontend port + :type port: int + :param provisioning_state: Provisioning state of the frontend port + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + :param type: Type of the resource. + :type type: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'port': {'key': 'properties.port', 'type': 'int'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, id=None, port=None, provisioning_state=None, name=None, etag=None, type=None): + super(ApplicationGatewayFrontendPort, self).__init__(id=id) + self.port = port + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag + self.type = type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_http_listener.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_http_listener.py new file mode 100644 index 000000000000..ba6b75f14da6 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_http_listener.py @@ -0,0 +1,77 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ApplicationGatewayHttpListener(SubResource): + """Http listener of an application gateway. + + :param id: Resource ID. + :type id: str + :param frontend_ip_configuration: Frontend IP configuration resource of an + application gateway. + :type frontend_ip_configuration: :class:`SubResource + ` + :param frontend_port: Frontend port resource of an application gateway. + :type frontend_port: :class:`SubResource + ` + :param protocol: Protocol. Possible values include: 'Http', 'Https' + :type protocol: str or :class:`ApplicationGatewayProtocol + ` + :param host_name: Host name of HTTP listener. + :type host_name: str + :param ssl_certificate: SSL certificate resource of an application + gateway. + :type ssl_certificate: :class:`SubResource + ` + :param require_server_name_indication: Applicable only if protocol is + https. Enables SNI for multi-hosting. + :type require_server_name_indication: bool + :param provisioning_state: Provisioning state of the HTTP listener + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + :param type: Type of the resource. + :type type: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'frontend_ip_configuration': {'key': 'properties.frontendIPConfiguration', 'type': 'SubResource'}, + 'frontend_port': {'key': 'properties.frontendPort', 'type': 'SubResource'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'host_name': {'key': 'properties.hostName', 'type': 'str'}, + 'ssl_certificate': {'key': 'properties.sslCertificate', 'type': 'SubResource'}, + 'require_server_name_indication': {'key': 'properties.requireServerNameIndication', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, id=None, frontend_ip_configuration=None, frontend_port=None, protocol=None, host_name=None, ssl_certificate=None, require_server_name_indication=None, provisioning_state=None, name=None, etag=None, type=None): + super(ApplicationGatewayHttpListener, self).__init__(id=id) + self.frontend_ip_configuration = frontend_ip_configuration + self.frontend_port = frontend_port + self.protocol = protocol + self.host_name = host_name + self.ssl_certificate = ssl_certificate + self.require_server_name_indication = require_server_name_indication + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag + self.type = type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ip_configuration.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ip_configuration.py new file mode 100644 index 000000000000..cf89823faf96 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ip_configuration.py @@ -0,0 +1,54 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ApplicationGatewayIPConfiguration(SubResource): + """IP configuration of an application gateway. Currently 1 public and 1 + private IP configuration is allowed. + + :param id: Resource ID. + :type id: str + :param subnet: Reference of the subnet resource. A subnet from where + application gateway gets its private address. + :type subnet: :class:`SubResource + ` + :param provisioning_state: Provisioning state of the application gateway + subnet resource. Possible values are: 'Updating', 'Deleting', and + 'Failed'. + :type provisioning_state: str + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + :param type: Type of the resource. + :type type: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, id=None, subnet=None, provisioning_state=None, name=None, etag=None, type=None): + super(ApplicationGatewayIPConfiguration, self).__init__(id=id) + self.subnet = subnet + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag + self.type = type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_paged.py new file mode 100644 index 000000000000..494bd009e402 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class ApplicationGatewayPaged(Paged): + """ + A paging container for iterating over a list of :class:`ApplicationGateway ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[ApplicationGateway]'} + } + + def __init__(self, *args, **kwargs): + + super(ApplicationGatewayPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_path_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_path_rule.py new file mode 100644 index 000000000000..67b0057a0494 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_path_rule.py @@ -0,0 +1,68 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ApplicationGatewayPathRule(SubResource): + """Path rule of URL path map of an application gateway. + + :param id: Resource ID. + :type id: str + :param paths: Path rules of URL path map. + :type paths: list of str + :param backend_address_pool: Backend address pool resource of URL path map + path rule. + :type backend_address_pool: :class:`SubResource + ` + :param backend_http_settings: Backend http settings resource of URL path + map path rule. + :type backend_http_settings: :class:`SubResource + ` + :param redirect_configuration: Redirect configuration resource of URL path + map path rule. + :type redirect_configuration: :class:`SubResource + ` + :param provisioning_state: Path rule of URL path map resource. Possible + values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + :param type: Type of the resource. + :type type: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'paths': {'key': 'properties.paths', 'type': '[str]'}, + 'backend_address_pool': {'key': 'properties.backendAddressPool', 'type': 'SubResource'}, + 'backend_http_settings': {'key': 'properties.backendHttpSettings', 'type': 'SubResource'}, + 'redirect_configuration': {'key': 'properties.redirectConfiguration', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, id=None, paths=None, backend_address_pool=None, backend_http_settings=None, redirect_configuration=None, provisioning_state=None, name=None, etag=None, type=None): + super(ApplicationGatewayPathRule, self).__init__(id=id) + self.paths = paths + self.backend_address_pool = backend_address_pool + self.backend_http_settings = backend_http_settings + self.redirect_configuration = redirect_configuration + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag + self.type = type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_probe.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_probe.py new file mode 100644 index 000000000000..459d6d9d1e8e --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_probe.py @@ -0,0 +1,93 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ApplicationGatewayProbe(SubResource): + """Probe of the application gateway. + + :param id: Resource ID. + :type id: str + :param protocol: Protocol. Possible values include: 'Http', 'Https' + :type protocol: str or :class:`ApplicationGatewayProtocol + ` + :param host: Host name to send the probe to. + :type host: str + :param path: Relative path of probe. Valid path starts from '/'. Probe is + sent to ://: + :type path: str + :param interval: The probing interval in seconds. This is the time + interval between two consecutive probes. Acceptable values are from 1 + second to 86400 seconds. + :type interval: int + :param timeout: the probe timeout in seconds. Probe marked as failed if + valid response is not received with this timeout period. Acceptable values + are from 1 second to 86400 seconds. + :type timeout: int + :param unhealthy_threshold: The probe retry count. Backend server is + marked down after consecutive probe failure count reaches + UnhealthyThreshold. Acceptable values are from 1 second to 20. + :type unhealthy_threshold: int + :param pick_host_name_from_backend_http_settings: Whether the host header + should be picked from the backend http settings. Default value is false. + :type pick_host_name_from_backend_http_settings: bool + :param min_servers: Minimum number of servers that are always marked + healthy. Default value is 0. + :type min_servers: int + :param match: Criterion for classifying a healthy probe response. + :type match: :class:`ApplicationGatewayProbeHealthResponseMatch + ` + :param provisioning_state: Provisioning state of the backend http settings + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + :param type: Type of the resource. + :type type: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'host': {'key': 'properties.host', 'type': 'str'}, + 'path': {'key': 'properties.path', 'type': 'str'}, + 'interval': {'key': 'properties.interval', 'type': 'int'}, + 'timeout': {'key': 'properties.timeout', 'type': 'int'}, + 'unhealthy_threshold': {'key': 'properties.unhealthyThreshold', 'type': 'int'}, + 'pick_host_name_from_backend_http_settings': {'key': 'properties.pickHostNameFromBackendHttpSettings', 'type': 'bool'}, + 'min_servers': {'key': 'properties.minServers', 'type': 'int'}, + 'match': {'key': 'properties.match', 'type': 'ApplicationGatewayProbeHealthResponseMatch'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, id=None, protocol=None, host=None, path=None, interval=None, timeout=None, unhealthy_threshold=None, pick_host_name_from_backend_http_settings=None, min_servers=None, match=None, provisioning_state=None, name=None, etag=None, type=None): + super(ApplicationGatewayProbe, self).__init__(id=id) + self.protocol = protocol + self.host = host + self.path = path + self.interval = interval + self.timeout = timeout + self.unhealthy_threshold = unhealthy_threshold + self.pick_host_name_from_backend_http_settings = pick_host_name_from_backend_http_settings + self.min_servers = min_servers + self.match = match + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag + self.type = type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_probe_health_response_match.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_probe_health_response_match.py new file mode 100644 index 000000000000..36fe84fe50ff --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_probe_health_response_match.py @@ -0,0 +1,33 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ApplicationGatewayProbeHealthResponseMatch(Model): + """Application gateway probe health response match. + + :param body: Body that must be contained in the health response. Default + value is empty. + :type body: str + :param status_codes: Allowed ranges of healthy status codes. Default range + of healthy status codes is 200-399. + :type status_codes: list of str + """ + + _attribute_map = { + 'body': {'key': 'body', 'type': 'str'}, + 'status_codes': {'key': 'statusCodes', 'type': '[str]'}, + } + + def __init__(self, body=None, status_codes=None): + self.body = body + self.status_codes = status_codes diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_redirect_configuration.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_redirect_configuration.py new file mode 100644 index 000000000000..b8e67e2dd857 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_redirect_configuration.py @@ -0,0 +1,83 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ApplicationGatewayRedirectConfiguration(SubResource): + """Redirect configuration of an application gateway. + + :param id: Resource ID. + :type id: str + :param redirect_type: Supported http redirection types - Permanent, + Temporary, Found, SeeOther. Possible values include: 'Permanent', 'Found', + 'SeeOther', 'Temporary' + :type redirect_type: str or :class:`ApplicationGatewayRedirectType + ` + :param target_listener: Reference to a listener to redirect the request + to. + :type target_listener: :class:`SubResource + ` + :param target_url: Url to redirect the request to. + :type target_url: str + :param include_path: Include path in the redirected url. + :type include_path: bool + :param include_query_string: Include query string in the redirected url. + :type include_query_string: bool + :param request_routing_rules: Request routing specifying redirect + configuration. + :type request_routing_rules: list of :class:`SubResource + ` + :param url_path_maps: Url path maps specifying default redirect + configuration. + :type url_path_maps: list of :class:`SubResource + ` + :param path_rules: Path rules specifying redirect configuration. + :type path_rules: list of :class:`SubResource + ` + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + :param type: Type of the resource. + :type type: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'redirect_type': {'key': 'properties.redirectType', 'type': 'str'}, + 'target_listener': {'key': 'properties.targetListener', 'type': 'SubResource'}, + 'target_url': {'key': 'properties.targetUrl', 'type': 'str'}, + 'include_path': {'key': 'properties.includePath', 'type': 'bool'}, + 'include_query_string': {'key': 'properties.includeQueryString', 'type': 'bool'}, + 'request_routing_rules': {'key': 'properties.requestRoutingRules', 'type': '[SubResource]'}, + 'url_path_maps': {'key': 'properties.urlPathMaps', 'type': '[SubResource]'}, + 'path_rules': {'key': 'properties.pathRules', 'type': '[SubResource]'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, id=None, redirect_type=None, target_listener=None, target_url=None, include_path=None, include_query_string=None, request_routing_rules=None, url_path_maps=None, path_rules=None, name=None, etag=None, type=None): + super(ApplicationGatewayRedirectConfiguration, self).__init__(id=id) + self.redirect_type = redirect_type + self.target_listener = target_listener + self.target_url = target_url + self.include_path = include_path + self.include_query_string = include_query_string + self.request_routing_rules = request_routing_rules + self.url_path_maps = url_path_maps + self.path_rules = path_rules + self.name = name + self.etag = etag + self.type = type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_request_routing_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_request_routing_rule.py new file mode 100644 index 000000000000..b79a841363e8 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_request_routing_rule.py @@ -0,0 +1,80 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ApplicationGatewayRequestRoutingRule(SubResource): + """Request routing rule of an application gateway. + + :param id: Resource ID. + :type id: str + :param rule_type: Rule type. Possible values include: 'Basic', + 'PathBasedRouting' + :type rule_type: str or :class:`ApplicationGatewayRequestRoutingRuleType + ` + :param backend_address_pool: Backend address pool resource of the + application gateway. + :type backend_address_pool: :class:`SubResource + ` + :param backend_http_settings: Frontend port resource of the application + gateway. + :type backend_http_settings: :class:`SubResource + ` + :param http_listener: Http listener resource of the application gateway. + :type http_listener: :class:`SubResource + ` + :param url_path_map: URL path map resource of the application gateway. + :type url_path_map: :class:`SubResource + ` + :param redirect_configuration: Redirect configuration resource of the + application gateway. + :type redirect_configuration: :class:`SubResource + ` + :param provisioning_state: Provisioning state of the request routing rule + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + :param type: Type of the resource. + :type type: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'rule_type': {'key': 'properties.ruleType', 'type': 'str'}, + 'backend_address_pool': {'key': 'properties.backendAddressPool', 'type': 'SubResource'}, + 'backend_http_settings': {'key': 'properties.backendHttpSettings', 'type': 'SubResource'}, + 'http_listener': {'key': 'properties.httpListener', 'type': 'SubResource'}, + 'url_path_map': {'key': 'properties.urlPathMap', 'type': 'SubResource'}, + 'redirect_configuration': {'key': 'properties.redirectConfiguration', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, id=None, rule_type=None, backend_address_pool=None, backend_http_settings=None, http_listener=None, url_path_map=None, redirect_configuration=None, provisioning_state=None, name=None, etag=None, type=None): + super(ApplicationGatewayRequestRoutingRule, self).__init__(id=id) + self.rule_type = rule_type + self.backend_address_pool = backend_address_pool + self.backend_http_settings = backend_http_settings + self.http_listener = http_listener + self.url_path_map = url_path_map + self.redirect_configuration = redirect_configuration + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag + self.type = type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_sku.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_sku.py new file mode 100644 index 000000000000..53c47ae189de --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_sku.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ApplicationGatewaySku(Model): + """SKU of an application gateway. + + :param name: Name of an application gateway SKU. Possible values include: + 'Standard_Small', 'Standard_Medium', 'Standard_Large', 'WAF_Medium', + 'WAF_Large' + :type name: str or :class:`ApplicationGatewaySkuName + ` + :param tier: Tier of an application gateway. Possible values include: + 'Standard', 'WAF' + :type tier: str or :class:`ApplicationGatewayTier + ` + :param capacity: Capacity (instance count) of an application gateway. + :type capacity: int + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__(self, name=None, tier=None, capacity=None): + self.name = name + self.tier = tier + self.capacity = capacity diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ssl_certificate.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ssl_certificate.py new file mode 100644 index 000000000000..104629e84a5c --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ssl_certificate.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ApplicationGatewaySslCertificate(SubResource): + """SSL certificates of an application gateway. + + :param id: Resource ID. + :type id: str + :param data: Base-64 encoded pfx certificate. Only applicable in PUT + Request. + :type data: str + :param password: Password for the pfx file specified in data. Only + applicable in PUT request. + :type password: str + :param public_cert_data: Base-64 encoded Public cert data corresponding to + pfx specified in data. Only applicable in GET request. + :type public_cert_data: str + :param provisioning_state: Provisioning state of the SSL certificate + resource Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + :param type: Type of the resource. + :type type: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'data': {'key': 'properties.data', 'type': 'str'}, + 'password': {'key': 'properties.password', 'type': 'str'}, + 'public_cert_data': {'key': 'properties.publicCertData', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, id=None, data=None, password=None, public_cert_data=None, provisioning_state=None, name=None, etag=None, type=None): + super(ApplicationGatewaySslCertificate, self).__init__(id=id) + self.data = data + self.password = password + self.public_cert_data = public_cert_data + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag + self.type = type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ssl_policy.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ssl_policy.py new file mode 100644 index 000000000000..82b873b04c94 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ssl_policy.py @@ -0,0 +1,57 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ApplicationGatewaySslPolicy(Model): + """Application Gateway Ssl policy. + + :param disabled_ssl_protocols: Ssl protocols to be disabled on application + gateway. + :type disabled_ssl_protocols: list of str or + :class:`ApplicationGatewaySslProtocol + ` + :param policy_type: Type of Ssl Policy. Possible values include: + 'Predefined', 'Custom' + :type policy_type: str or :class:`ApplicationGatewaySslPolicyType + ` + :param policy_name: Name of Ssl predefined policy. Possible values + include: 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401', + 'AppGwSslPolicy20170401S' + :type policy_name: str or :class:`ApplicationGatewaySslPolicyName + ` + :param cipher_suites: Ssl cipher suites to be enabled in the specified + order to application gateway. + :type cipher_suites: list of str or + :class:`ApplicationGatewaySslCipherSuite + ` + :param min_protocol_version: Minimum version of Ssl protocol to be + supported on application gateway. Possible values include: 'TLSv1_0', + 'TLSv1_1', 'TLSv1_2' + :type min_protocol_version: str or :class:`ApplicationGatewaySslProtocol + ` + """ + + _attribute_map = { + 'disabled_ssl_protocols': {'key': 'disabledSslProtocols', 'type': '[str]'}, + 'policy_type': {'key': 'policyType', 'type': 'str'}, + 'policy_name': {'key': 'policyName', 'type': 'str'}, + 'cipher_suites': {'key': 'cipherSuites', 'type': '[str]'}, + 'min_protocol_version': {'key': 'minProtocolVersion', 'type': 'str'}, + } + + def __init__(self, disabled_ssl_protocols=None, policy_type=None, policy_name=None, cipher_suites=None, min_protocol_version=None): + self.disabled_ssl_protocols = disabled_ssl_protocols + self.policy_type = policy_type + self.policy_name = policy_name + self.cipher_suites = cipher_suites + self.min_protocol_version = min_protocol_version diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ssl_predefined_policy.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ssl_predefined_policy.py new file mode 100644 index 000000000000..9b8748445ede --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ssl_predefined_policy.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ApplicationGatewaySslPredefinedPolicy(SubResource): + """An Ssl predefined policy. + + :param id: Resource ID. + :type id: str + :param name: Name of Ssl predefined policy. + :type name: str + :param cipher_suites: Ssl cipher suites to be enabled in the specified + order for application gateway. + :type cipher_suites: list of str or + :class:`ApplicationGatewaySslCipherSuite + ` + :param min_protocol_version: Minimum version of Ssl protocol to be + supported on application gateway. Possible values include: 'TLSv1_0', + 'TLSv1_1', 'TLSv1_2' + :type min_protocol_version: str or :class:`ApplicationGatewaySslProtocol + ` + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'cipher_suites': {'key': 'properties.cipherSuites', 'type': '[str]'}, + 'min_protocol_version': {'key': 'properties.minProtocolVersion', 'type': 'str'}, + } + + def __init__(self, id=None, name=None, cipher_suites=None, min_protocol_version=None): + super(ApplicationGatewaySslPredefinedPolicy, self).__init__(id=id) + self.name = name + self.cipher_suites = cipher_suites + self.min_protocol_version = min_protocol_version diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ssl_predefined_policy_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ssl_predefined_policy_paged.py new file mode 100644 index 000000000000..3c0937c14962 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_ssl_predefined_policy_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class ApplicationGatewaySslPredefinedPolicyPaged(Paged): + """ + A paging container for iterating over a list of :class:`ApplicationGatewaySslPredefinedPolicy ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[ApplicationGatewaySslPredefinedPolicy]'} + } + + def __init__(self, *args, **kwargs): + + super(ApplicationGatewaySslPredefinedPolicyPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_url_path_map.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_url_path_map.py new file mode 100644 index 000000000000..7492bab846d0 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_url_path_map.py @@ -0,0 +1,70 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ApplicationGatewayUrlPathMap(SubResource): + """UrlPathMaps give a url path to the backend mapping information for + PathBasedRouting. + + :param id: Resource ID. + :type id: str + :param default_backend_address_pool: Default backend address pool resource + of URL path map. + :type default_backend_address_pool: :class:`SubResource + ` + :param default_backend_http_settings: Default backend http settings + resource of URL path map. + :type default_backend_http_settings: :class:`SubResource + ` + :param default_redirect_configuration: Default redirect configuration + resource of URL path map. + :type default_redirect_configuration: :class:`SubResource + ` + :param path_rules: Path rule of URL path map resource. + :type path_rules: list of :class:`ApplicationGatewayPathRule + ` + :param provisioning_state: Provisioning state of the backend http settings + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + :param type: Type of the resource. + :type type: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'default_backend_address_pool': {'key': 'properties.defaultBackendAddressPool', 'type': 'SubResource'}, + 'default_backend_http_settings': {'key': 'properties.defaultBackendHttpSettings', 'type': 'SubResource'}, + 'default_redirect_configuration': {'key': 'properties.defaultRedirectConfiguration', 'type': 'SubResource'}, + 'path_rules': {'key': 'properties.pathRules', 'type': '[ApplicationGatewayPathRule]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, id=None, default_backend_address_pool=None, default_backend_http_settings=None, default_redirect_configuration=None, path_rules=None, provisioning_state=None, name=None, etag=None, type=None): + super(ApplicationGatewayUrlPathMap, self).__init__(id=id) + self.default_backend_address_pool = default_backend_address_pool + self.default_backend_http_settings = default_backend_http_settings + self.default_redirect_configuration = default_redirect_configuration + self.path_rules = path_rules + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag + self.type = type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_web_application_firewall_configuration.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_web_application_firewall_configuration.py new file mode 100644 index 000000000000..fd30323bc6b0 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/application_gateway_web_application_firewall_configuration.py @@ -0,0 +1,55 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ApplicationGatewayWebApplicationFirewallConfiguration(Model): + """Application gateway web application firewall configuration. + + :param enabled: Whether the web application firewall is enabled or not. + :type enabled: bool + :param firewall_mode: Web application firewall mode. Possible values + include: 'Detection', 'Prevention' + :type firewall_mode: str or :class:`ApplicationGatewayFirewallMode + ` + :param rule_set_type: The type of the web application firewall rule set. + Possible values are: 'OWASP'. + :type rule_set_type: str + :param rule_set_version: The version of the rule set type. + :type rule_set_version: str + :param disabled_rule_groups: The disabled rule groups. + :type disabled_rule_groups: list of + :class:`ApplicationGatewayFirewallDisabledRuleGroup + ` + """ + + _validation = { + 'enabled': {'required': True}, + 'firewall_mode': {'required': True}, + 'rule_set_type': {'required': True}, + 'rule_set_version': {'required': True}, + } + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'firewall_mode': {'key': 'firewallMode', 'type': 'str'}, + 'rule_set_type': {'key': 'ruleSetType', 'type': 'str'}, + 'rule_set_version': {'key': 'ruleSetVersion', 'type': 'str'}, + 'disabled_rule_groups': {'key': 'disabledRuleGroups', 'type': '[ApplicationGatewayFirewallDisabledRuleGroup]'}, + } + + def __init__(self, enabled, firewall_mode, rule_set_type, rule_set_version, disabled_rule_groups=None): + self.enabled = enabled + self.firewall_mode = firewall_mode + self.rule_set_type = rule_set_type + self.rule_set_version = rule_set_version + self.disabled_rule_groups = disabled_rule_groups diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/azure_async_operation_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/azure_async_operation_result.py new file mode 100644 index 000000000000..fc28e9c1819b --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/azure_async_operation_result.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 AzureAsyncOperationResult(Model): + """The response body contains the status of the specified asynchronous + operation, indicating whether it has succeeded, is in progress, or has + failed. Note that this status is distinct from the HTTP status code + returned for the Get Operation Status operation itself. If the asynchronous + operation succeeded, the response body includes the HTTP status code for + the successful request. If the asynchronous operation failed, the response + body includes the HTTP status code for the failed request and error + information regarding the failure. + + :param status: Status of the Azure async operation. Possible values are: + 'InProgress', 'Succeeded', and 'Failed'. Possible values include: + 'InProgress', 'Succeeded', 'Failed' + :type status: str or :class:`NetworkOperationStatus + ` + :param error: + :type error: :class:`Error ` + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'error': {'key': 'error', 'type': 'Error'}, + } + + def __init__(self, status=None, error=None): + self.status = status + self.error = error diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/backend_address_pool.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/backend_address_pool.py new file mode 100644 index 000000000000..d89258620c30 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/backend_address_pool.py @@ -0,0 +1,70 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class BackendAddressPool(SubResource): + """Pool of backend IP addresses. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar backend_ip_configurations: Gets collection of references to IP + addresses defined in network interfaces. + :vartype backend_ip_configurations: list of + :class:`NetworkInterfaceIPConfiguration + ` + :ivar load_balancing_rules: Gets load balancing rules that use this + backend address pool. + :vartype load_balancing_rules: list of :class:`SubResource + ` + :ivar outbound_nat_rule: Gets outbound rules that use this backend address + pool. + :vartype outbound_nat_rule: :class:`SubResource + ` + :param provisioning_state: Get provisioning state of the public IP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: Gets name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'backend_ip_configurations': {'readonly': True}, + 'load_balancing_rules': {'readonly': True}, + 'outbound_nat_rule': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'backend_ip_configurations': {'key': 'properties.backendIPConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'load_balancing_rules': {'key': 'properties.loadBalancingRules', 'type': '[SubResource]'}, + 'outbound_nat_rule': {'key': 'properties.outboundNatRule', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, provisioning_state=None, name=None, etag=None): + super(BackendAddressPool, self).__init__(id=id) + self.backend_ip_configurations = None + self.load_balancing_rules = None + self.outbound_nat_rule = None + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/backend_address_pool_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/backend_address_pool_paged.py new file mode 100644 index 000000000000..7e6bda69166a --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/backend_address_pool_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class BackendAddressPoolPaged(Paged): + """ + A paging container for iterating over a list of :class:`BackendAddressPool ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[BackendAddressPool]'} + } + + def __init__(self, *args, **kwargs): + + super(BackendAddressPoolPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_community.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_community.py new file mode 100644 index 000000000000..078037da9ba0 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_community.py @@ -0,0 +1,51 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 BGPCommunity(Model): + """Contains bgp community information offered in Service Community resources. + + :param service_supported_region: The region which the service support. + e.g. For O365, region is Global. + :type service_supported_region: str + :param community_name: The name of the bgp community. e.g. Skype. + :type community_name: str + :param community_value: The value of the bgp community. For more + information: + https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing. + :type community_value: str + :param community_prefixes: The prefixes that the bgp community contains. + :type community_prefixes: list of str + :param is_authorized_to_use: Customer is authorized to use bgp community + or not. + :type is_authorized_to_use: bool + :param service_group: The service group of the bgp community contains. + :type service_group: str + """ + + _attribute_map = { + 'service_supported_region': {'key': 'serviceSupportedRegion', 'type': 'str'}, + 'community_name': {'key': 'communityName', 'type': 'str'}, + 'community_value': {'key': 'communityValue', 'type': 'str'}, + 'community_prefixes': {'key': 'communityPrefixes', 'type': '[str]'}, + 'is_authorized_to_use': {'key': 'isAuthorizedToUse', 'type': 'bool'}, + 'service_group': {'key': 'serviceGroup', 'type': 'str'}, + } + + def __init__(self, service_supported_region=None, community_name=None, community_value=None, community_prefixes=None, is_authorized_to_use=None, service_group=None): + self.service_supported_region = service_supported_region + self.community_name = community_name + self.community_value = community_value + self.community_prefixes = community_prefixes + self.is_authorized_to_use = is_authorized_to_use + self.service_group = service_group diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_peer_status.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_peer_status.py new file mode 100644 index 000000000000..204eba3f6c4b --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_peer_status.py @@ -0,0 +1,71 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 BgpPeerStatus(Model): + """BGP peer status details. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar local_address: The virtual network gateway's local address + :vartype local_address: str + :ivar neighbor: The remote BGP peer + :vartype neighbor: str + :ivar asn: The autonomous system number of the remote BGP peer + :vartype asn: int + :ivar state: The BGP peer state. Possible values include: 'Unknown', + 'Stopped', 'Idle', 'Connecting', 'Connected' + :vartype state: str or :class:`BgpPeerState + ` + :ivar connected_duration: For how long the peering has been up + :vartype connected_duration: str + :ivar routes_received: The number of routes learned from this peer + :vartype routes_received: long + :ivar messages_sent: The number of BGP messages sent + :vartype messages_sent: long + :ivar messages_received: The number of BGP messages received + :vartype messages_received: long + """ + + _validation = { + 'local_address': {'readonly': True}, + 'neighbor': {'readonly': True}, + 'asn': {'readonly': True}, + 'state': {'readonly': True}, + 'connected_duration': {'readonly': True}, + 'routes_received': {'readonly': True}, + 'messages_sent': {'readonly': True}, + 'messages_received': {'readonly': True}, + } + + _attribute_map = { + 'local_address': {'key': 'localAddress', 'type': 'str'}, + 'neighbor': {'key': 'neighbor', 'type': 'str'}, + 'asn': {'key': 'asn', 'type': 'int'}, + 'state': {'key': 'state', 'type': 'str'}, + 'connected_duration': {'key': 'connectedDuration', 'type': 'str'}, + 'routes_received': {'key': 'routesReceived', 'type': 'long'}, + 'messages_sent': {'key': 'messagesSent', 'type': 'long'}, + 'messages_received': {'key': 'messagesReceived', 'type': 'long'}, + } + + def __init__(self): + self.local_address = None + self.neighbor = None + self.asn = None + self.state = None + self.connected_duration = None + self.routes_received = None + self.messages_sent = None + self.messages_received = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_peer_status_list_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_peer_status_list_result.py new file mode 100644 index 000000000000..c19d8e77b9f8 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_peer_status_list_result.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 BgpPeerStatusListResult(Model): + """Response for list BGP peer status API service call. + + :param value: List of BGP peers + :type value: list of :class:`BgpPeerStatus + ` + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BgpPeerStatus]'}, + } + + def __init__(self, value=None): + self.value = value diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_service_community.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_service_community.py new file mode 100644 index 000000000000..b55624bc194e --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_service_community.py @@ -0,0 +1,56 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class BgpServiceCommunity(Resource): + """Service Community Properties. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param service_name: The name of the bgp community. e.g. Skype. + :type service_name: str + :param bgp_communities: Get a list of bgp communities. + :type bgp_communities: list of :class:`BGPCommunity + ` + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'service_name': {'key': 'properties.serviceName', 'type': 'str'}, + 'bgp_communities': {'key': 'properties.bgpCommunities', 'type': '[BGPCommunity]'}, + } + + def __init__(self, id=None, location=None, tags=None, service_name=None, bgp_communities=None): + super(BgpServiceCommunity, self).__init__(id=id, location=location, tags=tags) + self.service_name = service_name + self.bgp_communities = bgp_communities diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_service_community_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_service_community_paged.py new file mode 100644 index 000000000000..87b393a90b08 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_service_community_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class BgpServiceCommunityPaged(Paged): + """ + A paging container for iterating over a list of :class:`BgpServiceCommunity ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[BgpServiceCommunity]'} + } + + def __init__(self, *args, **kwargs): + + super(BgpServiceCommunityPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_settings.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_settings.py new file mode 100644 index 000000000000..d62cc30ab0c7 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/bgp_settings.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 BgpSettings(Model): + """BGP settings details. + + :param asn: The BGP speaker's ASN. + :type asn: long + :param bgp_peering_address: The BGP peering address and BGP identifier of + this BGP speaker. + :type bgp_peering_address: str + :param peer_weight: The weight added to routes learned from this BGP + speaker. + :type peer_weight: int + """ + + _attribute_map = { + 'asn': {'key': 'asn', 'type': 'long'}, + 'bgp_peering_address': {'key': 'bgpPeeringAddress', 'type': 'str'}, + 'peer_weight': {'key': 'peerWeight', 'type': 'int'}, + } + + def __init__(self, asn=None, bgp_peering_address=None, peer_weight=None): + self.asn = asn + self.bgp_peering_address = bgp_peering_address + self.peer_weight = peer_weight diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connection_reset_shared_key.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connection_reset_shared_key.py new file mode 100644 index 000000000000..10bfdc9ba17d --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connection_reset_shared_key.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ConnectionResetSharedKey(Model): + """The virtual network connection reset shared key. + + :param key_length: The virtual network connection reset shared key length, + should between 1 and 128. + :type key_length: int + """ + + _validation = { + 'key_length': {'required': True, 'maximum': 128, 'minimum': 1}, + } + + _attribute_map = { + 'key_length': {'key': 'keyLength', 'type': 'int'}, + } + + def __init__(self, key_length): + self.key_length = key_length diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connection_shared_key.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connection_shared_key.py new file mode 100644 index 000000000000..0dbbc36cc798 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connection_shared_key.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ConnectionSharedKey(Model): + """Response for GetConnectionSharedKey API service call. + + :param value: The virtual network connection shared key value. + :type value: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, value): + self.value = value diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_destination.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_destination.py new file mode 100644 index 000000000000..756dfadfdd49 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_destination.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ConnectivityDestination(Model): + """Parameters that define destination of connection. + + :param resource_id: The ID of the resource to which a connection attempt + will be made. + :type resource_id: str + :param address: The IP address or URI the resource to which a connection + attempt will be made. + :type address: str + :param port: Port on which check connectivity will be performed. + :type port: int + """ + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'address': {'key': 'address', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__(self, resource_id=None, address=None, port=None): + self.resource_id = resource_id + self.address = address + self.port = port diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_hop.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_hop.py new file mode 100644 index 000000000000..84dd713cb3fd --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_hop.py @@ -0,0 +1,60 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ConnectivityHop(Model): + """Information about a hop between the source and the destination. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar type: The type of the hop. + :vartype type: str + :ivar id: The ID of the hop. + :vartype id: str + :ivar address: The IP address of the hop. + :vartype address: str + :ivar resource_id: The ID of the resource corresponding to this hop. + :vartype resource_id: str + :ivar next_hop_ids: List of next hop identifiers. + :vartype next_hop_ids: list of str + :ivar issues: List of issues. + :vartype issues: list of :class:`ConnectivityIssue + ` + """ + + _validation = { + 'type': {'readonly': True}, + 'id': {'readonly': True}, + 'address': {'readonly': True}, + 'resource_id': {'readonly': True}, + 'next_hop_ids': {'readonly': True}, + 'issues': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'address': {'key': 'address', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'next_hop_ids': {'key': 'nextHopIds', 'type': '[str]'}, + 'issues': {'key': 'issues', 'type': '[ConnectivityIssue]'}, + } + + def __init__(self): + self.type = None + self.id = None + self.address = None + self.resource_id = None + self.next_hop_ids = None + self.issues = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_information.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_information.py new file mode 100644 index 000000000000..b3b75c42dc15 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_information.py @@ -0,0 +1,67 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ConnectivityInformation(Model): + """Information on the connectivity status. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar hops: List of hops between the source and the destination. + :vartype hops: list of :class:`ConnectivityHop + ` + :ivar connection_status: The connection status. Possible values include: + 'Unknown', 'Connected', 'Disconnected', 'Degraded' + :vartype connection_status: str or :class:`ConnectionStatus + ` + :ivar avg_latency_in_ms: Average latency in milliseconds. + :vartype avg_latency_in_ms: int + :ivar min_latency_in_ms: Minimum latency in milliseconds. + :vartype min_latency_in_ms: int + :ivar max_latency_in_ms: Maximum latency in milliseconds. + :vartype max_latency_in_ms: int + :ivar probes_sent: Total number of probes sent. + :vartype probes_sent: int + :ivar probes_failed: Number of failed probes. + :vartype probes_failed: int + """ + + _validation = { + 'hops': {'readonly': True}, + 'connection_status': {'readonly': True}, + 'avg_latency_in_ms': {'readonly': True}, + 'min_latency_in_ms': {'readonly': True}, + 'max_latency_in_ms': {'readonly': True}, + 'probes_sent': {'readonly': True}, + 'probes_failed': {'readonly': True}, + } + + _attribute_map = { + 'hops': {'key': 'hops', 'type': '[ConnectivityHop]'}, + 'connection_status': {'key': 'connectionStatus', 'type': 'str'}, + 'avg_latency_in_ms': {'key': 'avgLatencyInMs', 'type': 'int'}, + 'min_latency_in_ms': {'key': 'minLatencyInMs', 'type': 'int'}, + 'max_latency_in_ms': {'key': 'maxLatencyInMs', 'type': 'int'}, + 'probes_sent': {'key': 'probesSent', 'type': 'int'}, + 'probes_failed': {'key': 'probesFailed', 'type': 'int'}, + } + + def __init__(self): + self.hops = None + self.connection_status = None + self.avg_latency_in_ms = None + self.min_latency_in_ms = None + self.max_latency_in_ms = None + self.probes_sent = None + self.probes_failed = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_issue.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_issue.py new file mode 100644 index 000000000000..1a891a9d30f7 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_issue.py @@ -0,0 +1,57 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ConnectivityIssue(Model): + """Information about an issue encountered in the process of checking for + connectivity. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar origin: The origin of the issue. Possible values include: 'Local', + 'Inbound', 'Outbound' + :vartype origin: str or :class:`Origin + ` + :ivar severity: The severity of the issue. Possible values include: + 'Error', 'Warning' + :vartype severity: str or :class:`Severity + ` + :ivar type: The type of issue. Possible values include: 'Unknown', + 'AgentStopped', 'GuestFirewall', 'DnsResolution', 'SocketBind', + 'NetworkSecurityRule', 'UserDefinedRoute', 'PortThrottled', 'Platform' + :vartype type: str or :class:`IssueType + ` + :ivar context: Provides additional context on the issue. + :vartype context: list of dict + """ + + _validation = { + 'origin': {'readonly': True}, + 'severity': {'readonly': True}, + 'type': {'readonly': True}, + 'context': {'readonly': True}, + } + + _attribute_map = { + 'origin': {'key': 'origin', 'type': 'str'}, + 'severity': {'key': 'severity', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'context': {'key': 'context', 'type': '[{str}]'}, + } + + def __init__(self): + self.origin = None + self.severity = None + self.type = None + self.context = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_parameters.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_parameters.py new file mode 100644 index 000000000000..36c1b55f6d69 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_parameters.py @@ -0,0 +1,38 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ConnectivityParameters(Model): + """Parameters that determine how the connectivity check will be performed. + + :param source: + :type source: :class:`ConnectivitySource + ` + :param destination: + :type destination: :class:`ConnectivityDestination + ` + """ + + _validation = { + 'source': {'required': True}, + 'destination': {'required': True}, + } + + _attribute_map = { + 'source': {'key': 'source', 'type': 'ConnectivitySource'}, + 'destination': {'key': 'destination', 'type': 'ConnectivityDestination'}, + } + + def __init__(self, source, destination): + self.source = source + self.destination = destination diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_source.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_source.py new file mode 100644 index 000000000000..8c7034e63c32 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/connectivity_source.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ConnectivitySource(Model): + """Parameters that define the source of the connection. + + :param resource_id: The ID of the resource from which a connectivity check + will be initiated. + :type resource_id: str + :param port: The source port from which a connectivity check will be + performed. + :type port: int + """ + + _validation = { + 'resource_id': {'required': True}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__(self, resource_id, port=None): + self.resource_id = resource_id + self.port = port diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/dhcp_options.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/dhcp_options.py new file mode 100644 index 000000000000..c528964cb2f0 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/dhcp_options.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 DhcpOptions(Model): + """DhcpOptions contains an array of DNS servers available to VMs deployed in + the virtual network. Standard DHCP option for a subnet overrides VNET DHCP + options. + + :param dns_servers: The list of DNS servers IP addresses. + :type dns_servers: list of str + """ + + _attribute_map = { + 'dns_servers': {'key': 'dnsServers', 'type': '[str]'}, + } + + def __init__(self, dns_servers=None): + self.dns_servers = dns_servers diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/dns_name_availability_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/dns_name_availability_result.py new file mode 100644 index 000000000000..4be1851d2f59 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/dns_name_availability_result.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 DnsNameAvailabilityResult(Model): + """Response for the CheckDnsNameAvailability API service call. + + :param available: Domain availability (True/False). + :type available: bool + """ + + _attribute_map = { + 'available': {'key': 'available', 'type': 'bool'}, + } + + def __init__(self, available=None): + self.available = available diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_network_security_group.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_network_security_group.py new file mode 100644 index 000000000000..dacf6fc39242 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_network_security_group.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 EffectiveNetworkSecurityGroup(Model): + """Effective network security group. + + :param network_security_group: The ID of network security group that is + applied. + :type network_security_group: :class:`SubResource + ` + :param association: Associated resources. + :type association: :class:`EffectiveNetworkSecurityGroupAssociation + ` + :param effective_security_rules: A collection of effective security rules. + :type effective_security_rules: list of + :class:`EffectiveNetworkSecurityRule + ` + :param tag_map: Mapping of tags to list of IP Addresses included within + the tag. + :type tag_map: dict + """ + + _attribute_map = { + 'network_security_group': {'key': 'networkSecurityGroup', 'type': 'SubResource'}, + 'association': {'key': 'association', 'type': 'EffectiveNetworkSecurityGroupAssociation'}, + 'effective_security_rules': {'key': 'effectiveSecurityRules', 'type': '[EffectiveNetworkSecurityRule]'}, + 'tag_map': {'key': 'tagMap', 'type': '{[str]}'}, + } + + def __init__(self, network_security_group=None, association=None, effective_security_rules=None, tag_map=None): + self.network_security_group = network_security_group + self.association = association + self.effective_security_rules = effective_security_rules + self.tag_map = tag_map diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_network_security_group_association.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_network_security_group_association.py new file mode 100644 index 000000000000..e770a5ee0a74 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_network_security_group_association.py @@ -0,0 +1,33 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 EffectiveNetworkSecurityGroupAssociation(Model): + """The effective network security group association. + + :param subnet: The ID of the subnet if assigned. + :type subnet: :class:`SubResource + ` + :param network_interface: The ID of the network interface if assigned. + :type network_interface: :class:`SubResource + ` + """ + + _attribute_map = { + 'subnet': {'key': 'subnet', 'type': 'SubResource'}, + 'network_interface': {'key': 'networkInterface', 'type': 'SubResource'}, + } + + def __init__(self, subnet=None, network_interface=None): + self.subnet = subnet + self.network_interface = network_interface diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_network_security_group_list_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_network_security_group_list_result.py new file mode 100644 index 000000000000..9f121700a5cf --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_network_security_group_list_result.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 EffectiveNetworkSecurityGroupListResult(Model): + """Response for list effective network security groups API service call. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param value: A list of effective network security groups. + :type value: list of :class:`EffectiveNetworkSecurityGroup + ` + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[EffectiveNetworkSecurityGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__(self, value=None): + self.value = value + self.next_link = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_network_security_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_network_security_rule.py new file mode 100644 index 000000000000..ef32dc7e31d4 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_network_security_rule.py @@ -0,0 +1,100 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 EffectiveNetworkSecurityRule(Model): + """Effective network security rules. + + :param name: The name of the security rule specified by the user (if + created by the user). + :type name: str + :param protocol: The network protocol this rule applies to. Possible + values are: 'Tcp', 'Udp', and 'All'. Possible values include: 'Tcp', + 'Udp', 'All' + :type protocol: str or :class:`EffectiveSecurityRuleProtocol + ` + :param source_port_range: The source port or range. + :type source_port_range: str + :param destination_port_range: The destination port or range. + :type destination_port_range: str + :param source_port_ranges: The source port ranges. Expected values include + a single integer between 0 and 65535, a range using '-' as seperator (e.g. + 100-400), or an asterix (*) + :type source_port_ranges: list of str + :param destination_port_ranges: The destination port ranges. Expected + values include a single integer between 0 and 65535, a range using '-' as + seperator (e.g. 100-400), or an asterix (*) + :type destination_port_ranges: list of str + :param source_address_prefix: The source address prefix. + :type source_address_prefix: str + :param destination_address_prefix: The destination address prefix. + :type destination_address_prefix: str + :param source_address_prefixes: The source address prefixes. Expected + values include CIDR IP ranges, Default Tags (VirtualNetwork, + AureLoadBalancer, Internet), System Tags, and the asterix (*). + :type source_address_prefixes: list of str + :param destination_address_prefixes: The destination address prefixes. + Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, + AureLoadBalancer, Internet), System Tags, and the asterix (*). + :type destination_address_prefixes: list of str + :param expanded_source_address_prefix: The expanded source address prefix. + :type expanded_source_address_prefix: list of str + :param expanded_destination_address_prefix: Expanded destination address + prefix. + :type expanded_destination_address_prefix: list of str + :param access: Whether network traffic is allowed or denied. Possible + values are: 'Allow' and 'Deny'. Possible values include: 'Allow', 'Deny' + :type access: str or :class:`SecurityRuleAccess + ` + :param priority: The priority of the rule. + :type priority: int + :param direction: The direction of the rule. Possible values are: 'Inbound + and Outbound'. Possible values include: 'Inbound', 'Outbound' + :type direction: str or :class:`SecurityRuleDirection + ` + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'source_port_range': {'key': 'sourcePortRange', 'type': 'str'}, + 'destination_port_range': {'key': 'destinationPortRange', 'type': 'str'}, + 'source_port_ranges': {'key': 'sourcePortRanges', 'type': '[str]'}, + 'destination_port_ranges': {'key': 'destinationPortRanges', 'type': '[str]'}, + 'source_address_prefix': {'key': 'sourceAddressPrefix', 'type': 'str'}, + 'destination_address_prefix': {'key': 'destinationAddressPrefix', 'type': 'str'}, + 'source_address_prefixes': {'key': 'sourceAddressPrefixes', 'type': '[str]'}, + 'destination_address_prefixes': {'key': 'destinationAddressPrefixes', 'type': '[str]'}, + 'expanded_source_address_prefix': {'key': 'expandedSourceAddressPrefix', 'type': '[str]'}, + 'expanded_destination_address_prefix': {'key': 'expandedDestinationAddressPrefix', 'type': '[str]'}, + 'access': {'key': 'access', 'type': 'str'}, + 'priority': {'key': 'priority', 'type': 'int'}, + 'direction': {'key': 'direction', 'type': 'str'}, + } + + def __init__(self, name=None, protocol=None, source_port_range=None, destination_port_range=None, source_port_ranges=None, destination_port_ranges=None, source_address_prefix=None, destination_address_prefix=None, source_address_prefixes=None, destination_address_prefixes=None, expanded_source_address_prefix=None, expanded_destination_address_prefix=None, access=None, priority=None, direction=None): + self.name = name + self.protocol = protocol + self.source_port_range = source_port_range + self.destination_port_range = destination_port_range + self.source_port_ranges = source_port_ranges + self.destination_port_ranges = destination_port_ranges + self.source_address_prefix = source_address_prefix + self.destination_address_prefix = destination_address_prefix + self.source_address_prefixes = source_address_prefixes + self.destination_address_prefixes = destination_address_prefixes + self.expanded_source_address_prefix = expanded_source_address_prefix + self.expanded_destination_address_prefix = expanded_destination_address_prefix + self.access = access + self.priority = priority + self.direction = direction diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_route.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_route.py new file mode 100644 index 000000000000..a2c734a362b0 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_route.py @@ -0,0 +1,59 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 EffectiveRoute(Model): + """Effective Route. + + :param name: The name of the user defined route. This is optional. + :type name: str + :param source: Who created the route. Possible values are: 'Unknown', + 'User', 'VirtualNetworkGateway', and 'Default'. Possible values include: + 'Unknown', 'User', 'VirtualNetworkGateway', 'Default' + :type source: str or :class:`EffectiveRouteSource + ` + :param state: The value of effective route. Possible values are: 'Active' + and 'Invalid'. Possible values include: 'Active', 'Invalid' + :type state: str or :class:`EffectiveRouteState + ` + :param address_prefix: The address prefixes of the effective routes in + CIDR notation. + :type address_prefix: list of str + :param next_hop_ip_address: The IP address of the next hop of the + effective route. + :type next_hop_ip_address: list of str + :param next_hop_type: The type of Azure hop the packet should be sent to. + Possible values are: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'. Possible values include: + 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', + 'None' + :type next_hop_type: str or :class:`RouteNextHopType + ` + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'source': {'key': 'source', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'address_prefix': {'key': 'addressPrefix', 'type': '[str]'}, + 'next_hop_ip_address': {'key': 'nextHopIpAddress', 'type': '[str]'}, + 'next_hop_type': {'key': 'nextHopType', 'type': 'str'}, + } + + def __init__(self, name=None, source=None, state=None, address_prefix=None, next_hop_ip_address=None, next_hop_type=None): + self.name = name + self.source = source + self.state = state + self.address_prefix = address_prefix + self.next_hop_ip_address = next_hop_ip_address + self.next_hop_type = next_hop_type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_route_list_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_route_list_result.py new file mode 100644 index 000000000000..8b587af7b5d5 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/effective_route_list_result.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 EffectiveRouteListResult(Model): + """Response for list effective route API service call. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param value: A list of effective routes. + :type value: list of :class:`EffectiveRoute + ` + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[EffectiveRoute]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__(self, value=None): + self.value = value + self.next_link = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/endpoint_service_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/endpoint_service_result.py new file mode 100644 index 000000000000..9098a41ff164 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/endpoint_service_result.py @@ -0,0 +1,43 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class EndpointServiceResult(SubResource): + """Endpoint service. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Name of the endpoint service. + :vartype name: str + :ivar type: Type of the endpoint service. + :vartype type: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, id=None): + super(EndpointServiceResult, self).__init__(id=id) + self.name = None + self.type = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/endpoint_service_result_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/endpoint_service_result_paged.py new file mode 100644 index 000000000000..a0d49cdd621a --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/endpoint_service_result_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class EndpointServiceResultPaged(Paged): + """ + A paging container for iterating over a list of :class:`EndpointServiceResult ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[EndpointServiceResult]'} + } + + def __init__(self, *args, **kwargs): + + super(EndpointServiceResultPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/error.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/error.py new file mode 100644 index 000000000000..5733123239ce --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/error.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 Error(Model): + """Error. + + :param code: + :type code: str + :param message: + :type message: str + :param target: + :type target: str + :param details: + :type details: list of :class:`ErrorDetails + ` + :param inner_error: + :type inner_error: str + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ErrorDetails]'}, + 'inner_error': {'key': 'innerError', 'type': 'str'}, + } + + def __init__(self, code=None, message=None, target=None, details=None, inner_error=None): + self.code = code + self.message = message + self.target = target + self.details = details + self.inner_error = inner_error diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/error_details.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/error_details.py new file mode 100644 index 000000000000..47f2ac4111b1 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/error_details.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ErrorDetails(Model): + """ErrorDetails. + + :param code: + :type code: str + :param target: + :type target: str + :param message: + :type message: str + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__(self, code=None, target=None, message=None): + self.code = code + self.target = target + self.message = message diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit.py new file mode 100644 index 000000000000..b438af5d2bea --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class ExpressRouteCircuit(Resource): + """ExpressRouteCircuit resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param sku: The SKU. + :type sku: :class:`ExpressRouteCircuitSku + ` + :param allow_classic_operations: Allow classic operations + :type allow_classic_operations: bool + :param circuit_provisioning_state: The CircuitProvisioningState state of + the resource. + :type circuit_provisioning_state: str + :param service_provider_provisioning_state: The + ServiceProviderProvisioningState state of the resource. Possible values + are 'NotProvisioned', 'Provisioning', 'Provisioned', and 'Deprovisioning'. + Possible values include: 'NotProvisioned', 'Provisioning', 'Provisioned', + 'Deprovisioning' + :type service_provider_provisioning_state: str or + :class:`ServiceProviderProvisioningState + ` + :param authorizations: The list of authorizations. + :type authorizations: list of :class:`ExpressRouteCircuitAuthorization + ` + :param peerings: The list of peerings. + :type peerings: list of :class:`ExpressRouteCircuitPeering + ` + :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. + :type service_provider_properties: + :class:`ExpressRouteCircuitServiceProviderProperties + ` + :param provisioning_state: Gets the provisioning state of the public IP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param gateway_manager_etag: The GatewayManager Etag. + :type gateway_manager_etag: str + :ivar etag: Gets a unique read-only string that changes whenever the + resource is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'ExpressRouteCircuitSku'}, + 'allow_classic_operations': {'key': 'properties.allowClassicOperations', 'type': 'bool'}, + 'circuit_provisioning_state': {'key': 'properties.circuitProvisioningState', 'type': 'str'}, + 'service_provider_provisioning_state': {'key': 'properties.serviceProviderProvisioningState', 'type': 'str'}, + 'authorizations': {'key': 'properties.authorizations', 'type': '[ExpressRouteCircuitAuthorization]'}, + 'peerings': {'key': 'properties.peerings', 'type': '[ExpressRouteCircuitPeering]'}, + 'service_key': {'key': 'properties.serviceKey', 'type': 'str'}, + 'service_provider_notes': {'key': 'properties.serviceProviderNotes', 'type': 'str'}, + 'service_provider_properties': {'key': 'properties.serviceProviderProperties', 'type': 'ExpressRouteCircuitServiceProviderProperties'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'gateway_manager_etag': {'key': 'properties.gatewayManagerEtag', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, location=None, tags=None, sku=None, allow_classic_operations=None, circuit_provisioning_state=None, service_provider_provisioning_state=None, authorizations=None, peerings=None, service_key=None, service_provider_notes=None, service_provider_properties=None, provisioning_state=None, gateway_manager_etag=None): + super(ExpressRouteCircuit, self).__init__(id=id, location=location, tags=tags) + self.sku = sku + self.allow_classic_operations = allow_classic_operations + self.circuit_provisioning_state = circuit_provisioning_state + self.service_provider_provisioning_state = service_provider_provisioning_state + self.authorizations = authorizations + self.peerings = peerings + self.service_key = service_key + self.service_provider_notes = service_provider_notes + self.service_provider_properties = service_provider_properties + self.provisioning_state = provisioning_state + self.gateway_manager_etag = gateway_manager_etag + self.etag = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_arp_table.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_arp_table.py new file mode 100644 index 000000000000..a2f8f716bf8a --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_arp_table.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ExpressRouteCircuitArpTable(Model): + """The ARP table associated with the ExpressRouteCircuit. + + :param age: Age + :type age: int + :param interface: Interface + :type interface: str + :param ip_address: The IP address. + :type ip_address: str + :param mac_address: The MAC address. + :type mac_address: str + """ + + _attribute_map = { + 'age': {'key': 'age', 'type': 'int'}, + 'interface': {'key': 'interface', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'mac_address': {'key': 'macAddress', 'type': 'str'}, + } + + def __init__(self, age=None, interface=None, ip_address=None, mac_address=None): + self.age = age + self.interface = interface + self.ip_address = ip_address + self.mac_address = mac_address diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_authorization.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_authorization.py new file mode 100644 index 000000000000..acc491630206 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_authorization.py @@ -0,0 +1,60 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ExpressRouteCircuitAuthorization(SubResource): + """Authorization in an ExpressRouteCircuit resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :param authorization_key: The authorization key. + :type authorization_key: str + :param authorization_use_status: AuthorizationUseStatus. Possible values + are: 'Available' and 'InUse'. Possible values include: 'Available', + 'InUse' + :type authorization_use_status: str or :class:`AuthorizationUseStatus + ` + :param provisioning_state: Gets the provisioning state of the public IP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: Gets name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, + 'authorization_use_status': {'key': 'properties.authorizationUseStatus', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, authorization_key=None, authorization_use_status=None, provisioning_state=None, name=None): + super(ExpressRouteCircuitAuthorization, self).__init__(id=id) + self.authorization_key = authorization_key + self.authorization_use_status = authorization_use_status + self.provisioning_state = provisioning_state + self.name = name + self.etag = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_authorization_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_authorization_paged.py new file mode 100644 index 000000000000..e6993668cf3d --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_authorization_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class ExpressRouteCircuitAuthorizationPaged(Paged): + """ + A paging container for iterating over a list of :class:`ExpressRouteCircuitAuthorization ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[ExpressRouteCircuitAuthorization]'} + } + + def __init__(self, *args, **kwargs): + + super(ExpressRouteCircuitAuthorizationPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_paged.py new file mode 100644 index 000000000000..553db6fda33d --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class ExpressRouteCircuitPaged(Paged): + """ + A paging container for iterating over a list of :class:`ExpressRouteCircuit ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[ExpressRouteCircuit]'} + } + + def __init__(self, *args, **kwargs): + + super(ExpressRouteCircuitPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering.py new file mode 100644 index 000000000000..c18b5e7ecc83 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering.py @@ -0,0 +1,124 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ExpressRouteCircuitPeering(SubResource): + """Peering in an ExpressRouteCircuit resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :param peering_type: The PeeringType. Possible values are: + 'AzurePublicPeering', 'AzurePrivatePeering', and 'MicrosoftPeering'. + Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', + 'MicrosoftPeering' + :type peering_type: str or :class:`ExpressRouteCircuitPeeringType + ` + :param state: The state of peering. Possible values are: 'Disabled' and + 'Enabled'. Possible values include: 'Disabled', 'Enabled' + :type state: str or :class:`ExpressRouteCircuitPeeringState + ` + :param azure_asn: The Azure ASN. + :type azure_asn: int + :param peer_asn: The peer ASN. + :type peer_asn: int + :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 + :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. + :type vlan_id: int + :param microsoft_peering_config: The Microsoft peering configuration. + :type microsoft_peering_config: :class:`ExpressRouteCircuitPeeringConfig + ` + :param stats: Gets peering stats. + :type stats: :class:`ExpressRouteCircuitStats + ` + :param provisioning_state: Gets the provisioning state of the public IP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param gateway_manager_etag: The GatewayManager Etag. + :type gateway_manager_etag: str + :param last_modified_by: Gets whether the provider or the customer last + modified the peering. + :type last_modified_by: str + :param route_filter: The reference of the RouteFilter resource. + :type route_filter: :class:`RouteFilter + ` + :param ipv6_peering_config: The IPv6 peering configuration. + :type ipv6_peering_config: :class:`Ipv6ExpressRouteCircuitPeeringConfig + ` + :param name: Gets name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'peering_type': {'key': 'properties.peeringType', 'type': 'str'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'azure_asn': {'key': 'properties.azureASN', 'type': 'int'}, + 'peer_asn': {'key': 'properties.peerASN', 'type': 'int'}, + 'primary_peer_address_prefix': {'key': 'properties.primaryPeerAddressPrefix', 'type': 'str'}, + 'secondary_peer_address_prefix': {'key': 'properties.secondaryPeerAddressPrefix', 'type': 'str'}, + 'primary_azure_port': {'key': 'properties.primaryAzurePort', 'type': 'str'}, + 'secondary_azure_port': {'key': 'properties.secondaryAzurePort', 'type': 'str'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'vlan_id': {'key': 'properties.vlanId', 'type': 'int'}, + 'microsoft_peering_config': {'key': 'properties.microsoftPeeringConfig', 'type': 'ExpressRouteCircuitPeeringConfig'}, + 'stats': {'key': 'properties.stats', 'type': 'ExpressRouteCircuitStats'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'gateway_manager_etag': {'key': 'properties.gatewayManagerEtag', 'type': 'str'}, + 'last_modified_by': {'key': 'properties.lastModifiedBy', 'type': 'str'}, + 'route_filter': {'key': 'properties.routeFilter', 'type': 'RouteFilter'}, + 'ipv6_peering_config': {'key': 'properties.ipv6PeeringConfig', 'type': 'Ipv6ExpressRouteCircuitPeeringConfig'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, peering_type=None, state=None, azure_asn=None, peer_asn=None, primary_peer_address_prefix=None, secondary_peer_address_prefix=None, primary_azure_port=None, secondary_azure_port=None, shared_key=None, vlan_id=None, microsoft_peering_config=None, stats=None, provisioning_state=None, gateway_manager_etag=None, last_modified_by=None, route_filter=None, ipv6_peering_config=None, name=None): + super(ExpressRouteCircuitPeering, self).__init__(id=id) + self.peering_type = peering_type + self.state = state + self.azure_asn = azure_asn + self.peer_asn = peer_asn + self.primary_peer_address_prefix = primary_peer_address_prefix + self.secondary_peer_address_prefix = secondary_peer_address_prefix + self.primary_azure_port = primary_azure_port + self.secondary_azure_port = secondary_azure_port + self.shared_key = shared_key + self.vlan_id = vlan_id + self.microsoft_peering_config = microsoft_peering_config + self.stats = stats + self.provisioning_state = provisioning_state + self.gateway_manager_etag = gateway_manager_etag + self.last_modified_by = last_modified_by + self.route_filter = route_filter + self.ipv6_peering_config = ipv6_peering_config + self.name = name + self.etag = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering_config.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering_config.py new file mode 100644 index 000000000000..43b5ff41ebb2 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering_config.py @@ -0,0 +1,55 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ExpressRouteCircuitPeeringConfig(Model): + """Specifies the peering configuration. + + :param advertised_public_prefixes: The reference of + AdvertisedPublicPrefixes. + :type advertised_public_prefixes: list of str + :param advertised_communities: The communities of bgp peering. Spepcified + for microsoft peering + :type advertised_communities: list of str + :param advertised_public_prefixes_state: AdvertisedPublicPrefixState of + the Peering resource. Possible values are 'NotConfigured', 'Configuring', + 'Configured', and 'ValidationNeeded'. Possible values include: + 'NotConfigured', 'Configuring', 'Configured', 'ValidationNeeded' + :type advertised_public_prefixes_state: str or + :class:`ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + ` + :param legacy_mode: The legacy mode of the peering. + :type legacy_mode: int + :param customer_asn: The CustomerASN of the peering. + :type customer_asn: int + :param routing_registry_name: The RoutingRegistryName of the + configuration. + :type routing_registry_name: str + """ + + _attribute_map = { + 'advertised_public_prefixes': {'key': 'advertisedPublicPrefixes', 'type': '[str]'}, + 'advertised_communities': {'key': 'advertisedCommunities', 'type': '[str]'}, + 'advertised_public_prefixes_state': {'key': 'advertisedPublicPrefixesState', 'type': 'str'}, + 'legacy_mode': {'key': 'legacyMode', 'type': 'int'}, + 'customer_asn': {'key': 'customerASN', 'type': 'int'}, + 'routing_registry_name': {'key': 'routingRegistryName', 'type': 'str'}, + } + + def __init__(self, advertised_public_prefixes=None, advertised_communities=None, advertised_public_prefixes_state=None, legacy_mode=None, customer_asn=None, routing_registry_name=None): + self.advertised_public_prefixes = advertised_public_prefixes + self.advertised_communities = advertised_communities + self.advertised_public_prefixes_state = advertised_public_prefixes_state + self.legacy_mode = legacy_mode + self.customer_asn = customer_asn + self.routing_registry_name = routing_registry_name diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/private_access_service_result_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering_paged.py similarity index 65% rename from azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/private_access_service_result_paged.py rename to azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering_paged.py index 7060bf26dcc7..b290d1ac067f 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/private_access_service_result_paged.py +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_peering_paged.py @@ -12,16 +12,16 @@ from msrest.paging import Paged -class PrivateAccessServiceResultPaged(Paged): +class ExpressRouteCircuitPeeringPaged(Paged): """ - A paging container for iterating over a list of :class:`PrivateAccessServiceResult ` object + A paging container for iterating over a list of :class:`ExpressRouteCircuitPeering ` object """ _attribute_map = { 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[PrivateAccessServiceResult]'} + 'current_page': {'key': 'value', 'type': '[ExpressRouteCircuitPeering]'} } def __init__(self, *args, **kwargs): - super(PrivateAccessServiceResultPaged, self).__init__(*args, **kwargs) + super(ExpressRouteCircuitPeeringPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_routes_table.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_routes_table.py new file mode 100644 index 000000000000..e84fae6e0973 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_routes_table.py @@ -0,0 +1,43 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ExpressRouteCircuitRoutesTable(Model): + """The routes table associated with the ExpressRouteCircuit. + + :param network: network + :type network: str + :param next_hop: nextHop + :type next_hop: str + :param loc_prf: locPrf + :type loc_prf: str + :param weight: weight. + :type weight: int + :param path: path + :type path: str + """ + + _attribute_map = { + 'network': {'key': 'network', 'type': 'str'}, + 'next_hop': {'key': 'nextHop', 'type': 'str'}, + 'loc_prf': {'key': 'locPrf', 'type': 'str'}, + 'weight': {'key': 'weight', 'type': 'int'}, + 'path': {'key': 'path', 'type': 'str'}, + } + + def __init__(self, network=None, next_hop=None, loc_prf=None, weight=None, path=None): + self.network = network + self.next_hop = next_hop + self.loc_prf = loc_prf + self.weight = weight + self.path = path diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_routes_table_summary.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_routes_table_summary.py new file mode 100644 index 000000000000..3ff1b42d0c1b --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_routes_table_summary.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ExpressRouteCircuitRoutesTableSummary(Model): + """The routes table associated with the ExpressRouteCircuit. + + :param neighbor: Neighbor + :type neighbor: str + :param v: BGP version number spoken to the neighbor. + :type v: int + :param as_property: Autonomous system number. + :type as_property: int + :param up_down: The length of time that the BGP session has been in the + Established state, or the current status if not in the Established state. + :type up_down: str + :param state_pfx_rcd: Current state of the BGP session, and the number of + prefixes that have been received from a neighbor or peer group. + :type state_pfx_rcd: str + """ + + _attribute_map = { + 'neighbor': {'key': 'neighbor', 'type': 'str'}, + 'v': {'key': 'v', 'type': 'int'}, + 'as_property': {'key': 'as', 'type': 'int'}, + 'up_down': {'key': 'upDown', 'type': 'str'}, + 'state_pfx_rcd': {'key': 'statePfxRcd', 'type': 'str'}, + } + + def __init__(self, neighbor=None, v=None, as_property=None, up_down=None, state_pfx_rcd=None): + self.neighbor = neighbor + self.v = v + self.as_property = as_property + self.up_down = up_down + self.state_pfx_rcd = state_pfx_rcd diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_service_provider_properties.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_service_provider_properties.py new file mode 100644 index 000000000000..b7ada851e235 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_service_provider_properties.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ExpressRouteCircuitServiceProviderProperties(Model): + """Contains ServiceProviderProperties in an ExpressRouteCircuit. + + :param service_provider_name: The serviceProviderName. + :type service_provider_name: str + :param peering_location: The peering location. + :type peering_location: str + :param bandwidth_in_mbps: The BandwidthInMbps. + :type bandwidth_in_mbps: int + """ + + _attribute_map = { + 'service_provider_name': {'key': 'serviceProviderName', 'type': 'str'}, + 'peering_location': {'key': 'peeringLocation', 'type': 'str'}, + 'bandwidth_in_mbps': {'key': 'bandwidthInMbps', 'type': 'int'}, + } + + def __init__(self, service_provider_name=None, peering_location=None, bandwidth_in_mbps=None): + self.service_provider_name = service_provider_name + self.peering_location = peering_location + self.bandwidth_in_mbps = bandwidth_in_mbps diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_sku.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_sku.py new file mode 100644 index 000000000000..fb5fa63ae4f7 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_sku.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ExpressRouteCircuitSku(Model): + """Contains SKU in an ExpressRouteCircuit. + + :param name: The name of the SKU. + :type name: str + :param tier: The tier of the SKU. Possible values are 'Standard' and + 'Premium'. Possible values include: 'Standard', 'Premium' + :type tier: str or :class:`ExpressRouteCircuitSkuTier + ` + :param family: The family of the SKU. Possible values are: 'UnlimitedData' + and 'MeteredData'. Possible values include: 'UnlimitedData', 'MeteredData' + :type family: str or :class:`ExpressRouteCircuitSkuFamily + ` + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + } + + def __init__(self, name=None, tier=None, family=None): + self.name = name + self.tier = tier + self.family = family diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_stats.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_stats.py new file mode 100644 index 000000000000..1215bda40383 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuit_stats.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ExpressRouteCircuitStats(Model): + """Contains stats associated with the peering. + + :param primarybytes_in: Gets BytesIn of the peering. + :type primarybytes_in: long + :param primarybytes_out: Gets BytesOut of the peering. + :type primarybytes_out: long + :param secondarybytes_in: Gets BytesIn of the peering. + :type secondarybytes_in: long + :param secondarybytes_out: Gets BytesOut of the peering. + :type secondarybytes_out: long + """ + + _attribute_map = { + 'primarybytes_in': {'key': 'primarybytesIn', 'type': 'long'}, + 'primarybytes_out': {'key': 'primarybytesOut', 'type': 'long'}, + 'secondarybytes_in': {'key': 'secondarybytesIn', 'type': 'long'}, + 'secondarybytes_out': {'key': 'secondarybytesOut', 'type': 'long'}, + } + + def __init__(self, primarybytes_in=None, primarybytes_out=None, secondarybytes_in=None, secondarybytes_out=None): + self.primarybytes_in = primarybytes_in + self.primarybytes_out = primarybytes_out + self.secondarybytes_in = secondarybytes_in + self.secondarybytes_out = secondarybytes_out diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuits_arp_table_list_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuits_arp_table_list_result.py new file mode 100644 index 000000000000..14b3520d8707 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuits_arp_table_list_result.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ExpressRouteCircuitsArpTableListResult(Model): + """Response for ListArpTable associated with the Express Route Circuits API. + + :param value: Gets list of the ARP table. + :type value: list of :class:`ExpressRouteCircuitArpTable + ` + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitArpTable]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__(self, value=None, next_link=None): + self.value = value + self.next_link = next_link diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuits_routes_table_list_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuits_routes_table_list_result.py new file mode 100644 index 000000000000..afafe946b677 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuits_routes_table_list_result.py @@ -0,0 +1,33 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ExpressRouteCircuitsRoutesTableListResult(Model): + """Response for ListRoutesTable associated with the Express Route Circuits + API. + + :param value: The list of routes table. + :type value: list of :class:`ExpressRouteCircuitRoutesTable + ` + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitRoutesTable]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__(self, value=None, next_link=None): + self.value = value + self.next_link = next_link diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuits_routes_table_summary_list_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuits_routes_table_summary_list_result.py new file mode 100644 index 000000000000..aa399fcaa159 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_circuits_routes_table_summary_list_result.py @@ -0,0 +1,33 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ExpressRouteCircuitsRoutesTableSummaryListResult(Model): + """Response for ListRoutesTable associated with the Express Route Circuits + API. + + :param value: A list of the routes table. + :type value: list of :class:`ExpressRouteCircuitRoutesTableSummary + ` + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitRoutesTableSummary]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__(self, value=None, next_link=None): + self.value = value + self.next_link = next_link diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_service_provider.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_service_provider.py new file mode 100644 index 000000000000..f35974a0e4f2 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_service_provider.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class ExpressRouteServiceProvider(Resource): + """A ExpressRouteResourceProvider object. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param peering_locations: Get a list of peering locations. + :type peering_locations: list of str + :param bandwidths_offered: Gets bandwidths offered. + :type bandwidths_offered: list of + :class:`ExpressRouteServiceProviderBandwidthsOffered + ` + :param provisioning_state: Gets the provisioning state of the resource. + :type provisioning_state: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'peering_locations': {'key': 'properties.peeringLocations', 'type': '[str]'}, + 'bandwidths_offered': {'key': 'properties.bandwidthsOffered', 'type': '[ExpressRouteServiceProviderBandwidthsOffered]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, id=None, location=None, tags=None, peering_locations=None, bandwidths_offered=None, provisioning_state=None): + super(ExpressRouteServiceProvider, self).__init__(id=id, location=location, tags=tags) + self.peering_locations = peering_locations + self.bandwidths_offered = bandwidths_offered + self.provisioning_state = provisioning_state diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_service_provider_bandwidths_offered.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_service_provider_bandwidths_offered.py new file mode 100644 index 000000000000..b1b2c8a76447 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_service_provider_bandwidths_offered.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ExpressRouteServiceProviderBandwidthsOffered(Model): + """Contains bandwidths offered in ExpressRouteServiceProvider resources. + + :param offer_name: The OfferName. + :type offer_name: str + :param value_in_mbps: The ValueInMbps. + :type value_in_mbps: int + """ + + _attribute_map = { + 'offer_name': {'key': 'offerName', 'type': 'str'}, + 'value_in_mbps': {'key': 'valueInMbps', 'type': 'int'}, + } + + def __init__(self, offer_name=None, value_in_mbps=None): + self.offer_name = offer_name + self.value_in_mbps = value_in_mbps diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_service_provider_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_service_provider_paged.py new file mode 100644 index 000000000000..4dbbb6fe3b97 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/express_route_service_provider_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class ExpressRouteServiceProviderPaged(Paged): + """ + A paging container for iterating over a list of :class:`ExpressRouteServiceProvider ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[ExpressRouteServiceProvider]'} + } + + def __init__(self, *args, **kwargs): + + super(ExpressRouteServiceProviderPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/flow_log_information.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/flow_log_information.py new file mode 100644 index 000000000000..97a8b768fed8 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/flow_log_information.py @@ -0,0 +1,48 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 FlowLogInformation(Model): + """Information on the configuration of flow log. + + :param target_resource_id: The ID of the resource to configure for flow + logging. + :type target_resource_id: str + :param storage_id: ID of the storage account which is used to store the + flow log. + :type storage_id: str + :param enabled: Flag to enable/disable flow logging. + :type enabled: bool + :param retention_policy: + :type retention_policy: :class:`RetentionPolicyParameters + ` + """ + + _validation = { + 'target_resource_id': {'required': True}, + 'storage_id': {'required': True}, + 'enabled': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'storage_id': {'key': 'properties.storageId', 'type': 'str'}, + 'enabled': {'key': 'properties.enabled', 'type': 'bool'}, + 'retention_policy': {'key': 'properties.retentionPolicy', 'type': 'RetentionPolicyParameters'}, + } + + def __init__(self, target_resource_id, storage_id, enabled, retention_policy=None): + self.target_resource_id = target_resource_id + self.storage_id = storage_id + self.enabled = enabled + self.retention_policy = retention_policy diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/flow_log_status_parameters.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/flow_log_status_parameters.py new file mode 100644 index 000000000000..1dae2ff24447 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/flow_log_status_parameters.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 FlowLogStatusParameters(Model): + """Parameters that define a resource to query flow log status. + + :param target_resource_id: The target resource where getting the flow + logging status. + :type target_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + } + + def __init__(self, target_resource_id): + self.target_resource_id = target_resource_id diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/frontend_ip_configuration.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/frontend_ip_configuration.py new file mode 100644 index 000000000000..1087341ce22c --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/frontend_ip_configuration.py @@ -0,0 +1,97 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class FrontendIPConfiguration(SubResource): + """Frontend IP address of the load balancer. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar inbound_nat_rules: Read only. Inbound rules URIs that use this + frontend IP. + :vartype inbound_nat_rules: list of :class:`SubResource + ` + :ivar inbound_nat_pools: Read only. Inbound pools URIs that use this + frontend IP. + :vartype inbound_nat_pools: list of :class:`SubResource + ` + :ivar outbound_nat_rules: Read only. Outbound rules URIs that use this + frontend IP. + :vartype outbound_nat_rules: list of :class:`SubResource + ` + :ivar load_balancing_rules: Gets load balancing rules URIs that use this + frontend IP. + :vartype load_balancing_rules: list of :class:`SubResource + ` + :param private_ip_address: The private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The Private IP allocation method. + Possible values are: 'Static' and 'Dynamic'. Possible values include: + 'Static', 'Dynamic' + :type private_ip_allocation_method: str or :class:`IPAllocationMethod + ` + :param subnet: The reference of the subnet resource. + :type subnet: :class:`Subnet + ` + :param public_ip_address: The reference of the Public IP resource. + :type public_ip_address: :class:`PublicIPAddress + ` + :param provisioning_state: Gets the provisioning state of the public IP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'inbound_nat_rules': {'readonly': True}, + 'inbound_nat_pools': {'readonly': True}, + 'outbound_nat_rules': {'readonly': True}, + 'load_balancing_rules': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'inbound_nat_rules': {'key': 'properties.inboundNatRules', 'type': '[SubResource]'}, + 'inbound_nat_pools': {'key': 'properties.inboundNatPools', 'type': '[SubResource]'}, + 'outbound_nat_rules': {'key': 'properties.outboundNatRules', 'type': '[SubResource]'}, + 'load_balancing_rules': {'key': 'properties.loadBalancingRules', 'type': '[SubResource]'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'PublicIPAddress'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, private_ip_address=None, private_ip_allocation_method=None, subnet=None, public_ip_address=None, provisioning_state=None, name=None, etag=None): + super(FrontendIPConfiguration, self).__init__(id=id) + self.inbound_nat_rules = None + self.inbound_nat_pools = None + self.outbound_nat_rules = None + self.load_balancing_rules = None + self.private_ip_address = private_ip_address + self.private_ip_allocation_method = private_ip_allocation_method + self.subnet = subnet + self.public_ip_address = public_ip_address + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/frontend_ip_configuration_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/frontend_ip_configuration_paged.py new file mode 100644 index 000000000000..038e6c498c46 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/frontend_ip_configuration_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class FrontendIPConfigurationPaged(Paged): + """ + A paging container for iterating over a list of :class:`FrontendIPConfiguration ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[FrontendIPConfiguration]'} + } + + def __init__(self, *args, **kwargs): + + super(FrontendIPConfigurationPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/gateway_route.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/gateway_route.py new file mode 100644 index 000000000000..d3e0d4163c35 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/gateway_route.py @@ -0,0 +1,64 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 GatewayRoute(Model): + """Gateway routing details. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar local_address: The gateway's local address + :vartype local_address: str + :ivar network: The route's network prefix + :vartype network: str + :ivar next_hop: The route's next hop + :vartype next_hop: str + :ivar source_peer: The peer this route was learned from + :vartype source_peer: str + :ivar origin: The source this route was learned from + :vartype origin: str + :ivar as_path: The route's AS path sequence + :vartype as_path: str + :ivar weight: The route's weight + :vartype weight: int + """ + + _validation = { + 'local_address': {'readonly': True}, + 'network': {'readonly': True}, + 'next_hop': {'readonly': True}, + 'source_peer': {'readonly': True}, + 'origin': {'readonly': True}, + 'as_path': {'readonly': True}, + 'weight': {'readonly': True}, + } + + _attribute_map = { + 'local_address': {'key': 'localAddress', 'type': 'str'}, + 'network': {'key': 'network', 'type': 'str'}, + 'next_hop': {'key': 'nextHop', 'type': 'str'}, + 'source_peer': {'key': 'sourcePeer', 'type': 'str'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'as_path': {'key': 'asPath', 'type': 'str'}, + 'weight': {'key': 'weight', 'type': 'int'}, + } + + def __init__(self): + self.local_address = None + self.network = None + self.next_hop = None + self.source_peer = None + self.origin = None + self.as_path = None + self.weight = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/gateway_route_list_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/gateway_route_list_result.py new file mode 100644 index 000000000000..371dda7fefc0 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/gateway_route_list_result.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 GatewayRouteListResult(Model): + """List of virtual network gateway routes. + + :param value: List of gateway routes + :type value: list of :class:`GatewayRoute + ` + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[GatewayRoute]'}, + } + + def __init__(self, value=None): + self.value = value diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/inbound_nat_pool.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/inbound_nat_pool.py new file mode 100644 index 000000000000..0b853dd78c88 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/inbound_nat_pool.py @@ -0,0 +1,77 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class InboundNatPool(SubResource): + """Inbound NAT pool of the load balancer. + + :param id: Resource ID. + :type id: str + :param frontend_ip_configuration: A reference to frontend IP addresses. + :type frontend_ip_configuration: :class:`SubResource + ` + :param protocol: The transport protocol for the endpoint. Possible values + are: 'Udp' or 'Tcp'. Possible values include: 'Udp', 'Tcp' + :type protocol: str or :class:`TransportProtocol + ` + :param frontend_port_range_start: The first port number in the range of + external ports that will be used to provide Inbound Nat to NICs associated + with a load balancer. Acceptable values range between 1 and 65534. + :type frontend_port_range_start: int + :param frontend_port_range_end: The last port number in the range of + external ports that will be used to provide Inbound Nat to NICs associated + with a load balancer. Acceptable values range between 1 and 65535. + :type frontend_port_range_end: int + :param backend_port: The port used for internal connections on the + endpoint. Acceptable values are between 1 and 65535. + :type backend_port: int + :param provisioning_state: Gets the provisioning state of the PublicIP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'protocol': {'required': True}, + 'frontend_port_range_start': {'required': True}, + 'frontend_port_range_end': {'required': True}, + 'backend_port': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'frontend_ip_configuration': {'key': 'properties.frontendIPConfiguration', 'type': 'SubResource'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'frontend_port_range_start': {'key': 'properties.frontendPortRangeStart', 'type': 'int'}, + 'frontend_port_range_end': {'key': 'properties.frontendPortRangeEnd', 'type': 'int'}, + 'backend_port': {'key': 'properties.backendPort', 'type': 'int'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, protocol, frontend_port_range_start, frontend_port_range_end, backend_port, id=None, frontend_ip_configuration=None, provisioning_state=None, name=None, etag=None): + super(InboundNatPool, self).__init__(id=id) + self.frontend_ip_configuration = frontend_ip_configuration + self.protocol = protocol + self.frontend_port_range_start = frontend_port_range_start + self.frontend_port_range_end = frontend_port_range_end + self.backend_port = backend_port + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/inbound_nat_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/inbound_nat_rule.py new file mode 100644 index 000000000000..32c406f5991b --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/inbound_nat_rule.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class InboundNatRule(SubResource): + """Inbound NAT rule of the load balancer. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :param frontend_ip_configuration: A reference to frontend IP addresses. + :type frontend_ip_configuration: :class:`SubResource + ` + :ivar backend_ip_configuration: A reference to a private IP address + defined on a network interface of a VM. Traffic sent to the frontend port + of each of the frontend IP configurations is forwarded to the backend IP. + :vartype backend_ip_configuration: :class:`NetworkInterfaceIPConfiguration + ` + :param protocol: The transport protocol for the endpoint. Possible values + are: 'Udp' or 'Tcp'. Possible values include: 'Udp', 'Tcp' + :type protocol: str or :class:`TransportProtocol + ` + :param frontend_port: The port for the external endpoint. Port numbers for + each Rule must be unique within the Load Balancer. Acceptable values range + from 1 to 65534. + :type frontend_port: int + :param backend_port: The port used for the internal endpoint. Acceptable + values range from 1 to 65535. + :type backend_port: int + :param idle_timeout_in_minutes: The timeout for the TCP idle connection. + The value can be set between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol is set to TCP. + :type idle_timeout_in_minutes: int + :param enable_floating_ip: Configures a virtual machine's endpoint for the + floating IP capability required to configure a SQL AlwaysOn Availability + Group. This setting is required when using the SQL AlwaysOn Availability + Groups in SQL server. This setting can't be changed after you create the + endpoint. + :type enable_floating_ip: bool + :param provisioning_state: Gets the provisioning state of the public IP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: Gets name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'backend_ip_configuration': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'frontend_ip_configuration': {'key': 'properties.frontendIPConfiguration', 'type': 'SubResource'}, + 'backend_ip_configuration': {'key': 'properties.backendIPConfiguration', 'type': 'NetworkInterfaceIPConfiguration'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'frontend_port': {'key': 'properties.frontendPort', 'type': 'int'}, + 'backend_port': {'key': 'properties.backendPort', 'type': 'int'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + 'enable_floating_ip': {'key': 'properties.enableFloatingIP', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, frontend_ip_configuration=None, protocol=None, frontend_port=None, backend_port=None, idle_timeout_in_minutes=None, enable_floating_ip=None, provisioning_state=None, name=None, etag=None): + super(InboundNatRule, self).__init__(id=id) + self.frontend_ip_configuration = frontend_ip_configuration + self.backend_ip_configuration = None + self.protocol = protocol + self.frontend_port = frontend_port + self.backend_port = backend_port + self.idle_timeout_in_minutes = idle_timeout_in_minutes + self.enable_floating_ip = enable_floating_ip + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/inbound_nat_rule_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/inbound_nat_rule_paged.py new file mode 100644 index 000000000000..27ae45b7aadd --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/inbound_nat_rule_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class InboundNatRulePaged(Paged): + """ + A paging container for iterating over a list of :class:`InboundNatRule ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[InboundNatRule]'} + } + + def __init__(self, *args, **kwargs): + + super(InboundNatRulePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/ip_address_availability_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/ip_address_availability_result.py new file mode 100644 index 000000000000..ee967ea66dcf --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/ip_address_availability_result.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 IPAddressAvailabilityResult(Model): + """Response for CheckIPAddressAvailability API service call. + + :param available: Private IP address availability. + :type available: bool + :param available_ip_addresses: Contains other available private IP + addresses if the asked for address is taken. + :type available_ip_addresses: list of str + """ + + _attribute_map = { + 'available': {'key': 'available', 'type': 'bool'}, + 'available_ip_addresses': {'key': 'availableIPAddresses', 'type': '[str]'}, + } + + def __init__(self, available=None, available_ip_addresses=None): + self.available = available + self.available_ip_addresses = available_ip_addresses diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/ip_configuration.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/ip_configuration.py new file mode 100644 index 000000000000..00fe7ed0f738 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/ip_configuration.py @@ -0,0 +1,63 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class IPConfiguration(SubResource): + """IP configuration. + + :param id: Resource ID. + :type id: str + :param private_ip_address: The private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The private IP allocation method. + Possible values are 'Static' and 'Dynamic'. Possible values include: + 'Static', 'Dynamic' + :type private_ip_allocation_method: str or :class:`IPAllocationMethod + ` + :param subnet: The reference of the subnet resource. + :type subnet: :class:`Subnet + ` + :param public_ip_address: The reference of the public IP resource. + :type public_ip_address: :class:`PublicIPAddress + ` + :param provisioning_state: Gets the provisioning state of the public IP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'PublicIPAddress'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, private_ip_address=None, private_ip_allocation_method=None, subnet=None, public_ip_address=None, provisioning_state=None, name=None, etag=None): + super(IPConfiguration, self).__init__(id=id) + self.private_ip_address = private_ip_address + self.private_ip_allocation_method = private_ip_allocation_method + self.subnet = subnet + self.public_ip_address = public_ip_address + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/ipsec_policy.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/ipsec_policy.py new file mode 100644 index 000000000000..f9dd995688a0 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/ipsec_policy.py @@ -0,0 +1,86 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 IpsecPolicy(Model): + """An IPSec Policy configuration for a virtual network gateway connection. + + :param sa_life_time_seconds: The IPSec Security Association (also called + Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN + tunnel. + :type sa_life_time_seconds: int + :param sa_data_size_kilobytes: The IPSec Security Association (also called + Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN + tunnel. + :type sa_data_size_kilobytes: int + :param ipsec_encryption: The IPSec encryption algorithm (IKE phase 1). + Possible values include: 'None', 'DES', 'DES3', 'AES128', 'AES192', + 'AES256', 'GCMAES128', 'GCMAES192', 'GCMAES256' + :type ipsec_encryption: str or :class:`IpsecEncryption + ` + :param ipsec_integrity: The IPSec integrity algorithm (IKE phase 1). + Possible values include: 'MD5', 'SHA1', 'SHA256', 'GCMAES128', + 'GCMAES192', 'GCMAES256' + :type ipsec_integrity: str or :class:`IpsecIntegrity + ` + :param ike_encryption: The IKE encryption algorithm (IKE phase 2). + Possible values include: 'DES', 'DES3', 'AES128', 'AES192', 'AES256' + :type ike_encryption: str or :class:`IkeEncryption + ` + :param ike_integrity: The IKE integrity algorithm (IKE phase 2). Possible + values include: 'MD5', 'SHA1', 'SHA256', 'SHA384' + :type ike_integrity: str or :class:`IkeIntegrity + ` + :param dh_group: The DH Groups used in IKE Phase 1 for initial SA. + Possible values include: 'None', 'DHGroup1', 'DHGroup2', 'DHGroup14', + 'DHGroup2048', 'ECP256', 'ECP384', 'DHGroup24' + :type dh_group: str or :class:`DhGroup + ` + :param pfs_group: The DH Groups used in IKE Phase 2 for new child SA. + Possible values include: 'None', 'PFS1', 'PFS2', 'PFS2048', 'ECP256', + 'ECP384', 'PFS24' + :type pfs_group: str or :class:`PfsGroup + ` + """ + + _validation = { + 'sa_life_time_seconds': {'required': True}, + 'sa_data_size_kilobytes': {'required': True}, + 'ipsec_encryption': {'required': True}, + 'ipsec_integrity': {'required': True}, + 'ike_encryption': {'required': True}, + 'ike_integrity': {'required': True}, + 'dh_group': {'required': True}, + 'pfs_group': {'required': True}, + } + + _attribute_map = { + 'sa_life_time_seconds': {'key': 'saLifeTimeSeconds', 'type': 'int'}, + 'sa_data_size_kilobytes': {'key': 'saDataSizeKilobytes', 'type': 'int'}, + 'ipsec_encryption': {'key': 'ipsecEncryption', 'type': 'str'}, + 'ipsec_integrity': {'key': 'ipsecIntegrity', 'type': 'str'}, + 'ike_encryption': {'key': 'ikeEncryption', 'type': 'str'}, + 'ike_integrity': {'key': 'ikeIntegrity', 'type': 'str'}, + 'dh_group': {'key': 'dhGroup', 'type': 'str'}, + 'pfs_group': {'key': 'pfsGroup', 'type': 'str'}, + } + + def __init__(self, sa_life_time_seconds, sa_data_size_kilobytes, ipsec_encryption, ipsec_integrity, ike_encryption, ike_integrity, dh_group, pfs_group): + self.sa_life_time_seconds = sa_life_time_seconds + self.sa_data_size_kilobytes = sa_data_size_kilobytes + self.ipsec_encryption = ipsec_encryption + self.ipsec_integrity = ipsec_integrity + self.ike_encryption = ike_encryption + self.ike_integrity = ike_integrity + self.dh_group = dh_group + self.pfs_group = pfs_group diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/ipv6_express_route_circuit_peering_config.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/ipv6_express_route_circuit_peering_config.py new file mode 100644 index 000000000000..49143dd0ceea --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/ipv6_express_route_circuit_peering_config.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 Ipv6ExpressRouteCircuitPeeringConfig(Model): + """Contains IPv6 peering config. + + :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 + :param microsoft_peering_config: The Microsoft peering configuration. + :type microsoft_peering_config: :class:`ExpressRouteCircuitPeeringConfig + ` + :param route_filter: The reference of the RouteFilter resource. + :type route_filter: :class:`RouteFilter + ` + :param state: The state of peering. Possible values are: 'Disabled' and + 'Enabled'. Possible values include: 'Disabled', 'Enabled' + :type state: str or :class:`ExpressRouteCircuitPeeringState + ` + """ + + _attribute_map = { + 'primary_peer_address_prefix': {'key': 'primaryPeerAddressPrefix', 'type': 'str'}, + 'secondary_peer_address_prefix': {'key': 'secondaryPeerAddressPrefix', 'type': 'str'}, + 'microsoft_peering_config': {'key': 'microsoftPeeringConfig', 'type': 'ExpressRouteCircuitPeeringConfig'}, + 'route_filter': {'key': 'routeFilter', 'type': 'RouteFilter'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__(self, primary_peer_address_prefix=None, secondary_peer_address_prefix=None, microsoft_peering_config=None, route_filter=None, state=None): + self.primary_peer_address_prefix = primary_peer_address_prefix + self.secondary_peer_address_prefix = secondary_peer_address_prefix + self.microsoft_peering_config = microsoft_peering_config + self.route_filter = route_filter + self.state = state diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancer.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancer.py new file mode 100644 index 000000000000..f4d0fa6d59be --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancer.py @@ -0,0 +1,117 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class LoadBalancer(Resource): + """LoadBalancer resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param sku: The load balancer SKU. + :type sku: :class:`LoadBalancerSku + ` + :param frontend_ip_configurations: Object representing the frontend IPs to + be used for the load balancer + :type frontend_ip_configurations: list of :class:`FrontendIPConfiguration + ` + :param backend_address_pools: Collection of backend address pools used by + a load balancer + :type backend_address_pools: list of :class:`BackendAddressPool + ` + :param load_balancing_rules: Object collection representing the load + balancing rules Gets the provisioning + :type load_balancing_rules: list of :class:`LoadBalancingRule + ` + :param probes: Collection of probe objects used in the load balancer + :type probes: list of :class:`Probe + ` + :param inbound_nat_rules: Collection of inbound NAT Rules used by a load + balancer. Defining inbound NAT rules on your load balancer is mutually + exclusive with defining an inbound NAT pool. Inbound NAT pools are + referenced from virtual machine scale sets. NICs that are associated with + individual virtual machines cannot reference an Inbound NAT pool. They + have to reference individual inbound NAT rules. + :type inbound_nat_rules: list of :class:`InboundNatRule + ` + :param inbound_nat_pools: Defines an external port range for inbound NAT + to a single backend port on NICs associated with a load balancer. Inbound + NAT rules are created automatically for each NIC associated with the Load + Balancer using an external port from this range. Defining an Inbound NAT + pool on your Load Balancer is mutually exclusive with defining inbound Nat + rules. Inbound NAT pools are referenced from virtual machine scale sets. + NICs that are associated with individual virtual machines cannot reference + an inbound NAT pool. They have to reference individual inbound NAT rules. + :type inbound_nat_pools: list of :class:`InboundNatPool + ` + :param outbound_nat_rules: The outbound NAT rules. + :type outbound_nat_rules: list of :class:`OutboundNatRule + ` + :param resource_guid: The resource GUID property of the load balancer + resource. + :type resource_guid: str + :param provisioning_state: Gets the provisioning state of the PublicIP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'LoadBalancerSku'}, + 'frontend_ip_configurations': {'key': 'properties.frontendIPConfigurations', 'type': '[FrontendIPConfiguration]'}, + 'backend_address_pools': {'key': 'properties.backendAddressPools', 'type': '[BackendAddressPool]'}, + 'load_balancing_rules': {'key': 'properties.loadBalancingRules', 'type': '[LoadBalancingRule]'}, + 'probes': {'key': 'properties.probes', 'type': '[Probe]'}, + 'inbound_nat_rules': {'key': 'properties.inboundNatRules', 'type': '[InboundNatRule]'}, + 'inbound_nat_pools': {'key': 'properties.inboundNatPools', 'type': '[InboundNatPool]'}, + 'outbound_nat_rules': {'key': 'properties.outboundNatRules', 'type': '[OutboundNatRule]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, location=None, tags=None, sku=None, frontend_ip_configurations=None, backend_address_pools=None, load_balancing_rules=None, probes=None, inbound_nat_rules=None, inbound_nat_pools=None, outbound_nat_rules=None, resource_guid=None, provisioning_state=None, etag=None): + super(LoadBalancer, self).__init__(id=id, location=location, tags=tags) + self.sku = sku + self.frontend_ip_configurations = frontend_ip_configurations + self.backend_address_pools = backend_address_pools + self.load_balancing_rules = load_balancing_rules + self.probes = probes + self.inbound_nat_rules = inbound_nat_rules + self.inbound_nat_pools = inbound_nat_pools + self.outbound_nat_rules = outbound_nat_rules + self.resource_guid = resource_guid + self.provisioning_state = provisioning_state + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancer_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancer_paged.py new file mode 100644 index 000000000000..be08ea5fca73 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancer_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class LoadBalancerPaged(Paged): + """ + A paging container for iterating over a list of :class:`LoadBalancer ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[LoadBalancer]'} + } + + def __init__(self, *args, **kwargs): + + super(LoadBalancerPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancer_sku.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancer_sku.py new file mode 100644 index 000000000000..ea2747ed0bdc --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancer_sku.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 LoadBalancerSku(Model): + """SKU of a load balancer. + + :param name: Name of a load balancer SKU. Possible values include: + 'Basic', 'Standard' + :type name: str or :class:`LoadBalancerSkuName + ` + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__(self, name=None): + self.name = name diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancing_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancing_rule.py new file mode 100644 index 000000000000..a773c70a1684 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancing_rule.py @@ -0,0 +1,108 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class LoadBalancingRule(SubResource): + """A load balancing rule for a load balancer. + + :param id: Resource ID. + :type id: str + :param frontend_ip_configuration: A reference to frontend IP addresses. + :type frontend_ip_configuration: :class:`SubResource + ` + :param backend_address_pool: A reference to a pool of DIPs. Inbound + traffic is randomly load balanced across IPs in the backend IPs. + :type backend_address_pool: :class:`SubResource + ` + :param probe: The reference of the load balancer probe used by the load + balancing rule. + :type probe: :class:`SubResource + ` + :param protocol: The transport protocol for the external endpoint. + Possible values are 'Udp' or 'Tcp'. Possible values include: 'Udp', 'Tcp' + :type protocol: str or :class:`TransportProtocol + ` + :param load_distribution: The load distribution policy for this rule. + Possible values are 'Default', 'SourceIP', and 'SourceIPProtocol'. + Possible values include: 'Default', 'SourceIP', 'SourceIPProtocol' + :type load_distribution: str or :class:`LoadDistribution + ` + :param frontend_port: The port for the external endpoint. Port numbers for + each Rule must be unique within the Load Balancer. Acceptable values are + between 1 and 65534. + :type frontend_port: int + :param backend_port: The port used for internal connections on the + endpoint. Acceptable values are between 1 and 65535. + :type backend_port: int + :param idle_timeout_in_minutes: The timeout for the TCP idle connection. + The value can be set between 4 and 30 minutes. The default value is 4 + minutes. This element is only used when the protocol is set to TCP. + :type idle_timeout_in_minutes: int + :param enable_floating_ip: Configures a virtual machine's endpoint for the + floating IP capability required to configure a SQL AlwaysOn Availability + Group. This setting is required when using the SQL AlwaysOn Availability + Groups in SQL server. This setting can't be changed after you create the + endpoint. + :type enable_floating_ip: bool + :param disable_outbound_snat: Configures SNAT for the VMs in the backend + pool to use the publicIP address specified in the frontend of the load + balancing rule. + :type disable_outbound_snat: bool + :param provisioning_state: Gets the provisioning state of the PublicIP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'protocol': {'required': True}, + 'frontend_port': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'frontend_ip_configuration': {'key': 'properties.frontendIPConfiguration', 'type': 'SubResource'}, + 'backend_address_pool': {'key': 'properties.backendAddressPool', 'type': 'SubResource'}, + 'probe': {'key': 'properties.probe', 'type': 'SubResource'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'load_distribution': {'key': 'properties.loadDistribution', 'type': 'str'}, + 'frontend_port': {'key': 'properties.frontendPort', 'type': 'int'}, + 'backend_port': {'key': 'properties.backendPort', 'type': 'int'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + 'enable_floating_ip': {'key': 'properties.enableFloatingIP', 'type': 'bool'}, + 'disable_outbound_snat': {'key': 'properties.disableOutboundSnat', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, protocol, frontend_port, id=None, frontend_ip_configuration=None, backend_address_pool=None, probe=None, load_distribution=None, backend_port=None, idle_timeout_in_minutes=None, enable_floating_ip=None, disable_outbound_snat=None, provisioning_state=None, name=None, etag=None): + super(LoadBalancingRule, self).__init__(id=id) + self.frontend_ip_configuration = frontend_ip_configuration + self.backend_address_pool = backend_address_pool + self.probe = probe + self.protocol = protocol + self.load_distribution = load_distribution + self.frontend_port = frontend_port + self.backend_port = backend_port + self.idle_timeout_in_minutes = idle_timeout_in_minutes + self.enable_floating_ip = enable_floating_ip + self.disable_outbound_snat = disable_outbound_snat + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancing_rule_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancing_rule_paged.py new file mode 100644 index 000000000000..f49df430641e --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/load_balancing_rule_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class LoadBalancingRulePaged(Paged): + """ + A paging container for iterating over a list of :class:`LoadBalancingRule ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[LoadBalancingRule]'} + } + + def __init__(self, *args, **kwargs): + + super(LoadBalancingRulePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/local_network_gateway.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/local_network_gateway.py new file mode 100644 index 000000000000..abfa5186b068 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/local_network_gateway.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class LocalNetworkGateway(Resource): + """A common class for general resource information. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param local_network_address_space: Local network site address space. + :type local_network_address_space: :class:`AddressSpace + ` + :param gateway_ip_address: IP address of local network gateway. + :type gateway_ip_address: str + :param bgp_settings: Local network gateway's BGP speaker settings. + :type bgp_settings: :class:`BgpSettings + ` + :param resource_guid: The resource GUID property of the + LocalNetworkGateway resource. + :type resource_guid: str + :ivar provisioning_state: The provisioning state of the + LocalNetworkGateway resource. Possible values are: 'Updating', 'Deleting', + and 'Failed'. + :vartype provisioning_state: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'local_network_address_space': {'key': 'properties.localNetworkAddressSpace', 'type': 'AddressSpace'}, + 'gateway_ip_address': {'key': 'properties.gatewayIpAddress', 'type': 'str'}, + 'bgp_settings': {'key': 'properties.bgpSettings', 'type': 'BgpSettings'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, location=None, tags=None, local_network_address_space=None, gateway_ip_address=None, bgp_settings=None, resource_guid=None, etag=None): + super(LocalNetworkGateway, self).__init__(id=id, location=location, tags=tags) + self.local_network_address_space = local_network_address_space + self.gateway_ip_address = gateway_ip_address + self.bgp_settings = bgp_settings + self.resource_guid = resource_guid + self.provisioning_state = None + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/local_network_gateway_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/local_network_gateway_paged.py new file mode 100644 index 000000000000..8d29508fb2a9 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/local_network_gateway_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class LocalNetworkGatewayPaged(Paged): + """ + A paging container for iterating over a list of :class:`LocalNetworkGateway ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[LocalNetworkGateway]'} + } + + def __init__(self, *args, **kwargs): + + super(LocalNetworkGatewayPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface.py new file mode 100644 index 000000000000..d76aaea5dcf8 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface.py @@ -0,0 +1,103 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class NetworkInterface(Resource): + """A network interface in a resource group. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param virtual_machine: The reference of a virtual machine. + :type virtual_machine: :class:`SubResource + ` + :param network_security_group: The reference of the NetworkSecurityGroup + resource. + :type network_security_group: :class:`NetworkSecurityGroup + ` + :param ip_configurations: A list of IPConfigurations of the network + interface. + :type ip_configurations: list of :class:`NetworkInterfaceIPConfiguration + ` + :param dns_settings: The DNS settings in network interface. + :type dns_settings: :class:`NetworkInterfaceDnsSettings + ` + :param mac_address: The MAC address of the network interface. + :type mac_address: str + :param primary: Gets whether this is a primary network interface on a + virtual machine. + :type primary: bool + :param enable_accelerated_networking: If the network interface is + accelerated networking enabled. + :type enable_accelerated_networking: bool + :param enable_ip_forwarding: Indicates whether IP forwarding is enabled on + this network interface. + :type enable_ip_forwarding: bool + :param resource_guid: The resource GUID property of the network interface + resource. + :type resource_guid: str + :param provisioning_state: The provisioning state of the public IP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'virtual_machine': {'key': 'properties.virtualMachine', 'type': 'SubResource'}, + 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'dns_settings': {'key': 'properties.dnsSettings', 'type': 'NetworkInterfaceDnsSettings'}, + 'mac_address': {'key': 'properties.macAddress', 'type': 'str'}, + 'primary': {'key': 'properties.primary', 'type': 'bool'}, + 'enable_accelerated_networking': {'key': 'properties.enableAcceleratedNetworking', 'type': 'bool'}, + 'enable_ip_forwarding': {'key': 'properties.enableIPForwarding', 'type': 'bool'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, location=None, tags=None, virtual_machine=None, network_security_group=None, ip_configurations=None, dns_settings=None, mac_address=None, primary=None, enable_accelerated_networking=None, enable_ip_forwarding=None, resource_guid=None, provisioning_state=None, etag=None): + super(NetworkInterface, self).__init__(id=id, location=location, tags=tags) + self.virtual_machine = virtual_machine + self.network_security_group = network_security_group + self.ip_configurations = ip_configurations + self.dns_settings = dns_settings + self.mac_address = mac_address + self.primary = primary + self.enable_accelerated_networking = enable_accelerated_networking + self.enable_ip_forwarding = enable_ip_forwarding + self.resource_guid = resource_guid + self.provisioning_state = provisioning_state + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_association.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_association.py new file mode 100644 index 000000000000..f8bb9a54685c --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_association.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 NetworkInterfaceAssociation(Model): + """Network interface and its custom security rules. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Network interface ID. + :vartype id: str + :param security_rules: Collection of custom security rules. + :type security_rules: list of :class:`SecurityRule + ` + """ + + _validation = { + 'id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'security_rules': {'key': 'securityRules', 'type': '[SecurityRule]'}, + } + + def __init__(self, security_rules=None): + self.id = None + self.security_rules = security_rules diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_dns_settings.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_dns_settings.py new file mode 100644 index 000000000000..bcba8f132bf5 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_dns_settings.py @@ -0,0 +1,54 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 NetworkInterfaceDnsSettings(Model): + """DNS settings of a network interface. + + :param dns_servers: List of DNS servers IP addresses. Use + 'AzureProvidedDNS' to switch to azure provided DNS resolution. + 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the + only value in dnsServers collection. + :type dns_servers: list of str + :param applied_dns_servers: If the VM that uses this NIC is part of an + Availability Set, then this list will have the union of all DNS servers + from all NICs that are part of the Availability Set. This property is what + is configured on each of those VMs. + :type applied_dns_servers: list of str + :param internal_dns_name_label: Relative DNS name for this NIC used for + internal communications between VMs in the same virtual network. + :type internal_dns_name_label: str + :param internal_fqdn: Fully qualified DNS name supporting internal + communications between VMs in the same virtual network. + :type internal_fqdn: str + :param internal_domain_name_suffix: Even if internalDnsNameLabel is not + specified, a DNS entry is created for the primary NIC of the VM. This DNS + name can be constructed by concatenating the VM name with the value of + internalDomainNameSuffix. + :type internal_domain_name_suffix: str + """ + + _attribute_map = { + 'dns_servers': {'key': 'dnsServers', 'type': '[str]'}, + 'applied_dns_servers': {'key': 'appliedDnsServers', 'type': '[str]'}, + 'internal_dns_name_label': {'key': 'internalDnsNameLabel', 'type': 'str'}, + 'internal_fqdn': {'key': 'internalFqdn', 'type': 'str'}, + 'internal_domain_name_suffix': {'key': 'internalDomainNameSuffix', 'type': 'str'}, + } + + def __init__(self, dns_servers=None, applied_dns_servers=None, internal_dns_name_label=None, internal_fqdn=None, internal_domain_name_suffix=None): + self.dns_servers = dns_servers + self.applied_dns_servers = applied_dns_servers + self.internal_dns_name_label = internal_dns_name_label + self.internal_fqdn = internal_fqdn + self.internal_domain_name_suffix = internal_domain_name_suffix diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_ip_configuration.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_ip_configuration.py new file mode 100644 index 000000000000..2335bf824f4b --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_ip_configuration.py @@ -0,0 +1,97 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class NetworkInterfaceIPConfiguration(SubResource): + """IPConfiguration in a network interface. + + :param id: Resource ID. + :type id: str + :param application_gateway_backend_address_pools: The reference of + ApplicationGatewayBackendAddressPool resource. + :type application_gateway_backend_address_pools: list of + :class:`ApplicationGatewayBackendAddressPool + ` + :param load_balancer_backend_address_pools: The reference of + LoadBalancerBackendAddressPool resource. + :type load_balancer_backend_address_pools: list of + :class:`BackendAddressPool + ` + :param load_balancer_inbound_nat_rules: A list of references of + LoadBalancerInboundNatRules. + :type load_balancer_inbound_nat_rules: list of :class:`InboundNatRule + ` + :param private_ip_address: Private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: Defines how a private IP address is + assigned. Possible values are: 'Static' and 'Dynamic'. Possible values + include: 'Static', 'Dynamic' + :type private_ip_allocation_method: str or :class:`IPAllocationMethod + ` + :param private_ip_address_version: Available from Api-Version 2016-03-30 + onwards, it represents whether the specific ipconfiguration is IPv4 or + IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. + Possible values include: 'IPv4', 'IPv6' + :type private_ip_address_version: str or :class:`IPVersion + ` + :param subnet: Subnet bound to the IP configuration. + :type subnet: :class:`Subnet + ` + :param primary: Gets whether this is a primary customer address on the + network interface. + :type primary: bool + :param public_ip_address: Public IP address bound to the IP configuration. + :type public_ip_address: :class:`PublicIPAddress + ` + :param provisioning_state: The provisioning state of the network interface + IP configuration. Possible values are: 'Updating', 'Deleting', and + 'Failed'. + :type provisioning_state: str + :param name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'application_gateway_backend_address_pools': {'key': 'properties.applicationGatewayBackendAddressPools', 'type': '[ApplicationGatewayBackendAddressPool]'}, + 'load_balancer_backend_address_pools': {'key': 'properties.loadBalancerBackendAddressPools', 'type': '[BackendAddressPool]'}, + 'load_balancer_inbound_nat_rules': {'key': 'properties.loadBalancerInboundNatRules', 'type': '[InboundNatRule]'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'private_ip_address_version': {'key': 'properties.privateIPAddressVersion', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'primary': {'key': 'properties.primary', 'type': 'bool'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'PublicIPAddress'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, application_gateway_backend_address_pools=None, load_balancer_backend_address_pools=None, load_balancer_inbound_nat_rules=None, private_ip_address=None, private_ip_allocation_method=None, private_ip_address_version=None, subnet=None, primary=None, public_ip_address=None, provisioning_state=None, name=None, etag=None): + super(NetworkInterfaceIPConfiguration, self).__init__(id=id) + self.application_gateway_backend_address_pools = application_gateway_backend_address_pools + self.load_balancer_backend_address_pools = load_balancer_backend_address_pools + self.load_balancer_inbound_nat_rules = load_balancer_inbound_nat_rules + self.private_ip_address = private_ip_address + self.private_ip_allocation_method = private_ip_allocation_method + self.private_ip_address_version = private_ip_address_version + self.subnet = subnet + self.primary = primary + self.public_ip_address = public_ip_address + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_ip_configuration_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_ip_configuration_paged.py new file mode 100644 index 000000000000..2ba7a07a3e3a --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_ip_configuration_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class NetworkInterfaceIPConfigurationPaged(Paged): + """ + A paging container for iterating over a list of :class:`NetworkInterfaceIPConfiguration ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[NetworkInterfaceIPConfiguration]'} + } + + def __init__(self, *args, **kwargs): + + super(NetworkInterfaceIPConfigurationPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_paged.py new file mode 100644 index 000000000000..a969cc46ad68 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_interface_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class NetworkInterfacePaged(Paged): + """ + A paging container for iterating over a list of :class:`NetworkInterface ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[NetworkInterface]'} + } + + def __init__(self, *args, **kwargs): + + super(NetworkInterfacePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_management_client_enums.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_management_client_enums.py new file mode 100644 index 000000000000..26b99abf8f2e --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_management_client_enums.py @@ -0,0 +1,519 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum + + +class TransportProtocol(Enum): + + udp = "Udp" + tcp = "Tcp" + + +class IPAllocationMethod(Enum): + + static = "Static" + dynamic = "Dynamic" + + +class IPVersion(Enum): + + ipv4 = "IPv4" + ipv6 = "IPv6" + + +class SecurityRuleProtocol(Enum): + + tcp = "Tcp" + udp = "Udp" + asterisk = "*" + + +class SecurityRuleAccess(Enum): + + allow = "Allow" + deny = "Deny" + + +class SecurityRuleDirection(Enum): + + inbound = "Inbound" + outbound = "Outbound" + + +class RouteNextHopType(Enum): + + virtual_network_gateway = "VirtualNetworkGateway" + vnet_local = "VnetLocal" + internet = "Internet" + virtual_appliance = "VirtualAppliance" + none = "None" + + +class PublicIPAddressSkuName(Enum): + + basic = "Basic" + standard = "Standard" + + +class ApplicationGatewayProtocol(Enum): + + http = "Http" + https = "Https" + + +class ApplicationGatewayCookieBasedAffinity(Enum): + + enabled = "Enabled" + disabled = "Disabled" + + +class ApplicationGatewayBackendHealthServerHealth(Enum): + + unknown = "Unknown" + up = "Up" + down = "Down" + partial = "Partial" + draining = "Draining" + + +class ApplicationGatewaySkuName(Enum): + + standard_small = "Standard_Small" + standard_medium = "Standard_Medium" + standard_large = "Standard_Large" + waf_medium = "WAF_Medium" + waf_large = "WAF_Large" + + +class ApplicationGatewayTier(Enum): + + standard = "Standard" + waf = "WAF" + + +class ApplicationGatewaySslProtocol(Enum): + + tl_sv1_0 = "TLSv1_0" + tl_sv1_1 = "TLSv1_1" + tl_sv1_2 = "TLSv1_2" + + +class ApplicationGatewaySslPolicyType(Enum): + + predefined = "Predefined" + custom = "Custom" + + +class ApplicationGatewaySslPolicyName(Enum): + + app_gw_ssl_policy20150501 = "AppGwSslPolicy20150501" + app_gw_ssl_policy20170401 = "AppGwSslPolicy20170401" + app_gw_ssl_policy20170401_s = "AppGwSslPolicy20170401S" + + +class ApplicationGatewaySslCipherSuite(Enum): + + tls_ecdhe_rsa_with_aes_256_cbc_sha384 = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384" + tls_ecdhe_rsa_with_aes_128_cbc_sha256 = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + tls_ecdhe_rsa_with_aes_256_cbc_sha = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA" + tls_ecdhe_rsa_with_aes_128_cbc_sha = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA" + tls_dhe_rsa_with_aes_256_gcm_sha384 = "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384" + tls_dhe_rsa_with_aes_128_gcm_sha256 = "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256" + tls_dhe_rsa_with_aes_256_cbc_sha = "TLS_DHE_RSA_WITH_AES_256_CBC_SHA" + tls_dhe_rsa_with_aes_128_cbc_sha = "TLS_DHE_RSA_WITH_AES_128_CBC_SHA" + tls_rsa_with_aes_256_gcm_sha384 = "TLS_RSA_WITH_AES_256_GCM_SHA384" + tls_rsa_with_aes_128_gcm_sha256 = "TLS_RSA_WITH_AES_128_GCM_SHA256" + tls_rsa_with_aes_256_cbc_sha256 = "TLS_RSA_WITH_AES_256_CBC_SHA256" + tls_rsa_with_aes_128_cbc_sha256 = "TLS_RSA_WITH_AES_128_CBC_SHA256" + tls_rsa_with_aes_256_cbc_sha = "TLS_RSA_WITH_AES_256_CBC_SHA" + tls_rsa_with_aes_128_cbc_sha = "TLS_RSA_WITH_AES_128_CBC_SHA" + tls_ecdhe_ecdsa_with_aes_256_gcm_sha384 = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" + tls_ecdhe_ecdsa_with_aes_128_gcm_sha256 = "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256" + tls_ecdhe_ecdsa_with_aes_256_cbc_sha384 = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384" + tls_ecdhe_ecdsa_with_aes_128_cbc_sha256 = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256" + tls_ecdhe_ecdsa_with_aes_256_cbc_sha = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + tls_ecdhe_ecdsa_with_aes_128_cbc_sha = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA" + tls_dhe_dss_with_aes_256_cbc_sha256 = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256" + tls_dhe_dss_with_aes_128_cbc_sha256 = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256" + tls_dhe_dss_with_aes_256_cbc_sha = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA" + tls_dhe_dss_with_aes_128_cbc_sha = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA" + tls_rsa_with_3_des_ede_cbc_sha = "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + + +class ApplicationGatewayRequestRoutingRuleType(Enum): + + basic = "Basic" + path_based_routing = "PathBasedRouting" + + +class ApplicationGatewayRedirectType(Enum): + + permanent = "Permanent" + found = "Found" + see_other = "SeeOther" + temporary = "Temporary" + + +class ApplicationGatewayOperationalState(Enum): + + stopped = "Stopped" + starting = "Starting" + running = "Running" + stopping = "Stopping" + + +class ApplicationGatewayFirewallMode(Enum): + + detection = "Detection" + prevention = "Prevention" + + +class AuthorizationUseStatus(Enum): + + available = "Available" + in_use = "InUse" + + +class ExpressRouteCircuitPeeringAdvertisedPublicPrefixState(Enum): + + not_configured = "NotConfigured" + configuring = "Configuring" + configured = "Configured" + validation_needed = "ValidationNeeded" + + +class Access(Enum): + + allow = "Allow" + deny = "Deny" + + +class ExpressRouteCircuitPeeringType(Enum): + + azure_public_peering = "AzurePublicPeering" + azure_private_peering = "AzurePrivatePeering" + microsoft_peering = "MicrosoftPeering" + + +class ExpressRouteCircuitPeeringState(Enum): + + disabled = "Disabled" + enabled = "Enabled" + + +class ExpressRouteCircuitSkuTier(Enum): + + standard = "Standard" + premium = "Premium" + + +class ExpressRouteCircuitSkuFamily(Enum): + + unlimited_data = "UnlimitedData" + metered_data = "MeteredData" + + +class ServiceProviderProvisioningState(Enum): + + not_provisioned = "NotProvisioned" + provisioning = "Provisioning" + provisioned = "Provisioned" + deprovisioning = "Deprovisioning" + + +class LoadBalancerSkuName(Enum): + + basic = "Basic" + standard = "Standard" + + +class LoadDistribution(Enum): + + default = "Default" + source_ip = "SourceIP" + source_ip_protocol = "SourceIPProtocol" + + +class ProbeProtocol(Enum): + + http = "Http" + tcp = "Tcp" + + +class NetworkOperationStatus(Enum): + + in_progress = "InProgress" + succeeded = "Succeeded" + failed = "Failed" + + +class EffectiveSecurityRuleProtocol(Enum): + + tcp = "Tcp" + udp = "Udp" + all = "All" + + +class EffectiveRouteSource(Enum): + + unknown = "Unknown" + user = "User" + virtual_network_gateway = "VirtualNetworkGateway" + default = "Default" + + +class EffectiveRouteState(Enum): + + active = "Active" + invalid = "Invalid" + + +class ProvisioningState(Enum): + + succeeded = "Succeeded" + updating = "Updating" + deleting = "Deleting" + failed = "Failed" + + +class AssociationType(Enum): + + associated = "Associated" + contains = "Contains" + + +class Direction(Enum): + + inbound = "Inbound" + outbound = "Outbound" + + +class Protocol(Enum): + + tcp = "TCP" + udp = "UDP" + + +class NextHopType(Enum): + + internet = "Internet" + virtual_appliance = "VirtualAppliance" + virtual_network_gateway = "VirtualNetworkGateway" + vnet_local = "VnetLocal" + hyper_net_gateway = "HyperNetGateway" + none = "None" + + +class PcProtocol(Enum): + + tcp = "TCP" + udp = "UDP" + any = "Any" + + +class PcStatus(Enum): + + not_started = "NotStarted" + running = "Running" + stopped = "Stopped" + error = "Error" + unknown = "Unknown" + + +class PcError(Enum): + + internal_error = "InternalError" + agent_stopped = "AgentStopped" + capture_failed = "CaptureFailed" + local_file_failed = "LocalFileFailed" + storage_failed = "StorageFailed" + + +class Origin(Enum): + + local = "Local" + inbound = "Inbound" + outbound = "Outbound" + + +class Severity(Enum): + + error = "Error" + warning = "Warning" + + +class IssueType(Enum): + + unknown = "Unknown" + agent_stopped = "AgentStopped" + guest_firewall = "GuestFirewall" + dns_resolution = "DnsResolution" + socket_bind = "SocketBind" + network_security_rule = "NetworkSecurityRule" + user_defined_route = "UserDefinedRoute" + port_throttled = "PortThrottled" + platform = "Platform" + + +class ConnectionStatus(Enum): + + unknown = "Unknown" + connected = "Connected" + disconnected = "Disconnected" + degraded = "Degraded" + + +class VirtualNetworkPeeringState(Enum): + + initiated = "Initiated" + connected = "Connected" + disconnected = "Disconnected" + + +class VirtualNetworkGatewayType(Enum): + + vpn = "Vpn" + express_route = "ExpressRoute" + + +class VpnType(Enum): + + policy_based = "PolicyBased" + route_based = "RouteBased" + + +class VirtualNetworkGatewaySkuName(Enum): + + basic = "Basic" + high_performance = "HighPerformance" + standard = "Standard" + ultra_performance = "UltraPerformance" + vpn_gw1 = "VpnGw1" + vpn_gw2 = "VpnGw2" + vpn_gw3 = "VpnGw3" + + +class VirtualNetworkGatewaySkuTier(Enum): + + basic = "Basic" + high_performance = "HighPerformance" + standard = "Standard" + ultra_performance = "UltraPerformance" + vpn_gw1 = "VpnGw1" + vpn_gw2 = "VpnGw2" + vpn_gw3 = "VpnGw3" + + +class VpnClientProtocol(Enum): + + ike_v2 = "IkeV2" + sstp = "SSTP" + + +class BgpPeerState(Enum): + + unknown = "Unknown" + stopped = "Stopped" + idle = "Idle" + connecting = "Connecting" + connected = "Connected" + + +class ProcessorArchitecture(Enum): + + amd64 = "Amd64" + x86 = "X86" + + +class AuthenticationMethod(Enum): + + eaptls = "EAPTLS" + eapmscha_pv2 = "EAPMSCHAPv2" + + +class VirtualNetworkGatewayConnectionStatus(Enum): + + unknown = "Unknown" + connecting = "Connecting" + connected = "Connected" + not_connected = "NotConnected" + + +class VirtualNetworkGatewayConnectionType(Enum): + + ipsec = "IPsec" + vnet2_vnet = "Vnet2Vnet" + express_route = "ExpressRoute" + vpn_client = "VPNClient" + + +class IpsecEncryption(Enum): + + none = "None" + des = "DES" + des3 = "DES3" + aes128 = "AES128" + aes192 = "AES192" + aes256 = "AES256" + gcmaes128 = "GCMAES128" + gcmaes192 = "GCMAES192" + gcmaes256 = "GCMAES256" + + +class IpsecIntegrity(Enum): + + md5 = "MD5" + sha1 = "SHA1" + sha256 = "SHA256" + gcmaes128 = "GCMAES128" + gcmaes192 = "GCMAES192" + gcmaes256 = "GCMAES256" + + +class IkeEncryption(Enum): + + des = "DES" + des3 = "DES3" + aes128 = "AES128" + aes192 = "AES192" + aes256 = "AES256" + + +class IkeIntegrity(Enum): + + md5 = "MD5" + sha1 = "SHA1" + sha256 = "SHA256" + sha384 = "SHA384" + + +class DhGroup(Enum): + + none = "None" + dh_group1 = "DHGroup1" + dh_group2 = "DHGroup2" + dh_group14 = "DHGroup14" + dh_group2048 = "DHGroup2048" + ecp256 = "ECP256" + ecp384 = "ECP384" + dh_group24 = "DHGroup24" + + +class PfsGroup(Enum): + + none = "None" + pfs1 = "PFS1" + pfs2 = "PFS2" + pfs2048 = "PFS2048" + ecp256 = "ECP256" + ecp384 = "ECP384" + pfs24 = "PFS24" diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_security_group.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_security_group.py new file mode 100644 index 000000000000..56802000c5b5 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_security_group.py @@ -0,0 +1,87 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class NetworkSecurityGroup(Resource): + """NetworkSecurityGroup resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param security_rules: A collection of security rules of the network + security group. + :type security_rules: list of :class:`SecurityRule + ` + :param default_security_rules: The default security rules of network + security group. + :type default_security_rules: list of :class:`SecurityRule + ` + :ivar network_interfaces: A collection of references to network + interfaces. + :vartype network_interfaces: list of :class:`NetworkInterface + ` + :ivar subnets: A collection of references to subnets. + :vartype subnets: list of :class:`Subnet + ` + :param resource_guid: The resource GUID property of the network security + group resource. + :type resource_guid: str + :param provisioning_state: The provisioning state of the public IP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'network_interfaces': {'readonly': True}, + 'subnets': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'security_rules': {'key': 'properties.securityRules', 'type': '[SecurityRule]'}, + 'default_security_rules': {'key': 'properties.defaultSecurityRules', 'type': '[SecurityRule]'}, + 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, + 'subnets': {'key': 'properties.subnets', 'type': '[Subnet]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, location=None, tags=None, security_rules=None, default_security_rules=None, resource_guid=None, provisioning_state=None, etag=None): + super(NetworkSecurityGroup, self).__init__(id=id, location=location, tags=tags) + self.security_rules = security_rules + self.default_security_rules = default_security_rules + self.network_interfaces = None + self.subnets = None + self.resource_guid = resource_guid + self.provisioning_state = provisioning_state + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_security_group_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_security_group_paged.py new file mode 100644 index 000000000000..9a0c66ceada0 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_security_group_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class NetworkSecurityGroupPaged(Paged): + """ + A paging container for iterating over a list of :class:`NetworkSecurityGroup ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[NetworkSecurityGroup]'} + } + + def __init__(self, *args, **kwargs): + + super(NetworkSecurityGroupPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_watcher.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_watcher.py new file mode 100644 index 000000000000..935abd9cef3b --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_watcher.py @@ -0,0 +1,59 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class NetworkWatcher(Resource): + """Network watcher in a resource group. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + :ivar provisioning_state: The provisioning state of the resource. Possible + values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' + :vartype provisioning_state: str or :class:`ProvisioningState + ` + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, id=None, location=None, tags=None, etag=None): + super(NetworkWatcher, self).__init__(id=id, location=location, tags=tags) + self.etag = etag + self.provisioning_state = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_watcher_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_watcher_paged.py new file mode 100644 index 000000000000..a7db9700a92b --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/network_watcher_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class NetworkWatcherPaged(Paged): + """ + A paging container for iterating over a list of :class:`NetworkWatcher ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[NetworkWatcher]'} + } + + def __init__(self, *args, **kwargs): + + super(NetworkWatcherPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/next_hop_parameters.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/next_hop_parameters.py new file mode 100644 index 000000000000..f38a8ce62abb --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/next_hop_parameters.py @@ -0,0 +1,48 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 NextHopParameters(Model): + """Parameters that define the source and destination endpoint. + + :param target_resource_id: The resource identifier of the target resource + against which the action is to be performed. + :type target_resource_id: str + :param source_ip_address: The source IP address. + :type source_ip_address: str + :param destination_ip_address: The destination IP address. + :type destination_ip_address: str + :param target_nic_resource_id: The NIC ID. (If VM has multiple NICs and IP + forwarding is enabled on any of the nics, then this parameter must be + specified. Otherwise optional). + :type target_nic_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + 'source_ip_address': {'required': True}, + 'destination_ip_address': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'source_ip_address': {'key': 'sourceIPAddress', 'type': 'str'}, + 'destination_ip_address': {'key': 'destinationIPAddress', 'type': 'str'}, + 'target_nic_resource_id': {'key': 'targetNicResourceId', 'type': 'str'}, + } + + def __init__(self, target_resource_id, source_ip_address, destination_ip_address, target_nic_resource_id=None): + self.target_resource_id = target_resource_id + self.source_ip_address = source_ip_address + self.destination_ip_address = destination_ip_address + self.target_nic_resource_id = target_nic_resource_id diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/next_hop_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/next_hop_result.py new file mode 100644 index 000000000000..d0a7ba3e3704 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/next_hop_result.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 NextHopResult(Model): + """The information about next hop from the specified VM. + + :param next_hop_type: Next hop type. Possible values include: 'Internet', + 'VirtualAppliance', 'VirtualNetworkGateway', 'VnetLocal', + 'HyperNetGateway', 'None' + :type next_hop_type: str or :class:`NextHopType + ` + :param next_hop_ip_address: Next hop IP Address + :type next_hop_ip_address: str + :param route_table_id: The resource identifier for the route table + associated with the route being returned. If the route being returned does + not correspond to any user created routes then this field will be the + string 'System Route'. + :type route_table_id: str + """ + + _attribute_map = { + 'next_hop_type': {'key': 'nextHopType', 'type': 'str'}, + 'next_hop_ip_address': {'key': 'nextHopIpAddress', 'type': 'str'}, + 'route_table_id': {'key': 'routeTableId', 'type': 'str'}, + } + + def __init__(self, next_hop_type=None, next_hop_ip_address=None, route_table_id=None): + self.next_hop_type = next_hop_type + self.next_hop_ip_address = next_hop_ip_address + self.route_table_id = route_table_id diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/outbound_nat_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/outbound_nat_rule.py new file mode 100644 index 000000000000..d5341ac50359 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/outbound_nat_rule.py @@ -0,0 +1,63 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class OutboundNatRule(SubResource): + """Outbound NAT pool of the load balancer. + + :param id: Resource ID. + :type id: str + :param allocated_outbound_ports: The number of outbound ports to be used + for NAT. + :type allocated_outbound_ports: int + :param frontend_ip_configurations: The Frontend IP addresses of the load + balancer. + :type frontend_ip_configurations: list of :class:`SubResource + ` + :param backend_address_pool: A reference to a pool of DIPs. Outbound + traffic is randomly load balanced across IPs in the backend IPs. + :type backend_address_pool: :class:`SubResource + ` + :param provisioning_state: Gets the provisioning state of the PublicIP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'backend_address_pool': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'allocated_outbound_ports': {'key': 'properties.allocatedOutboundPorts', 'type': 'int'}, + 'frontend_ip_configurations': {'key': 'properties.frontendIPConfigurations', 'type': '[SubResource]'}, + 'backend_address_pool': {'key': 'properties.backendAddressPool', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, backend_address_pool, id=None, allocated_outbound_ports=None, frontend_ip_configurations=None, provisioning_state=None, name=None, etag=None): + super(OutboundNatRule, self).__init__(id=id) + self.allocated_outbound_ports = allocated_outbound_ports + self.frontend_ip_configurations = frontend_ip_configurations + self.backend_address_pool = backend_address_pool + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture.py new file mode 100644 index 000000000000..d46d44bbf51d --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture.py @@ -0,0 +1,58 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 PacketCapture(Model): + """Parameters that define the create packet capture operation. + + :param target: The ID of the targeted resource, only VM is currently + supported. + :type target: str + :param bytes_to_capture_per_packet: Number of bytes captured per packet, + the remaining bytes are truncated. Default value: 0 . + :type bytes_to_capture_per_packet: int + :param total_bytes_per_session: Maximum size of the capture output. + Default value: 1073741824 . + :type total_bytes_per_session: int + :param time_limit_in_seconds: Maximum duration of the capture session in + seconds. Default value: 18000 . + :type time_limit_in_seconds: int + :param storage_location: + :type storage_location: :class:`PacketCaptureStorageLocation + ` + :param filters: + :type filters: list of :class:`PacketCaptureFilter + ` + """ + + _validation = { + 'target': {'required': True}, + 'storage_location': {'required': True}, + } + + _attribute_map = { + 'target': {'key': 'properties.target', 'type': 'str'}, + 'bytes_to_capture_per_packet': {'key': 'properties.bytesToCapturePerPacket', 'type': 'int'}, + 'total_bytes_per_session': {'key': 'properties.totalBytesPerSession', 'type': 'int'}, + 'time_limit_in_seconds': {'key': 'properties.timeLimitInSeconds', 'type': 'int'}, + 'storage_location': {'key': 'properties.storageLocation', 'type': 'PacketCaptureStorageLocation'}, + 'filters': {'key': 'properties.filters', 'type': '[PacketCaptureFilter]'}, + } + + def __init__(self, target, storage_location, bytes_to_capture_per_packet=0, total_bytes_per_session=1073741824, time_limit_in_seconds=18000, filters=None): + self.target = target + self.bytes_to_capture_per_packet = bytes_to_capture_per_packet + self.total_bytes_per_session = total_bytes_per_session + self.time_limit_in_seconds = time_limit_in_seconds + self.storage_location = storage_location + self.filters = filters diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_filter.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_filter.py new file mode 100644 index 000000000000..2af30f801d04 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_filter.py @@ -0,0 +1,60 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 PacketCaptureFilter(Model): + """Filter that is applied to packet capture request. Multiple filters can be + applied. + + :param protocol: Protocol to be filtered on. Possible values include: + 'TCP', 'UDP', 'Any'. Default value: "Any" . + :type protocol: str or :class:`PcProtocol + ` + :param local_ip_address: Local IP Address to be filtered on. Notation: + "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. + "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently + supported. Mixing ranges with multiple entries not currently supported. + Default = null. + :type local_ip_address: str + :param remote_ip_address: Local IP Address to be filtered on. Notation: + "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. + "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently + supported. Mixing ranges with multiple entries not currently supported. + Default = null. + :type remote_ip_address: str + :param local_port: Local port to be filtered on. Notation: "80" for single + port entry."80-85" for range. "80;443;" for multiple entries. Multiple + ranges not currently supported. Mixing ranges with multiple entries not + currently supported. Default = null. + :type local_port: str + :param remote_port: Remote port to be filtered on. Notation: "80" for + single port entry."80-85" for range. "80;443;" for multiple entries. + Multiple ranges not currently supported. Mixing ranges with multiple + entries not currently supported. Default = null. + :type remote_port: str + """ + + _attribute_map = { + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'local_ip_address': {'key': 'localIPAddress', 'type': 'str'}, + 'remote_ip_address': {'key': 'remoteIPAddress', 'type': 'str'}, + 'local_port': {'key': 'localPort', 'type': 'str'}, + 'remote_port': {'key': 'remotePort', 'type': 'str'}, + } + + def __init__(self, protocol="Any", local_ip_address=None, remote_ip_address=None, local_port=None, remote_port=None): + self.protocol = protocol + self.local_ip_address = local_ip_address + self.remote_ip_address = remote_ip_address + self.local_port = local_port + self.remote_port = remote_port diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_parameters.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_parameters.py new file mode 100644 index 000000000000..f84eaea69557 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_parameters.py @@ -0,0 +1,58 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 PacketCaptureParameters(Model): + """Parameters that define the create packet capture operation. + + :param target: The ID of the targeted resource, only VM is currently + supported. + :type target: str + :param bytes_to_capture_per_packet: Number of bytes captured per packet, + the remaining bytes are truncated. Default value: 0 . + :type bytes_to_capture_per_packet: int + :param total_bytes_per_session: Maximum size of the capture output. + Default value: 1073741824 . + :type total_bytes_per_session: int + :param time_limit_in_seconds: Maximum duration of the capture session in + seconds. Default value: 18000 . + :type time_limit_in_seconds: int + :param storage_location: + :type storage_location: :class:`PacketCaptureStorageLocation + ` + :param filters: + :type filters: list of :class:`PacketCaptureFilter + ` + """ + + _validation = { + 'target': {'required': True}, + 'storage_location': {'required': True}, + } + + _attribute_map = { + 'target': {'key': 'target', 'type': 'str'}, + 'bytes_to_capture_per_packet': {'key': 'bytesToCapturePerPacket', 'type': 'int'}, + 'total_bytes_per_session': {'key': 'totalBytesPerSession', 'type': 'int'}, + 'time_limit_in_seconds': {'key': 'timeLimitInSeconds', 'type': 'int'}, + 'storage_location': {'key': 'storageLocation', 'type': 'PacketCaptureStorageLocation'}, + 'filters': {'key': 'filters', 'type': '[PacketCaptureFilter]'}, + } + + def __init__(self, target, storage_location, bytes_to_capture_per_packet=0, total_bytes_per_session=1073741824, time_limit_in_seconds=18000, filters=None): + self.target = target + self.bytes_to_capture_per_packet = bytes_to_capture_per_packet + self.total_bytes_per_session = total_bytes_per_session + self.time_limit_in_seconds = time_limit_in_seconds + self.storage_location = storage_location + self.filters = filters diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_query_status_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_query_status_result.py new file mode 100644 index 000000000000..dab21f834385 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_query_status_result.py @@ -0,0 +1,52 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 PacketCaptureQueryStatusResult(Model): + """Status of packet capture session. + + :param name: The name of the packet capture resource. + :type name: str + :param id: The ID of the packet capture resource. + :type id: str + :param capture_start_time: The start time of the packet capture session. + :type capture_start_time: datetime + :param packet_capture_status: The status of the packet capture session. + Possible values include: 'NotStarted', 'Running', 'Stopped', 'Error', + 'Unknown' + :type packet_capture_status: str or :class:`PcStatus + ` + :param stop_reason: The reason the current packet capture session was + stopped. + :type stop_reason: str + :param packet_capture_error: List of errors of packet capture session. + :type packet_capture_error: list of str or :class:`PcError + ` + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'capture_start_time': {'key': 'captureStartTime', 'type': 'iso-8601'}, + 'packet_capture_status': {'key': 'packetCaptureStatus', 'type': 'str'}, + 'stop_reason': {'key': 'stopReason', 'type': 'str'}, + 'packet_capture_error': {'key': 'packetCaptureError', 'type': '[str]'}, + } + + def __init__(self, name=None, id=None, capture_start_time=None, packet_capture_status=None, stop_reason=None, packet_capture_error=None): + self.name = name + self.id = id + self.capture_start_time = capture_start_time + self.packet_capture_status = packet_capture_status + self.stop_reason = stop_reason + self.packet_capture_error = packet_capture_error diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_result.py new file mode 100644 index 000000000000..34afa3ad793d --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_result.py @@ -0,0 +1,83 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 PacketCaptureResult(Model): + """Information about packet capture session. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar name: Name of the packet capture session. + :vartype name: str + :ivar id: ID of the packet capture operation. + :vartype id: str + :param etag: Default value: "A unique read-only string that changes + whenever the resource is updated." . + :type etag: str + :param target: The ID of the targeted resource, only VM is currently + supported. + :type target: str + :param bytes_to_capture_per_packet: Number of bytes captured per packet, + the remaining bytes are truncated. Default value: 0 . + :type bytes_to_capture_per_packet: int + :param total_bytes_per_session: Maximum size of the capture output. + Default value: 1073741824 . + :type total_bytes_per_session: int + :param time_limit_in_seconds: Maximum duration of the capture session in + seconds. Default value: 18000 . + :type time_limit_in_seconds: int + :param storage_location: + :type storage_location: :class:`PacketCaptureStorageLocation + ` + :param filters: + :type filters: list of :class:`PacketCaptureFilter + ` + :param provisioning_state: The provisioning state of the packet capture + session. Possible values include: 'Succeeded', 'Updating', 'Deleting', + 'Failed' + :type provisioning_state: str or :class:`ProvisioningState + ` + """ + + _validation = { + 'name': {'readonly': True}, + 'id': {'readonly': True}, + 'target': {'required': True}, + 'storage_location': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'target': {'key': 'properties.target', 'type': 'str'}, + 'bytes_to_capture_per_packet': {'key': 'properties.bytesToCapturePerPacket', 'type': 'int'}, + 'total_bytes_per_session': {'key': 'properties.totalBytesPerSession', 'type': 'int'}, + 'time_limit_in_seconds': {'key': 'properties.timeLimitInSeconds', 'type': 'int'}, + 'storage_location': {'key': 'properties.storageLocation', 'type': 'PacketCaptureStorageLocation'}, + 'filters': {'key': 'properties.filters', 'type': '[PacketCaptureFilter]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, target, storage_location, etag="A unique read-only string that changes whenever the resource is updated.", bytes_to_capture_per_packet=0, total_bytes_per_session=1073741824, time_limit_in_seconds=18000, filters=None, provisioning_state=None): + self.name = None + self.id = None + self.etag = etag + self.target = target + self.bytes_to_capture_per_packet = bytes_to_capture_per_packet + self.total_bytes_per_session = total_bytes_per_session + self.time_limit_in_seconds = time_limit_in_seconds + self.storage_location = storage_location + self.filters = filters + self.provisioning_state = provisioning_state diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_result_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_result_paged.py new file mode 100644 index 000000000000..8bf957e78eff --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_result_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class PacketCaptureResultPaged(Paged): + """ + A paging container for iterating over a list of :class:`PacketCaptureResult ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[PacketCaptureResult]'} + } + + def __init__(self, *args, **kwargs): + + super(PacketCaptureResultPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_storage_location.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_storage_location.py new file mode 100644 index 000000000000..d0987d11ff9f --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/packet_capture_storage_location.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 PacketCaptureStorageLocation(Model): + """Describes the storage location for a packet capture session. + + :param storage_id: The ID of the storage account to save the packet + capture session. Required if no local file path is provided. + :type storage_id: str + :param storage_path: The URI of the storage path to save the packet + capture. Must be a well-formed URI describing the location to save the + packet capture. + :type storage_path: str + :param file_path: A valid local path on the targeting VM. Must include the + name of the capture file (*.cap). For linux virtual machine it must start + with /var/captures. Required if no storage ID is provided, otherwise + optional. + :type file_path: str + """ + + _attribute_map = { + 'storage_id': {'key': 'storageId', 'type': 'str'}, + 'storage_path': {'key': 'storagePath', 'type': 'str'}, + 'file_path': {'key': 'filePath', 'type': 'str'}, + } + + def __init__(self, storage_id=None, storage_path=None, file_path=None): + self.storage_id = storage_id + self.storage_path = storage_path + self.file_path = file_path diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/patch_route_filter.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/patch_route_filter.py new file mode 100644 index 000000000000..57a517c70788 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/patch_route_filter.py @@ -0,0 +1,72 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class PatchRouteFilter(SubResource): + """Route Filter Resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :param rules: Collection of RouteFilterRules contained within a route + filter. + :type rules: list of :class:`RouteFilterRule + ` + :param peerings: A collection of references to express route circuit + peerings. + :type peerings: list of :class:`ExpressRouteCircuitPeering + ` + :ivar provisioning_state: The provisioning state of the resource. Possible + values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'. + :vartype provisioning_state: str + :ivar name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :vartype name: str + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :param tags: Resource tags. + :type tags: dict + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + 'name': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'rules': {'key': 'properties.rules', 'type': '[RouteFilterRule]'}, + 'peerings': {'key': 'properties.peerings', 'type': '[ExpressRouteCircuitPeering]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, id=None, rules=None, peerings=None, tags=None): + super(PatchRouteFilter, self).__init__(id=id) + self.rules = rules + self.peerings = peerings + self.provisioning_state = None + self.name = None + self.etag = None + self.type = None + self.tags = tags diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/patch_route_filter_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/patch_route_filter_rule.py new file mode 100644 index 000000000000..27c02331fca8 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/patch_route_filter_rule.py @@ -0,0 +1,75 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class PatchRouteFilterRule(SubResource): + """Route Filter Rule Resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :param access: The access type of the rule. Valid values are: 'Allow', + 'Deny'. Possible values include: 'Allow', 'Deny' + :type access: str or :class:`Access + ` + :ivar route_filter_rule_type: The rule type of the rule. Valid value is: + 'Community'. Default value: "Community" . + :vartype route_filter_rule_type: str + :param communities: The collection for bgp community values to filter on. + e.g. ['12076:5010','12076:5020'] + :type communities: list of str + :ivar provisioning_state: The provisioning state of the resource. Possible + values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'. + :vartype provisioning_state: str + :ivar name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :vartype name: str + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + :param tags: Resource tags. + :type tags: dict + """ + + _validation = { + 'access': {'required': True}, + 'route_filter_rule_type': {'required': True, 'constant': True}, + 'communities': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'name': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'access': {'key': 'properties.access', 'type': 'str'}, + 'route_filter_rule_type': {'key': 'properties.routeFilterRuleType', 'type': 'str'}, + 'communities': {'key': 'properties.communities', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + route_filter_rule_type = "Community" + + def __init__(self, access, communities, id=None, tags=None): + super(PatchRouteFilterRule, self).__init__(id=id) + self.access = access + self.communities = communities + self.provisioning_state = None + self.name = None + self.etag = None + self.tags = tags diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/probe.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/probe.py new file mode 100644 index 000000000000..c808200f7acc --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/probe.py @@ -0,0 +1,91 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class Probe(SubResource): + """A load balancer probe. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar load_balancing_rules: The load balancer rules that use this probe. + :vartype load_balancing_rules: list of :class:`SubResource + ` + :param protocol: The protocol of the end point. Possible values are: + 'Http' or 'Tcp'. If 'Tcp' is specified, a received ACK is required for the + probe to be successful. If 'Http' is specified, a 200 OK response from the + specifies URI is required for the probe to be successful. Possible values + include: 'Http', 'Tcp' + :type protocol: str or :class:`ProbeProtocol + ` + :param port: The port for communicating the probe. Possible values range + from 1 to 65535, inclusive. + :type port: int + :param interval_in_seconds: The interval, in seconds, for how frequently + to probe the endpoint for health status. Typically, the interval is + slightly less than half the allocated timeout period (in seconds) which + allows two full probes before taking the instance out of rotation. The + default value is 15, the minimum value is 5. + :type interval_in_seconds: int + :param number_of_probes: The number of probes where if no response, will + result in stopping further traffic from being delivered to the endpoint. + This values allows endpoints to be taken out of rotation faster or slower + than the typical times used in Azure. + :type number_of_probes: int + :param request_path: The URI used for requesting health status from the + VM. Path is required if a protocol is set to http. Otherwise, it is not + allowed. There is no default value. + :type request_path: str + :param provisioning_state: Gets the provisioning state of the public IP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: Gets name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'load_balancing_rules': {'readonly': True}, + 'protocol': {'required': True}, + 'port': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'load_balancing_rules': {'key': 'properties.loadBalancingRules', 'type': '[SubResource]'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'port': {'key': 'properties.port', 'type': 'int'}, + 'interval_in_seconds': {'key': 'properties.intervalInSeconds', 'type': 'int'}, + 'number_of_probes': {'key': 'properties.numberOfProbes', 'type': 'int'}, + 'request_path': {'key': 'properties.requestPath', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, protocol, port, id=None, interval_in_seconds=None, number_of_probes=None, request_path=None, provisioning_state=None, name=None, etag=None): + super(Probe, self).__init__(id=id) + self.load_balancing_rules = None + self.protocol = protocol + self.port = port + self.interval_in_seconds = interval_in_seconds + self.number_of_probes = number_of_probes + self.request_path = request_path + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/probe_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/probe_paged.py new file mode 100644 index 000000000000..65fb3b71f605 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/probe_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class ProbePaged(Paged): + """ + A paging container for iterating over a list of :class:`Probe ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Probe]'} + } + + def __init__(self, *args, **kwargs): + + super(ProbePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/public_ip_address.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/public_ip_address.py new file mode 100644 index 000000000000..babec5e85019 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/public_ip_address.py @@ -0,0 +1,102 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class PublicIPAddress(Resource): + """Public IP address resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param sku: The public IP address SKU. + :type sku: :class:`PublicIPAddressSku + ` + :param public_ip_allocation_method: The public IP allocation method. + Possible values are: 'Static' and 'Dynamic'. Possible values include: + 'Static', 'Dynamic' + :type public_ip_allocation_method: str or :class:`IPAllocationMethod + ` + :param public_ip_address_version: The public IP address version. Possible + values are: 'IPv4' and 'IPv6'. Possible values include: 'IPv4', 'IPv6' + :type public_ip_address_version: str or :class:`IPVersion + ` + :ivar ip_configuration: The IP configuration associated with the public IP + address. + :vartype ip_configuration: :class:`IPConfiguration + ` + :param dns_settings: The FQDN of the DNS record associated with the public + IP address. + :type dns_settings: :class:`PublicIPAddressDnsSettings + ` + :param ip_address: The IP address associated with the public IP address + resource. + :type ip_address: str + :param idle_timeout_in_minutes: The idle timeout of the public IP address. + :type idle_timeout_in_minutes: int + :param resource_guid: The resource GUID property of the public IP + resource. + :type resource_guid: str + :param provisioning_state: The provisioning state of the PublicIP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'ip_configuration': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'PublicIPAddressSku'}, + 'public_ip_allocation_method': {'key': 'properties.publicIPAllocationMethod', 'type': 'str'}, + 'public_ip_address_version': {'key': 'properties.publicIPAddressVersion', 'type': 'str'}, + 'ip_configuration': {'key': 'properties.ipConfiguration', 'type': 'IPConfiguration'}, + 'dns_settings': {'key': 'properties.dnsSettings', 'type': 'PublicIPAddressDnsSettings'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, location=None, tags=None, sku=None, public_ip_allocation_method=None, public_ip_address_version=None, dns_settings=None, ip_address=None, idle_timeout_in_minutes=None, resource_guid=None, provisioning_state=None, etag=None): + super(PublicIPAddress, self).__init__(id=id, location=location, tags=tags) + self.sku = sku + self.public_ip_allocation_method = public_ip_allocation_method + self.public_ip_address_version = public_ip_address_version + self.ip_configuration = None + self.dns_settings = dns_settings + self.ip_address = ip_address + self.idle_timeout_in_minutes = idle_timeout_in_minutes + self.resource_guid = resource_guid + self.provisioning_state = provisioning_state + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/public_ip_address_dns_settings.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/public_ip_address_dns_settings.py new file mode 100644 index 000000000000..65a534407848 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/public_ip_address_dns_settings.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 PublicIPAddressDnsSettings(Model): + """Contains FQDN of the DNS record associated with the public IP address. + + :param domain_name_label: Gets or sets the Domain name label.The + concatenation of the domain name label and the regionalized DNS zone make + up the fully qualified domain name associated with the public IP address. + If a domain name label is specified, an A DNS record is created for the + public IP in the Microsoft Azure DNS system. + :type domain_name_label: str + :param fqdn: Gets the FQDN, Fully qualified domain name of the A DNS + record associated with the public IP. This is the concatenation of the + domainNameLabel and the regionalized DNS zone. + :type fqdn: str + :param reverse_fqdn: Gets or Sets the Reverse FQDN. A user-visible, fully + qualified domain name that resolves to this public IP address. If the + reverseFqdn is specified, then a PTR DNS record is created pointing from + the IP address in the in-addr.arpa domain to the reverse FQDN. + :type reverse_fqdn: str + """ + + _attribute_map = { + 'domain_name_label': {'key': 'domainNameLabel', 'type': 'str'}, + 'fqdn': {'key': 'fqdn', 'type': 'str'}, + 'reverse_fqdn': {'key': 'reverseFqdn', 'type': 'str'}, + } + + def __init__(self, domain_name_label=None, fqdn=None, reverse_fqdn=None): + self.domain_name_label = domain_name_label + self.fqdn = fqdn + self.reverse_fqdn = reverse_fqdn diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/public_ip_address_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/public_ip_address_paged.py new file mode 100644 index 000000000000..042268ec6e43 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/public_ip_address_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class PublicIPAddressPaged(Paged): + """ + A paging container for iterating over a list of :class:`PublicIPAddress ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[PublicIPAddress]'} + } + + def __init__(self, *args, **kwargs): + + super(PublicIPAddressPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/public_ip_address_sku.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/public_ip_address_sku.py new file mode 100644 index 000000000000..4be282e52939 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/public_ip_address_sku.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 PublicIPAddressSku(Model): + """SKU of a public IP address. + + :param name: Name of a public IP address SKU. Possible values include: + 'Basic', 'Standard' + :type name: str or :class:`PublicIPAddressSkuName + ` + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__(self, name=None): + self.name = name diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/query_troubleshooting_parameters.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/query_troubleshooting_parameters.py new file mode 100644 index 000000000000..a394b181fcc5 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/query_troubleshooting_parameters.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 QueryTroubleshootingParameters(Model): + """Parameters that define the resource to query the troubleshooting result. + + :param target_resource_id: The target resource ID to query the + troubleshooting result. + :type target_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + } + + def __init__(self, target_resource_id): + self.target_resource_id = target_resource_id diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/resource.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/resource.py new file mode 100644 index 000000000000..0f0b2f02f123 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/resource.py @@ -0,0 +1,51 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 Resource(Model): + """Common resource representation. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, id=None, location=None, tags=None): + self.id = id + self.name = None + self.type = None + self.location = location + self.tags = tags diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/resource_navigation_link.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/resource_navigation_link.py new file mode 100644 index 000000000000..9b4484be654a --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/resource_navigation_link.py @@ -0,0 +1,58 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class ResourceNavigationLink(SubResource): + """ResourceNavigationLink resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :param linked_resource_type: Resource type of the linked resource. + :type linked_resource_type: str + :param link: Link to the external resource + :type link: str + :ivar provisioning_state: Provisioning state of the ResourceNavigationLink + resource. + :vartype provisioning_state: str + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'linked_resource_type': {'key': 'properties.linkedResourceType', 'type': 'str'}, + 'link': {'key': 'properties.link', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, linked_resource_type=None, link=None, name=None): + super(ResourceNavigationLink, self).__init__(id=id) + self.linked_resource_type = linked_resource_type + self.link = link + self.provisioning_state = None + self.name = name + self.etag = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/retention_policy_parameters.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/retention_policy_parameters.py new file mode 100644 index 000000000000..58f7f12cc6a9 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/retention_policy_parameters.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 RetentionPolicyParameters(Model): + """Parameters that define the retention policy for flow log. + + :param days: Number of days to retain flow log records. Default value: 0 . + :type days: int + :param enabled: Flag to enable/disable retention. Default value: False . + :type enabled: bool + """ + + _attribute_map = { + 'days': {'key': 'days', 'type': 'int'}, + 'enabled': {'key': 'enabled', 'type': 'bool'}, + } + + def __init__(self, days=0, enabled=False): + self.days = days + self.enabled = enabled diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route.py new file mode 100644 index 000000000000..820abd05e4f5 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route.py @@ -0,0 +1,65 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class Route(SubResource): + """Route resource. + + :param id: Resource ID. + :type id: str + :param address_prefix: The destination CIDR to which the route applies. + :type address_prefix: str + :param next_hop_type: The type of Azure hop the packet should be sent to. + Possible values are: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', + 'VirtualAppliance', and 'None'. Possible values include: + 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', + 'None' + :type next_hop_type: str or :class:`RouteNextHopType + ` + :param next_hop_ip_address: The IP address packets should be forwarded to. + Next hop values are only allowed in routes where the next hop type is + VirtualAppliance. + :type next_hop_ip_address: str + :param provisioning_state: The provisioning state of the resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'next_hop_type': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'next_hop_type': {'key': 'properties.nextHopType', 'type': 'str'}, + 'next_hop_ip_address': {'key': 'properties.nextHopIpAddress', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, next_hop_type, id=None, address_prefix=None, next_hop_ip_address=None, provisioning_state=None, name=None, etag=None): + super(Route, self).__init__(id=id) + self.address_prefix = address_prefix + self.next_hop_type = next_hop_type + self.next_hop_ip_address = next_hop_ip_address + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_filter.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_filter.py new file mode 100644 index 000000000000..f72e4a86777f --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_filter.py @@ -0,0 +1,71 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class RouteFilter(Resource): + """Route Filter Resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param rules: Collection of RouteFilterRules contained within a route + filter. + :type rules: list of :class:`RouteFilterRule + ` + :param peerings: A collection of references to express route circuit + peerings. + :type peerings: list of :class:`ExpressRouteCircuitPeering + ` + :ivar provisioning_state: The provisioning state of the resource. Possible + values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'. + :vartype provisioning_state: str + :ivar etag: Gets a unique read-only string that changes whenever the + resource is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'rules': {'key': 'properties.rules', 'type': '[RouteFilterRule]'}, + 'peerings': {'key': 'properties.peerings', 'type': '[ExpressRouteCircuitPeering]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, location=None, tags=None, rules=None, peerings=None): + super(RouteFilter, self).__init__(id=id, location=location, tags=tags) + self.rules = rules + self.peerings = peerings + self.provisioning_state = None + self.etag = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_filter_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_filter_paged.py new file mode 100644 index 000000000000..429621b3071d --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_filter_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class RouteFilterPaged(Paged): + """ + A paging container for iterating over a list of :class:`RouteFilter ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[RouteFilter]'} + } + + def __init__(self, *args, **kwargs): + + super(RouteFilterPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_filter_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_filter_rule.py new file mode 100644 index 000000000000..3285c6dba3d6 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_filter_rule.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class RouteFilterRule(SubResource): + """Route Filter Rule Resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :param access: The access type of the rule. Valid values are: 'Allow', + 'Deny'. Possible values include: 'Allow', 'Deny' + :type access: str or :class:`Access + ` + :ivar route_filter_rule_type: The rule type of the rule. Valid value is: + 'Community'. Default value: "Community" . + :vartype route_filter_rule_type: str + :param communities: The collection for bgp community values to filter on. + e.g. ['12076:5010','12076:5020'] + :type communities: list of str + :ivar provisioning_state: The provisioning state of the resource. Possible + values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'. + :vartype provisioning_state: str + :param name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param location: Resource location. + :type location: str + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + :param tags: Resource tags. + :type tags: dict + """ + + _validation = { + 'access': {'required': True}, + 'route_filter_rule_type': {'required': True, 'constant': True}, + 'communities': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'access': {'key': 'properties.access', 'type': 'str'}, + 'route_filter_rule_type': {'key': 'properties.routeFilterRuleType', 'type': 'str'}, + 'communities': {'key': 'properties.communities', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + route_filter_rule_type = "Community" + + def __init__(self, access, communities, id=None, name=None, location=None, tags=None): + super(RouteFilterRule, self).__init__(id=id) + self.access = access + self.communities = communities + self.provisioning_state = None + self.name = name + self.location = location + self.etag = None + self.tags = tags diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_filter_rule_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_filter_rule_paged.py new file mode 100644 index 000000000000..f33e1b348434 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_filter_rule_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class RouteFilterRulePaged(Paged): + """ + A paging container for iterating over a list of :class:`RouteFilterRule ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[RouteFilterRule]'} + } + + def __init__(self, *args, **kwargs): + + super(RouteFilterRulePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_paged.py new file mode 100644 index 000000000000..3f329ae5299e --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class RoutePaged(Paged): + """ + A paging container for iterating over a list of :class:`Route ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Route]'} + } + + def __init__(self, *args, **kwargs): + + super(RoutePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_table.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_table.py new file mode 100644 index 000000000000..2ba7f58af2f5 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_table.py @@ -0,0 +1,68 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class RouteTable(Resource): + """Route table resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param routes: Collection of routes contained within a route table. + :type routes: list of :class:`Route + ` + :ivar subnets: A collection of references to subnets. + :vartype subnets: list of :class:`Subnet + ` + :param provisioning_state: The provisioning state of the resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param etag: Gets a unique read-only string that changes whenever the + resource is updated. + :type etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'subnets': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'routes': {'key': 'properties.routes', 'type': '[Route]'}, + 'subnets': {'key': 'properties.subnets', 'type': '[Subnet]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, location=None, tags=None, routes=None, provisioning_state=None, etag=None): + super(RouteTable, self).__init__(id=id, location=location, tags=tags) + self.routes = routes + self.subnets = None + self.provisioning_state = provisioning_state + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_table_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_table_paged.py new file mode 100644 index 000000000000..49c21f565a11 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/route_table_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class RouteTablePaged(Paged): + """ + A paging container for iterating over a list of :class:`RouteTable ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[RouteTable]'} + } + + def __init__(self, *args, **kwargs): + + super(RouteTablePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_group_network_interface.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_group_network_interface.py new file mode 100644 index 000000000000..743e1fff0c73 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_group_network_interface.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 SecurityGroupNetworkInterface(Model): + """Network interface and all its associated security rules. + + :param id: ID of the network interface. + :type id: str + :param security_rule_associations: + :type security_rule_associations: :class:`SecurityRuleAssociations + ` + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'security_rule_associations': {'key': 'securityRuleAssociations', 'type': 'SecurityRuleAssociations'}, + } + + def __init__(self, id=None, security_rule_associations=None): + self.id = id + self.security_rule_associations = security_rule_associations diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_group_view_parameters.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_group_view_parameters.py new file mode 100644 index 000000000000..304908dd4792 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_group_view_parameters.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 SecurityGroupViewParameters(Model): + """Parameters that define the VM to check security groups for. + + :param target_resource_id: ID of the target VM. + :type target_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + } + + def __init__(self, target_resource_id): + self.target_resource_id = target_resource_id diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_group_view_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_group_view_result.py new file mode 100644 index 000000000000..f755c3321b24 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_group_view_result.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 SecurityGroupViewResult(Model): + """The information about security rules applied to the specified VM. + + :param network_interfaces: List of network interfaces on the specified VM. + :type network_interfaces: list of :class:`SecurityGroupNetworkInterface + ` + """ + + _attribute_map = { + 'network_interfaces': {'key': 'networkInterfaces', 'type': '[SecurityGroupNetworkInterface]'}, + } + + def __init__(self, network_interfaces=None): + self.network_interfaces = network_interfaces diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_rule.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_rule.py new file mode 100644 index 000000000000..6314a64f055e --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_rule.py @@ -0,0 +1,123 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class SecurityRule(SubResource): + """Network security rule. + + :param id: Resource ID. + :type id: str + :param description: A description for this rule. Restricted to 140 chars. + :type description: str + :param protocol: Network protocol this rule applies to. Possible values + are 'Tcp', 'Udp', and '*'. Possible values include: 'Tcp', 'Udp', '*' + :type protocol: str or :class:`SecurityRuleProtocol + ` + :param source_port_range: The source port or range. Integer or range + between 0 and 65535. Asterix '*' can also be used to match all ports. + :type source_port_range: str + :param destination_port_range: The destination port or range. Integer or + range between 0 and 65535. Asterix '*' can also be used to match all + ports. + :type destination_port_range: str + :param source_address_prefix: The CIDR or source IP range. Asterix '*' can + also be used to match all source IPs. Default tags such as + 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If + this is an ingress rule, specifies where network traffic originates from. + :type source_address_prefix: str + :param source_address_prefixes: The CIDR or source IP ranges. + :type source_address_prefixes: list of str + :param destination_address_prefix: The destination address prefix. CIDR or + destination IP range. Asterix '*' can also be used to match all source + IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and + 'Internet' can also be used. + :type destination_address_prefix: str + :param destination_address_prefixes: The destination address prefixes. + CIDR or destination IP ranges. + :type destination_address_prefixes: list of str + :param source_port_ranges: The source port ranges. + :type source_port_ranges: list of str + :param destination_port_ranges: The destination port ranges. + :type destination_port_ranges: list of str + :param access: The network traffic is allowed or denied. Possible values + are: 'Allow' and 'Deny'. Possible values include: 'Allow', 'Deny' + :type access: str or :class:`SecurityRuleAccess + ` + :param priority: The priority of the rule. The value can be between 100 + and 4096. The priority number must be unique for each rule in the + collection. The lower the priority number, the higher the priority of the + rule. + :type priority: int + :param direction: The direction of the rule. The direction specifies if + rule will be evaluated on incoming or outcoming traffic. Possible values + are: 'Inbound' and 'Outbound'. Possible values include: 'Inbound', + 'Outbound' + :type direction: str or :class:`SecurityRuleDirection + ` + :param provisioning_state: The provisioning state of the public IP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'protocol': {'required': True}, + 'source_address_prefix': {'required': True}, + 'destination_address_prefix': {'required': True}, + 'access': {'required': True}, + 'direction': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'source_port_range': {'key': 'properties.sourcePortRange', 'type': 'str'}, + 'destination_port_range': {'key': 'properties.destinationPortRange', 'type': 'str'}, + 'source_address_prefix': {'key': 'properties.sourceAddressPrefix', 'type': 'str'}, + 'source_address_prefixes': {'key': 'properties.sourceAddressPrefixes', 'type': '[str]'}, + 'destination_address_prefix': {'key': 'properties.destinationAddressPrefix', 'type': 'str'}, + 'destination_address_prefixes': {'key': 'properties.destinationAddressPrefixes', 'type': '[str]'}, + 'source_port_ranges': {'key': 'properties.sourcePortRanges', 'type': '[str]'}, + 'destination_port_ranges': {'key': 'properties.destinationPortRanges', 'type': '[str]'}, + 'access': {'key': 'properties.access', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'direction': {'key': 'properties.direction', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, protocol, source_address_prefix, destination_address_prefix, access, direction, id=None, description=None, source_port_range=None, destination_port_range=None, source_address_prefixes=None, destination_address_prefixes=None, source_port_ranges=None, destination_port_ranges=None, priority=None, provisioning_state=None, name=None, etag=None): + super(SecurityRule, self).__init__(id=id) + self.description = description + self.protocol = protocol + self.source_port_range = source_port_range + self.destination_port_range = destination_port_range + self.source_address_prefix = source_address_prefix + self.source_address_prefixes = source_address_prefixes + self.destination_address_prefix = destination_address_prefix + self.destination_address_prefixes = destination_address_prefixes + self.source_port_ranges = source_port_ranges + self.destination_port_ranges = destination_port_ranges + self.access = access + self.priority = priority + self.direction = direction + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_rule_associations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_rule_associations.py new file mode 100644 index 000000000000..8e2d082996d0 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_rule_associations.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 SecurityRuleAssociations(Model): + """All security rules associated with the network interface. + + :param network_interface_association: + :type network_interface_association: :class:`NetworkInterfaceAssociation + ` + :param subnet_association: + :type subnet_association: :class:`SubnetAssociation + ` + :param default_security_rules: Collection of default security rules of the + network security group. + :type default_security_rules: list of :class:`SecurityRule + ` + :param effective_security_rules: Collection of effective security rules. + :type effective_security_rules: list of + :class:`EffectiveNetworkSecurityRule + ` + """ + + _attribute_map = { + 'network_interface_association': {'key': 'networkInterfaceAssociation', 'type': 'NetworkInterfaceAssociation'}, + 'subnet_association': {'key': 'subnetAssociation', 'type': 'SubnetAssociation'}, + 'default_security_rules': {'key': 'defaultSecurityRules', 'type': '[SecurityRule]'}, + 'effective_security_rules': {'key': 'effectiveSecurityRules', 'type': '[EffectiveNetworkSecurityRule]'}, + } + + def __init__(self, network_interface_association=None, subnet_association=None, default_security_rules=None, effective_security_rules=None): + self.network_interface_association = network_interface_association + self.subnet_association = subnet_association + self.default_security_rules = default_security_rules + self.effective_security_rules = effective_security_rules diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_rule_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_rule_paged.py new file mode 100644 index 000000000000..69df8f92da76 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/security_rule_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class SecurityRulePaged(Paged): + """ + A paging container for iterating over a list of :class:`SecurityRule ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[SecurityRule]'} + } + + def __init__(self, *args, **kwargs): + + super(SecurityRulePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/service_endpoint_properties_format.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/service_endpoint_properties_format.py new file mode 100644 index 000000000000..8677cdf300be --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/service_endpoint_properties_format.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 ServiceEndpointPropertiesFormat(Model): + """The service endpoint properties. + + :param service: The type of the endpoint service. + :type service: str + :param locations: A list of locations. + :type locations: list of str + :param provisioning_state: The provisioning state of the resource. + :type provisioning_state: str + """ + + _attribute_map = { + 'service': {'key': 'service', 'type': 'str'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + } + + def __init__(self, service=None, locations=None, provisioning_state=None): + self.service = service + self.locations = locations + self.provisioning_state = provisioning_state diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/sub_resource.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/sub_resource.py new file mode 100644 index 000000000000..b23dc42afd0e --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/sub_resource.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 SubResource(Model): + """Reference to another subresource. + + :param id: Resource ID. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__(self, id=None): + self.id = id diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/subnet.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/subnet.py new file mode 100644 index 000000000000..53e031ee60d6 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/subnet.py @@ -0,0 +1,80 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class Subnet(SubResource): + """Subnet in a virtual network resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :param address_prefix: The address prefix for the subnet. + :type address_prefix: str + :param network_security_group: The reference of the NetworkSecurityGroup + resource. + :type network_security_group: :class:`NetworkSecurityGroup + ` + :param route_table: The reference of the RouteTable resource. + :type route_table: :class:`RouteTable + ` + :param service_endpoints: An array of service endpoints. + :type service_endpoints: list of :class:`ServiceEndpointPropertiesFormat + ` + :ivar ip_configurations: Gets an array of references to the network + interface IP configurations using subnet. + :vartype ip_configurations: list of :class:`IPConfiguration + ` + :param resource_navigation_links: Gets an array of references to the + external resources using subnet. + :type resource_navigation_links: list of :class:`ResourceNavigationLink + ` + :param provisioning_state: The provisioning state of the resource. + :type provisioning_state: str + :param name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'ip_configurations': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, + 'route_table': {'key': 'properties.routeTable', 'type': 'RouteTable'}, + 'service_endpoints': {'key': 'properties.serviceEndpoints', 'type': '[ServiceEndpointPropertiesFormat]'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[IPConfiguration]'}, + 'resource_navigation_links': {'key': 'properties.resourceNavigationLinks', 'type': '[ResourceNavigationLink]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, address_prefix=None, network_security_group=None, route_table=None, service_endpoints=None, resource_navigation_links=None, provisioning_state=None, name=None, etag=None): + super(Subnet, self).__init__(id=id) + self.address_prefix = address_prefix + self.network_security_group = network_security_group + self.route_table = route_table + self.service_endpoints = service_endpoints + self.ip_configurations = None + self.resource_navigation_links = resource_navigation_links + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/subnet_association.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/subnet_association.py new file mode 100644 index 000000000000..8bb2050d6a55 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/subnet_association.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 SubnetAssociation(Model): + """Network interface and its custom security rules. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Subnet ID. + :vartype id: str + :param security_rules: Collection of custom security rules. + :type security_rules: list of :class:`SecurityRule + ` + """ + + _validation = { + 'id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'security_rules': {'key': 'securityRules', 'type': '[SecurityRule]'}, + } + + def __init__(self, security_rules=None): + self.id = None + self.security_rules = security_rules diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/subnet_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/subnet_paged.py new file mode 100644 index 000000000000..c3f2f59f5a9f --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/subnet_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class SubnetPaged(Paged): + """ + A paging container for iterating over a list of :class:`Subnet ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Subnet]'} + } + + def __init__(self, *args, **kwargs): + + super(SubnetPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/topology.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/topology.py new file mode 100644 index 000000000000..3c00fa959a7d --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/topology.py @@ -0,0 +1,50 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 Topology(Model): + """Topology of the specified resource group. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: GUID representing the operation id. + :vartype id: str + :ivar created_date_time: The datetime when the topology was initially + created for the resource group. + :vartype created_date_time: datetime + :ivar last_modified: The datetime when the topology was last modified. + :vartype last_modified: datetime + :param resources: + :type resources: list of :class:`TopologyResource + ` + """ + + _validation = { + 'id': {'readonly': True}, + 'created_date_time': {'readonly': True}, + 'last_modified': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'created_date_time': {'key': 'createdDateTime', 'type': 'iso-8601'}, + 'last_modified': {'key': 'lastModified', 'type': 'iso-8601'}, + 'resources': {'key': 'resources', 'type': '[TopologyResource]'}, + } + + def __init__(self, resources=None): + self.id = None + self.created_date_time = None + self.last_modified = None + self.resources = resources diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/topology_association.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/topology_association.py new file mode 100644 index 000000000000..91faf3842e91 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/topology_association.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 TopologyAssociation(Model): + """Resources that have an association with the parent resource. + + :param name: The name of the resource that is associated with the parent + resource. + :type name: str + :param resource_id: The ID of the resource that is associated with the + parent resource. + :type resource_id: str + :param association_type: The association type of the child resource to the + parent resource. Possible values include: 'Associated', 'Contains' + :type association_type: str or :class:`AssociationType + ` + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'association_type': {'key': 'associationType', 'type': 'str'}, + } + + def __init__(self, name=None, resource_id=None, association_type=None): + self.name = name + self.resource_id = resource_id + self.association_type = association_type diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/topology_parameters.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/topology_parameters.py new file mode 100644 index 000000000000..c2f674cad7fc --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/topology_parameters.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 TopologyParameters(Model): + """Parameters that define the representation of topology. + + :param target_resource_group_name: The name of the target resource group + to perform topology on. + :type target_resource_group_name: str + """ + + _validation = { + 'target_resource_group_name': {'required': True}, + } + + _attribute_map = { + 'target_resource_group_name': {'key': 'targetResourceGroupName', 'type': 'str'}, + } + + def __init__(self, target_resource_group_name): + self.target_resource_group_name = target_resource_group_name diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/topology_resource.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/topology_resource.py new file mode 100644 index 000000000000..97796ceafb05 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/topology_resource.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 TopologyResource(Model): + """The network resource topology information for the given resource group. + + :param name: Name of the resource. + :type name: str + :param id: ID of the resource. + :type id: str + :param location: Resource location. + :type location: str + :param associations: Holds the associations the resource has with other + resources in the resource group. + :type associations: list of :class:`TopologyAssociation + ` + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'associations': {'key': 'associations', 'type': '[TopologyAssociation]'}, + } + + def __init__(self, name=None, id=None, location=None, associations=None): + self.name = name + self.id = id + self.location = location + self.associations = associations diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/troubleshooting_details.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/troubleshooting_details.py new file mode 100644 index 000000000000..f9aff5f38d19 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/troubleshooting_details.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 TroubleshootingDetails(Model): + """Information gained from troubleshooting of specified resource. + + :param id: The id of the get troubleshoot operation. + :type id: str + :param reason_type: Reason type of failure. + :type reason_type: str + :param summary: A summary of troubleshooting. + :type summary: str + :param detail: Details on troubleshooting results. + :type detail: str + :param recommended_actions: List of recommended actions. + :type recommended_actions: list of + :class:`TroubleshootingRecommendedActions + ` + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'reason_type': {'key': 'reasonType', 'type': 'str'}, + 'summary': {'key': 'summary', 'type': 'str'}, + 'detail': {'key': 'detail', 'type': 'str'}, + 'recommended_actions': {'key': 'recommendedActions', 'type': '[TroubleshootingRecommendedActions]'}, + } + + def __init__(self, id=None, reason_type=None, summary=None, detail=None, recommended_actions=None): + self.id = id + self.reason_type = reason_type + self.summary = summary + self.detail = detail + self.recommended_actions = recommended_actions diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/troubleshooting_parameters.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/troubleshooting_parameters.py new file mode 100644 index 000000000000..d6bd7ebe04e6 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/troubleshooting_parameters.py @@ -0,0 +1,43 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 TroubleshootingParameters(Model): + """Parameters that define the resource to troubleshoot. + + :param target_resource_id: The target resource to troubleshoot. + :type target_resource_id: str + :param storage_id: The ID for the storage account to save the troubleshoot + result. + :type storage_id: str + :param storage_path: The path to the blob to save the troubleshoot result + in. + :type storage_path: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + 'storage_id': {'required': True}, + 'storage_path': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'storage_id': {'key': 'properties.storageId', 'type': 'str'}, + 'storage_path': {'key': 'properties.storagePath', 'type': 'str'}, + } + + def __init__(self, target_resource_id, storage_id, storage_path): + self.target_resource_id = target_resource_id + self.storage_id = storage_id + self.storage_path = storage_path diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/troubleshooting_recommended_actions.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/troubleshooting_recommended_actions.py new file mode 100644 index 000000000000..479eb32b8fa8 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/troubleshooting_recommended_actions.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 TroubleshootingRecommendedActions(Model): + """Recommended actions based on discovered issues. + + :param action_id: ID of the recommended action. + :type action_id: str + :param action_text: Description of recommended actions. + :type action_text: str + :param action_uri: The uri linking to a documentation for the recommended + troubleshooting actions. + :type action_uri: str + :param action_uri_text: The information from the URI for the recommended + troubleshooting actions. + :type action_uri_text: str + """ + + _attribute_map = { + 'action_id': {'key': 'actionId', 'type': 'str'}, + 'action_text': {'key': 'actionText', 'type': 'str'}, + 'action_uri': {'key': 'actionUri', 'type': 'str'}, + 'action_uri_text': {'key': 'actionUriText', 'type': 'str'}, + } + + def __init__(self, action_id=None, action_text=None, action_uri=None, action_uri_text=None): + self.action_id = action_id + self.action_text = action_text + self.action_uri = action_uri + self.action_uri_text = action_uri_text diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/troubleshooting_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/troubleshooting_result.py new file mode 100644 index 000000000000..45160b46f311 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/troubleshooting_result.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 TroubleshootingResult(Model): + """Troubleshooting information gained from specified resource. + + :param start_time: The start time of the troubleshooting. + :type start_time: datetime + :param end_time: The end time of the troubleshooting. + :type end_time: datetime + :param code: The result code of the troubleshooting. + :type code: str + :param results: Information from troubleshooting. + :type results: list of :class:`TroubleshootingDetails + ` + """ + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'code': {'key': 'code', 'type': 'str'}, + 'results': {'key': 'results', 'type': '[TroubleshootingDetails]'}, + } + + def __init__(self, start_time=None, end_time=None, code=None, results=None): + self.start_time = start_time + self.end_time = end_time + self.code = code + self.results = results diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/tunnel_connection_health.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/tunnel_connection_health.py new file mode 100644 index 000000000000..12ba9e234fea --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/tunnel_connection_health.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 TunnelConnectionHealth(Model): + """VirtualNetworkGatewayConnection properties. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar tunnel: Tunnel name. + :vartype tunnel: str + :ivar connection_status: Virtual network Gateway connection status. + Possible values include: 'Unknown', 'Connecting', 'Connected', + 'NotConnected' + :vartype connection_status: str or + :class:`VirtualNetworkGatewayConnectionStatus + ` + :ivar ingress_bytes_transferred: The Ingress Bytes Transferred in this + connection + :vartype ingress_bytes_transferred: long + :ivar egress_bytes_transferred: The Egress Bytes Transferred in this + connection + :vartype egress_bytes_transferred: long + :ivar last_connection_established_utc_time: The time at which connection + was established in Utc format. + :vartype last_connection_established_utc_time: str + """ + + _validation = { + 'tunnel': {'readonly': True}, + 'connection_status': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'last_connection_established_utc_time': {'readonly': True}, + } + + _attribute_map = { + 'tunnel': {'key': 'tunnel', 'type': 'str'}, + 'connection_status': {'key': 'connectionStatus', 'type': 'str'}, + 'ingress_bytes_transferred': {'key': 'ingressBytesTransferred', 'type': 'long'}, + 'egress_bytes_transferred': {'key': 'egressBytesTransferred', 'type': 'long'}, + 'last_connection_established_utc_time': {'key': 'lastConnectionEstablishedUtcTime', 'type': 'str'}, + } + + def __init__(self): + self.tunnel = None + self.connection_status = None + self.ingress_bytes_transferred = None + self.egress_bytes_transferred = None + self.last_connection_established_utc_time = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/usage.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/usage.py new file mode 100644 index 000000000000..6d6cf18bb332 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/usage.py @@ -0,0 +1,52 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 Usage(Model): + """Describes network resource usage. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar unit: An enum describing the unit of measurement. Default value: + "Count" . + :vartype unit: str + :param current_value: The current value of the usage. + :type current_value: long + :param limit: The limit of usage. + :type limit: long + :param name: The name of the type of usage. + :type name: :class:`UsageName + ` + """ + + _validation = { + 'unit': {'required': True, 'constant': True}, + 'current_value': {'required': True}, + 'limit': {'required': True}, + 'name': {'required': True}, + } + + _attribute_map = { + 'unit': {'key': 'unit', 'type': 'str'}, + 'current_value': {'key': 'currentValue', 'type': 'long'}, + 'limit': {'key': 'limit', 'type': 'long'}, + 'name': {'key': 'name', 'type': 'UsageName'}, + } + + unit = "Count" + + def __init__(self, current_value, limit, name): + self.current_value = current_value + self.limit = limit + self.name = name diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/usage_name.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/usage_name.py new file mode 100644 index 000000000000..87786b60cf62 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/usage_name.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 UsageName(Model): + """The usage names. + + :param value: A string describing the resource name. + :type value: str + :param localized_value: A localized string describing the resource name. + :type localized_value: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'localized_value': {'key': 'localizedValue', 'type': 'str'}, + } + + def __init__(self, value=None, localized_value=None): + self.value = value + self.localized_value = localized_value diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/usage_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/usage_paged.py new file mode 100644 index 000000000000..b4915e151b8b --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/usage_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class UsagePaged(Paged): + """ + A paging container for iterating over a list of :class:`Usage ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Usage]'} + } + + def __init__(self, *args, **kwargs): + + super(UsagePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/verification_ip_flow_parameters.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/verification_ip_flow_parameters.py new file mode 100644 index 000000000000..6e8897a445ad --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/verification_ip_flow_parameters.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 VerificationIPFlowParameters(Model): + """Parameters that define the IP flow to be verified. + + :param target_resource_id: The ID of the target resource to perform + next-hop on. + :type target_resource_id: str + :param direction: The direction of the packet represented as a 5-tuple. + Possible values include: 'Inbound', 'Outbound' + :type direction: str or :class:`Direction + ` + :param protocol: Protocol to be verified on. Possible values include: + 'TCP', 'UDP' + :type protocol: str or :class:`Protocol + ` + :param local_port: The local port. Acceptable values are a single integer + in the range (0-65535). Support for * for the source port, which depends + on the direction. + :type local_port: str + :param remote_port: The remote port. Acceptable values are a single + integer in the range (0-65535). Support for * for the source port, which + depends on the direction. + :type remote_port: str + :param local_ip_address: The local IP address. Acceptable values are valid + IPv4 addresses. + :type local_ip_address: str + :param remote_ip_address: The remote IP address. Acceptable values are + valid IPv4 addresses. + :type remote_ip_address: str + :param target_nic_resource_id: The NIC ID. (If VM has multiple NICs and IP + forwarding is enabled on any of them, then this parameter must be + specified. Otherwise optional). + :type target_nic_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + 'direction': {'required': True}, + 'protocol': {'required': True}, + 'local_port': {'required': True}, + 'remote_port': {'required': True}, + 'local_ip_address': {'required': True}, + 'remote_ip_address': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'direction': {'key': 'direction', 'type': 'str'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'local_port': {'key': 'localPort', 'type': 'str'}, + 'remote_port': {'key': 'remotePort', 'type': 'str'}, + 'local_ip_address': {'key': 'localIPAddress', 'type': 'str'}, + 'remote_ip_address': {'key': 'remoteIPAddress', 'type': 'str'}, + 'target_nic_resource_id': {'key': 'targetNicResourceId', 'type': 'str'}, + } + + def __init__(self, target_resource_id, direction, protocol, local_port, remote_port, local_ip_address, remote_ip_address, target_nic_resource_id=None): + self.target_resource_id = target_resource_id + self.direction = direction + self.protocol = protocol + self.local_port = local_port + self.remote_port = remote_port + self.local_ip_address = local_ip_address + self.remote_ip_address = remote_ip_address + self.target_nic_resource_id = target_nic_resource_id diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/verification_ip_flow_result.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/verification_ip_flow_result.py new file mode 100644 index 000000000000..e751296d7ce5 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/verification_ip_flow_result.py @@ -0,0 +1,34 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 VerificationIPFlowResult(Model): + """Results of IP flow verification on the target resource. + + :param access: Indicates whether the traffic is allowed or denied. + Possible values include: 'Allow', 'Deny' + :type access: str or :class:`Access + ` + :param rule_name: Name of the rule. If input is not matched against any + security rule, it is not displayed. + :type rule_name: str + """ + + _attribute_map = { + 'access': {'key': 'access', 'type': 'str'}, + 'rule_name': {'key': 'ruleName', 'type': 'str'}, + } + + def __init__(self, access=None, rule_name=None): + self.access = access + self.rule_name = rule_name diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network.py new file mode 100644 index 000000000000..4bfade035e41 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network.py @@ -0,0 +1,84 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class VirtualNetwork(Resource): + """Virtual Network resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param address_space: The AddressSpace that contains an array of IP + address ranges that can be used by subnets. + :type address_space: :class:`AddressSpace + ` + :param dhcp_options: The dhcpOptions that contains an array of DNS servers + available to VMs deployed in the virtual network. + :type dhcp_options: :class:`DhcpOptions + ` + :param subnets: A list of subnets in a Virtual Network. + :type subnets: list of :class:`Subnet + ` + :param virtual_network_peerings: A list of peerings in a Virtual Network. + :type virtual_network_peerings: list of :class:`VirtualNetworkPeering + ` + :param resource_guid: The resourceGuid property of the Virtual Network + resource. + :type resource_guid: str + :param provisioning_state: The provisioning state of the PublicIP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :type provisioning_state: str + :param etag: Gets a unique read-only string that changes whenever the + resource is updated. + :type etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'address_space': {'key': 'properties.addressSpace', 'type': 'AddressSpace'}, + 'dhcp_options': {'key': 'properties.dhcpOptions', 'type': 'DhcpOptions'}, + 'subnets': {'key': 'properties.subnets', 'type': '[Subnet]'}, + 'virtual_network_peerings': {'key': 'properties.virtualNetworkPeerings', 'type': '[VirtualNetworkPeering]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, location=None, tags=None, address_space=None, dhcp_options=None, subnets=None, virtual_network_peerings=None, resource_guid=None, provisioning_state=None, etag=None): + super(VirtualNetwork, self).__init__(id=id, location=location, tags=tags) + self.address_space = address_space + self.dhcp_options = dhcp_options + self.subnets = subnets + self.virtual_network_peerings = virtual_network_peerings + self.resource_guid = resource_guid + self.provisioning_state = provisioning_state + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_connection_gateway_reference.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_connection_gateway_reference.py new file mode 100644 index 000000000000..f50295906ad8 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_connection_gateway_reference.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 VirtualNetworkConnectionGatewayReference(Model): + """A reference to VirtualNetworkGateway or LocalNetworkGateway resource. + + :param id: The ID of VirtualNetworkGateway or LocalNetworkGateway + resource. + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__(self, id): + self.id = id diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway.py new file mode 100644 index 000000000000..a9b075d0494c --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway.py @@ -0,0 +1,118 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class VirtualNetworkGateway(Resource): + """A common class for general resource information. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param ip_configurations: IP configurations for virtual network gateway. + :type ip_configurations: list of + :class:`VirtualNetworkGatewayIPConfiguration + ` + :param gateway_type: The type of this virtual network gateway. Possible + values are: 'Vpn' and 'ExpressRoute'. Possible values include: 'Vpn', + 'ExpressRoute' + :type gateway_type: str or :class:`VirtualNetworkGatewayType + ` + :param vpn_type: The type of this virtual network gateway. Possible values + are: 'PolicyBased' and 'RouteBased'. Possible values include: + 'PolicyBased', 'RouteBased' + :type vpn_type: str or :class:`VpnType + ` + :param enable_bgp: Whether BGP is enabled for this virtual network gateway + or not. + :type enable_bgp: bool + :param active_active: ActiveActive flag + :type active_active: bool + :param gateway_default_site: The reference of the LocalNetworkGateway + resource which represents local network site having default routes. Assign + Null value in case of removing existing default site setting. + :type gateway_default_site: :class:`SubResource + ` + :param sku: The reference of the VirtualNetworkGatewaySku resource which + represents the SKU selected for Virtual network gateway. + :type sku: :class:`VirtualNetworkGatewaySku + ` + :param vpn_client_configuration: The reference of the + VpnClientConfiguration resource which represents the P2S VpnClient + configurations. + :type vpn_client_configuration: :class:`VpnClientConfiguration + ` + :param bgp_settings: Virtual network gateway's BGP speaker settings. + :type bgp_settings: :class:`BgpSettings + ` + :param resource_guid: The resource GUID property of the + VirtualNetworkGateway resource. + :type resource_guid: str + :ivar provisioning_state: The provisioning state of the + VirtualNetworkGateway resource. Possible values are: 'Updating', + 'Deleting', and 'Failed'. + :vartype provisioning_state: str + :param etag: Gets a unique read-only string that changes whenever the + resource is updated. + :type etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[VirtualNetworkGatewayIPConfiguration]'}, + 'gateway_type': {'key': 'properties.gatewayType', 'type': 'str'}, + 'vpn_type': {'key': 'properties.vpnType', 'type': 'str'}, + 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, + 'active_active': {'key': 'properties.activeActive', 'type': 'bool'}, + 'gateway_default_site': {'key': 'properties.gatewayDefaultSite', 'type': 'SubResource'}, + 'sku': {'key': 'properties.sku', 'type': 'VirtualNetworkGatewaySku'}, + 'vpn_client_configuration': {'key': 'properties.vpnClientConfiguration', 'type': 'VpnClientConfiguration'}, + 'bgp_settings': {'key': 'properties.bgpSettings', 'type': 'BgpSettings'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, location=None, tags=None, ip_configurations=None, gateway_type=None, vpn_type=None, enable_bgp=None, active_active=None, gateway_default_site=None, sku=None, vpn_client_configuration=None, bgp_settings=None, resource_guid=None, etag=None): + super(VirtualNetworkGateway, self).__init__(id=id, location=location, tags=tags) + self.ip_configurations = ip_configurations + self.gateway_type = gateway_type + self.vpn_type = vpn_type + self.enable_bgp = enable_bgp + self.active_active = active_active + self.gateway_default_site = gateway_default_site + self.sku = sku + self.vpn_client_configuration = vpn_client_configuration + self.bgp_settings = bgp_settings + self.resource_guid = resource_guid + self.provisioning_state = None + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_connection.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_connection.py new file mode 100644 index 000000000000..c376472e0bd9 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_connection.py @@ -0,0 +1,152 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class VirtualNetworkGatewayConnection(Resource): + """A common class for general resource information. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param authorization_key: The authorizationKey. + :type authorization_key: str + :param virtual_network_gateway1: The reference to virtual network gateway + resource. + :type virtual_network_gateway1: :class:`VirtualNetworkGateway + ` + :param virtual_network_gateway2: The reference to virtual network gateway + resource. + :type virtual_network_gateway2: :class:`VirtualNetworkGateway + ` + :param local_network_gateway2: The reference to local network gateway + resource. + :type local_network_gateway2: :class:`LocalNetworkGateway + ` + :param connection_type: Gateway connection type. Possible values are: + 'Ipsec','Vnet2Vnet','ExpressRoute', and 'VPNClient. Possible values + include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient' + :type connection_type: str or :class:`VirtualNetworkGatewayConnectionType + ` + :param routing_weight: The routing weight. + :type routing_weight: int + :param shared_key: The IPSec shared key. + :type shared_key: str + :ivar connection_status: Virtual network Gateway connection status. + Possible values are 'Unknown', 'Connecting', 'Connected' and + 'NotConnected'. Possible values include: 'Unknown', 'Connecting', + 'Connected', 'NotConnected' + :vartype connection_status: str or + :class:`VirtualNetworkGatewayConnectionStatus + ` + :ivar tunnel_connection_status: Collection of all tunnels' connection + health status. + :vartype tunnel_connection_status: list of :class:`TunnelConnectionHealth + ` + :ivar egress_bytes_transferred: The egress bytes transferred in this + connection. + :vartype egress_bytes_transferred: long + :ivar ingress_bytes_transferred: The ingress bytes transferred in this + connection. + :vartype ingress_bytes_transferred: long + :param peer: The reference to peerings resource. + :type peer: :class:`SubResource + ` + :param enable_bgp: EnableBgp flag + :type enable_bgp: bool + :param use_policy_based_traffic_selectors: Enable policy-based traffic + selectors. + :type use_policy_based_traffic_selectors: bool + :param ipsec_policies: The IPSec Policies to be considered by this + connection. + :type ipsec_policies: list of :class:`IpsecPolicy + ` + :param resource_guid: The resource GUID property of the + VirtualNetworkGatewayConnection resource. + :type resource_guid: str + :ivar provisioning_state: The provisioning state of the + VirtualNetworkGatewayConnection resource. Possible values are: 'Updating', + 'Deleting', and 'Failed'. + :vartype provisioning_state: str + :param etag: Gets a unique read-only string that changes whenever the + resource is updated. + :type etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'virtual_network_gateway1': {'required': True}, + 'connection_type': {'required': True}, + 'connection_status': {'readonly': True}, + 'tunnel_connection_status': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, + 'virtual_network_gateway1': {'key': 'properties.virtualNetworkGateway1', 'type': 'VirtualNetworkGateway'}, + 'virtual_network_gateway2': {'key': 'properties.virtualNetworkGateway2', 'type': 'VirtualNetworkGateway'}, + 'local_network_gateway2': {'key': 'properties.localNetworkGateway2', 'type': 'LocalNetworkGateway'}, + 'connection_type': {'key': 'properties.connectionType', 'type': 'str'}, + 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, + 'tunnel_connection_status': {'key': 'properties.tunnelConnectionStatus', 'type': '[TunnelConnectionHealth]'}, + 'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'}, + 'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'}, + 'peer': {'key': 'properties.peer', 'type': 'SubResource'}, + 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, + 'use_policy_based_traffic_selectors': {'key': 'properties.usePolicyBasedTrafficSelectors', 'type': 'bool'}, + 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, virtual_network_gateway1, connection_type, id=None, location=None, tags=None, authorization_key=None, virtual_network_gateway2=None, local_network_gateway2=None, routing_weight=None, shared_key=None, peer=None, enable_bgp=None, use_policy_based_traffic_selectors=None, ipsec_policies=None, resource_guid=None, etag=None): + super(VirtualNetworkGatewayConnection, self).__init__(id=id, location=location, tags=tags) + self.authorization_key = authorization_key + self.virtual_network_gateway1 = virtual_network_gateway1 + self.virtual_network_gateway2 = virtual_network_gateway2 + self.local_network_gateway2 = local_network_gateway2 + self.connection_type = connection_type + self.routing_weight = routing_weight + self.shared_key = shared_key + self.connection_status = None + self.tunnel_connection_status = None + self.egress_bytes_transferred = None + self.ingress_bytes_transferred = None + self.peer = peer + self.enable_bgp = enable_bgp + self.use_policy_based_traffic_selectors = use_policy_based_traffic_selectors + self.ipsec_policies = ipsec_policies + self.resource_guid = resource_guid + self.provisioning_state = None + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_connection_list_entity.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_connection_list_entity.py new file mode 100644 index 000000000000..b2b135590927 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_connection_list_entity.py @@ -0,0 +1,155 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class VirtualNetworkGatewayConnectionListEntity(Resource): + """A common class for general resource information. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict + :param authorization_key: The authorizationKey. + :type authorization_key: str + :param virtual_network_gateway1: The reference to virtual network gateway + resource. + :type virtual_network_gateway1: + :class:`VirtualNetworkConnectionGatewayReference + ` + :param virtual_network_gateway2: The reference to virtual network gateway + resource. + :type virtual_network_gateway2: + :class:`VirtualNetworkConnectionGatewayReference + ` + :param local_network_gateway2: The reference to local network gateway + resource. + :type local_network_gateway2: + :class:`VirtualNetworkConnectionGatewayReference + ` + :param connection_type: Gateway connection type. Possible values are: + 'Ipsec','Vnet2Vnet','ExpressRoute', and 'VPNClient. Possible values + include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient' + :type connection_type: str or :class:`VirtualNetworkGatewayConnectionType + ` + :param routing_weight: The routing weight. + :type routing_weight: int + :param shared_key: The IPSec shared key. + :type shared_key: str + :ivar connection_status: Virtual network Gateway connection status. + Possible values are 'Unknown', 'Connecting', 'Connected' and + 'NotConnected'. Possible values include: 'Unknown', 'Connecting', + 'Connected', 'NotConnected' + :vartype connection_status: str or + :class:`VirtualNetworkGatewayConnectionStatus + ` + :ivar tunnel_connection_status: Collection of all tunnels' connection + health status. + :vartype tunnel_connection_status: list of :class:`TunnelConnectionHealth + ` + :ivar egress_bytes_transferred: The egress bytes transferred in this + connection. + :vartype egress_bytes_transferred: long + :ivar ingress_bytes_transferred: The ingress bytes transferred in this + connection. + :vartype ingress_bytes_transferred: long + :param peer: The reference to peerings resource. + :type peer: :class:`SubResource + ` + :param enable_bgp: EnableBgp flag + :type enable_bgp: bool + :param use_policy_based_traffic_selectors: Enable policy-based traffic + selectors. + :type use_policy_based_traffic_selectors: bool + :param ipsec_policies: The IPSec Policies to be considered by this + connection. + :type ipsec_policies: list of :class:`IpsecPolicy + ` + :param resource_guid: The resource GUID property of the + VirtualNetworkGatewayConnection resource. + :type resource_guid: str + :ivar provisioning_state: The provisioning state of the + VirtualNetworkGatewayConnection resource. Possible values are: 'Updating', + 'Deleting', and 'Failed'. + :vartype provisioning_state: str + :param etag: Gets a unique read-only string that changes whenever the + resource is updated. + :type etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'virtual_network_gateway1': {'required': True}, + 'connection_type': {'required': True}, + 'connection_status': {'readonly': True}, + 'tunnel_connection_status': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, + 'virtual_network_gateway1': {'key': 'properties.virtualNetworkGateway1', 'type': 'VirtualNetworkConnectionGatewayReference'}, + 'virtual_network_gateway2': {'key': 'properties.virtualNetworkGateway2', 'type': 'VirtualNetworkConnectionGatewayReference'}, + 'local_network_gateway2': {'key': 'properties.localNetworkGateway2', 'type': 'VirtualNetworkConnectionGatewayReference'}, + 'connection_type': {'key': 'properties.connectionType', 'type': 'str'}, + 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, + 'tunnel_connection_status': {'key': 'properties.tunnelConnectionStatus', 'type': '[TunnelConnectionHealth]'}, + 'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'}, + 'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'}, + 'peer': {'key': 'properties.peer', 'type': 'SubResource'}, + 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, + 'use_policy_based_traffic_selectors': {'key': 'properties.usePolicyBasedTrafficSelectors', 'type': 'bool'}, + 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, virtual_network_gateway1, connection_type, id=None, location=None, tags=None, authorization_key=None, virtual_network_gateway2=None, local_network_gateway2=None, routing_weight=None, shared_key=None, peer=None, enable_bgp=None, use_policy_based_traffic_selectors=None, ipsec_policies=None, resource_guid=None, etag=None): + super(VirtualNetworkGatewayConnectionListEntity, self).__init__(id=id, location=location, tags=tags) + self.authorization_key = authorization_key + self.virtual_network_gateway1 = virtual_network_gateway1 + self.virtual_network_gateway2 = virtual_network_gateway2 + self.local_network_gateway2 = local_network_gateway2 + self.connection_type = connection_type + self.routing_weight = routing_weight + self.shared_key = shared_key + self.connection_status = None + self.tunnel_connection_status = None + self.egress_bytes_transferred = None + self.ingress_bytes_transferred = None + self.peer = peer + self.enable_bgp = enable_bgp + self.use_policy_based_traffic_selectors = use_policy_based_traffic_selectors + self.ipsec_policies = ipsec_policies + self.resource_guid = resource_guid + self.provisioning_state = None + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_connection_list_entity_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_connection_list_entity_paged.py new file mode 100644 index 000000000000..105c3ef0a7e9 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_connection_list_entity_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class VirtualNetworkGatewayConnectionListEntityPaged(Paged): + """ + A paging container for iterating over a list of :class:`VirtualNetworkGatewayConnectionListEntity ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[VirtualNetworkGatewayConnectionListEntity]'} + } + + def __init__(self, *args, **kwargs): + + super(VirtualNetworkGatewayConnectionListEntityPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_connection_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_connection_paged.py new file mode 100644 index 000000000000..1987f3974272 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_connection_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class VirtualNetworkGatewayConnectionPaged(Paged): + """ + A paging container for iterating over a list of :class:`VirtualNetworkGatewayConnection ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[VirtualNetworkGatewayConnection]'} + } + + def __init__(self, *args, **kwargs): + + super(VirtualNetworkGatewayConnectionPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_ip_configuration.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_ip_configuration.py new file mode 100644 index 000000000000..1f42689926a8 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_ip_configuration.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class VirtualNetworkGatewayIPConfiguration(SubResource): + """IP configuration for virtual network gateway. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :param private_ip_allocation_method: The private IP allocation method. + Possible values are: 'Static' and 'Dynamic'. Possible values include: + 'Static', 'Dynamic' + :type private_ip_allocation_method: str or :class:`IPAllocationMethod + ` + :param subnet: The reference of the subnet resource. + :type subnet: :class:`SubResource + ` + :param public_ip_address: The reference of the public IP resource. + :type public_ip_address: :class:`SubResource + ` + :ivar provisioning_state: The provisioning state of the public IP + resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. + :vartype provisioning_state: str + :param name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, private_ip_allocation_method=None, subnet=None, public_ip_address=None, name=None, etag=None): + super(VirtualNetworkGatewayIPConfiguration, self).__init__(id=id) + self.private_ip_allocation_method = private_ip_allocation_method + self.subnet = subnet + self.public_ip_address = public_ip_address + self.provisioning_state = None + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_paged.py new file mode 100644 index 000000000000..849c4da039c9 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class VirtualNetworkGatewayPaged(Paged): + """ + A paging container for iterating over a list of :class:`VirtualNetworkGateway ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[VirtualNetworkGateway]'} + } + + def __init__(self, *args, **kwargs): + + super(VirtualNetworkGatewayPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_sku.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_sku.py new file mode 100644 index 000000000000..8ef074e34ee7 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_gateway_sku.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 VirtualNetworkGatewaySku(Model): + """VirtualNetworkGatewaySku details. + + :param name: Gateway SKU name. Possible values include: 'Basic', + 'HighPerformance', 'Standard', 'UltraPerformance', 'VpnGw1', 'VpnGw2', + 'VpnGw3' + :type name: str or :class:`VirtualNetworkGatewaySkuName + ` + :param tier: Gateway SKU tier. Possible values include: 'Basic', + 'HighPerformance', 'Standard', 'UltraPerformance', 'VpnGw1', 'VpnGw2', + 'VpnGw3' + :type tier: str or :class:`VirtualNetworkGatewaySkuTier + ` + :param capacity: The capacity. + :type capacity: int + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__(self, name=None, tier=None, capacity=None): + self.name = name + self.tier = tier + self.capacity = capacity diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_paged.py new file mode 100644 index 000000000000..fd4d77da5f75 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class VirtualNetworkPaged(Paged): + """ + A paging container for iterating over a list of :class:`VirtualNetwork ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[VirtualNetwork]'} + } + + def __init__(self, *args, **kwargs): + + super(VirtualNetworkPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_peering.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_peering.py new file mode 100644 index 000000000000..a653aaf1a276 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_peering.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class VirtualNetworkPeering(SubResource): + """Peerings in a virtual network resource. + + :param id: Resource ID. + :type id: str + :param allow_virtual_network_access: Whether the VMs in the linked virtual + network space would be able to access all the VMs in local Virtual network + space. + :type allow_virtual_network_access: bool + :param allow_forwarded_traffic: Whether the forwarded traffic from the VMs + in the remote virtual network will be allowed/disallowed. + :type allow_forwarded_traffic: bool + :param allow_gateway_transit: If gateway links can be used in remote + virtual networking to link to this virtual network. + :type allow_gateway_transit: bool + :param use_remote_gateways: If remote gateways can be used on this virtual + network. If the flag is set to true, and allowGatewayTransit on remote + peering is also true, virtual network will use gateways of remote virtual + network for transit. Only one peering can have this flag set to true. This + flag cannot be set if virtual network already has a gateway. + :type use_remote_gateways: bool + :param remote_virtual_network: The reference of the remote virtual + network. + :type remote_virtual_network: :class:`SubResource + ` + :param peering_state: The status of the virtual network peering. Possible + values are 'Initiated', 'Connected', and 'Disconnected'. Possible values + include: 'Initiated', 'Connected', 'Disconnected' + :type peering_state: str or :class:`VirtualNetworkPeeringState + ` + :param provisioning_state: The provisioning state of the resource. + :type provisioning_state: str + :param name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'allow_virtual_network_access': {'key': 'properties.allowVirtualNetworkAccess', 'type': 'bool'}, + 'allow_forwarded_traffic': {'key': 'properties.allowForwardedTraffic', 'type': 'bool'}, + 'allow_gateway_transit': {'key': 'properties.allowGatewayTransit', 'type': 'bool'}, + 'use_remote_gateways': {'key': 'properties.useRemoteGateways', 'type': 'bool'}, + 'remote_virtual_network': {'key': 'properties.remoteVirtualNetwork', 'type': 'SubResource'}, + 'peering_state': {'key': 'properties.peeringState', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, allow_virtual_network_access=None, allow_forwarded_traffic=None, allow_gateway_transit=None, use_remote_gateways=None, remote_virtual_network=None, peering_state=None, provisioning_state=None, name=None, etag=None): + super(VirtualNetworkPeering, self).__init__(id=id) + self.allow_virtual_network_access = allow_virtual_network_access + self.allow_forwarded_traffic = allow_forwarded_traffic + self.allow_gateway_transit = allow_gateway_transit + self.use_remote_gateways = use_remote_gateways + self.remote_virtual_network = remote_virtual_network + self.peering_state = peering_state + self.provisioning_state = provisioning_state + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_peering_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_peering_paged.py new file mode 100644 index 000000000000..a5f6cf1d46a9 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_peering_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class VirtualNetworkPeeringPaged(Paged): + """ + A paging container for iterating over a list of :class:`VirtualNetworkPeering ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[VirtualNetworkPeering]'} + } + + def __init__(self, *args, **kwargs): + + super(VirtualNetworkPeeringPaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_usage.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_usage.py new file mode 100644 index 000000000000..798414c11e48 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_usage.py @@ -0,0 +1,55 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 VirtualNetworkUsage(Model): + """Usage details for subnet. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar current_value: Indicates number of IPs used from the Subnet. + :vartype current_value: float + :ivar id: Subnet identifier. + :vartype id: str + :ivar limit: Indicates the size of the subnet. + :vartype limit: float + :ivar name: The name containing common and localized value for usage. + :vartype name: :class:`VirtualNetworkUsageName + ` + :ivar unit: Usage units. Returns 'Count' + :vartype unit: str + """ + + _validation = { + 'current_value': {'readonly': True}, + 'id': {'readonly': True}, + 'limit': {'readonly': True}, + 'name': {'readonly': True}, + 'unit': {'readonly': True}, + } + + _attribute_map = { + 'current_value': {'key': 'currentValue', 'type': 'float'}, + 'id': {'key': 'id', 'type': 'str'}, + 'limit': {'key': 'limit', 'type': 'float'}, + 'name': {'key': 'name', 'type': 'VirtualNetworkUsageName'}, + 'unit': {'key': 'unit', 'type': 'str'}, + } + + def __init__(self): + self.current_value = None + self.id = None + self.limit = None + self.name = None + self.unit = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_usage_name.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_usage_name.py new file mode 100644 index 000000000000..dd93c0846a5c --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_usage_name.py @@ -0,0 +1,39 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 VirtualNetworkUsageName(Model): + """Usage strings container. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar localized_value: Localized subnet size and usage string. + :vartype localized_value: str + :ivar value: Subnet size and usage string. + :vartype value: str + """ + + _validation = { + 'localized_value': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'localized_value': {'key': 'localizedValue', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self): + self.localized_value = None + self.value = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_usage_paged.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_usage_paged.py new file mode 100644 index 000000000000..f597a895711c --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/virtual_network_usage_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class VirtualNetworkUsagePaged(Paged): + """ + A paging container for iterating over a list of :class:`VirtualNetworkUsage ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[VirtualNetworkUsage]'} + } + + def __init__(self, *args, **kwargs): + + super(VirtualNetworkUsagePaged, self).__init__(*args, **kwargs) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/vpn_client_configuration.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/vpn_client_configuration.py new file mode 100644 index 000000000000..10fc7f777b92 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/vpn_client_configuration.py @@ -0,0 +1,59 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 VpnClientConfiguration(Model): + """VpnClientConfiguration for P2S client. + + :param vpn_client_address_pool: The reference of the address space + resource which represents Address space for P2S VpnClient. + :type vpn_client_address_pool: :class:`AddressSpace + ` + :param vpn_client_root_certificates: VpnClientRootCertificate for virtual + network gateway. + :type vpn_client_root_certificates: list of + :class:`VpnClientRootCertificate + ` + :param vpn_client_revoked_certificates: VpnClientRevokedCertificate for + Virtual network gateway. + :type vpn_client_revoked_certificates: list of + :class:`VpnClientRevokedCertificate + ` + :param vpn_client_protocols: VpnClientProtocols for Virtual network + gateway. + :type vpn_client_protocols: list of str or :class:`VpnClientProtocol + ` + :param radius_server_address: The radius server address property of the + VirtualNetworkGateway resource for vpn client connection. + :type radius_server_address: str + :param radius_server_secret: The radius secret property of the + VirtualNetworkGateway resource for vpn client connection. + :type radius_server_secret: str + """ + + _attribute_map = { + 'vpn_client_address_pool': {'key': 'vpnClientAddressPool', 'type': 'AddressSpace'}, + 'vpn_client_root_certificates': {'key': 'vpnClientRootCertificates', 'type': '[VpnClientRootCertificate]'}, + 'vpn_client_revoked_certificates': {'key': 'vpnClientRevokedCertificates', 'type': '[VpnClientRevokedCertificate]'}, + 'vpn_client_protocols': {'key': 'vpnClientProtocols', 'type': '[str]'}, + 'radius_server_address': {'key': 'radiusServerAddress', 'type': 'str'}, + 'radius_server_secret': {'key': 'radiusServerSecret', 'type': 'str'}, + } + + def __init__(self, vpn_client_address_pool=None, vpn_client_root_certificates=None, vpn_client_revoked_certificates=None, vpn_client_protocols=None, radius_server_address=None, radius_server_secret=None): + 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 + self.vpn_client_protocols = vpn_client_protocols + self.radius_server_address = radius_server_address + self.radius_server_secret = radius_server_secret diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/vpn_client_parameters.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/vpn_client_parameters.py new file mode 100644 index 000000000000..f60297b38b82 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/vpn_client_parameters.py @@ -0,0 +1,49 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# 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 VpnClientParameters(Model): + """Vpn Client Parameters for package generation. + + :param processor_architecture: VPN client Processor Architecture. Possible + values are: 'AMD64' and 'X86'. Possible values include: 'Amd64', 'X86' + :type processor_architecture: str or :class:`ProcessorArchitecture + ` + :param authentication_method: VPN client Authentication Method. Possible + values are: 'EAPTLS' and 'EAPMSCHAPv2'. Possible values include: 'EAPTLS', + 'EAPMSCHAPv2' + :type authentication_method: str or :class:`AuthenticationMethod + ` + :param radius_server_auth_certificate: The public certificate data for the + radius server authentication certificate as a Base-64 encoded string. + Required only if external radius authentication has been configured with + EAPTLS authentication. + :type radius_server_auth_certificate: str + :param client_root_certificates: A list of client root certificates public + certificate data encoded as Base-64 strings. Optional parameter for + external radius based authentication with EAPTLS. + :type client_root_certificates: list of str + """ + + _attribute_map = { + 'processor_architecture': {'key': 'processorArchitecture', 'type': 'str'}, + 'authentication_method': {'key': 'authenticationMethod', 'type': 'str'}, + 'radius_server_auth_certificate': {'key': 'radiusServerAuthCertificate', 'type': 'str'}, + 'client_root_certificates': {'key': 'clientRootCertificates', 'type': '[str]'}, + } + + def __init__(self, processor_architecture=None, authentication_method=None, radius_server_auth_certificate=None, client_root_certificates=None): + self.processor_architecture = processor_architecture + self.authentication_method = authentication_method + self.radius_server_auth_certificate = radius_server_auth_certificate + self.client_root_certificates = client_root_certificates diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/vpn_client_revoked_certificate.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/vpn_client_revoked_certificate.py new file mode 100644 index 000000000000..ebd6a4bbba2f --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/vpn_client_revoked_certificate.py @@ -0,0 +1,54 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class VpnClientRevokedCertificate(SubResource): + """VPN client revoked certificate of virtual network gateway. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :param thumbprint: The revoked VPN client certificate thumbprint. + :type thumbprint: str + :ivar provisioning_state: The provisioning state of the VPN client revoked + certificate resource. Possible values are: 'Updating', 'Deleting', and + 'Failed'. + :vartype provisioning_state: str + :param name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'thumbprint': {'key': 'properties.thumbprint', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, id=None, thumbprint=None, name=None, etag=None): + super(VpnClientRevokedCertificate, self).__init__(id=id) + self.thumbprint = thumbprint + self.provisioning_state = None + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/vpn_client_root_certificate.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/vpn_client_root_certificate.py new file mode 100644 index 000000000000..6d820d3a8c11 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/vpn_client_root_certificate.py @@ -0,0 +1,55 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .sub_resource import SubResource + + +class VpnClientRootCertificate(SubResource): + """VPN client root certificate of virtual network gateway. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :param public_cert_data: The certificate public data. + :type public_cert_data: str + :ivar provisioning_state: The provisioning state of the VPN client root + certificate resource. Possible values are: 'Updating', 'Deleting', and + 'Failed'. + :vartype provisioning_state: str + :param name: The name of the resource that is unique within a resource + group. This name can be used to access the resource. + :type name: str + :param etag: A unique read-only string that changes whenever the resource + is updated. + :type etag: str + """ + + _validation = { + 'public_cert_data': {'required': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'public_cert_data': {'key': 'properties.publicCertData', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, public_cert_data, id=None, name=None, etag=None): + super(VpnClientRootCertificate, self).__init__(id=id) + self.public_cert_data = public_cert_data + self.provisioning_state = None + self.name = name + self.etag = etag diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/network_management_client.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/network_management_client.py new file mode 100644 index 000000000000..b20f680f03c2 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/network_management_client.py @@ -0,0 +1,326 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.service_client import ServiceClient +from msrest import Serializer, Deserializer +from msrestazure import AzureConfiguration +from .version import VERSION +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller +import uuid +from .operations.application_gateways_operations import ApplicationGatewaysOperations +from .operations.available_endpoint_services_operations import AvailableEndpointServicesOperations +from .operations.express_route_circuit_authorizations_operations import ExpressRouteCircuitAuthorizationsOperations +from .operations.express_route_circuit_peerings_operations import ExpressRouteCircuitPeeringsOperations +from .operations.express_route_circuits_operations import ExpressRouteCircuitsOperations +from .operations.express_route_service_providers_operations import ExpressRouteServiceProvidersOperations +from .operations.load_balancers_operations import LoadBalancersOperations +from .operations.load_balancer_backend_address_pools_operations import LoadBalancerBackendAddressPoolsOperations +from .operations.load_balancer_frontend_ip_configurations_operations import LoadBalancerFrontendIPConfigurationsOperations +from .operations.inbound_nat_rules_operations import InboundNatRulesOperations +from .operations.load_balancer_load_balancing_rules_operations import LoadBalancerLoadBalancingRulesOperations +from .operations.load_balancer_network_interfaces_operations import LoadBalancerNetworkInterfacesOperations +from .operations.load_balancer_probes_operations import LoadBalancerProbesOperations +from .operations.network_interfaces_operations import NetworkInterfacesOperations +from .operations.network_interface_ip_configurations_operations import NetworkInterfaceIPConfigurationsOperations +from .operations.network_interface_load_balancers_operations import NetworkInterfaceLoadBalancersOperations +from .operations.network_security_groups_operations import NetworkSecurityGroupsOperations +from .operations.security_rules_operations import SecurityRulesOperations +from .operations.default_security_rules_operations import DefaultSecurityRulesOperations +from .operations.network_watchers_operations import NetworkWatchersOperations +from .operations.packet_captures_operations import PacketCapturesOperations +from .operations.public_ip_addresses_operations import PublicIPAddressesOperations +from .operations.route_filters_operations import RouteFiltersOperations +from .operations.route_filter_rules_operations import RouteFilterRulesOperations +from .operations.route_tables_operations import RouteTablesOperations +from .operations.routes_operations import RoutesOperations +from .operations.bgp_service_communities_operations import BgpServiceCommunitiesOperations +from .operations.usages_operations import UsagesOperations +from .operations.virtual_networks_operations import VirtualNetworksOperations +from .operations.subnets_operations import SubnetsOperations +from .operations.virtual_network_peerings_operations import VirtualNetworkPeeringsOperations +from .operations.virtual_network_gateways_operations import VirtualNetworkGatewaysOperations +from .operations.virtual_network_gateway_connections_operations import VirtualNetworkGatewayConnectionsOperations +from .operations.local_network_gateways_operations import LocalNetworkGatewaysOperations +from . import models + + +class NetworkManagementClientConfiguration(AzureConfiguration): + """Configuration for NetworkManagementClient + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: The subscription credentials which uniquely + identify the Microsoft Azure subscription. The subscription ID forms part + of the URI for every service call. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, credentials, subscription_id, base_url=None): + + if credentials is None: + raise ValueError("Parameter 'credentials' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + if not isinstance(subscription_id, str): + raise TypeError("Parameter 'subscription_id' must be str.") + if not base_url: + base_url = 'https://management.azure.com' + + super(NetworkManagementClientConfiguration, self).__init__(base_url) + + self.add_user_agent('networkmanagementclient/{}'.format(VERSION)) + self.add_user_agent('Azure-SDK-For-Python') + + self.credentials = credentials + self.subscription_id = subscription_id + + +class NetworkManagementClient(object): + """Network Client + + :ivar config: Configuration for client. + :vartype config: NetworkManagementClientConfiguration + + :ivar application_gateways: ApplicationGateways operations + :vartype application_gateways: azure.mgmt.network.v2017_08_01.operations.ApplicationGatewaysOperations + :ivar available_endpoint_services: AvailableEndpointServices operations + :vartype available_endpoint_services: azure.mgmt.network.v2017_08_01.operations.AvailableEndpointServicesOperations + :ivar express_route_circuit_authorizations: ExpressRouteCircuitAuthorizations operations + :vartype express_route_circuit_authorizations: azure.mgmt.network.v2017_08_01.operations.ExpressRouteCircuitAuthorizationsOperations + :ivar express_route_circuit_peerings: ExpressRouteCircuitPeerings operations + :vartype express_route_circuit_peerings: azure.mgmt.network.v2017_08_01.operations.ExpressRouteCircuitPeeringsOperations + :ivar express_route_circuits: ExpressRouteCircuits operations + :vartype express_route_circuits: azure.mgmt.network.v2017_08_01.operations.ExpressRouteCircuitsOperations + :ivar express_route_service_providers: ExpressRouteServiceProviders operations + :vartype express_route_service_providers: azure.mgmt.network.v2017_08_01.operations.ExpressRouteServiceProvidersOperations + :ivar load_balancers: LoadBalancers operations + :vartype load_balancers: azure.mgmt.network.v2017_08_01.operations.LoadBalancersOperations + :ivar load_balancer_backend_address_pools: LoadBalancerBackendAddressPools operations + :vartype load_balancer_backend_address_pools: azure.mgmt.network.v2017_08_01.operations.LoadBalancerBackendAddressPoolsOperations + :ivar load_balancer_frontend_ip_configurations: LoadBalancerFrontendIPConfigurations operations + :vartype load_balancer_frontend_ip_configurations: azure.mgmt.network.v2017_08_01.operations.LoadBalancerFrontendIPConfigurationsOperations + :ivar inbound_nat_rules: InboundNatRules operations + :vartype inbound_nat_rules: azure.mgmt.network.v2017_08_01.operations.InboundNatRulesOperations + :ivar load_balancer_load_balancing_rules: LoadBalancerLoadBalancingRules operations + :vartype load_balancer_load_balancing_rules: azure.mgmt.network.v2017_08_01.operations.LoadBalancerLoadBalancingRulesOperations + :ivar load_balancer_network_interfaces: LoadBalancerNetworkInterfaces operations + :vartype load_balancer_network_interfaces: azure.mgmt.network.v2017_08_01.operations.LoadBalancerNetworkInterfacesOperations + :ivar load_balancer_probes: LoadBalancerProbes operations + :vartype load_balancer_probes: azure.mgmt.network.v2017_08_01.operations.LoadBalancerProbesOperations + :ivar network_interfaces: NetworkInterfaces operations + :vartype network_interfaces: azure.mgmt.network.v2017_08_01.operations.NetworkInterfacesOperations + :ivar network_interface_ip_configurations: NetworkInterfaceIPConfigurations operations + :vartype network_interface_ip_configurations: azure.mgmt.network.v2017_08_01.operations.NetworkInterfaceIPConfigurationsOperations + :ivar network_interface_load_balancers: NetworkInterfaceLoadBalancers operations + :vartype network_interface_load_balancers: azure.mgmt.network.v2017_08_01.operations.NetworkInterfaceLoadBalancersOperations + :ivar network_security_groups: NetworkSecurityGroups operations + :vartype network_security_groups: azure.mgmt.network.v2017_08_01.operations.NetworkSecurityGroupsOperations + :ivar security_rules: SecurityRules operations + :vartype security_rules: azure.mgmt.network.v2017_08_01.operations.SecurityRulesOperations + :ivar default_security_rules: DefaultSecurityRules operations + :vartype default_security_rules: azure.mgmt.network.v2017_08_01.operations.DefaultSecurityRulesOperations + :ivar network_watchers: NetworkWatchers operations + :vartype network_watchers: azure.mgmt.network.v2017_08_01.operations.NetworkWatchersOperations + :ivar packet_captures: PacketCaptures operations + :vartype packet_captures: azure.mgmt.network.v2017_08_01.operations.PacketCapturesOperations + :ivar public_ip_addresses: PublicIPAddresses operations + :vartype public_ip_addresses: azure.mgmt.network.v2017_08_01.operations.PublicIPAddressesOperations + :ivar route_filters: RouteFilters operations + :vartype route_filters: azure.mgmt.network.v2017_08_01.operations.RouteFiltersOperations + :ivar route_filter_rules: RouteFilterRules operations + :vartype route_filter_rules: azure.mgmt.network.v2017_08_01.operations.RouteFilterRulesOperations + :ivar route_tables: RouteTables operations + :vartype route_tables: azure.mgmt.network.v2017_08_01.operations.RouteTablesOperations + :ivar routes: Routes operations + :vartype routes: azure.mgmt.network.v2017_08_01.operations.RoutesOperations + :ivar bgp_service_communities: BgpServiceCommunities operations + :vartype bgp_service_communities: azure.mgmt.network.v2017_08_01.operations.BgpServiceCommunitiesOperations + :ivar usages: Usages operations + :vartype usages: azure.mgmt.network.v2017_08_01.operations.UsagesOperations + :ivar virtual_networks: VirtualNetworks operations + :vartype virtual_networks: azure.mgmt.network.v2017_08_01.operations.VirtualNetworksOperations + :ivar subnets: Subnets operations + :vartype subnets: azure.mgmt.network.v2017_08_01.operations.SubnetsOperations + :ivar virtual_network_peerings: VirtualNetworkPeerings operations + :vartype virtual_network_peerings: azure.mgmt.network.v2017_08_01.operations.VirtualNetworkPeeringsOperations + :ivar virtual_network_gateways: VirtualNetworkGateways operations + :vartype virtual_network_gateways: azure.mgmt.network.v2017_08_01.operations.VirtualNetworkGatewaysOperations + :ivar virtual_network_gateway_connections: VirtualNetworkGatewayConnections operations + :vartype virtual_network_gateway_connections: azure.mgmt.network.v2017_08_01.operations.VirtualNetworkGatewayConnectionsOperations + :ivar local_network_gateways: LocalNetworkGateways operations + :vartype local_network_gateways: azure.mgmt.network.v2017_08_01.operations.LocalNetworkGatewaysOperations + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: The subscription credentials which uniquely + identify the Microsoft Azure subscription. The subscription ID forms part + of the URI for every service call. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, credentials, subscription_id, base_url=None): + + self.config = NetworkManagementClientConfiguration(credentials, subscription_id, base_url) + self._client = ServiceClient(self.config.credentials, self.config) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + + self.application_gateways = ApplicationGatewaysOperations( + self._client, self.config, self._serialize, self._deserialize) + self.available_endpoint_services = AvailableEndpointServicesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.express_route_circuit_authorizations = ExpressRouteCircuitAuthorizationsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.express_route_circuit_peerings = ExpressRouteCircuitPeeringsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.express_route_circuits = ExpressRouteCircuitsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.express_route_service_providers = ExpressRouteServiceProvidersOperations( + self._client, self.config, self._serialize, self._deserialize) + self.load_balancers = LoadBalancersOperations( + self._client, self.config, self._serialize, self._deserialize) + self.load_balancer_backend_address_pools = LoadBalancerBackendAddressPoolsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.load_balancer_frontend_ip_configurations = LoadBalancerFrontendIPConfigurationsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.inbound_nat_rules = InboundNatRulesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.load_balancer_load_balancing_rules = LoadBalancerLoadBalancingRulesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.load_balancer_network_interfaces = LoadBalancerNetworkInterfacesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.load_balancer_probes = LoadBalancerProbesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.network_interfaces = NetworkInterfacesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.network_interface_ip_configurations = NetworkInterfaceIPConfigurationsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.network_interface_load_balancers = NetworkInterfaceLoadBalancersOperations( + self._client, self.config, self._serialize, self._deserialize) + self.network_security_groups = NetworkSecurityGroupsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.security_rules = SecurityRulesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.default_security_rules = DefaultSecurityRulesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.network_watchers = NetworkWatchersOperations( + self._client, self.config, self._serialize, self._deserialize) + self.packet_captures = PacketCapturesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.public_ip_addresses = PublicIPAddressesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.route_filters = RouteFiltersOperations( + self._client, self.config, self._serialize, self._deserialize) + self.route_filter_rules = RouteFilterRulesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.route_tables = RouteTablesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.routes = RoutesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.bgp_service_communities = BgpServiceCommunitiesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.usages = UsagesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.virtual_networks = VirtualNetworksOperations( + self._client, self.config, self._serialize, self._deserialize) + self.subnets = SubnetsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.virtual_network_peerings = VirtualNetworkPeeringsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.virtual_network_gateways = VirtualNetworkGatewaysOperations( + self._client, self.config, self._serialize, self._deserialize) + self.virtual_network_gateway_connections = VirtualNetworkGatewayConnectionsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.local_network_gateways = LocalNetworkGatewaysOperations( + self._client, self.config, self._serialize, self._deserialize) + + def check_dns_name_availability( + self, location, domain_name_label=None, custom_headers=None, raw=False, **operation_config): + """Checks whether a domain name in the cloudapp.net zone is available for + use. + + :param location: The location of the domain name. + :type location: str + :param domain_name_label: The domain name to be verified. It must + conform to the following regular expression: + ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + :type domain_name_label: str + :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`. + :return: :class:`DnsNameAvailabilityResult + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`DnsNameAvailabilityResult + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + api_version = "2017-08-01" + + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability' + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if domain_name_label is not None: + query_parameters['domainNameLabel'] = self._serialize.query("domain_name_label", domain_name_label, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('DnsNameAvailabilityResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/__init__.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/__init__.py new file mode 100644 index 000000000000..36515998d7c5 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/__init__.py @@ -0,0 +1,82 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .application_gateways_operations import ApplicationGatewaysOperations +from .available_endpoint_services_operations import AvailableEndpointServicesOperations +from .express_route_circuit_authorizations_operations import ExpressRouteCircuitAuthorizationsOperations +from .express_route_circuit_peerings_operations import ExpressRouteCircuitPeeringsOperations +from .express_route_circuits_operations import ExpressRouteCircuitsOperations +from .express_route_service_providers_operations import ExpressRouteServiceProvidersOperations +from .load_balancers_operations import LoadBalancersOperations +from .load_balancer_backend_address_pools_operations import LoadBalancerBackendAddressPoolsOperations +from .load_balancer_frontend_ip_configurations_operations import LoadBalancerFrontendIPConfigurationsOperations +from .inbound_nat_rules_operations import InboundNatRulesOperations +from .load_balancer_load_balancing_rules_operations import LoadBalancerLoadBalancingRulesOperations +from .load_balancer_network_interfaces_operations import LoadBalancerNetworkInterfacesOperations +from .load_balancer_probes_operations import LoadBalancerProbesOperations +from .network_interfaces_operations import NetworkInterfacesOperations +from .network_interface_ip_configurations_operations import NetworkInterfaceIPConfigurationsOperations +from .network_interface_load_balancers_operations import NetworkInterfaceLoadBalancersOperations +from .network_security_groups_operations import NetworkSecurityGroupsOperations +from .security_rules_operations import SecurityRulesOperations +from .default_security_rules_operations import DefaultSecurityRulesOperations +from .network_watchers_operations import NetworkWatchersOperations +from .packet_captures_operations import PacketCapturesOperations +from .public_ip_addresses_operations import PublicIPAddressesOperations +from .route_filters_operations import RouteFiltersOperations +from .route_filter_rules_operations import RouteFilterRulesOperations +from .route_tables_operations import RouteTablesOperations +from .routes_operations import RoutesOperations +from .bgp_service_communities_operations import BgpServiceCommunitiesOperations +from .usages_operations import UsagesOperations +from .virtual_networks_operations import VirtualNetworksOperations +from .subnets_operations import SubnetsOperations +from .virtual_network_peerings_operations import VirtualNetworkPeeringsOperations +from .virtual_network_gateways_operations import VirtualNetworkGatewaysOperations +from .virtual_network_gateway_connections_operations import VirtualNetworkGatewayConnectionsOperations +from .local_network_gateways_operations import LocalNetworkGatewaysOperations + +__all__ = [ + 'ApplicationGatewaysOperations', + 'AvailableEndpointServicesOperations', + 'ExpressRouteCircuitAuthorizationsOperations', + 'ExpressRouteCircuitPeeringsOperations', + 'ExpressRouteCircuitsOperations', + 'ExpressRouteServiceProvidersOperations', + 'LoadBalancersOperations', + 'LoadBalancerBackendAddressPoolsOperations', + 'LoadBalancerFrontendIPConfigurationsOperations', + 'InboundNatRulesOperations', + 'LoadBalancerLoadBalancingRulesOperations', + 'LoadBalancerNetworkInterfacesOperations', + 'LoadBalancerProbesOperations', + 'NetworkInterfacesOperations', + 'NetworkInterfaceIPConfigurationsOperations', + 'NetworkInterfaceLoadBalancersOperations', + 'NetworkSecurityGroupsOperations', + 'SecurityRulesOperations', + 'DefaultSecurityRulesOperations', + 'NetworkWatchersOperations', + 'PacketCapturesOperations', + 'PublicIPAddressesOperations', + 'RouteFiltersOperations', + 'RouteFilterRulesOperations', + 'RouteTablesOperations', + 'RoutesOperations', + 'BgpServiceCommunitiesOperations', + 'UsagesOperations', + 'VirtualNetworksOperations', + 'SubnetsOperations', + 'VirtualNetworkPeeringsOperations', + 'VirtualNetworkGatewaysOperations', + 'VirtualNetworkGatewayConnectionsOperations', + 'LocalNetworkGatewaysOperations', +] diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/application_gateways_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/application_gateways_operations.py new file mode 100644 index 000000000000..25959ddfeea0 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/application_gateways_operations.py @@ -0,0 +1,913 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class ApplicationGatewaysOperations(object): + """ApplicationGatewaysOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def delete( + self, resource_group_name, application_gateway_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [202, 204, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, application_gateway_name, custom_headers=None, raw=False, **operation_config): + """Gets the specified application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :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`. + :return: :class:`ApplicationGateway + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`ApplicationGateway + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ApplicationGateway', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, application_gateway_name, parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates the specified application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param parameters: Parameters supplied to the create or update + application gateway operation. + :type parameters: :class:`ApplicationGateway + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`ApplicationGateway + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'ApplicationGateway') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [201, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('ApplicationGateway', response) + if response.status_code == 200: + deserialized = self._deserialize('ApplicationGateway', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Lists all application gateways in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :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`. + :return: An iterator like instance of :class:`ApplicationGateway + ` + :rtype: :class:`ApplicationGatewayPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.ApplicationGatewayPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.ApplicationGatewayPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def list_all( + self, custom_headers=None, raw=False, **operation_config): + """Gets all the application gateways in a subscription. + + :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`. + :return: An iterator like instance of :class:`ApplicationGateway + ` + :rtype: :class:`ApplicationGatewayPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.ApplicationGatewayPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.ApplicationGatewayPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def start( + self, resource_group_name, application_gateway_name, custom_headers=None, raw=False, **operation_config): + """Starts the specified application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def stop( + self, resource_group_name, application_gateway_name, custom_headers=None, raw=False, **operation_config): + """Stops the specified application gateway in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def backend_health( + self, resource_group_name, application_gateway_name, expand=None, custom_headers=None, raw=False, **operation_config): + """Gets the backend health of the specified application gateway in a + resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param expand: Expands BackendAddressPool and BackendHttpSettings + referenced in backend health. + :type expand: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`ApplicationGatewayBackendHealth + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ApplicationGatewayBackendHealth', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list_available_waf_rule_sets( + self, custom_headers=None, raw=False, **operation_config): + """Lists all available web application firewall rule sets. + + :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`. + :return: :class:`ApplicationGatewayAvailableWafRuleSetsResult + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: :class:`ApplicationGatewayAvailableWafRuleSetsResult + ` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ApplicationGatewayAvailableWafRuleSetsResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def list_available_ssl_options( + self, custom_headers=None, raw=False, **operation_config): + """Lists available Ssl options for configuring Ssl policy. + + :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`. + :return: :class:`ApplicationGatewayAvailableSslOptions + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: :class:`ApplicationGatewayAvailableSslOptions + ` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ApplicationGatewayAvailableSslOptions', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def list_available_ssl_predefined_policies( + self, custom_headers=None, raw=False, **operation_config): + """Lists all SSL predefined policies for configuring Ssl policy. + + :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`. + :return: An iterator like instance of + :class:`ApplicationGatewaySslPredefinedPolicy + ` + :rtype: :class:`ApplicationGatewaySslPredefinedPolicyPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.ApplicationGatewaySslPredefinedPolicyPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.ApplicationGatewaySslPredefinedPolicyPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get_ssl_predefined_policy( + self, predefined_policy_name, custom_headers=None, raw=False, **operation_config): + """Gets Ssl predefined policy with the specified policy name. + + :param predefined_policy_name: Name of Ssl predefined policy. + :type predefined_policy_name: str + :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`. + :return: :class:`ApplicationGatewaySslPredefinedPolicy + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: :class:`ApplicationGatewaySslPredefinedPolicy + ` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'predefinedPolicyName': self._serialize.url("predefined_policy_name", predefined_policy_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ApplicationGatewaySslPredefinedPolicy', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/available_endpoint_services_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/available_endpoint_services_operations.py new file mode 100644 index 000000000000..3f0498c0c456 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/available_endpoint_services_operations.py @@ -0,0 +1,104 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class AvailableEndpointServicesOperations(object): + """AvailableEndpointServicesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def list( + self, location, custom_headers=None, raw=False, **operation_config): + """List what values of endpoint services are available for use. + + :param location: The location to check available endpoint services. + :type location: str + :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`. + :return: An iterator like instance of :class:`EndpointServiceResult + ` + :rtype: :class:`EndpointServiceResultPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices' + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.EndpointServiceResultPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.EndpointServiceResultPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/bgp_service_communities_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/bgp_service_communities_operations.py new file mode 100644 index 000000000000..2a42dd37c933 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/bgp_service_communities_operations.py @@ -0,0 +1,101 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class BgpServiceCommunitiesOperations(object): + """BgpServiceCommunitiesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def list( + self, custom_headers=None, raw=False, **operation_config): + """Gets all the available bgp service communities. + + :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`. + :return: An iterator like instance of :class:`BgpServiceCommunity + ` + :rtype: :class:`BgpServiceCommunityPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.BgpServiceCommunityPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.BgpServiceCommunityPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/default_security_rules_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/default_security_rules_operations.py new file mode 100644 index 000000000000..a4071c97029c --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/default_security_rules_operations.py @@ -0,0 +1,178 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class DefaultSecurityRulesOperations(object): + """DefaultSecurityRulesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def list( + self, resource_group_name, network_security_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all default security rules in a network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security + group. + :type network_security_group_name: str + :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`. + :return: An iterator like instance of :class:`SecurityRule + ` + :rtype: :class:`SecurityRulePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.SecurityRulePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.SecurityRulePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get( + self, resource_group_name, network_security_group_name, default_security_rule_name, custom_headers=None, raw=False, **operation_config): + """Get the specified default network security rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security + group. + :type network_security_group_name: str + :param default_security_rule_name: The name of the default security + rule. + :type default_security_rule_name: str + :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`. + :return: :class:`SecurityRule + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`SecurityRule + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'defaultSecurityRuleName': self._serialize.url("default_security_rule_name", default_security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('SecurityRule', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/express_route_circuit_authorizations_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/express_route_circuit_authorizations_operations.py new file mode 100644 index 000000000000..3b08acc551ca --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/express_route_circuit_authorizations_operations.py @@ -0,0 +1,365 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class ExpressRouteCircuitAuthorizationsOperations(object): + """ExpressRouteCircuitAuthorizationsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def delete( + self, resource_group_name, circuit_name, authorization_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified authorization from the specified express route + circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param authorization_name: The name of the authorization. + :type authorization_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'authorizationName': self._serialize.url("authorization_name", authorization_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [202, 200, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, circuit_name, authorization_name, custom_headers=None, raw=False, **operation_config): + """Gets the specified authorization from the specified express route + circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param authorization_name: The name of the authorization. + :type authorization_name: str + :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`. + :return: :class:`ExpressRouteCircuitAuthorization + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: :class:`ExpressRouteCircuitAuthorization + ` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'authorizationName': self._serialize.url("authorization_name", authorization_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitAuthorization', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates an authorization in the specified express route + circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param authorization_name: The name of the authorization. + :type authorization_name: str + :param authorization_parameters: Parameters supplied to the create or + update express route circuit authorization operation. + :type authorization_parameters: + :class:`ExpressRouteCircuitAuthorization + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`ExpressRouteCircuitAuthorization + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'authorizationName': self._serialize.url("authorization_name", authorization_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(authorization_parameters, 'ExpressRouteCircuitAuthorization') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [201, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteCircuitAuthorization', response) + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitAuthorization', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list( + self, resource_group_name, circuit_name, custom_headers=None, raw=False, **operation_config): + """Gets all authorizations in an express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the circuit. + :type circuit_name: str + :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`. + :return: An iterator like instance of + :class:`ExpressRouteCircuitAuthorization + ` + :rtype: :class:`ExpressRouteCircuitAuthorizationPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.ExpressRouteCircuitAuthorizationPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.ExpressRouteCircuitAuthorizationPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/express_route_circuit_peerings_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/express_route_circuit_peerings_operations.py new file mode 100644 index 000000000000..5c5535782e89 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/express_route_circuit_peerings_operations.py @@ -0,0 +1,362 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class ExpressRouteCircuitPeeringsOperations(object): + """ExpressRouteCircuitPeeringsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def delete( + self, resource_group_name, circuit_name, peering_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified peering from the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, circuit_name, peering_name, custom_headers=None, raw=False, **operation_config): + """Gets the specified authorization from the specified express route + circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :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`. + :return: :class:`ExpressRouteCircuitPeering + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`ExpressRouteCircuitPeering + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitPeering', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a peering in the specified express route circuits. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param peering_parameters: Parameters supplied to the create or update + express route circuit peering operation. + :type peering_parameters: :class:`ExpressRouteCircuitPeering + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`ExpressRouteCircuitPeering + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(peering_parameters, 'ExpressRouteCircuitPeering') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitPeering', response) + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteCircuitPeering', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list( + self, resource_group_name, circuit_name, custom_headers=None, raw=False, **operation_config): + """Gets all peerings in a specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :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`. + :return: An iterator like instance of + :class:`ExpressRouteCircuitPeering + ` + :rtype: :class:`ExpressRouteCircuitPeeringPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.ExpressRouteCircuitPeeringPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.ExpressRouteCircuitPeeringPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/express_route_circuits_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/express_route_circuits_operations.py new file mode 100644 index 000000000000..195ec784f8b0 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/express_route_circuits_operations.py @@ -0,0 +1,833 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class ExpressRouteCircuitsOperations(object): + """ExpressRouteCircuitsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def delete( + self, resource_group_name, circuit_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [204, 202, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, circuit_name, custom_headers=None, raw=False, **operation_config): + """Gets information about the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of express route circuit. + :type circuit_name: str + :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`. + :return: :class:`ExpressRouteCircuit + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`ExpressRouteCircuit + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuit', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, circuit_name, parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates an express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the circuit. + :type circuit_name: str + :param parameters: Parameters supplied to the create or update express + route circuit operation. + :type parameters: :class:`ExpressRouteCircuit + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`ExpressRouteCircuit + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'ExpressRouteCircuit') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [201, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteCircuit', response) + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuit', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list_arp_table( + self, resource_group_name, circuit_name, peering_name, device_path, custom_headers=None, raw=False, **operation_config): + """Gets the currently advertised ARP table associated with the express + route circuit in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`ExpressRouteCircuitsArpTableListResult + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitsArpTableListResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list_routes_table( + self, resource_group_name, circuit_name, peering_name, device_path, custom_headers=None, raw=False, **operation_config): + """Gets the currently advertised routes table associated with the express + route circuit in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns + :class:`ExpressRouteCircuitsRoutesTableListResult + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitsRoutesTableListResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list_routes_table_summary( + self, resource_group_name, circuit_name, peering_name, device_path, custom_headers=None, raw=False, **operation_config): + """Gets the currently advertised routes table summary associated with the + express route circuit in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns + :class:`ExpressRouteCircuitsRoutesTableSummaryListResult + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitsRoutesTableSummaryListResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get_stats( + self, resource_group_name, circuit_name, custom_headers=None, raw=False, **operation_config): + """Gets all the stats from an express route circuit in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :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`. + :return: :class:`ExpressRouteCircuitStats + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`ExpressRouteCircuitStats + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitStats', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def get_peering_stats( + self, resource_group_name, circuit_name, peering_name, custom_headers=None, raw=False, **operation_config): + """Gets all stats from an express route circuit in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :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`. + :return: :class:`ExpressRouteCircuitStats + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`ExpressRouteCircuitStats + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitStats', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def list( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all the express route circuits in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :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`. + :return: An iterator like instance of :class:`ExpressRouteCircuit + ` + :rtype: :class:`ExpressRouteCircuitPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.ExpressRouteCircuitPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.ExpressRouteCircuitPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def list_all( + self, custom_headers=None, raw=False, **operation_config): + """Gets all the express route circuits in a subscription. + + :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`. + :return: An iterator like instance of :class:`ExpressRouteCircuit + ` + :rtype: :class:`ExpressRouteCircuitPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.ExpressRouteCircuitPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.ExpressRouteCircuitPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/express_route_service_providers_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/express_route_service_providers_operations.py new file mode 100644 index 000000000000..f312618d5c5e --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/express_route_service_providers_operations.py @@ -0,0 +1,102 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class ExpressRouteServiceProvidersOperations(object): + """ExpressRouteServiceProvidersOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def list( + self, custom_headers=None, raw=False, **operation_config): + """Gets all the available express route service providers. + + :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`. + :return: An iterator like instance of + :class:`ExpressRouteServiceProvider + ` + :rtype: :class:`ExpressRouteServiceProviderPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.ExpressRouteServiceProviderPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.ExpressRouteServiceProviderPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/inbound_nat_rules_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/inbound_nat_rules_operations.py new file mode 100644 index 000000000000..d9c33ed17387 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/inbound_nat_rules_operations.py @@ -0,0 +1,364 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class InboundNatRulesOperations(object): + """InboundNatRulesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def list( + self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): + """Gets all the inbound nat rules in a load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :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`. + :return: An iterator like instance of :class:`InboundNatRule + ` + :rtype: :class:`InboundNatRulePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.InboundNatRulePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.InboundNatRulePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def delete( + self, resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified load balancer inbound nat rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param inbound_nat_rule_name: The name of the inbound nat rule. + :type inbound_nat_rule_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [204, 202, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, load_balancer_name, inbound_nat_rule_name, expand=None, custom_headers=None, raw=False, **operation_config): + """Gets the specified load balancer inbound nat rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param inbound_nat_rule_name: The name of the inbound nat rule. + :type inbound_nat_rule_name: str + :param expand: Expands referenced resources. + :type expand: str + :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`. + :return: :class:`InboundNatRule + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`InboundNatRule + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('InboundNatRule', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a load balancer inbound nat rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param inbound_nat_rule_name: The name of the inbound nat rule. + :type inbound_nat_rule_name: str + :param inbound_nat_rule_parameters: Parameters supplied to the create + or update inbound nat rule operation. + :type inbound_nat_rule_parameters: :class:`InboundNatRule + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`InboundNatRule + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(inbound_nat_rule_parameters, 'InboundNatRule') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [201, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('InboundNatRule', response) + if response.status_code == 200: + deserialized = self._deserialize('InboundNatRule', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_backend_address_pools_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_backend_address_pools_operations.py new file mode 100644 index 000000000000..ed3fc776e1e4 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_backend_address_pools_operations.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class LoadBalancerBackendAddressPoolsOperations(object): + """LoadBalancerBackendAddressPoolsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def list( + self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): + """Gets all the load balancer backed address pools. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :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`. + :return: An iterator like instance of :class:`BackendAddressPool + ` + :rtype: :class:`BackendAddressPoolPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.BackendAddressPoolPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.BackendAddressPoolPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get( + self, resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers=None, raw=False, **operation_config): + """Gets load balancer backend address pool. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param backend_address_pool_name: The name of the backend address + pool. + :type backend_address_pool_name: str + :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`. + :return: :class:`BackendAddressPool + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`BackendAddressPool + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'backendAddressPoolName': self._serialize.url("backend_address_pool_name", backend_address_pool_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('BackendAddressPool', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_frontend_ip_configurations_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_frontend_ip_configurations_operations.py new file mode 100644 index 000000000000..9c0cdae55554 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_frontend_ip_configurations_operations.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class LoadBalancerFrontendIPConfigurationsOperations(object): + """LoadBalancerFrontendIPConfigurationsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def list( + self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): + """Gets all the load balancer frontend IP configurations. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :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`. + :return: An iterator like instance of :class:`FrontendIPConfiguration + ` + :rtype: :class:`FrontendIPConfigurationPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.FrontendIPConfigurationPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.FrontendIPConfigurationPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get( + self, resource_group_name, load_balancer_name, frontend_ip_configuration_name, custom_headers=None, raw=False, **operation_config): + """Gets load balancer frontend IP configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param frontend_ip_configuration_name: The name of the frontend IP + configuration. + :type frontend_ip_configuration_name: str + :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`. + :return: :class:`FrontendIPConfiguration + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`FrontendIPConfiguration + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'frontendIPConfigurationName': self._serialize.url("frontend_ip_configuration_name", frontend_ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('FrontendIPConfiguration', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_load_balancing_rules_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_load_balancing_rules_operations.py new file mode 100644 index 000000000000..e77aacc1c7ef --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_load_balancing_rules_operations.py @@ -0,0 +1,175 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class LoadBalancerLoadBalancingRulesOperations(object): + """LoadBalancerLoadBalancingRulesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def list( + self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): + """Gets all the load balancing rules in a load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :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`. + :return: An iterator like instance of :class:`LoadBalancingRule + ` + :rtype: :class:`LoadBalancingRulePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.LoadBalancingRulePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.LoadBalancingRulePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get( + self, resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers=None, raw=False, **operation_config): + """Gets the specified load balancer load balancing rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param load_balancing_rule_name: The name of the load balancing rule. + :type load_balancing_rule_name: str + :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`. + :return: :class:`LoadBalancingRule + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`LoadBalancingRule + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'loadBalancingRuleName': self._serialize.url("load_balancing_rule_name", load_balancing_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('LoadBalancingRule', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_network_interfaces_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_network_interfaces_operations.py new file mode 100644 index 000000000000..9aaf6b6c5a02 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_network_interfaces_operations.py @@ -0,0 +1,107 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class LoadBalancerNetworkInterfacesOperations(object): + """LoadBalancerNetworkInterfacesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def list( + self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): + """Gets associated load balancer network interfaces. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :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`. + :return: An iterator like instance of :class:`NetworkInterface + ` + :rtype: :class:`NetworkInterfacePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.NetworkInterfacePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.NetworkInterfacePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_probes_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_probes_operations.py new file mode 100644 index 000000000000..53c16bcfdf7f --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancer_probes_operations.py @@ -0,0 +1,173 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class LoadBalancerProbesOperations(object): + """LoadBalancerProbesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def list( + self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): + """Gets all the load balancer probes. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :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`. + :return: An iterator like instance of :class:`Probe + ` + :rtype: :class:`ProbePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.ProbePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.ProbePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get( + self, resource_group_name, load_balancer_name, probe_name, custom_headers=None, raw=False, **operation_config): + """Gets load balancer probe. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param probe_name: The name of the probe. + :type probe_name: str + :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`. + :return: :class:`Probe ` + or :class:`ClientRawResponse` if + raw=true + :rtype: :class:`Probe ` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'probeName': self._serialize.url("probe_name", probe_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Probe', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancers_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancers_operations.py new file mode 100644 index 000000000000..80a2ce940efb --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/load_balancers_operations.py @@ -0,0 +1,417 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class LoadBalancersOperations(object): + """LoadBalancersOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def delete( + self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [204, 202, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, load_balancer_name, expand=None, custom_headers=None, raw=False, **operation_config): + """Gets the specified load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param expand: Expands referenced resources. + :type expand: str + :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`. + :return: :class:`LoadBalancer + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`LoadBalancer + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('LoadBalancer', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, load_balancer_name, parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param parameters: Parameters supplied to the create or update load + balancer operation. + :type parameters: :class:`LoadBalancer + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`LoadBalancer + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'LoadBalancer') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [201, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('LoadBalancer', response) + if response.status_code == 200: + deserialized = self._deserialize('LoadBalancer', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list_all( + self, custom_headers=None, raw=False, **operation_config): + """Gets all the load balancers in a subscription. + + :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`. + :return: An iterator like instance of :class:`LoadBalancer + ` + :rtype: :class:`LoadBalancerPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.LoadBalancerPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.LoadBalancerPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def list( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all the load balancers in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :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`. + :return: An iterator like instance of :class:`LoadBalancer + ` + :rtype: :class:`LoadBalancerPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.LoadBalancerPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.LoadBalancerPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/local_network_gateways_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/local_network_gateways_operations.py new file mode 100644 index 000000000000..c9ba3890216e --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/local_network_gateways_operations.py @@ -0,0 +1,352 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class LocalNetworkGatewaysOperations(object): + """LocalNetworkGatewaysOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def create_or_update( + self, resource_group_name, local_network_gateway_name, parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a local network gateway in the specified resource + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param local_network_gateway_name: The name of the local network + gateway. + :type local_network_gateway_name: str + :param parameters: Parameters supplied to the create or update local + network gateway operation. + :type parameters: :class:`LocalNetworkGateway + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`LocalNetworkGateway + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'LocalNetworkGateway') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [201, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('LocalNetworkGateway', response) + if response.status_code == 200: + deserialized = self._deserialize('LocalNetworkGateway', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, local_network_gateway_name, custom_headers=None, raw=False, **operation_config): + """Gets the specified local network gateway in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param local_network_gateway_name: The name of the local network + gateway. + :type local_network_gateway_name: str + :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`. + :return: :class:`LocalNetworkGateway + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`LocalNetworkGateway + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('LocalNetworkGateway', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def delete( + self, resource_group_name, local_network_gateway_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified local network gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param local_network_gateway_name: The name of the local network + gateway. + :type local_network_gateway_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [204, 200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all the local network gateways in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :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`. + :return: An iterator like instance of :class:`LocalNetworkGateway + ` + :rtype: :class:`LocalNetworkGatewayPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.LocalNetworkGatewayPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.LocalNetworkGatewayPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_interface_ip_configurations_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_interface_ip_configurations_operations.py new file mode 100644 index 000000000000..921f7daac567 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_interface_ip_configurations_operations.py @@ -0,0 +1,176 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class NetworkInterfaceIPConfigurationsOperations(object): + """NetworkInterfaceIPConfigurationsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def list( + self, resource_group_name, network_interface_name, custom_headers=None, raw=False, **operation_config): + """Get all ip configurations in a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :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`. + :return: An iterator like instance of + :class:`NetworkInterfaceIPConfiguration + ` + :rtype: :class:`NetworkInterfaceIPConfigurationPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.NetworkInterfaceIPConfigurationPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.NetworkInterfaceIPConfigurationPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get( + self, resource_group_name, network_interface_name, ip_configuration_name, custom_headers=None, raw=False, **operation_config): + """Gets the specified network interface ip configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param ip_configuration_name: The name of the ip configuration name. + :type ip_configuration_name: str + :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`. + :return: :class:`NetworkInterfaceIPConfiguration + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: :class:`NetworkInterfaceIPConfiguration + ` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('NetworkInterfaceIPConfiguration', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_interface_load_balancers_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_interface_load_balancers_operations.py new file mode 100644 index 000000000000..9d1b68fdb936 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_interface_load_balancers_operations.py @@ -0,0 +1,107 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class NetworkInterfaceLoadBalancersOperations(object): + """NetworkInterfaceLoadBalancersOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def list( + self, resource_group_name, network_interface_name, custom_headers=None, raw=False, **operation_config): + """Get all load balancers in a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :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`. + :return: An iterator like instance of :class:`LoadBalancer + ` + :rtype: :class:`LoadBalancerPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.LoadBalancerPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.LoadBalancerPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_interfaces_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_interfaces_operations.py new file mode 100644 index 000000000000..690426f03630 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_interfaces_operations.py @@ -0,0 +1,835 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class NetworkInterfacesOperations(object): + """NetworkInterfacesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + + self.config = config + + def delete( + self, resource_group_name, network_interface_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + api_version = "2017-08-01" + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [204, 202, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, network_interface_name, expand=None, custom_headers=None, raw=False, **operation_config): + """Gets information about the specified network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param expand: Expands referenced resources. + :type expand: str + :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`. + :return: :class:`NetworkInterface + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`NetworkInterface + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + api_version = "2017-08-01" + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('NetworkInterface', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, network_interface_name, parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param parameters: Parameters supplied to the create or update network + interface operation. + :type parameters: :class:`NetworkInterface + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`NetworkInterface + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + api_version = "2017-08-01" + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'NetworkInterface') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [201, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('NetworkInterface', response) + if response.status_code == 200: + deserialized = self._deserialize('NetworkInterface', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list_all( + self, custom_headers=None, raw=False, **operation_config): + """Gets all network interfaces in a subscription. + + :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`. + :return: An iterator like instance of :class:`NetworkInterface + ` + :rtype: :class:`NetworkInterfacePaged + ` + :raises: :class:`CloudError` + """ + api_version = "2017-08-01" + + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.NetworkInterfacePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.NetworkInterfacePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def list( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all network interfaces in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :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`. + :return: An iterator like instance of :class:`NetworkInterface + ` + :rtype: :class:`NetworkInterfacePaged + ` + :raises: :class:`CloudError` + """ + api_version = "2017-08-01" + + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.NetworkInterfacePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.NetworkInterfacePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get_effective_route_table( + self, resource_group_name, network_interface_name, custom_headers=None, raw=False, **operation_config): + """Gets all route tables applied to a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`EffectiveRouteListResult + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + api_version = "2017-08-01" + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('EffectiveRouteListResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list_effective_network_security_groups( + self, resource_group_name, network_interface_name, custom_headers=None, raw=False, **operation_config): + """Gets all network security groups applied to a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`EffectiveNetworkSecurityGroupListResult + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + api_version = "2017-08-01" + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('EffectiveNetworkSecurityGroupListResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list_virtual_machine_scale_set_vm_network_interfaces( + self, resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers=None, raw=False, **operation_config): + """Gets information about all network interfaces in a virtual machine in a + virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine + scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :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`. + :return: An iterator like instance of :class:`NetworkInterface + ` + :rtype: :class:`NetworkInterfacePaged + ` + :raises: :class:`CloudError` + """ + api_version = "2017-03-30" + + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.NetworkInterfacePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.NetworkInterfacePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def list_virtual_machine_scale_set_network_interfaces( + self, resource_group_name, virtual_machine_scale_set_name, custom_headers=None, raw=False, **operation_config): + """Gets all network interfaces in a virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine + scale set. + :type virtual_machine_scale_set_name: str + :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`. + :return: An iterator like instance of :class:`NetworkInterface + ` + :rtype: :class:`NetworkInterfacePaged + ` + :raises: :class:`CloudError` + """ + api_version = "2017-03-30" + + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.NetworkInterfacePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.NetworkInterfacePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get_virtual_machine_scale_set_network_interface( + self, resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand=None, custom_headers=None, raw=False, **operation_config): + """Get the specified network interface in a virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine + scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param expand: Expands referenced resources. + :type expand: str + :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`. + :return: :class:`NetworkInterface + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`NetworkInterface + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + api_version = "2017-03-30" + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('NetworkInterface', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_security_groups_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_security_groups_operations.py new file mode 100644 index 000000000000..65ecd87aa784 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_security_groups_operations.py @@ -0,0 +1,421 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class NetworkSecurityGroupsOperations(object): + """NetworkSecurityGroupsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def delete( + self, resource_group_name, network_security_group_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security + group. + :type network_security_group_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [202, 200, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, network_security_group_name, expand=None, custom_headers=None, raw=False, **operation_config): + """Gets the specified network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security + group. + :type network_security_group_name: str + :param expand: Expands referenced resources. + :type expand: str + :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`. + :return: :class:`NetworkSecurityGroup + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`NetworkSecurityGroup + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('NetworkSecurityGroup', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, network_security_group_name, parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a network security group in the specified resource + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security + group. + :type network_security_group_name: str + :param parameters: Parameters supplied to the create or update network + security group operation. + :type parameters: :class:`NetworkSecurityGroup + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`NetworkSecurityGroup + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'NetworkSecurityGroup') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [201, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('NetworkSecurityGroup', response) + if response.status_code == 200: + deserialized = self._deserialize('NetworkSecurityGroup', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list_all( + self, custom_headers=None, raw=False, **operation_config): + """Gets all network security groups in a subscription. + + :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`. + :return: An iterator like instance of :class:`NetworkSecurityGroup + ` + :rtype: :class:`NetworkSecurityGroupPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.NetworkSecurityGroupPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.NetworkSecurityGroupPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def list( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all network security groups in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :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`. + :return: An iterator like instance of :class:`NetworkSecurityGroup + ` + :rtype: :class:`NetworkSecurityGroupPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.NetworkSecurityGroupPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.NetworkSecurityGroupPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_watchers_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_watchers_operations.py new file mode 100644 index 000000000000..8d6042b4abf6 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/network_watchers_operations.py @@ -0,0 +1,1260 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class NetworkWatchersOperations(object): + """NetworkWatchersOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def create_or_update( + self, resource_group_name, network_watcher_name, parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a network watcher in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters that define the network watcher + resource. + :type parameters: :class:`NetworkWatcher + ` + :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`. + :return: :class:`NetworkWatcher + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`NetworkWatcher + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'NetworkWatcher') + + # Construct and send request + request = self._client.put(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, **operation_config) + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('NetworkWatcher', response) + if response.status_code == 201: + deserialized = self._deserialize('NetworkWatcher', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def get( + self, resource_group_name, network_watcher_name, custom_headers=None, raw=False, **operation_config): + """Gets the specified network watcher by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :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`. + :return: :class:`NetworkWatcher + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`NetworkWatcher + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('NetworkWatcher', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def delete( + self, resource_group_name, network_watcher_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified network watcher resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all network watchers by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :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`. + :return: An iterator like instance of :class:`NetworkWatcher + ` + :rtype: :class:`NetworkWatcherPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.NetworkWatcherPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.NetworkWatcherPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def list_all( + self, custom_headers=None, raw=False, **operation_config): + """Gets all network watchers by subscription. + + :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`. + :return: An iterator like instance of :class:`NetworkWatcher + ` + :rtype: :class:`NetworkWatcherPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.NetworkWatcherPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.NetworkWatcherPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get_topology( + self, resource_group_name, network_watcher_name, target_resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets the current network topology by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param target_resource_group_name: The name of the target resource + group to perform topology on. + :type target_resource_group_name: str + :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`. + :return: :class:`Topology + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`Topology + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + parameters = models.TopologyParameters(target_resource_group_name=target_resource_group_name) + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'TopologyParameters') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Topology', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def verify_ip_flow( + self, resource_group_name, network_watcher_name, parameters, custom_headers=None, raw=False, **operation_config): + """Verify IP flow from the specified VM to a location given the currently + configured NSG rules. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters that define the IP flow to be verified. + :type parameters: :class:`VerificationIPFlowParameters + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`VerificationIPFlowResult + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'VerificationIPFlowParameters') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VerificationIPFlowResult', response) + if response.status_code == 202: + deserialized = self._deserialize('VerificationIPFlowResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get_next_hop( + self, resource_group_name, network_watcher_name, parameters, custom_headers=None, raw=False, **operation_config): + """Gets the next hop from the specified VM. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters that define the source and destination + endpoint. + :type parameters: :class:`NextHopParameters + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`NextHopResult + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'NextHopParameters') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('NextHopResult', response) + if response.status_code == 202: + deserialized = self._deserialize('NextHopResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get_vm_security_rules( + self, resource_group_name, network_watcher_name, target_resource_id, custom_headers=None, raw=False, **operation_config): + """Gets the configured and effective security group rules on the specified + VM. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param target_resource_id: ID of the target VM. + :type target_resource_id: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`SecurityGroupViewResult + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + parameters = models.SecurityGroupViewParameters(target_resource_id=target_resource_id) + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'SecurityGroupViewParameters') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('SecurityGroupViewResult', response) + if response.status_code == 202: + deserialized = self._deserialize('SecurityGroupViewResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get_troubleshooting( + self, resource_group_name, network_watcher_name, parameters, custom_headers=None, raw=False, **operation_config): + """Initiate troubleshooting on a specified resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that define the resource to + troubleshoot. + :type parameters: :class:`TroubleshootingParameters + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`TroubleshootingResult + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'TroubleshootingParameters') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('TroubleshootingResult', response) + if response.status_code == 202: + deserialized = self._deserialize('TroubleshootingResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get_troubleshooting_result( + self, resource_group_name, network_watcher_name, target_resource_id, custom_headers=None, raw=False, **operation_config): + """Get the last completed troubleshooting result on a specified resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param target_resource_id: The target resource ID to query the + troubleshooting result. + :type target_resource_id: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`TroubleshootingResult + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + parameters = models.QueryTroubleshootingParameters(target_resource_id=target_resource_id) + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'QueryTroubleshootingParameters') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('TroubleshootingResult', response) + if response.status_code == 202: + deserialized = self._deserialize('TroubleshootingResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def set_flow_log_configuration( + self, resource_group_name, network_watcher_name, parameters, custom_headers=None, raw=False, **operation_config): + """Configures flow log on a specified resource. + + :param resource_group_name: The name of the network watcher resource + group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that define the configuration of flow + log. + :type parameters: :class:`FlowLogInformation + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`FlowLogInformation + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'FlowLogInformation') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('FlowLogInformation', response) + if response.status_code == 202: + deserialized = self._deserialize('FlowLogInformation', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get_flow_log_status( + self, resource_group_name, network_watcher_name, target_resource_id, custom_headers=None, raw=False, **operation_config): + """Queries status of flow log on a specified resource. + + :param resource_group_name: The name of the network watcher resource + group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param target_resource_id: The target resource where getting the flow + logging status. + :type target_resource_id: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`FlowLogInformation + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + parameters = models.FlowLogStatusParameters(target_resource_id=target_resource_id) + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'FlowLogStatusParameters') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('FlowLogInformation', response) + if response.status_code == 202: + deserialized = self._deserialize('FlowLogInformation', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def check_connectivity( + self, resource_group_name, network_watcher_name, source, destination, custom_headers=None, raw=False, **operation_config): + """Verifies the possibility of establishing a direct TCP connection from a + virtual machine to a given endpoint including another VM or an + arbitrary remote server. + + :param resource_group_name: The name of the network watcher resource + group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param source: + :type source: :class:`ConnectivitySource + ` + :param destination: + :type destination: :class:`ConnectivityDestination + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`ConnectivityInformation + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + parameters = models.ConnectivityParameters(source=source, destination=destination) + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'ConnectivityParameters') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ConnectivityInformation', response) + if response.status_code == 202: + deserialized = self._deserialize('ConnectivityInformation', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/packet_captures_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/packet_captures_operations.py new file mode 100644 index 000000000000..7f0690820fee --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/packet_captures_operations.py @@ -0,0 +1,535 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class PacketCapturesOperations(object): + """PacketCapturesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def create( + self, resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers=None, raw=False, **operation_config): + """Create and start a packet capture on the specified VM. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param packet_capture_name: The name of the packet capture session. + :type packet_capture_name: str + :param parameters: Parameters that define the create packet capture + operation. + :type parameters: :class:`PacketCapture + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`PacketCaptureResult + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'PacketCapture') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('PacketCaptureResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, network_watcher_name, packet_capture_name, custom_headers=None, raw=False, **operation_config): + """Gets a packet capture session by name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param packet_capture_name: The name of the packet capture session. + :type packet_capture_name: str + :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`. + :return: :class:`PacketCaptureResult + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`PacketCaptureResult + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('PacketCaptureResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def delete( + self, resource_group_name, network_watcher_name, packet_capture_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified packet capture session. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param packet_capture_name: The name of the packet capture session. + :type packet_capture_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [204, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def stop( + self, resource_group_name, network_watcher_name, packet_capture_name, custom_headers=None, raw=False, **operation_config): + """Stops a specified packet capture session. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param packet_capture_name: The name of the packet capture session. + :type packet_capture_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get_status( + self, resource_group_name, network_watcher_name, packet_capture_name, custom_headers=None, raw=False, **operation_config): + """Query the status of a running packet capture session. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param packet_capture_name: The name given to the packet capture + session. + :type packet_capture_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`PacketCaptureQueryStatusResult + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('PacketCaptureQueryStatusResult', response) + if response.status_code == 202: + deserialized = self._deserialize('PacketCaptureQueryStatusResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list( + self, resource_group_name, network_watcher_name, custom_headers=None, raw=False, **operation_config): + """Lists all packet capture sessions within the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :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`. + :return: An iterator like instance of :class:`PacketCaptureResult + ` + :rtype: :class:`PacketCaptureResultPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.PacketCaptureResultPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.PacketCaptureResultPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/public_ip_addresses_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/public_ip_addresses_operations.py new file mode 100644 index 000000000000..0283299275b9 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/public_ip_addresses_operations.py @@ -0,0 +1,668 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class PublicIPAddressesOperations(object): + """PublicIPAddressesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + + self.config = config + + def delete( + self, resource_group_name, public_ip_address_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified public IP address. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_address_name: The name of the subnet. + :type public_ip_address_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + api_version = "2017-08-01" + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [204, 202, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, public_ip_address_name, expand=None, custom_headers=None, raw=False, **operation_config): + """Gets the specified public IP address in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_address_name: The name of the subnet. + :type public_ip_address_name: str + :param expand: Expands referenced resources. + :type expand: str + :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`. + :return: :class:`PublicIPAddress + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`PublicIPAddress + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + api_version = "2017-08-01" + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('PublicIPAddress', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, public_ip_address_name, parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a static or dynamic public IP address. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_address_name: The name of the public IP address. + :type public_ip_address_name: str + :param parameters: Parameters supplied to the create or update public + IP address operation. + :type parameters: :class:`PublicIPAddress + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`PublicIPAddress + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + api_version = "2017-08-01" + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'PublicIPAddress') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [201, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('PublicIPAddress', response) + if response.status_code == 200: + deserialized = self._deserialize('PublicIPAddress', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list_all( + self, custom_headers=None, raw=False, **operation_config): + """Gets all the public IP addresses in a subscription. + + :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`. + :return: An iterator like instance of :class:`PublicIPAddress + ` + :rtype: :class:`PublicIPAddressPaged + ` + :raises: :class:`CloudError` + """ + api_version = "2017-08-01" + + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.PublicIPAddressPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.PublicIPAddressPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def list( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all public IP addresses in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :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`. + :return: An iterator like instance of :class:`PublicIPAddress + ` + :rtype: :class:`PublicIPAddressPaged + ` + :raises: :class:`CloudError` + """ + api_version = "2017-08-01" + + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.PublicIPAddressPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.PublicIPAddressPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def list_virtual_machine_scale_set_public_ip_addresses( + self, resource_group_name, virtual_machine_scale_set_name, custom_headers=None, raw=False, **operation_config): + """Gets information about all public IP addresses on a virtual machine + scale set level. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine + scale set. + :type virtual_machine_scale_set_name: str + :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`. + :return: An iterator like instance of :class:`PublicIPAddress + ` + :rtype: :class:`PublicIPAddressPaged + ` + :raises: :class:`CloudError` + """ + api_version = "2017-03-30" + + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/publicipaddresses' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.PublicIPAddressPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.PublicIPAddressPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def list_virtual_machine_scale_set_vm_public_ip_addresses( + self, resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers=None, raw=False, **operation_config): + """Gets information about all public IP addresses in a virtual machine IP + configuration in a virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine + scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :param network_interface_name: The network interface name. + :type network_interface_name: str + :param ip_configuration_name: The IP configuration name. + :type ip_configuration_name: str + :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`. + :return: An iterator like instance of :class:`PublicIPAddress + ` + :rtype: :class:`PublicIPAddressPaged + ` + :raises: :class:`CloudError` + """ + api_version = "2017-03-30" + + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.PublicIPAddressPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.PublicIPAddressPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def get_virtual_machine_scale_set_public_ip_address( + self, resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand=None, custom_headers=None, raw=False, **operation_config): + """Get the specified public IP address in a virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine + scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param ip_configuration_name: The name of the IP configuration. + :type ip_configuration_name: str + :param public_ip_address_name: The name of the public IP Address. + :type public_ip_address_name: str + :param expand: Expands referenced resources. + :type expand: str + :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`. + :return: :class:`PublicIPAddress + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`PublicIPAddress + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + api_version = "2017-03-30" + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('PublicIPAddress', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/route_filter_rules_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/route_filter_rules_operations.py new file mode 100644 index 000000000000..21d394415dbc --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/route_filter_rules_operations.py @@ -0,0 +1,459 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class RouteFilterRulesOperations(object): + """RouteFilterRulesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def delete( + self, resource_group_name, route_filter_name, rule_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified rule from a route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param rule_name: The name of the rule. + :type rule_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [202, 200, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, route_filter_name, rule_name, custom_headers=None, raw=False, **operation_config): + """Gets the specified rule from a route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param rule_name: The name of the rule. + :type rule_name: str + :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`. + :return: :class:`RouteFilterRule + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`RouteFilterRule + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('RouteFilterRule', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a route in the specified route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param rule_name: The name of the route filter rule. + :type rule_name: str + :param route_filter_rule_parameters: Parameters supplied to the create + or update route filter rule operation. + :type route_filter_rule_parameters: :class:`RouteFilterRule + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`RouteFilterRule + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(route_filter_rule_parameters, 'RouteFilterRule') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('RouteFilterRule', response) + if response.status_code == 201: + deserialized = self._deserialize('RouteFilterRule', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def update( + self, resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers=None, raw=False, **operation_config): + """Updates a route in the specified route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param rule_name: The name of the route filter rule. + :type rule_name: str + :param route_filter_rule_parameters: Parameters supplied to the update + route filter rule operation. + :type route_filter_rule_parameters: :class:`PatchRouteFilterRule + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`RouteFilterRule + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(route_filter_rule_parameters, 'PatchRouteFilterRule') + + # Construct and send request + def long_running_send(): + + request = self._client.patch(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('RouteFilterRule', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list_by_route_filter( + self, resource_group_name, route_filter_name, custom_headers=None, raw=False, **operation_config): + """Gets all RouteFilterRules in a route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :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`. + :return: An iterator like instance of :class:`RouteFilterRule + ` + :rtype: :class:`RouteFilterRulePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.RouteFilterRulePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.RouteFilterRulePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/route_filters_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/route_filters_operations.py new file mode 100644 index 000000000000..62e7276b5554 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/route_filters_operations.py @@ -0,0 +1,513 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class RouteFiltersOperations(object): + """RouteFiltersOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def delete( + self, resource_group_name, route_filter_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [202, 200, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, route_filter_name, expand=None, custom_headers=None, raw=False, **operation_config): + """Gets the specified route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param expand: Expands referenced express route bgp peering resources. + :type expand: str + :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`. + :return: :class:`RouteFilter + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`RouteFilter + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('RouteFilter', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, route_filter_name, route_filter_parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a route filter in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param route_filter_parameters: Parameters supplied to the create or + update route filter operation. + :type route_filter_parameters: :class:`RouteFilter + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`RouteFilter + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(route_filter_parameters, 'RouteFilter') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('RouteFilter', response) + if response.status_code == 201: + deserialized = self._deserialize('RouteFilter', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def update( + self, resource_group_name, route_filter_name, route_filter_parameters, custom_headers=None, raw=False, **operation_config): + """Updates a route filter in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param route_filter_parameters: Parameters supplied to the update + route filter operation. + :type route_filter_parameters: :class:`PatchRouteFilter + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`RouteFilter + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(route_filter_parameters, 'PatchRouteFilter') + + # Construct and send request + def long_running_send(): + + request = self._client.patch(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('RouteFilter', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list_by_resource_group( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all route filters in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :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`. + :return: An iterator like instance of :class:`RouteFilter + ` + :rtype: :class:`RouteFilterPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.RouteFilterPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.RouteFilterPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def list( + self, custom_headers=None, raw=False, **operation_config): + """Gets all route filters in a subscription. + + :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`. + :return: An iterator like instance of :class:`RouteFilter + ` + :rtype: :class:`RouteFilterPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.RouteFilterPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.RouteFilterPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/route_tables_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/route_tables_operations.py new file mode 100644 index 000000000000..065f14007f07 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/route_tables_operations.py @@ -0,0 +1,417 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class RouteTablesOperations(object): + """RouteTablesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def delete( + self, resource_group_name, route_table_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [204, 200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, route_table_name, expand=None, custom_headers=None, raw=False, **operation_config): + """Gets the specified route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param expand: Expands referenced resources. + :type expand: str + :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`. + :return: :class:`RouteTable + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`RouteTable + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('RouteTable', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, route_table_name, parameters, custom_headers=None, raw=False, **operation_config): + """Create or updates a route table in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param parameters: Parameters supplied to the create or update route + table operation. + :type parameters: :class:`RouteTable + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`RouteTable + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'RouteTable') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('RouteTable', response) + if response.status_code == 201: + deserialized = self._deserialize('RouteTable', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all route tables in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :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`. + :return: An iterator like instance of :class:`RouteTable + ` + :rtype: :class:`RouteTablePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.RouteTablePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.RouteTablePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def list_all( + self, custom_headers=None, raw=False, **operation_config): + """Gets all route tables in a subscription. + + :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`. + :return: An iterator like instance of :class:`RouteTable + ` + :rtype: :class:`RouteTablePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.RouteTablePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.RouteTablePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/routes_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/routes_operations.py new file mode 100644 index 000000000000..71fb78505958 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/routes_operations.py @@ -0,0 +1,358 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class RoutesOperations(object): + """RoutesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def delete( + self, resource_group_name, route_table_name, route_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified route from a route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param route_name: The name of the route. + :type route_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'routeName': self._serialize.url("route_name", route_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [202, 200, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, route_table_name, route_name, custom_headers=None, raw=False, **operation_config): + """Gets the specified route from a route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param route_name: The name of the route. + :type route_name: str + :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`. + :return: :class:`Route ` + or :class:`ClientRawResponse` if + raw=true + :rtype: :class:`Route ` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'routeName': self._serialize.url("route_name", route_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Route', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, route_table_name, route_name, route_parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a route in the specified route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param route_name: The name of the route. + :type route_name: str + :param route_parameters: Parameters supplied to the create or update + route operation. + :type route_parameters: :class:`Route + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`Route + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'routeName': self._serialize.url("route_name", route_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(route_parameters, 'Route') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Route', response) + if response.status_code == 201: + deserialized = self._deserialize('Route', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list( + self, resource_group_name, route_table_name, custom_headers=None, raw=False, **operation_config): + """Gets all routes in a route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :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`. + :return: An iterator like instance of :class:`Route + ` + :rtype: :class:`RoutePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.RoutePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.RoutePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/security_rules_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/security_rules_operations.py new file mode 100644 index 000000000000..64998b863910 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/security_rules_operations.py @@ -0,0 +1,365 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class SecurityRulesOperations(object): + """SecurityRulesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def delete( + self, resource_group_name, network_security_group_name, security_rule_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified network security rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security + group. + :type network_security_group_name: str + :param security_rule_name: The name of the security rule. + :type security_rule_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'securityRuleName': self._serialize.url("security_rule_name", security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [204, 202, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, network_security_group_name, security_rule_name, custom_headers=None, raw=False, **operation_config): + """Get the specified network security rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security + group. + :type network_security_group_name: str + :param security_rule_name: The name of the security rule. + :type security_rule_name: str + :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`. + :return: :class:`SecurityRule + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`SecurityRule + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'securityRuleName': self._serialize.url("security_rule_name", security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('SecurityRule', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a security rule in the specified network security + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security + group. + :type network_security_group_name: str + :param security_rule_name: The name of the security rule. + :type security_rule_name: str + :param security_rule_parameters: Parameters supplied to the create or + update network security rule operation. + :type security_rule_parameters: :class:`SecurityRule + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`SecurityRule + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'securityRuleName': self._serialize.url("security_rule_name", security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(security_rule_parameters, 'SecurityRule') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('SecurityRule', response) + if response.status_code == 201: + deserialized = self._deserialize('SecurityRule', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list( + self, resource_group_name, network_security_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all security rules in a network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security + group. + :type network_security_group_name: str + :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`. + :return: An iterator like instance of :class:`SecurityRule + ` + :rtype: :class:`SecurityRulePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.SecurityRulePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.SecurityRulePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/subnets_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/subnets_operations.py new file mode 100644 index 000000000000..58f400e8035d --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/subnets_operations.py @@ -0,0 +1,363 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class SubnetsOperations(object): + """SubnetsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def delete( + self, resource_group_name, virtual_network_name, subnet_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified subnet. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 204, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, virtual_network_name, subnet_name, expand=None, custom_headers=None, raw=False, **operation_config): + """Gets the specified subnet by virtual network and resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :param expand: Expands referenced resources. + :type expand: str + :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`. + :return: :class:`Subnet + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`Subnet ` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Subnet', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a subnet in the specified virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :param subnet_parameters: Parameters supplied to the create or update + subnet operation. + :type subnet_parameters: :class:`Subnet + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`Subnet + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(subnet_parameters, 'Subnet') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Subnet', response) + if response.status_code == 201: + deserialized = self._deserialize('Subnet', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list( + self, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): + """Gets all subnets in a virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :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`. + :return: An iterator like instance of :class:`Subnet + ` + :rtype: :class:`SubnetPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.SubnetPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.SubnetPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/usages_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/usages_operations.py new file mode 100644 index 000000000000..55c7e64cd674 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/usages_operations.py @@ -0,0 +1,104 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class UsagesOperations(object): + """UsagesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def list( + self, location, custom_headers=None, raw=False, **operation_config): + """Lists compute usages for a subscription. + + :param location: The location where resource usage is queried. + :type location: str + :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`. + :return: An iterator like instance of :class:`Usage + ` + :rtype: :class:`UsagePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages' + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str', pattern=r'^[-\w\._]+$'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.UsagePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.UsagePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_network_gateway_connections_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_network_gateway_connections_operations.py new file mode 100644 index 000000000000..35264d1d36df --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_network_gateway_connections_operations.py @@ -0,0 +1,626 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class VirtualNetworkGatewayConnectionsOperations(object): + """VirtualNetworkGatewayConnectionsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def create_or_update( + self, resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a virtual network gateway connection in the + specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the + virtual network gateway connection. + :type virtual_network_gateway_connection_name: str + :param parameters: Parameters supplied to the create or update virtual + network gateway connection operation. + :type parameters: :class:`VirtualNetworkGatewayConnection + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`VirtualNetworkGatewayConnection + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'VirtualNetworkGatewayConnection') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGatewayConnection', response) + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetworkGatewayConnection', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, virtual_network_gateway_connection_name, custom_headers=None, raw=False, **operation_config): + """Gets the specified virtual network gateway connection by resource + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the + virtual network gateway connection. + :type virtual_network_gateway_connection_name: str + :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`. + :return: :class:`VirtualNetworkGatewayConnection + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: :class:`VirtualNetworkGatewayConnection + ` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGatewayConnection', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def delete( + self, resource_group_name, virtual_network_gateway_connection_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified virtual network Gateway connection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the + virtual network gateway connection. + :type virtual_network_gateway_connection_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def set_shared_key( + self, resource_group_name, virtual_network_gateway_connection_name, value, custom_headers=None, raw=False, **operation_config): + """The Put VirtualNetworkGatewayConnectionSharedKey operation sets the + virtual network gateway connection shared key for passed virtual + network gateway connection in the specified resource group through + Network resource provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The virtual network + gateway connection name. + :type virtual_network_gateway_connection_name: str + :param value: The virtual network connection shared key value. + :type value: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`ConnectionSharedKey + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + parameters = models.ConnectionSharedKey(value=value) + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'ConnectionSharedKey') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [201, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('ConnectionSharedKey', response) + if response.status_code == 200: + deserialized = self._deserialize('ConnectionSharedKey', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get_shared_key( + self, resource_group_name, virtual_network_gateway_connection_name, custom_headers=None, raw=False, **operation_config): + """The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves + information about the specified virtual network gateway connection + shared key through Network resource provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The virtual network + gateway connection shared key name. + :type virtual_network_gateway_connection_name: str + :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`. + :return: :class:`ConnectionSharedKey + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`ConnectionSharedKey + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ConnectionSharedKey', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def list( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """The List VirtualNetworkGatewayConnections operation retrieves all the + virtual network gateways connections created. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :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`. + :return: An iterator like instance of + :class:`VirtualNetworkGatewayConnection + ` + :rtype: :class:`VirtualNetworkGatewayConnectionPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.VirtualNetworkGatewayConnectionPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.VirtualNetworkGatewayConnectionPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def reset_shared_key( + self, resource_group_name, virtual_network_gateway_connection_name, key_length, custom_headers=None, raw=False, **operation_config): + """The VirtualNetworkGatewayConnectionResetSharedKey operation resets the + virtual network gateway connection shared key for passed virtual + network gateway connection in the specified resource group through + Network resource provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The virtual network + gateway connection reset shared key Name. + :type virtual_network_gateway_connection_name: str + :param key_length: The virtual network connection reset shared key + length, should between 1 and 128. + :type key_length: int + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`ConnectionResetSharedKey + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + parameters = models.ConnectionResetSharedKey(key_length=key_length) + + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'ConnectionResetSharedKey') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ConnectionResetSharedKey', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_network_gateways_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_network_gateways_operations.py new file mode 100644 index 000000000000..e4c6386421e9 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_network_gateways_operations.py @@ -0,0 +1,991 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class VirtualNetworkGatewaysOperations(object): + """VirtualNetworkGatewaysOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def create_or_update( + self, resource_group_name, virtual_network_gateway_name, parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a virtual network gateway in the specified resource + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network + gateway. + :type virtual_network_gateway_name: str + :param parameters: Parameters supplied to create or update virtual + network gateway operation. + :type parameters: :class:`VirtualNetworkGateway + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`VirtualNetworkGateway + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'VirtualNetworkGateway') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGateway', response) + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetworkGateway', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, virtual_network_gateway_name, custom_headers=None, raw=False, **operation_config): + """Gets the specified virtual network gateway by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network + gateway. + :type virtual_network_gateway_name: str + :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`. + :return: :class:`VirtualNetworkGateway + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`VirtualNetworkGateway + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGateway', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def delete( + self, resource_group_name, virtual_network_gateway_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified virtual network gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network + gateway. + :type virtual_network_gateway_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [204, 202, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all virtual network gateways by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :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`. + :return: An iterator like instance of :class:`VirtualNetworkGateway + ` + :rtype: :class:`VirtualNetworkGatewayPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.VirtualNetworkGatewayPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.VirtualNetworkGatewayPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def list_connections( + self, resource_group_name, virtual_network_gateway_name, custom_headers=None, raw=False, **operation_config): + """Gets all the connections in a virtual network gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network + gateway. + :type virtual_network_gateway_name: str + :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`. + :return: An iterator like instance of + :class:`VirtualNetworkGatewayConnectionListEntity + ` + :rtype: :class:`VirtualNetworkGatewayConnectionListEntityPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.VirtualNetworkGatewayConnectionListEntityPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.VirtualNetworkGatewayConnectionListEntityPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def reset( + self, resource_group_name, virtual_network_gateway_name, gateway_vip=None, custom_headers=None, raw=False, **operation_config): + """Resets the primary of the virtual network gateway in the specified + resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network + gateway. + :type virtual_network_gateway_name: str + :param gateway_vip: Virtual network gateway vip address supplied to + the begin reset of the active-active feature enabled gateway. + :type gateway_vip: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`VirtualNetworkGateway + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if gateway_vip is not None: + query_parameters['gatewayVip'] = self._serialize.query("gateway_vip", gateway_vip, 'str') + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [202, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGateway', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def generatevpnclientpackage( + self, resource_group_name, virtual_network_gateway_name, parameters, custom_headers=None, raw=False, **operation_config): + """Generates VPN client package for P2S client of the virtual network + gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network + gateway. + :type virtual_network_gateway_name: str + :param parameters: Parameters supplied to the generate virtual network + gateway VPN client package operation. + :type parameters: :class:`VpnClientParameters + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns str or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'VpnClientParameters') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('str', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def generate_vpn_profile( + self, resource_group_name, virtual_network_gateway_name, parameters, custom_headers=None, raw=False, **operation_config): + """Generates VPN profile for P2S client of the virtual network gateway in + the specified resource group. Used for IKEV2 and radius based + authentication. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network + gateway. + :type virtual_network_gateway_name: str + :param parameters: Parameters supplied to the generate virtual network + gateway VPN client package operation. + :type parameters: :class:`VpnClientParameters + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns str or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'VpnClientParameters') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('str', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get_bgp_peer_status( + self, resource_group_name, virtual_network_gateway_name, peer=None, custom_headers=None, raw=False, **operation_config): + """The GetBgpPeerStatus operation retrieves the status of all BGP peers. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network + gateway. + :type virtual_network_gateway_name: str + :param peer: The IP address of the peer to retrieve the status of. + :type peer: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`BgpPeerStatusListResult + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if peer is not None: + query_parameters['peer'] = self._serialize.query("peer", peer, 'str') + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('BgpPeerStatusListResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get_learned_routes( + self, resource_group_name, virtual_network_gateway_name, custom_headers=None, raw=False, **operation_config): + """This operation retrieves a list of routes the virtual network gateway + has learned, including routes learned from BGP peers. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network + gateway. + :type virtual_network_gateway_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`GatewayRouteListResult + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('GatewayRouteListResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get_advertised_routes( + self, resource_group_name, virtual_network_gateway_name, peer, custom_headers=None, raw=False, **operation_config): + """This operation retrieves a list of routes the virtual network gateway + is advertising to the specified peer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network + gateway. + :type virtual_network_gateway_name: str + :param peer: The IP address of the peer + :type peer: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`GatewayRouteListResult + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['peer'] = self._serialize.query("peer", peer, 'str') + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.post(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('GatewayRouteListResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_network_peerings_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_network_peerings_operations.py new file mode 100644 index 000000000000..9d4656da61c5 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_network_peerings_operations.py @@ -0,0 +1,363 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class VirtualNetworkPeeringsOperations(object): + """VirtualNetworkPeeringsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def delete( + self, resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified virtual network peering. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param virtual_network_peering_name: The name of the virtual network + peering. + :type virtual_network_peering_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'virtualNetworkPeeringName': self._serialize.url("virtual_network_peering_name", virtual_network_peering_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 204, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers=None, raw=False, **operation_config): + """Gets the specified virtual network peering. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param virtual_network_peering_name: The name of the virtual network + peering. + :type virtual_network_peering_name: str + :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`. + :return: :class:`VirtualNetworkPeering + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`VirtualNetworkPeering + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'virtualNetworkPeeringName': self._serialize.url("virtual_network_peering_name", virtual_network_peering_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkPeering', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a peering in the specified virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param virtual_network_peering_name: The name of the peering. + :type virtual_network_peering_name: str + :param virtual_network_peering_parameters: Parameters supplied to the + create or update virtual network peering operation. + :type virtual_network_peering_parameters: + :class:`VirtualNetworkPeering + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`VirtualNetworkPeering + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'virtualNetworkPeeringName': self._serialize.url("virtual_network_peering_name", virtual_network_peering_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(virtual_network_peering_parameters, 'VirtualNetworkPeering') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkPeering', response) + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetworkPeering', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list( + self, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): + """Gets all virtual network peerings in a virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :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`. + :return: An iterator like instance of :class:`VirtualNetworkPeering + ` + :rtype: :class:`VirtualNetworkPeeringPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.VirtualNetworkPeeringPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.VirtualNetworkPeeringPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_networks_operations.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_networks_operations.py new file mode 100644 index 000000000000..0fdf9b762bdb --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/virtual_networks_operations.py @@ -0,0 +1,557 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class VirtualNetworksOperations(object): + """VirtualNetworksOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An objec model deserializer. + :ivar api_version: Client API version. Constant value: "2017-08-01". + """ + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-01" + + self.config = config + + def delete( + self, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): + """Deletes the specified virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns None or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + def long_running_send(): + + request = self._client.delete(url, query_parameters) + return self._client.send(request, header_parameters, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [202, 204, 200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def get( + self, resource_group_name, virtual_network_name, expand=None, custom_headers=None, raw=False, **operation_config): + """Gets the specified virtual network by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param expand: Expands referenced resources. + :type expand: str + :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`. + :return: :class:`VirtualNetwork + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: :class:`VirtualNetwork + ` or + :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetwork', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, virtual_network_name, parameters, custom_headers=None, raw=False, **operation_config): + """Creates or updates a virtual network in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param parameters: Parameters supplied to the create or update virtual + network operation + :type parameters: :class:`VirtualNetwork + ` + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: + :class:`AzureOperationPoller` + instance that returns :class:`VirtualNetwork + ` or + :class:`ClientRawResponse` if + raw=true + :rtype: + :class:`AzureOperationPoller` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'VirtualNetwork') + + # Construct and send request + def long_running_send(): + + request = self._client.put(url, query_parameters) + return self._client.send( + request, header_parameters, body_content, **operation_config) + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + return self._client.send( + request, header_parameters, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetwork', response) + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetwork', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + if raw: + response = long_running_send() + return get_long_running_output(response) + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + + def list_all( + self, custom_headers=None, raw=False, **operation_config): + """Gets all virtual networks in a subscription. + + :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`. + :return: An iterator like instance of :class:`VirtualNetwork + ` + :rtype: :class:`VirtualNetworkPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks' + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.VirtualNetworkPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.VirtualNetworkPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def list( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all virtual networks in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :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`. + :return: An iterator like instance of :class:`VirtualNetwork + ` + :rtype: :class:`VirtualNetworkPaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.VirtualNetworkPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.VirtualNetworkPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + + def check_ip_address_availability( + self, resource_group_name, virtual_network_name, ip_address=None, custom_headers=None, raw=False, **operation_config): + """Checks whether a private IP address is available for use. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param ip_address: The private IP address to be verified. + :type ip_address: str + :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`. + :return: :class:`IPAddressAvailabilityResult + ` + or :class:`ClientRawResponse` if + raw=true + :rtype: :class:`IPAddressAvailabilityResult + ` + or :class:`ClientRawResponse` + :raises: :class:`CloudError` + """ + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if ip_address is not None: + query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('IPAddressAvailabilityResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def list_usage( + self, resource_group_name, virtual_network_name, custom_headers=None, raw=False, **operation_config): + """Lists usage stats. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :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`. + :return: An iterator like instance of :class:`VirtualNetworkUsage + ` + :rtype: :class:`VirtualNetworkUsagePaged + ` + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages' + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.VirtualNetworkUsagePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.VirtualNetworkUsagePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized diff --git a/azure-mgmt-network/azure/mgmt/network/v2017_08_01/version.py b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/version.py new file mode 100644 index 000000000000..53a203f32aaf --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2017_08_01/version.py @@ -0,0 +1,13 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +VERSION = "" + diff --git a/azure-mgmt-network/azure/mgmt/network/version.py b/azure-mgmt-network/azure/mgmt/network/version.py index 72259dc5004b..b4fd9d564ad5 100644 --- a/azure-mgmt-network/azure/mgmt/network/version.py +++ b/azure-mgmt-network/azure/mgmt/network/version.py @@ -5,4 +5,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "1.3.0" +VERSION = "1.4.0a1" diff --git a/azure-mgmt/tests/recordings/test_mgmt_network.test_dns_availability.yaml b/azure-mgmt/tests/recordings/test_mgmt_network.test_dns_availability.yaml index a266da543c45..c9eb875247e9 100644 --- a/azure-mgmt/tests/recordings/test_mgmt_network.test_dns_availability.yaml +++ b/azure-mgmt/tests/recordings/test_mgmt_network.test_dns_availability.yaml @@ -6,18 +6,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/ Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/ Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [bd99a842-5b52-11e7-976f-ecb1d756380e] + x-ms-client-request-id: [63c78682-8794-11e7-b43a-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/CheckDnsNameAvailability?api-version=2017-06-01&domainNameLabel=pydomain + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/CheckDnsNameAvailability?domainNameLabel=pydomain&api-version=2017-08-01 response: body: {string: "{\r\n \"available\": true\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:38 GMT'] + Date: ['Tue, 22 Aug 2017 23:48:26 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -25,9 +25,9 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['25'] - x-ms-correlation-request-id: [4ab2ee4e-0c12-4e65-9b42-307c45801e4d] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [399da0a6-0d08-4da8-a9b3-4ea5685235f4] - x-ms-routing-request-id: ['WESTUS:20170627T160739Z:4ab2ee4e-0c12-4e65-9b42-307c45801e4d'] + x-ms-correlation-request-id: [d730fc1d-fe78-4e1c-8f8c-14314da27b6f] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [5a8cf477-3f18-4a91-8bd2-3ea9cab9cbd9] + x-ms-routing-request-id: ['WESTUS2:20170822T234826Z:d730fc1d-fe78-4e1c-8f8c-14314da27b6f'] status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt/tests/recordings/test_mgmt_network.test_express_route_circuit.yaml b/azure-mgmt/tests/recordings/test_mgmt_network.test_express_route_circuit.yaml index 2f175146292b..f97d170a7bd6 100644 --- a/azure-mgmt/tests/recordings/test_mgmt_network.test_express_route_circuit.yaml +++ b/azure-mgmt/tests/recordings/test_mgmt_network.test_express_route_circuit.yaml @@ -1,27 +1,27 @@ interactions: - request: - body: '{"sku": {"name": "Standard_MeteredData", "tier": "Standard", "family": - "MeteredData"}, "properties": {"serviceProviderProperties": {"bandwidthInMbps": - 100, "peeringLocation": "Chicago", "serviceProviderName": "Comcast"}}, "location": - "westus"}' + body: '{"sku": {"tier": "Standard", "name": "Standard_MeteredData", "family": + "MeteredData"}, "location": "westus", "properties": {"serviceProviderProperties": + {"serviceProviderName": "Comcast", "peeringLocation": "Chicago", "bandwidthInMbps": + 100}}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['243'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [82a376b8-5b57-11e7-a4b7-ecb1d756380e] + x-ms-client-request-id: [67e85ede-8794-11e7-b690-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyexpressroute9edf1275\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275\",\r\n - \ \"etag\": \"W/\\\"3867c310-3001-4297-a798-d0b6aee75180\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"00b4c044-de95-4861-80d1-f3c06b9f56f6\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"26eae318-a796-4d56-ba51-e5363b68d501\",\r\n \"peerings\": [],\r\n \"authorizations\": + \"34bb10a2-46b3-4580-ac69-1b872376e4bf\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"Comcast\",\r\n \"peeringLocation\": \"Chicago\",\r\n \"bandwidthInMbps\": 100\r\n },\r\n \"circuitProvisioningState\": \"Disabled\",\r\n \"allowClassicOperations\": @@ -30,20 +30,20 @@ interactions: {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \ \"family\": \"MeteredData\"\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c071acbb-80fb-4505-9d5f-79d105ad316d?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/0cd08a12-5860-43b7-9504-e4953b433017?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['1012'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:41:47 GMT'] + Date: ['Tue, 22 Aug 2017 23:48:32 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [1c0c63b6-fac7-47c6-86ec-203fce3c295c] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - x-ms-request-id: [c071acbb-80fb-4505-9d5f-79d105ad316d] - x-ms-routing-request-id: ['WESTUS2:20170627T164148Z:1c0c63b6-fac7-47c6-86ec-203fce3c295c'] + x-ms-correlation-request-id: [75ac6fba-d3ed-49b3-b71a-8230aa780d0a] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-request-id: [0cd08a12-5860-43b7-9504-e4953b433017] + x-ms-routing-request-id: ['WESTUS:20170822T234833Z:75ac6fba-d3ed-49b3-b71a-8230aa780d0a'] status: {code: 201, message: Created} - request: body: null @@ -52,18 +52,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [82a376b8-5b57-11e7-a4b7-ecb1d756380e] + x-ms-client-request-id: [67e85ede-8794-11e7-b690-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c071acbb-80fb-4505-9d5f-79d105ad316d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/0cd08a12-5860-43b7-9504-e4953b433017?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:41:58 GMT'] + Date: ['Tue, 22 Aug 2017 23:48:43 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -72,10 +72,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [21bea717-abef-4e18-bf9b-aaa7b65e3b4a] - x-ms-ratelimit-remaining-subscription-reads: ['14991'] - x-ms-request-id: [a7c8943b-2add-418e-918e-dd87e52de292] - x-ms-routing-request-id: ['WESTUS2:20170627T164158Z:21bea717-abef-4e18-bf9b-aaa7b65e3b4a'] + x-ms-correlation-request-id: [e4b479ff-ecee-4dda-a53a-d7108cf1f676] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [e563340e-9990-4a84-bac6-c7510cee3b36] + x-ms-routing-request-id: ['WESTUS:20170822T234844Z:e4b479ff-ecee-4dda-a53a-d7108cf1f676'] status: {code: 200, message: OK} - request: body: null @@ -84,18 +84,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [82a376b8-5b57-11e7-a4b7-ecb1d756380e] + x-ms-client-request-id: [67e85ede-8794-11e7-b690-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c071acbb-80fb-4505-9d5f-79d105ad316d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/0cd08a12-5860-43b7-9504-e4953b433017?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:42:07 GMT'] + Date: ['Tue, 22 Aug 2017 23:48:54 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -104,10 +104,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [10d2ad99-9bd7-4577-8736-44496c4f4a4d] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [704476ed-6c16-47df-99dd-5b3523b1314c] - x-ms-routing-request-id: ['WESTUS2:20170627T164208Z:10d2ad99-9bd7-4577-8736-44496c4f4a4d'] + x-ms-correlation-request-id: [65271fe1-19b0-4b07-b782-1c8a21e450cc] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [08187d10-832d-401d-b474-2d76874003f1] + x-ms-routing-request-id: ['WESTUS:20170822T234854Z:65271fe1-19b0-4b07-b782-1c8a21e450cc'] status: {code: 200, message: OK} - request: body: null @@ -116,18 +116,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [82a376b8-5b57-11e7-a4b7-ecb1d756380e] + x-ms-client-request-id: [67e85ede-8794-11e7-b690-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c071acbb-80fb-4505-9d5f-79d105ad316d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/0cd08a12-5860-43b7-9504-e4953b433017?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:42:18 GMT'] + Date: ['Tue, 22 Aug 2017 23:49:04 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -136,10 +136,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [d80dfe24-bbb1-4ef1-8a24-63b11e80ca2a] - x-ms-ratelimit-remaining-subscription-reads: ['14990'] - x-ms-request-id: [99bc9f15-6151-4861-883e-07127ae7c24a] - x-ms-routing-request-id: ['WESTUS2:20170627T164218Z:d80dfe24-bbb1-4ef1-8a24-63b11e80ca2a'] + x-ms-correlation-request-id: [f77c925e-3ca4-4844-a86d-d81469575647] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [30ab4414-7d6b-44c5-aff1-9f72ea6d36ca] + x-ms-routing-request-id: ['WESTUS:20170822T234905Z:f77c925e-3ca4-4844-a86d-d81469575647'] status: {code: 200, message: OK} - request: body: null @@ -148,18 +148,50 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [82a376b8-5b57-11e7-a4b7-ecb1d756380e] + x-ms-client-request-id: [67e85ede-8794-11e7-b690-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c071acbb-80fb-4505-9d5f-79d105ad316d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/0cd08a12-5860-43b7-9504-e4953b433017?api-version=2017-08-01 + response: + body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} + headers: + Cache-Control: [no-cache] + Content-Type: [application/json; charset=utf-8] + Date: ['Tue, 22 Aug 2017 23:49:15 GMT'] + Expires: ['-1'] + Pragma: [no-cache] + Retry-After: ['0'] + Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + Strict-Transport-Security: [max-age=31536000; includeSubDomains] + Transfer-Encoding: [chunked] + Vary: [Accept-Encoding] + content-length: ['30'] + x-ms-correlation-request-id: [a7f37dc1-a6b4-44bd-829d-85e37f262c67] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [5d629423-a076-4d9f-94e0-9e4bee36e241] + x-ms-routing-request-id: ['WESTUS:20170822T234916Z:a7f37dc1-a6b4-44bd-829d-85e37f262c67'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] + accept-language: [en-US] + x-ms-client-request-id: [67e85ede-8794-11e7-b690-ecb1d756380e] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/0cd08a12-5860-43b7-9504-e4953b433017?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:42:28 GMT'] + Date: ['Tue, 22 Aug 2017 23:49:25 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -167,10 +199,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [5ea9f2d0-af57-4db9-bc1d-c60e851d7b0c] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [496eb629-ce61-4adc-a65a-f518c5b99cdb] - x-ms-routing-request-id: ['WESTUS2:20170627T164229Z:5ea9f2d0-af57-4db9-bc1d-c60e851d7b0c'] + x-ms-correlation-request-id: [3be23751-ee56-4c51-b9f9-d862e64f6151] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [5acaae4b-4e9d-4cf5-ba05-0fa8e5c9c0e9] + x-ms-routing-request-id: ['WESTUS:20170822T234926Z:3be23751-ee56-4c51-b9f9-d862e64f6151'] status: {code: 200, message: OK} - request: body: null @@ -179,29 +211,29 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [82a376b8-5b57-11e7-a4b7-ecb1d756380e] + x-ms-client-request-id: [67e85ede-8794-11e7-b690-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyexpressroute9edf1275\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275\",\r\n - \ \"etag\": \"W/\\\"040c7745-0aa7-44da-bb6a-23417d2cea86\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"56ffb7ad-613b-4968-9fd1-2e01acfbf881\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"26eae318-a796-4d56-ba51-e5363b68d501\",\r\n \"peerings\": [],\r\n \"authorizations\": + \"34bb10a2-46b3-4580-ac69-1b872376e4bf\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"Comcast\",\r\n \"peeringLocation\": \"Chicago\",\r\n \"bandwidthInMbps\": 100\r\n },\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\": - false,\r\n \"gatewayManagerEtag\": \"\",\r\n \"serviceKey\": \"e73e40a8-73db-4b01-82e9-def56d0d2357\",\r\n + false,\r\n \"gatewayManagerEtag\": \"\",\r\n \"serviceKey\": \"87deb103-6a7f-4b18-80fb-b7880acb7b8e\",\r\n \ \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \ \"family\": \"MeteredData\"\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:42:29 GMT'] + Date: ['Tue, 22 Aug 2017 23:49:27 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -209,10 +241,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['1043'] - x-ms-correlation-request-id: [48661610-114e-4bc9-b88f-13f3d08b8a8b] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [52aa5190-aba7-41f5-9239-ab737bd9e4d8] - x-ms-routing-request-id: ['WESTUS2:20170627T164229Z:48661610-114e-4bc9-b88f-13f3d08b8a8b'] + x-ms-correlation-request-id: [b8f003a8-c554-4211-ae49-2ddce6483a10] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [3ee5fb5f-2a25-4959-a70c-e5a68f7dd2c8] + x-ms-routing-request-id: ['WESTUS:20170822T234927Z:b8f003a8-c554-4211-ae49-2ddce6483a10'] status: {code: 200, message: OK} - request: body: null @@ -221,29 +253,29 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [9c40dbd2-5b57-11e7-9790-ecb1d756380e] + x-ms-client-request-id: [88c893e2-8794-11e7-85f0-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyexpressroute9edf1275\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275\",\r\n - \ \"etag\": \"W/\\\"040c7745-0aa7-44da-bb6a-23417d2cea86\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"56ffb7ad-613b-4968-9fd1-2e01acfbf881\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"26eae318-a796-4d56-ba51-e5363b68d501\",\r\n \"peerings\": [],\r\n \"authorizations\": + \"34bb10a2-46b3-4580-ac69-1b872376e4bf\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"Comcast\",\r\n \"peeringLocation\": \"Chicago\",\r\n \"bandwidthInMbps\": 100\r\n },\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\": - false,\r\n \"gatewayManagerEtag\": \"\",\r\n \"serviceKey\": \"e73e40a8-73db-4b01-82e9-def56d0d2357\",\r\n + false,\r\n \"gatewayManagerEtag\": \"\",\r\n \"serviceKey\": \"87deb103-6a7f-4b18-80fb-b7880acb7b8e\",\r\n \ \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \ \"family\": \"MeteredData\"\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:42:29 GMT'] + Date: ['Tue, 22 Aug 2017 23:49:27 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -251,10 +283,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['1043'] - x-ms-correlation-request-id: [438b37ca-d23c-4f23-b7f9-3d4f72878ef7] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [1fbcb4a2-0f48-425c-89b1-bfd40760646c] - x-ms-routing-request-id: ['WESTUS2:20170627T164230Z:438b37ca-d23c-4f23-b7f9-3d4f72878ef7'] + x-ms-correlation-request-id: [efae1b04-cdb2-4ba3-9cc6-39519058263c] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [0c68da96-9606-4d42-92d4-69940acfec8e] + x-ms-routing-request-id: ['WESTUS:20170822T234928Z:efae1b04-cdb2-4ba3-9cc6-39519058263c'] status: {code: 200, message: OK} - request: body: null @@ -263,31 +295,31 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [9c9beb94-5b57-11e7-8044-ecb1d756380e] + x-ms-client-request-id: [8948788a-8794-11e7-a87a-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pyexpressroute9edf1275\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275\",\r\n - \ \"etag\": \"W/\\\"040c7745-0aa7-44da-bb6a-23417d2cea86\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"56ffb7ad-613b-4968-9fd1-2e01acfbf881\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"26eae318-a796-4d56-ba51-e5363b68d501\",\r\n \"peerings\": + \ \"resourceGuid\": \"34bb10a2-46b3-4580-ac69-1b872376e4bf\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"Comcast\",\r\n \"peeringLocation\": \"Chicago\",\r\n \"bandwidthInMbps\": 100\r\n },\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\": false,\r\n \"serviceKey\": - \"e73e40a8-73db-4b01-82e9-def56d0d2357\",\r\n \"serviceProviderProvisioningState\": + \"87deb103-6a7f-4b18-80fb-b7880acb7b8e\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \ \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n \ }\r\n }\r\n ]\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:42:30 GMT'] + Date: ['Tue, 22 Aug 2017 23:49:29 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -295,10 +327,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['1145'] - x-ms-correlation-request-id: [113c77c3-369f-4a39-95f1-92d204760454] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [69654080-0b2e-4bef-83c9-0e223df59030] - x-ms-routing-request-id: ['WESTUS2:20170627T164230Z:113c77c3-369f-4a39-95f1-92d204760454'] + x-ms-correlation-request-id: [88324d51-dbb1-4a8e-b249-f475474336c6] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [4645d5ee-b49f-4521-ba5c-e94280b649c2] + x-ms-routing-request-id: ['WESTUS:20170822T234929Z:88324d51-dbb1-4a8e-b249-f475474336c6'] status: {code: 200, message: OK} - request: body: null @@ -307,31 +339,31 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [9cdc257a-5b57-11e7-b9ff-ecb1d756380e] + x-ms-client-request-id: [89d495d0-8794-11e7-8d3e-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/expressRouteCircuits?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/expressRouteCircuits?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pyexpressroute9edf1275\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275\",\r\n - \ \"etag\": \"W/\\\"040c7745-0aa7-44da-bb6a-23417d2cea86\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"56ffb7ad-613b-4968-9fd1-2e01acfbf881\\\"\",\r\n \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"26eae318-a796-4d56-ba51-e5363b68d501\",\r\n \"peerings\": + \ \"resourceGuid\": \"34bb10a2-46b3-4580-ac69-1b872376e4bf\",\r\n \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": \"Comcast\",\r\n \"peeringLocation\": \"Chicago\",\r\n \"bandwidthInMbps\": 100\r\n },\r\n \"circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\": false,\r\n \"serviceKey\": - \"e73e40a8-73db-4b01-82e9-def56d0d2357\",\r\n \"serviceProviderProvisioningState\": + \"87deb103-6a7f-4b18-80fb-b7880acb7b8e\",\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \ \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n \ }\r\n }\r\n ]\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:42:30 GMT'] + Date: ['Tue, 22 Aug 2017 23:49:29 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -339,10 +371,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['1145'] - x-ms-correlation-request-id: [0e585e6f-1ef4-405e-8096-8cc2da142105] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [fbea2d39-3ac7-4b95-8994-160b00152483] - x-ms-routing-request-id: ['WESTUS2:20170627T164231Z:0e585e6f-1ef4-405e-8096-8cc2da142105'] + x-ms-correlation-request-id: [15477766-3047-44b8-bf9b-0c3611cd6b4e] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [c8e93fda-08fc-4b39-b439-4e3808e893d7] + x-ms-routing-request-id: ['WESTUS:20170822T234930Z:15477766-3047-44b8-bf9b-0c3611cd6b4e'] status: {code: 200, message: OK} - request: body: null @@ -351,19 +383,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [9d336f40-5b57-11e7-bf4a-ecb1d756380e] + x-ms-client-request-id: [8a4e1f5a-8794-11e7-96e9-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/stats?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/stats?api-version=2017-08-01 response: body: {string: "{\r\n \"primaryBytesIn\": 0,\r\n \"primaryBytesOut\": 0,\r\n \ \"secondaryBytesIn\": 0,\r\n \"secondaryBytesOut\": 0\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:42:31 GMT'] + Date: ['Tue, 22 Aug 2017 23:49:30 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -371,50 +403,50 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['105'] - x-ms-correlation-request-id: [5cc3aabe-9c69-43df-b11a-ed6c7a0dce17] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [f5eebf10-1b09-46a4-8010-cfc9e8853815] - x-ms-routing-request-id: ['WESTUS2:20170627T164232Z:5cc3aabe-9c69-43df-b11a-ed6c7a0dce17'] + x-ms-correlation-request-id: [62a53a36-5fc8-40a6-8d41-6a395d701cd2] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [4539fec6-b4b6-47da-832e-130e929dfbd3] + x-ms-routing-request-id: ['WESTUS:20170822T234930Z:62a53a36-5fc8-40a6-8d41-6a395d701cd2'] status: {code: 200, message: OK} - request: - body: '{"properties": {"vlanId": 200, "primaryPeerAddressPrefix": "192.168.1.0/30", - "peeringType": "AzurePublicPeering", "secondaryPeerAddressPrefix": "192.168.2.0/30", - "peerASN": 100}}' + body: '{"properties": {"secondaryPeerAddressPrefix": "192.168.2.0/30", "peeringType": + "AzurePublicPeering", "primaryPeerAddressPrefix": "192.168.1.0/30", "peerASN": + 100, "vlanId": 200}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['178'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [9da87980-5b57-11e7-acd6-ecb1d756380e] + x-ms-client-request-id: [8abd7b7a-8794-11e7-96bf-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings/AzurePublicPeering?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings/AzurePublicPeering?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"AzurePublicPeering\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings/AzurePublicPeering\",\r\n - \ \"etag\": \"W/\\\"af565dbf-2b6d-4ef8-8dc2-665b9c1297e9\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"f9a90432-a06e-475a-a21a-43b90cd08c68\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"peeringType\": \"AzurePublicPeering\",\r\n \ \"azureASN\": 0,\r\n \"peerASN\": 100,\r\n \"primaryPeerAddressPrefix\": \"192.168.1.0/30\",\r\n \"secondaryPeerAddressPrefix\": \"192.168.2.0/30\",\r\n \ \"state\": \"Disabled\",\r\n \"vlanId\": 200,\r\n \"lastModifiedBy\": \"\"\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/641ccb19-0f16-4bbe-8f6c-c5c46ac2b19a?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a7bf7dc-7659-4a78-b692-70236f6965ee?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['647'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:42:32 GMT'] + Date: ['Tue, 22 Aug 2017 23:49:32 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [362db548-5b8d-4863-9919-4961fba03439] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [641ccb19-0f16-4bbe-8f6c-c5c46ac2b19a] - x-ms-routing-request-id: ['WESTUS2:20170627T164233Z:362db548-5b8d-4863-9919-4961fba03439'] + x-ms-correlation-request-id: [154ff9c1-6516-432c-a77c-5c73e5325d0c] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-request-id: [6a7bf7dc-7659-4a78-b692-70236f6965ee] + x-ms-routing-request-id: ['WESTUS:20170822T234932Z:154ff9c1-6516-432c-a77c-5c73e5325d0c'] status: {code: 201, message: Created} - request: body: null @@ -423,18 +455,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [9da87980-5b57-11e7-acd6-ecb1d756380e] + x-ms-client-request-id: [8abd7b7a-8794-11e7-96bf-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/641ccb19-0f16-4bbe-8f6c-c5c46ac2b19a?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a7bf7dc-7659-4a78-b692-70236f6965ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:42:42 GMT'] + Date: ['Tue, 22 Aug 2017 23:49:42 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -443,10 +475,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [ba9bb423-1034-4c69-a56f-cef1ff7748b6] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [4b41365b-ef12-4101-b34e-61f733931e61] - x-ms-routing-request-id: ['WESTUS2:20170627T164243Z:ba9bb423-1034-4c69-a56f-cef1ff7748b6'] + x-ms-correlation-request-id: [24463201-ae7c-41ba-ab22-265fb6737053] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [dd655790-7d5c-4074-8562-794c6fccc6b4] + x-ms-routing-request-id: ['WESTUS:20170822T234942Z:24463201-ae7c-41ba-ab22-265fb6737053'] status: {code: 200, message: OK} - request: body: null @@ -455,18 +487,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [9da87980-5b57-11e7-acd6-ecb1d756380e] + x-ms-client-request-id: [8abd7b7a-8794-11e7-96bf-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/641ccb19-0f16-4bbe-8f6c-c5c46ac2b19a?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a7bf7dc-7659-4a78-b692-70236f6965ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:42:53 GMT'] + Date: ['Tue, 22 Aug 2017 23:49:52 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -475,10 +507,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [128af2e5-f590-455a-9a8b-568459da4af7] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [a678a9b5-16e0-4cc6-b6cb-85da85c90f60] - x-ms-routing-request-id: ['WESTUS2:20170627T164253Z:128af2e5-f590-455a-9a8b-568459da4af7'] + x-ms-correlation-request-id: [72dedf2c-9030-415d-a0d1-a50cd0d40b75] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [451aa054-e15c-4563-a63a-dce7c82c330c] + x-ms-routing-request-id: ['WESTUS:20170822T234953Z:72dedf2c-9030-415d-a0d1-a50cd0d40b75'] status: {code: 200, message: OK} - request: body: null @@ -487,18 +519,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [9da87980-5b57-11e7-acd6-ecb1d756380e] + x-ms-client-request-id: [8abd7b7a-8794-11e7-96bf-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/641ccb19-0f16-4bbe-8f6c-c5c46ac2b19a?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a7bf7dc-7659-4a78-b692-70236f6965ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:43:04 GMT'] + Date: ['Tue, 22 Aug 2017 23:50:03 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -507,10 +539,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [2ae8a9db-aa44-486a-913f-41cfc456dc60] - x-ms-ratelimit-remaining-subscription-reads: ['14990'] - x-ms-request-id: [2f43def6-eda8-4561-9869-3bb64edbad14] - x-ms-routing-request-id: ['WESTUS2:20170627T164304Z:2ae8a9db-aa44-486a-913f-41cfc456dc60'] + x-ms-correlation-request-id: [6a8fa15c-1c4a-4d55-b018-5a7895c0b622] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [e007d9d7-2515-4bcd-8f60-bf6b101c3386] + x-ms-routing-request-id: ['WESTUS:20170822T235003Z:6a8fa15c-1c4a-4d55-b018-5a7895c0b622'] status: {code: 200, message: OK} - request: body: null @@ -519,18 +551,82 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [9da87980-5b57-11e7-acd6-ecb1d756380e] + x-ms-client-request-id: [8abd7b7a-8794-11e7-96bf-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/641ccb19-0f16-4bbe-8f6c-c5c46ac2b19a?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a7bf7dc-7659-4a78-b692-70236f6965ee?api-version=2017-08-01 + response: + body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} + headers: + Cache-Control: [no-cache] + Content-Type: [application/json; charset=utf-8] + Date: ['Tue, 22 Aug 2017 23:50:14 GMT'] + Expires: ['-1'] + Pragma: [no-cache] + Retry-After: ['0'] + Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + Strict-Transport-Security: [max-age=31536000; includeSubDomains] + Transfer-Encoding: [chunked] + Vary: [Accept-Encoding] + content-length: ['30'] + x-ms-correlation-request-id: [fe829864-3617-4293-889e-23cf8ae953c6] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [9a94f7aa-0b9f-438c-a75a-95616d6600e6] + x-ms-routing-request-id: ['WESTUS:20170822T235014Z:fe829864-3617-4293-889e-23cf8ae953c6'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] + accept-language: [en-US] + x-ms-client-request-id: [8abd7b7a-8794-11e7-96bf-ecb1d756380e] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a7bf7dc-7659-4a78-b692-70236f6965ee?api-version=2017-08-01 + response: + body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} + headers: + Cache-Control: [no-cache] + Content-Type: [application/json; charset=utf-8] + Date: ['Tue, 22 Aug 2017 23:50:24 GMT'] + Expires: ['-1'] + Pragma: [no-cache] + Retry-After: ['0'] + Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + Strict-Transport-Security: [max-age=31536000; includeSubDomains] + Transfer-Encoding: [chunked] + Vary: [Accept-Encoding] + content-length: ['30'] + x-ms-correlation-request-id: [4dd8e265-5f2d-4d48-a28c-f93e30ec532b] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [83beccf0-8978-4724-900c-1213fccadb7d] + x-ms-routing-request-id: ['WESTUS:20170822T235024Z:4dd8e265-5f2d-4d48-a28c-f93e30ec532b'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] + accept-language: [en-US] + x-ms-client-request-id: [8abd7b7a-8794-11e7-96bf-ecb1d756380e] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a7bf7dc-7659-4a78-b692-70236f6965ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:43:14 GMT'] + Date: ['Tue, 22 Aug 2017 23:50:35 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -538,10 +634,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [9f38da54-6dff-4864-976c-91f2aca13710] - x-ms-ratelimit-remaining-subscription-reads: ['14989'] - x-ms-request-id: [b67e80fd-4b2c-49bc-ac08-bd2881c9198a] - x-ms-routing-request-id: ['WESTUS2:20170627T164314Z:9f38da54-6dff-4864-976c-91f2aca13710'] + x-ms-correlation-request-id: [b758fe28-0c89-42ec-9a1a-7713715f86f4] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [d0ff1616-c1be-49ba-88f7-6d0381bf87a7] + x-ms-routing-request-id: ['WESTUS2:20170822T235035Z:b758fe28-0c89-42ec-9a1a-7713715f86f4'] status: {code: 200, message: OK} - request: body: null @@ -550,15 +646,15 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [9da87980-5b57-11e7-acd6-ecb1d756380e] + x-ms-client-request-id: [8abd7b7a-8794-11e7-96bf-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings/AzurePublicPeering?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings/AzurePublicPeering?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"AzurePublicPeering\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings/AzurePublicPeering\",\r\n - \ \"etag\": \"W/\\\"1062e992-7eee-426a-9ad8-26d58f258688\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"d691d164-d2eb-42bc-82a8-35a3d637e317\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringType\": \"AzurePublicPeering\",\r\n \ \"azureASN\": 12076,\r\n \"peerASN\": 100,\r\n \"primaryPeerAddressPrefix\": \"192.168.1.0/30\",\r\n \"secondaryPeerAddressPrefix\": \"192.168.2.0/30\",\r\n @@ -569,7 +665,7 @@ interactions: headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:43:14 GMT'] + Date: ['Tue, 22 Aug 2017 23:50:35 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -577,10 +673,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['802'] - x-ms-correlation-request-id: [8d61285d-f0d7-457c-990d-8674d8065adc] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [4a6661fe-9b1c-4ee1-b397-da7b7cb4afd6] - x-ms-routing-request-id: ['WESTUS2:20170627T164315Z:8d61285d-f0d7-457c-990d-8674d8065adc'] + x-ms-correlation-request-id: [9870dcfc-f221-4122-8f6e-8d7d3c1f133f] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [62c3fa53-3dc2-43ea-b501-3f2575098ffa] + x-ms-routing-request-id: ['WESTUS2:20170822T235036Z:9870dcfc-f221-4122-8f6e-8d7d3c1f133f'] status: {code: 200, message: OK} - request: body: null @@ -589,15 +685,15 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [b74548dc-5b57-11e7-8cf0-ecb1d756380e] + x-ms-client-request-id: [b1e22414-8794-11e7-b84c-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings/AzurePublicPeering?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings/AzurePublicPeering?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"AzurePublicPeering\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings/AzurePublicPeering\",\r\n - \ \"etag\": \"W/\\\"1062e992-7eee-426a-9ad8-26d58f258688\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"d691d164-d2eb-42bc-82a8-35a3d637e317\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringType\": \"AzurePublicPeering\",\r\n \ \"azureASN\": 12076,\r\n \"peerASN\": 100,\r\n \"primaryPeerAddressPrefix\": \"192.168.1.0/30\",\r\n \"secondaryPeerAddressPrefix\": \"192.168.2.0/30\",\r\n @@ -608,7 +704,7 @@ interactions: headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:43:15 GMT'] + Date: ['Tue, 22 Aug 2017 23:50:36 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -616,10 +712,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['802'] - x-ms-correlation-request-id: [bb27fe38-e757-4514-916d-036707f3fff2] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [052ec8bc-b650-449d-9065-13d206697822] - x-ms-routing-request-id: ['WESTUS2:20170627T164315Z:bb27fe38-e757-4514-916d-036707f3fff2'] + x-ms-correlation-request-id: [242e450f-4fe2-4785-a67b-f48a9a8cf0cd] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [7bedf163-a98d-4914-8e16-bfe9f1589bd6] + x-ms-routing-request-id: ['WESTUS2:20170822T235037Z:242e450f-4fe2-4785-a67b-f48a9a8cf0cd'] status: {code: 200, message: OK} - request: body: null @@ -628,16 +724,16 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [b7a3f8e6-5b57-11e7-bab9-ecb1d756380e] + x-ms-client-request-id: [b271ccd0-8794-11e7-bc5a-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"AzurePublicPeering\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings/AzurePublicPeering\",\r\n - \ \"etag\": \"W/\\\"1062e992-7eee-426a-9ad8-26d58f258688\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"d691d164-d2eb-42bc-82a8-35a3d637e317\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringType\": \"AzurePublicPeering\",\r\n \"azureASN\": 12076,\r\n \"peerASN\": 100,\r\n \"primaryPeerAddressPrefix\": \"192.168.1.0/30\",\r\n \"secondaryPeerAddressPrefix\": @@ -649,7 +745,7 @@ interactions: headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:43:16 GMT'] + Date: ['Tue, 22 Aug 2017 23:50:38 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -657,10 +753,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['903'] - x-ms-correlation-request-id: [00a3fcc2-7e1b-4641-854b-fc79606ebbab] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [5d58c5a6-b5eb-4331-9a3b-4ea1810256bd] - x-ms-routing-request-id: ['WESTUS2:20170627T164316Z:00a3fcc2-7e1b-4641-854b-fc79606ebbab'] + x-ms-correlation-request-id: [cc251226-82b8-450d-9b61-9cde24b8caf1] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [436098f5-5186-445c-b128-5201b6b610f9] + x-ms-routing-request-id: ['WESTUS2:20170822T235039Z:cc251226-82b8-450d-9b61-9cde24b8caf1'] status: {code: 200, message: OK} - request: body: null @@ -669,19 +765,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [b7fc90a6-5b57-11e7-9538-ecb1d756380e] + x-ms-client-request-id: [b357ac82-8794-11e7-b166-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings/AzurePublicPeering/stats?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings/AzurePublicPeering/stats?api-version=2017-08-01 response: body: {string: "{\r\n \"primaryBytesIn\": 0,\r\n \"primaryBytesOut\": 0,\r\n \ \"secondaryBytesIn\": 0,\r\n \"secondaryBytesOut\": 0\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:43:16 GMT'] + Date: ['Tue, 22 Aug 2017 23:50:39 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -689,10 +785,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['105'] - x-ms-correlation-request-id: [2aa3a69f-3735-4d30-86f9-39e56c382a22] - x-ms-ratelimit-remaining-subscription-reads: ['14991'] - x-ms-request-id: [61bb0e5f-6d05-40c6-a3cd-156465fd2929] - x-ms-routing-request-id: ['WESTUS2:20170627T164316Z:2aa3a69f-3735-4d30-86f9-39e56c382a22'] + x-ms-correlation-request-id: [93e68150-3c2e-46f6-be14-9c9178e862fa] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [913e5a57-c175-4a52-93b4-c3dcf8bdba15] + x-ms-routing-request-id: ['WESTUS2:20170822T235039Z:93e68150-3c2e-46f6-be14-9c9178e862fa'] status: {code: 200, message: OK} - request: body: '{}' @@ -702,33 +798,33 @@ interactions: Connection: [keep-alive] Content-Length: ['2'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [b841e2f0-5b57-11e7-a5b5-ecb1d756380e] + x-ms-client-request-id: [b3d913c6-8794-11e7-9468-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/authorizations/pyauth9edf1275?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/authorizations/pyauth9edf1275?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyauth9edf1275\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/authorizations/pyauth9edf1275\",\r\n - \ \"etag\": \"W/\\\"8b95c9da-8be4-4760-ab75-6ecbb8a21cf5\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"a2292a6e-b7ea-4a55-9ab1-54048cd0e4db\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"authorizationKey\": - \"2b3b6d67-8e6e-44e5-9ee6-57c8badb8030\",\r\n \"authorizationUseStatus\": + \"6c73b487-eba0-4c81-af13-7c3565c56e1d\",\r\n \"authorizationUseStatus\": \"Available\"\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/487b3484-54d0-49bb-81ec-fb7ec21430a8?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/24f67978-023a-42fd-9f1a-240f29b164b3?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['494'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:43:16 GMT'] + Date: ['Tue, 22 Aug 2017 23:50:40 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [89116cb4-ed54-4014-9c37-0d40a49ed3d6] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - x-ms-request-id: [487b3484-54d0-49bb-81ec-fb7ec21430a8] - x-ms-routing-request-id: ['WESTUS2:20170627T164317Z:89116cb4-ed54-4014-9c37-0d40a49ed3d6'] + x-ms-correlation-request-id: [b57eb357-3750-48b1-9f53-9d7581279b8f] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-request-id: [24f67978-023a-42fd-9f1a-240f29b164b3] + x-ms-routing-request-id: ['WESTUS2:20170822T235041Z:b57eb357-3750-48b1-9f53-9d7581279b8f'] status: {code: 201, message: Created} - request: body: null @@ -737,18 +833,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [b841e2f0-5b57-11e7-a5b5-ecb1d756380e] + x-ms-client-request-id: [b3d913c6-8794-11e7-9468-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/487b3484-54d0-49bb-81ec-fb7ec21430a8?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/24f67978-023a-42fd-9f1a-240f29b164b3?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:43:27 GMT'] + Date: ['Tue, 22 Aug 2017 23:50:52 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -756,10 +852,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [7b2b2d61-993a-472f-a63c-3e949cf01566] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [25bbf98c-a864-4498-ae01-39ab4a5a4f0c] - x-ms-routing-request-id: ['WESTUS2:20170627T164327Z:7b2b2d61-993a-472f-a63c-3e949cf01566'] + x-ms-correlation-request-id: [ae94b5c7-544b-4a8c-bd3d-130cc00b8ec3] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [64722ff6-8145-4d1f-a2d4-0b83cc84ae30] + x-ms-routing-request-id: ['WESTUS2:20170822T235052Z:ae94b5c7-544b-4a8c-bd3d-130cc00b8ec3'] status: {code: 200, message: OK} - request: body: null @@ -768,22 +864,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [b841e2f0-5b57-11e7-a5b5-ecb1d756380e] + x-ms-client-request-id: [b3d913c6-8794-11e7-9468-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/authorizations/pyauth9edf1275?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/authorizations/pyauth9edf1275?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyauth9edf1275\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/authorizations/pyauth9edf1275\",\r\n - \ \"etag\": \"W/\\\"b398c76a-90e4-45d9-8179-c88a019e230a\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"8efea3c5-d402-4aa1-b4ff-69986920f51e\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"authorizationKey\": - \"2b3b6d67-8e6e-44e5-9ee6-57c8badb8030\",\r\n \"authorizationUseStatus\": + \"6c73b487-eba0-4c81-af13-7c3565c56e1d\",\r\n \"authorizationUseStatus\": \"Available\"\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:43:27 GMT'] + Date: ['Tue, 22 Aug 2017 23:50:52 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -791,10 +887,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['495'] - x-ms-correlation-request-id: [02cd1e06-0a95-4bec-a9ad-0a3fa551fec3] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [4588578d-f1cc-4c07-bef4-ff1072f7d8fd] - x-ms-routing-request-id: ['WESTUS2:20170627T164328Z:02cd1e06-0a95-4bec-a9ad-0a3fa551fec3'] + x-ms-correlation-request-id: [3b081e69-1c22-48cd-9904-d31f30f7a3b1] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [cc89dadd-ad5d-4e38-a1f5-2efaff6e3094] + x-ms-routing-request-id: ['WESTUS2:20170822T235053Z:3b081e69-1c22-48cd-9904-d31f30f7a3b1'] status: {code: 200, message: OK} - request: body: null @@ -803,22 +899,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [beedb006-5b57-11e7-8117-ecb1d756380e] + x-ms-client-request-id: [bba5efba-8794-11e7-b2f5-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/authorizations/pyauth9edf1275?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/authorizations/pyauth9edf1275?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyauth9edf1275\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/authorizations/pyauth9edf1275\",\r\n - \ \"etag\": \"W/\\\"b398c76a-90e4-45d9-8179-c88a019e230a\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"8efea3c5-d402-4aa1-b4ff-69986920f51e\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"authorizationKey\": - \"2b3b6d67-8e6e-44e5-9ee6-57c8badb8030\",\r\n \"authorizationUseStatus\": + \"6c73b487-eba0-4c81-af13-7c3565c56e1d\",\r\n \"authorizationUseStatus\": \"Available\"\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:43:28 GMT'] + Date: ['Tue, 22 Aug 2017 23:50:52 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -826,10 +922,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['495'] - x-ms-correlation-request-id: [c41ce5bd-3880-4c04-828c-fc07ef99fcb4] - x-ms-ratelimit-remaining-subscription-reads: ['14990'] - x-ms-request-id: [8c170da3-87b4-4e59-9f73-c32fd2620734] - x-ms-routing-request-id: ['WESTUS2:20170627T164328Z:c41ce5bd-3880-4c04-828c-fc07ef99fcb4'] + x-ms-correlation-request-id: [45d092d5-1bc8-40c5-b577-0aba0b19d7cf] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [1c367c92-fdc1-4ab5-92e4-b4b8526bb238] + x-ms-routing-request-id: ['WESTUS2:20170822T235053Z:45d092d5-1bc8-40c5-b577-0aba0b19d7cf'] status: {code: 200, message: OK} - request: body: null @@ -838,23 +934,23 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [bf3b1bfa-5b57-11e7-8116-ecb1d756380e] + x-ms-client-request-id: [bc18e638-8794-11e7-911d-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/authorizations?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/authorizations?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pyauth9edf1275\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/authorizations/pyauth9edf1275\",\r\n - \ \"etag\": \"W/\\\"b398c76a-90e4-45d9-8179-c88a019e230a\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"8efea3c5-d402-4aa1-b4ff-69986920f51e\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"authorizationKey\": - \"2b3b6d67-8e6e-44e5-9ee6-57c8badb8030\",\r\n \"authorizationUseStatus\": + \"6c73b487-eba0-4c81-af13-7c3565c56e1d\",\r\n \"authorizationUseStatus\": \"Available\"\r\n }\r\n }\r\n ]\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:43:28 GMT'] + Date: ['Tue, 22 Aug 2017 23:50:54 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -862,10 +958,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['560'] - x-ms-correlation-request-id: [2a5d4d7d-208e-47bf-9f37-75d3ed23eb64] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [072d4928-d5d5-4910-93cb-e6db10ffd553] - x-ms-routing-request-id: ['WESTUS2:20170627T164329Z:2a5d4d7d-208e-47bf-9f37-75d3ed23eb64'] + x-ms-correlation-request-id: [afed3e70-f35a-4ef2-95b5-58490c2fea77] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [227ff00d-663c-48b2-bb6c-50d7305a928e] + x-ms-routing-request-id: ['WESTUS2:20170822T235054Z:afed3e70-f35a-4ef2-95b5-58490c2fea77'] status: {code: 200, message: OK} - request: body: null @@ -875,29 +971,29 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [bf918370-5b57-11e7-b886-ecb1d756380e] + x-ms-client-request-id: [bc8bc2ae-8794-11e7-9dd4-ecb1d756380e] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/authorizations/pyauth9edf1275?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/authorizations/pyauth9edf1275?api-version=2017-08-01 response: body: {string: ''} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cf5a75f2-59da-4a52-9d6f-bbac1e73462d?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/43784a5f-7865-4ed8-bcfa-705cd755ed53?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['0'] - Date: ['Tue, 27 Jun 2017 16:43:29 GMT'] + Date: ['Tue, 22 Aug 2017 23:50:54 GMT'] Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/cf5a75f2-59da-4a52-9d6f-bbac1e73462d?api-version=2017-06-01'] + Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/43784a5f-7865-4ed8-bcfa-705cd755ed53?api-version=2017-08-01'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [c23162f4-60c1-4086-bf49-a1b7b15f812a] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [cf5a75f2-59da-4a52-9d6f-bbac1e73462d] - x-ms-routing-request-id: ['WESTUS2:20170627T164329Z:c23162f4-60c1-4086-bf49-a1b7b15f812a'] + x-ms-correlation-request-id: [9b25387d-b857-4eb8-bfb1-e7d73a076067] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-request-id: [43784a5f-7865-4ed8-bcfa-705cd755ed53] + x-ms-routing-request-id: ['WESTUS2:20170822T235055Z:9b25387d-b857-4eb8-bfb1-e7d73a076067'] status: {code: 202, message: Accepted} - request: body: null @@ -906,18 +1002,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [bf918370-5b57-11e7-b886-ecb1d756380e] + x-ms-client-request-id: [bc8bc2ae-8794-11e7-9dd4-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cf5a75f2-59da-4a52-9d6f-bbac1e73462d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/43784a5f-7865-4ed8-bcfa-705cd755ed53?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:43:39 GMT'] + Date: ['Tue, 22 Aug 2017 23:51:05 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -926,10 +1022,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [6a3c9c2d-39a9-4b63-9908-f49eaea9fed9] - x-ms-ratelimit-remaining-subscription-reads: ['14990'] - x-ms-request-id: [80e299e4-317f-4059-87f1-0f368e06639b] - x-ms-routing-request-id: ['WESTUS2:20170627T164340Z:6a3c9c2d-39a9-4b63-9908-f49eaea9fed9'] + x-ms-correlation-request-id: [4a5c3339-e4f9-453e-91f9-f7a7ea0bbe31] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [9b7fb648-d3e7-42d7-9009-5e31631a2c7a] + x-ms-routing-request-id: ['WESTUS2:20170822T235105Z:4a5c3339-e4f9-453e-91f9-f7a7ea0bbe31'] status: {code: 200, message: OK} - request: body: null @@ -938,18 +1034,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [bf918370-5b57-11e7-b886-ecb1d756380e] + x-ms-client-request-id: [bc8bc2ae-8794-11e7-9dd4-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cf5a75f2-59da-4a52-9d6f-bbac1e73462d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/43784a5f-7865-4ed8-bcfa-705cd755ed53?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:43:49 GMT'] + Date: ['Tue, 22 Aug 2017 23:51:15 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -957,10 +1053,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [fe945937-5062-434e-ac97-77175d89d671] - x-ms-ratelimit-remaining-subscription-reads: ['14991'] - x-ms-request-id: [e74bdb10-9743-4d7c-8807-601e5863f11d] - x-ms-routing-request-id: ['WESTUS2:20170627T164350Z:fe945937-5062-434e-ac97-77175d89d671'] + x-ms-correlation-request-id: [2d7c649d-c1e3-4b22-9ec7-7b67fccfe0a6] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [cb401765-5480-4ef8-99ed-dc635cd8afbc] + x-ms-routing-request-id: ['WESTUS2:20170822T235116Z:2d7c649d-c1e3-4b22-9ec7-7b67fccfe0a6'] status: {code: 200, message: OK} - request: body: null @@ -970,29 +1066,29 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [cc2b2240-5b57-11e7-aa76-ecb1d756380e] + x-ms-client-request-id: [c972a3d2-8794-11e7-929d-ecb1d756380e] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings/AzurePublicPeering?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275/peerings/AzurePublicPeering?api-version=2017-08-01 response: body: {string: ''} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/515e7d2f-4593-47d3-9aeb-e17bdb4a04cf?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/069fe706-a764-423a-b264-1e15df368613?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['0'] - Date: ['Tue, 27 Jun 2017 16:43:50 GMT'] + Date: ['Tue, 22 Aug 2017 23:51:16 GMT'] Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/515e7d2f-4593-47d3-9aeb-e17bdb4a04cf?api-version=2017-06-01'] + Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/069fe706-a764-423a-b264-1e15df368613?api-version=2017-08-01'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [1c7a1f38-7698-4073-adc0-f1fe6f8cc952] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - x-ms-request-id: [515e7d2f-4593-47d3-9aeb-e17bdb4a04cf] - x-ms-routing-request-id: ['WESTUS2:20170627T164350Z:1c7a1f38-7698-4073-adc0-f1fe6f8cc952'] + x-ms-correlation-request-id: [ba4d3e6d-b762-4846-86c4-595937976cde] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-request-id: [069fe706-a764-423a-b264-1e15df368613] + x-ms-routing-request-id: ['WESTUS2:20170822T235116Z:ba4d3e6d-b762-4846-86c4-595937976cde'] status: {code: 202, message: Accepted} - request: body: null @@ -1001,18 +1097,114 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] + accept-language: [en-US] + x-ms-client-request-id: [c972a3d2-8794-11e7-929d-ecb1d756380e] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/069fe706-a764-423a-b264-1e15df368613?api-version=2017-08-01 + response: + body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} + headers: + Cache-Control: [no-cache] + Content-Type: [application/json; charset=utf-8] + Date: ['Tue, 22 Aug 2017 23:51:26 GMT'] + Expires: ['-1'] + Pragma: [no-cache] + Retry-After: ['0'] + Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + Strict-Transport-Security: [max-age=31536000; includeSubDomains] + Transfer-Encoding: [chunked] + Vary: [Accept-Encoding] + content-length: ['30'] + x-ms-correlation-request-id: [96237b70-d145-4adf-a892-50f3104a204a] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [acdf3e30-e016-43df-bbf2-d3dfec05b261] + x-ms-routing-request-id: ['WESTUS2:20170822T235127Z:96237b70-d145-4adf-a892-50f3104a204a'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] + accept-language: [en-US] + x-ms-client-request-id: [c972a3d2-8794-11e7-929d-ecb1d756380e] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/069fe706-a764-423a-b264-1e15df368613?api-version=2017-08-01 + response: + body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} + headers: + Cache-Control: [no-cache] + Content-Type: [application/json; charset=utf-8] + Date: ['Tue, 22 Aug 2017 23:51:37 GMT'] + Expires: ['-1'] + Pragma: [no-cache] + Retry-After: ['0'] + Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + Strict-Transport-Security: [max-age=31536000; includeSubDomains] + Transfer-Encoding: [chunked] + Vary: [Accept-Encoding] + content-length: ['30'] + x-ms-correlation-request-id: [2391ea93-349a-47ad-bd02-fcd2c851e585] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [aa6d3c80-8dbc-4e80-ad58-45c3f97c0436] + x-ms-routing-request-id: ['WESTUS2:20170822T235138Z:2391ea93-349a-47ad-bd02-fcd2c851e585'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] + accept-language: [en-US] + x-ms-client-request-id: [c972a3d2-8794-11e7-929d-ecb1d756380e] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/069fe706-a764-423a-b264-1e15df368613?api-version=2017-08-01 + response: + body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} + headers: + Cache-Control: [no-cache] + Content-Type: [application/json; charset=utf-8] + Date: ['Tue, 22 Aug 2017 23:51:48 GMT'] + Expires: ['-1'] + Pragma: [no-cache] + Retry-After: ['0'] + Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + Strict-Transport-Security: [max-age=31536000; includeSubDomains] + Transfer-Encoding: [chunked] + Vary: [Accept-Encoding] + content-length: ['30'] + x-ms-correlation-request-id: [3bbea02b-918f-4c6c-b1de-91dbd4106974] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [940703e3-5909-4789-ba37-3552b4e5d49d] + x-ms-routing-request-id: ['WESTUS2:20170822T235148Z:3bbea02b-918f-4c6c-b1de-91dbd4106974'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [cc2b2240-5b57-11e7-aa76-ecb1d756380e] + x-ms-client-request-id: [c972a3d2-8794-11e7-929d-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/515e7d2f-4593-47d3-9aeb-e17bdb4a04cf?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/069fe706-a764-423a-b264-1e15df368613?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:44:00 GMT'] + Date: ['Tue, 22 Aug 2017 23:51:59 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1021,10 +1213,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [ccdff257-3478-4e46-8b10-b81503a4b057] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [2eb2d8a9-9d9e-41fe-a6d3-83afe95c411d] - x-ms-routing-request-id: ['WESTUS2:20170627T164401Z:ccdff257-3478-4e46-8b10-b81503a4b057'] + x-ms-correlation-request-id: [ee7241f8-9293-4aaa-ae6d-a6b89415aadf] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [f680ff13-7e8f-4cbc-aa67-214363ef0d1f] + x-ms-routing-request-id: ['WESTUS2:20170822T235159Z:ee7241f8-9293-4aaa-ae6d-a6b89415aadf'] status: {code: 200, message: OK} - request: body: null @@ -1033,18 +1225,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [cc2b2240-5b57-11e7-aa76-ecb1d756380e] + x-ms-client-request-id: [c972a3d2-8794-11e7-929d-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/515e7d2f-4593-47d3-9aeb-e17bdb4a04cf?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/069fe706-a764-423a-b264-1e15df368613?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:44:10 GMT'] + Date: ['Tue, 22 Aug 2017 23:52:09 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1053,10 +1245,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [dd446c49-8e36-47a3-aa66-45312fc5b2f1] - x-ms-ratelimit-remaining-subscription-reads: ['14989'] - x-ms-request-id: [beab5551-a8a8-461f-b4f2-867a7bc73935] - x-ms-routing-request-id: ['WESTUS2:20170627T164411Z:dd446c49-8e36-47a3-aa66-45312fc5b2f1'] + x-ms-correlation-request-id: [fc2d437d-2b5e-42eb-835f-c9d271aca3ba] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [29692035-2408-4e84-a40d-85d80f1d8c9b] + x-ms-routing-request-id: ['WESTUS2:20170822T235209Z:fc2d437d-2b5e-42eb-835f-c9d271aca3ba'] status: {code: 200, message: OK} - request: body: null @@ -1065,18 +1257,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [cc2b2240-5b57-11e7-aa76-ecb1d756380e] + x-ms-client-request-id: [c972a3d2-8794-11e7-929d-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/515e7d2f-4593-47d3-9aeb-e17bdb4a04cf?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/069fe706-a764-423a-b264-1e15df368613?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:44:21 GMT'] + Date: ['Tue, 22 Aug 2017 23:52:19 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1085,10 +1277,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [94d80245-5f49-422c-b21c-fc97cb480ad2] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [fb1e462d-c7ff-43d7-9520-5595c6709690] - x-ms-routing-request-id: ['WESTUS2:20170627T164421Z:94d80245-5f49-422c-b21c-fc97cb480ad2'] + x-ms-correlation-request-id: [69e22a98-10e2-4cb1-be18-e77ab983704b] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [0d445009-648e-4fd5-a780-dbfbfb57a638] + x-ms-routing-request-id: ['WESTUS2:20170822T235220Z:69e22a98-10e2-4cb1-be18-e77ab983704b'] status: {code: 200, message: OK} - request: body: null @@ -1097,18 +1289,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [cc2b2240-5b57-11e7-aa76-ecb1d756380e] + x-ms-client-request-id: [c972a3d2-8794-11e7-929d-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/515e7d2f-4593-47d3-9aeb-e17bdb4a04cf?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/069fe706-a764-423a-b264-1e15df368613?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:44:31 GMT'] + Date: ['Tue, 22 Aug 2017 23:52:29 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1116,10 +1308,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [2c9ec81b-5423-447a-aa33-bd5e5a75bdd2] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [166542c1-a774-48c9-9602-b43a4279626a] - x-ms-routing-request-id: ['WESTUS2:20170627T164431Z:2c9ec81b-5423-447a-aa33-bd5e5a75bdd2'] + x-ms-correlation-request-id: [f3291227-1821-400e-8a6a-97fcf775fb6b] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [11c0f6c7-235c-4892-b9d1-d5aa9a8d11c6] + x-ms-routing-request-id: ['WESTUS2:20170822T235230Z:f3291227-1821-400e-8a6a-97fcf775fb6b'] status: {code: 200, message: OK} - request: body: null @@ -1129,29 +1321,29 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [e4fdd38c-5b57-11e7-b572-ecb1d756380e] + x-ms-client-request-id: [f5ce0e4a-8794-11e7-908c-ecb1d756380e] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_express_route_circuit9edf1275/providers/Microsoft.Network/expressRouteCircuits/pyexpressroute9edf1275?api-version=2017-08-01 response: body: {string: ''} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/adbbfbe9-589a-4b84-be7a-40f3aabe6a29?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/13648c4c-5434-41b4-af24-b11a692f3f90?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['0'] - Date: ['Tue, 27 Jun 2017 16:44:31 GMT'] + Date: ['Tue, 22 Aug 2017 23:52:30 GMT'] Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/adbbfbe9-589a-4b84-be7a-40f3aabe6a29?api-version=2017-06-01'] + Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/13648c4c-5434-41b4-af24-b11a692f3f90?api-version=2017-08-01'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [92071430-a019-4d16-997a-014e61740eea] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [adbbfbe9-589a-4b84-be7a-40f3aabe6a29] - x-ms-routing-request-id: ['WESTUS2:20170627T164432Z:92071430-a019-4d16-997a-014e61740eea'] + x-ms-correlation-request-id: [ff1c2ba1-753f-48af-850b-b6ef53b6489a] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-request-id: [13648c4c-5434-41b4-af24-b11a692f3f90] + x-ms-routing-request-id: ['WESTUS2:20170822T235231Z:ff1c2ba1-753f-48af-850b-b6ef53b6489a'] status: {code: 202, message: Accepted} - request: body: null @@ -1160,18 +1352,82 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] + accept-language: [en-US] + x-ms-client-request-id: [f5ce0e4a-8794-11e7-908c-ecb1d756380e] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/13648c4c-5434-41b4-af24-b11a692f3f90?api-version=2017-08-01 + response: + body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} + headers: + Cache-Control: [no-cache] + Content-Type: [application/json; charset=utf-8] + Date: ['Tue, 22 Aug 2017 23:52:41 GMT'] + Expires: ['-1'] + Pragma: [no-cache] + Retry-After: ['0'] + Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + Strict-Transport-Security: [max-age=31536000; includeSubDomains] + Transfer-Encoding: [chunked] + Vary: [Accept-Encoding] + content-length: ['30'] + x-ms-correlation-request-id: [344f7663-5933-4caf-9744-82f540f2ac87] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [e979555b-4d4c-4441-b6d3-853578ded27c] + x-ms-routing-request-id: ['WESTUS2:20170822T235241Z:344f7663-5933-4caf-9744-82f540f2ac87'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] + accept-language: [en-US] + x-ms-client-request-id: [f5ce0e4a-8794-11e7-908c-ecb1d756380e] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/13648c4c-5434-41b4-af24-b11a692f3f90?api-version=2017-08-01 + response: + body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} + headers: + Cache-Control: [no-cache] + Content-Type: [application/json; charset=utf-8] + Date: ['Tue, 22 Aug 2017 23:52:52 GMT'] + Expires: ['-1'] + Pragma: [no-cache] + Retry-After: ['0'] + Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + Strict-Transport-Security: [max-age=31536000; includeSubDomains] + Transfer-Encoding: [chunked] + Vary: [Accept-Encoding] + content-length: ['30'] + x-ms-correlation-request-id: [03a75808-3edb-4bde-b1e9-522216fdd8a0] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [aaec7674-b5f0-4bdd-97c5-ace09122aa52] + x-ms-routing-request-id: ['WESTUS2:20170822T235252Z:03a75808-3edb-4bde-b1e9-522216fdd8a0'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [e4fdd38c-5b57-11e7-b572-ecb1d756380e] + x-ms-client-request-id: [f5ce0e4a-8794-11e7-908c-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/adbbfbe9-589a-4b84-be7a-40f3aabe6a29?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/13648c4c-5434-41b4-af24-b11a692f3f90?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:44:42 GMT'] + Date: ['Tue, 22 Aug 2017 23:53:02 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1180,10 +1436,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [5aff83b2-9adb-444c-a2f1-4560f8cac085] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [00f4e782-2de1-4a91-babc-11cccb5b70b0] - x-ms-routing-request-id: ['WESTUS2:20170627T164442Z:5aff83b2-9adb-444c-a2f1-4560f8cac085'] + x-ms-correlation-request-id: [fac63a40-1f47-4201-a37a-3d8bb205f348] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [6170cb7a-2b88-4dea-88e8-a0e0e49d830f] + x-ms-routing-request-id: ['WESTUS2:20170822T235303Z:fac63a40-1f47-4201-a37a-3d8bb205f348'] status: {code: 200, message: OK} - request: body: null @@ -1192,18 +1448,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [e4fdd38c-5b57-11e7-b572-ecb1d756380e] + x-ms-client-request-id: [f5ce0e4a-8794-11e7-908c-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/adbbfbe9-589a-4b84-be7a-40f3aabe6a29?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/13648c4c-5434-41b4-af24-b11a692f3f90?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:44:53 GMT'] + Date: ['Tue, 22 Aug 2017 23:53:13 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1211,9 +1467,9 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [bcf81c00-0c00-432f-8638-e90400950646] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [2b6eb226-2fe1-4315-984d-4b05c074682b] - x-ms-routing-request-id: ['WESTUS:20170627T164453Z:bcf81c00-0c00-432f-8638-e90400950646'] + x-ms-correlation-request-id: [afa9b087-b545-438f-99a9-3c39e150d068] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [060718cc-638c-4c74-9069-259416b21558] + x-ms-routing-request-id: ['WESTUS2:20170822T235313Z:afa9b087-b545-438f-99a9-3c39e150d068'] status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt/tests/recordings/test_mgmt_network.test_express_route_service_providers.yaml b/azure-mgmt/tests/recordings/test_mgmt_network.test_express_route_service_providers.yaml index 7ad8e4ed6c16..de7b43d6c7e4 100644 --- a/azure-mgmt/tests/recordings/test_mgmt_network.test_express_route_service_providers.yaml +++ b/azure-mgmt/tests/recordings/test_mgmt_network.test_express_route_service_providers.yaml @@ -6,12 +6,12 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [5d9cd09a-5b57-11e7-a44b-ecb1d756380e] + x-ms-client-request-id: [12a5a028-8795-11e7-b138-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/expressRouteServiceProviders?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/expressRouteServiceProviders?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"AARNet\",\r\n \ \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n @@ -142,6 +142,21 @@ interactions: \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n \ \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n \ }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": + \"C3ntro\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n + \ \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": + [\r\n \"Miami\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n + \ {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": + 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n + \ \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": + \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n + \ \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n + \ },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": + 1000\r\n },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n + \ \"valueInMbps\": 2000\r\n },\r\n {\r\n \"offerName\": + \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n + \ \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n + \ }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"CenturyLink\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \ \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": @@ -321,7 +336,7 @@ interactions: \"GlobalcloudXchange\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \ \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": - [\r\n \"Chennai\"\r\n ],\r\n \"bandwidthsOffered\": + [\r\n \"Chennai\",\r\n \"Mumbai\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n \ \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": @@ -444,43 +459,43 @@ interactions: \ \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": [\r\n \"Amsterdam\",\r\n \"Chicago\",\r\n \"Dallas\",\r\n - \ \"London\",\r\n \"Seattle\",\r\n \"Silicon Valley\",\r\n - \ \"Singapore\",\r\n \"Washington DC\"\r\n ],\r\n - \ \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": - \"50Mbps\",\r\n \"valueInMbps\": 50\r\n },\r\n {\r\n - \ \"offerName\": \"100Mbps\",\r\n \"valueInMbps\": 100\r\n - \ },\r\n {\r\n \"offerName\": \"200Mbps\",\r\n - \ \"valueInMbps\": 200\r\n },\r\n {\r\n \"offerName\": - \"500Mbps\",\r\n \"valueInMbps\": 500\r\n },\r\n {\r\n - \ \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": 1000\r\n - \ },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n \"valueInMbps\": - 2000\r\n },\r\n {\r\n \"offerName\": \"5Gbps\",\r\n - \ \"valueInMbps\": 5000\r\n },\r\n {\r\n \"offerName\": - \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n }\r\n ]\r\n - \ }\r\n },\r\n {\r\n \"name\": \"Level 3 Communications - IPVPN\",\r\n - \ \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n + \ \"Las Vegas\",\r\n \"London\",\r\n \"Sao Paulo\",\r\n + \ \"Seattle\",\r\n \"Silicon Valley\",\r\n \"Singapore\",\r\n + \ \"Washington DC\"\r\n ],\r\n \"bandwidthsOffered\": + [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": + 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n + \ \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": + \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n + \ \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n + \ },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": + 1000\r\n },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n + \ \"valueInMbps\": 2000\r\n },\r\n {\r\n \"offerName\": + \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n + \ \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n + \ }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": + \"Level 3 Communications - IPVPN\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \ \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": [\r\n \"Amsterdam\",\r\n \"Chicago\",\r\n \"Dallas\",\r\n - \ \"London\",\r\n \"Seattle\",\r\n \"Silicon Valley\",\r\n - \ \"Singapore\",\r\n \"Washington DC\"\r\n ],\r\n - \ \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": - \"50Mbps\",\r\n \"valueInMbps\": 50\r\n },\r\n {\r\n - \ \"offerName\": \"100Mbps\",\r\n \"valueInMbps\": 100\r\n - \ },\r\n {\r\n \"offerName\": \"200Mbps\",\r\n - \ \"valueInMbps\": 200\r\n },\r\n {\r\n \"offerName\": - \"500Mbps\",\r\n \"valueInMbps\": 500\r\n },\r\n {\r\n - \ \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": 1000\r\n - \ },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n \"valueInMbps\": - 2000\r\n },\r\n {\r\n \"offerName\": \"5Gbps\",\r\n - \ \"valueInMbps\": 5000\r\n },\r\n {\r\n \"offerName\": - \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n }\r\n ]\r\n - \ }\r\n },\r\n {\r\n \"name\": \"LG CNS\",\r\n \"id\": - \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n + \ \"Las Vegas\",\r\n \"London\",\r\n \"Sao Paulo\",\r\n + \ \"Seattle\",\r\n \"Silicon Valley\",\r\n \"Singapore\",\r\n + \ \"Washington DC\"\r\n ],\r\n \"bandwidthsOffered\": + [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": + 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n + \ \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": + \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n + \ \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n + \ },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": + 1000\r\n },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n + \ \"valueInMbps\": 2000\r\n },\r\n {\r\n \"offerName\": + \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n + \ \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n + \ }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": + \"LG CNS\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \ \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": - [\r\n \"Busan\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n - \ {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": + [\r\n \"Busan\",\r\n \"Seoul\"\r\n ],\r\n \"bandwidthsOffered\": + [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n \ \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n @@ -497,11 +512,12 @@ interactions: [\r\n \"Amsterdam\",\r\n \"Chicago\",\r\n \"Dallas\",\r\n \ \"Hong Kong\",\r\n \"Las Vegas\",\r\n \"London\",\r\n \ \"Los Angeles\",\r\n \"Melbourne\",\r\n \"Miami\",\r\n - \ \"New York\",\r\n \"Quebec City\",\r\n \"Seattle\",\r\n - \ \"Silicon Valley\",\r\n \"Singapore\",\r\n \"Sydney\",\r\n - \ \"Toronto\",\r\n \"Washington DC\"\r\n ],\r\n \"bandwidthsOffered\": - [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": - 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n + \ \"New York\",\r\n \"Quebec City\",\r\n \"San Antonio\",\r\n + \ \"Seattle\",\r\n \"Silicon Valley\",\r\n \"Singapore\",\r\n + \ \"Sydney\",\r\n \"Toronto\",\r\n \"Washington + DC\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n {\r\n + \ \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": 50\r\n + \ },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n \ \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n \ \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n @@ -526,6 +542,21 @@ interactions: \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n \ \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n \ }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": + \"Neutrona Networks\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n + \ \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": + [\r\n \"Miami\",\r\n \"Sao Paulo\"\r\n ],\r\n \"bandwidthsOffered\": + [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": + 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n + \ \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": + \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n + \ \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n + \ },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": + 1000\r\n },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n + \ \"valueInMbps\": 2000\r\n },\r\n {\r\n \"offerName\": + \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n + \ \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n + \ }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Next Generation Data\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \ \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": @@ -653,7 +684,7 @@ interactions: \"SIFY\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \ \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": - [\r\n \"Chennai\"\r\n ],\r\n \"bandwidthsOffered\": + [\r\n \"Chennai\",\r\n \"Mumbai2\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n \ \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": @@ -820,13 +851,28 @@ interactions: \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n \ \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n \ }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": + \"UOLDIVEO\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n + \ \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": + [\r\n \"Sao Paulo\"\r\n ],\r\n \"bandwidthsOffered\": + [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": + 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n + \ \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": + \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n + \ \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n + \ },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": + 1000\r\n },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n + \ \"valueInMbps\": 2000\r\n },\r\n {\r\n \"offerName\": + \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n + \ \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n + \ }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Verizon\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \ \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": [\r\n \"Amsterdam\",\r\n \"Chicago\",\r\n \"Dallas\",\r\n - \ \"Hong Kong\",\r\n \"London\",\r\n \"Silicon Valley\",\r\n - \ \"Singapore\",\r\n \"Sydney\",\r\n \"Tokyo\",\r\n - \ \"Washington DC\"\r\n ],\r\n \"bandwidthsOffered\": + \ \"Hong Kong\",\r\n \"London\",\r\n \"Mumbai\",\r\n + \ \"Silicon Valley\",\r\n \"Singapore\",\r\n \"Sydney\",\r\n + \ \"Tokyo\",\r\n \"Washington DC\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n \ \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": @@ -856,22 +902,22 @@ interactions: \"Zayo\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \ \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": - [\r\n \"Chicago\",\r\n \"Dallas\",\r\n \"London\",\r\n - \ \"Los Angeles\",\r\n \"New York\",\r\n \"Silicon - Valley\",\r\n \"Toronto\",\r\n \"Washington DC\"\r\n ],\r\n - \ \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": - \"50Mbps\",\r\n \"valueInMbps\": 50\r\n },\r\n {\r\n - \ \"offerName\": \"100Mbps\",\r\n \"valueInMbps\": 100\r\n - \ },\r\n {\r\n \"offerName\": \"200Mbps\",\r\n - \ \"valueInMbps\": 200\r\n },\r\n {\r\n \"offerName\": - \"500Mbps\",\r\n \"valueInMbps\": 500\r\n },\r\n {\r\n - \ \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": 1000\r\n - \ },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n \"valueInMbps\": - 2000\r\n },\r\n {\r\n \"offerName\": \"5Gbps\",\r\n - \ \"valueInMbps\": 5000\r\n },\r\n {\r\n \"offerName\": - \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n }\r\n ]\r\n - \ }\r\n },\r\n {\r\n \"name\": \"Zayo Group\",\r\n \"id\": - \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n + [\r\n \"Amsterdam\",\r\n \"Chicago\",\r\n \"Dallas\",\r\n + \ \"London\",\r\n \"Los Angeles\",\r\n \"New York\",\r\n + \ \"Silicon Valley\",\r\n \"Toronto\",\r\n \"Washington + DC\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n {\r\n + \ \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": 50\r\n + \ },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n + \ \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": + \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n + \ \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n + \ },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": + 1000\r\n },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n + \ \"valueInMbps\": 2000\r\n },\r\n {\r\n \"offerName\": + \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n + \ \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n + \ }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": + \"Zayo Group\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \ \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": [\r\n \"Chicago\",\r\n \"Los Angeles\",\r\n \"New @@ -891,17 +937,17 @@ interactions: headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:47 GMT'] + Date: ['Tue, 22 Aug 2017 23:53:22 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Transfer-Encoding: [chunked] Vary: [Accept-Encoding] - content-length: ['67318'] - x-ms-correlation-request-id: [a7c92fba-0baf-499f-bf84-9982680877e1] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [6ac2e392-eb4a-4b7e-bdc2-ee0c0c84717a] - x-ms-routing-request-id: ['WESTUS:20170627T164048Z:a7c92fba-0baf-499f-bf84-9982680877e1'] + content-length: ['71051'] + x-ms-correlation-request-id: [c3ba4d63-6a5a-43a3-8540-ed83091335b9] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [77db6a02-b6aa-4be2-8527-9fc0b85fff13] + x-ms-routing-request-id: ['WESTUS2:20170822T235323Z:c3ba4d63-6a5a-43a3-8540-ed83091335b9'] status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt/tests/recordings/test_mgmt_network.test_load_balancers.yaml b/azure-mgmt/tests/recordings/test_mgmt_network.test_load_balancers.yaml index b40430a579ca..6067148e909a 100644 --- a/azure-mgmt/tests/recordings/test_mgmt_network.test_load_balancers.yaml +++ b/azure-mgmt/tests/recordings/test_mgmt_network.test_load_balancers.yaml @@ -1,41 +1,42 @@ interactions: - request: - body: '{"properties": {"publicIPAllocationMethod": "static", "idleTimeoutInMinutes": - 4}, "location": "westus"}' + body: '{"location": "westus", "properties": {"publicIPAllocationMethod": "static", + "idleTimeoutInMinutes": 4}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['103'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [62afc05e-5b57-11e7-beda-ecb1d756380e] + x-ms-client-request-id: [188a9cd0-8795-11e7-9f7b-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/publicIPAddresses/pyipname239e0f35?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/publicIPAddresses/pyipname239e0f35?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyipname239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/publicIPAddresses/pyipname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a1b76158-9edf-42e0-90e3-c056f70c9c4f\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"41390b5a-8510-4678-a487-4084df42c45f\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"52688a14-59d0-426f-abc0-b33f7ed70759\",\r\n \"publicIPAddressVersion\": + \ \"resourceGuid\": \"15f43b92-0628-4523-b9b8-3ae38496c477\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\": - 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n}"} + 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a59eb57a-fb41-4a8f-85d4-d5694e15e87d?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1be6c542-f9b3-479c-afa0-898748188570?api-version=2017-08-01'] Cache-Control: [no-cache] - Content-Length: ['591'] + Content-Length: ['630'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:53 GMT'] + Date: ['Tue, 22 Aug 2017 23:53:29 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [8e52765e-78e5-4d6b-869b-044d1fb43e21] + x-ms-correlation-request-id: [52789e27-e46a-48da-83d0-42bd2434c49c] x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [a59eb57a-fb41-4a8f-85d4-d5694e15e87d] - x-ms-routing-request-id: ['WESTUS2:20170627T164054Z:8e52765e-78e5-4d6b-869b-044d1fb43e21'] + x-ms-request-id: [1be6c542-f9b3-479c-afa0-898748188570] + x-ms-routing-request-id: ['WESTUS2:20170822T235329Z:52789e27-e46a-48da-83d0-42bd2434c49c'] status: {code: 201, message: Created} - request: body: null @@ -44,18 +45,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [62afc05e-5b57-11e7-beda-ecb1d756380e] + x-ms-client-request-id: [188a9cd0-8795-11e7-9f7b-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a59eb57a-fb41-4a8f-85d4-d5694e15e87d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1be6c542-f9b3-479c-afa0-898748188570?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:57 GMT'] + Date: ['Tue, 22 Aug 2017 23:53:32 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -63,10 +64,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [7e2796f5-fe4e-4aaa-983a-e9e0b4d29ecd] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [de125e80-2bac-46aa-93ed-0703fa1825fe] - x-ms-routing-request-id: ['WESTUS2:20170627T164057Z:7e2796f5-fe4e-4aaa-983a-e9e0b4d29ecd'] + x-ms-correlation-request-id: [82cb33e4-136a-4dcc-b653-89ff3a53c34c] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [786a233b-1f09-48db-9cbd-2d71f6e956d0] + x-ms-routing-request-id: ['WESTUS2:20170822T235333Z:82cb33e4-136a-4dcc-b653-89ff3a53c34c'] status: {code: 200, message: OK} - request: body: null @@ -75,75 +76,75 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [62afc05e-5b57-11e7-beda-ecb1d756380e] + x-ms-client-request-id: [188a9cd0-8795-11e7-9f7b-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/publicIPAddresses/pyipname239e0f35?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/publicIPAddresses/pyipname239e0f35?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyipname239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/publicIPAddresses/pyipname239e0f35\",\r\n - \ \"etag\": \"W/\\\"de8b3289-bea5-4129-b529-e29fa0d86991\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"2b9a1527-f81b-4e32-b1cc-5b78ee03e5af\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"52688a14-59d0-426f-abc0-b33f7ed70759\",\r\n \"ipAddress\": - \"40.83.213.33\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": - \"Static\",\r\n \"idleTimeoutInMinutes\": 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n}"} + \ \"resourceGuid\": \"15f43b92-0628-4523-b9b8-3ae38496c477\",\r\n \"ipAddress\": + \"52.160.88.11\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \"Static\",\r\n \"idleTimeoutInMinutes\": 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:57 GMT'] - ETag: [W/"de8b3289-bea5-4129-b529-e29fa0d86991"] + Date: ['Tue, 22 Aug 2017 23:53:33 GMT'] + ETag: [W/"2b9a1527-f81b-4e32-b1cc-5b78ee03e5af"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Transfer-Encoding: [chunked] Vary: [Accept-Encoding] - content-length: ['626'] - x-ms-correlation-request-id: [6c4329f2-d6a9-4d38-bfe8-18a0e73c95c4] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [4949eca5-bb13-4574-8239-1e7a5e947746] - x-ms-routing-request-id: ['WESTUS2:20170627T164058Z:6c4329f2-d6a9-4d38-bfe8-18a0e73c95c4'] + content-length: ['665'] + x-ms-correlation-request-id: [495bef84-5a3b-4a72-ba44-6bb97510367d] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [809370a1-efaf-4ad9-bbbe-14ceecbe8d96] + x-ms-routing-request-id: ['WESTUS2:20170822T235333Z:495bef84-5a3b-4a72-ba44-6bb97510367d'] status: {code: 200, message: OK} - request: - body: '{"properties": {"inboundNatRules": [{"name": "azure-sample-netrule1", "properties": - {"idleTimeoutInMinutes": 4, "protocol": "tcp", "backendPort": 22, "enableFloatingIP": - false, "frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35"}, - "frontendPort": 21}}, {"name": "azure-sample-netrule2", "properties": {"idleTimeoutInMinutes": - 4, "protocol": "tcp", "backendPort": 22, "enableFloatingIP": false, "frontendIPConfiguration": + body: '{"location": "westus", "properties": {"frontendIPConfigurations": [{"name": + "pyfipname239e0f35", "properties": {"privateIPAllocationMethod": "Dynamic", + "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/publicIPAddresses/pyipname239e0f35"}}}], + "backendAddressPools": [{"name": "pyapname239e0f35"}], "inboundNatRules": [{"name": + "azure-sample-netrule1", "properties": {"backendPort": 22, "frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35"}, - "frontendPort": 23}}], "probes": [{"name": "pyprobename239e0f35", "properties": - {"requestPath": "healthprobe.aspx", "numberOfProbes": 4, "protocol": "Http", - "port": 80, "intervalInSeconds": 15}}], "frontendIPConfigurations": [{"name": - "pyfipname239e0f35", "properties": {"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/publicIPAddresses/pyipname239e0f35"}, - "privateIPAllocationMethod": "Dynamic"}}], "backendAddressPools": [{"name": - "pyapname239e0f35"}], "loadBalancingRules": [{"name": "azure-sample-lb-rule", - "properties": {"idleTimeoutInMinutes": 4, "protocol": "tcp", "probe": {"id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/probes/pyprobename239e0f35"}, - "backendAddressPool": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/backendAddressPools/pyapname239e0f35"}, - "backendPort": 80, "enableFloatingIP": false, "loadDistribution": "Default", - "frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35"}, - "frontendPort": 80}}]}, "location": "westus"}' + "enableFloatingIP": false, "protocol": "tcp", "frontendPort": 21, "idleTimeoutInMinutes": + 4}}, {"name": "azure-sample-netrule2", "properties": {"backendPort": 22, "frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35"}, + "enableFloatingIP": false, "protocol": "tcp", "frontendPort": 23, "idleTimeoutInMinutes": + 4}}], "probes": [{"name": "pyprobename239e0f35", "properties": {"port": 80, + "protocol": "Http", "intervalInSeconds": 15, "numberOfProbes": 4, "requestPath": + "healthprobe.aspx"}}], "loadBalancingRules": [{"name": "azure-sample-lb-rule", + "properties": {"probe": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/probes/pyprobename239e0f35"}, + "backendPort": 80, "frontendPort": 80, "frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35"}, + "enableFloatingIP": false, "backendAddressPool": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/backendAddressPools/pyapname239e0f35"}, + "loadDistribution": "Default", "protocol": "tcp", "idleTimeoutInMinutes": 4}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['2374'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [657c725a-5b57-11e7-8583-ecb1d756380e] + x-ms-client-request-id: [1b86a4dc-8795-11e7-b771-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pylbname239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"1c91ee94-baf3-4a48-856c-34a215678ba4\",\r\n + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"d6c9832a-fb8c-4a7f-bcc9-cb660c2d63eb\",\r\n \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"pyfipname239e0f35\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/publicIPAddresses/pyipname239e0f35\"\r\n @@ -155,14 +156,14 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"pyapname239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/backendAddressPools/pyapname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/loadBalancingRules/azure-sample-lb-rule\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": \"azure-sample-lb-rule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/loadBalancingRules/azure-sample-lb-rule\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": @@ -173,7 +174,7 @@ interactions: \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/probes/pyprobename239e0f35\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n \ \"name\": \"pyprobename239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/probes/pyprobename239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"healthprobe.aspx\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -182,34 +183,35 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n \"name\": \"azure-sample-netrule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/inboundNatRules/azure-sample-netrule1\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 21,\r\n \"backendPort\": 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\"\r\n }\r\n },\r\n {\r\n \ \"name\": \"azure-sample-netrule2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/inboundNatRules/azure-sample-netrule2\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 23,\r\n \"backendPort\": 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\"\r\n }\r\n }\r\n ],\r\n - \ \"outboundNatRules\": [],\r\n \"inboundNatPools\": []\r\n }\r\n}"} + \ \"outboundNatRules\": [],\r\n \"inboundNatPools\": []\r\n },\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fc8a514b-7867-4209-a551-e19bef12e4c6?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5fc8d48c-0830-4eb7-84e4-71a29ce6a786?api-version=2017-08-01'] Cache-Control: [no-cache] - Content-Length: ['7199'] + Content-Length: ['7238'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:58 GMT'] + Date: ['Tue, 22 Aug 2017 23:53:34 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [21dab238-e9ea-4cfa-a688-827e5465cf25] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [fc8a514b-7867-4209-a551-e19bef12e4c6] - x-ms-routing-request-id: ['WESTUS2:20170627T164059Z:21dab238-e9ea-4cfa-a688-827e5465cf25'] + x-ms-correlation-request-id: [bd3612b2-970c-4e5c-b28b-7db282d73179] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-request-id: [5fc8d48c-0830-4eb7-84e4-71a29ce6a786] + x-ms-routing-request-id: ['WESTUS2:20170822T235334Z:bd3612b2-970c-4e5c-b28b-7db282d73179'] status: {code: 201, message: Created} - request: body: null @@ -218,18 +220,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [657c725a-5b57-11e7-8583-ecb1d756380e] + x-ms-client-request-id: [1b86a4dc-8795-11e7-b771-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fc8a514b-7867-4209-a551-e19bef12e4c6?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5fc8d48c-0830-4eb7-84e4-71a29ce6a786?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:41:29 GMT'] + Date: ['Tue, 22 Aug 2017 23:54:04 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -237,10 +239,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [62d08e6f-2f54-4585-92c0-17b769a639bd] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [440f459f-f7d6-46a8-916c-20b566c8c8cc] - x-ms-routing-request-id: ['WESTUS2:20170627T164129Z:62d08e6f-2f54-4585-92c0-17b769a639bd'] + x-ms-correlation-request-id: [483cbd1c-9802-4656-ae64-4007c255e692] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [9f501d56-1bc3-4ae9-b904-61a6652a63c2] + x-ms-routing-request-id: ['WESTUS2:20170822T235405Z:483cbd1c-9802-4656-ae64-4007c255e692'] status: {code: 200, message: OK} - request: body: null @@ -249,20 +251,20 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [657c725a-5b57-11e7-8583-ecb1d756380e] + x-ms-client-request-id: [1b86a4dc-8795-11e7-b771-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pylbname239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"1c91ee94-baf3-4a48-856c-34a215678ba4\",\r\n + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"d6c9832a-fb8c-4a7f-bcc9-cb660c2d63eb\",\r\n \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"pyfipname239e0f35\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/publicIPAddresses/pyipname239e0f35\"\r\n @@ -274,14 +276,14 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"pyapname239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/backendAddressPools/pyapname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/loadBalancingRules/azure-sample-lb-rule\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": \"azure-sample-lb-rule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/loadBalancingRules/azure-sample-lb-rule\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": @@ -292,7 +294,7 @@ interactions: \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/probes/pyprobename239e0f35\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n \ \"name\": \"pyprobename239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/probes/pyprobename239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"healthprobe.aspx\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -301,36 +303,37 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n \"name\": \"azure-sample-netrule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/inboundNatRules/azure-sample-netrule1\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 21,\r\n \"backendPort\": 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\"\r\n }\r\n },\r\n {\r\n \ \"name\": \"azure-sample-netrule2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/inboundNatRules/azure-sample-netrule2\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 23,\r\n \"backendPort\": 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\"\r\n }\r\n }\r\n ],\r\n - \ \"outboundNatRules\": [],\r\n \"inboundNatPools\": []\r\n }\r\n}"} + \ \"outboundNatRules\": [],\r\n \"inboundNatPools\": []\r\n },\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:41:29 GMT'] - ETag: [W/"a6347b79-1f6d-415e-97d3-e88ee3371139"] + Date: ['Tue, 22 Aug 2017 23:54:05 GMT'] + ETag: [W/"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Transfer-Encoding: [chunked] Vary: [Accept-Encoding] - content-length: ['7199'] - x-ms-correlation-request-id: [fa4a4edb-ea4a-49b7-bd54-507f7bcc78cb] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [36ff1240-f82f-4c8c-bf14-704724958bd0] - x-ms-routing-request-id: ['WESTUS2:20170627T164129Z:fa4a4edb-ea4a-49b7-bd54-507f7bcc78cb'] + content-length: ['7238'] + x-ms-correlation-request-id: [daf393cb-3a16-4794-95b1-81c392b46d2e] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [832e80ed-65e6-4ca2-89cc-a1f9538b3b8f] + x-ms-routing-request-id: ['WESTUS2:20170822T235405Z:daf393cb-3a16-4794-95b1-81c392b46d2e'] status: {code: 200, message: OK} - request: body: null @@ -339,20 +342,20 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [78887d1c-5b57-11e7-9be4-ecb1d756380e] + x-ms-client-request-id: [2e9f55c2-8795-11e7-ab52-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pylbname239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"1c91ee94-baf3-4a48-856c-34a215678ba4\",\r\n + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"d6c9832a-fb8c-4a7f-bcc9-cb660c2d63eb\",\r\n \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"pyfipname239e0f35\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/publicIPAddresses/pyipname239e0f35\"\r\n @@ -364,14 +367,14 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"pyapname239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/backendAddressPools/pyapname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/loadBalancingRules/azure-sample-lb-rule\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": \"azure-sample-lb-rule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/loadBalancingRules/azure-sample-lb-rule\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": @@ -382,7 +385,7 @@ interactions: \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/probes/pyprobename239e0f35\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n \ \"name\": \"pyprobename239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/probes/pyprobename239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"healthprobe.aspx\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -391,36 +394,37 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n \"name\": \"azure-sample-netrule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/inboundNatRules/azure-sample-netrule1\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 21,\r\n \"backendPort\": 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\"\r\n }\r\n },\r\n {\r\n \ \"name\": \"azure-sample-netrule2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/inboundNatRules/azure-sample-netrule2\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 23,\r\n \"backendPort\": 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\"\r\n }\r\n }\r\n ],\r\n - \ \"outboundNatRules\": [],\r\n \"inboundNatPools\": []\r\n }\r\n}"} + \ \"outboundNatRules\": [],\r\n \"inboundNatPools\": []\r\n },\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:41:30 GMT'] - ETag: [W/"a6347b79-1f6d-415e-97d3-e88ee3371139"] + Date: ['Tue, 22 Aug 2017 23:54:06 GMT'] + ETag: [W/"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Transfer-Encoding: [chunked] Vary: [Accept-Encoding] - content-length: ['7199'] - x-ms-correlation-request-id: [e5468d46-f9e0-4e44-bde7-c08b994fe3c7] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [0e5d0a10-96e9-4459-841a-b0d3fe15b4ce] - x-ms-routing-request-id: ['WESTUS2:20170627T164130Z:e5468d46-f9e0-4e44-bde7-c08b994fe3c7'] + content-length: ['7238'] + x-ms-correlation-request-id: [c8e1bdae-61cd-45c5-b015-b4f99888db1a] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [d3b55957-becd-454b-b46d-940115f1a4cc] + x-ms-routing-request-id: ['WESTUS2:20170822T235406Z:c8e1bdae-61cd-45c5-b015-b4f99888db1a'] status: {code: 200, message: OK} - request: body: null @@ -429,236 +433,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [78bf68e8-5b57-11e7-bf36-ecb1d756380e] + x-ms-client-request-id: [2eee1c52-8795-11e7-8e8c-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/loadBalancers?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/loadBalancers?api-version=2017-08-01 response: - body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"LB-testfabriclmaz-testlmaz\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz\",\r\n - \ \"etag\": \"W/\\\"fb22b24b-597f-4a08-aa24-4e9d251222f6\\\"\",\r\n \"type\": - \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {\r\n \"resourceType\": \"Service Fabric\",\r\n \"clusterName\": - \"testfabriclmaz\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"b90574d7-a723-40de-a4be-68dfcbf02b6f\",\r\n - \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": - \"LoadBalancerIPConfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/frontendIPConfigurations/LoadBalancerIPConfig\",\r\n - \ \"etag\": \"W/\\\"fb22b24b-597f-4a08-aa24-4e9d251222f6\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/publicIPAddresses/LBIP-testfabriclmaz-0\"\r\n - \ },\r\n \"loadBalancingRules\": [\r\n {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/loadBalancingRules/LBRule\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/loadBalancingRules/LBHttpRule\"\r\n - \ }\r\n ],\r\n \"inboundNatPools\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/inboundNatPools/LoadBalancerBEAddressNatPool\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n ],\r\n - \ \"backendAddressPools\": [\r\n {\r\n \"name\": - \"LoadBalancerBEAddressPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/backendAddressPools/LoadBalancerBEAddressPool\",\r\n - \ \"etag\": \"W/\\\"fb22b24b-597f-4a08-aa24-4e9d251222f6\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"loadBalancingRules\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/loadBalancingRules/LBRule\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/loadBalancingRules/LBHttpRule\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n ],\r\n - \ \"loadBalancingRules\": [\r\n {\r\n \"name\": - \"LBRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/loadBalancingRules/LBRule\",\r\n - \ \"etag\": \"W/\\\"fb22b24b-597f-4a08-aa24-4e9d251222f6\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/frontendIPConfigurations/LoadBalancerIPConfig\"\r\n - \ },\r\n \"frontendPort\": 19000,\r\n \"backendPort\": - 19000,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": - 5,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": - \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/backendAddressPools/LoadBalancerBEAddressPool\"\r\n - \ },\r\n \"probe\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/probes/FabricGatewayProbe\"\r\n - \ }\r\n }\r\n },\r\n {\r\n \"name\": - \"LBHttpRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/loadBalancingRules/LBHttpRule\",\r\n - \ \"etag\": \"W/\\\"fb22b24b-597f-4a08-aa24-4e9d251222f6\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/frontendIPConfigurations/LoadBalancerIPConfig\"\r\n - \ },\r\n \"frontendPort\": 19080,\r\n \"backendPort\": - 19080,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": - 5,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": - \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/backendAddressPools/LoadBalancerBEAddressPool\"\r\n - \ },\r\n \"probe\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/probes/FabricHttpGatewayProbe\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"probes\": - [\r\n {\r\n \"name\": \"FabricGatewayProbe\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/probes/FabricGatewayProbe\",\r\n - \ \"etag\": \"W/\\\"fb22b24b-597f-4a08-aa24-4e9d251222f6\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"protocol\": \"Tcp\",\r\n \"port\": 19000,\r\n - \ \"intervalInSeconds\": 5,\r\n \"numberOfProbes\": - 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/loadBalancingRules/LBRule\"\r\n - \ }\r\n ]\r\n }\r\n },\r\n - \ {\r\n \"name\": \"FabricHttpGatewayProbe\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/probes/FabricHttpGatewayProbe\",\r\n - \ \"etag\": \"W/\\\"fb22b24b-597f-4a08-aa24-4e9d251222f6\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"protocol\": \"Tcp\",\r\n \"port\": 19080,\r\n - \ \"intervalInSeconds\": 5,\r\n \"numberOfProbes\": - 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/loadBalancingRules/LBHttpRule\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n ],\r\n - \ \"inboundNatRules\": [],\r\n \"outboundNatRules\": [],\r\n - \ \"inboundNatPools\": [\r\n {\r\n \"name\": \"LoadBalancerBEAddressNatPool\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/inboundNatPools/LoadBalancerBEAddressNatPool\",\r\n - \ \"etag\": \"W/\\\"fb22b24b-597f-4a08-aa24-4e9d251222f6\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"frontendPortRangeStart\": 3389,\r\n \"frontendPortRangeEnd\": - 4500,\r\n \"backendPort\": 3389,\r\n \"protocol\": - \"Tcp\",\r\n \"frontendIPConfiguration\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/frontendIPConfigurations/LoadBalancerIPConfig\"\r\n - \ }\r\n }\r\n }\r\n ]\r\n }\r\n - \ },\r\n {\r\n \"name\": \"swarm-agent-lb-50B362A3\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3\",\r\n - \ \"etag\": \"W/\\\"264c3086-bc80-4f10-b4ca-b5bc9f53301c\\\"\",\r\n \"type\": - \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"1f985e74-0c07-48f5-8dab-f9332a086c14\",\r\n \"frontendIPConfigurations\": - [\r\n {\r\n \"name\": \"swarm-agent-lbFrontEnd-50B362A3\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/frontendIPConfigurations/swarm-agent-lbFrontEnd-50B362A3\",\r\n - \ \"etag\": \"W/\\\"264c3086-bc80-4f10-b4ca-b5bc9f53301c\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/publicIPAddresses/swarm-agent-ip-pythonswarmagents-50B362A3\"\r\n - \ },\r\n \"loadBalancingRules\": [\r\n {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/loadBalancingRules/LBRuleHTTP\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/loadBalancingRules/LBRuleHTTPS\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/loadBalancingRules/LBRulePort8080\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n ],\r\n - \ \"backendAddressPools\": [\r\n {\r\n \"name\": - \"swarm-agent-pool-50B362A3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/backendAddressPools/swarm-agent-pool-50B362A3\",\r\n - \ \"etag\": \"W/\\\"264c3086-bc80-4f10-b4ca-b5bc9f53301c\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"backendIPConfigurations\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Compute/virtualMachineScaleSets/swarm-agent-50B362A3-vmss/virtualMachines/1/networkInterfaces/agentNodeNic/ipConfigurations/nicipconfig\"\r\n - \ }\r\n ],\r\n \"loadBalancingRules\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/loadBalancingRules/LBRuleHTTP\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/loadBalancingRules/LBRuleHTTPS\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/loadBalancingRules/LBRulePort8080\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n ],\r\n - \ \"loadBalancingRules\": [\r\n {\r\n \"name\": - \"LBRuleHTTP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/loadBalancingRules/LBRuleHTTP\",\r\n - \ \"etag\": \"W/\\\"264c3086-bc80-4f10-b4ca-b5bc9f53301c\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/frontendIPConfigurations/swarm-agent-lbFrontEnd-50B362A3\"\r\n - \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": - 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": - 5,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": - \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/backendAddressPools/swarm-agent-pool-50B362A3\"\r\n - \ },\r\n \"probe\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/probes/tcpHTTPProbe\"\r\n - \ }\r\n }\r\n },\r\n {\r\n \"name\": - \"LBRuleHTTPS\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/loadBalancingRules/LBRuleHTTPS\",\r\n - \ \"etag\": \"W/\\\"264c3086-bc80-4f10-b4ca-b5bc9f53301c\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/frontendIPConfigurations/swarm-agent-lbFrontEnd-50B362A3\"\r\n - \ },\r\n \"frontendPort\": 443,\r\n \"backendPort\": - 443,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": - 5,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": - \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/backendAddressPools/swarm-agent-pool-50B362A3\"\r\n - \ },\r\n \"probe\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/probes/tcpHTTPSProbe\"\r\n - \ }\r\n }\r\n },\r\n {\r\n \"name\": - \"LBRulePort8080\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/loadBalancingRules/LBRulePort8080\",\r\n - \ \"etag\": \"W/\\\"264c3086-bc80-4f10-b4ca-b5bc9f53301c\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/frontendIPConfigurations/swarm-agent-lbFrontEnd-50B362A3\"\r\n - \ },\r\n \"frontendPort\": 8080,\r\n \"backendPort\": - 8080,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": - 5,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": - \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/backendAddressPools/swarm-agent-pool-50B362A3\"\r\n - \ },\r\n \"probe\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/probes/tcpPort8080Probe\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"probes\": - [\r\n {\r\n \"name\": \"tcpHTTPProbe\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/probes/tcpHTTPProbe\",\r\n - \ \"etag\": \"W/\\\"264c3086-bc80-4f10-b4ca-b5bc9f53301c\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"protocol\": \"Tcp\",\r\n \"port\": 80,\r\n \"intervalInSeconds\": - 5,\r\n \"numberOfProbes\": 2,\r\n \"loadBalancingRules\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/loadBalancingRules/LBRuleHTTP\"\r\n - \ }\r\n ]\r\n }\r\n },\r\n - \ {\r\n \"name\": \"tcpHTTPSProbe\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/probes/tcpHTTPSProbe\",\r\n - \ \"etag\": \"W/\\\"264c3086-bc80-4f10-b4ca-b5bc9f53301c\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"protocol\": \"Tcp\",\r\n \"port\": 443,\r\n \"intervalInSeconds\": - 5,\r\n \"numberOfProbes\": 2,\r\n \"loadBalancingRules\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/loadBalancingRules/LBRuleHTTPS\"\r\n - \ }\r\n ]\r\n }\r\n },\r\n - \ {\r\n \"name\": \"tcpPort8080Probe\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/probes/tcpPort8080Probe\",\r\n - \ \"etag\": \"W/\\\"264c3086-bc80-4f10-b4ca-b5bc9f53301c\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"protocol\": \"Tcp\",\r\n \"port\": 8080,\r\n - \ \"intervalInSeconds\": 5,\r\n \"numberOfProbes\": - 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/loadBalancingRules/LBRulePort8080\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n ],\r\n - \ \"inboundNatRules\": [],\r\n \"outboundNatRules\": [],\r\n - \ \"inboundNatPools\": []\r\n }\r\n },\r\n {\r\n \"name\": - \"swarm-master-lb-50B362A3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-master-lb-50B362A3\",\r\n - \ \"etag\": \"W/\\\"7936ad03-a236-4561-b611-cc7dff30a621\\\"\",\r\n \"type\": - \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"d8ac3153-bb09-4527-96d4-87f9bf5f9987\",\r\n \"frontendIPConfigurations\": - [\r\n {\r\n \"name\": \"swarm-master-lbFrontEnd-50B362A3\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-master-lb-50B362A3/frontendIPConfigurations/swarm-master-lbFrontEnd-50B362A3\",\r\n - \ \"etag\": \"W/\\\"7936ad03-a236-4561-b611-cc7dff30a621\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/publicIPAddresses/swarm-master-ip-pythonswarmmgmt-50B362A3\"\r\n - \ },\r\n \"inboundNatRules\": [\r\n {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-master-lb-50B362A3/inboundNatRules/SSH-swarm-master-50B362A3-0\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-master-lb-50B362A3/inboundNatRules/SSHPort22-swarm-master-50B362A3-0\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n ],\r\n - \ \"backendAddressPools\": [\r\n {\r\n \"name\": - \"swarm-master-pool-50B362A3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-master-lb-50B362A3/backendAddressPools/swarm-master-pool-50B362A3\",\r\n - \ \"etag\": \"W/\\\"7936ad03-a236-4561-b611-cc7dff30a621\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"backendIPConfigurations\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/networkInterfaces/swarm-master-50B362A3-nic-0/ipConfigurations/ipConfigNode\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n ],\r\n - \ \"loadBalancingRules\": [],\r\n \"probes\": [],\r\n \"inboundNatRules\": - [\r\n {\r\n \"name\": \"SSH-swarm-master-50B362A3-0\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-master-lb-50B362A3/inboundNatRules/SSH-swarm-master-50B362A3-0\",\r\n - \ \"etag\": \"W/\\\"7936ad03-a236-4561-b611-cc7dff30a621\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-master-lb-50B362A3/frontendIPConfigurations/swarm-master-lbFrontEnd-50B362A3\"\r\n - \ },\r\n \"frontendPort\": 2200,\r\n \"backendPort\": - 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": - 4,\r\n \"protocol\": \"Tcp\",\r\n \"backendIPConfiguration\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/networkInterfaces/swarm-master-50B362A3-nic-0/ipConfigurations/ipConfigNode\"\r\n - \ }\r\n }\r\n },\r\n {\r\n \"name\": - \"SSHPort22-swarm-master-50B362A3-0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-master-lb-50B362A3/inboundNatRules/SSHPort22-swarm-master-50B362A3-0\",\r\n - \ \"etag\": \"W/\\\"7936ad03-a236-4561-b611-cc7dff30a621\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-master-lb-50B362A3/frontendIPConfigurations/swarm-master-lbFrontEnd-50B362A3\"\r\n - \ },\r\n \"frontendPort\": 22,\r\n \"backendPort\": - 2222,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": - 4,\r\n \"protocol\": \"Tcp\",\r\n \"backendIPConfiguration\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/networkInterfaces/swarm-master-50B362A3-nic-0/ipConfigurations/ipConfigNode\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"outboundNatRules\": - [],\r\n \"inboundNatPools\": []\r\n }\r\n },\r\n {\r\n \"name\": - \"pylbname239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n \"type\": + body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pylbname239e0f35\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"1c91ee94-baf3-4a48-856c-34a215678ba4\",\r\n \"frontendIPConfigurations\": + \ \"resourceGuid\": \"d6c9832a-fb8c-4a7f-bcc9-cb660c2d63eb\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"pyfipname239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/publicIPAddresses/pyipname239e0f35\"\r\n @@ -670,14 +460,14 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \ \"backendAddressPools\": [\r\n {\r\n \"name\": \"pyapname239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/backendAddressPools/pyapname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/loadBalancingRules/azure-sample-lb-rule\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \ \"loadBalancingRules\": [\r\n {\r\n \"name\": \"azure-sample-lb-rule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/loadBalancingRules/azure-sample-lb-rule\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": @@ -690,7 +480,7 @@ interactions: \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n \"name\": \"pyprobename239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/probes/pyprobename239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"healthprobe.aspx\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -699,7 +489,7 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \ \"inboundNatRules\": [\r\n {\r\n \"name\": \"azure-sample-netrule1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/inboundNatRules/azure-sample-netrule1\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 21,\r\n \"backendPort\": @@ -707,29 +497,30 @@ interactions: 4,\r\n \"protocol\": \"Tcp\"\r\n }\r\n },\r\n \ {\r\n \"name\": \"azure-sample-netrule2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/inboundNatRules/azure-sample-netrule2\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 23,\r\n \"backendPort\": 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\"\r\n }\r\n }\r\n \ ],\r\n \"outboundNatRules\": [],\r\n \"inboundNatPools\": - []\r\n }\r\n }\r\n ]\r\n}"} + []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n + \ }\r\n ]\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:41:30 GMT'] + Date: ['Tue, 22 Aug 2017 23:54:06 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Transfer-Encoding: [chunked] Vary: [Accept-Encoding] - content-length: ['33183'] - x-ms-correlation-request-id: [c4af57f4-cf1c-4c82-bb1a-64242b25ac31] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [f9759e97-7274-48c8-bf3f-405fcf29c829] - x-ms-routing-request-id: ['WESTUS2:20170627T164130Z:c4af57f4-cf1c-4c82-bb1a-64242b25ac31'] + content-length: ['7811'] + x-ms-correlation-request-id: [577df9c5-31f0-4cc1-bec6-1358993699cb] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [0015b51d-0deb-476e-b6ad-b0be184e41c5] + x-ms-routing-request-id: ['WESTUS2:20170822T235406Z:577df9c5-31f0-4cc1-bec6-1358993699cb'] status: {code: 200, message: OK} - request: body: null @@ -738,22 +529,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [78f5bf22-5b57-11e7-8ae0-ecb1d756380e] + x-ms-client-request-id: [2f341bb4-8795-11e7-8c1c-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pylbname239e0f35\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"1c91ee94-baf3-4a48-856c-34a215678ba4\",\r\n \"frontendIPConfigurations\": + \ \"resourceGuid\": \"d6c9832a-fb8c-4a7f-bcc9-cb660c2d63eb\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"pyfipname239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/publicIPAddresses/pyipname239e0f35\"\r\n @@ -765,14 +556,14 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \ \"backendAddressPools\": [\r\n {\r\n \"name\": \"pyapname239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/backendAddressPools/pyapname239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/loadBalancingRules/azure-sample-lb-rule\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \ \"loadBalancingRules\": [\r\n {\r\n \"name\": \"azure-sample-lb-rule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/loadBalancingRules/azure-sample-lb-rule\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": @@ -785,7 +576,7 @@ interactions: \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n \"name\": \"pyprobename239e0f35\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/probes/pyprobename239e0f35\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"healthprobe.aspx\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -794,7 +585,7 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \ \"inboundNatRules\": [\r\n {\r\n \"name\": \"azure-sample-netrule1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/inboundNatRules/azure-sample-netrule1\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 21,\r\n \"backendPort\": @@ -802,29 +593,30 @@ interactions: 4,\r\n \"protocol\": \"Tcp\"\r\n }\r\n },\r\n \ {\r\n \"name\": \"azure-sample-netrule2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/inboundNatRules/azure-sample-netrule2\",\r\n - \ \"etag\": \"W/\\\"a6347b79-1f6d-415e-97d3-e88ee3371139\\\"\",\r\n + \ \"etag\": \"W/\\\"3b098f38-bdce-4484-9eaa-40e8e5f9cd0b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35/frontendIPConfigurations/pyfipname239e0f35\"\r\n \ },\r\n \"frontendPort\": 23,\r\n \"backendPort\": 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\"\r\n }\r\n }\r\n \ ],\r\n \"outboundNatRules\": [],\r\n \"inboundNatPools\": - []\r\n }\r\n }\r\n ]\r\n}"} + []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n + \ }\r\n ]\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:41:30 GMT'] + Date: ['Tue, 22 Aug 2017 23:54:06 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Transfer-Encoding: [chunked] Vary: [Accept-Encoding] - content-length: ['7760'] - x-ms-correlation-request-id: [4a09eb05-7b2d-495b-9cbb-07cb2218d621] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [5b75c611-1687-47c6-9840-a4e5117218e5] - x-ms-routing-request-id: ['WESTUS2:20170627T164130Z:4a09eb05-7b2d-495b-9cbb-07cb2218d621'] + content-length: ['7811'] + x-ms-correlation-request-id: [bb8830d0-6f5e-447c-8c26-8fb091eaa2a4] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [9733d761-8fad-4713-bbf3-cdce7584fe84] + x-ms-routing-request-id: ['WESTUS2:20170822T235407Z:bb8830d0-6f5e-447c-8c26-8fb091eaa2a4'] status: {code: 200, message: OK} - request: body: null @@ -834,29 +626,29 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [791ad5e4-5b57-11e7-a440-ecb1d756380e] + x-ms-client-request-id: [2f947de4-8795-11e7-9cee-ecb1d756380e] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_load_balancers239e0f35/providers/Microsoft.Network/loadBalancers/pylbname239e0f35?api-version=2017-08-01 response: body: {string: ''} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1f21cf68-8d63-4365-95de-6878c4ef9e0e?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/864dde14-378e-41a7-a19a-e0e2d96c3d7f?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['0'] - Date: ['Tue, 27 Jun 2017 16:41:31 GMT'] + Date: ['Tue, 22 Aug 2017 23:54:08 GMT'] Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/1f21cf68-8d63-4365-95de-6878c4ef9e0e?api-version=2017-06-01'] + Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/864dde14-378e-41a7-a19a-e0e2d96c3d7f?api-version=2017-08-01'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [1597b5a0-0c10-4a56-b8e1-66566564d37c] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - x-ms-request-id: [1f21cf68-8d63-4365-95de-6878c4ef9e0e] - x-ms-routing-request-id: ['WESTUS2:20170627T164131Z:1597b5a0-0c10-4a56-b8e1-66566564d37c'] + x-ms-correlation-request-id: [5b0b6109-10aa-469b-ab11-b3bd4f6d9d42] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-request-id: [864dde14-378e-41a7-a19a-e0e2d96c3d7f] + x-ms-routing-request-id: ['WESTUS2:20170822T235408Z:5b0b6109-10aa-469b-ab11-b3bd4f6d9d42'] status: {code: 202, message: Accepted} - request: body: null @@ -865,18 +657,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [791ad5e4-5b57-11e7-a440-ecb1d756380e] + x-ms-client-request-id: [2f947de4-8795-11e7-9cee-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1f21cf68-8d63-4365-95de-6878c4ef9e0e?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/864dde14-378e-41a7-a19a-e0e2d96c3d7f?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:41:41 GMT'] + Date: ['Tue, 22 Aug 2017 23:54:18 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -884,9 +676,9 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [f60591b3-2d25-45fa-b24e-b4f6810e818f] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [b888a24b-4580-4c82-91a9-f29306a475f4] - x-ms-routing-request-id: ['WESTUS2:20170627T164142Z:f60591b3-2d25-45fa-b24e-b4f6810e818f'] + x-ms-correlation-request-id: [590c8090-d405-40b4-bfc0-5b6bbc6e4e33] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [7c9dbfc0-444c-4c70-958a-3f281ebf525c] + x-ms-routing-request-id: ['WESTUS2:20170822T235418Z:590c8090-d405-40b4-bfc0-5b6bbc6e4e33'] status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt/tests/recordings/test_mgmt_network.test_network_interface_card.yaml b/azure-mgmt/tests/recordings/test_mgmt_network.test_network_interface_card.yaml index 57b737172690..dd1f833d9b23 100644 --- a/azure-mgmt/tests/recordings/test_mgmt_network.test_network_interface_card.yaml +++ b/azure-mgmt/tests/recordings/test_mgmt_network.test_network_interface_card.yaml @@ -1,42 +1,42 @@ interactions: - request: - body: '{"properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, - "location": "westus"}' + body: '{"location": "westus", "properties": {"addressSpace": {"addressPrefixes": + ["10.0.0.0/16"]}}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['92'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [0b8cb350-5b57-11e7-8653-ecb1d756380e] + x-ms-client-request-id: [39a263a4-8795-11e7-ba1d-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyvnetb046129e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e\",\r\n - \ \"etag\": \"W/\\\"6b2030d5-d002-4c5d-a6ef-9330b56b3cef\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"c66c077f-aecf-47d5-9258-857458a0a83b\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"ae17888a-5d36-4980-aa07-869066e60ee9\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + \"67a9ffaa-307d-464a-a719-ff78a5059bb5\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n \ \"virtualNetworkPeerings\": []\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/998f5ae6-911e-4d81-86a8-8d2ccb193455?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a977cbe5-8390-4caa-97cf-ef9b4fd180ab?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['623'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:38:27 GMT'] + Date: ['Tue, 22 Aug 2017 23:54:25 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [9691a826-bff0-4935-b9d8-3fe411168693] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [998f5ae6-911e-4d81-86a8-8d2ccb193455] - x-ms-routing-request-id: ['WESTUS:20170627T163827Z:9691a826-bff0-4935-b9d8-3fe411168693'] + x-ms-correlation-request-id: [3c9d2753-6055-4ffe-add8-1de68b595e54] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-request-id: [a977cbe5-8390-4caa-97cf-ef9b4fd180ab] + x-ms-routing-request-id: ['WESTUS2:20170822T235425Z:3c9d2753-6055-4ffe-add8-1de68b595e54'] status: {code: 201, message: Created} - request: body: null @@ -45,18 +45,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [0b8cb350-5b57-11e7-8653-ecb1d756380e] + x-ms-client-request-id: [39a263a4-8795-11e7-ba1d-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/998f5ae6-911e-4d81-86a8-8d2ccb193455?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a977cbe5-8390-4caa-97cf-ef9b4fd180ab?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:38:30 GMT'] + Date: ['Tue, 22 Aug 2017 23:54:29 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -64,10 +64,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [20a0aaeb-15e4-4c51-aa6f-3dcad281725b] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [c0bc8434-c8c1-4789-9a66-f85252c00d46] - x-ms-routing-request-id: ['WESTUS:20170627T163831Z:20a0aaeb-15e4-4c51-aa6f-3dcad281725b'] + x-ms-correlation-request-id: [64636045-1f06-4052-bbfe-453c2a8f3eef] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [8ca30758-a95c-44ff-906d-ffb6300131f3] + x-ms-routing-request-id: ['WESTUS2:20170822T235429Z:64636045-1f06-4052-bbfe-453c2a8f3eef'] status: {code: 200, message: OK} - request: body: null @@ -76,25 +76,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [0b8cb350-5b57-11e7-8653-ecb1d756380e] + x-ms-client-request-id: [39a263a4-8795-11e7-ba1d-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyvnetb046129e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e\",\r\n - \ \"etag\": \"W/\\\"41648db8-28b8-42d3-900c-c533ce0bdcc8\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"d45fc381-16d0-4841-8e44-7aadbf53ace8\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"ae17888a-5d36-4980-aa07-869066e60ee9\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + \"67a9ffaa-307d-464a-a719-ff78a5059bb5\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n \ \"virtualNetworkPeerings\": []\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:38:31 GMT'] - ETag: [W/"41648db8-28b8-42d3-900c-c533ce0bdcc8"] + Date: ['Tue, 22 Aug 2017 23:54:29 GMT'] + ETag: [W/"d45fc381-16d0-4841-8e44-7aadbf53ace8"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -102,10 +102,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['624'] - x-ms-correlation-request-id: [b60479e8-5881-46b6-b305-20af0d269ecf] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [20aec7fc-fbb7-47cd-b70e-02ab4f2ed75f] - x-ms-routing-request-id: ['WESTUS:20170627T163831Z:b60479e8-5881-46b6-b305-20af0d269ecf'] + x-ms-correlation-request-id: [a392d08d-cbb6-421d-92c4-de65704c3d0b] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [93f05661-84b2-4886-a877-9d168af5e5c3] + x-ms-routing-request-id: ['WESTUS2:20170822T235429Z:a392d08d-cbb6-421d-92c4-de65704c3d0b'] status: {code: 200, message: OK} - request: body: '{"properties": {"addressPrefix": "10.0.0.0/24"}}' @@ -115,32 +115,32 @@ interactions: Connection: [keep-alive] Content-Length: ['48'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [0e33f326-5b57-11e7-a699-ecb1d756380e] + x-ms-client-request-id: [3cc6df82-8795-11e7-a347-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e/subnets/pysubnetb046129e?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e/subnets/pysubnetb046129e?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysubnetb046129e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e/subnets/pysubnetb046129e\",\r\n - \ \"etag\": \"W/\\\"d321db56-c58b-4a41-b08a-2eab10a0e2c1\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"21fd468e-189e-4f02-823c-240b11fd3b76\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\"\r\n \ }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/81dec444-da6e-4a47-a2fb-8a44e5ead6a8?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/04713368-615d-403d-9818-743a9159f4fe?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['407'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:38:32 GMT'] + Date: ['Tue, 22 Aug 2017 23:54:29 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [cb5afe99-47e6-46e3-80d2-16904d970359] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [81dec444-da6e-4a47-a2fb-8a44e5ead6a8] - x-ms-routing-request-id: ['WESTUS:20170627T163832Z:cb5afe99-47e6-46e3-80d2-16904d970359'] + x-ms-correlation-request-id: [a9c2b5dc-17b4-4926-80ca-cdb29cd82367] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-request-id: [04713368-615d-403d-9818-743a9159f4fe] + x-ms-routing-request-id: ['WESTUS2:20170822T235430Z:a9c2b5dc-17b4-4926-80ca-cdb29cd82367'] status: {code: 201, message: Created} - request: body: null @@ -149,18 +149,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [0e33f326-5b57-11e7-a699-ecb1d756380e] + x-ms-client-request-id: [3cc6df82-8795-11e7-a347-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/81dec444-da6e-4a47-a2fb-8a44e5ead6a8?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/04713368-615d-403d-9818-743a9159f4fe?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:38:34 GMT'] + Date: ['Tue, 22 Aug 2017 23:54:33 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -168,10 +168,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [7202a774-a171-4cfd-acd5-4d782ce64ad3] - x-ms-ratelimit-remaining-subscription-reads: ['14989'] - x-ms-request-id: [b3d39d9e-219d-4a60-b33f-357637098149] - x-ms-routing-request-id: ['WESTUS:20170627T163835Z:7202a774-a171-4cfd-acd5-4d782ce64ad3'] + x-ms-correlation-request-id: [e87fda77-7578-4744-9862-453aae0367b0] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [14142908-3b0a-4bc6-9e45-eb290bfc7ff4] + x-ms-routing-request-id: ['WESTUS2:20170822T235433Z:e87fda77-7578-4744-9862-453aae0367b0'] status: {code: 200, message: OK} - request: body: null @@ -180,22 +180,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [0e33f326-5b57-11e7-a699-ecb1d756380e] + x-ms-client-request-id: [3cc6df82-8795-11e7-a347-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e/subnets/pysubnetb046129e?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e/subnets/pysubnetb046129e?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysubnetb046129e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e/subnets/pysubnetb046129e\",\r\n - \ \"etag\": \"W/\\\"745fff90-84a3-4db6-8e93-428b384404c4\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"607ff171-9aee-47c2-b1f3-afb01a624bf3\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\"\r\n \ }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:38:35 GMT'] - ETag: [W/"745fff90-84a3-4db6-8e93-428b384404c4"] + Date: ['Tue, 22 Aug 2017 23:54:33 GMT'] + ETag: [W/"607ff171-9aee-47c2-b1f3-afb01a624bf3"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -203,56 +203,55 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['408'] - x-ms-correlation-request-id: [8c5c926a-f227-45a7-9c50-5b795d636820] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [9c2d62e7-c6fa-476c-bafa-1e59bfce5603] - x-ms-routing-request-id: ['WESTUS:20170627T163836Z:8c5c926a-f227-45a7-9c50-5b795d636820'] + x-ms-correlation-request-id: [82d793b6-fc7b-45f3-9124-b1fc551ead6a] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [21ac7055-2beb-471d-83ca-dc3f8f6a4c29] + x-ms-routing-request-id: ['WESTUS2:20170822T235434Z:82d793b6-fc7b-45f3-9124-b1fc551ead6a'] status: {code: 200, message: OK} - request: - body: '{"properties": {"ipConfigurations": [{"name": "MyIpConfig", "properties": - {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e/subnets/pysubnetb046129e"}}}]}, - "location": "westus"}' + body: '{"location": "westus", "properties": {"ipConfigurations": [{"name": "MyIpConfig", + "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e/subnets/pysubnetb046129e"}}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['326'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [10eb5822-5b57-11e7-8b8a-ecb1d756380e] + x-ms-client-request-id: [3f93f04a-8795-11e7-80df-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pynicb046129e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e\",\r\n - \ \"etag\": \"W/\\\"e05575b1-04b6-41e9-953b-d24e50c1ff6e\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"b88c1e25-61bd-49cb-9087-76e3d60b9e23\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"a169848f-16e1-4ec3-bc2d-2651121ff665\",\r\n \"ipConfigurations\": + \ \"resourceGuid\": \"ed26fc0b-b074-4319-8969-8c131c724cf7\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"MyIpConfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e/ipConfigurations/MyIpConfig\",\r\n - \ \"etag\": \"W/\\\"e05575b1-04b6-41e9-953b-d24e50c1ff6e\\\"\",\r\n + \ \"etag\": \"W/\\\"b88c1e25-61bd-49cb-9087-76e3d60b9e23\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e/subnets/pysubnetb046129e\"\r\n \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"rkebplrwlwaetkqhq0ignzqo3b.dx.internal.cloudapp.net\"\r\n },\r\n \"enableAcceleratedNetworking\": + \"vl50sz13gbfenjyz532kkbm1wf.dx.internal.cloudapp.net\"\r\n },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\": false\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fcad45e4-92ff-44db-9ed4-1062c220c546?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/592d65c0-64fd-433f-ab4d-5636865a6027?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['1618'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:38:36 GMT'] + Date: ['Tue, 22 Aug 2017 23:54:34 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [62e4c201-b881-4821-b459-4c0f4753fa75] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [fcad45e4-92ff-44db-9ed4-1062c220c546] - x-ms-routing-request-id: ['WESTUS:20170627T163836Z:62e4c201-b881-4821-b459-4c0f4753fa75'] + x-ms-correlation-request-id: [e6e063c9-1f9b-4e9c-844e-dc7ed30ef26d] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-request-id: [592d65c0-64fd-433f-ab4d-5636865a6027] + x-ms-routing-request-id: ['WESTUS2:20170822T235435Z:e6e063c9-1f9b-4e9c-844e-dc7ed30ef26d'] status: {code: 201, message: Created} - request: body: null @@ -261,18 +260,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [10eb5822-5b57-11e7-8b8a-ecb1d756380e] + x-ms-client-request-id: [3f93f04a-8795-11e7-80df-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fcad45e4-92ff-44db-9ed4-1062c220c546?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/592d65c0-64fd-433f-ab4d-5636865a6027?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:06 GMT'] + Date: ['Tue, 22 Aug 2017 23:55:05 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -280,10 +279,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [fcc5709b-01e8-42d6-b9ed-f565829f1f40] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [5013ee14-2e37-4c5e-9170-03237505c6a7] - x-ms-routing-request-id: ['WESTUS:20170627T163907Z:fcc5709b-01e8-42d6-b9ed-f565829f1f40'] + x-ms-correlation-request-id: [14f66e64-32be-4a33-9a00-0b190c758c19] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [1b0442b4-a1f7-437b-9b2e-ab6c6f3569ce] + x-ms-routing-request-id: ['WESTUS:20170822T235505Z:14f66e64-32be-4a33-9a00-0b190c758c19'] status: {code: 200, message: OK} - request: body: null @@ -292,32 +291,32 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [10eb5822-5b57-11e7-8b8a-ecb1d756380e] + x-ms-client-request-id: [3f93f04a-8795-11e7-80df-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pynicb046129e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e\",\r\n - \ \"etag\": \"W/\\\"e05575b1-04b6-41e9-953b-d24e50c1ff6e\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"b88c1e25-61bd-49cb-9087-76e3d60b9e23\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"a169848f-16e1-4ec3-bc2d-2651121ff665\",\r\n \"ipConfigurations\": + \ \"resourceGuid\": \"ed26fc0b-b074-4319-8969-8c131c724cf7\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"MyIpConfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e/ipConfigurations/MyIpConfig\",\r\n - \ \"etag\": \"W/\\\"e05575b1-04b6-41e9-953b-d24e50c1ff6e\\\"\",\r\n + \ \"etag\": \"W/\\\"b88c1e25-61bd-49cb-9087-76e3d60b9e23\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e/subnets/pysubnetb046129e\"\r\n \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"rkebplrwlwaetkqhq0ignzqo3b.dx.internal.cloudapp.net\"\r\n },\r\n \"enableAcceleratedNetworking\": + \"vl50sz13gbfenjyz532kkbm1wf.dx.internal.cloudapp.net\"\r\n },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\": false\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:06 GMT'] - ETag: [W/"e05575b1-04b6-41e9-953b-d24e50c1ff6e"] + Date: ['Tue, 22 Aug 2017 23:55:06 GMT'] + ETag: [W/"b88c1e25-61bd-49cb-9087-76e3d60b9e23"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -325,10 +324,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['1618'] - x-ms-correlation-request-id: [7fda7642-6d04-4451-8b19-6b022ee85cfe] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [493be05f-f18e-48ea-af7e-d0dfbe3b9000] - x-ms-routing-request-id: ['WESTUS:20170627T163907Z:7fda7642-6d04-4451-8b19-6b022ee85cfe'] + x-ms-correlation-request-id: [753ad3cc-fb1e-417d-8899-5c6594b50766] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [af65365e-4f5e-497e-8564-2557c76f021b] + x-ms-routing-request-id: ['WESTUS:20170822T235506Z:753ad3cc-fb1e-417d-8899-5c6594b50766'] status: {code: 200, message: OK} - request: body: null @@ -337,32 +336,32 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [237e53cc-5b57-11e7-bea3-ecb1d756380e] + x-ms-client-request-id: [52c45818-8795-11e7-a08d-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pynicb046129e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e\",\r\n - \ \"etag\": \"W/\\\"e05575b1-04b6-41e9-953b-d24e50c1ff6e\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"b88c1e25-61bd-49cb-9087-76e3d60b9e23\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"a169848f-16e1-4ec3-bc2d-2651121ff665\",\r\n \"ipConfigurations\": + \ \"resourceGuid\": \"ed26fc0b-b074-4319-8969-8c131c724cf7\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"MyIpConfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e/ipConfigurations/MyIpConfig\",\r\n - \ \"etag\": \"W/\\\"e05575b1-04b6-41e9-953b-d24e50c1ff6e\\\"\",\r\n + \ \"etag\": \"W/\\\"b88c1e25-61bd-49cb-9087-76e3d60b9e23\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e/subnets/pysubnetb046129e\"\r\n \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"rkebplrwlwaetkqhq0ignzqo3b.dx.internal.cloudapp.net\"\r\n },\r\n \"enableAcceleratedNetworking\": + \"vl50sz13gbfenjyz532kkbm1wf.dx.internal.cloudapp.net\"\r\n },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\": false\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:06 GMT'] - ETag: [W/"e05575b1-04b6-41e9-953b-d24e50c1ff6e"] + Date: ['Tue, 22 Aug 2017 23:55:06 GMT'] + ETag: [W/"b88c1e25-61bd-49cb-9087-76e3d60b9e23"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -370,10 +369,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['1618'] - x-ms-correlation-request-id: [2e277e02-6c51-4271-b405-d18302689110] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [5406b11d-cb02-494e-9dd0-46a261cc972c] - x-ms-routing-request-id: ['WESTUS:20170627T163907Z:2e277e02-6c51-4271-b405-d18302689110'] + x-ms-correlation-request-id: [9dcf730a-c306-42cc-b411-5b3a228d7b69] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [9e5aadc8-4bc8-457c-a5dc-4c790f44b703] + x-ms-routing-request-id: ['WESTUS:20170822T235506Z:9dcf730a-c306-42cc-b411-5b3a228d7b69'] status: {code: 200, message: OK} - request: body: null @@ -382,35 +381,35 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [23b3469c-5b57-11e7-8a4c-ecb1d756380e] + x-ms-client-request-id: [53139f86-8795-11e7-b61f-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pynicb046129e\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e\",\r\n - \ \"etag\": \"W/\\\"e05575b1-04b6-41e9-953b-d24e50c1ff6e\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"b88c1e25-61bd-49cb-9087-76e3d60b9e23\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"a169848f-16e1-4ec3-bc2d-2651121ff665\",\r\n \"ipConfigurations\": + \ \"resourceGuid\": \"ed26fc0b-b074-4319-8969-8c131c724cf7\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"MyIpConfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e/ipConfigurations/MyIpConfig\",\r\n - \ \"etag\": \"W/\\\"e05575b1-04b6-41e9-953b-d24e50c1ff6e\\\"\",\r\n + \ \"etag\": \"W/\\\"b88c1e25-61bd-49cb-9087-76e3d60b9e23\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e/subnets/pysubnetb046129e\"\r\n \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n - \ \"internalDomainNameSuffix\": \"rkebplrwlwaetkqhq0ignzqo3b.dx.internal.cloudapp.net\"\r\n + \ \"internalDomainNameSuffix\": \"vl50sz13gbfenjyz532kkbm1wf.dx.internal.cloudapp.net\"\r\n \ },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\": false\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n \ }\r\n ]\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:07 GMT'] + Date: ['Tue, 22 Aug 2017 23:55:07 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -418,10 +417,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['1783'] - x-ms-correlation-request-id: [3bcb235b-f202-4987-aed9-b610ef38470a] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [154c736e-9197-40c0-a0ba-fa6f7518b76c] - x-ms-routing-request-id: ['WESTUS:20170627T163907Z:3bcb235b-f202-4987-aed9-b610ef38470a'] + x-ms-correlation-request-id: [c6789e72-6a58-44c1-a48f-9a4787284490] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [b027caaa-4545-45bb-beec-4b6a005288a1] + x-ms-routing-request-id: ['WESTUS:20170822T235507Z:c6789e72-6a58-44c1-a48f-9a4787284490'] status: {code: 200, message: OK} - request: body: null @@ -430,113 +429,46 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [23dda4a6-5b57-11e7-b881-ecb1d756380e] + x-ms-client-request-id: [53671f0c-8795-11e7-8915-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkInterfaces?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkInterfaces?api-version=2017-08-01 response: - body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"ubuntuserverdonotdel378\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkInterfaces/ubuntuserverdonotdel378\",\r\n - \ \"etag\": \"W/\\\"91fc5201-1327-4112-a5b4-412f5f3f78e6\\\"\",\r\n \"location\": - \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"01a63d0f-d4fc-4ac3-9df4-bf415552889f\",\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"ipconfig1\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkInterfaces/ubuntuserverdonotdel378/ipConfigurations/ipconfig1\",\r\n - \ \"etag\": \"W/\\\"91fc5201-1327-4112-a5b4-412f5f3f78e6\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateIPAddress\": \"10.2.0.4\",\r\n \"privateIPAllocationMethod\": - \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/publicIPAddresses/UbuntuServerDoNotDelete\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/virtualNetworks/DoNotDeleteGroup/subnets/default\"\r\n - \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": - \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": - {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n - \ \"internalDomainNameSuffix\": \"a2hd1qtx1wfubd5ii1zg5ukyqg.dx.internal.cloudapp.net\"\r\n - \ },\r\n \"macAddress\": \"00-0D-3A-32-D3-4C\",\r\n \"enableAcceleratedNetworking\": - false,\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkSecurityGroups/UbuntuServerDoNotDelete\"\r\n - \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Compute/virtualMachines/UbuntuServerDoNotDelete\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n - \ },\r\n {\r\n \"name\": \"swarm-master-50B362A3-nic-0\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/networkInterfaces/swarm-master-50B362A3-nic-0\",\r\n - \ \"etag\": \"W/\\\"1f4dd93e-f550-459e-a9f7-2761b3d43658\\\"\",\r\n \"location\": - \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"edf4151f-751c-4a06-ac63-473f67329270\",\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"ipConfigNode\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/networkInterfaces/swarm-master-50B362A3-nic-0/ipConfigurations/ipConfigNode\",\r\n - \ \"etag\": \"W/\\\"1f4dd93e-f550-459e-a9f7-2761b3d43658\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateIPAddress\": \"172.16.0.5\",\r\n \"privateIPAllocationMethod\": - \"Static\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/virtualNetworks/swarm-vnet-50B362A3/subnets/swarm-masterSubnet\"\r\n - \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": - \"IPv4\",\r\n \"loadBalancerBackendAddressPools\": [\r\n {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-master-lb-50B362A3/backendAddressPools/swarm-master-pool-50B362A3\"\r\n - \ }\r\n ],\r\n \"loadBalancerInboundNatRules\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-master-lb-50B362A3/inboundNatRules/SSH-swarm-master-50B362A3-0\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-master-lb-50B362A3/inboundNatRules/SSHPort22-swarm-master-50B362A3-0\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n ],\r\n - \ \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": - [],\r\n \"internalDomainNameSuffix\": \"50mi1qikkhaufihukpo2plzded.dx.internal.cloudapp.net\"\r\n - \ },\r\n \"macAddress\": \"00-0D-3A-32-A3-3A\",\r\n \"enableAcceleratedNetworking\": - false,\r\n \"enableIPForwarding\": false,\r\n \"primary\": true,\r\n - \ \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Compute/virtualMachines/swarm-master-50B362A3-0\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n - \ },\r\n {\r\n \"name\": \"monitortest686\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/networkInterfaces/monitortest686\",\r\n - \ \"etag\": \"W/\\\"15fbe2cf-3ffc-4471-839d-a3648eefe86e\\\"\",\r\n \"location\": - \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"ceda2687-9157-4e3e-9d3a-4d141ab856bf\",\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"ipconfig1\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/networkInterfaces/monitortest686/ipConfigurations/ipconfig1\",\r\n - \ \"etag\": \"W/\\\"15fbe2cf-3ffc-4471-839d-a3648eefe86e\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": - \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/virtualNetworks/MonitorTestsDoNotDelete-vnet/subnets/default\"\r\n - \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": - \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": - {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n - \ \"internalDomainNameSuffix\": \"s4ks05u5ftqufn3aoytzjkjsag.dx.internal.cloudapp.net\"\r\n - \ },\r\n \"macAddress\": \"00-0D-3A-33-DC-DA\",\r\n \"enableAcceleratedNetworking\": - false,\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/networkSecurityGroups/MonitorTest-nsg\"\r\n - \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Compute/virtualMachines/MonitorTest\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n - \ },\r\n {\r\n \"name\": \"pynicb046129e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e\",\r\n - \ \"etag\": \"W/\\\"e05575b1-04b6-41e9-953b-d24e50c1ff6e\\\"\",\r\n \"location\": + body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pynicb046129e\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e\",\r\n + \ \"etag\": \"W/\\\"b88c1e25-61bd-49cb-9087-76e3d60b9e23\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"a169848f-16e1-4ec3-bc2d-2651121ff665\",\r\n \"ipConfigurations\": + \ \"resourceGuid\": \"ed26fc0b-b074-4319-8969-8c131c724cf7\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"MyIpConfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e/ipConfigurations/MyIpConfig\",\r\n - \ \"etag\": \"W/\\\"e05575b1-04b6-41e9-953b-d24e50c1ff6e\\\"\",\r\n + \ \"etag\": \"W/\\\"b88c1e25-61bd-49cb-9087-76e3d60b9e23\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/virtualNetworks/pyvnetb046129e/subnets/pysubnetb046129e\"\r\n \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n - \ \"internalDomainNameSuffix\": \"rkebplrwlwaetkqhq0ignzqo3b.dx.internal.cloudapp.net\"\r\n + \ \"internalDomainNameSuffix\": \"vl50sz13gbfenjyz532kkbm1wf.dx.internal.cloudapp.net\"\r\n \ },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\": false\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n \ }\r\n ]\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:07 GMT'] + Date: ['Tue, 22 Aug 2017 23:55:07 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Transfer-Encoding: [chunked] Vary: [Accept-Encoding] - content-length: ['9282'] - x-ms-correlation-request-id: [118be7c4-81b3-4fd9-a14d-bdcc1527295e] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [740e2b92-6b63-488e-be1f-44017e19b6b3] - x-ms-routing-request-id: ['WESTUS:20170627T163908Z:118be7c4-81b3-4fd9-a14d-bdcc1527295e'] + content-length: ['1783'] + x-ms-correlation-request-id: [b00e4748-a848-4f39-837f-718c5c5efdb4] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [e793213a-193d-4865-b21b-a165a8dae488] + x-ms-routing-request-id: ['WESTUS:20170822T235508Z:b00e4748-a848-4f39-837f-718c5c5efdb4'] status: {code: 200, message: OK} - request: body: null @@ -546,29 +478,29 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [241cec58-5b57-11e7-a01b-ecb1d756380e] + x-ms-client-request-id: [53b7ef4a-8795-11e7-9003-ecb1d756380e] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_interface_cardb046129e/providers/Microsoft.Network/networkInterfaces/pynicb046129e?api-version=2017-08-01 response: body: {string: ''} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6e48b0ab-abb7-4dda-8f79-51fa088e5180?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/069b53f3-d9a2-432a-82e9-03015915142e?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['0'] - Date: ['Tue, 27 Jun 2017 16:39:07 GMT'] + Date: ['Tue, 22 Aug 2017 23:55:08 GMT'] Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/6e48b0ab-abb7-4dda-8f79-51fa088e5180?api-version=2017-06-01'] + Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/069b53f3-d9a2-432a-82e9-03015915142e?api-version=2017-08-01'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [fc1fdaf4-ba85-40c7-b50c-297a00e5da53] + x-ms-correlation-request-id: [4d0f0afb-874a-4c93-b1e2-3dd23169bd5f] x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [6e48b0ab-abb7-4dda-8f79-51fa088e5180] - x-ms-routing-request-id: ['WESTUS:20170627T163908Z:fc1fdaf4-ba85-40c7-b50c-297a00e5da53'] + x-ms-request-id: [069b53f3-d9a2-432a-82e9-03015915142e] + x-ms-routing-request-id: ['WESTUS:20170822T235508Z:4d0f0afb-874a-4c93-b1e2-3dd23169bd5f'] status: {code: 202, message: Accepted} - request: body: null @@ -577,18 +509,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [241cec58-5b57-11e7-a01b-ecb1d756380e] + x-ms-client-request-id: [53b7ef4a-8795-11e7-9003-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6e48b0ab-abb7-4dda-8f79-51fa088e5180?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/069b53f3-d9a2-432a-82e9-03015915142e?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:18 GMT'] + Date: ['Tue, 22 Aug 2017 23:55:18 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -596,9 +528,9 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [32c8dd9d-8c6f-449e-a064-1431745e451d] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [3e3eb159-16fc-42b0-9d19-f021507647b7] - x-ms-routing-request-id: ['WESTUS:20170627T163919Z:32c8dd9d-8c6f-449e-a064-1431745e451d'] + x-ms-correlation-request-id: [a2fea27f-1449-4a99-b00b-ffa3f92b5a31] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [50296c1f-fb9e-4201-b6bb-159ede145d54] + x-ms-routing-request-id: ['WESTUS:20170822T235519Z:a2fea27f-1449-4a99-b00b-ffa3f92b5a31'] status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt/tests/recordings/test_mgmt_network.test_network_security_groups.yaml b/azure-mgmt/tests/recordings/test_mgmt_network.test_network_security_groups.yaml index d125147522cc..9e1d6c706044 100644 --- a/azure-mgmt/tests/recordings/test_mgmt_network.test_network_security_groups.yaml +++ b/azure-mgmt/tests/recordings/test_mgmt_network.test_network_security_groups.yaml @@ -1,31 +1,31 @@ interactions: - request: body: '{"properties": {"securityRules": [{"name": "pysecgrouprulec575136b", "properties": - {"priority": 500, "protocol": "Tcp", "sourceAddressPrefix": "*", "direction": - "Inbound", "destinationAddressPrefix": "*", "access": "Allow", "sourcePortRange": - "655", "description": "Test security rule", "destinationPortRange": "123-3500"}}]}, - "location": "westus"}' + {"access": "Allow", "priority": 500, "protocol": "Tcp", "destinationPortRange": + "123-3500", "sourceAddressPrefix": "*", "direction": "Inbound", "description": + "Test security rule", "sourcePortRange": "655", "destinationAddressPrefix": + "*"}}]}, "location": "westus"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['348'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [3c9a95a4-5b57-11e7-8a81-ecb1d756380e] + x-ms-client-request-id: [29b05014-881f-11e7-a99e-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysecgroupc575136b\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b\",\r\n - \ \"etag\": \"W/\\\"e197498b-b4f7-4813-ac77-2569fac21a9b\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"452301cc-fd3a-4126-9672-28ccb4bc5c1d\\\"\",\r\n \"type\": \"Microsoft.Network/networkSecurityGroups\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"466648ba-d44e-400c-a5c5-d5b4ae7f9e7d\",\r\n \"securityRules\": [\r\n + \"f5551072-b68c-4884-aedc-382efbe4827d\",\r\n \"securityRules\": [\r\n \ {\r\n \"name\": \"pysecgrouprulec575136b\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pysecgrouprulec575136b\",\r\n - \ \"etag\": \"W/\\\"e197498b-b4f7-4813-ac77-2569fac21a9b\\\"\",\r\n + \ \"etag\": \"W/\\\"452301cc-fd3a-4126-9672-28ccb4bc5c1d\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"description\": \"Test security rule\",\r\n \"protocol\": \"Tcp\",\r\n \"sourcePortRange\": \"655\",\r\n \"destinationPortRange\": @@ -36,7 +36,7 @@ interactions: [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n }\r\n \ ],\r\n \"defaultSecurityRules\": [\r\n {\r\n \"name\": \"AllowVnetInBound\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowVnetInBound\",\r\n - \ \"etag\": \"W/\\\"e197498b-b4f7-4813-ac77-2569fac21a9b\\\"\",\r\n + \ \"etag\": \"W/\\\"452301cc-fd3a-4126-9672-28ccb4bc5c1d\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"description\": \"Allow inbound traffic from all VMs in VNET\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -47,7 +47,7 @@ interactions: [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowAzureLoadBalancerInBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowAzureLoadBalancerInBound\",\r\n - \ \"etag\": \"W/\\\"e197498b-b4f7-4813-ac77-2569fac21a9b\\\"\",\r\n + \ \"etag\": \"W/\\\"452301cc-fd3a-4126-9672-28ccb4bc5c1d\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"description\": \"Allow inbound traffic from azure load balancer\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -58,7 +58,7 @@ interactions: [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"DenyAllInBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/DenyAllInBound\",\r\n - \ \"etag\": \"W/\\\"e197498b-b4f7-4813-ac77-2569fac21a9b\\\"\",\r\n + \ \"etag\": \"W/\\\"452301cc-fd3a-4126-9672-28ccb4bc5c1d\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"description\": \"Deny all inbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": @@ -68,7 +68,7 @@ interactions: \ \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n \ {\r\n \"name\": \"AllowVnetOutBound\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowVnetOutBound\",\r\n - \ \"etag\": \"W/\\\"e197498b-b4f7-4813-ac77-2569fac21a9b\\\"\",\r\n + \ \"etag\": \"W/\\\"452301cc-fd3a-4126-9672-28ccb4bc5c1d\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"description\": \"Allow outbound traffic from all VMs to all VMs in VNET\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": @@ -79,7 +79,7 @@ interactions: [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowInternetOutBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowInternetOutBound\",\r\n - \ \"etag\": \"W/\\\"e197498b-b4f7-4813-ac77-2569fac21a9b\\\"\",\r\n + \ \"etag\": \"W/\\\"452301cc-fd3a-4126-9672-28ccb4bc5c1d\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"description\": \"Allow outbound traffic from all VMs to Internet\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -90,7 +90,7 @@ interactions: [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"DenyAllOutBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/DenyAllOutBound\",\r\n - \ \"etag\": \"W/\\\"e197498b-b4f7-4813-ac77-2569fac21a9b\\\"\",\r\n + \ \"etag\": \"W/\\\"452301cc-fd3a-4126-9672-28ccb4bc5c1d\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"description\": \"Deny all outbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": @@ -101,20 +101,20 @@ interactions: [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n }\r\n \ ]\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/675ef024-cdbc-411b-8537-67fa23ea219d?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c69b4daf-2bf9-4d27-97e3-34df1f394162?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['7357'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:50 GMT'] + Date: ['Wed, 23 Aug 2017 16:21:48 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [4967fea7-eec1-4f12-8a29-fd927ddf6f89] + x-ms-correlation-request-id: [da0da03b-7b7b-404c-bcc9-2e86c637caef] x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [675ef024-cdbc-411b-8537-67fa23ea219d] - x-ms-routing-request-id: ['WESTUS2:20170627T163950Z:4967fea7-eec1-4f12-8a29-fd927ddf6f89'] + x-ms-request-id: [c69b4daf-2bf9-4d27-97e3-34df1f394162] + x-ms-routing-request-id: ['WESTUS:20170823T162149Z:da0da03b-7b7b-404c-bcc9-2e86c637caef'] status: {code: 201, message: Created} - request: body: null @@ -123,18 +123,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [3c9a95a4-5b57-11e7-8a81-ecb1d756380e] + x-ms-client-request-id: [29b05014-881f-11e7-a99e-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/675ef024-cdbc-411b-8537-67fa23ea219d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c69b4daf-2bf9-4d27-97e3-34df1f394162?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:01 GMT'] + Date: ['Wed, 23 Aug 2017 16:21:59 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -142,10 +142,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [b52d319e-41be-472b-a53e-8efa2f26cfdc] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [83ba0e11-e9c8-4ac0-b2bc-51d34fc9dc48] - x-ms-routing-request-id: ['WESTUS2:20170627T164001Z:b52d319e-41be-472b-a53e-8efa2f26cfdc'] + x-ms-correlation-request-id: [1312e18c-8c68-48f7-ba23-0dcc20d1d312] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [83f67c5f-d25c-48b8-b395-aae3b5934335] + x-ms-routing-request-id: ['WESTUS:20170823T162200Z:1312e18c-8c68-48f7-ba23-0dcc20d1d312'] status: {code: 200, message: OK} - request: body: null @@ -154,21 +154,21 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [3c9a95a4-5b57-11e7-8a81-ecb1d756380e] + x-ms-client-request-id: [29b05014-881f-11e7-a99e-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysecgroupc575136b\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \"type\": \"Microsoft.Network/networkSecurityGroups\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"466648ba-d44e-400c-a5c5-d5b4ae7f9e7d\",\r\n \"securityRules\": [\r\n + \"f5551072-b68c-4884-aedc-382efbe4827d\",\r\n \"securityRules\": [\r\n \ {\r\n \"name\": \"pysecgrouprulec575136b\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pysecgrouprulec575136b\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Test security rule\",\r\n \"protocol\": \"Tcp\",\r\n \"sourcePortRange\": \"655\",\r\n \"destinationPortRange\": @@ -179,7 +179,7 @@ interactions: [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n }\r\n \ ],\r\n \"defaultSecurityRules\": [\r\n {\r\n \"name\": \"AllowVnetInBound\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowVnetInBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow inbound traffic from all VMs in VNET\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -190,7 +190,7 @@ interactions: [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowAzureLoadBalancerInBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowAzureLoadBalancerInBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow inbound traffic from azure load balancer\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -201,7 +201,7 @@ interactions: [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"DenyAllInBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/DenyAllInBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Deny all inbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": @@ -211,7 +211,7 @@ interactions: \ \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n \ {\r\n \"name\": \"AllowVnetOutBound\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowVnetOutBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow outbound traffic from all VMs to all VMs in VNET\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": @@ -222,7 +222,7 @@ interactions: [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowInternetOutBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowInternetOutBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow outbound traffic from all VMs to Internet\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -233,7 +233,7 @@ interactions: [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"DenyAllOutBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/DenyAllOutBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Deny all outbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": @@ -246,8 +246,8 @@ interactions: headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:00 GMT'] - ETag: [W/"802d2fa1-4dbd-444a-a53a-b53d19411b88"] + Date: ['Wed, 23 Aug 2017 16:21:59 GMT'] + ETag: [W/"6a7c2a55-e604-4d85-bd83-4f2d15312d06"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -255,10 +255,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['7365'] - x-ms-correlation-request-id: [4e682505-4b3a-43f7-aa03-7c1caeb09f10] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [9df25cdc-58e0-4cbf-8557-69d4cc585511] - x-ms-routing-request-id: ['WESTUS2:20170627T164001Z:4e682505-4b3a-43f7-aa03-7c1caeb09f10'] + x-ms-correlation-request-id: [74a55f62-dc18-47c0-9cf9-4e4deb224ba8] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [d300c791-3dcb-4a9a-9e8e-a21d7bd2813e] + x-ms-routing-request-id: ['WESTUS:20170823T162200Z:74a55f62-dc18-47c0-9cf9-4e4deb224ba8'] status: {code: 200, message: OK} - request: body: null @@ -267,21 +267,21 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [43b3fe8a-5b57-11e7-9e9e-ecb1d756380e] + x-ms-client-request-id: [311ff650-881f-11e7-9ae9-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysecgroupc575136b\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \"type\": \"Microsoft.Network/networkSecurityGroups\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"466648ba-d44e-400c-a5c5-d5b4ae7f9e7d\",\r\n \"securityRules\": [\r\n + \"f5551072-b68c-4884-aedc-382efbe4827d\",\r\n \"securityRules\": [\r\n \ {\r\n \"name\": \"pysecgrouprulec575136b\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pysecgrouprulec575136b\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Test security rule\",\r\n \"protocol\": \"Tcp\",\r\n \"sourcePortRange\": \"655\",\r\n \"destinationPortRange\": @@ -292,7 +292,7 @@ interactions: [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n }\r\n \ ],\r\n \"defaultSecurityRules\": [\r\n {\r\n \"name\": \"AllowVnetInBound\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowVnetInBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow inbound traffic from all VMs in VNET\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -303,7 +303,7 @@ interactions: [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowAzureLoadBalancerInBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowAzureLoadBalancerInBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow inbound traffic from azure load balancer\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -314,7 +314,7 @@ interactions: [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"DenyAllInBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/DenyAllInBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Deny all inbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": @@ -324,7 +324,7 @@ interactions: \ \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n \ {\r\n \"name\": \"AllowVnetOutBound\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowVnetOutBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow outbound traffic from all VMs to all VMs in VNET\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": @@ -335,7 +335,7 @@ interactions: [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"AllowInternetOutBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowInternetOutBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow outbound traffic from all VMs to Internet\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -346,7 +346,7 @@ interactions: [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"DenyAllOutBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/DenyAllOutBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Deny all outbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": @@ -359,8 +359,8 @@ interactions: headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:01 GMT'] - ETag: [W/"802d2fa1-4dbd-444a-a53a-b53d19411b88"] + Date: ['Wed, 23 Aug 2017 16:22:01 GMT'] + ETag: [W/"6a7c2a55-e604-4d85-bd83-4f2d15312d06"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -368,10 +368,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['7365'] - x-ms-correlation-request-id: [edae58f4-68df-4d0a-bfc0-59495e7f9650] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [e6933ea9-1820-49bd-b44b-084494f6a9c2] - x-ms-routing-request-id: ['WESTUS2:20170627T164001Z:edae58f4-68df-4d0a-bfc0-59495e7f9650'] + x-ms-correlation-request-id: [fa2247b9-45de-4b91-8111-6f5c318dce42] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [15519053-a826-4b9b-be87-78a68ffb2488] + x-ms-routing-request-id: ['WESTUS:20170823T162201Z:fa2247b9-45de-4b91-8111-6f5c318dce42'] status: {code: 200, message: OK} - request: body: null @@ -380,22 +380,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [43f8f6e2-5b57-11e7-a857-ecb1d756380e] + x-ms-client-request-id: [3183aef8-881f-11e7-b3df-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pysecgroupc575136b\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \"type\": \"Microsoft.Network/networkSecurityGroups\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"466648ba-d44e-400c-a5c5-d5b4ae7f9e7d\",\r\n \"securityRules\": + \ \"resourceGuid\": \"f5551072-b68c-4884-aedc-382efbe4827d\",\r\n \"securityRules\": [\r\n {\r\n \"name\": \"pysecgrouprulec575136b\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pysecgrouprulec575136b\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Test security rule\",\r\n \"protocol\": \"Tcp\",\r\n \"sourcePortRange\": \"655\",\r\n \"destinationPortRange\": @@ -406,7 +406,7 @@ interactions: [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n \ }\r\n ],\r\n \"defaultSecurityRules\": [\r\n {\r\n \ \"name\": \"AllowVnetInBound\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowVnetInBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow inbound traffic from all VMs in VNET\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -418,7 +418,7 @@ interactions: [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n \ },\r\n {\r\n \"name\": \"AllowAzureLoadBalancerInBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowAzureLoadBalancerInBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow inbound traffic from azure load balancer\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -430,7 +430,7 @@ interactions: [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n \ },\r\n {\r\n \"name\": \"DenyAllInBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/DenyAllInBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Deny all inbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": @@ -441,7 +441,7 @@ interactions: [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n \ },\r\n {\r\n \"name\": \"AllowVnetOutBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowVnetOutBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow outbound traffic from all VMs to all VMs in VNET\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": @@ -453,7 +453,7 @@ interactions: [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n \ },\r\n {\r\n \"name\": \"AllowInternetOutBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowInternetOutBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow outbound traffic from all VMs to Internet\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -464,7 +464,7 @@ interactions: [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"DenyAllOutBound\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/DenyAllOutBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Deny all outbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": @@ -477,7 +477,7 @@ interactions: headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:01 GMT'] + Date: ['Wed, 23 Aug 2017 16:22:01 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -485,10 +485,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['8038'] - x-ms-correlation-request-id: [434518bc-ab27-4361-b223-9b0be239e5dd] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [bd7f905e-a8b6-4420-a440-d0737e6a57a8] - x-ms-routing-request-id: ['WESTUS2:20170627T164002Z:434518bc-ab27-4361-b223-9b0be239e5dd'] + x-ms-correlation-request-id: [fa3c86e4-07f9-4c04-b3b8-318facde35ff] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [d03df9a9-7829-4923-8750-c9aef3e8afad] + x-ms-routing-request-id: ['WESTUS:20170823T162201Z:fa3c86e4-07f9-4c04-b3b8-318facde35ff'] status: {code: 200, message: OK} - request: body: null @@ -497,208 +497,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [4423dc14-5b57-11e7-acc7-ecb1d756380e] + x-ms-client-request-id: [31cc4694-881f-11e7-b9aa-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkSecurityGroups?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkSecurityGroups?api-version=2017-08-01 response: - body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"UbuntuServerDoNotDelete\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkSecurityGroups/UbuntuServerDoNotDelete\",\r\n - \ \"etag\": \"W/\\\"139d1848-1c88-48c7-9882-43c4ed9d1505\\\"\",\r\n \"type\": - \"Microsoft.Network/networkSecurityGroups\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"a024c352-ede3-46a7-9183-5e75100ea0b8\",\r\n - \ \"securityRules\": [\r\n {\r\n \"name\": \"default-allow-ssh\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkSecurityGroups/UbuntuServerDoNotDelete/securityRules/default-allow-ssh\",\r\n - \ \"etag\": \"W/\\\"139d1848-1c88-48c7-9882-43c4ed9d1505\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"protocol\": \"Tcp\",\r\n \"sourcePortRange\": - \"*\",\r\n \"destinationPortRange\": \"22\",\r\n \"sourceAddressPrefix\": - \"*\",\r\n \"destinationAddressPrefix\": \"*\",\r\n \"access\": - \"Allow\",\r\n \"priority\": 1000,\r\n \"direction\": - \"Inbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": - [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": - []\r\n }\r\n },\r\n {\r\n \"name\": - \"PypiServer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkSecurityGroups/UbuntuServerDoNotDelete/securityRules/PypiServer\",\r\n - \ \"etag\": \"W/\\\"139d1848-1c88-48c7-9882-43c4ed9d1505\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n - \ \"destinationPortRange\": \"8080\",\r\n \"sourceAddressPrefix\": - \"*\",\r\n \"destinationAddressPrefix\": \"*\",\r\n \"access\": - \"Allow\",\r\n \"priority\": 1100,\r\n \"direction\": - \"Inbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": - [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": - []\r\n }\r\n }\r\n ],\r\n \"defaultSecurityRules\": - [\r\n {\r\n \"name\": \"AllowVnetInBound\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkSecurityGroups/UbuntuServerDoNotDelete/defaultSecurityRules/AllowVnetInBound\",\r\n - \ \"etag\": \"W/\\\"139d1848-1c88-48c7-9882-43c4ed9d1505\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"description\": \"Allow inbound traffic from all VMs in VNET\",\r\n - \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n - \ \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": - \"VirtualNetwork\",\r\n \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n - \ \"access\": \"Allow\",\r\n \"priority\": 65000,\r\n - \ \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": - [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": - [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n - \ },\r\n {\r\n \"name\": \"AllowAzureLoadBalancerInBound\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkSecurityGroups/UbuntuServerDoNotDelete/defaultSecurityRules/AllowAzureLoadBalancerInBound\",\r\n - \ \"etag\": \"W/\\\"139d1848-1c88-48c7-9882-43c4ed9d1505\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"description\": \"Allow inbound traffic from azure load balancer\",\r\n - \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n - \ \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": - \"AzureLoadBalancer\",\r\n \"destinationAddressPrefix\": \"*\",\r\n - \ \"access\": \"Allow\",\r\n \"priority\": 65001,\r\n - \ \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": - [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": - [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n - \ },\r\n {\r\n \"name\": \"DenyAllInBound\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkSecurityGroups/UbuntuServerDoNotDelete/defaultSecurityRules/DenyAllInBound\",\r\n - \ \"etag\": \"W/\\\"139d1848-1c88-48c7-9882-43c4ed9d1505\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"description\": \"Deny all inbound traffic\",\r\n \"protocol\": - \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": - \"*\",\r\n \"sourceAddressPrefix\": \"*\",\r\n \"destinationAddressPrefix\": - \"*\",\r\n \"access\": \"Deny\",\r\n \"priority\": - 65500,\r\n \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": - [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": - [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n - \ },\r\n {\r\n \"name\": \"AllowVnetOutBound\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkSecurityGroups/UbuntuServerDoNotDelete/defaultSecurityRules/AllowVnetOutBound\",\r\n - \ \"etag\": \"W/\\\"139d1848-1c88-48c7-9882-43c4ed9d1505\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"description\": \"Allow outbound traffic from all VMs to all - VMs in VNET\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": - \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": - \"VirtualNetwork\",\r\n \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n - \ \"access\": \"Allow\",\r\n \"priority\": 65000,\r\n - \ \"direction\": \"Outbound\",\r\n \"sourcePortRanges\": - [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": - [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n - \ },\r\n {\r\n \"name\": \"AllowInternetOutBound\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkSecurityGroups/UbuntuServerDoNotDelete/defaultSecurityRules/AllowInternetOutBound\",\r\n - \ \"etag\": \"W/\\\"139d1848-1c88-48c7-9882-43c4ed9d1505\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"description\": \"Allow outbound traffic from all VMs to Internet\",\r\n - \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n - \ \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": - \"*\",\r\n \"destinationAddressPrefix\": \"Internet\",\r\n \"access\": - \"Allow\",\r\n \"priority\": 65001,\r\n \"direction\": - \"Outbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": - [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": - []\r\n }\r\n },\r\n {\r\n \"name\": - \"DenyAllOutBound\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkSecurityGroups/UbuntuServerDoNotDelete/defaultSecurityRules/DenyAllOutBound\",\r\n - \ \"etag\": \"W/\\\"139d1848-1c88-48c7-9882-43c4ed9d1505\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"description\": \"Deny all outbound traffic\",\r\n \"protocol\": - \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": - \"*\",\r\n \"sourceAddressPrefix\": \"*\",\r\n \"destinationAddressPrefix\": - \"*\",\r\n \"access\": \"Deny\",\r\n \"priority\": - 65500,\r\n \"direction\": \"Outbound\",\r\n \"sourcePortRanges\": - [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": - [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n - \ }\r\n ],\r\n \"networkInterfaces\": [\r\n {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkInterfaces/ubuntuserverdonotdel378\"\r\n - \ }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": - \"MonitorTest-nsg\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/networkSecurityGroups/MonitorTest-nsg\",\r\n - \ \"etag\": \"W/\\\"d1704dbc-7cf4-48d8-ab28-cd09e3ed2dbf\\\"\",\r\n \"type\": - \"Microsoft.Network/networkSecurityGroups\",\r\n \"location\": \"westus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"c1cc1e8d-1e33-4421-b508-5196683a155e\",\r\n \"securityRules\": - [\r\n {\r\n \"name\": \"default-allow-rdp\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/networkSecurityGroups/MonitorTest-nsg/securityRules/default-allow-rdp\",\r\n - \ \"etag\": \"W/\\\"d1704dbc-7cf4-48d8-ab28-cd09e3ed2dbf\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"protocol\": \"TCP\",\r\n \"sourcePortRange\": - \"*\",\r\n \"destinationPortRange\": \"3389\",\r\n \"sourceAddressPrefix\": - \"*\",\r\n \"destinationAddressPrefix\": \"*\",\r\n \"access\": - \"Allow\",\r\n \"priority\": 1000,\r\n \"direction\": - \"Inbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": - [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": - []\r\n }\r\n }\r\n ],\r\n \"defaultSecurityRules\": - [\r\n {\r\n \"name\": \"AllowVnetInBound\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/networkSecurityGroups/MonitorTest-nsg/defaultSecurityRules/AllowVnetInBound\",\r\n - \ \"etag\": \"W/\\\"d1704dbc-7cf4-48d8-ab28-cd09e3ed2dbf\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"description\": \"Allow inbound traffic from all VMs in VNET\",\r\n - \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n - \ \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": - \"VirtualNetwork\",\r\n \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n - \ \"access\": \"Allow\",\r\n \"priority\": 65000,\r\n - \ \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": - [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": - [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n - \ },\r\n {\r\n \"name\": \"AllowAzureLoadBalancerInBound\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/networkSecurityGroups/MonitorTest-nsg/defaultSecurityRules/AllowAzureLoadBalancerInBound\",\r\n - \ \"etag\": \"W/\\\"d1704dbc-7cf4-48d8-ab28-cd09e3ed2dbf\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"description\": \"Allow inbound traffic from azure load balancer\",\r\n - \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n - \ \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": - \"AzureLoadBalancer\",\r\n \"destinationAddressPrefix\": \"*\",\r\n - \ \"access\": \"Allow\",\r\n \"priority\": 65001,\r\n - \ \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": - [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": - [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n - \ },\r\n {\r\n \"name\": \"DenyAllInBound\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/networkSecurityGroups/MonitorTest-nsg/defaultSecurityRules/DenyAllInBound\",\r\n - \ \"etag\": \"W/\\\"d1704dbc-7cf4-48d8-ab28-cd09e3ed2dbf\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"description\": \"Deny all inbound traffic\",\r\n \"protocol\": - \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": - \"*\",\r\n \"sourceAddressPrefix\": \"*\",\r\n \"destinationAddressPrefix\": - \"*\",\r\n \"access\": \"Deny\",\r\n \"priority\": - 65500,\r\n \"direction\": \"Inbound\",\r\n \"sourcePortRanges\": - [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": - [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n - \ },\r\n {\r\n \"name\": \"AllowVnetOutBound\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/networkSecurityGroups/MonitorTest-nsg/defaultSecurityRules/AllowVnetOutBound\",\r\n - \ \"etag\": \"W/\\\"d1704dbc-7cf4-48d8-ab28-cd09e3ed2dbf\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"description\": \"Allow outbound traffic from all VMs to all - VMs in VNET\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": - \"*\",\r\n \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": - \"VirtualNetwork\",\r\n \"destinationAddressPrefix\": \"VirtualNetwork\",\r\n - \ \"access\": \"Allow\",\r\n \"priority\": 65000,\r\n - \ \"direction\": \"Outbound\",\r\n \"sourcePortRanges\": - [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": - [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n - \ },\r\n {\r\n \"name\": \"AllowInternetOutBound\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/networkSecurityGroups/MonitorTest-nsg/defaultSecurityRules/AllowInternetOutBound\",\r\n - \ \"etag\": \"W/\\\"d1704dbc-7cf4-48d8-ab28-cd09e3ed2dbf\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"description\": \"Allow outbound traffic from all VMs to Internet\",\r\n - \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n - \ \"destinationPortRange\": \"*\",\r\n \"sourceAddressPrefix\": - \"*\",\r\n \"destinationAddressPrefix\": \"Internet\",\r\n \"access\": - \"Allow\",\r\n \"priority\": 65001,\r\n \"direction\": - \"Outbound\",\r\n \"sourcePortRanges\": [],\r\n \"destinationPortRanges\": - [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": - []\r\n }\r\n },\r\n {\r\n \"name\": - \"DenyAllOutBound\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/networkSecurityGroups/MonitorTest-nsg/defaultSecurityRules/DenyAllOutBound\",\r\n - \ \"etag\": \"W/\\\"d1704dbc-7cf4-48d8-ab28-cd09e3ed2dbf\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"description\": \"Deny all outbound traffic\",\r\n \"protocol\": - \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": - \"*\",\r\n \"sourceAddressPrefix\": \"*\",\r\n \"destinationAddressPrefix\": - \"*\",\r\n \"access\": \"Deny\",\r\n \"priority\": - 65500,\r\n \"direction\": \"Outbound\",\r\n \"sourcePortRanges\": - [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": - [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n - \ }\r\n ],\r\n \"networkInterfaces\": [\r\n {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/networkInterfaces/monitortest686\"\r\n - \ }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": - \"pysecgroupc575136b\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n \"type\": + body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pysecgroupc575136b\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \"type\": \"Microsoft.Network/networkSecurityGroups\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"466648ba-d44e-400c-a5c5-d5b4ae7f9e7d\",\r\n \"securityRules\": + \ \"resourceGuid\": \"f5551072-b68c-4884-aedc-382efbe4827d\",\r\n \"securityRules\": [\r\n {\r\n \"name\": \"pysecgrouprulec575136b\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pysecgrouprulec575136b\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Test security rule\",\r\n \"protocol\": \"Tcp\",\r\n \"sourcePortRange\": \"655\",\r\n \"destinationPortRange\": @@ -709,7 +523,7 @@ interactions: [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n \ }\r\n ],\r\n \"defaultSecurityRules\": [\r\n {\r\n \ \"name\": \"AllowVnetInBound\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowVnetInBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow inbound traffic from all VMs in VNET\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -721,7 +535,7 @@ interactions: [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n \ },\r\n {\r\n \"name\": \"AllowAzureLoadBalancerInBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowAzureLoadBalancerInBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow inbound traffic from azure load balancer\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -733,7 +547,7 @@ interactions: [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n \ },\r\n {\r\n \"name\": \"DenyAllInBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/DenyAllInBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Deny all inbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": @@ -744,7 +558,7 @@ interactions: [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n \ },\r\n {\r\n \"name\": \"AllowVnetOutBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowVnetOutBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow outbound traffic from all VMs to all VMs in VNET\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": @@ -756,7 +570,7 @@ interactions: [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n \ },\r\n {\r\n \"name\": \"AllowInternetOutBound\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/AllowInternetOutBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Allow outbound traffic from all VMs to Internet\",\r\n \ \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n @@ -767,7 +581,7 @@ interactions: [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"DenyAllOutBound\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/defaultSecurityRules/DenyAllOutBound\",\r\n - \ \"etag\": \"W/\\\"802d2fa1-4dbd-444a-a53a-b53d19411b88\\\"\",\r\n + \ \"etag\": \"W/\\\"6a7c2a55-e604-4d85-bd83-4f2d15312d06\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"description\": \"Deny all outbound traffic\",\r\n \"protocol\": \"*\",\r\n \"sourcePortRange\": \"*\",\r\n \"destinationPortRange\": @@ -780,39 +594,39 @@ interactions: headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:02 GMT'] + Date: ['Wed, 23 Aug 2017 16:22:02 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Transfer-Encoding: [chunked] Vary: [Accept-Encoding] - content-length: ['24824'] - x-ms-correlation-request-id: [6a0d5dfa-ed12-4b96-9074-08ad244a6b74] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [fc9c5d43-5a43-406a-8bd1-e376945ad9e3] - x-ms-routing-request-id: ['WESTUS2:20170627T164002Z:6a0d5dfa-ed12-4b96-9074-08ad244a6b74'] + content-length: ['8038'] + x-ms-correlation-request-id: [9f715f22-9ef9-4b55-9437-abcc41dda391] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [a8fcc1cd-68c3-4767-af9a-f8fe475bef32] + x-ms-routing-request-id: ['WESTUS:20170823T162202Z:9f715f22-9ef9-4b55-9437-abcc41dda391'] status: {code: 200, message: OK} - request: - body: '{"properties": {"priority": 400, "protocol": "Tcp", "sourceAddressPrefix": - "*", "direction": "Outbound", "destinationAddressPrefix": "*", "access": "Allow", - "sourcePortRange": "655", "description": "New Test security rule", "destinationPortRange": - "123-3500"}}' + body: '{"properties": {"access": "Allow", "priority": 400, "protocol": "Tcp", + "destinationPortRange": "123-3500", "sourceAddressPrefix": "*", "direction": + "Outbound", "description": "New Test security rule", "sourcePortRange": "655", + "destinationAddressPrefix": "*"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['260'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [44651d54-5b57-11e7-ae4f-ecb1d756380e] + x-ms-client-request-id: [322e81ba-881f-11e7-b677-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pynewrulec575136b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pynewrulec575136b?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pynewrulec575136b\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pynewrulec575136b\",\r\n - \ \"etag\": \"W/\\\"7e9dd163-71a3-4c4b-8aaa-451bebcb48b7\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"32465628-e69a-4d56-9c7e-4b1183510c56\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"description\": \"New Test security rule\",\r\n \"protocol\": \"Tcp\",\r\n \"sourcePortRange\": \"655\",\r\n \"destinationPortRange\": \"123-3500\",\r\n \"sourceAddressPrefix\": @@ -821,20 +635,20 @@ interactions: [],\r\n \"destinationPortRanges\": [],\r\n \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e3c5dddb-adfa-4bc3-a090-99794812e547?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/01ac7e24-f480-422a-963c-2290ca30760d?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['814'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:02 GMT'] + Date: ['Wed, 23 Aug 2017 16:22:03 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [e98efe64-c8de-4764-95ca-8c3043055608] + x-ms-correlation-request-id: [c98ad7ed-86d8-4e5b-bbde-1db14bc43d2b] x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [e3c5dddb-adfa-4bc3-a090-99794812e547] - x-ms-routing-request-id: ['WESTUS2:20170627T164003Z:e98efe64-c8de-4764-95ca-8c3043055608'] + x-ms-request-id: [01ac7e24-f480-422a-963c-2290ca30760d] + x-ms-routing-request-id: ['WESTUS:20170823T162203Z:c98ad7ed-86d8-4e5b-bbde-1db14bc43d2b'] status: {code: 201, message: Created} - request: body: null @@ -843,18 +657,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [44651d54-5b57-11e7-ae4f-ecb1d756380e] + x-ms-client-request-id: [322e81ba-881f-11e7-b677-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e3c5dddb-adfa-4bc3-a090-99794812e547?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/01ac7e24-f480-422a-963c-2290ca30760d?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:12 GMT'] + Date: ['Wed, 23 Aug 2017 16:22:13 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -862,10 +676,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [fc34c4a1-f17f-42f9-9d81-339350e72337] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [b922650d-3cc7-41bc-8ab3-7b9ff846d69d] - x-ms-routing-request-id: ['WESTUS2:20170627T164013Z:fc34c4a1-f17f-42f9-9d81-339350e72337'] + x-ms-correlation-request-id: [b5bedf7c-4bb8-437f-ba1b-8905edda1496] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [e4844725-5d96-4500-949c-68299f246d14] + x-ms-routing-request-id: ['WESTUS2:20170823T162214Z:b5bedf7c-4bb8-437f-ba1b-8905edda1496'] status: {code: 200, message: OK} - request: body: null @@ -874,15 +688,15 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [44651d54-5b57-11e7-ae4f-ecb1d756380e] + x-ms-client-request-id: [322e81ba-881f-11e7-b677-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pynewrulec575136b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pynewrulec575136b?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pynewrulec575136b\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pynewrulec575136b\",\r\n - \ \"etag\": \"W/\\\"ee60f143-74cb-4e5b-a3e6-8c123bc09d3f\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"52f7e914-bb5b-40c3-916f-b24be9386e98\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"New Test security rule\",\r\n \"protocol\": \"Tcp\",\r\n \"sourcePortRange\": \"655\",\r\n \"destinationPortRange\": \"123-3500\",\r\n \"sourceAddressPrefix\": @@ -893,8 +707,8 @@ interactions: headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:13 GMT'] - ETag: [W/"ee60f143-74cb-4e5b-a3e6-8c123bc09d3f"] + Date: ['Wed, 23 Aug 2017 16:22:14 GMT'] + ETag: [W/"52f7e914-bb5b-40c3-916f-b24be9386e98"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -902,10 +716,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['815'] - x-ms-correlation-request-id: [3acf4587-afe1-4d85-96e5-04a2d80aeb43] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [c82c12d2-b587-415f-babd-73774a8956c0] - x-ms-routing-request-id: ['WESTUS2:20170627T164014Z:3acf4587-afe1-4d85-96e5-04a2d80aeb43'] + x-ms-correlation-request-id: [40e089e1-1d1a-43b5-9c5d-8b38c4ce1a33] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [276bb902-e299-473d-9839-0f4535f912c0] + x-ms-routing-request-id: ['WESTUS2:20170823T162214Z:40e089e1-1d1a-43b5-9c5d-8b38c4ce1a33'] status: {code: 200, message: OK} - request: body: null @@ -914,15 +728,15 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [4b44721e-5b57-11e7-a4be-ecb1d756380e] + x-ms-client-request-id: [399690b6-881f-11e7-a1ec-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pynewrulec575136b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pynewrulec575136b?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pynewrulec575136b\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pynewrulec575136b\",\r\n - \ \"etag\": \"W/\\\"ee60f143-74cb-4e5b-a3e6-8c123bc09d3f\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"52f7e914-bb5b-40c3-916f-b24be9386e98\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"New Test security rule\",\r\n \"protocol\": \"Tcp\",\r\n \"sourcePortRange\": \"655\",\r\n \"destinationPortRange\": \"123-3500\",\r\n \"sourceAddressPrefix\": @@ -933,8 +747,8 @@ interactions: headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:13 GMT'] - ETag: [W/"ee60f143-74cb-4e5b-a3e6-8c123bc09d3f"] + Date: ['Wed, 23 Aug 2017 16:22:14 GMT'] + ETag: [W/"52f7e914-bb5b-40c3-916f-b24be9386e98"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -942,10 +756,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['815'] - x-ms-correlation-request-id: [81ac6ef2-2ff2-45a9-8184-bddb0f6a6a1f] - x-ms-ratelimit-remaining-subscription-reads: ['14991'] - x-ms-request-id: [72548b42-2091-4478-a621-7b561ae8a0cb] - x-ms-routing-request-id: ['WESTUS2:20170627T164014Z:81ac6ef2-2ff2-45a9-8184-bddb0f6a6a1f'] + x-ms-correlation-request-id: [4e940f24-b14c-44cc-8c08-b9115805acf5] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [f153a930-507a-4693-aeb2-b35ff295cfda] + x-ms-routing-request-id: ['WESTUS2:20170823T162215Z:4e940f24-b14c-44cc-8c08-b9115805acf5'] status: {code: 200, message: OK} - request: body: null @@ -954,16 +768,16 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [4b7f5d2c-5b57-11e7-84cf-ecb1d756380e] + x-ms-client-request-id: [39e9c6ae-881f-11e7-aab9-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pysecgrouprulec575136b\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pysecgrouprulec575136b\",\r\n - \ \"etag\": \"W/\\\"ee60f143-74cb-4e5b-a3e6-8c123bc09d3f\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"52f7e914-bb5b-40c3-916f-b24be9386e98\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"Test security rule\",\r\n \"protocol\": \"Tcp\",\r\n \"sourcePortRange\": \"655\",\r\n \"destinationPortRange\": \"123-3500\",\r\n \"sourceAddressPrefix\": @@ -973,7 +787,7 @@ interactions: \ \"sourceAddressPrefixes\": [],\r\n \"destinationAddressPrefixes\": []\r\n }\r\n },\r\n {\r\n \"name\": \"pynewrulec575136b\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pynewrulec575136b\",\r\n - \ \"etag\": \"W/\\\"ee60f143-74cb-4e5b-a3e6-8c123bc09d3f\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"52f7e914-bb5b-40c3-916f-b24be9386e98\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"description\": \"New Test security rule\",\r\n \"protocol\": \"Tcp\",\r\n \"sourcePortRange\": \"655\",\r\n \"destinationPortRange\": \"123-3500\",\r\n \"sourceAddressPrefix\": @@ -985,7 +799,7 @@ interactions: headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:14 GMT'] + Date: ['Wed, 23 Aug 2017 16:22:15 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -993,10 +807,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['1831'] - x-ms-correlation-request-id: [780eabfb-5fe5-44a5-9544-e24fd680486d] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [4bd8f97d-58d0-4b35-8c7e-1cb093b0d30d] - x-ms-routing-request-id: ['WESTUS2:20170627T164014Z:780eabfb-5fe5-44a5-9544-e24fd680486d'] + x-ms-correlation-request-id: [b45c6c8f-8c12-4d06-b834-1e75f2e2e8c6] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [97139eee-35e2-4ea2-80c2-cb160f0601d9] + x-ms-routing-request-id: ['WESTUS2:20170823T162216Z:b45c6c8f-8c12-4d06-b834-1e75f2e2e8c6'] status: {code: 200, message: OK} - request: body: null @@ -1006,29 +820,29 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [4bbdeca8-5b57-11e7-b35f-ecb1d756380e] + x-ms-client-request-id: [3a503094-881f-11e7-b323-ecb1d756380e] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pynewrulec575136b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b/securityRules/pynewrulec575136b?api-version=2017-08-01 response: body: {string: ''} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/664d2bad-9daf-4945-bcbd-40429cf154c4?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5db62b3a-a408-4106-b511-cd175974f996?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['0'] - Date: ['Tue, 27 Jun 2017 16:40:15 GMT'] + Date: ['Wed, 23 Aug 2017 16:22:17 GMT'] Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/664d2bad-9daf-4945-bcbd-40429cf154c4?api-version=2017-06-01'] + Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/5db62b3a-a408-4106-b511-cd175974f996?api-version=2017-08-01'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [3071cbc3-e31d-46e4-aeb5-5173f28463b4] + x-ms-correlation-request-id: [bf24d739-2de0-4ee3-8d3d-3967b89f5d71] x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [664d2bad-9daf-4945-bcbd-40429cf154c4] - x-ms-routing-request-id: ['WESTUS2:20170627T164015Z:3071cbc3-e31d-46e4-aeb5-5173f28463b4'] + x-ms-request-id: [5db62b3a-a408-4106-b511-cd175974f996] + x-ms-routing-request-id: ['WESTUS2:20170823T162217Z:bf24d739-2de0-4ee3-8d3d-3967b89f5d71'] status: {code: 202, message: Accepted} - request: body: null @@ -1037,18 +851,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [4bbdeca8-5b57-11e7-b35f-ecb1d756380e] + x-ms-client-request-id: [3a503094-881f-11e7-b323-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/664d2bad-9daf-4945-bcbd-40429cf154c4?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5db62b3a-a408-4106-b511-cd175974f996?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:29 GMT'] + Date: ['Wed, 23 Aug 2017 16:22:27 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1056,10 +870,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [afe47f96-bf2d-4c24-80a8-4b07a2cedd29] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [b5055057-489f-4683-ad80-1ff0aa127437] - x-ms-routing-request-id: ['WESTUS2:20170627T164029Z:afe47f96-bf2d-4c24-80a8-4b07a2cedd29'] + x-ms-correlation-request-id: [0deb7f09-e013-4eed-8097-c25d78b79748] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [9d35371f-d345-4a99-b3e1-957e5efabbad] + x-ms-routing-request-id: ['WESTUS2:20170823T162227Z:0deb7f09-e013-4eed-8097-c25d78b79748'] status: {code: 200, message: OK} - request: body: null @@ -1069,29 +883,29 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [544a00e4-5b57-11e7-a9b6-ecb1d756380e] + x-ms-client-request-id: [414f70ac-881f-11e7-b1bc-ecb1d756380e] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_network_security_groupsc575136b/providers/Microsoft.Network/networkSecurityGroups/pysecgroupc575136b?api-version=2017-08-01 response: body: {string: ''} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/0873eda6-6f37-447a-b6d1-c1b201abe070?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6c6f4a00-eba8-45c0-ad8d-859e89b2f300?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['0'] - Date: ['Tue, 27 Jun 2017 16:40:29 GMT'] + Date: ['Wed, 23 Aug 2017 16:22:28 GMT'] Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/0873eda6-6f37-447a-b6d1-c1b201abe070?api-version=2017-06-01'] + Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/6c6f4a00-eba8-45c0-ad8d-859e89b2f300?api-version=2017-08-01'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [ac7b23c3-6d92-4423-9677-8da231c98535] + x-ms-correlation-request-id: [6877745e-418c-49a3-a54f-625adf9f8514] x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [0873eda6-6f37-447a-b6d1-c1b201abe070] - x-ms-routing-request-id: ['WESTUS2:20170627T164029Z:ac7b23c3-6d92-4423-9677-8da231c98535'] + x-ms-request-id: [6c6f4a00-eba8-45c0-ad8d-859e89b2f300] + x-ms-routing-request-id: ['WESTUS2:20170823T162228Z:6877745e-418c-49a3-a54f-625adf9f8514'] status: {code: 202, message: Accepted} - request: body: null @@ -1100,18 +914,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [544a00e4-5b57-11e7-a9b6-ecb1d756380e] + x-ms-client-request-id: [414f70ac-881f-11e7-b1bc-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/0873eda6-6f37-447a-b6d1-c1b201abe070?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6c6f4a00-eba8-45c0-ad8d-859e89b2f300?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:40:39 GMT'] + Date: ['Wed, 23 Aug 2017 16:22:38 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1119,9 +933,9 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [a2c991b7-c78c-4ec3-a8ec-3e124dc4edcb] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [f23be275-c74b-4160-a2ee-2f9c506e1b67] - x-ms-routing-request-id: ['WESTUS2:20170627T164040Z:a2c991b7-c78c-4ec3-a8ec-3e124dc4edcb'] + x-ms-correlation-request-id: [34467623-8859-4489-b60c-0587e2f654eb] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [17725fdd-1b64-4a34-bdbe-23ad5662aa12] + x-ms-routing-request-id: ['WESTUS2:20170823T162239Z:34467623-8859-4489-b60c-0587e2f654eb'] status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt/tests/recordings/test_mgmt_network.test_public_ip_addresses.yaml b/azure-mgmt/tests/recordings/test_mgmt_network.test_public_ip_addresses.yaml index 06624f4fca87..1324361fbafc 100644 --- a/azure-mgmt/tests/recordings/test_mgmt_network.test_public_ip_addresses.yaml +++ b/azure-mgmt/tests/recordings/test_mgmt_network.test_public_ip_addresses.yaml @@ -1,41 +1,42 @@ interactions: - request: - body: '{"properties": {"publicIPAllocationMethod": "Dynamic"}, "tags": {"key": - "value"}, "location": "westus"}' + body: '{"tags": {"key": "value"}, "location": "westus", "properties": {"publicIPAllocationMethod": + "Dynamic"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['103'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [f4659702-5b57-11e7-8a3d-ecb1d756380e] + x-ms-client-request-id: [69a15d98-8795-11e7-a56d-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses/pyipname773e115f?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses/pyipname773e115f?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyipname773e115f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses/pyipname773e115f\",\r\n - \ \"etag\": \"W/\\\"253e011b-a538-4a48-b82c-223064f8dd13\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"9553f962-b285-4247-bb35-2ee394cbbf0f\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"99b4d46e-abae-4895-9ee8-47a6debb5ffb\",\r\n + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"9eee7883-c774-408a-a053-64f8203bdcc3\",\r\n \ \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": - \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n}"} + \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/008b2d24-dcf9-45c0-b465-45d1e3c79e92?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/023dba63-2d48-469e-be05-845e6843b5a4?api-version=2017-08-01'] Cache-Control: [no-cache] - Content-Length: ['636'] + Content-Length: ['675'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:44:57 GMT'] + Date: ['Tue, 22 Aug 2017 23:55:45 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [26446fd6-2c83-46da-9516-a2cbb010584d] + x-ms-correlation-request-id: [2294267c-af6b-481e-871d-002742a7741b] x-ms-ratelimit-remaining-subscription-writes: ['1197'] - x-ms-request-id: [008b2d24-dcf9-45c0-b465-45d1e3c79e92] - x-ms-routing-request-id: ['WESTUS:20170627T164458Z:26446fd6-2c83-46da-9516-a2cbb010584d'] + x-ms-request-id: [023dba63-2d48-469e-be05-845e6843b5a4] + x-ms-routing-request-id: ['WESTUS:20170822T235545Z:2294267c-af6b-481e-871d-002742a7741b'] status: {code: 201, message: Created} - request: body: null @@ -44,18 +45,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [f4659702-5b57-11e7-8a3d-ecb1d756380e] + x-ms-client-request-id: [69a15d98-8795-11e7-a56d-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/008b2d24-dcf9-45c0-b465-45d1e3c79e92?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/023dba63-2d48-469e-be05-845e6843b5a4?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:45:01 GMT'] + Date: ['Tue, 22 Aug 2017 23:55:49 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -63,10 +64,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [38ead559-08a8-4051-96d8-7f18e253854e] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [49a564d7-ad1d-4bca-966e-133bd09563f6] - x-ms-routing-request-id: ['WESTUS:20170627T164501Z:38ead559-08a8-4051-96d8-7f18e253854e'] + x-ms-correlation-request-id: [d0c752a2-04cf-42ed-8954-a83ac19634ab] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [7dc286a0-5eca-478b-9a23-fed1534d695f] + x-ms-routing-request-id: ['WESTUS:20170822T235549Z:d0c752a2-04cf-42ed-8954-a83ac19634ab'] status: {code: 200, message: OK} - request: body: null @@ -75,35 +76,36 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [f4659702-5b57-11e7-8a3d-ecb1d756380e] + x-ms-client-request-id: [69a15d98-8795-11e7-a56d-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses/pyipname773e115f?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses/pyipname773e115f?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyipname773e115f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses/pyipname773e115f\",\r\n - \ \"etag\": \"W/\\\"be9d63ac-703f-41e1-84fb-c7652abf07de\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"1499d741-46b2-4b0b-9567-abb614c01c5b\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"99b4d46e-abae-4895-9ee8-47a6debb5ffb\",\r\n + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"9eee7883-c774-408a-a053-64f8203bdcc3\",\r\n \ \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": - \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n}"} + \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:45:01 GMT'] - ETag: [W/"be9d63ac-703f-41e1-84fb-c7652abf07de"] + Date: ['Tue, 22 Aug 2017 23:55:49 GMT'] + ETag: [W/"1499d741-46b2-4b0b-9567-abb614c01c5b"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Transfer-Encoding: [chunked] Vary: [Accept-Encoding] - content-length: ['637'] - x-ms-correlation-request-id: [b92fa291-5484-41df-887f-d32b9c131878] - x-ms-ratelimit-remaining-subscription-reads: ['14989'] - x-ms-request-id: [29bd217c-0c12-4d70-b65f-2b9db9615acd] - x-ms-routing-request-id: ['WESTUS:20170627T164502Z:b92fa291-5484-41df-887f-d32b9c131878'] + content-length: ['676'] + x-ms-correlation-request-id: [44c29ec7-c49b-474c-8816-c23c8310f11f] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [b64d3339-6812-405b-a353-f350bf7959a6] + x-ms-routing-request-id: ['WESTUS:20170822T235549Z:44c29ec7-c49b-474c-8816-c23c8310f11f'] status: {code: 200, message: OK} - request: body: null @@ -112,35 +114,36 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [f70dfe22-5b57-11e7-8929-ecb1d756380e] + x-ms-client-request-id: [6ca5a8c0-8795-11e7-a783-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses/pyipname773e115f?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses/pyipname773e115f?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyipname773e115f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses/pyipname773e115f\",\r\n - \ \"etag\": \"W/\\\"be9d63ac-703f-41e1-84fb-c7652abf07de\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"1499d741-46b2-4b0b-9567-abb614c01c5b\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"99b4d46e-abae-4895-9ee8-47a6debb5ffb\",\r\n + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"9eee7883-c774-408a-a053-64f8203bdcc3\",\r\n \ \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": - \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n}"} + \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:45:01 GMT'] - ETag: [W/"be9d63ac-703f-41e1-84fb-c7652abf07de"] + Date: ['Tue, 22 Aug 2017 23:55:50 GMT'] + ETag: [W/"1499d741-46b2-4b0b-9567-abb614c01c5b"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Transfer-Encoding: [chunked] Vary: [Accept-Encoding] - content-length: ['637'] - x-ms-correlation-request-id: [ffc27231-5d83-4ecb-b576-e1dce1e57e6a] - x-ms-ratelimit-remaining-subscription-reads: ['14991'] - x-ms-request-id: [2a224c69-7c63-4986-bac1-f7c083ebc311] - x-ms-routing-request-id: ['WESTUS:20170627T164502Z:ffc27231-5d83-4ecb-b576-e1dce1e57e6a'] + content-length: ['676'] + x-ms-correlation-request-id: [3b9dffbb-2935-4205-a2a6-3c5695a48d96] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [5b428f35-099e-41a1-a2ad-4f350e2c0cbc] + x-ms-routing-request-id: ['WESTUS:20170822T235550Z:3b9dffbb-2935-4205-a2a6-3c5695a48d96'] status: {code: 200, message: OK} - request: body: null @@ -149,37 +152,37 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [f74255b0-5b57-11e7-ad1f-ecb1d756380e] + x-ms-client-request-id: [6cf9b108-8795-11e7-a508-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pyipname773e115f\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses/pyipname773e115f\",\r\n - \ \"etag\": \"W/\\\"be9d63ac-703f-41e1-84fb-c7652abf07de\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"1499d741-46b2-4b0b-9567-abb614c01c5b\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"99b4d46e-abae-4895-9ee8-47a6debb5ffb\",\r\n \"publicIPAddressVersion\": + \ \"resourceGuid\": \"9eee7883-c774-408a-a053-64f8203bdcc3\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": - 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n - \ }\r\n ]\r\n}"} + 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n }\r\n ]\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:45:02 GMT'] + Date: ['Tue, 22 Aug 2017 23:55:50 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Transfer-Encoding: [chunked] Vary: [Accept-Encoding] - content-length: ['730'] - x-ms-correlation-request-id: [3bb837ca-e0fb-42b2-9922-aaff78ee436a] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [e10695f9-f79e-4716-9cb3-cef36983635e] - x-ms-routing-request-id: ['WESTUS:20170627T164502Z:3bb837ca-e0fb-42b2-9922-aaff78ee436a'] + content-length: ['781'] + x-ms-correlation-request-id: [8ede2c4f-809a-4689-b52c-5fd0d31b8821] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [2b9be00a-f2b8-4767-9a69-765b943a9ba0] + x-ms-routing-request-id: ['WESTUS:20170822T235551Z:8ede2c4f-809a-4689-b52c-5fd0d31b8821'] status: {code: 200, message: OK} - request: body: null @@ -188,80 +191,37 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [f7750870-5b57-11e7-afdb-ecb1d756380e] + x-ms-client-request-id: [6d58e09a-8795-11e7-8e84-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/publicIPAddresses?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/publicIPAddresses?api-version=2017-08-01 response: - body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"LBIP-testfabriclmaz-0\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/publicIPAddresses/LBIP-testfabriclmaz-0\",\r\n - \ \"etag\": \"W/\\\"e20d4087-f78b-41b4-a2a2-bd20c78b35e0\\\"\",\r\n \"location\": - \"westus\",\r\n \"tags\": {\r\n \"resourceType\": \"Service Fabric\",\r\n - \ \"clusterName\": \"testfabriclmaz\"\r\n },\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"2b1fb70c-66eb-4913-9652-732cec1d01a9\",\r\n \"publicIPAddressVersion\": - \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": - 4,\r\n \"dnsSettings\": {\r\n \"domainNameLabel\": \"testfabriclmaz\",\r\n - \ \"fqdn\": \"testfabriclmaz.westus.cloudapp.azure.com\"\r\n },\r\n - \ \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/loadBalancers/LB-testfabriclmaz-testlmaz/frontendIPConfigurations/LoadBalancerIPConfig\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n - \ },\r\n {\r\n \"name\": \"UbuntuServerDoNotDelete\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/publicIPAddresses/UbuntuServerDoNotDelete\",\r\n - \ \"etag\": \"W/\\\"42c51adf-a1a3-4817-91e4-1d96d0f29693\\\"\",\r\n \"location\": - \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"28a1981e-6517-4a4f-bd1a-9ef1640a8039\",\r\n \"ipAddress\": - \"40.112.211.51\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": - \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipConfiguration\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkInterfaces/ubuntuserverdonotdel378/ipConfigurations/ipconfig1\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n - \ },\r\n {\r\n \"name\": \"swarm-agent-ip-pythonswarmagents-50B362A3\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/publicIPAddresses/swarm-agent-ip-pythonswarmagents-50B362A3\",\r\n - \ \"etag\": \"W/\\\"d2701f9d-3ab7-4e3f-88a1-ae7fcd044fb0\\\"\",\r\n \"location\": - \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"0bdb7000-cef0-4d4f-b233-d6b3d3bd7b27\",\r\n \"ipAddress\": - \"104.40.50.33\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": - \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"dnsSettings\": - {\r\n \"domainNameLabel\": \"pythonswarmagents\",\r\n \"fqdn\": - \"pythonswarmagents.westus.cloudapp.azure.com\"\r\n },\r\n \"ipConfiguration\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-agent-lb-50B362A3/frontendIPConfigurations/swarm-agent-lbFrontEnd-50B362A3\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n - \ },\r\n {\r\n \"name\": \"swarm-master-ip-pythonswarmmgmt-50B362A3\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/publicIPAddresses/swarm-master-ip-pythonswarmmgmt-50B362A3\",\r\n - \ \"etag\": \"W/\\\"9967861b-b98d-4acf-aa4e-e98e46854ea1\\\"\",\r\n \"location\": - \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"b581e886-4fa9-4ca6-b757-70335aeb991a\",\r\n \"ipAddress\": - \"104.45.232.201\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": - \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"dnsSettings\": - {\r\n \"domainNameLabel\": \"pythonswarmmgmt\",\r\n \"fqdn\": - \"pythonswarmmgmt.westus.cloudapp.azure.com\"\r\n },\r\n \"ipConfiguration\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/loadBalancers/swarm-master-lb-50B362A3/frontendIPConfigurations/swarm-master-lbFrontEnd-50B362A3\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n - \ },\r\n {\r\n \"name\": \"pyipname773e115f\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses/pyipname773e115f\",\r\n - \ \"etag\": \"W/\\\"be9d63ac-703f-41e1-84fb-c7652abf07de\\\"\",\r\n \"location\": + body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pyipname773e115f\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses/pyipname773e115f\",\r\n + \ \"etag\": \"W/\\\"1499d741-46b2-4b0b-9567-abb614c01c5b\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"99b4d46e-abae-4895-9ee8-47a6debb5ffb\",\r\n \"publicIPAddressVersion\": + \ \"resourceGuid\": \"9eee7883-c774-408a-a053-64f8203bdcc3\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": - 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n - \ }\r\n ]\r\n}"} + 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n }\r\n ]\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:45:02 GMT'] + Date: ['Tue, 22 Aug 2017 23:55:51 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Transfer-Encoding: [chunked] Vary: [Accept-Encoding] - content-length: ['5064'] - x-ms-correlation-request-id: [8a8168cd-1501-4451-a4a7-13e7cb51875a] - x-ms-ratelimit-remaining-subscription-reads: ['14990'] - x-ms-request-id: [42939364-970c-46c7-b910-e8f1417feedd] - x-ms-routing-request-id: ['WESTUS:20170627T164503Z:8a8168cd-1501-4451-a4a7-13e7cb51875a'] + content-length: ['781'] + x-ms-correlation-request-id: [13b29c51-7883-4b48-85f7-a56df5030665] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [61e51b5a-d404-4277-9de6-689e0a23ecaf] + x-ms-routing-request-id: ['WESTUS:20170822T235551Z:13b29c51-7883-4b48-85f7-a56df5030665'] status: {code: 200, message: OK} - request: body: null @@ -271,29 +231,29 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [f7a5cf52-5b57-11e7-a044-ecb1d756380e] + x-ms-client-request-id: [6d9bceba-8795-11e7-9f0d-ecb1d756380e] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses/pyipname773e115f?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses/pyipname773e115f?api-version=2017-08-01 response: body: {string: ''} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ce1ba62a-4367-4a0d-b089-8b6c0bb9a61d?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f5081930-d180-47c7-94dc-de3eea0e41c2?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['0'] - Date: ['Tue, 27 Jun 2017 16:45:03 GMT'] + Date: ['Tue, 22 Aug 2017 23:55:51 GMT'] Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/ce1ba62a-4367-4a0d-b089-8b6c0bb9a61d?api-version=2017-06-01'] + Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/f5081930-d180-47c7-94dc-de3eea0e41c2?api-version=2017-08-01'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [7e4d8b5b-7d00-4e15-9429-0cb2303e2cd0] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - x-ms-request-id: [ce1ba62a-4367-4a0d-b089-8b6c0bb9a61d] - x-ms-routing-request-id: ['WESTUS:20170627T164503Z:7e4d8b5b-7d00-4e15-9429-0cb2303e2cd0'] + x-ms-correlation-request-id: [3967b8e6-bb0f-45d1-805f-20a3fbd04320] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-request-id: [f5081930-d180-47c7-94dc-de3eea0e41c2] + x-ms-routing-request-id: ['WESTUS:20170822T235552Z:3967b8e6-bb0f-45d1-805f-20a3fbd04320'] status: {code: 202, message: Accepted} - request: body: null @@ -302,18 +262,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [f7a5cf52-5b57-11e7-a044-ecb1d756380e] + x-ms-client-request-id: [6d9bceba-8795-11e7-9f0d-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ce1ba62a-4367-4a0d-b089-8b6c0bb9a61d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f5081930-d180-47c7-94dc-de3eea0e41c2?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:45:13 GMT'] + Date: ['Tue, 22 Aug 2017 23:56:01 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -321,10 +281,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [d3e42242-e1de-494e-bd55-ceedd46af04e] - x-ms-ratelimit-remaining-subscription-reads: ['14990'] - x-ms-request-id: [76f9fcb7-b94a-497d-976c-a9e7e083f865] - x-ms-routing-request-id: ['WESTUS:20170627T164513Z:d3e42242-e1de-494e-bd55-ceedd46af04e'] + x-ms-correlation-request-id: [2574d98c-66a7-437a-82b3-040ac33b2069] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [0be9366f-771b-4895-9793-1f1454e4bd35] + x-ms-routing-request-id: ['WESTUS:20170822T235602Z:2574d98c-66a7-437a-82b3-040ac33b2069'] status: {code: 200, message: OK} - request: body: null @@ -333,26 +293,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [fe0f8b68-5b57-11e7-99a7-ecb1d756380e] + x-ms-client-request-id: [742aa054-8795-11e7-8a15-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_public_ip_addresses773e115f/providers/Microsoft.Network/publicIPAddresses?api-version=2017-08-01 response: body: {string: '{"value":[]}'} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:45:13 GMT'] + Date: ['Tue, 22 Aug 2017 23:56:02 GMT'] Expires: ['-1'] Pragma: [no-cache] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Vary: [Accept-Encoding] content-length: ['12'] - x-ms-correlation-request-id: [bc44a939-04f0-4a22-b134-1c5ee8d1f681] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [bc44a939-04f0-4a22-b134-1c5ee8d1f681] - x-ms-routing-request-id: ['WESTUS:20170627T164514Z:bc44a939-04f0-4a22-b134-1c5ee8d1f681'] + x-ms-correlation-request-id: [88a192d8-5a78-4e4b-907c-1219272eb91d] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [88a192d8-5a78-4e4b-907c-1219272eb91d] + x-ms-routing-request-id: ['WESTUS:20170822T235603Z:88a192d8-5a78-4e4b-907c-1219272eb91d'] status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt/tests/recordings/test_mgmt_network.test_routes.yaml b/azure-mgmt/tests/recordings/test_mgmt_network.test_routes.yaml index 1a68a0ea24c2..f371a200c1c9 100644 --- a/azure-mgmt/tests/recordings/test_mgmt_network.test_routes.yaml +++ b/azure-mgmt/tests/recordings/test_mgmt_network.test_routes.yaml @@ -7,33 +7,33 @@ interactions: Connection: [keep-alive] Content-Length: ['22'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [a042fb8c-5b52-11e7-aa91-ecb1d756380e] + x-ms-client-request-id: [776897a8-8795-11e7-a10b-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyroutetableb6760c2d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d\",\r\n - \ \"etag\": \"W/\\\"ea693a62-c6c4-43ee-a9c0-24ed3c000bff\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"d1a3430b-c0a4-4fd7-b6b8-181ac8195e37\\\"\",\r\n \"type\": \"Microsoft.Network/routeTables\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"2fe362b2-0b81-46be-80d0-0273d59cc8f0\",\r\n + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"f29490ca-9417-47a0-97d1-d16b8acc9e6c\",\r\n \ \"routes\": []\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ee2b7644-4c13-4f8e-a927-6e48826ccdd5?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/839b2463-13bb-4f46-bc19-cd0dd23474c0?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['484'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:06:49 GMT'] + Date: ['Tue, 22 Aug 2017 23:56:08 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [62909f58-b62c-4f40-86b6-edd4b3130234] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [ee2b7644-4c13-4f8e-a927-6e48826ccdd5] - x-ms-routing-request-id: ['WESTUS:20170627T160649Z:62909f58-b62c-4f40-86b6-edd4b3130234'] + x-ms-correlation-request-id: [d2c67cf6-c78b-438a-83fa-8744da3b663b] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-request-id: [839b2463-13bb-4f46-bc19-cd0dd23474c0] + x-ms-routing-request-id: ['WESTUS:20170822T235608Z:d2c67cf6-c78b-438a-83fa-8744da3b663b'] status: {code: 201, message: Created} - request: body: null @@ -42,18 +42,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [a042fb8c-5b52-11e7-aa91-ecb1d756380e] + x-ms-client-request-id: [776897a8-8795-11e7-a10b-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ee2b7644-4c13-4f8e-a927-6e48826ccdd5?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/839b2463-13bb-4f46-bc19-cd0dd23474c0?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:06:59 GMT'] + Date: ['Tue, 22 Aug 2017 23:56:17 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -61,10 +61,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [f78da494-5c61-4633-9516-4c8fada830ba] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [3bc5d6fc-eafa-4e83-ba08-62c26188a3fb] - x-ms-routing-request-id: ['WESTUS:20170627T160659Z:f78da494-5c61-4633-9516-4c8fada830ba'] + x-ms-correlation-request-id: [3162da59-27a8-4ceb-8383-2e26484352a4] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [80cec2cd-f38a-4f57-ba0e-2c145bbd43ca] + x-ms-routing-request-id: ['WESTUS:20170822T235618Z:3162da59-27a8-4ceb-8383-2e26484352a4'] status: {code: 200, message: OK} - request: body: null @@ -73,23 +73,23 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [a042fb8c-5b52-11e7-aa91-ecb1d756380e] + x-ms-client-request-id: [776897a8-8795-11e7-a10b-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyroutetableb6760c2d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d\",\r\n - \ \"etag\": \"W/\\\"dfca6e09-a742-4e8c-828a-eb5f12588e5b\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"805b33e9-f272-4c24-9010-8bd5fde0442d\\\"\",\r\n \"type\": \"Microsoft.Network/routeTables\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"2fe362b2-0b81-46be-80d0-0273d59cc8f0\",\r\n + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"f29490ca-9417-47a0-97d1-d16b8acc9e6c\",\r\n \ \"routes\": []\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:06:59 GMT'] - ETag: [W/"dfca6e09-a742-4e8c-828a-eb5f12588e5b"] + Date: ['Tue, 22 Aug 2017 23:56:18 GMT'] + ETag: [W/"805b33e9-f272-4c24-9010-8bd5fde0442d"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -97,10 +97,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['485'] - x-ms-correlation-request-id: [52aff2b4-f793-42b2-83e5-8f70c18a4308] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [e603d29a-69a9-43c3-af65-45cc10a217c7] - x-ms-routing-request-id: ['WESTUS:20170627T160700Z:52aff2b4-f793-42b2-83e5-8f70c18a4308'] + x-ms-correlation-request-id: [78ced3af-6fab-46d4-96f4-c5d30aeec2d5] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [a2b3a713-30fa-43ab-a890-96fcf6d92949] + x-ms-routing-request-id: ['WESTUS:20170822T235619Z:78ced3af-6fab-46d4-96f4-c5d30aeec2d5'] status: {code: 200, message: OK} - request: body: null @@ -109,23 +109,23 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [a6deed98-5b52-11e7-aa8f-ecb1d756380e] + x-ms-client-request-id: [7e34ce14-8795-11e7-9235-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyroutetableb6760c2d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d\",\r\n - \ \"etag\": \"W/\\\"dfca6e09-a742-4e8c-828a-eb5f12588e5b\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"805b33e9-f272-4c24-9010-8bd5fde0442d\\\"\",\r\n \"type\": \"Microsoft.Network/routeTables\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"2fe362b2-0b81-46be-80d0-0273d59cc8f0\",\r\n + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"f29490ca-9417-47a0-97d1-d16b8acc9e6c\",\r\n \ \"routes\": []\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:06:59 GMT'] - ETag: [W/"dfca6e09-a742-4e8c-828a-eb5f12588e5b"] + Date: ['Tue, 22 Aug 2017 23:56:20 GMT'] + ETag: [W/"805b33e9-f272-4c24-9010-8bd5fde0442d"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -133,10 +133,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['485'] - x-ms-correlation-request-id: [7f883166-e631-4590-8f28-0b4460cf729f] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [fabdd9a6-973e-4d8f-94c3-7f9df2607619] - x-ms-routing-request-id: ['WESTUS:20170627T160700Z:7f883166-e631-4590-8f28-0b4460cf729f'] + x-ms-correlation-request-id: [218039a4-bb72-4615-9f50-455e0b2dc0cd] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [ef67f1ac-2b7f-4cba-b472-17e14ad52a4f] + x-ms-routing-request-id: ['WESTUS:20170822T235620Z:218039a4-bb72-4615-9f50-455e0b2dc0cd'] status: {code: 200, message: OK} - request: body: null @@ -145,24 +145,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [a707384c-5b52-11e7-ada0-ecb1d756380e] + x-ms-client-request-id: [7eabed5c-8795-11e7-8ed2-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pyroutetableb6760c2d\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d\",\r\n - \ \"etag\": \"W/\\\"dfca6e09-a742-4e8c-828a-eb5f12588e5b\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"805b33e9-f272-4c24-9010-8bd5fde0442d\\\"\",\r\n \"type\": \"Microsoft.Network/routeTables\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"2fe362b2-0b81-46be-80d0-0273d59cc8f0\",\r\n \"routes\": + \ \"resourceGuid\": \"f29490ca-9417-47a0-97d1-d16b8acc9e6c\",\r\n \"routes\": []\r\n }\r\n }\r\n ]\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:00 GMT'] + Date: ['Tue, 22 Aug 2017 23:56:19 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -170,10 +170,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['558'] - x-ms-correlation-request-id: [17547629-f937-493c-a85c-6bc4bd1c3593] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [05c41418-6124-499f-8d06-017f4a12ec9d] - x-ms-routing-request-id: ['WESTUS:20170627T160700Z:17547629-f937-493c-a85c-6bc4bd1c3593'] + x-ms-correlation-request-id: [22063477-ff55-4e72-9257-e352e68f5435] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [b2a3cb82-ba5a-4d7f-8fa3-30d837e87b7d] + x-ms-routing-request-id: ['WESTUS:20170822T235620Z:22063477-ff55-4e72-9257-e352e68f5435'] status: {code: 200, message: OK} - request: body: null @@ -182,24 +182,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [a734b5de-5b52-11e7-89d4-ecb1d756380e] + x-ms-client-request-id: [7ee3c5b4-8795-11e7-8faf-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/routeTables?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/routeTables?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pyroutetableb6760c2d\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d\",\r\n - \ \"etag\": \"W/\\\"dfca6e09-a742-4e8c-828a-eb5f12588e5b\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"805b33e9-f272-4c24-9010-8bd5fde0442d\\\"\",\r\n \"type\": \"Microsoft.Network/routeTables\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"2fe362b2-0b81-46be-80d0-0273d59cc8f0\",\r\n \"routes\": + \ \"resourceGuid\": \"f29490ca-9417-47a0-97d1-d16b8acc9e6c\",\r\n \"routes\": []\r\n }\r\n }\r\n ]\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:00 GMT'] + Date: ['Tue, 22 Aug 2017 23:56:20 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -207,45 +207,45 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['558'] - x-ms-correlation-request-id: [030a2d9f-c3a5-4ed6-a89c-494acbc9d2b4] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [ea8b10b3-09e1-4157-a892-23383d30d8e6] - x-ms-routing-request-id: ['WESTUS:20170627T160701Z:030a2d9f-c3a5-4ed6-a89c-494acbc9d2b4'] + x-ms-correlation-request-id: [13835a5f-d344-429c-a4c0-68110b41d28d] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [8d5084a4-c589-4152-b8e1-8416a3935eef] + x-ms-routing-request-id: ['WESTUS:20170822T235620Z:13835a5f-d344-429c-a4c0-68110b41d28d'] status: {code: 200, message: OK} - request: - body: '{"properties": {"nextHopType": "None", "addressPrefix": "10.1.0.0/16"}}' + body: '{"properties": {"addressPrefix": "10.1.0.0/16", "nextHopType": "None"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['71'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [a76cbb30-5b52-11e7-ade2-ecb1d756380e] + x-ms-client-request-id: [7f1dc25c-8795-11e7-972d-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d/routes/pyrouteb6760c2d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d/routes/pyrouteb6760c2d?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyrouteb6760c2d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d/routes/pyrouteb6760c2d\",\r\n - \ \"etag\": \"W/\\\"d17cc19c-4745-4f43-80dc-4b5facd2c738\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"0af357cc-4b7d-46b2-8b11-60f55ce5f184\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.1.0.0/16\",\r\n \ \"nextHopType\": \"None\"\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ab5bfde7-5ce2-480f-ac25-024f767a77d1?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/48ffb35f-af79-47dd-9f38-3f727c61fd87?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['418'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:01 GMT'] + Date: ['Tue, 22 Aug 2017 23:56:21 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [002d3da1-f3c1-479b-9372-409bf25e5df4] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [ab5bfde7-5ce2-480f-ac25-024f767a77d1] - x-ms-routing-request-id: ['WESTUS:20170627T160701Z:002d3da1-f3c1-479b-9372-409bf25e5df4'] + x-ms-correlation-request-id: [6a690459-ba61-4fd0-baca-e63bd69d67fe] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-request-id: [48ffb35f-af79-47dd-9f38-3f727c61fd87] + x-ms-routing-request-id: ['WESTUS:20170822T235621Z:6a690459-ba61-4fd0-baca-e63bd69d67fe'] status: {code: 201, message: Created} - request: body: null @@ -254,18 +254,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [a76cbb30-5b52-11e7-ade2-ecb1d756380e] + x-ms-client-request-id: [7f1dc25c-8795-11e7-972d-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ab5bfde7-5ce2-480f-ac25-024f767a77d1?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/48ffb35f-af79-47dd-9f38-3f727c61fd87?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:11 GMT'] + Date: ['Tue, 22 Aug 2017 23:56:31 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -273,10 +273,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [fe4eca1d-2477-4540-a926-137d0557b90a] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [fd00064a-9c0d-4f91-962c-e49abbdf78a0] - x-ms-routing-request-id: ['WESTUS:20170627T160712Z:fe4eca1d-2477-4540-a926-137d0557b90a'] + x-ms-correlation-request-id: [ad9289d4-1a66-41aa-a96b-f14e761c4d3f] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [5f5a9e13-ca1a-430e-ba59-bcb5b18d1929] + x-ms-routing-request-id: ['WESTUS:20170822T235632Z:ad9289d4-1a66-41aa-a96b-f14e761c4d3f'] status: {code: 200, message: OK} - request: body: null @@ -285,22 +285,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [a76cbb30-5b52-11e7-ade2-ecb1d756380e] + x-ms-client-request-id: [7f1dc25c-8795-11e7-972d-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d/routes/pyrouteb6760c2d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d/routes/pyrouteb6760c2d?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyrouteb6760c2d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d/routes/pyrouteb6760c2d\",\r\n - \ \"etag\": \"W/\\\"9655d186-7791-4284-81ec-66efc7d752b7\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"6c4e0c9b-8eae-4330-8406-2e801ca9b1cd\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.1.0.0/16\",\r\n \ \"nextHopType\": \"None\"\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:11 GMT'] - ETag: [W/"9655d186-7791-4284-81ec-66efc7d752b7"] + Date: ['Tue, 22 Aug 2017 23:56:32 GMT'] + ETag: [W/"6c4e0c9b-8eae-4330-8406-2e801ca9b1cd"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -308,10 +308,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['419'] - x-ms-correlation-request-id: [b76530b0-ff58-43d2-a4ed-0143e4117902] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [73bc58ee-6637-42db-993a-a21ae01405d8] - x-ms-routing-request-id: ['WESTUS:20170627T160712Z:b76530b0-ff58-43d2-a4ed-0143e4117902'] + x-ms-correlation-request-id: [033d7f96-827a-4db6-adfd-f68cc9da0502] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [30362b7f-403c-4774-8af3-abfc213b0269] + x-ms-routing-request-id: ['WESTUS:20170822T235632Z:033d7f96-827a-4db6-adfd-f68cc9da0502'] status: {code: 200, message: OK} - request: body: null @@ -320,22 +320,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ae4bcd5e-5b52-11e7-ac1d-ecb1d756380e] + x-ms-client-request-id: [86272e86-8795-11e7-b31d-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d/routes/pyrouteb6760c2d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d/routes/pyrouteb6760c2d?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyrouteb6760c2d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d/routes/pyrouteb6760c2d\",\r\n - \ \"etag\": \"W/\\\"9655d186-7791-4284-81ec-66efc7d752b7\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"6c4e0c9b-8eae-4330-8406-2e801ca9b1cd\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.1.0.0/16\",\r\n \ \"nextHopType\": \"None\"\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:12 GMT'] - ETag: [W/"9655d186-7791-4284-81ec-66efc7d752b7"] + Date: ['Tue, 22 Aug 2017 23:56:32 GMT'] + ETag: [W/"6c4e0c9b-8eae-4330-8406-2e801ca9b1cd"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -343,10 +343,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['419'] - x-ms-correlation-request-id: [cda049c1-1017-4db4-ada7-b2885797ec92] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [dc284d98-1d24-4269-ae71-2b5232d5430d] - x-ms-routing-request-id: ['WESTUS:20170627T160713Z:cda049c1-1017-4db4-ada7-b2885797ec92'] + x-ms-correlation-request-id: [044241b4-3b08-4452-8c0f-5f4483096669] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [4bb5258e-3343-439f-9bc3-599b569f5661] + x-ms-routing-request-id: ['WESTUS:20170822T235633Z:044241b4-3b08-4452-8c0f-5f4483096669'] status: {code: 200, message: OK} - request: body: null @@ -355,23 +355,23 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ae7e2bac-5b52-11e7-99f3-ecb1d756380e] + x-ms-client-request-id: [86787d3a-8795-11e7-955f-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d/routes?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d/routes?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pyrouteb6760c2d\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d/routes/pyrouteb6760c2d\",\r\n - \ \"etag\": \"W/\\\"9655d186-7791-4284-81ec-66efc7d752b7\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"6c4e0c9b-8eae-4330-8406-2e801ca9b1cd\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.1.0.0/16\",\r\n \"nextHopType\": \"None\"\r\n }\r\n }\r\n \ ]\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:13 GMT'] + Date: ['Tue, 22 Aug 2017 23:56:33 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -379,10 +379,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['484'] - x-ms-correlation-request-id: [0b7a986a-de1f-4b90-9c44-975965f51a90] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [3e1fe423-fc40-4cbc-b682-b2766eb6d3f5] - x-ms-routing-request-id: ['WESTUS:20170627T160713Z:0b7a986a-de1f-4b90-9c44-975965f51a90'] + x-ms-correlation-request-id: [e4ac2074-c72b-4998-b98b-54d6c01d9c59] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [149c348b-f666-4d4a-8ed7-570e86e8a474] + x-ms-routing-request-id: ['WESTUS:20170822T235633Z:e4ac2074-c72b-4998-b98b-54d6c01d9c59'] status: {code: 200, message: OK} - request: body: null @@ -392,29 +392,29 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [aec50cfe-5b52-11e7-9310-ecb1d756380e] + x-ms-client-request-id: [86b46054-8795-11e7-b268-ecb1d756380e] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d/routes/pyrouteb6760c2d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d/routes/pyrouteb6760c2d?api-version=2017-08-01 response: body: {string: ''} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7bc9305f-f153-4b35-8840-b8481c204589?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/30c25439-2e0d-4fac-9e2a-7e11c9e3d29d?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['0'] - Date: ['Tue, 27 Jun 2017 16:07:13 GMT'] + Date: ['Tue, 22 Aug 2017 23:56:34 GMT'] Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/7bc9305f-f153-4b35-8840-b8481c204589?api-version=2017-06-01'] + Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/30c25439-2e0d-4fac-9e2a-7e11c9e3d29d?api-version=2017-08-01'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [1f3e1d5f-de49-4c24-af65-9bda4c07a268] + x-ms-correlation-request-id: [3e3da569-d7d8-4e99-8aeb-dbca24d369e3] x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [7bc9305f-f153-4b35-8840-b8481c204589] - x-ms-routing-request-id: ['WESTUS:20170627T160714Z:1f3e1d5f-de49-4c24-af65-9bda4c07a268'] + x-ms-request-id: [30c25439-2e0d-4fac-9e2a-7e11c9e3d29d] + x-ms-routing-request-id: ['WESTUS:20170822T235634Z:3e3da569-d7d8-4e99-8aeb-dbca24d369e3'] status: {code: 202, message: Accepted} - request: body: null @@ -423,18 +423,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [aec50cfe-5b52-11e7-9310-ecb1d756380e] + x-ms-client-request-id: [86b46054-8795-11e7-b268-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7bc9305f-f153-4b35-8840-b8481c204589?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/30c25439-2e0d-4fac-9e2a-7e11c9e3d29d?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:24 GMT'] + Date: ['Tue, 22 Aug 2017 23:56:44 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -442,10 +442,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [fd38d595-adfe-4f98-97d1-1bc4e890936c] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [8191d668-77c6-4c71-b136-70308cfec904] - x-ms-routing-request-id: ['WESTUS:20170627T160724Z:fd38d595-adfe-4f98-97d1-1bc4e890936c'] + x-ms-correlation-request-id: [ed25a1f9-4188-457d-92ac-cf064dbd7ed3] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [c3fec3f3-1f55-47ea-b319-0fe66be9dfa2] + x-ms-routing-request-id: ['WESTUS:20170822T235644Z:ed25a1f9-4188-457d-92ac-cf064dbd7ed3'] status: {code: 200, message: OK} - request: body: null @@ -455,29 +455,29 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [b5321dde-5b52-11e7-a7f8-ecb1d756380e] + x-ms-client-request-id: [8d799122-8795-11e7-b708-ecb1d756380e] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_routesb6760c2d/providers/Microsoft.Network/routeTables/pyroutetableb6760c2d?api-version=2017-08-01 response: body: {string: ''} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/84ec32f8-2b97-4cd1-a9dd-2b0fc91ea631?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/07e3797b-8992-4f35-975b-249f3130639f?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['0'] - Date: ['Tue, 27 Jun 2017 16:07:24 GMT'] + Date: ['Tue, 22 Aug 2017 23:56:44 GMT'] Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/84ec32f8-2b97-4cd1-a9dd-2b0fc91ea631?api-version=2017-06-01'] + Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/07e3797b-8992-4f35-975b-249f3130639f?api-version=2017-08-01'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [f5a17693-2912-423b-88f5-dcf799e09278] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - x-ms-request-id: [84ec32f8-2b97-4cd1-a9dd-2b0fc91ea631] - x-ms-routing-request-id: ['WESTUS:20170627T160724Z:f5a17693-2912-423b-88f5-dcf799e09278'] + x-ms-correlation-request-id: [b79f2584-cec7-4c26-a94d-d17f34234d5a] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-request-id: [07e3797b-8992-4f35-975b-249f3130639f] + x-ms-routing-request-id: ['WESTUS:20170822T235645Z:b79f2584-cec7-4c26-a94d-d17f34234d5a'] status: {code: 202, message: Accepted} - request: body: null @@ -486,18 +486,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [b5321dde-5b52-11e7-a7f8-ecb1d756380e] + x-ms-client-request-id: [8d799122-8795-11e7-b708-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/84ec32f8-2b97-4cd1-a9dd-2b0fc91ea631?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/07e3797b-8992-4f35-975b-249f3130639f?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:33 GMT'] + Date: ['Tue, 22 Aug 2017 23:56:55 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -505,9 +505,9 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [056d84bb-db94-4956-a6f2-a31b7da1fb02] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [8cfaddb0-e028-40a3-bd76-48d630a0915b] - x-ms-routing-request-id: ['WESTUS:20170627T160734Z:056d84bb-db94-4956-a6f2-a31b7da1fb02'] + x-ms-correlation-request-id: [a79a4933-87c8-436b-b45a-05d70722d1cf] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [94a25b1d-15cf-4a23-b0b7-c61c1c9b003e] + x-ms-routing-request-id: ['WESTUS:20170822T235655Z:a79a4933-87c8-436b-b45a-05d70722d1cf'] status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt/tests/recordings/test_mgmt_network.test_subnets.yaml b/azure-mgmt/tests/recordings/test_mgmt_network.test_subnets.yaml index e143bf9b34bb..8700bb3c6ec5 100644 --- a/azure-mgmt/tests/recordings/test_mgmt_network.test_subnets.yaml +++ b/azure-mgmt/tests/recordings/test_mgmt_network.test_subnets.yaml @@ -1,49 +1,49 @@ interactions: - request: - body: '{"properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": - {"dnsServers": ["10.1.1.1", "10.1.2.4"]}, "subnets": [{"name": "pysubnetonec2cc0c8f", - "properties": {"addressPrefix": "10.0.1.0/24"}}]}, "location": "westus"}' + body: '{"location": "westus", "properties": {"dhcpOptions": {"dnsServers": ["10.1.1.1", + "10.1.2.4"]}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": + [{"name": "pysubnetonec2cc0c8f", "properties": {"addressPrefix": "10.0.1.0/24"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['243'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [2cfbe29e-5b57-11e7-8050-ecb1d756380e] + x-ms-client-request-id: [96dfba22-8795-11e7-9327-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysubnetc2cc0c8f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f\",\r\n - \ \"etag\": \"W/\\\"ad551805-f03a-42c1-a56a-fc23fe1e462c\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"b9540b39-5c09-4861-b065-addd6121260d\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"fcb8a7f0-b507-4631-b1dd-e535ad612c8f\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + \"5ddd8835-bc04-441b-8170-0d77d0d45c3d\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": [\r\n \"10.1.1.1\",\r\n \"10.1.2.4\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"pysubnetonec2cc0c8f\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnetonec2cc0c8f\",\r\n - \ \"etag\": \"W/\\\"ad551805-f03a-42c1-a56a-fc23fe1e462c\\\"\",\r\n + \ \"etag\": \"W/\\\"b9540b39-5c09-4861-b065-addd6121260d\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n }\r\n ],\r\n \ \"virtualNetworkPeerings\": []\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f6757383-08be-4381-a557-448265325240?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/64105bdd-16db-46a6-bfbb-4a62cc728e0d?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['1177'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:22 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:01 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [38260bc0-d89d-4540-a9ed-54c6f73878a1] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - x-ms-request-id: [f6757383-08be-4381-a557-448265325240] - x-ms-routing-request-id: ['WESTUS:20170627T163923Z:38260bc0-d89d-4540-a9ed-54c6f73878a1'] + x-ms-correlation-request-id: [7290873b-b589-4099-a442-71fc39aa1103] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-request-id: [64105bdd-16db-46a6-bfbb-4a62cc728e0d] + x-ms-routing-request-id: ['WESTUS:20170822T235701Z:7290873b-b589-4099-a442-71fc39aa1103'] status: {code: 201, message: Created} - request: body: null @@ -52,18 +52,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [2cfbe29e-5b57-11e7-8050-ecb1d756380e] + x-ms-client-request-id: [96dfba22-8795-11e7-9327-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f6757383-08be-4381-a557-448265325240?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/64105bdd-16db-46a6-bfbb-4a62cc728e0d?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:26 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:04 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -71,10 +71,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [55b46e80-44cd-4fe7-a815-dab44dd6f205] - x-ms-ratelimit-remaining-subscription-reads: ['14990'] - x-ms-request-id: [58be56ed-801a-41a3-8811-5be92967ed4c] - x-ms-routing-request-id: ['WESTUS:20170627T163927Z:55b46e80-44cd-4fe7-a815-dab44dd6f205'] + x-ms-correlation-request-id: [335bd602-6efc-4fa1-8b92-db6f10cf0d87] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [3f4f153a-e613-4a50-afbb-3978f4125349] + x-ms-routing-request-id: ['WESTUS:20170822T235704Z:335bd602-6efc-4fa1-8b92-db6f10cf0d87'] status: {code: 200, message: OK} - request: body: null @@ -83,31 +83,31 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [2cfbe29e-5b57-11e7-8050-ecb1d756380e] + x-ms-client-request-id: [96dfba22-8795-11e7-9327-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysubnetc2cc0c8f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f\",\r\n - \ \"etag\": \"W/\\\"ede79d41-b0c3-43fd-9f89-315e84e9a3aa\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"bf064974-a49a-4c8b-ac23-9e866b078249\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"fcb8a7f0-b507-4631-b1dd-e535ad612c8f\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + \"5ddd8835-bc04-441b-8170-0d77d0d45c3d\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": [\r\n \"10.1.1.1\",\r\n \"10.1.2.4\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"pysubnetonec2cc0c8f\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnetonec2cc0c8f\",\r\n - \ \"etag\": \"W/\\\"ede79d41-b0c3-43fd-9f89-315e84e9a3aa\\\"\",\r\n + \ \"etag\": \"W/\\\"bf064974-a49a-4c8b-ac23-9e866b078249\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n }\r\n ],\r\n \ \"virtualNetworkPeerings\": []\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:27 GMT'] - ETag: [W/"ede79d41-b0c3-43fd-9f89-315e84e9a3aa"] + Date: ['Tue, 22 Aug 2017 23:57:05 GMT'] + ETag: [W/"bf064974-a49a-4c8b-ac23-9e866b078249"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -115,10 +115,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['1179'] - x-ms-correlation-request-id: [be274314-4674-4eb7-8cf9-6c0d94243aaf] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [b97e0c5c-30a5-44d9-b9b5-556478203bc6] - x-ms-routing-request-id: ['WESTUS:20170627T163927Z:be274314-4674-4eb7-8cf9-6c0d94243aaf'] + x-ms-correlation-request-id: [8aa4df81-9f23-4131-8be6-d4e35ba941d5] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [43fc531f-2597-4c45-874b-06f46d02a839] + x-ms-routing-request-id: ['WESTUS:20170822T235705Z:8aa4df81-9f23-4131-8be6-d4e35ba941d5'] status: {code: 200, message: OK} - request: body: '{"name": "pysubnettwoc2cc0c8f", "properties": {"addressPrefix": "10.0.2.0/24"}}' @@ -128,32 +128,32 @@ interactions: Connection: [keep-alive] Content-Length: ['79'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [2fa3e466-5b57-11e7-ba71-ecb1d756380e] + x-ms-client-request-id: [999d9380-8795-11e7-ae2b-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnettwoc2cc0c8f?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnettwoc2cc0c8f?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysubnettwoc2cc0c8f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnettwoc2cc0c8f\",\r\n - \ \"etag\": \"W/\\\"8389e10a-e90a-46dd-a78c-e8cff223a9f1\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"c37ad642-b8d3-4228-b004-5d6bbfd8baa2\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.2.0/24\"\r\n \ }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/24a6a1aa-b49e-414a-9ebf-c301ee30f79a?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3f228a87-69c9-4712-be65-0a2b38fb14b6?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['400'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:27 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:06 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [81a4a15b-c083-4256-b303-9abbcf01e989] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - x-ms-request-id: [24a6a1aa-b49e-414a-9ebf-c301ee30f79a] - x-ms-routing-request-id: ['WESTUS:20170627T163928Z:81a4a15b-c083-4256-b303-9abbcf01e989'] + x-ms-correlation-request-id: [2b2fcfbf-caf1-4fad-a983-67b9500dfc0a] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-request-id: [3f228a87-69c9-4712-be65-0a2b38fb14b6] + x-ms-routing-request-id: ['WESTUS:20170822T235707Z:2b2fcfbf-caf1-4fad-a983-67b9500dfc0a'] status: {code: 201, message: Created} - request: body: null @@ -162,18 +162,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [2fa3e466-5b57-11e7-ba71-ecb1d756380e] + x-ms-client-request-id: [999d9380-8795-11e7-ae2b-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/24a6a1aa-b49e-414a-9ebf-c301ee30f79a?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3f228a87-69c9-4712-be65-0a2b38fb14b6?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:31 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:09 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -181,10 +181,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [aeb9602c-80a9-4885-a3df-74a3a6faca8c] - x-ms-ratelimit-remaining-subscription-reads: ['14991'] - x-ms-request-id: [b179812f-e438-4c97-a979-85201d594b9d] - x-ms-routing-request-id: ['WESTUS:20170627T163931Z:aeb9602c-80a9-4885-a3df-74a3a6faca8c'] + x-ms-correlation-request-id: [854e33e6-cb5b-47e6-8a1c-8902c500c695] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [63591677-e563-400c-93c6-4d643e6bee79] + x-ms-routing-request-id: ['WESTUS:20170822T235710Z:854e33e6-cb5b-47e6-8a1c-8902c500c695'] status: {code: 200, message: OK} - request: body: null @@ -193,22 +193,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [2fa3e466-5b57-11e7-ba71-ecb1d756380e] + x-ms-client-request-id: [999d9380-8795-11e7-ae2b-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnettwoc2cc0c8f?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnettwoc2cc0c8f?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysubnettwoc2cc0c8f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnettwoc2cc0c8f\",\r\n - \ \"etag\": \"W/\\\"7f8214a3-c1e7-4591-aed5-ca5f70600480\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"6a897647-40f1-4790-9489-83727b186836\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.2.0/24\"\r\n \ }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:31 GMT'] - ETag: [W/"7f8214a3-c1e7-4591-aed5-ca5f70600480"] + Date: ['Tue, 22 Aug 2017 23:57:10 GMT'] + ETag: [W/"6a897647-40f1-4790-9489-83727b186836"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -216,10 +216,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['401'] - x-ms-correlation-request-id: [5be0ffcf-3d78-493a-8c6b-b83805031934] - x-ms-ratelimit-remaining-subscription-reads: ['14991'] - x-ms-request-id: [7a785bb2-1f7c-462f-ab0d-08168051f825] - x-ms-routing-request-id: ['WESTUS:20170627T163932Z:5be0ffcf-3d78-493a-8c6b-b83805031934'] + x-ms-correlation-request-id: [4ac47ef5-2cd9-440d-a752-94255399c91f] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [2e8d8b8b-3200-4c93-ad6d-46ef8a48186f] + x-ms-routing-request-id: ['WESTUS:20170822T235711Z:4ac47ef5-2cd9-440d-a752-94255399c91f'] status: {code: 200, message: OK} - request: body: null @@ -228,35 +228,35 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [3254eaa2-5b57-11e7-864c-ecb1d756380e] + x-ms-client-request-id: [9d0ff198-8795-11e7-a552-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysubnetc2cc0c8f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f\",\r\n - \ \"etag\": \"W/\\\"7f8214a3-c1e7-4591-aed5-ca5f70600480\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"6a897647-40f1-4790-9489-83727b186836\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"fcb8a7f0-b507-4631-b1dd-e535ad612c8f\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + \"5ddd8835-bc04-441b-8170-0d77d0d45c3d\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": [\r\n \"10.1.1.1\",\r\n \"10.1.2.4\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"pysubnetonec2cc0c8f\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnetonec2cc0c8f\",\r\n - \ \"etag\": \"W/\\\"7f8214a3-c1e7-4591-aed5-ca5f70600480\\\"\",\r\n + \ \"etag\": \"W/\\\"6a897647-40f1-4790-9489-83727b186836\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n },\r\n \ {\r\n \"name\": \"pysubnettwoc2cc0c8f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnettwoc2cc0c8f\",\r\n - \ \"etag\": \"W/\\\"7f8214a3-c1e7-4591-aed5-ca5f70600480\\\"\",\r\n + \ \"etag\": \"W/\\\"6a897647-40f1-4790-9489-83727b186836\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.2.0/24\"\r\n }\r\n }\r\n ],\r\n \ \"virtualNetworkPeerings\": []\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:32 GMT'] - ETag: [W/"7f8214a3-c1e7-4591-aed5-ca5f70600480"] + Date: ['Tue, 22 Aug 2017 23:57:10 GMT'] + ETag: [W/"6a897647-40f1-4790-9489-83727b186836"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -264,10 +264,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['1637'] - x-ms-correlation-request-id: [a319416b-4e9c-4bfd-9ed3-94529ac03263] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [34f794a8-6673-473c-816d-7e45b06d0428] - x-ms-routing-request-id: ['WESTUS:20170627T163932Z:a319416b-4e9c-4bfd-9ed3-94529ac03263'] + x-ms-correlation-request-id: [3191899e-b35a-46e2-ab53-bd22c89ea493] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [ee2121c4-1c54-427c-a3ea-ad1ab0052d65] + x-ms-routing-request-id: ['WESTUS:20170822T235711Z:3191899e-b35a-46e2-ab53-bd22c89ea493'] status: {code: 200, message: OK} - request: body: null @@ -276,22 +276,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [32874388-5b57-11e7-9ade-ecb1d756380e] + x-ms-client-request-id: [9d5f3780-8795-11e7-97df-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnettwoc2cc0c8f?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnettwoc2cc0c8f?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysubnettwoc2cc0c8f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnettwoc2cc0c8f\",\r\n - \ \"etag\": \"W/\\\"7f8214a3-c1e7-4591-aed5-ca5f70600480\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"6a897647-40f1-4790-9489-83727b186836\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.2.0/24\"\r\n \ }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:32 GMT'] - ETag: [W/"7f8214a3-c1e7-4591-aed5-ca5f70600480"] + Date: ['Tue, 22 Aug 2017 23:57:12 GMT'] + ETag: [W/"6a897647-40f1-4790-9489-83727b186836"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -299,10 +299,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['401'] - x-ms-correlation-request-id: [934a8880-e7b6-4794-a10e-e6bbda6a8822] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [79918e3c-00dc-4dc5-be19-25e1aba46994] - x-ms-routing-request-id: ['WESTUS:20170627T163932Z:934a8880-e7b6-4794-a10e-e6bbda6a8822'] + x-ms-correlation-request-id: [947efd37-1c52-4007-b1b2-262ee5914d1e] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [3661a660-e8e8-4b55-ba24-a0258bb6e408] + x-ms-routing-request-id: ['WESTUS:20170822T235712Z:947efd37-1c52-4007-b1b2-262ee5914d1e'] status: {code: 200, message: OK} - request: body: null @@ -311,26 +311,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [32aca088-5b57-11e7-8f6f-ecb1d756380e] + x-ms-client-request-id: [9dd4958c-8795-11e7-9c0e-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pysubnetonec2cc0c8f\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnetonec2cc0c8f\",\r\n - \ \"etag\": \"W/\\\"7f8214a3-c1e7-4591-aed5-ca5f70600480\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"6a897647-40f1-4790-9489-83727b186836\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n },\r\n {\r\n \"name\": \"pysubnettwoc2cc0c8f\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnettwoc2cc0c8f\",\r\n - \ \"etag\": \"W/\\\"7f8214a3-c1e7-4591-aed5-ca5f70600480\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"6a897647-40f1-4790-9489-83727b186836\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.2.0/24\"\r\n }\r\n }\r\n ]\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:32 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:12 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -338,10 +338,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['902'] - x-ms-correlation-request-id: [9d20516e-185d-4511-8f01-a61a7794cc71] + x-ms-correlation-request-id: [1820f9b0-217a-4ede-8aef-697637b1fa04] x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [d44cc2c1-86f3-4eff-9520-c9dae1dd5931] - x-ms-routing-request-id: ['WESTUS:20170627T163933Z:9d20516e-185d-4511-8f01-a61a7794cc71'] + x-ms-request-id: [1d34fe6f-889c-477a-9e3a-464ee6c8b266] + x-ms-routing-request-id: ['WESTUS:20170822T235712Z:1820f9b0-217a-4ede-8aef-697637b1fa04'] status: {code: 200, message: OK} - request: body: null @@ -351,29 +351,29 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [32dda33e-5b57-11e7-8c3b-ecb1d756380e] + x-ms-client-request-id: [9e14a446-8795-11e7-9c72-ecb1d756380e] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnettwoc2cc0c8f?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_subnetsc2cc0c8f/providers/Microsoft.Network/virtualNetworks/pysubnetc2cc0c8f/subnets/pysubnettwoc2cc0c8f?api-version=2017-08-01 response: body: {string: ''} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6b24cd3f-3216-4624-8cb6-3495be32b424?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cdf8795a-f14d-4d75-bf9c-e4c9fb4e8486?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['0'] - Date: ['Tue, 27 Jun 2017 16:39:33 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:13 GMT'] Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/6b24cd3f-3216-4624-8cb6-3495be32b424?api-version=2017-06-01'] + Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/cdf8795a-f14d-4d75-bf9c-e4c9fb4e8486?api-version=2017-08-01'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [eb8ff625-caee-4fd4-bf8d-5e93ac90cca4] + x-ms-correlation-request-id: [85c3ab6a-dbde-47b9-be28-ead7f1cdf8be] x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [6b24cd3f-3216-4624-8cb6-3495be32b424] - x-ms-routing-request-id: ['WESTUS2:20170627T163933Z:eb8ff625-caee-4fd4-bf8d-5e93ac90cca4'] + x-ms-request-id: [cdf8795a-f14d-4d75-bf9c-e4c9fb4e8486] + x-ms-routing-request-id: ['WESTUS:20170822T235713Z:85c3ab6a-dbde-47b9-be28-ead7f1cdf8be'] status: {code: 202, message: Accepted} - request: body: null @@ -382,18 +382,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [32dda33e-5b57-11e7-8c3b-ecb1d756380e] + x-ms-client-request-id: [9e14a446-8795-11e7-9c72-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6b24cd3f-3216-4624-8cb6-3495be32b424?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cdf8795a-f14d-4d75-bf9c-e4c9fb4e8486?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:39:43 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:23 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -401,9 +401,9 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [9a8ac9a7-92da-4edf-b182-6089e0864a2b] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [51488319-793f-4d0e-bf23-c0351a4e7778] - x-ms-routing-request-id: ['WESTUS2:20170627T163944Z:9a8ac9a7-92da-4edf-b182-6089e0864a2b'] + x-ms-correlation-request-id: [43f6d646-4865-4a02-947b-b2193b760302] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [23a10896-095d-49df-a395-151c13c134fd] + x-ms-routing-request-id: ['WESTUS:20170822T235724Z:43f6d646-4865-4a02-947b-b2193b760302'] status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt/tests/recordings/test_mgmt_network.test_usages.yaml b/azure-mgmt/tests/recordings/test_mgmt_network.test_usages.yaml index 3bd8ffa56c89..f3f8100c5aac 100644 --- a/azure-mgmt/tests/recordings/test_mgmt_network.test_usages.yaml +++ b/azure-mgmt/tests/recordings/test_mgmt_network.test_usages.yaml @@ -6,14 +6,14 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [9dafb002-5b52-11e7-b596-ecb1d756380e] + x-ms-client-request-id: [a7a4cd94-8795-11e7-acf4-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages?api-version=2017-08-01 response: - body: {string: "{\r\n \"value\": [\r\n {\r\n \"currentValue\": 4.0,\r\n + body: {string: "{\r\n \"value\": [\r\n {\r\n \"currentValue\": 1.0,\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/VirtualNetworks\",\r\n \ \"limit\": 50.0,\r\n \"name\": {\r\n \"localizedValue\": \"Virtual Networks\",\r\n \"value\": \"VirtualNetworks\"\r\n },\r\n @@ -22,18 +22,18 @@ interactions: \ \"limit\": 20.0,\r\n \"name\": {\r\n \"localizedValue\": \"Static Public IP Addresses\",\r\n \"value\": \"StaticPublicIPAddresses\"\r\n \ },\r\n \"unit\": \"Count\"\r\n },\r\n {\r\n \"currentValue\": - 2.0,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/NetworkSecurityGroups\",\r\n + 0.0,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/NetworkSecurityGroups\",\r\n \ \"limit\": 100.0,\r\n \"name\": {\r\n \"localizedValue\": \"Network Security Groups\",\r\n \"value\": \"NetworkSecurityGroups\"\r\n \ },\r\n \"unit\": \"Count\"\r\n },\r\n {\r\n \"currentValue\": - 4.0,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/PublicIPAddresses\",\r\n + 0.0,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/PublicIPAddresses\",\r\n \ \"limit\": 60.0,\r\n \"name\": {\r\n \"localizedValue\": \"Public IP Addresses\",\r\n \"value\": \"PublicIPAddresses\"\r\n },\r\n - \ \"unit\": \"Count\"\r\n },\r\n {\r\n \"currentValue\": 3.0,\r\n + \ \"unit\": \"Count\"\r\n },\r\n {\r\n \"currentValue\": 0.0,\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/NetworkInterfaces\",\r\n \ \"limit\": 350.0,\r\n \"name\": {\r\n \"localizedValue\": \"Network Interfaces\",\r\n \"value\": \"NetworkInterfaces\"\r\n },\r\n - \ \"unit\": \"Count\"\r\n },\r\n {\r\n \"currentValue\": 3.0,\r\n + \ \"unit\": \"Count\"\r\n },\r\n {\r\n \"currentValue\": 0.0,\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/LoadBalancers\",\r\n \ \"limit\": 100.0,\r\n \"name\": {\r\n \"localizedValue\": \"Load Balancers\",\r\n \"value\": \"LoadBalancers\"\r\n },\r\n @@ -61,7 +61,7 @@ interactions: headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:06:44 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:28 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -69,9 +69,9 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['3741'] - x-ms-correlation-request-id: [ce12484d-8f97-43ca-b9bb-93f04ade425e] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [7df1a88e-dc86-4191-ad34-90a199b7e7f8] - x-ms-routing-request-id: ['WESTUS:20170627T160645Z:ce12484d-8f97-43ca-b9bb-93f04ade425e'] + x-ms-correlation-request-id: [c5ae542a-77e1-4c2a-a1aa-49e7119aef0e] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [70c67796-ec4d-4cd2-b0ee-e526381b5c37] + x-ms-routing-request-id: ['WESTUS:20170822T235729Z:c5ae542a-77e1-4c2a-a1aa-49e7119aef0e'] status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt/tests/recordings/test_mgmt_network.test_virtual_network_gateway_operations.yaml b/azure-mgmt/tests/recordings/test_mgmt_network.test_virtual_network_gateway_operations.yaml index 6e8d645ddf98..83d5c35d5fae 100644 --- a/azure-mgmt/tests/recordings/test_mgmt_network.test_virtual_network_gateway_operations.yaml +++ b/azure-mgmt/tests/recordings/test_mgmt_network.test_virtual_network_gateway_operations.yaml @@ -1,42 +1,42 @@ interactions: - request: - body: '{"properties": {"addressSpace": {"addressPrefixes": ["10.11.0.0/16", "10.12.0.0/16"]}}, - "location": "westus"}' + body: '{"location": "westus", "properties": {"addressSpace": {"addressPrefixes": + ["10.11.0.0/16", "10.12.0.0/16"]}}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['109'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [c0641178-5b52-11e7-87cb-ecb1d756380e] + x-ms-client-request-id: [ab1be7ca-8795-11e7-81a1-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyvirtnetb4d417ef\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef\",\r\n - \ \"etag\": \"W/\\\"67034e30-c90b-40fd-bddb-804a4ee6a16c\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"ad2d33fc-7008-4dc9-ae6f-8c79b030fb35\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"5d6e4eaf-3533-4abb-9e5a-dfefb268f824\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + \"e04a805a-cf53-4b74-826d-6e400f200f66\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.11.0.0/16\",\r\n \"10.12.0.0/16\"\r\n ]\r\n \ },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": []\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1eab599f-f7be-4217-a98b-b4a4630904f7?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/871ea95b-d336-4d90-9db4-89f68c33c6ee?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['667'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:42 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:35 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [5c062670-32b7-4c47-9281-f331130e52b2] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - x-ms-request-id: [1eab599f-f7be-4217-a98b-b4a4630904f7] - x-ms-routing-request-id: ['WESTUS:20170627T160743Z:5c062670-32b7-4c47-9281-f331130e52b2'] + x-ms-correlation-request-id: [b6f9fbc6-83fb-488c-a685-2a4f5d483c0f] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-request-id: [871ea95b-d336-4d90-9db4-89f68c33c6ee] + x-ms-routing-request-id: ['WESTUS:20170822T235735Z:b6f9fbc6-83fb-488c-a685-2a4f5d483c0f'] status: {code: 201, message: Created} - request: body: null @@ -45,18 +45,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [c0641178-5b52-11e7-87cb-ecb1d756380e] + x-ms-client-request-id: [ab1be7ca-8795-11e7-81a1-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1eab599f-f7be-4217-a98b-b4a4630904f7?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/871ea95b-d336-4d90-9db4-89f68c33c6ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:45 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:38 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -64,10 +64,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [2a36ac25-ea40-4765-8fb7-16781de84b09] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [0a157024-85a2-42b7-9df9-83ee3ae3bfca] - x-ms-routing-request-id: ['WESTUS:20170627T160746Z:2a36ac25-ea40-4765-8fb7-16781de84b09'] + x-ms-correlation-request-id: [3c4a0a53-0f29-4334-98ed-fcd329b6a5b4] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [e90f9f57-0d9d-4a7b-9754-a8b5a7496089] + x-ms-routing-request-id: ['WESTUS:20170822T235739Z:3c4a0a53-0f29-4334-98ed-fcd329b6a5b4'] status: {code: 200, message: OK} - request: body: null @@ -76,25 +76,25 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [c0641178-5b52-11e7-87cb-ecb1d756380e] + x-ms-client-request-id: [ab1be7ca-8795-11e7-81a1-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyvirtnetb4d417ef\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef\",\r\n - \ \"etag\": \"W/\\\"010feb31-6d15-424b-8a69-633be08baf33\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"25d41392-5cb9-408c-bd51-5e9e45e5fad6\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"5d6e4eaf-3533-4abb-9e5a-dfefb268f824\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + \"e04a805a-cf53-4b74-826d-6e400f200f66\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.11.0.0/16\",\r\n \"10.12.0.0/16\"\r\n ]\r\n \ },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\": []\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:47 GMT'] - ETag: [W/"010feb31-6d15-424b-8a69-633be08baf33"] + Date: ['Tue, 22 Aug 2017 23:57:39 GMT'] + ETag: [W/"25d41392-5cb9-408c-bd51-5e9e45e5fad6"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -102,10 +102,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['668'] - x-ms-correlation-request-id: [c2a87897-757f-4da9-a3b0-71b84df0dbba] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [e37f07d2-bc98-4d08-941c-d65a873b2748] - x-ms-routing-request-id: ['WESTUS:20170627T160747Z:c2a87897-757f-4da9-a3b0-71b84df0dbba'] + x-ms-correlation-request-id: [a64da93f-3cfe-4e76-bff9-1a2a98ebdfb5] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [2d68c4b0-1c46-4662-92f9-d2eb29b3e76d] + x-ms-routing-request-id: ['WESTUS2:20170822T235739Z:a64da93f-3cfe-4e76-bff9-1a2a98ebdfb5'] status: {code: 200, message: OK} - request: body: '{"properties": {"addressPrefix": "10.11.0.0/24"}}' @@ -115,32 +115,32 @@ interactions: Connection: [keep-alive] Content-Length: ['49'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [c2cf58d2-5b52-11e7-8af0-ecb1d756380e] + x-ms-client-request-id: [ae371ffa-8795-11e7-8def-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/pysubnetfeb4d417ef?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/pysubnetfeb4d417ef?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysubnetfeb4d417ef\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/pysubnetfeb4d417ef\",\r\n - \ \"etag\": \"W/\\\"79c07ff1-3899-4269-9e4a-efff94ac8002\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"38d14d65-1389-444a-9d1c-c0139980186e\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.11.0.0/24\"\r\n \ }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/05cf4fd0-ea5a-48cb-9754-01db45eb7238?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/af364596-b885-4930-9506-8e597c206c17?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['427'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:46 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:40 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [576884db-64e4-42a1-b6cb-abb755655a35] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [05cf4fd0-ea5a-48cb-9754-01db45eb7238] - x-ms-routing-request-id: ['WESTUS:20170627T160747Z:576884db-64e4-42a1-b6cb-abb755655a35'] + x-ms-correlation-request-id: [e2d49257-0664-4997-98fd-b75e6cf8ea98] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-request-id: [af364596-b885-4930-9506-8e597c206c17] + x-ms-routing-request-id: ['WESTUS2:20170822T235740Z:e2d49257-0664-4997-98fd-b75e6cf8ea98'] status: {code: 201, message: Created} - request: body: null @@ -149,18 +149,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [c2cf58d2-5b52-11e7-8af0-ecb1d756380e] + x-ms-client-request-id: [ae371ffa-8795-11e7-8def-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/05cf4fd0-ea5a-48cb-9754-01db45eb7238?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/af364596-b885-4930-9506-8e597c206c17?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:50 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:43 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -168,10 +168,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [db729ff2-002c-417d-a0e5-3b0d8c70ba94] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [6da62fd2-4fd6-4324-b3bd-1561b711de56] - x-ms-routing-request-id: ['WESTUS:20170627T160750Z:db729ff2-002c-417d-a0e5-3b0d8c70ba94'] + x-ms-correlation-request-id: [42891750-2f7b-4085-9400-9319a06e10f8] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [2886c70f-9703-4b15-a182-c7a2909c0a1b] + x-ms-routing-request-id: ['WESTUS:20170822T235744Z:42891750-2f7b-4085-9400-9319a06e10f8'] status: {code: 200, message: OK} - request: body: null @@ -180,22 +180,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [c2cf58d2-5b52-11e7-8af0-ecb1d756380e] + x-ms-client-request-id: [ae371ffa-8795-11e7-8def-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/pysubnetfeb4d417ef?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/pysubnetfeb4d417ef?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysubnetfeb4d417ef\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/pysubnetfeb4d417ef\",\r\n - \ \"etag\": \"W/\\\"9575e986-7226-496a-913e-6db2ad8cf4c2\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"5bf80adf-243d-4f36-aa8e-765592567a87\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.11.0.0/24\"\r\n \ }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:50 GMT'] - ETag: [W/"9575e986-7226-496a-913e-6db2ad8cf4c2"] + Date: ['Tue, 22 Aug 2017 23:57:44 GMT'] + ETag: [W/"5bf80adf-243d-4f36-aa8e-765592567a87"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -203,10 +203,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['428'] - x-ms-correlation-request-id: [626f2f93-655e-428f-8055-9beb8280e91c] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [ce62da90-cdcb-446e-b9f0-e0308902ec5d] - x-ms-routing-request-id: ['WESTUS:20170627T160751Z:626f2f93-655e-428f-8055-9beb8280e91c'] + x-ms-correlation-request-id: [66ca4516-e736-4dd5-b04a-26ea4c9f4444] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [17c46c73-9084-424a-a508-1f3cdcb72bb0] + x-ms-routing-request-id: ['WESTUS:20170822T235744Z:66ca4516-e736-4dd5-b04a-26ea4c9f4444'] status: {code: 200, message: OK} - request: body: '{"properties": {"addressPrefix": "10.12.0.0/24"}}' @@ -216,32 +216,32 @@ interactions: Connection: [keep-alive] Content-Length: ['49'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [c54f33b0-5b52-11e7-b78c-ecb1d756380e] + x-ms-client-request-id: [b111fd24-8795-11e7-b0dc-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/pysubnetbeb4d417ef?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/pysubnetbeb4d417ef?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysubnetbeb4d417ef\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/pysubnetbeb4d417ef\",\r\n - \ \"etag\": \"W/\\\"89130fa1-a919-4390-bf75-50e1e8e7e577\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"983a668e-e5c6-4322-818e-2cc680df2c55\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.12.0.0/24\"\r\n \ }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5ab8ec60-9493-46ee-8703-e17d9fecf24d?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4507943f-9ef1-4147-be74-f77b0cf2d952?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['427'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:51 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:44 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [ccf0d5a5-6f4b-4c10-afe3-7a628c259bdb] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [5ab8ec60-9493-46ee-8703-e17d9fecf24d] - x-ms-routing-request-id: ['WESTUS:20170627T160751Z:ccf0d5a5-6f4b-4c10-afe3-7a628c259bdb'] + x-ms-correlation-request-id: [389a6207-107c-438b-b3f5-270a5cfe4ad5] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-request-id: [4507943f-9ef1-4147-be74-f77b0cf2d952] + x-ms-routing-request-id: ['WESTUS:20170822T235745Z:389a6207-107c-438b-b3f5-270a5cfe4ad5'] status: {code: 201, message: Created} - request: body: null @@ -250,18 +250,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [c54f33b0-5b52-11e7-b78c-ecb1d756380e] + x-ms-client-request-id: [b111fd24-8795-11e7-b0dc-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5ab8ec60-9493-46ee-8703-e17d9fecf24d?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4507943f-9ef1-4147-be74-f77b0cf2d952?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:55 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:47 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -269,10 +269,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [e5ae77de-b23b-470d-b72d-191ca8aca594] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [5502875e-6f43-45ac-b011-d6ddb70023dd] - x-ms-routing-request-id: ['WESTUS:20170627T160755Z:e5ae77de-b23b-470d-b72d-191ca8aca594'] + x-ms-correlation-request-id: [858b06d0-89a0-4143-a59a-5bd0e26341af] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [c4ca37ae-c209-4111-9f5a-27a251cf0332] + x-ms-routing-request-id: ['WESTUS:20170822T235748Z:858b06d0-89a0-4143-a59a-5bd0e26341af'] status: {code: 200, message: OK} - request: body: null @@ -281,22 +281,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [c54f33b0-5b52-11e7-b78c-ecb1d756380e] + x-ms-client-request-id: [b111fd24-8795-11e7-b0dc-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/pysubnetbeb4d417ef?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/pysubnetbeb4d417ef?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pysubnetbeb4d417ef\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/pysubnetbeb4d417ef\",\r\n - \ \"etag\": \"W/\\\"6f74f19e-8493-4ba3-8017-e883b7dcacd6\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"95a75eeb-cbe1-489f-ab30-acb593facd4a\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.12.0.0/24\"\r\n \ }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:54 GMT'] - ETag: [W/"6f74f19e-8493-4ba3-8017-e883b7dcacd6"] + Date: ['Tue, 22 Aug 2017 23:57:49 GMT'] + ETag: [W/"95a75eeb-cbe1-489f-ab30-acb593facd4a"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -304,10 +304,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['428'] - x-ms-correlation-request-id: [965d05dd-0c69-4bd5-abd2-d55399415855] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [2917256e-869f-407e-a708-a3d1d9a95e15] - x-ms-routing-request-id: ['WESTUS:20170627T160755Z:965d05dd-0c69-4bd5-abd2-d55399415855'] + x-ms-correlation-request-id: [47fdb4d7-8fef-45f6-8dd6-8322ec6093d1] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [fa982c81-3ba7-4988-b2f3-23d62ab2c82e] + x-ms-routing-request-id: ['WESTUS:20170822T235749Z:47fdb4d7-8fef-45f6-8dd6-8322ec6093d1'] status: {code: 200, message: OK} - request: body: '{"properties": {"addressPrefix": "10.12.255.0/27"}}' @@ -317,32 +317,32 @@ interactions: Connection: [keep-alive] Content-Length: ['51'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [c7c99d10-5b52-11e7-9ce3-ecb1d756380e] + x-ms-client-request-id: [b3ba96d2-8795-11e7-82a4-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/GatewaySubnet?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/GatewaySubnet?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/GatewaySubnet\",\r\n - \ \"etag\": \"W/\\\"86f18a08-d90f-4b11-a589-c175910213a2\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"8c28f419-b7e0-46f6-94cb-0973b2420804\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.12.255.0/27\"\r\n \ }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4601974a-ddb4-43de-bd49-d026e8bf5a20?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6d8bcd48-b4b0-45cf-9eb0-9826fb266b43?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['419'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:55 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:49 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [2a698c2d-0d26-4b1a-b925-404d7fb64b6f] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - x-ms-request-id: [4601974a-ddb4-43de-bd49-d026e8bf5a20] - x-ms-routing-request-id: ['WESTUS:20170627T160756Z:2a698c2d-0d26-4b1a-b925-404d7fb64b6f'] + x-ms-correlation-request-id: [3bad66ce-1af7-4626-9317-4b3f26f106c6] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-request-id: [6d8bcd48-b4b0-45cf-9eb0-9826fb266b43] + x-ms-routing-request-id: ['WESTUS:20170822T235749Z:3bad66ce-1af7-4626-9317-4b3f26f106c6'] status: {code: 201, message: Created} - request: body: null @@ -351,18 +351,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [c7c99d10-5b52-11e7-9ce3-ecb1d756380e] + x-ms-client-request-id: [b3ba96d2-8795-11e7-82a4-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4601974a-ddb4-43de-bd49-d026e8bf5a20?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6d8bcd48-b4b0-45cf-9eb0-9826fb266b43?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:58 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:52 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -370,10 +370,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [9fb0474f-703c-48d0-94da-e6aa0cfd9ca9] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [853fb00c-99e3-48b5-9c40-94981656f7cf] - x-ms-routing-request-id: ['WESTUS:20170627T160759Z:9fb0474f-703c-48d0-94da-e6aa0cfd9ca9'] + x-ms-correlation-request-id: [43efd6ab-7950-41be-bb18-f4454ae886c3] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [f2a97d21-09b4-4952-8c65-33792b7de6e1] + x-ms-routing-request-id: ['WESTUS:20170822T235753Z:43efd6ab-7950-41be-bb18-f4454ae886c3'] status: {code: 200, message: OK} - request: body: null @@ -382,22 +382,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [c7c99d10-5b52-11e7-9ce3-ecb1d756380e] + x-ms-client-request-id: [b3ba96d2-8795-11e7-82a4-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/GatewaySubnet?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/GatewaySubnet?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/GatewaySubnet\",\r\n - \ \"etag\": \"W/\\\"1768d0ea-c94a-462a-abd0-788ce5c53654\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"6ae68683-1304-4d90-9bd6-7b410e4ab3ff\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.12.255.0/27\"\r\n \ }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:07:59 GMT'] - ETag: [W/"1768d0ea-c94a-462a-abd0-788ce5c53654"] + Date: ['Tue, 22 Aug 2017 23:57:52 GMT'] + ETag: [W/"6ae68683-1304-4d90-9bd6-7b410e4ab3ff"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -405,48 +405,49 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['420'] - x-ms-correlation-request-id: [55cc7079-df50-4d46-b6d9-82cdc0c262db] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [19ac6383-a9bb-4330-bc8b-e5f662396942] - x-ms-routing-request-id: ['WESTUS:20170627T160759Z:55cc7079-df50-4d46-b6d9-82cdc0c262db'] + x-ms-correlation-request-id: [c710211b-b9c1-487c-aa47-51c4ef42e3b9] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [709e0378-2074-4f53-bc8a-682b97c874d8] + x-ms-routing-request-id: ['WESTUS:20170822T235753Z:c710211b-b9c1-487c-aa47-51c4ef42e3b9'] status: {code: 200, message: OK} - request: - body: '{"properties": {"publicIPAllocationMethod": "Dynamic"}, "tags": {"key": - "value"}, "location": "westus"}' + body: '{"tags": {"key": "value"}, "location": "westus", "properties": {"publicIPAllocationMethod": + "Dynamic"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['103'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ca4fa206-5b52-11e7-b26c-ecb1d756380e] + x-ms-client-request-id: [b676f6ac-8795-11e7-9648-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/publicIPAddresses/pyipnameb4d417ef?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/publicIPAddresses/pyipnameb4d417ef?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyipnameb4d417ef\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/publicIPAddresses/pyipnameb4d417ef\",\r\n - \ \"etag\": \"W/\\\"71569944-64e2-479a-b3f9-230f7bcad9aa\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"92ce185f-d4b9-492e-9640-a6a59ae12a82\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"1c2a8cc1-76ba-40a1-93a2-fb5a6917a4e1\",\r\n + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"41a58d22-c797-403f-85af-e235790bcd4a\",\r\n \ \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": - \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n}"} + \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e6a4b765-aac2-413a-b12d-2e046505184f?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b4c0adaa-0adf-4568-a2bf-1d4e89b6e3cb?api-version=2017-08-01'] Cache-Control: [no-cache] - Content-Length: ['651'] + Content-Length: ['690'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:08:00 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:53 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [8ce32b03-6eb7-436b-ad40-9083f758aff0] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [e6a4b765-aac2-413a-b12d-2e046505184f] - x-ms-routing-request-id: ['WESTUS:20170627T160800Z:8ce32b03-6eb7-436b-ad40-9083f758aff0'] + x-ms-correlation-request-id: [7bccf5f7-910e-46e7-b5ba-1d87c203adec] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-request-id: [b4c0adaa-0adf-4568-a2bf-1d4e89b6e3cb] + x-ms-routing-request-id: ['WESTUS:20170822T235754Z:7bccf5f7-910e-46e7-b5ba-1d87c203adec'] status: {code: 201, message: Created} - request: body: null @@ -455,18 +456,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ca4fa206-5b52-11e7-b26c-ecb1d756380e] + x-ms-client-request-id: [b676f6ac-8795-11e7-9648-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e6a4b765-aac2-413a-b12d-2e046505184f?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b4c0adaa-0adf-4568-a2bf-1d4e89b6e3cb?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:08:03 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:57 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -474,10 +475,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [8be10982-0fa4-49fa-b657-cb190971af2e] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [b259636a-50c5-41f8-bc3c-e9f3dcea3404] - x-ms-routing-request-id: ['WESTUS:20170627T160803Z:8be10982-0fa4-49fa-b657-cb190971af2e'] + x-ms-correlation-request-id: [648ad5b8-c715-4b0b-8dee-7027a042cd3f] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [2a681e59-7647-4e31-a111-6ddcf061751e] + x-ms-routing-request-id: ['WESTUS:20170822T235757Z:648ad5b8-c715-4b0b-8dee-7027a042cd3f'] status: {code: 200, message: OK} - request: body: null @@ -486,63 +487,63 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ca4fa206-5b52-11e7-b26c-ecb1d756380e] + x-ms-client-request-id: [b676f6ac-8795-11e7-9648-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/publicIPAddresses/pyipnameb4d417ef?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/publicIPAddresses/pyipnameb4d417ef?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyipnameb4d417ef\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/publicIPAddresses/pyipnameb4d417ef\",\r\n - \ \"etag\": \"W/\\\"b3eec117-6ccf-4de8-b6f5-e66821c70a86\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"d8c060d7-d13c-4097-96cf-559ddb81026d\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"1c2a8cc1-76ba-40a1-93a2-fb5a6917a4e1\",\r\n + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"41a58d22-c797-403f-85af-e235790bcd4a\",\r\n \ \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": - \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\r\n}"} + \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:08:02 GMT'] - ETag: [W/"b3eec117-6ccf-4de8-b6f5-e66821c70a86"] + Date: ['Tue, 22 Aug 2017 23:57:57 GMT'] + ETag: [W/"d8c060d7-d13c-4097-96cf-559ddb81026d"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Transfer-Encoding: [chunked] Vary: [Accept-Encoding] - content-length: ['652'] - x-ms-correlation-request-id: [f6fa4203-e3c0-4d58-9aea-374bfaf6831a] + content-length: ['691'] + x-ms-correlation-request-id: [a54759aa-5021-4217-918e-49921bb8b8cc] x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [ff4faf7b-39ab-4ab2-8e83-f8585c33d670] - x-ms-routing-request-id: ['WESTUS:20170627T160803Z:f6fa4203-e3c0-4d58-9aea-374bfaf6831a'] + x-ms-request-id: [a41b0592-2892-490c-ad26-ee6517e0689a] + x-ms-routing-request-id: ['WESTUS:20170822T235758Z:a54759aa-5021-4217-918e-49921bb8b8cc'] status: {code: 200, message: OK} - request: - body: '{"properties": {"sku": {"name": "Standard", "capacity": 2, "tier": "Standard"}, - "ipConfigurations": [{"name": "default", "properties": {"publicIPAddress": {"id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/publicIPAddresses/pyipnameb4d417ef"}, - "privateIPAllocationMethod": "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/GatewaySubnet"}}}], - "enableBgp": false, "gatewayType": "VPN", "vpnType": "RouteBased"}, "location": - "westus"}' + body: '{"location": "westus", "properties": {"ipConfigurations": [{"name": "default", + "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/GatewaySubnet"}, + "privateIPAllocationMethod": "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/publicIPAddresses/pyipnameb4d417ef"}}}], + "gatewayType": "VPN", "vpnType": "RouteBased", "sku": {"tier": "Standard", "name": + "Standard", "capacity": 2}, "enableBgp": false}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['732'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworkGateways/pyvngb4d417ef?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworkGateways/pyvngb4d417ef?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyvngb4d417ef\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworkGateways/pyvngb4d417ef\",\r\n - \ \"etag\": \"W/\\\"e9153182-7ccf-4eb2-a80f-846fc861b95d\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"d4ef9751-4e6f-41c4-92a6-c48253192ce2\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"f8cd3409-53ee-4585-825d-be258b0a06bc\",\r\n \"ipConfigurations\": [\r\n + \"0a42a559-aafa-45a2-865d-0fa02afc4865\",\r\n \"ipConfigurations\": [\r\n \ {\r\n \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworkGateways/pyvngb4d417ef/ipConfigurations/default\",\r\n - \ \"etag\": \"W/\\\"e9153182-7ccf-4eb2-a80f-846fc861b95d\\\"\",\r\n + \ \"etag\": \"W/\\\"d4ef9751-4e6f-41c4-92a6-c48253192ce2\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/publicIPAddresses/pyipnameb4d417ef\"\r\n @@ -551,23 +552,23 @@ interactions: \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n \ },\r\n \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\",\r\n \ \"enableBgp\": false,\r\n \"activeActive\": false,\r\n \"vpnClientConfiguration\": - {\r\n \"vpnClientRootCertificates\": [],\r\n \"vpnClientRevokedCertificates\": - []\r\n }\r\n }\r\n}"} + {\r\n \"vpnClientProtocols\": [],\r\n \"vpnClientRootCertificates\": + [],\r\n \"vpnClientRevokedCertificates\": []\r\n }\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01'] Cache-Control: [no-cache] - Content-Length: ['1884'] + Content-Length: ['1917'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:08:03 GMT'] + Date: ['Tue, 22 Aug 2017 23:57:58 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [6da89374-6e0d-4353-8588-2297c7d2fec2] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [875b55ee-c15f-4a95-b7de-22df1fa5f38b] - x-ms-routing-request-id: ['WESTUS:20170627T160804Z:6da89374-6e0d-4353-8588-2297c7d2fec2'] + x-ms-correlation-request-id: [344d7ad0-f353-4ee0-82d3-58507bcb4264] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-request-id: [5af8721a-17fe-411d-9ed4-958116c949ee] + x-ms-routing-request-id: ['WESTUS:20170822T235758Z:344d7ad0-f353-4ee0-82d3-58507bcb4264'] status: {code: 201, message: Created} - request: body: null @@ -576,18 +577,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:08:14 GMT'] + Date: ['Tue, 22 Aug 2017 23:58:09 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -596,10 +597,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [7792b237-96c5-4bfa-917d-890399c457b8] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [eb593a7b-4c37-4cb4-8b08-840630ed9df7] - x-ms-routing-request-id: ['WESTUS:20170627T160814Z:7792b237-96c5-4bfa-917d-890399c457b8'] + x-ms-correlation-request-id: [1966968a-af0f-4c8a-8370-21b6f872805f] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [aadf25dc-af58-4625-8ac8-703c169ac91d] + x-ms-routing-request-id: ['WESTUS:20170822T235809Z:1966968a-af0f-4c8a-8370-21b6f872805f'] status: {code: 200, message: OK} - request: body: null @@ -608,18 +609,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:08:24 GMT'] + Date: ['Tue, 22 Aug 2017 23:58:19 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -628,10 +629,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [9a6276d5-608c-437e-81bb-6eb0d3365c11] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [9451cb81-e1ee-482c-b36d-3a3904bca6e5] - x-ms-routing-request-id: ['WESTUS:20170627T160824Z:9a6276d5-608c-437e-81bb-6eb0d3365c11'] + x-ms-correlation-request-id: [2d645baa-fcdc-4b97-8322-7f33550daed3] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [3bf73d24-d718-4458-ad19-54925bfb4d70] + x-ms-routing-request-id: ['WESTUS:20170822T235819Z:2d645baa-fcdc-4b97-8322-7f33550daed3'] status: {code: 200, message: OK} - request: body: null @@ -640,18 +641,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:08:34 GMT'] + Date: ['Tue, 22 Aug 2017 23:58:29 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -660,10 +661,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [1e15e371-c238-436b-867f-f6aa78f53114] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [284b3218-3500-4c55-a2aa-7b9a79143034] - x-ms-routing-request-id: ['WESTUS:20170627T160834Z:1e15e371-c238-436b-867f-f6aa78f53114'] + x-ms-correlation-request-id: [dd81e2a4-889d-4786-b1d9-5f54a4fce3d6] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [21c438de-2ed8-4eab-9c4c-70fe215255eb] + x-ms-routing-request-id: ['WESTUS:20170822T235830Z:dd81e2a4-889d-4786-b1d9-5f54a4fce3d6'] status: {code: 200, message: OK} - request: body: null @@ -672,18 +673,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:08:45 GMT'] + Date: ['Tue, 22 Aug 2017 23:58:40 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -692,10 +693,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [7d4fdff1-0315-4f90-b347-e00889bc33aa] + x-ms-correlation-request-id: [45b9495f-0ea7-4810-825b-3bf03dc17ae5] x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [88eb3ac8-e93b-4580-aff4-bb81ce24c9ec] - x-ms-routing-request-id: ['WESTUS:20170627T160845Z:7d4fdff1-0315-4f90-b347-e00889bc33aa'] + x-ms-request-id: [6f188eaa-0cab-4227-acdc-7cb494d3bccf] + x-ms-routing-request-id: ['WESTUS:20170822T235840Z:45b9495f-0ea7-4810-825b-3bf03dc17ae5'] status: {code: 200, message: OK} - request: body: null @@ -704,18 +705,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:08:55 GMT'] + Date: ['Tue, 22 Aug 2017 23:58:50 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -724,10 +725,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [845c77f9-03ae-4227-8964-f38e54cbb65b] + x-ms-correlation-request-id: [6691af9a-d407-4693-8b0a-415f7923acea] x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [e4470427-bd35-4e9b-b008-c936a20539db] - x-ms-routing-request-id: ['WESTUS:20170627T160855Z:845c77f9-03ae-4227-8964-f38e54cbb65b'] + x-ms-request-id: [9b5724cf-5aa7-4879-8d59-4681c9acb5ac] + x-ms-routing-request-id: ['WESTUS:20170822T235850Z:6691af9a-d407-4693-8b0a-415f7923acea'] status: {code: 200, message: OK} - request: body: null @@ -736,18 +737,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:09:05 GMT'] + Date: ['Tue, 22 Aug 2017 23:59:01 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -756,74 +757,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [15af4e91-e65c-4606-a4d7-660312c87dfd] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [6bf787e3-943a-4459-bc43-7e6fbc03e5df] - x-ms-routing-request-id: ['WESTUS2:20170627T160905Z:15af4e91-e65c-4606-a4d7-660312c87dfd'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 - response: - body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:09:15 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Retry-After: ['0'] - Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['30'] - x-ms-correlation-request-id: [9e9f9976-be92-4556-94fd-6f5951e1c1a6] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [9cd2a67d-bbc1-4e78-9dbd-f36e42284737] - x-ms-routing-request-id: ['WESTUS:20170627T160916Z:9e9f9976-be92-4556-94fd-6f5951e1c1a6'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 - response: - body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:09:25 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Retry-After: ['0'] - Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['30'] - x-ms-correlation-request-id: [f22c04de-d331-4970-8f0a-a39b15b3a4a9] + x-ms-correlation-request-id: [b0feccae-3527-4321-9888-4a579dd8fbda] x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [6250cc5e-d6bc-41e6-93e1-967cebe177d9] - x-ms-routing-request-id: ['WESTUS:20170627T160926Z:f22c04de-d331-4970-8f0a-a39b15b3a4a9'] + x-ms-request-id: [6e02cfbd-f4b1-4b3b-bb34-9d66de9411c7] + x-ms-routing-request-id: ['WESTUS:20170822T235901Z:b0feccae-3527-4321-9888-4a579dd8fbda'] status: {code: 200, message: OK} - request: body: null @@ -832,18 +769,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:09:36 GMT'] + Date: ['Tue, 22 Aug 2017 23:59:11 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -852,10 +789,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [60bffe87-53b7-4ad0-90b5-2edb6e59bfd3] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [ddd1f968-19a2-41bb-9d01-7b623f5dc56a] - x-ms-routing-request-id: ['WESTUS:20170627T160936Z:60bffe87-53b7-4ad0-90b5-2edb6e59bfd3'] + x-ms-correlation-request-id: [671494a3-6843-41f7-a788-4134e7029a76] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [20936010-a037-425e-91a3-83177450ab6c] + x-ms-routing-request-id: ['WESTUS:20170822T235911Z:671494a3-6843-41f7-a788-4134e7029a76'] status: {code: 200, message: OK} - request: body: null @@ -864,18 +801,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:09:46 GMT'] + Date: ['Tue, 22 Aug 2017 23:59:21 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -884,10 +821,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [b63313e8-6352-4fa7-9260-f4e1547f4e82] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [dc8260da-bc92-4ad2-9085-4c5adc1dc785] - x-ms-routing-request-id: ['WESTUS:20170627T160946Z:b63313e8-6352-4fa7-9260-f4e1547f4e82'] + x-ms-correlation-request-id: [16915ebc-5625-450c-8649-61b252b0f03d] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [30e54d85-2692-4a36-b16f-e8a891c6f384] + x-ms-routing-request-id: ['WESTUS:20170822T235922Z:16915ebc-5625-450c-8649-61b252b0f03d'] status: {code: 200, message: OK} - request: body: null @@ -896,18 +833,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:09:56 GMT'] + Date: ['Tue, 22 Aug 2017 23:59:31 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -916,10 +853,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [7564a03c-45fc-484c-8cdd-5e450fca6279] + x-ms-correlation-request-id: [21b6b234-949e-4e2e-8f68-97496df24e6b] x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [68cf9827-2397-4c93-9aec-8c601d1d69c2] - x-ms-routing-request-id: ['WESTUS:20170627T160957Z:7564a03c-45fc-484c-8cdd-5e450fca6279'] + x-ms-request-id: [85f1e509-e916-4feb-bac8-0327e086ad17] + x-ms-routing-request-id: ['WESTUS:20170822T235932Z:21b6b234-949e-4e2e-8f68-97496df24e6b'] status: {code: 200, message: OK} - request: body: null @@ -928,18 +865,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:10:07 GMT'] + Date: ['Tue, 22 Aug 2017 23:59:42 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -948,10 +885,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [9a0af3c6-7977-47d0-8a2c-1b9ee8c8e808] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [e1a66716-6196-4b6e-8ad4-dd223eabf73f] - x-ms-routing-request-id: ['WESTUS:20170627T161007Z:9a0af3c6-7977-47d0-8a2c-1b9ee8c8e808'] + x-ms-correlation-request-id: [10e2e09c-2402-4b3f-a171-d77653ab207d] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [ac48f707-e18c-4938-bd68-d5530e837f5e] + x-ms-routing-request-id: ['WESTUS:20170822T235943Z:10e2e09c-2402-4b3f-a171-d77653ab207d'] status: {code: 200, message: OK} - request: body: null @@ -960,18 +897,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:10:16 GMT'] + Date: ['Tue, 22 Aug 2017 23:59:52 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -980,10 +917,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [d2528429-d65b-469b-b47a-db5e81a6c3e1] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [fc4457b4-8bfc-477a-81d9-7abc38221a75] - x-ms-routing-request-id: ['WESTUS2:20170627T161017Z:d2528429-d65b-469b-b47a-db5e81a6c3e1'] + x-ms-correlation-request-id: [60099bd1-0081-43b7-8cdd-8c0d1cbc0166] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [8e2e29c4-eb51-423a-b0f1-fb67ba60dbe5] + x-ms-routing-request-id: ['WESTUS2:20170822T235953Z:60099bd1-0081-43b7-8cdd-8c0d1cbc0166'] status: {code: 200, message: OK} - request: body: null @@ -992,18 +929,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:10:27 GMT'] + Date: ['Wed, 23 Aug 2017 00:00:03 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1012,10 +949,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [5e57dbca-b243-4850-94b8-c82788ba6300] + x-ms-correlation-request-id: [6770f779-983a-4217-a9cc-dbc45237d608] x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [68e34833-b1a8-4241-96ff-65e8fd07ac89] - x-ms-routing-request-id: ['WESTUS2:20170627T161028Z:5e57dbca-b243-4850-94b8-c82788ba6300'] + x-ms-request-id: [74c359c3-6197-4bc7-9e52-acc7342b18f6] + x-ms-routing-request-id: ['WESTUS2:20170823T000004Z:6770f779-983a-4217-a9cc-dbc45237d608'] status: {code: 200, message: OK} - request: body: null @@ -1024,18 +961,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:10:37 GMT'] + Date: ['Wed, 23 Aug 2017 00:00:13 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1044,10 +981,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [4b0c425f-f2ca-4ad6-86b8-195132c746f7] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [b92c169a-3e44-438a-9d80-5e5e09a2eeaa] - x-ms-routing-request-id: ['WESTUS2:20170627T161038Z:4b0c425f-f2ca-4ad6-86b8-195132c746f7'] + x-ms-correlation-request-id: [a2ccd633-9704-4c17-871b-051bbabc3453] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [af5c642a-5b20-4fa7-baa7-654d4bfded79] + x-ms-routing-request-id: ['WESTUS2:20170823T000014Z:a2ccd633-9704-4c17-871b-051bbabc3453'] status: {code: 200, message: OK} - request: body: null @@ -1056,18 +993,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:10:49 GMT'] + Date: ['Wed, 23 Aug 2017 00:00:25 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1076,10 +1013,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [55bb7107-1bb7-47bb-a952-099bedbeeaa0] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [206d7646-2a7e-4980-928b-75073f73c9f7] - x-ms-routing-request-id: ['WESTUS2:20170627T161049Z:55bb7107-1bb7-47bb-a952-099bedbeeaa0'] + x-ms-correlation-request-id: [ec838d3b-1f6f-492d-8d07-a3c31b61e4d7] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [9222ee08-5c25-414a-a3f5-8442824c22cf] + x-ms-routing-request-id: ['WESTUS2:20170823T000025Z:ec838d3b-1f6f-492d-8d07-a3c31b61e4d7'] status: {code: 200, message: OK} - request: body: null @@ -1088,18 +1025,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:10:59 GMT'] + Date: ['Wed, 23 Aug 2017 00:00:34 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1108,10 +1045,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [339d3ec5-0f77-4ce7-9cb0-d132c2e34a90] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [7732d208-a6cb-40ed-9e0f-11abe732f447] - x-ms-routing-request-id: ['WESTUS2:20170627T161059Z:339d3ec5-0f77-4ce7-9cb0-d132c2e34a90'] + x-ms-correlation-request-id: [ef6c29bc-67bc-4fb3-8469-f999b5aec0a1] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [e4c37d02-0b0e-4458-acc6-da3432d9ad7c] + x-ms-routing-request-id: ['WESTUS2:20170823T000035Z:ef6c29bc-67bc-4fb3-8469-f999b5aec0a1'] status: {code: 200, message: OK} - request: body: null @@ -1120,18 +1057,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:11:08 GMT'] + Date: ['Wed, 23 Aug 2017 00:00:45 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1140,42 +1077,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [b7c5638d-9ab3-4f8d-a7b7-30751f846487] + x-ms-correlation-request-id: [5ac54e1e-de2e-4af0-90b0-2b652765f943] x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [31b0a7c0-2094-4a87-a1d4-4ad89fb2d848] - x-ms-routing-request-id: ['WESTUS:20170627T161109Z:b7c5638d-9ab3-4f8d-a7b7-30751f846487'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 - response: - body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:11:19 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Retry-After: ['0'] - Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['30'] - x-ms-correlation-request-id: [851c14c0-2726-4680-b5c8-cbafc8e61334] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [68697eaa-f784-4012-ba26-cb2e47bdff93] - x-ms-routing-request-id: ['WESTUS:20170627T161120Z:851c14c0-2726-4680-b5c8-cbafc8e61334'] + x-ms-request-id: [ce1ee533-1313-4420-a2ca-def407fe2799] + x-ms-routing-request-id: ['WESTUS2:20170823T000046Z:5ac54e1e-de2e-4af0-90b0-2b652765f943'] status: {code: 200, message: OK} - request: body: null @@ -1184,18 +1089,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:11:29 GMT'] + Date: ['Wed, 23 Aug 2017 00:00:56 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1204,10 +1109,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [cd6f5000-4143-4158-8c9d-7ad9c5a7de40] + x-ms-correlation-request-id: [012d7083-c3e7-474d-93b6-c52e5fb52aba] x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [0bb9929c-3911-4f48-8764-00c304ad158b] - x-ms-routing-request-id: ['WESTUS:20170627T161130Z:cd6f5000-4143-4158-8c9d-7ad9c5a7de40'] + x-ms-request-id: [d7353ff8-e8c5-42c9-99d9-fc914b5de9cc] + x-ms-routing-request-id: ['WESTUS2:20170823T000056Z:012d7083-c3e7-474d-93b6-c52e5fb52aba'] status: {code: 200, message: OK} - request: body: null @@ -1216,18 +1121,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:11:39 GMT'] + Date: ['Wed, 23 Aug 2017 00:01:07 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1236,10 +1141,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [c8ee3e5a-e49f-4a67-8ac8-12dd82aa5893] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [a63348c5-1654-44d7-830a-363e82140c60] - x-ms-routing-request-id: ['WESTUS:20170627T161140Z:c8ee3e5a-e49f-4a67-8ac8-12dd82aa5893'] + x-ms-correlation-request-id: [bb6b1b00-548d-4490-b659-67b73a846713] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [cc5ca1ca-a49f-4452-9a48-4ce6c9176b21] + x-ms-routing-request-id: ['WESTUS2:20170823T000107Z:bb6b1b00-548d-4490-b659-67b73a846713'] status: {code: 200, message: OK} - request: body: null @@ -1248,18 +1153,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:11:49 GMT'] + Date: ['Wed, 23 Aug 2017 00:01:17 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1268,10 +1173,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [6e979209-eac7-43ff-85b7-e04783a15541] + x-ms-correlation-request-id: [860c5773-48d9-4b36-b832-961399b9c3fc] x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [5f1debe2-52ae-4103-9ae2-9cc8feddb99d] - x-ms-routing-request-id: ['WESTUS:20170627T161150Z:6e979209-eac7-43ff-85b7-e04783a15541'] + x-ms-request-id: [c69c6dc5-e4b9-48ad-b33d-4af84042f77c] + x-ms-routing-request-id: ['WESTUS2:20170823T000118Z:860c5773-48d9-4b36-b832-961399b9c3fc'] status: {code: 200, message: OK} - request: body: null @@ -1280,18 +1185,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:12:00 GMT'] + Date: ['Wed, 23 Aug 2017 00:01:27 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1300,10 +1205,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [d3c8493d-f404-40e5-91f1-d8358a16c744] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [af4d5ddf-6b54-4416-bcc7-b7d5a9020b86] - x-ms-routing-request-id: ['WESTUS:20170627T161200Z:d3c8493d-f404-40e5-91f1-d8358a16c744'] + x-ms-correlation-request-id: [456e6371-6408-44c3-befd-fcd8c32ee7a7] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [409d8a6f-2f83-4acc-9cec-6cc148b1f1ee] + x-ms-routing-request-id: ['WESTUS2:20170823T000128Z:456e6371-6408-44c3-befd-fcd8c32ee7a7'] status: {code: 200, message: OK} - request: body: null @@ -1312,18 +1217,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:12:10 GMT'] + Date: ['Wed, 23 Aug 2017 00:01:39 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1332,10 +1237,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [299462f5-0eab-4f7f-9c4c-dd7a00fd2a54] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [575c109f-8154-40dc-be42-041e2aad0035] - x-ms-routing-request-id: ['WESTUS2:20170627T161211Z:299462f5-0eab-4f7f-9c4c-dd7a00fd2a54'] + x-ms-correlation-request-id: [8f99b63b-ead5-4db1-ae8a-2fb65a97d765] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [1d2aa8b8-3ac7-41d8-9546-bec0338eb91a] + x-ms-routing-request-id: ['WESTUS2:20170823T000139Z:8f99b63b-ead5-4db1-ae8a-2fb65a97d765'] status: {code: 200, message: OK} - request: body: null @@ -1344,18 +1249,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:12:21 GMT'] + Date: ['Wed, 23 Aug 2017 00:01:49 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1364,10 +1269,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [7d806384-1b83-464b-9ea5-a2d8985517e8] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [5285cd72-fc92-4ae8-9237-506a85beead1] - x-ms-routing-request-id: ['WESTUS:20170627T161221Z:7d806384-1b83-464b-9ea5-a2d8985517e8'] + x-ms-correlation-request-id: [fcacc115-3e31-47ff-9d96-d455a9d8c963] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [8100a5a2-12e2-4fb6-b1d7-e86a4e88bbdf] + x-ms-routing-request-id: ['WESTUS2:20170823T000150Z:fcacc115-3e31-47ff-9d96-d455a9d8c963'] status: {code: 200, message: OK} - request: body: null @@ -1376,18 +1281,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:12:31 GMT'] + Date: ['Wed, 23 Aug 2017 00:01:59 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1396,10 +1301,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [786b1aae-ec0c-4b67-a2e5-e306fed24abc] + x-ms-correlation-request-id: [19196a4b-1d5a-4032-837c-9d17bf9d5877] x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [42fa1329-e67c-47f8-a5af-ba8eea6677d1] - x-ms-routing-request-id: ['WESTUS:20170627T161231Z:786b1aae-ec0c-4b67-a2e5-e306fed24abc'] + x-ms-request-id: [70ac7dc9-f10d-49a4-b6bc-c81271e87937] + x-ms-routing-request-id: ['WESTUS2:20170823T000200Z:19196a4b-1d5a-4032-837c-9d17bf9d5877'] status: {code: 200, message: OK} - request: body: null @@ -1408,18 +1313,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:12:41 GMT'] + Date: ['Wed, 23 Aug 2017 00:02:10 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1428,10 +1333,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [92137305-5497-4f4e-8219-78f37365ec31] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [40d253eb-9c5d-4726-8b2e-ee95ff7fc273] - x-ms-routing-request-id: ['WESTUS:20170627T161241Z:92137305-5497-4f4e-8219-78f37365ec31'] + x-ms-correlation-request-id: [648bf3ef-911a-4bbe-bf6e-ac249b1be63b] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [22bbbe7b-920c-443f-819b-cce8fd257317] + x-ms-routing-request-id: ['WESTUS2:20170823T000211Z:648bf3ef-911a-4bbe-bf6e-ac249b1be63b'] status: {code: 200, message: OK} - request: body: null @@ -1440,18 +1345,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:12:51 GMT'] + Date: ['Wed, 23 Aug 2017 00:02:21 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1460,10 +1365,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [2f25a0fa-155a-40ed-818c-612290fbc5fa] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [5bad5f4f-e054-444f-8759-1e6d01535301] - x-ms-routing-request-id: ['WESTUS:20170627T161252Z:2f25a0fa-155a-40ed-818c-612290fbc5fa'] + x-ms-correlation-request-id: [c49e08db-0e47-40ff-a8df-1dab970ea4d0] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [6a85abac-a18d-4b7f-b1d4-85aa179bcf66] + x-ms-routing-request-id: ['WESTUS2:20170823T000221Z:c49e08db-0e47-40ff-a8df-1dab970ea4d0'] status: {code: 200, message: OK} - request: body: null @@ -1472,18 +1377,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:13:01 GMT'] + Date: ['Wed, 23 Aug 2017 00:02:32 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1492,10 +1397,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [d8d17ddc-d824-4329-83d7-3a3795080d24] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [205a29aa-10c8-48fb-baab-1a0159eaed70] - x-ms-routing-request-id: ['WESTUS:20170627T161302Z:d8d17ddc-d824-4329-83d7-3a3795080d24'] + x-ms-correlation-request-id: [d63fc2c2-79a4-4ec9-93fe-93fd4988b4a5] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [1ae8df11-c0ed-4557-b56a-ff6f0079397a] + x-ms-routing-request-id: ['WESTUS2:20170823T000232Z:d63fc2c2-79a4-4ec9-93fe-93fd4988b4a5'] status: {code: 200, message: OK} - request: body: null @@ -1504,18 +1409,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:13:11 GMT'] + Date: ['Wed, 23 Aug 2017 00:02:42 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1524,10 +1429,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [87eb59f3-52f9-484d-accf-35ea0033de59] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [237c6b43-88d5-4e38-ab9a-067e04b241ab] - x-ms-routing-request-id: ['WESTUS:20170627T161312Z:87eb59f3-52f9-484d-accf-35ea0033de59'] + x-ms-correlation-request-id: [b906e699-95ff-4c9a-ba1f-3b72a414caa4] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [8c421337-b58c-4e61-833f-777d1c14c194] + x-ms-routing-request-id: ['WESTUS2:20170823T000242Z:b906e699-95ff-4c9a-ba1f-3b72a414caa4'] status: {code: 200, message: OK} - request: body: null @@ -1536,18 +1441,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:13:22 GMT'] + Date: ['Wed, 23 Aug 2017 00:02:52 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1556,10 +1461,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [1b178dac-54cc-4377-9c9a-ef74ff6ae478] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [a001b373-44d9-446c-9157-d065fb5239cf] - x-ms-routing-request-id: ['WESTUS2:20170627T161322Z:1b178dac-54cc-4377-9c9a-ef74ff6ae478'] + x-ms-correlation-request-id: [097fe7dc-4077-4bc2-97f9-fc8f4d5a65bf] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [a8fadce4-d5c5-4065-9fdf-741470733101] + x-ms-routing-request-id: ['WESTUS:20170823T000253Z:097fe7dc-4077-4bc2-97f9-fc8f4d5a65bf'] status: {code: 200, message: OK} - request: body: null @@ -1568,18 +1473,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:13:32 GMT'] + Date: ['Wed, 23 Aug 2017 00:03:03 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1588,10 +1493,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [08a37b12-2025-49a2-8aed-54a902b5ba74] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [f7642206-08c1-4c2d-a7da-2ff9bb028e9c] - x-ms-routing-request-id: ['WESTUS2:20170627T161333Z:08a37b12-2025-49a2-8aed-54a902b5ba74'] + x-ms-correlation-request-id: [8b25548b-d151-4136-8a53-091a914943a7] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [4b536336-3352-41dd-be77-f0f6d96f99f5] + x-ms-routing-request-id: ['WESTUS:20170823T000303Z:8b25548b-d151-4136-8a53-091a914943a7'] status: {code: 200, message: OK} - request: body: null @@ -1600,18 +1505,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:13:42 GMT'] + Date: ['Wed, 23 Aug 2017 00:03:13 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1620,10 +1525,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [f7adef30-339d-4743-b0b2-d016155c7353] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [da822da4-e1a3-48c8-97d9-5bac23038db9] - x-ms-routing-request-id: ['WESTUS2:20170627T161343Z:f7adef30-339d-4743-b0b2-d016155c7353'] + x-ms-correlation-request-id: [fcb257f8-c3a6-4921-9df4-95d2823501c0] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [cbb1fa98-2731-43e5-bb30-49e9e8b2241e] + x-ms-routing-request-id: ['WESTUS:20170823T000314Z:fcb257f8-c3a6-4921-9df4-95d2823501c0'] status: {code: 200, message: OK} - request: body: null @@ -1632,18 +1537,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:13:53 GMT'] + Date: ['Wed, 23 Aug 2017 00:03:24 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1652,10 +1557,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [b9f36365-a1ad-4e9b-b6a8-7764c7f202e2] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [cee2ab1f-64ed-434f-bddf-3a2888f7f4fc] - x-ms-routing-request-id: ['WESTUS2:20170627T161353Z:b9f36365-a1ad-4e9b-b6a8-7764c7f202e2'] + x-ms-correlation-request-id: [b76b548f-9ef5-4eeb-b814-aaca09b4e275] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [c4d7e122-714c-45a6-8e9d-db25571b0c16] + x-ms-routing-request-id: ['WESTUS:20170823T000325Z:b76b548f-9ef5-4eeb-b814-aaca09b4e275'] status: {code: 200, message: OK} - request: body: null @@ -1664,18 +1569,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:14:03 GMT'] + Date: ['Wed, 23 Aug 2017 00:03:35 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1684,10 +1589,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [8d961db2-9f4f-4667-a05d-be1c4243b82a] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [a102d138-4eb8-465b-8be8-f7e61f9d2f88] - x-ms-routing-request-id: ['WESTUS2:20170627T161404Z:8d961db2-9f4f-4667-a05d-be1c4243b82a'] + x-ms-correlation-request-id: [91198112-453c-419e-8e77-98f183963ac4] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [1e4bf44c-9041-4635-a48c-6345fc6b7644] + x-ms-routing-request-id: ['WESTUS:20170823T000335Z:91198112-453c-419e-8e77-98f183963ac4'] status: {code: 200, message: OK} - request: body: null @@ -1696,18 +1601,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:14:14 GMT'] + Date: ['Wed, 23 Aug 2017 00:03:45 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1716,10 +1621,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [8b0c3c74-a19e-4d58-932c-0c5b1c3d5d9e] + x-ms-correlation-request-id: [313ac1e5-2911-4bb3-ade0-515d034d8e4c] x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [9a48fef2-2b3d-490a-a0ca-b7186259030e] - x-ms-routing-request-id: ['WESTUS:20170627T161414Z:8b0c3c74-a19e-4d58-932c-0c5b1c3d5d9e'] + x-ms-request-id: [1e72f1bc-a8b6-4a7d-ac2b-c8b867fcf5c1] + x-ms-routing-request-id: ['WESTUS:20170823T000346Z:313ac1e5-2911-4bb3-ade0-515d034d8e4c'] status: {code: 200, message: OK} - request: body: null @@ -1728,18 +1633,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:14:24 GMT'] + Date: ['Wed, 23 Aug 2017 00:03:56 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1748,10 +1653,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [4eea12fe-828e-4ed5-b9be-422186d520e4] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [d62ee292-21ec-4c90-8538-4d0a1168da8b] - x-ms-routing-request-id: ['WESTUS2:20170627T161425Z:4eea12fe-828e-4ed5-b9be-422186d520e4'] + x-ms-correlation-request-id: [12f492b5-465a-4595-83ef-fa3c59a4c79f] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [07ac6419-07d4-49d8-b758-dd51f920c9d9] + x-ms-routing-request-id: ['WESTUS2:20170823T000356Z:12f492b5-465a-4595-83ef-fa3c59a4c79f'] status: {code: 200, message: OK} - request: body: null @@ -1760,18 +1665,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:14:35 GMT'] + Date: ['Wed, 23 Aug 2017 00:04:06 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1780,10 +1685,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [27d9f795-7406-483a-b9eb-aac7472545f9] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [c905a83f-396a-4ef6-9803-6c7bca392255] - x-ms-routing-request-id: ['WESTUS2:20170627T161435Z:27d9f795-7406-483a-b9eb-aac7472545f9'] + x-ms-correlation-request-id: [938461c9-fee8-4401-bfd0-3b6cc55681c1] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [fb2f214c-f954-4ae5-9a70-513253d32eab] + x-ms-routing-request-id: ['WESTUS2:20170823T000407Z:938461c9-fee8-4401-bfd0-3b6cc55681c1'] status: {code: 200, message: OK} - request: body: null @@ -1792,18 +1697,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:14:45 GMT'] + Date: ['Wed, 23 Aug 2017 00:04:16 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1812,10 +1717,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [695fd133-6763-45c5-8c13-ccbee1c75068] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [231daf78-6977-4d3a-8f04-948f6b3bced2] - x-ms-routing-request-id: ['WESTUS2:20170627T161445Z:695fd133-6763-45c5-8c13-ccbee1c75068'] + x-ms-correlation-request-id: [a5758bf4-f304-43e3-ab9d-37835b64cde1] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [29c50fb6-993f-4c62-a7e2-8f29b8c716f8] + x-ms-routing-request-id: ['WESTUS2:20170823T000417Z:a5758bf4-f304-43e3-ab9d-37835b64cde1'] status: {code: 200, message: OK} - request: body: null @@ -1824,18 +1729,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:14:56 GMT'] + Date: ['Wed, 23 Aug 2017 00:04:27 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1844,10 +1749,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [dc603d0f-2629-4cf3-9c44-3b45f0071653] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [e8acc934-1ab7-4ff3-ad69-289c5b4938ce] - x-ms-routing-request-id: ['WESTUS2:20170627T161456Z:dc603d0f-2629-4cf3-9c44-3b45f0071653'] + x-ms-correlation-request-id: [6ce25b08-5f1c-46aa-8232-6377f9beb9f2] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [510064de-a408-4b3c-90ab-44f352da6f73] + x-ms-routing-request-id: ['WESTUS2:20170823T000428Z:6ce25b08-5f1c-46aa-8232-6377f9beb9f2'] status: {code: 200, message: OK} - request: body: null @@ -1856,18 +1761,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:15:05 GMT'] + Date: ['Wed, 23 Aug 2017 00:04:37 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1876,10 +1781,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [497f6ee3-1afd-4071-b4fe-e477175927d1] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [ac7c258f-943a-45d8-9a5c-5ae10e639a1e] - x-ms-routing-request-id: ['WESTUS2:20170627T161506Z:497f6ee3-1afd-4071-b4fe-e477175927d1'] + x-ms-correlation-request-id: [5bc496ad-ef50-4c66-a5db-dbbd28667c39] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [c82e53f9-723d-417d-a9aa-743637f3a5b1] + x-ms-routing-request-id: ['WESTUS2:20170823T000438Z:5bc496ad-ef50-4c66-a5db-dbbd28667c39'] status: {code: 200, message: OK} - request: body: null @@ -1888,18 +1793,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:15:16 GMT'] + Date: ['Wed, 23 Aug 2017 00:04:48 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1908,10 +1813,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [09b75ebd-405b-4644-8ca2-e34aebf2aa71] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [e4cc406c-d089-4698-b6b3-2cc9898aa055] - x-ms-routing-request-id: ['WESTUS:20170627T161516Z:09b75ebd-405b-4644-8ca2-e34aebf2aa71'] + x-ms-correlation-request-id: [d818c3c5-b527-4659-894e-5c4a7bb8fb01] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [dc954952-e27e-47a2-b022-261eb570469b] + x-ms-routing-request-id: ['WESTUS:20170823T000449Z:d818c3c5-b527-4659-894e-5c4a7bb8fb01'] status: {code: 200, message: OK} - request: body: null @@ -1920,18 +1825,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:15:26 GMT'] + Date: ['Wed, 23 Aug 2017 00:04:58 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1940,10 +1845,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [27b81d0e-4e24-4fd2-89e6-97573afaaf92] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [2c1aad91-858c-4b3f-8f16-0f338e150e15] - x-ms-routing-request-id: ['WESTUS:20170627T161527Z:27b81d0e-4e24-4fd2-89e6-97573afaaf92'] + x-ms-correlation-request-id: [ba53f308-a78f-459f-825c-d3794c7c9dbb] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [289e4995-caf2-4061-8c3b-f678cd218716] + x-ms-routing-request-id: ['WESTUS:20170823T000459Z:ba53f308-a78f-459f-825c-d3794c7c9dbb'] status: {code: 200, message: OK} - request: body: null @@ -1952,18 +1857,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:15:37 GMT'] + Date: ['Wed, 23 Aug 2017 00:05:10 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -1972,10 +1877,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [c1d9f703-d9a3-4df5-b084-830677858893] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [eb8a9cd5-8f92-4f0d-afc2-f9210f36c03b] - x-ms-routing-request-id: ['WESTUS:20170627T161537Z:c1d9f703-d9a3-4df5-b084-830677858893'] + x-ms-correlation-request-id: [613066ea-436b-4378-a7cf-feacb5dd5107] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [74cbd3ef-c439-4e00-9d61-622d6acda9c6] + x-ms-routing-request-id: ['WESTUS:20170823T000510Z:613066ea-436b-4378-a7cf-feacb5dd5107'] status: {code: 200, message: OK} - request: body: null @@ -1984,18 +1889,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:15:46 GMT'] + Date: ['Wed, 23 Aug 2017 00:05:19 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2004,10 +1909,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [f40ea0a4-544c-4466-abc2-f823090bc6f2] + x-ms-correlation-request-id: [4bfa0342-e742-4155-8025-48dc8c1a8c85] x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [2ec6b2bb-445e-49ac-9336-cc314e6a9394] - x-ms-routing-request-id: ['WESTUS:20170627T161547Z:f40ea0a4-544c-4466-abc2-f823090bc6f2'] + x-ms-request-id: [9ff1849b-0cf1-428c-aba2-033cc3cf18a7] + x-ms-routing-request-id: ['WESTUS:20170823T000520Z:4bfa0342-e742-4155-8025-48dc8c1a8c85'] status: {code: 200, message: OK} - request: body: null @@ -2016,18 +1921,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:15:57 GMT'] + Date: ['Wed, 23 Aug 2017 00:05:30 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2036,10 +1941,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [d34746cb-fee0-4cdb-a37a-de692edc478e] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [2bcf285c-c775-4211-bbcf-b8900e220fd7] - x-ms-routing-request-id: ['WESTUS:20170627T161557Z:d34746cb-fee0-4cdb-a37a-de692edc478e'] + x-ms-correlation-request-id: [494d5672-5d68-49c5-ae27-5a4971a95628] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [1575d06e-aa8f-4b5e-bac7-e5b89d86e842] + x-ms-routing-request-id: ['WESTUS:20170823T000531Z:494d5672-5d68-49c5-ae27-5a4971a95628'] status: {code: 200, message: OK} - request: body: null @@ -2048,18 +1953,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:16:07 GMT'] + Date: ['Wed, 23 Aug 2017 00:05:41 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2068,10 +1973,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [464f5d1f-5146-4bda-a045-41bf4c82c399] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [9f5ecc65-78d8-4e55-b246-bc3103c6c431] - x-ms-routing-request-id: ['WESTUS:20170627T161608Z:464f5d1f-5146-4bda-a045-41bf4c82c399'] + x-ms-correlation-request-id: [b8009326-5fff-47fa-afa8-d9e403cd9deb] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [a1895ccc-f98d-47f5-b8c0-0ac17a341800] + x-ms-routing-request-id: ['WESTUS:20170823T000541Z:b8009326-5fff-47fa-afa8-d9e403cd9deb'] status: {code: 200, message: OK} - request: body: null @@ -2080,18 +1985,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:16:18 GMT'] + Date: ['Wed, 23 Aug 2017 00:05:51 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2100,10 +2005,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [74ffafe7-ead0-4aa4-a85f-02dcba8691aa] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [f0b0a4d0-3c8a-473c-b25a-9d25772ca3a2] - x-ms-routing-request-id: ['WESTUS2:20170627T161618Z:74ffafe7-ead0-4aa4-a85f-02dcba8691aa'] + x-ms-correlation-request-id: [37b9ccb8-3015-46cb-a045-c599eb1e9c2b] + x-ms-ratelimit-remaining-subscription-reads: ['14991'] + x-ms-request-id: [6ceb6cf0-b51f-4077-80bb-6d81d71ff1e3] + x-ms-routing-request-id: ['WESTUS:20170823T000552Z:37b9ccb8-3015-46cb-a045-c599eb1e9c2b'] status: {code: 200, message: OK} - request: body: null @@ -2112,18 +2017,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:16:28 GMT'] + Date: ['Wed, 23 Aug 2017 00:06:01 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2132,10 +2037,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [4eb09fe1-0ea1-479a-ade9-8a4ae5ce42bd] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [e19f8973-03b1-4f3f-a455-22b9e847cc74] - x-ms-routing-request-id: ['WESTUS2:20170627T161628Z:4eb09fe1-0ea1-479a-ade9-8a4ae5ce42bd'] + x-ms-correlation-request-id: [7b38b8cb-179f-4372-a9d2-b108bedddb74] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [6e51dcea-b564-494a-a0cf-8e89a7dcdf35] + x-ms-routing-request-id: ['WESTUS:20170823T000602Z:7b38b8cb-179f-4372-a9d2-b108bedddb74'] status: {code: 200, message: OK} - request: body: null @@ -2144,18 +2049,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:16:38 GMT'] + Date: ['Wed, 23 Aug 2017 00:06:11 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2164,10 +2069,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [2a22dd80-49e0-474f-b0fd-093f3a34dc75] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [75deb6a3-601b-47a1-a8d9-9a6993bc9855] - x-ms-routing-request-id: ['WESTUS2:20170627T161638Z:2a22dd80-49e0-474f-b0fd-093f3a34dc75'] + x-ms-correlation-request-id: [67e2ed4e-71ea-4b55-8fe5-6dc8447da970] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [29095a38-55d7-4069-ac64-173b8bdeef28] + x-ms-routing-request-id: ['WESTUS:20170823T000612Z:67e2ed4e-71ea-4b55-8fe5-6dc8447da970'] status: {code: 200, message: OK} - request: body: null @@ -2176,18 +2081,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:16:49 GMT'] + Date: ['Wed, 23 Aug 2017 00:06:23 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2196,10 +2101,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [bb15ebc2-9b7a-4f3f-bfc1-abd64610c0b3] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [285ef897-f788-4ad5-ab97-aa9a9cb04391] - x-ms-routing-request-id: ['WESTUS2:20170627T161649Z:bb15ebc2-9b7a-4f3f-bfc1-abd64610c0b3'] + x-ms-correlation-request-id: [8e687a54-da8f-494a-8aa9-eab953c7660e] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [cddc40d4-2536-4424-824b-ae7e151c8469] + x-ms-routing-request-id: ['WESTUS:20170823T000623Z:8e687a54-da8f-494a-8aa9-eab953c7660e'] status: {code: 200, message: OK} - request: body: null @@ -2208,18 +2113,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:16:58 GMT'] + Date: ['Wed, 23 Aug 2017 00:06:33 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2228,10 +2133,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [d9364aa1-3d66-4b66-ac5b-a198cd075924] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [ff9819c8-59a7-468c-ac44-26cc4d99b493] - x-ms-routing-request-id: ['WESTUS2:20170627T161659Z:d9364aa1-3d66-4b66-ac5b-a198cd075924'] + x-ms-correlation-request-id: [008603d2-5a3c-48f0-8c41-2693c218e657] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [8fe726aa-a64a-43c8-a094-68617a070f73] + x-ms-routing-request-id: ['WESTUS:20170823T000633Z:008603d2-5a3c-48f0-8c41-2693c218e657'] status: {code: 200, message: OK} - request: body: null @@ -2240,18 +2145,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:17:09 GMT'] + Date: ['Wed, 23 Aug 2017 00:06:43 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2260,10 +2165,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [0d368017-96e0-4376-8239-227bf5a14269] + x-ms-correlation-request-id: [aac3be2f-26e4-4b20-bc5a-aeade14b504f] x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [0471da1b-a573-4f29-8f74-fdc9521d0928] - x-ms-routing-request-id: ['WESTUS2:20170627T161709Z:0d368017-96e0-4376-8239-227bf5a14269'] + x-ms-request-id: [5b01e1ba-2e28-4eda-9201-40c223522b8b] + x-ms-routing-request-id: ['WESTUS:20170823T000644Z:aac3be2f-26e4-4b20-bc5a-aeade14b504f'] status: {code: 200, message: OK} - request: body: null @@ -2272,18 +2177,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:17:19 GMT'] + Date: ['Wed, 23 Aug 2017 00:06:53 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2292,10 +2197,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [770a5f76-e3e4-4c6f-a832-c8d404079155] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [cb1f671c-84e6-4e03-8f56-731a459d2d62] - x-ms-routing-request-id: ['WESTUS2:20170627T161720Z:770a5f76-e3e4-4c6f-a832-c8d404079155'] + x-ms-correlation-request-id: [ed0a2626-004c-4cda-93a3-cf74cad76a7e] + x-ms-ratelimit-remaining-subscription-reads: ['14990'] + x-ms-request-id: [d644a055-9ba0-4bd6-8335-ee8929f729fb] + x-ms-routing-request-id: ['WESTUS:20170823T000654Z:ed0a2626-004c-4cda-93a3-cf74cad76a7e'] status: {code: 200, message: OK} - request: body: null @@ -2304,18 +2209,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:17:30 GMT'] + Date: ['Wed, 23 Aug 2017 00:07:04 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2324,10 +2229,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [27c09fa5-9822-479c-9680-854ac17e4f3a] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [5db5f6c7-5535-4764-8330-6238cf62b7e7] - x-ms-routing-request-id: ['WESTUS2:20170627T161730Z:27c09fa5-9822-479c-9680-854ac17e4f3a'] + x-ms-correlation-request-id: [f329435c-6c74-4ea0-b361-86038ea3a0d6] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [1e9ff615-8822-4462-a4c6-86f39471f31e] + x-ms-routing-request-id: ['WESTUS:20170823T000705Z:f329435c-6c74-4ea0-b361-86038ea3a0d6'] status: {code: 200, message: OK} - request: body: null @@ -2336,18 +2241,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:17:40 GMT'] + Date: ['Wed, 23 Aug 2017 00:07:15 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2356,10 +2261,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [f9b74d06-7151-45dd-b1b4-1297e488d157] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [3abfa013-114f-434b-9c8a-f433bbd5bfdf] - x-ms-routing-request-id: ['WESTUS2:20170627T161741Z:f9b74d06-7151-45dd-b1b4-1297e488d157'] + x-ms-correlation-request-id: [da66f802-b7cf-4435-9d3a-1e0a7c6214bd] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [d6bca405-dee1-4a92-b93d-8b99b1aa08cd] + x-ms-routing-request-id: ['WESTUS:20170823T000715Z:da66f802-b7cf-4435-9d3a-1e0a7c6214bd'] status: {code: 200, message: OK} - request: body: null @@ -2368,18 +2273,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:17:50 GMT'] + Date: ['Wed, 23 Aug 2017 00:07:26 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2388,10 +2293,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [e8b478d3-9da4-40bf-be81-e5fad41e365b] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [5408cafc-df36-4691-bfa1-8564207917cb] - x-ms-routing-request-id: ['WESTUS2:20170627T161751Z:e8b478d3-9da4-40bf-be81-e5fad41e365b'] + x-ms-correlation-request-id: [d9cb815b-4865-4b74-ad49-11789e17bf0b] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [811684c0-e79e-49c1-a517-38422b1787c2] + x-ms-routing-request-id: ['WESTUS:20170823T000726Z:d9cb815b-4865-4b74-ad49-11789e17bf0b'] status: {code: 200, message: OK} - request: body: null @@ -2400,18 +2305,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:18:00 GMT'] + Date: ['Wed, 23 Aug 2017 00:07:36 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2420,10 +2325,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [0850bab9-fec5-4ab3-9da3-a20c6a061a7d] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [44004c64-7316-45f4-ab2c-286e6cc50931] - x-ms-routing-request-id: ['WESTUS2:20170627T161801Z:0850bab9-fec5-4ab3-9da3-a20c6a061a7d'] + x-ms-correlation-request-id: [9292896f-9240-4dac-9a62-7933a958893d] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [354c393e-7cde-4c47-8543-63fdb20a1e72] + x-ms-routing-request-id: ['WESTUS:20170823T000736Z:9292896f-9240-4dac-9a62-7933a958893d'] status: {code: 200, message: OK} - request: body: null @@ -2432,18 +2337,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:18:11 GMT'] + Date: ['Wed, 23 Aug 2017 00:07:46 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2452,10 +2357,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [3b8472ec-b055-4275-b064-e0a0270121e7] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [d1f8dbe2-e99c-4578-8a29-a90f5f4effbb] - x-ms-routing-request-id: ['WESTUS2:20170627T161812Z:3b8472ec-b055-4275-b064-e0a0270121e7'] + x-ms-correlation-request-id: [3d4a29bb-b1c2-471a-9bf3-16f217ca8d44] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [f72fc68f-c704-479c-b31d-662f0e4b10b9] + x-ms-routing-request-id: ['WESTUS:20170823T000746Z:3d4a29bb-b1c2-471a-9bf3-16f217ca8d44'] status: {code: 200, message: OK} - request: body: null @@ -2464,18 +2369,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:18:22 GMT'] + Date: ['Wed, 23 Aug 2017 00:07:57 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2484,10 +2389,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [9021a377-3508-4f6a-be7b-f798c957229c] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [0753dc9a-a10d-44bf-a8fb-0a5aee1b9f51] - x-ms-routing-request-id: ['WESTUS2:20170627T161822Z:9021a377-3508-4f6a-be7b-f798c957229c'] + x-ms-correlation-request-id: [e118a204-f202-4267-9404-b66996c23a6b] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [a62f50af-0d15-4c30-a541-ae051fd9383d] + x-ms-routing-request-id: ['WESTUS:20170823T000757Z:e118a204-f202-4267-9404-b66996c23a6b'] status: {code: 200, message: OK} - request: body: null @@ -2496,18 +2401,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:18:32 GMT'] + Date: ['Wed, 23 Aug 2017 00:08:07 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2516,10 +2421,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [681931ff-8132-4d0a-973b-c85ba64c01f0] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [4a0182d0-673d-4399-9a90-0501e9f09bb2] - x-ms-routing-request-id: ['WESTUS2:20170627T161832Z:681931ff-8132-4d0a-973b-c85ba64c01f0'] + x-ms-correlation-request-id: [a5f13c46-ff1a-4040-a2b6-e4b00cb69cdc] + x-ms-ratelimit-remaining-subscription-reads: ['14991'] + x-ms-request-id: [5787a0b6-d133-4a7c-a956-4752236bccae] + x-ms-routing-request-id: ['WESTUS:20170823T000807Z:a5f13c46-ff1a-4040-a2b6-e4b00cb69cdc'] status: {code: 200, message: OK} - request: body: null @@ -2528,18 +2433,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:18:42 GMT'] + Date: ['Wed, 23 Aug 2017 00:08:18 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2548,10 +2453,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [dd9d98a3-8e3d-4332-a9be-bcb585eb3a6f] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [7fb1f861-9f09-4f13-9959-9ac3ef1cb0e9] - x-ms-routing-request-id: ['WESTUS2:20170627T161843Z:dd9d98a3-8e3d-4332-a9be-bcb585eb3a6f'] + x-ms-correlation-request-id: [4ec352d8-cb0d-4e9e-b3d9-6925842e0dad] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [e809eefd-1143-453c-8ce7-f6942ee58a13] + x-ms-routing-request-id: ['WESTUS:20170823T000818Z:4ec352d8-cb0d-4e9e-b3d9-6925842e0dad'] status: {code: 200, message: OK} - request: body: null @@ -2560,18 +2465,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:18:52 GMT'] + Date: ['Wed, 23 Aug 2017 00:08:28 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2580,10 +2485,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [84ab3d45-22c8-42e1-bf08-7d63d6ceb9a4] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [9c073f89-d02b-4f18-aca9-bfeb4828ac53] - x-ms-routing-request-id: ['WESTUS2:20170627T161853Z:84ab3d45-22c8-42e1-bf08-7d63d6ceb9a4'] + x-ms-correlation-request-id: [32502466-64ab-49fb-ab13-acc885c9c2e3] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [8af9c23e-e642-425e-941c-0d7fe7fc66b4] + x-ms-routing-request-id: ['WESTUS:20170823T000828Z:32502466-64ab-49fb-ab13-acc885c9c2e3'] status: {code: 200, message: OK} - request: body: null @@ -2592,18 +2497,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:19:03 GMT'] + Date: ['Wed, 23 Aug 2017 00:08:38 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2612,10 +2517,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [df02aa66-1f27-4c60-8729-9e0177748f8f] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [f6c6feda-8964-4cba-8e46-859eafad5e4b] - x-ms-routing-request-id: ['WESTUS2:20170627T161903Z:df02aa66-1f27-4c60-8729-9e0177748f8f'] + x-ms-correlation-request-id: [dd2ab134-8bce-4958-b04b-60d4fe307afb] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [bf7b53b5-928e-444f-9c49-3fcddb2306c2] + x-ms-routing-request-id: ['WESTUS:20170823T000839Z:dd2ab134-8bce-4958-b04b-60d4fe307afb'] status: {code: 200, message: OK} - request: body: null @@ -2624,18 +2529,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:19:13 GMT'] + Date: ['Wed, 23 Aug 2017 00:08:48 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2644,10 +2549,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [bdce81c0-a871-4a4e-98a6-fa655a57beb7] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [27ba6248-3998-4a51-8e08-5886a094ce1a] - x-ms-routing-request-id: ['WESTUS2:20170627T161913Z:bdce81c0-a871-4a4e-98a6-fa655a57beb7'] + x-ms-correlation-request-id: [26c8bc1d-acdc-44b6-8da3-d43486d007ed] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [9728bbe7-0049-4670-b08d-2a6852b563be] + x-ms-routing-request-id: ['WESTUS:20170823T000849Z:26c8bc1d-acdc-44b6-8da3-d43486d007ed'] status: {code: 200, message: OK} - request: body: null @@ -2656,18 +2561,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:19:23 GMT'] + Date: ['Wed, 23 Aug 2017 00:08:59 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2676,10 +2581,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [6d4a2697-b131-48fb-aa0d-82449c49dd6a] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [b18a1cfd-b983-403c-9889-6cfaf92d9c03] - x-ms-routing-request-id: ['WESTUS:20170627T161924Z:6d4a2697-b131-48fb-aa0d-82449c49dd6a'] + x-ms-correlation-request-id: [304a8ba9-a037-4b01-952a-2d02c9c39e72] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [e737dc20-5bfa-4c3f-bfaa-da2b2a81f822] + x-ms-routing-request-id: ['WESTUS:20170823T000900Z:304a8ba9-a037-4b01-952a-2d02c9c39e72'] status: {code: 200, message: OK} - request: body: null @@ -2688,18 +2593,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:19:34 GMT'] + Date: ['Wed, 23 Aug 2017 00:09:09 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2708,10 +2613,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [37a0461e-a679-4f0e-9617-2e1bad20109c] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [4dcbcfb3-24ba-4a6b-991b-e216a2578c12] - x-ms-routing-request-id: ['WESTUS:20170627T161934Z:37a0461e-a679-4f0e-9617-2e1bad20109c'] + x-ms-correlation-request-id: [27714800-35b2-455a-a221-c93309de23cb] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [91303292-18cd-4267-8660-81f7efda605d] + x-ms-routing-request-id: ['WESTUS:20170823T000910Z:27714800-35b2-455a-a221-c93309de23cb'] status: {code: 200, message: OK} - request: body: null @@ -2720,18 +2625,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:19:44 GMT'] + Date: ['Wed, 23 Aug 2017 00:09:21 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2740,10 +2645,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [349b6cf5-f667-4b67-a3e1-9c6d71cb6be7] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [02fa83fd-9286-4895-bfbd-68b238d905b2] - x-ms-routing-request-id: ['WESTUS:20170627T161945Z:349b6cf5-f667-4b67-a3e1-9c6d71cb6be7'] + x-ms-correlation-request-id: [87abaa8d-16b1-4037-915b-4e9a49b78d20] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [d9ab2af2-de38-4280-a2ce-d76c9fec1b89] + x-ms-routing-request-id: ['WESTUS:20170823T000921Z:87abaa8d-16b1-4037-915b-4e9a49b78d20'] status: {code: 200, message: OK} - request: body: null @@ -2752,18 +2657,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:19:56 GMT'] + Date: ['Wed, 23 Aug 2017 00:09:31 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2772,10 +2677,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [2cc595a5-9407-41ea-8af2-e20294a68d44] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [7b78e3ea-7f55-45d1-9d09-8e6590d0a320] - x-ms-routing-request-id: ['WESTUS:20170627T161956Z:2cc595a5-9407-41ea-8af2-e20294a68d44'] + x-ms-correlation-request-id: [f56d889f-125d-4d9d-af3d-ef3dd17e78bb] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [9c9779e7-f2b6-42a5-bdca-6050b29bc454] + x-ms-routing-request-id: ['WESTUS:20170823T000931Z:f56d889f-125d-4d9d-af3d-ef3dd17e78bb'] status: {code: 200, message: OK} - request: body: null @@ -2784,18 +2689,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:20:06 GMT'] + Date: ['Wed, 23 Aug 2017 00:09:41 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2804,10 +2709,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [7a8bc0ef-6b81-408c-80d8-8d21a37f882d] + x-ms-correlation-request-id: [c17e2406-1f4c-458d-9b88-93aff5f09fc5] x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [4469a34c-5cde-48c8-937a-80fa07cc446d] - x-ms-routing-request-id: ['WESTUS:20170627T162007Z:7a8bc0ef-6b81-408c-80d8-8d21a37f882d'] + x-ms-request-id: [6b5e435d-e347-4968-a4e6-5501991ead51] + x-ms-routing-request-id: ['WESTUS:20170823T000942Z:c17e2406-1f4c-458d-9b88-93aff5f09fc5'] status: {code: 200, message: OK} - request: body: null @@ -2816,18 +2721,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:20:16 GMT'] + Date: ['Wed, 23 Aug 2017 00:09:52 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2836,10 +2741,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [09a7b190-805d-4600-96b1-7971b30957e0] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [d4b0b9fc-03c4-4b56-98e8-0b856bf7d463] - x-ms-routing-request-id: ['WESTUS:20170627T162017Z:09a7b190-805d-4600-96b1-7971b30957e0'] + x-ms-correlation-request-id: [9994e1f7-e0ec-4142-a602-91fb93fe341b] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [f95b739b-fde8-40a5-a5a1-b2f58100f2f0] + x-ms-routing-request-id: ['WESTUS:20170823T000952Z:9994e1f7-e0ec-4142-a602-91fb93fe341b'] status: {code: 200, message: OK} - request: body: null @@ -2848,18 +2753,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:20:27 GMT'] + Date: ['Wed, 23 Aug 2017 00:10:02 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2868,10 +2773,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [7a9c93c8-3c2b-4f9a-8ac3-34d480f1ecc4] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [028745b9-d609-4201-8b8c-54c2529aefa1] - x-ms-routing-request-id: ['WESTUS:20170627T162028Z:7a9c93c8-3c2b-4f9a-8ac3-34d480f1ecc4'] + x-ms-correlation-request-id: [2f125ec4-a42b-4bde-b2e2-cc2b5bfb27f5] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [b9a94e32-3bde-4669-adf7-7fb4a7b39896] + x-ms-routing-request-id: ['WESTUS:20170823T001003Z:2f125ec4-a42b-4bde-b2e2-cc2b5bfb27f5'] status: {code: 200, message: OK} - request: body: null @@ -2880,18 +2785,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:20:38 GMT'] + Date: ['Wed, 23 Aug 2017 00:10:13 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2900,10 +2805,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [d31f919c-840d-4d9e-b112-3516acc0b199] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [8e211ba0-15fa-4935-8d50-fd7ea0e05f61] - x-ms-routing-request-id: ['WESTUS:20170627T162038Z:d31f919c-840d-4d9e-b112-3516acc0b199'] + x-ms-correlation-request-id: [cf7b0b60-b12d-4f49-a7b9-37fb98dd180d] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [2d8ab8e6-3a8d-4a1d-bb2d-e0a2fe4a1103] + x-ms-routing-request-id: ['WESTUS:20170823T001013Z:cf7b0b60-b12d-4f49-a7b9-37fb98dd180d'] status: {code: 200, message: OK} - request: body: null @@ -2912,18 +2817,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:20:48 GMT'] + Date: ['Wed, 23 Aug 2017 00:10:23 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2932,10 +2837,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [3feabc9d-8ebe-4dd3-abbb-d2f4fa0b33c7] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [61706239-ca53-46c9-98e2-35505d3a5507] - x-ms-routing-request-id: ['WESTUS:20170627T162048Z:3feabc9d-8ebe-4dd3-abbb-d2f4fa0b33c7'] + x-ms-correlation-request-id: [f10d6ed2-28ae-482d-9d01-727094671cc6] + x-ms-ratelimit-remaining-subscription-reads: ['14991'] + x-ms-request-id: [f50fa73b-d9dc-43b6-a42e-c599a62fcf76] + x-ms-routing-request-id: ['WESTUS:20170823T001024Z:f10d6ed2-28ae-482d-9d01-727094671cc6'] status: {code: 200, message: OK} - request: body: null @@ -2944,18 +2849,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:20:58 GMT'] + Date: ['Wed, 23 Aug 2017 00:10:34 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2964,10 +2869,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [2db81fe5-c80a-4ede-afa3-4877f9024af6] - x-ms-ratelimit-remaining-subscription-reads: ['14991'] - x-ms-request-id: [42bfe694-b124-42a7-b779-57eda580b891] - x-ms-routing-request-id: ['WESTUS:20170627T162058Z:2db81fe5-c80a-4ede-afa3-4877f9024af6'] + x-ms-correlation-request-id: [ab878293-ab4b-4661-bd08-a4968b8457af] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [4f8e7b0e-9a3d-4e5f-bc86-0d2d1d785a17] + x-ms-routing-request-id: ['WESTUS:20170823T001034Z:ab878293-ab4b-4661-bd08-a4968b8457af'] status: {code: 200, message: OK} - request: body: null @@ -2976,18 +2881,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:21:08 GMT'] + Date: ['Wed, 23 Aug 2017 00:10:44 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -2996,10 +2901,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [600ecc41-4ae5-4b93-b425-d772c67714ba] + x-ms-correlation-request-id: [10a09877-bbc8-4ecf-8bcd-0ee8e1b65290] x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [8bc9fc7a-c4cb-4507-a6a6-e7c54474f3aa] - x-ms-routing-request-id: ['WESTUS2:20170627T162109Z:600ecc41-4ae5-4b93-b425-d772c67714ba'] + x-ms-request-id: [2e596be8-d5ff-4ea9-894f-216b87ba78ad] + x-ms-routing-request-id: ['WESTUS:20170823T001044Z:10a09877-bbc8-4ecf-8bcd-0ee8e1b65290'] status: {code: 200, message: OK} - request: body: null @@ -3008,18 +2913,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:21:19 GMT'] + Date: ['Wed, 23 Aug 2017 00:10:54 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3028,10 +2933,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [f0cf9e86-957e-4a3f-943d-3d478ce383e7] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [9030b1c3-7cd9-4b3d-a823-0aeec6112ba5] - x-ms-routing-request-id: ['WESTUS:20170627T162119Z:f0cf9e86-957e-4a3f-943d-3d478ce383e7'] + x-ms-correlation-request-id: [339547cd-ff25-47aa-bc78-e10ac593feed] + x-ms-ratelimit-remaining-subscription-reads: ['14989'] + x-ms-request-id: [f1501865-5aa2-4979-a1a6-bdf1e372b253] + x-ms-routing-request-id: ['WESTUS:20170823T001055Z:339547cd-ff25-47aa-bc78-e10ac593feed'] status: {code: 200, message: OK} - request: body: null @@ -3040,18 +2945,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:21:30 GMT'] + Date: ['Wed, 23 Aug 2017 00:11:09 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3060,10 +2965,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [85446b55-8a11-4ff5-81b0-738527a0dcaa] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [5d36b15f-9025-4c44-ba4b-b3ebc4127a93] - x-ms-routing-request-id: ['WESTUS:20170627T162130Z:85446b55-8a11-4ff5-81b0-738527a0dcaa'] + x-ms-correlation-request-id: [fe1ce281-190e-4455-88ab-4e613ba23127] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [7b21b54c-af49-4cf5-a9de-835bb7e6a0af] + x-ms-routing-request-id: ['WESTUS2:20170823T001109Z:fe1ce281-190e-4455-88ab-4e613ba23127'] status: {code: 200, message: OK} - request: body: null @@ -3072,18 +2977,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:21:39 GMT'] + Date: ['Wed, 23 Aug 2017 00:11:19 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3092,10 +2997,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [dd1bda8b-e824-43c8-8a6c-1700cd60b7d6] + x-ms-correlation-request-id: [5b9d60d4-ec45-4611-8329-c29cbfaa49eb] x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [28906e62-2c99-48e3-acbf-f9dff8499d01] - x-ms-routing-request-id: ['WESTUS:20170627T162140Z:dd1bda8b-e824-43c8-8a6c-1700cd60b7d6'] + x-ms-request-id: [f70aa3b2-586c-479f-a387-dd4031e79b45] + x-ms-routing-request-id: ['WESTUS2:20170823T001120Z:5b9d60d4-ec45-4611-8329-c29cbfaa49eb'] status: {code: 200, message: OK} - request: body: null @@ -3104,18 +3009,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:21:50 GMT'] + Date: ['Wed, 23 Aug 2017 00:11:30 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3124,10 +3029,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [297ed08b-e0ed-4e51-b4fd-b15186ca9f60] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [c7dc0878-a167-429f-8c80-908c64b5bdf9] - x-ms-routing-request-id: ['WESTUS:20170627T162150Z:297ed08b-e0ed-4e51-b4fd-b15186ca9f60'] + x-ms-correlation-request-id: [6e997ca5-dda6-4d57-b087-d87aa183ea8e] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [54f32fc9-f482-4de8-9cb3-c9827d86356a] + x-ms-routing-request-id: ['WESTUS2:20170823T001130Z:6e997ca5-dda6-4d57-b087-d87aa183ea8e'] status: {code: 200, message: OK} - request: body: null @@ -3136,18 +3041,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:22:01 GMT'] + Date: ['Wed, 23 Aug 2017 00:11:41 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3156,10 +3061,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [30efc08d-80d7-4bde-b989-9173a2fd69f5] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [ec46127a-ea91-433b-b062-93045ced81ec] - x-ms-routing-request-id: ['WESTUS:20170627T162201Z:30efc08d-80d7-4bde-b989-9173a2fd69f5'] + x-ms-correlation-request-id: [bb392bd4-27eb-4c98-a312-9f5ecaf0f9e7] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [2e47208b-f00f-4ac5-9471-5337ebca3417] + x-ms-routing-request-id: ['WESTUS2:20170823T001141Z:bb392bd4-27eb-4c98-a312-9f5ecaf0f9e7'] status: {code: 200, message: OK} - request: body: null @@ -3168,18 +3073,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:22:10 GMT'] + Date: ['Wed, 23 Aug 2017 00:11:51 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3188,10 +3093,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [d97e5346-3b3d-4ecf-8f9c-88f71099d3b8] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [454d7feb-3bee-4bd4-b8f2-257c80bf5a38] - x-ms-routing-request-id: ['WESTUS:20170627T162211Z:d97e5346-3b3d-4ecf-8f9c-88f71099d3b8'] + x-ms-correlation-request-id: [7b232920-b4f5-4c1c-b4ea-5d4ebbdd98b6] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [7b5a6ac0-91f1-40d3-be20-3895cbe66c7e] + x-ms-routing-request-id: ['WESTUS2:20170823T001152Z:7b232920-b4f5-4c1c-b4ea-5d4ebbdd98b6'] status: {code: 200, message: OK} - request: body: null @@ -3200,18 +3105,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:22:21 GMT'] + Date: ['Wed, 23 Aug 2017 00:12:02 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3220,10 +3125,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [caba67c8-7e9c-406e-9a6b-eb268b4820c6] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [fffa1177-f182-43c2-8aeb-819c021bf8d7] - x-ms-routing-request-id: ['WESTUS:20170627T162221Z:caba67c8-7e9c-406e-9a6b-eb268b4820c6'] + x-ms-correlation-request-id: [3ca2834f-4199-477b-a983-c4f8e0f15670] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [1dfe0117-211d-4901-9248-cad772f34322] + x-ms-routing-request-id: ['WESTUS2:20170823T001202Z:3ca2834f-4199-477b-a983-c4f8e0f15670'] status: {code: 200, message: OK} - request: body: null @@ -3232,18 +3137,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:22:31 GMT'] + Date: ['Wed, 23 Aug 2017 00:12:13 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3252,10 +3157,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [3f8cd897-c0e2-4a92-b9ad-9398cce12691] + x-ms-correlation-request-id: [f9f7b2d1-2999-49d8-aa40-681f6d35cee3] x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [1926ac1d-4274-4b82-9a79-cadbde2d4b67] - x-ms-routing-request-id: ['WESTUS:20170627T162232Z:3f8cd897-c0e2-4a92-b9ad-9398cce12691'] + x-ms-request-id: [4a9c4b9a-4a43-4be4-9c7e-e638114e331c] + x-ms-routing-request-id: ['WESTUS2:20170823T001213Z:f9f7b2d1-2999-49d8-aa40-681f6d35cee3'] status: {code: 200, message: OK} - request: body: null @@ -3264,18 +3169,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:22:42 GMT'] + Date: ['Wed, 23 Aug 2017 00:12:23 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3284,10 +3189,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [6bd0254b-4d22-4f6c-8b6f-96aef8c423d1] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [cdf98012-3268-421b-b9de-3755dde0c183] - x-ms-routing-request-id: ['WESTUS:20170627T162242Z:6bd0254b-4d22-4f6c-8b6f-96aef8c423d1'] + x-ms-correlation-request-id: [a9d3d2f4-8199-4fa9-a0cf-1d9afb08b3f7] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [2804dc84-aa84-4a6d-bb64-cc8929d17fb7] + x-ms-routing-request-id: ['WESTUS2:20170823T001223Z:a9d3d2f4-8199-4fa9-a0cf-1d9afb08b3f7'] status: {code: 200, message: OK} - request: body: null @@ -3296,18 +3201,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:22:52 GMT'] + Date: ['Wed, 23 Aug 2017 00:12:34 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3316,10 +3221,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [3631dee6-aef6-4014-b316-8c2683911dde] + x-ms-correlation-request-id: [6ec248e2-a927-4efb-900b-2cf4a992fbcf] x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [53bf4bff-a5d4-44c3-926a-513f24122c8d] - x-ms-routing-request-id: ['WESTUS2:20170627T162252Z:3631dee6-aef6-4014-b316-8c2683911dde'] + x-ms-request-id: [c858281c-b3ae-49bf-a571-e4d1d2bd8120] + x-ms-routing-request-id: ['WESTUS2:20170823T001234Z:6ec248e2-a927-4efb-900b-2cf4a992fbcf'] status: {code: 200, message: OK} - request: body: null @@ -3328,18 +3233,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:23:02 GMT'] + Date: ['Wed, 23 Aug 2017 00:12:43 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3348,10 +3253,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [758c43e6-b388-46ca-ad9f-2a17bc4e7286] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [f3e17e95-84a0-4e5e-9f20-eade1d654546] - x-ms-routing-request-id: ['WESTUS2:20170627T162303Z:758c43e6-b388-46ca-ad9f-2a17bc4e7286'] + x-ms-correlation-request-id: [27ccdc5c-30c6-4e9d-a4b9-f087a215c58e] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [e3858c7f-f580-4e09-8f53-b1b24ed9723e] + x-ms-routing-request-id: ['WESTUS2:20170823T001244Z:27ccdc5c-30c6-4e9d-a4b9-f087a215c58e'] status: {code: 200, message: OK} - request: body: null @@ -3360,18 +3265,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:23:13 GMT'] + Date: ['Wed, 23 Aug 2017 00:12:54 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3380,10 +3285,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [36fba13c-ab52-483b-a2d0-8dd3a67f1814] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [98c1a780-df40-4135-bd44-3fa08d7a769b] - x-ms-routing-request-id: ['WESTUS2:20170627T162313Z:36fba13c-ab52-483b-a2d0-8dd3a67f1814'] + x-ms-correlation-request-id: [ea8f5ff6-74ec-4211-a877-e3a68b549107] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [3898c1f4-3f2c-44ec-bdd2-c868460f33ad] + x-ms-routing-request-id: ['WESTUS2:20170823T001255Z:ea8f5ff6-74ec-4211-a877-e3a68b549107'] status: {code: 200, message: OK} - request: body: null @@ -3392,18 +3297,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:23:23 GMT'] + Date: ['Wed, 23 Aug 2017 00:13:04 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3412,10 +3317,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [7fc232c5-c574-406a-8008-6279f5136ff3] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [1e400a1b-3d80-484e-af17-958674d28b72] - x-ms-routing-request-id: ['WESTUS2:20170627T162324Z:7fc232c5-c574-406a-8008-6279f5136ff3'] + x-ms-correlation-request-id: [5a6dd921-c68e-475f-a14e-0929658546b2] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [79388067-74da-4b12-9edb-3b1a0a421f82] + x-ms-routing-request-id: ['WESTUS2:20170823T001305Z:5a6dd921-c68e-475f-a14e-0929658546b2'] status: {code: 200, message: OK} - request: body: null @@ -3424,18 +3329,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:23:34 GMT'] + Date: ['Wed, 23 Aug 2017 00:13:15 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3444,10 +3349,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [57d71374-ccc8-494b-a6b1-1c2c50851484] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [4ef6762e-722d-4821-939f-58291093c811] - x-ms-routing-request-id: ['WESTUS2:20170627T162334Z:57d71374-ccc8-494b-a6b1-1c2c50851484'] + x-ms-correlation-request-id: [984ea203-bcff-45b8-8f9b-1a1bba46b66e] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [54cd26cd-43f3-4ad9-a32d-f6e28c9f9e42] + x-ms-routing-request-id: ['WESTUS2:20170823T001316Z:984ea203-bcff-45b8-8f9b-1a1bba46b66e'] status: {code: 200, message: OK} - request: body: null @@ -3456,18 +3361,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:23:44 GMT'] + Date: ['Wed, 23 Aug 2017 00:13:26 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3476,10 +3381,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [6d84d332-d04a-42f0-bd82-3b2467a3f95c] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [9eab5761-879c-4181-aae2-8c704231448d] - x-ms-routing-request-id: ['WESTUS2:20170627T162344Z:6d84d332-d04a-42f0-bd82-3b2467a3f95c'] + x-ms-correlation-request-id: [061e4837-1afd-4fea-88f4-40f6f0caa4a9] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [31567699-9811-46f8-8aca-4282fd7cacd1] + x-ms-routing-request-id: ['WESTUS2:20170823T001326Z:061e4837-1afd-4fea-88f4-40f6f0caa4a9'] status: {code: 200, message: OK} - request: body: null @@ -3488,18 +3393,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:23:54 GMT'] + Date: ['Wed, 23 Aug 2017 00:13:36 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3508,10 +3413,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [d8ae9133-16f5-4aa2-9ad3-1cc328014147] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [4fcb600c-43ee-4859-b174-bdd57e72fc89] - x-ms-routing-request-id: ['WESTUS2:20170627T162355Z:d8ae9133-16f5-4aa2-9ad3-1cc328014147'] + x-ms-correlation-request-id: [cf616104-0deb-4f76-bd5c-0edbbf1832d6] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [a6493fc3-d36a-4c9f-869a-3750360c9532] + x-ms-routing-request-id: ['WESTUS2:20170823T001337Z:cf616104-0deb-4f76-bd5c-0edbbf1832d6'] status: {code: 200, message: OK} - request: body: null @@ -3520,18 +3425,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:24:04 GMT'] + Date: ['Wed, 23 Aug 2017 00:13:47 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3540,10 +3445,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [e8623010-2084-44cf-aa25-754f05ff111c] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [eddc925d-1cae-4b63-8d0d-44862b775a5a] - x-ms-routing-request-id: ['WESTUS2:20170627T162405Z:e8623010-2084-44cf-aa25-754f05ff111c'] + x-ms-correlation-request-id: [069172fb-b7e4-455f-8996-bdfaa2a26451] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [f672ddb9-10ba-4115-869c-5d43caa4102c] + x-ms-routing-request-id: ['WESTUS2:20170823T001347Z:069172fb-b7e4-455f-8996-bdfaa2a26451'] status: {code: 200, message: OK} - request: body: null @@ -3552,18 +3457,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:24:14 GMT'] + Date: ['Wed, 23 Aug 2017 00:13:57 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3572,10 +3477,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [fd13f307-2178-484b-8c6c-f50fcc3ec82e] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [120809cc-decc-4f2d-abb7-a856ae1b2e4f] - x-ms-routing-request-id: ['WESTUS2:20170627T162415Z:fd13f307-2178-484b-8c6c-f50fcc3ec82e'] + x-ms-correlation-request-id: [5bf55f9b-d6bb-46f3-a6cd-2d7c8557e554] + x-ms-ratelimit-remaining-subscription-reads: ['14990'] + x-ms-request-id: [382b3579-caa5-4846-8369-5e2fbab7a0cf] + x-ms-routing-request-id: ['WESTUS:20170823T001358Z:5bf55f9b-d6bb-46f3-a6cd-2d7c8557e554'] status: {code: 200, message: OK} - request: body: null @@ -3584,18 +3489,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:24:25 GMT'] + Date: ['Wed, 23 Aug 2017 00:14:08 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3604,10 +3509,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [3bd58575-681c-494f-ad84-5aacf544c1e4] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [258c3af6-6820-45f3-9f3d-9e555817f5ef] - x-ms-routing-request-id: ['WESTUS:20170627T162425Z:3bd58575-681c-494f-ad84-5aacf544c1e4'] + x-ms-correlation-request-id: [5ea41800-f547-4bf0-9b84-9dae1e81b55e] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [40cd55f0-52e3-4505-b2d5-eab058e3496f] + x-ms-routing-request-id: ['WESTUS:20170823T001408Z:5ea41800-f547-4bf0-9b84-9dae1e81b55e'] status: {code: 200, message: OK} - request: body: null @@ -3616,18 +3521,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:24:35 GMT'] + Date: ['Wed, 23 Aug 2017 00:14:19 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3636,10 +3541,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [4a07200e-08ce-4a5d-b459-d3881f191f40] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [03af8589-5001-41ec-9666-51289e547b87] - x-ms-routing-request-id: ['WESTUS:20170627T162436Z:4a07200e-08ce-4a5d-b459-d3881f191f40'] + x-ms-correlation-request-id: [c76ba590-a32b-40bb-bcff-10cf6dbbd931] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [b558f12b-2237-4f69-8dde-05317834770d] + x-ms-routing-request-id: ['WESTUS:20170823T001419Z:c76ba590-a32b-40bb-bcff-10cf6dbbd931'] status: {code: 200, message: OK} - request: body: null @@ -3648,18 +3553,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:24:46 GMT'] + Date: ['Wed, 23 Aug 2017 00:14:29 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3668,10 +3573,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [0886f1da-18ca-46c0-a221-7f70de15eb6d] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [50f06842-bafc-44b1-bcf1-6c8e51a47242] - x-ms-routing-request-id: ['WESTUS:20170627T162446Z:0886f1da-18ca-46c0-a221-7f70de15eb6d'] + x-ms-correlation-request-id: [009cd5bb-fbf8-4333-acf8-4aac991e9cbe] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [4505816b-4acb-4485-b94d-b380fe95406b] + x-ms-routing-request-id: ['WESTUS:20170823T001429Z:009cd5bb-fbf8-4333-acf8-4aac991e9cbe'] status: {code: 200, message: OK} - request: body: null @@ -3680,18 +3585,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:24:56 GMT'] + Date: ['Wed, 23 Aug 2017 00:14:39 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3700,10 +3605,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [c720024e-5172-4b65-8a47-a7519d8ea4a4] + x-ms-correlation-request-id: [757debba-7bc5-4096-8a53-eab51f5d408d] x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [e0574211-f748-45d7-9fdf-c2a3cc34a321] - x-ms-routing-request-id: ['WESTUS:20170627T162457Z:c720024e-5172-4b65-8a47-a7519d8ea4a4'] + x-ms-request-id: [3e6853e3-4d7b-41f2-9e7a-50dd46e3e3de] + x-ms-routing-request-id: ['WESTUS:20170823T001440Z:757debba-7bc5-4096-8a53-eab51f5d408d'] status: {code: 200, message: OK} - request: body: null @@ -3712,18 +3617,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:25:06 GMT'] + Date: ['Wed, 23 Aug 2017 00:14:49 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3732,10 +3637,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [b2ba63d0-b1ee-4231-9225-09e911956156] + x-ms-correlation-request-id: [c41b9b89-9304-423c-be6c-c77b1d896caa] x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [950fe5f1-e213-42c5-983d-2da60c2199e7] - x-ms-routing-request-id: ['WESTUS:20170627T162507Z:b2ba63d0-b1ee-4231-9225-09e911956156'] + x-ms-request-id: [9a163e8c-c971-4ba5-bb83-c10e61e57a16] + x-ms-routing-request-id: ['WESTUS:20170823T001450Z:c41b9b89-9304-423c-be6c-c77b1d896caa'] status: {code: 200, message: OK} - request: body: null @@ -3744,18 +3649,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:25:16 GMT'] + Date: ['Wed, 23 Aug 2017 00:15:00 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3764,10 +3669,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [39dd4b98-c3b0-438b-b32d-17cc99b991a3] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [bb637a63-c00a-437b-84c8-9af072b03cb8] - x-ms-routing-request-id: ['WESTUS:20170627T162517Z:39dd4b98-c3b0-438b-b32d-17cc99b991a3'] + x-ms-correlation-request-id: [e0de6712-c14f-4b0a-967c-6a5aea38bde3] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [a4cda107-b357-456b-94ee-b22a6c862ddb] + x-ms-routing-request-id: ['WESTUS:20170823T001501Z:e0de6712-c14f-4b0a-967c-6a5aea38bde3'] status: {code: 200, message: OK} - request: body: null @@ -3776,18 +3681,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:25:26 GMT'] + Date: ['Wed, 23 Aug 2017 00:15:11 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3796,10 +3701,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [12af891f-40a4-4828-bb18-387a1099fe58] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [e7c3e924-0c86-4851-869a-a625ee6f3cfb] - x-ms-routing-request-id: ['WESTUS:20170627T162527Z:12af891f-40a4-4828-bb18-387a1099fe58'] + x-ms-correlation-request-id: [7128a6ff-e64d-445e-bc87-9154b8c7fdc4] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [489065fd-efff-4e2f-b0d7-cec553ce7a34] + x-ms-routing-request-id: ['WESTUS:20170823T001511Z:7128a6ff-e64d-445e-bc87-9154b8c7fdc4'] status: {code: 200, message: OK} - request: body: null @@ -3808,18 +3713,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:25:37 GMT'] + Date: ['Wed, 23 Aug 2017 00:15:22 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3828,10 +3733,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [567aa237-d2e2-4fd6-87e8-67fe9f639d15] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [44f3255e-7325-474e-9930-082477ca4ea3] - x-ms-routing-request-id: ['WESTUS:20170627T162538Z:567aa237-d2e2-4fd6-87e8-67fe9f639d15'] + x-ms-correlation-request-id: [83ac5cdb-a614-4a03-85e5-93e59e200f52] + x-ms-ratelimit-remaining-subscription-reads: ['14991'] + x-ms-request-id: [ad1af70c-4854-4bb4-85d0-387381a6c363] + x-ms-routing-request-id: ['WESTUS:20170823T001522Z:83ac5cdb-a614-4a03-85e5-93e59e200f52'] status: {code: 200, message: OK} - request: body: null @@ -3840,18 +3745,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:25:47 GMT'] + Date: ['Wed, 23 Aug 2017 00:15:31 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3860,10 +3765,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [23e1c722-e91e-4c7e-a47e-34513f4ebb3a] + x-ms-correlation-request-id: [e39adfdf-c4c4-4f02-99bc-64078832b464] x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [6835b625-7588-493f-b5f4-323ae50b197d] - x-ms-routing-request-id: ['WESTUS:20170627T162548Z:23e1c722-e91e-4c7e-a47e-34513f4ebb3a'] + x-ms-request-id: [2050f6f3-ee09-42f1-85eb-f975f633da30] + x-ms-routing-request-id: ['WESTUS:20170823T001532Z:e39adfdf-c4c4-4f02-99bc-64078832b464'] status: {code: 200, message: OK} - request: body: null @@ -3872,18 +3777,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:25:58 GMT'] + Date: ['Wed, 23 Aug 2017 00:15:42 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3892,10 +3797,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [e15d3630-dd2d-4d62-b65c-720e745b4a74] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [1c8d36f4-0791-4830-88f7-38d8d7fb0aeb] - x-ms-routing-request-id: ['WESTUS:20170627T162558Z:e15d3630-dd2d-4d62-b65c-720e745b4a74'] + x-ms-correlation-request-id: [cea3708c-bbd9-46fe-abc9-aa3bf2f5d240] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [277e9a15-0df7-486c-933b-141785e63b4a] + x-ms-routing-request-id: ['WESTUS:20170823T001543Z:cea3708c-bbd9-46fe-abc9-aa3bf2f5d240'] status: {code: 200, message: OK} - request: body: null @@ -3904,18 +3809,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:26:08 GMT'] + Date: ['Wed, 23 Aug 2017 00:15:53 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3924,10 +3829,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [061c9b63-4287-4847-810f-4ed7f01a04b0] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [0f7b8516-9f21-404f-b14b-af5e8f756c55] - x-ms-routing-request-id: ['WESTUS:20170627T162609Z:061c9b63-4287-4847-810f-4ed7f01a04b0'] + x-ms-correlation-request-id: [654fba33-ef28-4d51-bdbb-53b3f6a4ac90] + x-ms-ratelimit-remaining-subscription-reads: ['14990'] + x-ms-request-id: [2a03e065-a521-4a35-b4be-a502d9916ea4] + x-ms-routing-request-id: ['WESTUS:20170823T001553Z:654fba33-ef28-4d51-bdbb-53b3f6a4ac90'] status: {code: 200, message: OK} - request: body: null @@ -3936,18 +3841,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:26:19 GMT'] + Date: ['Wed, 23 Aug 2017 00:16:03 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3956,10 +3861,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [62021036-10c3-4f09-a96b-a8a18de6933a] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [196519f3-669c-44f1-be87-6e214f59d6fb] - x-ms-routing-request-id: ['WESTUS:20170627T162619Z:62021036-10c3-4f09-a96b-a8a18de6933a'] + x-ms-correlation-request-id: [620317d0-d751-4720-9abc-8400b463fe97] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [7c67023a-aa4c-4a4d-87ee-cbc8d66c6d92] + x-ms-routing-request-id: ['WESTUS2:20170823T001604Z:620317d0-d751-4720-9abc-8400b463fe97'] status: {code: 200, message: OK} - request: body: null @@ -3968,18 +3873,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:26:29 GMT'] + Date: ['Wed, 23 Aug 2017 00:16:14 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -3988,10 +3893,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [1ba83709-490e-4fe6-9b49-2d97d86cd144] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [7b92b0a6-ab2d-4a91-8921-154b3860a69e] - x-ms-routing-request-id: ['WESTUS:20170627T162629Z:1ba83709-490e-4fe6-9b49-2d97d86cd144'] + x-ms-correlation-request-id: [8f395325-5abf-4ad0-8e2b-93d2cf9ed174] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [252f8067-f014-4c4e-9d28-6719a58ca326] + x-ms-routing-request-id: ['WESTUS2:20170823T001614Z:8f395325-5abf-4ad0-8e2b-93d2cf9ed174'] status: {code: 200, message: OK} - request: body: null @@ -4000,18 +3905,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:26:38 GMT'] + Date: ['Wed, 23 Aug 2017 00:16:25 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4020,10 +3925,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [d9cf7970-5d79-4e63-bf0f-847f0d0aac39] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [508a458f-805c-4eb2-9684-2628a3bb757f] - x-ms-routing-request-id: ['WESTUS:20170627T162639Z:d9cf7970-5d79-4e63-bf0f-847f0d0aac39'] + x-ms-correlation-request-id: [3c03139f-c1a5-4906-a573-9e311d85f431] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [b53129d4-8f4d-48cf-8aef-f1b129eda86a] + x-ms-routing-request-id: ['WESTUS2:20170823T001625Z:3c03139f-c1a5-4906-a573-9e311d85f431'] status: {code: 200, message: OK} - request: body: null @@ -4032,18 +3937,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:26:49 GMT'] + Date: ['Wed, 23 Aug 2017 00:16:35 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4052,10 +3957,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [bd8b54f0-13dc-4e43-b4e0-905a8e8f8f78] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [82e7f1c5-8feb-4363-adb5-6ae8a545d998] - x-ms-routing-request-id: ['WESTUS:20170627T162650Z:bd8b54f0-13dc-4e43-b4e0-905a8e8f8f78'] + x-ms-correlation-request-id: [138ee10e-1630-4eaf-983e-7e6900e9fbe0] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [b40574ab-bde1-4d85-b6b7-6e076af07063] + x-ms-routing-request-id: ['WESTUS2:20170823T001636Z:138ee10e-1630-4eaf-983e-7e6900e9fbe0'] status: {code: 200, message: OK} - request: body: null @@ -4064,18 +3969,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:27:00 GMT'] + Date: ['Wed, 23 Aug 2017 00:16:46 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4084,10 +3989,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [45edb7ca-15a7-4f40-a54e-8e26e8d3c4b2] + x-ms-correlation-request-id: [b0b3c5c1-973e-45fa-b715-804c8e30dcd6] x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [cac31710-7b98-47fa-873d-9bcc3480d7ea] - x-ms-routing-request-id: ['WESTUS:20170627T162700Z:45edb7ca-15a7-4f40-a54e-8e26e8d3c4b2'] + x-ms-request-id: [ae4306da-efc1-4e21-9162-34254ac17664] + x-ms-routing-request-id: ['WESTUS2:20170823T001646Z:b0b3c5c1-973e-45fa-b715-804c8e30dcd6'] status: {code: 200, message: OK} - request: body: null @@ -4096,18 +4001,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:27:10 GMT'] + Date: ['Wed, 23 Aug 2017 00:16:56 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4116,10 +4021,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [f01b10fa-5f4c-46c6-b667-f777fa5abe79] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [2f338275-7f30-4ce1-8fc1-c34a1d7620ea] - x-ms-routing-request-id: ['WESTUS:20170627T162710Z:f01b10fa-5f4c-46c6-b667-f777fa5abe79'] + x-ms-correlation-request-id: [21c0ce78-7106-4a59-a9c9-fb34e1a051f6] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [70658be3-253e-4240-98e8-a0678f6e0eae] + x-ms-routing-request-id: ['WESTUS2:20170823T001657Z:21c0ce78-7106-4a59-a9c9-fb34e1a051f6'] status: {code: 200, message: OK} - request: body: null @@ -4128,18 +4033,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:27:20 GMT'] + Date: ['Wed, 23 Aug 2017 00:17:06 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4148,10 +4053,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [0b4a1242-a53b-410f-9f19-5c2e18e60df1] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [46065af4-f527-4c94-8492-145c85fa2337] - x-ms-routing-request-id: ['WESTUS:20170627T162721Z:0b4a1242-a53b-410f-9f19-5c2e18e60df1'] + x-ms-correlation-request-id: [e2e95044-7928-4254-b0c8-76460c333402] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [60896a5d-3c3d-4dbf-b976-d7d1aecba019] + x-ms-routing-request-id: ['WESTUS2:20170823T001707Z:e2e95044-7928-4254-b0c8-76460c333402'] status: {code: 200, message: OK} - request: body: null @@ -4160,18 +4065,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:27:31 GMT'] + Date: ['Wed, 23 Aug 2017 00:17:17 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4180,10 +4085,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [5c0f511b-f575-426d-90d4-d4c106b62a4d] + x-ms-correlation-request-id: [0a01c342-706a-407e-b3aa-95e30edf7faa] x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [6b5e0c58-46f3-4688-af07-61fb940029a3] - x-ms-routing-request-id: ['WESTUS2:20170627T162731Z:5c0f511b-f575-426d-90d4-d4c106b62a4d'] + x-ms-request-id: [6032e5e5-5890-49e0-bee1-666b950caa9e] + x-ms-routing-request-id: ['WESTUS2:20170823T001717Z:0a01c342-706a-407e-b3aa-95e30edf7faa'] status: {code: 200, message: OK} - request: body: null @@ -4192,18 +4097,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:27:41 GMT'] + Date: ['Wed, 23 Aug 2017 00:17:27 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4212,10 +4117,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [32032388-22e8-420b-97ef-295d7e2cf3e3] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [536f74c1-66d5-4865-a765-0a84f680f730] - x-ms-routing-request-id: ['WESTUS2:20170627T162741Z:32032388-22e8-420b-97ef-295d7e2cf3e3'] + x-ms-correlation-request-id: [9182cef6-ccb7-42cc-975d-54de2045a552] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [91c8fd9b-25ff-4575-810b-e7c2ed23c475] + x-ms-routing-request-id: ['WESTUS2:20170823T001728Z:9182cef6-ccb7-42cc-975d-54de2045a552'] status: {code: 200, message: OK} - request: body: null @@ -4224,18 +4129,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:27:51 GMT'] + Date: ['Wed, 23 Aug 2017 00:17:38 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4244,42 +4149,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [eee26583-dd66-40ac-ba6d-9100ddf99308] + x-ms-correlation-request-id: [f78bf015-0a5e-439e-a775-70919786361a] x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [94ee6c81-67fb-4496-accb-374c469457d7] - x-ms-routing-request-id: ['WESTUS2:20170627T162752Z:eee26583-dd66-40ac-ba6d-9100ddf99308'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 - response: - body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:28:02 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Retry-After: ['0'] - Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['30'] - x-ms-correlation-request-id: [184b53e1-faf0-4a96-818f-82a4d2e87ddd] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [517af319-5c9e-4f2e-b8be-4dfc056de7d6] - x-ms-routing-request-id: ['WESTUS2:20170627T162802Z:184b53e1-faf0-4a96-818f-82a4d2e87ddd'] + x-ms-request-id: [6d773425-844f-4534-b5d8-bdabbbcb9b86] + x-ms-routing-request-id: ['WESTUS2:20170823T001738Z:f78bf015-0a5e-439e-a775-70919786361a'] status: {code: 200, message: OK} - request: body: null @@ -4288,18 +4161,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:28:12 GMT'] + Date: ['Wed, 23 Aug 2017 00:17:49 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4308,10 +4181,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [fe6aaeff-3f36-42d3-8a47-0fa08b4b1571] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [2bfae91c-2312-4632-9314-82d0680b2d58] - x-ms-routing-request-id: ['WESTUS2:20170627T162812Z:fe6aaeff-3f36-42d3-8a47-0fa08b4b1571'] + x-ms-correlation-request-id: [b7bcb88b-588a-4a91-a29b-f210211f3be4] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [1b5557f2-13ee-40c7-864b-e9c64ec199f8] + x-ms-routing-request-id: ['WESTUS2:20170823T001749Z:b7bcb88b-588a-4a91-a29b-f210211f3be4'] status: {code: 200, message: OK} - request: body: null @@ -4320,18 +4193,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:28:22 GMT'] + Date: ['Wed, 23 Aug 2017 00:17:59 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4340,10 +4213,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [d0195830-bff6-4925-9cea-505cb5f8bedb] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [3722b46c-5a5a-44c5-a1c8-ccce351cfd2e] - x-ms-routing-request-id: ['WESTUS2:20170627T162823Z:d0195830-bff6-4925-9cea-505cb5f8bedb'] + x-ms-correlation-request-id: [1ac4453e-abb6-48e2-b1d1-57d6a2e031eb] + x-ms-ratelimit-remaining-subscription-reads: ['14991'] + x-ms-request-id: [a4f4e02c-d9c3-4666-949e-5c7b4fc0431f] + x-ms-routing-request-id: ['WESTUS2:20170823T001759Z:1ac4453e-abb6-48e2-b1d1-57d6a2e031eb'] status: {code: 200, message: OK} - request: body: null @@ -4352,18 +4225,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:28:33 GMT'] + Date: ['Wed, 23 Aug 2017 00:18:10 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4372,10 +4245,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [d2e94687-477f-4223-9ba2-1b0e814c665b] + x-ms-correlation-request-id: [17912c26-fd02-47e1-9fc8-89b3042e4cdc] x-ms-ratelimit-remaining-subscription-reads: ['14990'] - x-ms-request-id: [afae105e-ccea-4421-b1b9-e77db4384c18] - x-ms-routing-request-id: ['WESTUS:20170627T162833Z:d2e94687-477f-4223-9ba2-1b0e814c665b'] + x-ms-request-id: [da6be656-81ea-4a3e-b464-d2f5c26b2254] + x-ms-routing-request-id: ['WESTUS2:20170823T001810Z:17912c26-fd02-47e1-9fc8-89b3042e4cdc'] status: {code: 200, message: OK} - request: body: null @@ -4384,18 +4257,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:28:43 GMT'] + Date: ['Wed, 23 Aug 2017 00:18:20 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4404,10 +4277,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [0c04135e-05ed-465a-94ed-d8571a07bc07] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [70605c9a-d747-42ec-a0ac-77f7a3ba6bd5] - x-ms-routing-request-id: ['WESTUS:20170627T162843Z:0c04135e-05ed-465a-94ed-d8571a07bc07'] + x-ms-correlation-request-id: [bec49293-7639-4395-94bd-9b2a279f09a0] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [848f6db6-8c59-466a-b5b1-6a33caada0de] + x-ms-routing-request-id: ['WESTUS2:20170823T001820Z:bec49293-7639-4395-94bd-9b2a279f09a0'] status: {code: 200, message: OK} - request: body: null @@ -4416,18 +4289,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:28:53 GMT'] + Date: ['Wed, 23 Aug 2017 00:18:30 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4436,10 +4309,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [fc6d0c2b-b545-423d-8813-e6071fcdb3fe] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [093e8b49-3ccd-464c-96e8-3f515e098460] - x-ms-routing-request-id: ['WESTUS:20170627T162853Z:fc6d0c2b-b545-423d-8813-e6071fcdb3fe'] + x-ms-correlation-request-id: [1ea54e1b-f6e7-4aea-9389-3246f146955f] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [cf0d99e4-0dc4-48ab-a99c-676ea63579fe] + x-ms-routing-request-id: ['WESTUS2:20170823T001831Z:1ea54e1b-f6e7-4aea-9389-3246f146955f'] status: {code: 200, message: OK} - request: body: null @@ -4448,18 +4321,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:29:03 GMT'] + Date: ['Wed, 23 Aug 2017 00:18:40 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4468,10 +4341,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [1e420891-0a99-4006-84d6-c16fdfda47a3] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [9cfe5405-f6b8-47bb-ad2d-c54a12b7d00b] - x-ms-routing-request-id: ['WESTUS:20170627T162904Z:1e420891-0a99-4006-84d6-c16fdfda47a3'] + x-ms-correlation-request-id: [4f4c47ec-1761-40b2-b0b3-2c62b1b08d6d] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [3f8d7c03-296b-49a8-ad09-5a7a8f7e17d1] + x-ms-routing-request-id: ['WESTUS2:20170823T001841Z:4f4c47ec-1761-40b2-b0b3-2c62b1b08d6d'] status: {code: 200, message: OK} - request: body: null @@ -4480,18 +4353,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:29:13 GMT'] + Date: ['Wed, 23 Aug 2017 00:18:51 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4500,10 +4373,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [bf20c5c9-1b42-411d-bf29-dae1ccff20f5] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [ecfc6846-36e1-4732-9611-1f9b92085fbe] - x-ms-routing-request-id: ['WESTUS:20170627T162914Z:bf20c5c9-1b42-411d-bf29-dae1ccff20f5'] + x-ms-correlation-request-id: [3cbc7e3b-334d-43e9-95b0-6a1b67f19692] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [d0012218-e730-4bda-aa3f-ab0953adfc0f] + x-ms-routing-request-id: ['WESTUS2:20170823T001852Z:3cbc7e3b-334d-43e9-95b0-6a1b67f19692'] status: {code: 200, message: OK} - request: body: null @@ -4512,18 +4385,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:29:23 GMT'] + Date: ['Wed, 23 Aug 2017 00:19:02 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4532,10 +4405,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [e2ff570e-4164-4620-bdfb-61226061aac3] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [4f2c1a25-b791-488e-a58c-de4e84e255a2] - x-ms-routing-request-id: ['WESTUS:20170627T162924Z:e2ff570e-4164-4620-bdfb-61226061aac3'] + x-ms-correlation-request-id: [1cf4e357-05b9-4dfb-8c97-23643fab4faf] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [a74f07e9-3130-41a1-bc56-291b6ab5be95] + x-ms-routing-request-id: ['WESTUS2:20170823T001902Z:1cf4e357-05b9-4dfb-8c97-23643fab4faf'] status: {code: 200, message: OK} - request: body: null @@ -4544,18 +4417,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:29:34 GMT'] + Date: ['Wed, 23 Aug 2017 00:19:12 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4564,10 +4437,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [440a5cc7-908c-4364-98b7-9fc79a4c6930] + x-ms-correlation-request-id: [eab00ec1-a3c5-4fe0-9788-150afd20e102] x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [e4158eb3-9fbc-484d-86b8-4c740bcc10a6] - x-ms-routing-request-id: ['WESTUS2:20170627T162934Z:440a5cc7-908c-4364-98b7-9fc79a4c6930'] + x-ms-request-id: [2d7d9c92-05c6-4bcf-8995-53ccf44527ce] + x-ms-routing-request-id: ['WESTUS:20170823T001913Z:eab00ec1-a3c5-4fe0-9788-150afd20e102'] status: {code: 200, message: OK} - request: body: null @@ -4576,18 +4449,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:29:44 GMT'] + Date: ['Wed, 23 Aug 2017 00:19:22 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4596,10 +4469,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [9bb10bd0-8a63-42ab-9668-8efbe3417eeb] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [f1cbdfaf-9cae-4a4e-ad56-cbd6488d583a] - x-ms-routing-request-id: ['WESTUS2:20170627T162945Z:9bb10bd0-8a63-42ab-9668-8efbe3417eeb'] + x-ms-correlation-request-id: [8eefa718-4aa7-4ea0-8f67-077397f01b06] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [75357432-a89e-47ea-97d0-df52325cb760] + x-ms-routing-request-id: ['WESTUS:20170823T001923Z:8eefa718-4aa7-4ea0-8f67-077397f01b06'] status: {code: 200, message: OK} - request: body: null @@ -4608,18 +4481,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:29:55 GMT'] + Date: ['Wed, 23 Aug 2017 00:19:33 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4628,10 +4501,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [6687eeea-5210-4e1b-9be3-37898fa9d87c] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [dffd0a07-ce01-4bc2-b3a6-8c9f1e8375bc] - x-ms-routing-request-id: ['WESTUS2:20170627T162955Z:6687eeea-5210-4e1b-9be3-37898fa9d87c'] + x-ms-correlation-request-id: [edbc2dd5-1b00-496e-b520-c9782885e6d1] + x-ms-ratelimit-remaining-subscription-reads: ['14989'] + x-ms-request-id: [6939fb72-f028-42ee-ac4d-efafef679f70] + x-ms-routing-request-id: ['WESTUS:20170823T001934Z:edbc2dd5-1b00-496e-b520-c9782885e6d1'] status: {code: 200, message: OK} - request: body: null @@ -4640,18 +4513,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:30:05 GMT'] + Date: ['Wed, 23 Aug 2017 00:19:44 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4660,10 +4533,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [ba34c5e2-4ea5-4622-ac48-efb53b523d92] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [d4fa91bd-577d-4927-879b-b7d11e8dfbcb] - x-ms-routing-request-id: ['WESTUS2:20170627T163006Z:ba34c5e2-4ea5-4622-ac48-efb53b523d92'] + x-ms-correlation-request-id: [2513ded5-9606-4c54-9af7-7a75cd3ca448] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [6f17caf2-2f50-4bb4-93fa-e06ee74dd11e] + x-ms-routing-request-id: ['WESTUS:20170823T001944Z:2513ded5-9606-4c54-9af7-7a75cd3ca448'] status: {code: 200, message: OK} - request: body: null @@ -4672,18 +4545,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:30:15 GMT'] + Date: ['Wed, 23 Aug 2017 00:19:58 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4692,10 +4565,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [b9505f6a-afe0-47e9-8eea-3b85cad8cc52] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [3225ca74-661e-4d84-b91b-6a578b9f786f] - x-ms-routing-request-id: ['WESTUS2:20170627T163016Z:b9505f6a-afe0-47e9-8eea-3b85cad8cc52'] + x-ms-correlation-request-id: [090134f0-15cd-4421-81dc-35cfc1ea66fb] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [3226d02c-244f-42a0-99e3-7e3ed9ac0ea3] + x-ms-routing-request-id: ['WESTUS:20170823T001958Z:090134f0-15cd-4421-81dc-35cfc1ea66fb'] status: {code: 200, message: OK} - request: body: null @@ -4704,18 +4577,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:30:26 GMT'] + Date: ['Wed, 23 Aug 2017 00:20:08 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4724,10 +4597,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [3a665e19-6575-4549-b0dd-15456d53ee52] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [bf24ac0e-ca7c-4073-88bf-cd9dfdf0acfa] - x-ms-routing-request-id: ['WESTUS2:20170627T163026Z:3a665e19-6575-4549-b0dd-15456d53ee52'] + x-ms-correlation-request-id: [154a816d-f1de-48ab-acbe-64d96883b28a] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [0758703f-2773-426a-9bf1-86f893802447] + x-ms-routing-request-id: ['WESTUS:20170823T002008Z:154a816d-f1de-48ab-acbe-64d96883b28a'] status: {code: 200, message: OK} - request: body: null @@ -4736,18 +4609,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:30:37 GMT'] + Date: ['Wed, 23 Aug 2017 00:20:19 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4756,10 +4629,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [c798c669-d5e9-48e8-a60e-30ee8a6c6c94] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [e5abbf89-a38c-4ff2-b982-065ef8d2bbe8] - x-ms-routing-request-id: ['WESTUS:20170627T163037Z:c798c669-d5e9-48e8-a60e-30ee8a6c6c94'] + x-ms-correlation-request-id: [f1fc7968-089e-43ee-b683-065f55db980a] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [0a4ae231-a41c-4265-81a0-a4165f50734c] + x-ms-routing-request-id: ['WESTUS2:20170823T002019Z:f1fc7968-089e-43ee-b683-065f55db980a'] status: {code: 200, message: OK} - request: body: null @@ -4768,18 +4641,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:30:47 GMT'] + Date: ['Wed, 23 Aug 2017 00:20:29 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4788,10 +4661,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [c5c309ab-ddc2-44bd-91bc-082aaabbc5ed] + x-ms-correlation-request-id: [b1201c0f-78f0-4fe9-bd04-819080450ed5] x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [6f94fe32-4960-4a27-804a-971e98a51929] - x-ms-routing-request-id: ['WESTUS2:20170627T163047Z:c5c309ab-ddc2-44bd-91bc-082aaabbc5ed'] + x-ms-request-id: [307bc2b6-7b99-49a8-aa07-3a5b0f0707b1] + x-ms-routing-request-id: ['WESTUS2:20170823T002030Z:b1201c0f-78f0-4fe9-bd04-819080450ed5'] status: {code: 200, message: OK} - request: body: null @@ -4800,18 +4673,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:30:57 GMT'] + Date: ['Wed, 23 Aug 2017 00:20:39 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4820,10 +4693,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [0fed0285-0496-46bb-b80a-06f04db88d05] + x-ms-correlation-request-id: [d5dabbb9-4fe6-4dfc-8b5d-4bfc9307702a] x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [b8c058d1-ecfc-4292-8397-e974cd8eb829] - x-ms-routing-request-id: ['WESTUS2:20170627T163057Z:0fed0285-0496-46bb-b80a-06f04db88d05'] + x-ms-request-id: [4a404375-4c58-46d8-b01e-24c9cacb0b09] + x-ms-routing-request-id: ['WESTUS2:20170823T002040Z:d5dabbb9-4fe6-4dfc-8b5d-4bfc9307702a'] status: {code: 200, message: OK} - request: body: null @@ -4832,18 +4705,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:31:07 GMT'] + Date: ['Wed, 23 Aug 2017 00:20:50 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4852,10 +4725,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [6e964e51-614b-4596-bfdc-1ccd00678c16] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [2706553c-3f72-4652-b922-e66c4c8c0233] - x-ms-routing-request-id: ['WESTUS2:20170627T163108Z:6e964e51-614b-4596-bfdc-1ccd00678c16'] + x-ms-correlation-request-id: [d70a8cb5-cf8a-4ec2-ba67-b06fdcd793ae] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [c46f6f70-c8ee-40f2-9e04-6172974e8a26] + x-ms-routing-request-id: ['WESTUS2:20170823T002051Z:d70a8cb5-cf8a-4ec2-ba67-b06fdcd793ae'] status: {code: 200, message: OK} - request: body: null @@ -4864,18 +4737,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:31:17 GMT'] + Date: ['Wed, 23 Aug 2017 00:21:01 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4884,10 +4757,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [812d9605-fead-49a5-ab51-4c6b1e1113d6] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [4d0f3a5c-7f61-4253-a84f-8ac6e3b86a2b] - x-ms-routing-request-id: ['WESTUS2:20170627T163118Z:812d9605-fead-49a5-ab51-4c6b1e1113d6'] + x-ms-correlation-request-id: [d21a78c1-68ba-4a78-ad68-f16b303cbc87] + x-ms-ratelimit-remaining-subscription-reads: ['14989'] + x-ms-request-id: [d9f85f4a-a8e7-44ef-97ee-199596bf8488] + x-ms-routing-request-id: ['WESTUS2:20170823T002101Z:d21a78c1-68ba-4a78-ad68-f16b303cbc87'] status: {code: 200, message: OK} - request: body: null @@ -4896,18 +4769,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:31:28 GMT'] + Date: ['Wed, 23 Aug 2017 00:21:11 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4916,10 +4789,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [76a515dd-b5dc-4e65-b668-b862cb1c1514] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [0d7e564e-4e2c-4937-832c-d2e62c71a99e] - x-ms-routing-request-id: ['WESTUS2:20170627T163128Z:76a515dd-b5dc-4e65-b668-b862cb1c1514'] + x-ms-correlation-request-id: [85a5963c-6b6b-41a2-af48-7060a01c73ea] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [ef4b9474-2d59-4125-b5b8-9186242e79ca] + x-ms-routing-request-id: ['WESTUS2:20170823T002112Z:85a5963c-6b6b-41a2-af48-7060a01c73ea'] status: {code: 200, message: OK} - request: body: null @@ -4928,18 +4801,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:31:38 GMT'] + Date: ['Wed, 23 Aug 2017 00:21:22 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4948,10 +4821,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [67833932-7a82-4334-97c5-44a44d5e5337] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [4ef90cca-db33-4458-875d-becb60108fdf] - x-ms-routing-request-id: ['WESTUS2:20170627T163139Z:67833932-7a82-4334-97c5-44a44d5e5337'] + x-ms-correlation-request-id: [956b5eea-2027-42e2-a24c-f69a729b4ca8] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [cf86e32c-691c-4f66-9c05-41ba0c009df6] + x-ms-routing-request-id: ['WESTUS2:20170823T002122Z:956b5eea-2027-42e2-a24c-f69a729b4ca8'] status: {code: 200, message: OK} - request: body: null @@ -4960,18 +4833,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:31:49 GMT'] + Date: ['Wed, 23 Aug 2017 00:21:32 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -4980,10 +4853,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [9f21545e-4187-451c-bfcc-48c89e9f3442] + x-ms-correlation-request-id: [4454960e-0586-4a24-9193-98c949bed0cd] x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [3ab1df2c-c630-4227-b15d-ceeee02557fe] - x-ms-routing-request-id: ['WESTUS2:20170627T163149Z:9f21545e-4187-451c-bfcc-48c89e9f3442'] + x-ms-request-id: [38d821b4-39b5-48b1-bc67-3e5cea86bd97] + x-ms-routing-request-id: ['WESTUS2:20170823T002133Z:4454960e-0586-4a24-9193-98c949bed0cd'] status: {code: 200, message: OK} - request: body: null @@ -4992,18 +4865,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:31:58 GMT'] + Date: ['Wed, 23 Aug 2017 00:21:43 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5012,10 +4885,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [1c7af970-3eed-4d4d-bdf4-adb680cf15e2] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [dee3cd5a-be08-42aa-8323-d77e10f26257] - x-ms-routing-request-id: ['WESTUS2:20170627T163159Z:1c7af970-3eed-4d4d-bdf4-adb680cf15e2'] + x-ms-correlation-request-id: [62b17664-661f-428f-95c8-a6e1db74b98a] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [2ddd3a48-f9a8-4639-8ff7-c5d5eb6f1aae] + x-ms-routing-request-id: ['WESTUS2:20170823T002143Z:62b17664-661f-428f-95c8-a6e1db74b98a'] status: {code: 200, message: OK} - request: body: null @@ -5024,18 +4897,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:32:09 GMT'] + Date: ['Wed, 23 Aug 2017 00:21:53 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5044,10 +4917,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [009e280e-ec1f-4909-9c92-fa23df81c258] + x-ms-correlation-request-id: [edf1e610-b882-4030-986d-29c1fa718115] x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [fe314798-48bd-4186-aa75-7dd835cf47dc] - x-ms-routing-request-id: ['WESTUS2:20170627T163209Z:009e280e-ec1f-4909-9c92-fa23df81c258'] + x-ms-request-id: [5a8ee79e-5afe-49fb-a635-c8af9373ee18] + x-ms-routing-request-id: ['WESTUS:20170823T002154Z:edf1e610-b882-4030-986d-29c1fa718115'] status: {code: 200, message: OK} - request: body: null @@ -5056,18 +4929,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:32:20 GMT'] + Date: ['Wed, 23 Aug 2017 00:22:04 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5076,10 +4949,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [7bfe212d-20f4-40be-a90a-76800eb32b2a] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [01b17cd3-c305-444f-a1fb-af7bafca8e4e] - x-ms-routing-request-id: ['WESTUS2:20170627T163220Z:7bfe212d-20f4-40be-a90a-76800eb32b2a'] + x-ms-correlation-request-id: [ef408164-c74d-4b25-997f-9d06cb084ad9] + x-ms-ratelimit-remaining-subscription-reads: ['14991'] + x-ms-request-id: [91a06d12-0eca-4066-a54f-15ef09c69023] + x-ms-routing-request-id: ['WESTUS:20170823T002204Z:ef408164-c74d-4b25-997f-9d06cb084ad9'] status: {code: 200, message: OK} - request: body: null @@ -5088,18 +4961,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:32:30 GMT'] + Date: ['Wed, 23 Aug 2017 00:22:15 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5108,10 +4981,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [773afa77-31f0-4bf4-9537-ec9bd5a8a96f] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [7db1ece0-812d-4e4d-9cbc-5815261bee37] - x-ms-routing-request-id: ['WESTUS2:20170627T163230Z:773afa77-31f0-4bf4-9537-ec9bd5a8a96f'] + x-ms-correlation-request-id: [81a5debb-159c-4a34-87e4-8a63f56f60e4] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [2f3b8504-3a18-48d2-bd2f-2ca1bd6881f7] + x-ms-routing-request-id: ['WESTUS:20170823T002215Z:81a5debb-159c-4a34-87e4-8a63f56f60e4'] status: {code: 200, message: OK} - request: body: null @@ -5120,18 +4993,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:32:40 GMT'] + Date: ['Wed, 23 Aug 2017 00:22:25 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5140,10 +5013,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [804bc39b-1b62-48b4-a76c-a614df6b9349] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [77f42feb-0f93-4fcb-81ab-ced3e969a2b9] - x-ms-routing-request-id: ['WESTUS:20170627T163241Z:804bc39b-1b62-48b4-a76c-a614df6b9349'] + x-ms-correlation-request-id: [482c0e49-b7a2-4d86-9b61-5bd16792e8a3] + x-ms-ratelimit-remaining-subscription-reads: ['14988'] + x-ms-request-id: [051b7fb6-3241-432b-a54e-342d47582dd0] + x-ms-routing-request-id: ['WESTUS:20170823T002225Z:482c0e49-b7a2-4d86-9b61-5bd16792e8a3'] status: {code: 200, message: OK} - request: body: null @@ -5152,18 +5025,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:32:51 GMT'] + Date: ['Wed, 23 Aug 2017 00:22:39 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5172,10 +5045,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [a5af8bd5-b023-4aa3-a5f1-fd2dbefe134c] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [652d85c3-463f-4410-bc08-fa41bb9cdb4f] - x-ms-routing-request-id: ['WESTUS:20170627T163251Z:a5af8bd5-b023-4aa3-a5f1-fd2dbefe134c'] + x-ms-correlation-request-id: [bc2dd4a1-a4c3-4eda-82d1-6d4804061908] + x-ms-ratelimit-remaining-subscription-reads: ['14990'] + x-ms-request-id: [c38d9be7-d14a-4441-92e8-407c8f62f203] + x-ms-routing-request-id: ['WESTUS:20170823T002240Z:bc2dd4a1-a4c3-4eda-82d1-6d4804061908'] status: {code: 200, message: OK} - request: body: null @@ -5184,18 +5057,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:33:01 GMT'] + Date: ['Wed, 23 Aug 2017 00:22:51 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5204,10 +5077,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [6e71bd7a-cc79-44a9-8db6-19982192499d] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [2b93064e-e111-4e86-a1bb-506a338f8470] - x-ms-routing-request-id: ['WESTUS:20170627T163301Z:6e71bd7a-cc79-44a9-8db6-19982192499d'] + x-ms-correlation-request-id: [687d66ae-d81e-4fea-91e5-abd5f6791264] + x-ms-ratelimit-remaining-subscription-reads: ['14991'] + x-ms-request-id: [df5dc8d7-4a69-4ebb-b426-8e17eaeacf2b] + x-ms-routing-request-id: ['WESTUS:20170823T002251Z:687d66ae-d81e-4fea-91e5-abd5f6791264'] status: {code: 200, message: OK} - request: body: null @@ -5216,18 +5089,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:33:12 GMT'] + Date: ['Wed, 23 Aug 2017 00:23:00 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5236,10 +5109,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [7920f1bf-4bb4-4513-8db4-ce5b3adc7966] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [5e1f66d3-c9da-46dc-9664-82cf16614167] - x-ms-routing-request-id: ['WESTUS:20170627T163312Z:7920f1bf-4bb4-4513-8db4-ce5b3adc7966'] + x-ms-correlation-request-id: [f96d8d4b-813f-419a-a5e3-f7a276c4713f] + x-ms-ratelimit-remaining-subscription-reads: ['14991'] + x-ms-request-id: [e11295f0-4f56-4e35-9748-49b9f89437f8] + x-ms-routing-request-id: ['WESTUS:20170823T002301Z:f96d8d4b-813f-419a-a5e3-f7a276c4713f'] status: {code: 200, message: OK} - request: body: null @@ -5248,18 +5121,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:33:21 GMT'] + Date: ['Wed, 23 Aug 2017 00:23:12 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5268,10 +5141,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [6b3de45d-78a2-4205-a9f1-964ee974673a] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [5bf408d1-d885-4c2f-9445-ffd8c58b39b8] - x-ms-routing-request-id: ['WESTUS:20170627T163322Z:6b3de45d-78a2-4205-a9f1-964ee974673a'] + x-ms-correlation-request-id: [2c419a77-32c9-4192-82c9-4b93d5506ae6] + x-ms-ratelimit-remaining-subscription-reads: ['14991'] + x-ms-request-id: [ea93281d-9eee-4532-9ce6-83a3f50fda90] + x-ms-routing-request-id: ['WESTUS:20170823T002312Z:2c419a77-32c9-4192-82c9-4b93d5506ae6'] status: {code: 200, message: OK} - request: body: null @@ -5280,18 +5153,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:33:32 GMT'] + Date: ['Wed, 23 Aug 2017 00:23:22 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5300,10 +5173,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [8c1a191e-eddb-46c5-bb52-f3888f8ac7c8] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [76248e68-2a5e-4969-baf5-bc8eb3ee4a2b] - x-ms-routing-request-id: ['WESTUS2:20170627T163332Z:8c1a191e-eddb-46c5-bb52-f3888f8ac7c8'] + x-ms-correlation-request-id: [84829cf3-d468-4878-910a-6fdb547f1e7c] + x-ms-ratelimit-remaining-subscription-reads: ['14988'] + x-ms-request-id: [7a6f2a04-c678-4d55-bd4c-c0351405d2cd] + x-ms-routing-request-id: ['WESTUS2:20170823T002322Z:84829cf3-d468-4878-910a-6fdb547f1e7c'] status: {code: 200, message: OK} - request: body: null @@ -5312,18 +5185,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:33:43 GMT'] + Date: ['Wed, 23 Aug 2017 00:23:33 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5332,10 +5205,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [168f5052-b20a-4396-bf26-cafa8f2304af] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [96214b76-9b77-4342-b44e-2b57520730ba] - x-ms-routing-request-id: ['WESTUS:20170627T163343Z:168f5052-b20a-4396-bf26-cafa8f2304af'] + x-ms-correlation-request-id: [3b939cad-8b11-476d-8b91-5485daeadd33] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [fd18946c-6e24-4b33-bdf6-1df6cfb7ac0d] + x-ms-routing-request-id: ['WESTUS2:20170823T002333Z:3b939cad-8b11-476d-8b91-5485daeadd33'] status: {code: 200, message: OK} - request: body: null @@ -5344,18 +5217,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:33:52 GMT'] + Date: ['Wed, 23 Aug 2017 00:23:43 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5364,10 +5237,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [a845d9a2-fb9c-4d57-a41a-fccc08883eba] - x-ms-ratelimit-remaining-subscription-reads: ['14991'] - x-ms-request-id: [5a6bdace-3a24-4138-ac7e-5e9dbb708217] - x-ms-routing-request-id: ['WESTUS:20170627T163353Z:a845d9a2-fb9c-4d57-a41a-fccc08883eba'] + x-ms-correlation-request-id: [453ea9ad-8f97-498e-8067-fc3f5f24d4f8] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [03bf3624-4c63-4ee7-9f55-f1257595531f] + x-ms-routing-request-id: ['WESTUS2:20170823T002344Z:453ea9ad-8f97-498e-8067-fc3f5f24d4f8'] status: {code: 200, message: OK} - request: body: null @@ -5376,18 +5249,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:34:02 GMT'] + Date: ['Wed, 23 Aug 2017 00:23:53 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5396,10 +5269,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [88decc34-1436-4998-a8f0-c025b69ed02f] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [606f2286-4c5a-4410-89ab-84974676434e] - x-ms-routing-request-id: ['WESTUS2:20170627T163403Z:88decc34-1436-4998-a8f0-c025b69ed02f'] + x-ms-correlation-request-id: [c8a88c64-1146-49a8-8153-88ca05f1a3db] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [a0d29898-adcb-4b06-b16c-e0fb2652b139] + x-ms-routing-request-id: ['WESTUS2:20170823T002354Z:c8a88c64-1146-49a8-8153-88ca05f1a3db'] status: {code: 200, message: OK} - request: body: null @@ -5408,18 +5281,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:34:13 GMT'] + Date: ['Wed, 23 Aug 2017 00:24:04 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5428,10 +5301,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [bda5d41d-fac4-4ba4-ac30-6391fb2b7778] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [b560a31e-789d-4274-b93f-93a544d7f7ae] - x-ms-routing-request-id: ['WESTUS2:20170627T163414Z:bda5d41d-fac4-4ba4-ac30-6391fb2b7778'] + x-ms-correlation-request-id: [d19d6d89-af58-4f87-837f-3491c350cdc7] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [dbcb0bd4-96c8-47ff-91aa-07b27b1f1dfe] + x-ms-routing-request-id: ['WESTUS2:20170823T002405Z:d19d6d89-af58-4f87-837f-3491c350cdc7'] status: {code: 200, message: OK} - request: body: null @@ -5440,18 +5313,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:34:24 GMT'] + Date: ['Wed, 23 Aug 2017 00:24:14 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5460,10 +5333,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [ad2248e8-f6d4-4552-a74e-011a7df446ac] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [4a4a19c9-455f-48cf-8674-e0c68698d095] - x-ms-routing-request-id: ['WESTUS2:20170627T163424Z:ad2248e8-f6d4-4552-a74e-011a7df446ac'] + x-ms-correlation-request-id: [9c17830f-8319-48d1-aeca-c810e7ffe145] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [854d994c-f0e3-48f7-9399-49057bf63179] + x-ms-routing-request-id: ['WESTUS2:20170823T002415Z:9c17830f-8319-48d1-aeca-c810e7ffe145'] status: {code: 200, message: OK} - request: body: null @@ -5472,18 +5345,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:34:34 GMT'] + Date: ['Wed, 23 Aug 2017 00:24:25 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5492,10 +5365,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [24421e7f-eaf1-4521-b4db-055c34497d74] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [a063e1d6-1d06-4678-ae27-0cfd35107670] - x-ms-routing-request-id: ['WESTUS2:20170627T163434Z:24421e7f-eaf1-4521-b4db-055c34497d74'] + x-ms-correlation-request-id: [5ba7b53c-f29f-4b4b-83e4-3cfd49778777] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [07cf04f9-e095-487a-80b8-61d5720c5511] + x-ms-routing-request-id: ['WESTUS2:20170823T002426Z:5ba7b53c-f29f-4b4b-83e4-3cfd49778777'] status: {code: 200, message: OK} - request: body: null @@ -5504,18 +5377,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:34:45 GMT'] + Date: ['Wed, 23 Aug 2017 00:24:35 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5524,10 +5397,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [c942d57f-4691-4da8-951e-be025344caa0] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [b2e302d0-4d7f-4f57-ae53-dd00e4c7eec7] - x-ms-routing-request-id: ['WESTUS2:20170627T163445Z:c942d57f-4691-4da8-951e-be025344caa0'] + x-ms-correlation-request-id: [01f7bef4-ebd0-4cdf-8ddc-13df3c98ec6a] + x-ms-ratelimit-remaining-subscription-reads: ['14997'] + x-ms-request-id: [14219cfa-3acd-46a0-a177-3b745fdf2073] + x-ms-routing-request-id: ['WESTUS2:20170823T002436Z:01f7bef4-ebd0-4cdf-8ddc-13df3c98ec6a'] status: {code: 200, message: OK} - request: body: null @@ -5536,18 +5409,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:34:55 GMT'] + Date: ['Wed, 23 Aug 2017 00:24:46 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5556,10 +5429,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [16252d62-adf8-4a87-9b05-6c6c51b59803] - x-ms-ratelimit-remaining-subscription-reads: ['14991'] - x-ms-request-id: [a8942350-b64c-4c12-9e84-a506f0b57c00] - x-ms-routing-request-id: ['WESTUS2:20170627T163455Z:16252d62-adf8-4a87-9b05-6c6c51b59803'] + x-ms-correlation-request-id: [19d42dac-74e8-4015-bcd8-8d9a74892c80] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [a8ba0ee1-4a11-4270-8ed5-b466dfa1d99e] + x-ms-routing-request-id: ['WESTUS2:20170823T002447Z:19d42dac-74e8-4015-bcd8-8d9a74892c80'] status: {code: 200, message: OK} - request: body: null @@ -5568,18 +5441,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:35:05 GMT'] + Date: ['Wed, 23 Aug 2017 00:24:57 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5588,10 +5461,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [c4de89f7-b981-4253-8cb0-2077b8020e92] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [2cf772ca-716f-4f0d-a4e2-7c32d14b72de] - x-ms-routing-request-id: ['WESTUS2:20170627T163506Z:c4de89f7-b981-4253-8cb0-2077b8020e92'] + x-ms-correlation-request-id: [ff5783b0-f05c-44b4-85dc-34155e523d1d] + x-ms-ratelimit-remaining-subscription-reads: ['14987'] + x-ms-request-id: [2274c68e-3bdc-42b1-841f-bd842a73b4d1] + x-ms-routing-request-id: ['WESTUS2:20170823T002457Z:ff5783b0-f05c-44b4-85dc-34155e523d1d'] status: {code: 200, message: OK} - request: body: null @@ -5600,18 +5473,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:35:16 GMT'] + Date: ['Wed, 23 Aug 2017 00:25:07 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5620,10 +5493,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [53b99d7b-07f7-4bd1-9edd-bc9d2c643587] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [74006ec7-05f9-4738-9360-c10283ac7e31] - x-ms-routing-request-id: ['WESTUS2:20170627T163516Z:53b99d7b-07f7-4bd1-9edd-bc9d2c643587'] + x-ms-correlation-request-id: [56e3f627-3e18-4bb0-975f-f8c879082cfc] + x-ms-ratelimit-remaining-subscription-reads: ['14999'] + x-ms-request-id: [d01523a0-a533-45e4-806d-c5e8805de492] + x-ms-routing-request-id: ['WESTUS2:20170823T002508Z:56e3f627-3e18-4bb0-975f-f8c879082cfc'] status: {code: 200, message: OK} - request: body: null @@ -5632,18 +5505,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:35:26 GMT'] + Date: ['Wed, 23 Aug 2017 00:25:18 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5652,10 +5525,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [6c0cdd8e-55c2-422a-ae64-68eae2d51784] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [bd070391-9685-4348-a5d5-8e62be23b374] - x-ms-routing-request-id: ['WESTUS2:20170627T163526Z:6c0cdd8e-55c2-422a-ae64-68eae2d51784'] + x-ms-correlation-request-id: [accccc91-dc7a-4bd1-90a9-5e9ac00e1150] + x-ms-ratelimit-remaining-subscription-reads: ['14991'] + x-ms-request-id: [2c16bbe6-8059-4689-b628-8d26647e59bb] + x-ms-routing-request-id: ['WESTUS:20170823T002518Z:accccc91-dc7a-4bd1-90a9-5e9ac00e1150'] status: {code: 200, message: OK} - request: body: null @@ -5664,18 +5537,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:35:36 GMT'] + Date: ['Wed, 23 Aug 2017 00:25:29 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5684,10 +5557,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [0037c627-3224-449d-9139-ae7546f6027e] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [c4be1fc5-d87a-402d-a29e-cc38552ae82b] - x-ms-routing-request-id: ['WESTUS2:20170627T163537Z:0037c627-3224-449d-9139-ae7546f6027e'] + x-ms-correlation-request-id: [beb9b28c-60d7-429a-9d1e-4f2fd5a1a25f] + x-ms-ratelimit-remaining-subscription-reads: ['14990'] + x-ms-request-id: [5edc7b01-615f-4838-b96c-bbe642a2034b] + x-ms-routing-request-id: ['WESTUS:20170823T002529Z:beb9b28c-60d7-429a-9d1e-4f2fd5a1a25f'] status: {code: 200, message: OK} - request: body: null @@ -5696,18 +5569,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:35:46 GMT'] + Date: ['Wed, 23 Aug 2017 00:25:39 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5716,10 +5589,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [776a379d-bb16-4b3b-92da-188c5e6fbe20] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [445e88ac-d56e-41e5-9e37-262c31db0b51] - x-ms-routing-request-id: ['WESTUS2:20170627T163547Z:776a379d-bb16-4b3b-92da-188c5e6fbe20'] + x-ms-correlation-request-id: [b67dfcfd-23ac-4b86-8c90-9ed28fd7a1b7] + x-ms-ratelimit-remaining-subscription-reads: ['14987'] + x-ms-request-id: [5f58fd75-49e7-4c60-952c-4935afce5965] + x-ms-routing-request-id: ['WESTUS:20170823T002539Z:b67dfcfd-23ac-4b86-8c90-9ed28fd7a1b7'] status: {code: 200, message: OK} - request: body: null @@ -5728,18 +5601,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:35:57 GMT'] + Date: ['Wed, 23 Aug 2017 00:25:49 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5748,10 +5621,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [616ff5fe-637e-460a-989b-50ec920943db] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [80f66e36-e11d-4202-a0ee-73ea525a8f22] - x-ms-routing-request-id: ['WESTUS2:20170627T163557Z:616ff5fe-637e-460a-989b-50ec920943db'] + x-ms-correlation-request-id: [b8a5c802-88a8-4a17-be82-959c2870262d] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [1fd49067-7919-40dd-8609-671c80897e74] + x-ms-routing-request-id: ['WESTUS:20170823T002550Z:b8a5c802-88a8-4a17-be82-959c2870262d'] status: {code: 200, message: OK} - request: body: null @@ -5760,18 +5633,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:36:08 GMT'] + Date: ['Wed, 23 Aug 2017 00:26:00 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5780,10 +5653,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [31f01f0d-7c8b-4f07-bf73-12e554374ab0] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [2aa22d05-cb56-4acf-adcd-4b7b43c5529d] - x-ms-routing-request-id: ['WESTUS2:20170627T163608Z:31f01f0d-7c8b-4f07-bf73-12e554374ab0'] + x-ms-correlation-request-id: [507bb769-c2c5-4b7b-9782-e6384c2133b9] + x-ms-ratelimit-remaining-subscription-reads: ['14989'] + x-ms-request-id: [8b4bd6b5-0e07-42e0-8ac9-d6c945e8dd3a] + x-ms-routing-request-id: ['WESTUS:20170823T002600Z:507bb769-c2c5-4b7b-9782-e6384c2133b9'] status: {code: 200, message: OK} - request: body: null @@ -5792,18 +5665,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:36:18 GMT'] + Date: ['Wed, 23 Aug 2017 00:26:11 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5812,10 +5685,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [6c89e205-c69a-40bc-835f-3aa41d3280b1] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [d028b1ec-e019-4181-8aee-070d38b1cc3d] - x-ms-routing-request-id: ['WESTUS2:20170627T163618Z:6c89e205-c69a-40bc-835f-3aa41d3280b1'] + x-ms-correlation-request-id: [c3a98472-0deb-4885-83eb-c9c9343dc69d] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [a0467afc-4031-491e-b192-b8a05ed0ae15] + x-ms-routing-request-id: ['WESTUS:20170823T002611Z:c3a98472-0deb-4885-83eb-c9c9343dc69d'] status: {code: 200, message: OK} - request: body: null @@ -5824,18 +5697,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:36:28 GMT'] + Date: ['Wed, 23 Aug 2017 00:26:21 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5844,10 +5717,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [74d768b7-f5c4-4580-897d-43c6431dc091] + x-ms-correlation-request-id: [f74f8ca5-725f-4e4f-a723-a2c04875977b] x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [895a6561-7db9-4973-8915-0cc24f2d7b34] - x-ms-routing-request-id: ['WESTUS2:20170627T163628Z:74d768b7-f5c4-4580-897d-43c6431dc091'] + x-ms-request-id: [6c4a2724-c50c-4d2f-a189-60a1abc85d18] + x-ms-routing-request-id: ['WESTUS:20170823T002622Z:f74f8ca5-725f-4e4f-a723-a2c04875977b'] status: {code: 200, message: OK} - request: body: null @@ -5856,18 +5729,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:36:38 GMT'] + Date: ['Wed, 23 Aug 2017 00:26:32 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5876,10 +5749,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [c832a3c3-b671-445e-9a40-ed949b85cdc0] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [e9639e84-1763-43d7-bacd-f13a2ecc704a] - x-ms-routing-request-id: ['WESTUS2:20170627T163639Z:c832a3c3-b671-445e-9a40-ed949b85cdc0'] + x-ms-correlation-request-id: [6fd52886-2a30-46b4-b37b-b4e7001ca2e6] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [d930ff1a-31e3-4875-9dd7-c5b279a8be42] + x-ms-routing-request-id: ['WESTUS2:20170823T002632Z:6fd52886-2a30-46b4-b37b-b4e7001ca2e6'] status: {code: 200, message: OK} - request: body: null @@ -5888,18 +5761,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:36:49 GMT'] + Date: ['Wed, 23 Aug 2017 00:26:43 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5908,10 +5781,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [367b64d8-a4d4-440e-b7ca-6bd1fe4f4341] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [df90b034-16ae-44de-9771-d16e4b7491b5] - x-ms-routing-request-id: ['WESTUS2:20170627T163649Z:367b64d8-a4d4-440e-b7ca-6bd1fe4f4341'] + x-ms-correlation-request-id: [9f1315aa-1548-4450-bbb2-c4875d5c7805] + x-ms-ratelimit-remaining-subscription-reads: ['14991'] + x-ms-request-id: [bd7751fa-bdf8-47b1-b49b-3549a5bcdf2a] + x-ms-routing-request-id: ['WESTUS2:20170823T002643Z:9f1315aa-1548-4450-bbb2-c4875d5c7805'] status: {code: 200, message: OK} - request: body: null @@ -5920,18 +5793,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:36:59 GMT'] + Date: ['Wed, 23 Aug 2017 00:26:53 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5940,10 +5813,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [3d28b964-e0ed-4e15-bc83-2e255b53a301] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [d41449c4-07f7-4d96-9ba1-d2a01aedd015] - x-ms-routing-request-id: ['WESTUS2:20170627T163659Z:3d28b964-e0ed-4e15-bc83-2e255b53a301'] + x-ms-correlation-request-id: [7332d6ae-fbad-4ab1-a1e8-3b698ca71e9b] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [a30fa2e9-fbf5-4ce0-a5fd-37f6058e84e7] + x-ms-routing-request-id: ['WESTUS2:20170823T002653Z:7332d6ae-fbad-4ab1-a1e8-3b698ca71e9b'] status: {code: 200, message: OK} - request: body: null @@ -5952,18 +5825,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:37:09 GMT'] + Date: ['Wed, 23 Aug 2017 00:27:04 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -5972,10 +5845,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [0bd1a4f9-ecce-4092-b29f-8a7bb0363ec9] - x-ms-ratelimit-remaining-subscription-reads: ['14997'] - x-ms-request-id: [c46af9d2-31ac-4730-a9ec-07bd5cd34476] - x-ms-routing-request-id: ['WESTUS2:20170627T163710Z:0bd1a4f9-ecce-4092-b29f-8a7bb0363ec9'] + x-ms-correlation-request-id: [1672660f-3b34-484b-96c0-322f6e21295a] + x-ms-ratelimit-remaining-subscription-reads: ['14991'] + x-ms-request-id: [9d91951b-a924-4375-8714-2a6c6f6154d5] + x-ms-routing-request-id: ['WESTUS2:20170823T002704Z:1672660f-3b34-484b-96c0-322f6e21295a'] status: {code: 200, message: OK} - request: body: null @@ -5984,18 +5857,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:37:19 GMT'] + Date: ['Wed, 23 Aug 2017 00:27:13 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -6004,10 +5877,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [e05e843c-0963-4c9f-8181-cfaa6ebeaccd] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [20c1b239-387f-4419-bf89-264bb28538a1] - x-ms-routing-request-id: ['WESTUS2:20170627T163720Z:e05e843c-0963-4c9f-8181-cfaa6ebeaccd'] + x-ms-correlation-request-id: [c5448d60-9285-4794-8a1e-9e9178b8b72c] + x-ms-ratelimit-remaining-subscription-reads: ['14991'] + x-ms-request-id: [72b9a358-d121-4c47-8c5f-869140d81555] + x-ms-routing-request-id: ['WESTUS2:20170823T002714Z:c5448d60-9285-4794-8a1e-9e9178b8b72c'] status: {code: 200, message: OK} - request: body: null @@ -6016,18 +5889,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:37:30 GMT'] + Date: ['Wed, 23 Aug 2017 00:27:24 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -6036,10 +5909,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [1b48e396-fddc-4bbd-80e8-3903e15f3df9] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [36d416f6-9215-49da-9938-83a92a213fef] - x-ms-routing-request-id: ['WESTUS2:20170627T163730Z:1b48e396-fddc-4bbd-80e8-3903e15f3df9'] + x-ms-correlation-request-id: [ffa63492-7ada-4596-9913-11c4a380b3c0] + x-ms-ratelimit-remaining-subscription-reads: ['14994'] + x-ms-request-id: [30f021a2-12da-4363-ab7b-6de9c3724cd1] + x-ms-routing-request-id: ['WESTUS:20170823T002725Z:ffa63492-7ada-4596-9913-11c4a380b3c0'] status: {code: 200, message: OK} - request: body: null @@ -6048,18 +5921,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:37:40 GMT'] + Date: ['Wed, 23 Aug 2017 00:27:35 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -6068,42 +5941,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [4ad980ba-dc76-4b72-b74b-dc59a51354bb] + x-ms-correlation-request-id: [259f0c81-a717-4791-ba60-97d4d2958cee] x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [f0d11fc2-57c2-467a-8091-7db21ecc1aff] - x-ms-routing-request-id: ['WESTUS:20170627T163741Z:4ad980ba-dc76-4b72-b74b-dc59a51354bb'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 - response: - body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:37:50 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Retry-After: ['0'] - Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['30'] - x-ms-correlation-request-id: [9f67ffc8-d698-43d5-bf19-b12ac17bfbfd] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [3393e86a-f7a2-4253-9891-080838996c71] - x-ms-routing-request-id: ['WESTUS:20170627T163751Z:9f67ffc8-d698-43d5-bf19-b12ac17bfbfd'] + x-ms-request-id: [2a657e68-787f-44af-957e-d5901b0b10a1] + x-ms-routing-request-id: ['WESTUS:20170823T002735Z:259f0c81-a717-4791-ba60-97d4d2958cee'] status: {code: 200, message: OK} - request: body: null @@ -6112,18 +5953,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:38:00 GMT'] + Date: ['Wed, 23 Aug 2017 00:27:45 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -6132,10 +5973,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [9306d796-69e7-463e-9413-a56505a7d8e4] - x-ms-ratelimit-remaining-subscription-reads: ['14990'] - x-ms-request-id: [21035101-a08b-4412-ab27-557321230fa8] - x-ms-routing-request-id: ['WESTUS:20170627T163801Z:9306d796-69e7-463e-9413-a56505a7d8e4'] + x-ms-correlation-request-id: [54457e3a-7647-42d4-b282-c7fcbfad010e] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [d7e17f28-1f84-442d-aa98-7237585c0f32] + x-ms-routing-request-id: ['WESTUS2:20170823T002746Z:54457e3a-7647-42d4-b282-c7fcbfad010e'] status: {code: 200, message: OK} - request: body: null @@ -6144,18 +5985,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:38:11 GMT'] + Date: ['Wed, 23 Aug 2017 00:27:56 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] @@ -6164,10 +6005,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['30'] - x-ms-correlation-request-id: [c72806c8-0ffb-46ad-b9cf-91367cac5015] - x-ms-ratelimit-remaining-subscription-reads: ['14991'] - x-ms-request-id: [c36f4f6a-831c-4ff0-ba05-ac68f634fac4] - x-ms-routing-request-id: ['WESTUS:20170627T163811Z:c72806c8-0ffb-46ad-b9cf-91367cac5015'] + x-ms-correlation-request-id: [47b4feb1-f6c7-4c34-8a1f-1b7173f84452] + x-ms-ratelimit-remaining-subscription-reads: ['14996'] + x-ms-request-id: [6f940936-92a7-4360-af93-6beae4a90c59] + x-ms-routing-request-id: ['WESTUS2:20170823T002757Z:47b4feb1-f6c7-4c34-8a1f-1b7173f84452'] status: {code: 200, message: OK} - request: body: null @@ -6176,18 +6017,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/875b55ee-c15f-4a95-b7de-22df1fa5f38b?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5af8721a-17fe-411d-9ed4-958116c949ee?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:38:21 GMT'] + Date: ['Wed, 23 Aug 2017 00:28:07 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -6195,10 +6036,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [aff4cb83-124d-41db-8194-2cab6b25efd0] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [2e682f70-01cd-4769-957d-0b615de3a64b] - x-ms-routing-request-id: ['WESTUS:20170627T163822Z:aff4cb83-124d-41db-8194-2cab6b25efd0'] + x-ms-correlation-request-id: [a7f58f50-2604-4795-9b49-a645a36ccf07] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [d356526d-dc1c-4f51-9b00-35728ba4648f] + x-ms-routing-request-id: ['WESTUS2:20170823T002807Z:a7f58f50-2604-4795-9b49-a645a36ccf07'] status: {code: 200, message: OK} - request: body: null @@ -6207,20 +6048,20 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [ccbc69c2-5b52-11e7-a748-ecb1d756380e] + x-ms-client-request-id: [b9240acc-8795-11e7-8172-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworkGateways/pyvngb4d417ef?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworkGateways/pyvngb4d417ef?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyvngb4d417ef\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworkGateways/pyvngb4d417ef\",\r\n - \ \"etag\": \"W/\\\"3de3784e-37c1-4db3-8dfe-9dc45e9ae41d\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"5d7a6a57-2443-4ab6-87c7-5392305d007e\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"f8cd3409-53ee-4585-825d-be258b0a06bc\",\r\n \"ipConfigurations\": [\r\n + \"0a42a559-aafa-45a2-865d-0fa02afc4865\",\r\n \"ipConfigurations\": [\r\n \ {\r\n \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworkGateways/pyvngb4d417ef/ipConfigurations/default\",\r\n - \ \"etag\": \"W/\\\"3de3784e-37c1-4db3-8dfe-9dc45e9ae41d\\\"\",\r\n + \ \"etag\": \"W/\\\"5d7a6a57-2443-4ab6-87c7-5392305d007e\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/publicIPAddresses/pyipnameb4d417ef\"\r\n @@ -6234,7 +6075,7 @@ interactions: headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:38:22 GMT'] + Date: ['Wed, 23 Aug 2017 00:28:08 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -6242,9 +6083,9 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['1881'] - x-ms-correlation-request-id: [4e67aba9-ee9b-4e24-ae9b-2912ffc165ce] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [4109abad-69cc-43c0-a405-9ca99a35e53a] - x-ms-routing-request-id: ['WESTUS:20170627T163822Z:4e67aba9-ee9b-4e24-ae9b-2912ffc165ce'] + x-ms-correlation-request-id: [fd0c4078-c988-4ef1-a902-712ef0d57a17] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [1be24348-9026-4539-adfa-fa29be6babbf] + x-ms-routing-request-id: ['WESTUS2:20170823T002808Z:fd0c4078-c988-4ef1-a902-712ef0d57a17'] status: {code: 200, message: OK} version: 1 diff --git a/azure-mgmt/tests/recordings/test_mgmt_network.test_virtual_networks.yaml b/azure-mgmt/tests/recordings/test_mgmt_network.test_virtual_networks.yaml index 22d9dddb1a33..fe2683c0e292 100644 --- a/azure-mgmt/tests/recordings/test_mgmt_network.test_virtual_networks.yaml +++ b/azure-mgmt/tests/recordings/test_mgmt_network.test_virtual_networks.yaml @@ -1,55 +1,55 @@ interactions: - request: - body: '{"properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": - {"dnsServers": ["10.1.1.1", "10.1.2.4"]}, "subnets": [{"name": "pyvnetsubnetone4725106e", - "properties": {"addressPrefix": "10.0.1.0/24"}}, {"name": "pyvnetsubnettwo4725106e", - "properties": {"addressPrefix": "10.0.2.0/24"}}]}, "location": "westus"}' + body: '{"location": "westus", "properties": {"dhcpOptions": {"dnsServers": ["10.1.1.1", + "10.1.2.4"]}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": + [{"name": "pyvnetsubnetone4725106e", "properties": {"addressPrefix": "10.0.1.0/24"}}, + {"name": "pyvnetsubnettwo4725106e", "properties": {"addressPrefix": "10.0.2.0/24"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Length: ['332'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [90b44174-5b52-11e7-afcf-ecb1d756380e] + x-ms-client-request-id: [f4d3dd5e-8799-11e7-bf3c-ecb1d756380e] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyvnet4725106e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e\",\r\n - \ \"etag\": \"W/\\\"83149707-792f-4071-aaef-ac36e8c8e66d\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"d59e6cff-4244-4ece-b01c-8de8c5b40968\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"1720a309-f7ae-4155-837d-67ad2f78c600\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + \"df56384c-ca28-4bbd-8943-934b394decaa\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": [\r\n \"10.1.1.1\",\r\n \"10.1.2.4\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"pyvnetsubnetone4725106e\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e/subnets/pyvnetsubnetone4725106e\",\r\n - \ \"etag\": \"W/\\\"83149707-792f-4071-aaef-ac36e8c8e66d\\\"\",\r\n + \ \"etag\": \"W/\\\"d59e6cff-4244-4ece-b01c-8de8c5b40968\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n },\r\n \ {\r\n \"name\": \"pyvnetsubnettwo4725106e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e/subnets/pyvnetsubnettwo4725106e\",\r\n - \ \"etag\": \"W/\\\"83149707-792f-4071-aaef-ac36e8c8e66d\\\"\",\r\n + \ \"etag\": \"W/\\\"d59e6cff-4244-4ece-b01c-8de8c5b40968\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.2.0/24\"\r\n }\r\n }\r\n ],\r\n \ \"virtualNetworkPeerings\": []\r\n }\r\n}"} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b137626e-92ea-4293-80d1-2bc44be4ce79?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c3c8def6-3f9a-4be0-a512-2a5ec05bc7ba?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['1669'] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:06:23 GMT'] + Date: ['Wed, 23 Aug 2017 00:28:17 GMT'] Expires: ['-1'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [1e62beee-eb8b-4d31-b035-ee9edcbfc1ce] + x-ms-correlation-request-id: [6f30d23c-a043-49d1-a8cf-edb3391c7c1c] x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [b137626e-92ea-4293-80d1-2bc44be4ce79] - x-ms-routing-request-id: ['WESTUS:20170627T160623Z:1e62beee-eb8b-4d31-b035-ee9edcbfc1ce'] + x-ms-request-id: [c3c8def6-3f9a-4be0-a512-2a5ec05bc7ba] + x-ms-routing-request-id: ['WESTUS2:20170823T002817Z:6f30d23c-a043-49d1-a8cf-edb3391c7c1c'] status: {code: 201, message: Created} - request: body: null @@ -58,18 +58,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [90b44174-5b52-11e7-afcf-ecb1d756380e] + x-ms-client-request-id: [f4d3dd5e-8799-11e7-bf3c-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b137626e-92ea-4293-80d1-2bc44be4ce79?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c3c8def6-3f9a-4be0-a512-2a5ec05bc7ba?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:06:26 GMT'] + Date: ['Wed, 23 Aug 2017 00:28:21 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -77,10 +77,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [3956d880-6a40-4da7-9896-9ea1dae13480] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [11727745-95bb-41be-9b20-b25d69efce66] - x-ms-routing-request-id: ['WESTUS:20170627T160627Z:3956d880-6a40-4da7-9896-9ea1dae13480'] + x-ms-correlation-request-id: [35a8a11d-c0bb-4184-9dd2-6d4f56c90faf] + x-ms-ratelimit-remaining-subscription-reads: ['14986'] + x-ms-request-id: [13950b5e-dbbf-428d-a02e-5ab27ec1e4d9] + x-ms-routing-request-id: ['WESTUS2:20170823T002821Z:35a8a11d-c0bb-4184-9dd2-6d4f56c90faf'] status: {code: 200, message: OK} - request: body: null @@ -89,36 +89,36 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [90b44174-5b52-11e7-afcf-ecb1d756380e] + x-ms-client-request-id: [f4d3dd5e-8799-11e7-bf3c-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyvnet4725106e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e\",\r\n - \ \"etag\": \"W/\\\"235f9115-2afa-4230-a12d-d467974730ca\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"9dfa600c-994d-4995-a224-21eeab811cb6\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"1720a309-f7ae-4155-837d-67ad2f78c600\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + \"df56384c-ca28-4bbd-8943-934b394decaa\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": [\r\n \"10.1.1.1\",\r\n \"10.1.2.4\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"pyvnetsubnetone4725106e\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e/subnets/pyvnetsubnetone4725106e\",\r\n - \ \"etag\": \"W/\\\"235f9115-2afa-4230-a12d-d467974730ca\\\"\",\r\n + \ \"etag\": \"W/\\\"9dfa600c-994d-4995-a224-21eeab811cb6\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n },\r\n \ {\r\n \"name\": \"pyvnetsubnettwo4725106e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e/subnets/pyvnetsubnettwo4725106e\",\r\n - \ \"etag\": \"W/\\\"235f9115-2afa-4230-a12d-d467974730ca\\\"\",\r\n + \ \"etag\": \"W/\\\"9dfa600c-994d-4995-a224-21eeab811cb6\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.2.0/24\"\r\n }\r\n }\r\n ],\r\n \ \"virtualNetworkPeerings\": []\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:06:27 GMT'] - ETag: [W/"235f9115-2afa-4230-a12d-d467974730ca"] + Date: ['Wed, 23 Aug 2017 00:28:21 GMT'] + ETag: [W/"9dfa600c-994d-4995-a224-21eeab811cb6"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -126,10 +126,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['1672'] - x-ms-correlation-request-id: [88c374f5-8ced-4654-9e6a-71389142f3bc] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [d153bc75-f53d-4872-a57b-f9de38cc5750] - x-ms-routing-request-id: ['WESTUS:20170627T160627Z:88c374f5-8ced-4654-9e6a-71389142f3bc'] + x-ms-correlation-request-id: [1a761850-191d-44ca-b164-fff19fb41960] + x-ms-ratelimit-remaining-subscription-reads: ['14993'] + x-ms-request-id: [f520b36b-32c2-4544-a096-faee184c2962] + x-ms-routing-request-id: ['WESTUS2:20170823T002822Z:1a761850-191d-44ca-b164-fff19fb41960'] status: {code: 200, message: OK} - request: body: null @@ -138,36 +138,36 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [935f64f6-5b52-11e7-8cdc-ecb1d756380e] + x-ms-client-request-id: [f83427fa-8799-11e7-8f0e-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e?api-version=2017-08-01 response: body: {string: "{\r\n \"name\": \"pyvnet4725106e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e\",\r\n - \ \"etag\": \"W/\\\"235f9115-2afa-4230-a12d-d467974730ca\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"9dfa600c-994d-4995-a224-21eeab811cb6\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"1720a309-f7ae-4155-837d-67ad2f78c600\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + \"df56384c-ca28-4bbd-8943-934b394decaa\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": [\r\n \"10.1.1.1\",\r\n \"10.1.2.4\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"pyvnetsubnetone4725106e\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e/subnets/pyvnetsubnetone4725106e\",\r\n - \ \"etag\": \"W/\\\"235f9115-2afa-4230-a12d-d467974730ca\\\"\",\r\n + \ \"etag\": \"W/\\\"9dfa600c-994d-4995-a224-21eeab811cb6\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n },\r\n \ {\r\n \"name\": \"pyvnetsubnettwo4725106e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e/subnets/pyvnetsubnettwo4725106e\",\r\n - \ \"etag\": \"W/\\\"235f9115-2afa-4230-a12d-d467974730ca\\\"\",\r\n + \ \"etag\": \"W/\\\"9dfa600c-994d-4995-a224-21eeab811cb6\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.2.0/24\"\r\n }\r\n }\r\n ],\r\n \ \"virtualNetworkPeerings\": []\r\n }\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:06:27 GMT'] - ETag: [W/"235f9115-2afa-4230-a12d-d467974730ca"] + Date: ['Wed, 23 Aug 2017 00:28:22 GMT'] + ETag: [W/"9dfa600c-994d-4995-a224-21eeab811cb6"] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -175,10 +175,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['1672'] - x-ms-correlation-request-id: [b26a7cf7-a1e3-4078-b04a-8dea9a56f3dc] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [23aa55d1-0544-4d37-9278-e752f0b2d224] - x-ms-routing-request-id: ['WESTUS:20170627T160628Z:b26a7cf7-a1e3-4078-b04a-8dea9a56f3dc'] + x-ms-correlation-request-id: [bf4810eb-478d-4d01-8461-5a98eb621089] + x-ms-ratelimit-remaining-subscription-reads: ['14998'] + x-ms-request-id: [87089244-b8e3-4fbc-b3cd-b1d11cddafb1] + x-ms-routing-request-id: ['WESTUS2:20170823T002822Z:bf4810eb-478d-4d01-8461-5a98eb621089'] status: {code: 200, message: OK} - request: body: null @@ -187,18 +187,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [93a941c2-5b52-11e7-a3a7-ecb1d756380e] + x-ms-client-request-id: [f89c16f8-8799-11e7-8dce-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e/CheckIPAddressAvailability?api-version=2017-06-01&ipAddress=10.0.1.35 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e/CheckIPAddressAvailability?ipAddress=10.0.1.35&api-version=2017-08-01 response: body: {string: "{\r\n \"available\": true\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:06:28 GMT'] + Date: ['Wed, 23 Aug 2017 00:28:23 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -206,10 +206,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['25'] - x-ms-correlation-request-id: [6ccc4926-a12f-4928-8fbd-107c2909f10a] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [75336b47-3597-44f7-8f6a-0aed791dd51d] - x-ms-routing-request-id: ['WESTUS:20170627T160628Z:6ccc4926-a12f-4928-8fbd-107c2909f10a'] + x-ms-correlation-request-id: [611f886a-9d8d-4346-9fee-2947c97e21c1] + x-ms-ratelimit-remaining-subscription-reads: ['14990'] + x-ms-request-id: [0bd1aac0-7a93-4378-be6e-5106d77df1bb] + x-ms-routing-request-id: ['WESTUS:20170823T002823Z:611f886a-9d8d-4346-9fee-2947c97e21c1'] status: {code: 200, message: OK} - request: body: null @@ -218,30 +218,30 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [93e9fb3a-5b52-11e7-865c-ecb1d756380e] + x-ms-client-request-id: [f8ef26de-8799-11e7-a4b7-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks?api-version=2017-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pyvnet4725106e\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e\",\r\n - \ \"etag\": \"W/\\\"235f9115-2afa-4230-a12d-d467974730ca\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"9dfa600c-994d-4995-a224-21eeab811cb6\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"1720a309-f7ae-4155-837d-67ad2f78c600\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"df56384c-ca28-4bbd-8943-934b394decaa\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": [\r\n \ \"10.1.1.1\",\r\n \"10.1.2.4\"\r\n ]\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"pyvnetsubnetone4725106e\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e/subnets/pyvnetsubnetone4725106e\",\r\n - \ \"etag\": \"W/\\\"235f9115-2afa-4230-a12d-d467974730ca\\\"\",\r\n + \ \"etag\": \"W/\\\"9dfa600c-994d-4995-a224-21eeab811cb6\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n },\r\n \ {\r\n \"name\": \"pyvnetsubnettwo4725106e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e/subnets/pyvnetsubnettwo4725106e\",\r\n - \ \"etag\": \"W/\\\"235f9115-2afa-4230-a12d-d467974730ca\\\"\",\r\n + \ \"etag\": \"W/\\\"9dfa600c-994d-4995-a224-21eeab811cb6\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.2.0/24\"\r\n }\r\n }\r\n \ ],\r\n \"virtualNetworkPeerings\": []\r\n }\r\n }\r\n @@ -249,7 +249,7 @@ interactions: headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:06:28 GMT'] + Date: ['Wed, 23 Aug 2017 00:28:23 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -257,10 +257,10 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['1869'] - x-ms-correlation-request-id: [c3dfefe4-7f99-43f4-bc02-fb0a2126c999] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [9bdeffda-1694-48f1-942a-b30d33537db6] - x-ms-routing-request-id: ['WESTUS:20170627T160628Z:c3dfefe4-7f99-43f4-bc02-fb0a2126c999'] + x-ms-correlation-request-id: [0f38ad27-6e39-4a53-8346-0bd680713aac] + x-ms-ratelimit-remaining-subscription-reads: ['14995'] + x-ms-request-id: [65a65f13-cef0-4ac9-8872-ad15eeb986ac] + x-ms-routing-request-id: ['WESTUS:20170823T002823Z:0f38ad27-6e39-4a53-8346-0bd680713aac'] status: {code: 200, message: OK} - request: body: null @@ -269,113 +269,73 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [942c13ec-5b52-11e7-8b2a-ecb1d756380e] + x-ms-client-request-id: [f92c5150-8799-11e7-919e-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/virtualNetworks?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/virtualNetworks?api-version=2017-08-01 response: - body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"DoNotDeleteGroup\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/virtualNetworks/DoNotDeleteGroup\",\r\n - \ \"etag\": \"W/\\\"0c148705-36b9-4221-b3a9-76af332292d5\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"c23d0e07-dd77-408b-8fe8-46f26fd15886\",\r\n \"addressSpace\": - {\r\n \"addressPrefixes\": [\r\n \"10.2.0.0/16\"\r\n ]\r\n - \ },\r\n \"subnets\": [\r\n {\r\n \"name\": - \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/virtualNetworks/DoNotDeleteGroup/subnets/default\",\r\n - \ \"etag\": \"W/\\\"0c148705-36b9-4221-b3a9-76af332292d5\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.2.0.0/24\",\r\n \"ipConfigurations\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/networkInterfaces/ubuntuserverdonotdel378/ipConfigurations/ipconfig1\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n ],\r\n - \ \"virtualNetworkPeerings\": []\r\n }\r\n },\r\n {\r\n \"name\": - \"VNet-testfabriclmaz\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/virtualNetworks/VNet-testfabriclmaz\",\r\n - \ \"etag\": \"W/\\\"c2047e8e-5523-482a-8273-d931bc2de8e1\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {\r\n \"resourceType\": \"Service Fabric\",\r\n \"clusterName\": - \"testfabriclmaz\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"10d301b0-60eb-4871-a531-c2ee8674ac3f\",\r\n - \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n - \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": - \"Subnet-0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteGroup/providers/Microsoft.Network/virtualNetworks/VNet-testfabriclmaz/subnets/Subnet-0\",\r\n - \ \"etag\": \"W/\\\"c2047e8e-5523-482a-8273-d931bc2de8e1\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"serviceTunnels\": - []\r\n }\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": - []\r\n }\r\n },\r\n {\r\n \"name\": \"swarm-vnet-50B362A3\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/virtualNetworks/swarm-vnet-50B362A3\",\r\n - \ \"etag\": \"W/\\\"baab117d-c694-4b46-b592-962ab60c62ad\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"c18d98fe-510a-42c1-a0f4-53ddc7af2323\",\r\n \"addressSpace\": - {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/8\",\r\n \"172.16.0.0/24\"\r\n - \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": - \"swarm-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/virtualNetworks/swarm-vnet-50B362A3/subnets/swarm-subnet\",\r\n - \ \"etag\": \"W/\\\"baab117d-c694-4b46-b592-962ab60c62ad\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.0.0/11\",\r\n \"ipConfigurations\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Compute/virtualMachineScaleSets/swarm-agent-50B362A3-vmss/virtualMachines/1/networkInterfaces/agentNodeNic/ipConfigurations/nicipconfig\"\r\n - \ }\r\n ]\r\n }\r\n },\r\n - \ {\r\n \"name\": \"swarm-masterSubnet\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/virtualNetworks/swarm-vnet-50B362A3/subnets/swarm-masterSubnet\",\r\n - \ \"etag\": \"W/\\\"baab117d-c694-4b46-b592-962ab60c62ad\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"172.16.0.0/24\",\r\n \"ipConfigurations\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/DoNotDeleteSwarm/providers/Microsoft.Network/networkInterfaces/swarm-master-50B362A3-nic-0/ipConfigurations/ipConfigNode\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n ],\r\n - \ \"virtualNetworkPeerings\": []\r\n }\r\n },\r\n {\r\n \"name\": - \"MonitorTestsDoNotDelete-vnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/virtualNetworks/MonitorTestsDoNotDelete-vnet\",\r\n - \ \"etag\": \"W/\\\"3fdacb7a-1132-470c-9323-43f31306f132\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"7e2d9597-2c9f-42e1-b7a0-762794a93206\",\r\n \"addressSpace\": - {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/24\"\r\n ]\r\n - \ },\r\n \"subnets\": [\r\n {\r\n \"name\": - \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/virtualNetworks/MonitorTestsDoNotDelete-vnet/subnets/default\",\r\n - \ \"etag\": \"W/\\\"3fdacb7a-1132-470c-9323-43f31306f132\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MonitorTestsDoNotDelete/providers/Microsoft.Network/networkInterfaces/monitortest686/ipConfigurations/ipconfig1\"\r\n - \ }\r\n ],\r\n \"serviceTunnels\": - []\r\n }\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": - []\r\n }\r\n },\r\n {\r\n \"name\": \"pyvnet4725106e\",\r\n + body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"pyvnet4725106e\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e\",\r\n - \ \"etag\": \"W/\\\"235f9115-2afa-4230-a12d-d467974730ca\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"9dfa600c-994d-4995-a224-21eeab811cb6\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"1720a309-f7ae-4155-837d-67ad2f78c600\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"df56384c-ca28-4bbd-8943-934b394decaa\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": [\r\n \ \"10.1.1.1\",\r\n \"10.1.2.4\"\r\n ]\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"pyvnetsubnetone4725106e\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e/subnets/pyvnetsubnetone4725106e\",\r\n - \ \"etag\": \"W/\\\"235f9115-2afa-4230-a12d-d467974730ca\\\"\",\r\n + \ \"etag\": \"W/\\\"9dfa600c-994d-4995-a224-21eeab811cb6\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n },\r\n \ {\r\n \"name\": \"pyvnetsubnettwo4725106e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e/subnets/pyvnetsubnettwo4725106e\",\r\n - \ \"etag\": \"W/\\\"235f9115-2afa-4230-a12d-d467974730ca\\\"\",\r\n + \ \"etag\": \"W/\\\"9dfa600c-994d-4995-a224-21eeab811cb6\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.2.0/24\"\r\n }\r\n }\r\n - \ ],\r\n \"virtualNetworkPeerings\": []\r\n }\r\n }\r\n - \ ]\r\n}"} + \ ],\r\n \"virtualNetworkPeerings\": []\r\n }\r\n },\r\n + \ {\r\n \"name\": \"pyvirtnetb4d417ef\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef\",\r\n + \ \"etag\": \"W/\\\"d63c9fec-813b-4690-af66-1de69b05b8b7\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"e04a805a-cf53-4b74-826d-6e400f200f66\",\r\n \"addressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.11.0.0/16\",\r\n + \ \"10.12.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": + [\r\n {\r\n \"name\": \"pysubnetfeb4d417ef\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/pysubnetfeb4d417ef\",\r\n + \ \"etag\": \"W/\\\"d63c9fec-813b-4690-af66-1de69b05b8b7\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.11.0.0/24\"\r\n }\r\n },\r\n + \ {\r\n \"name\": \"pysubnetbeb4d417ef\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/pysubnetbeb4d417ef\",\r\n + \ \"etag\": \"W/\\\"d63c9fec-813b-4690-af66-1de69b05b8b7\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.12.0.0/24\"\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworks/pyvirtnetb4d417ef/subnets/GatewaySubnet\",\r\n + \ \"etag\": \"W/\\\"d63c9fec-813b-4690-af66-1de69b05b8b7\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.12.255.0/27\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_network_gateway_operationsb4d417ef/providers/Microsoft.Network/virtualNetworkGateways/pyvngb4d417ef/ipConfigurations/default\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n + \ \"virtualNetworkPeerings\": []\r\n }\r\n }\r\n ]\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:06:28 GMT'] + Date: ['Wed, 23 Aug 2017 00:28:23 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] Transfer-Encoding: [chunked] Vary: [Accept-Encoding] - content-length: ['8398'] - x-ms-correlation-request-id: [020192f8-7521-4f7b-ba06-8bc3dcb1ebe0] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [98ea5dd9-a46c-44af-9af4-146c122ed511] - x-ms-routing-request-id: ['WESTUS:20170627T160629Z:020192f8-7521-4f7b-ba06-8bc3dcb1ebe0'] + content-length: ['4523'] + x-ms-correlation-request-id: [8fbe00e2-c11f-46ae-ba8f-0d3755bf7b7e] + x-ms-ratelimit-remaining-subscription-reads: ['14989'] + x-ms-request-id: [03562c86-9cb4-4e4c-88d2-a9669c100000] + x-ms-routing-request-id: ['WESTUS:20170823T002824Z:8fbe00e2-c11f-46ae-ba8f-0d3755bf7b7e'] status: {code: 200, message: OK} - request: body: null @@ -385,29 +345,29 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [9474b9c8-5b52-11e7-8ae5-ecb1d756380e] + x-ms-client-request-id: [f98265fe-8799-11e7-ad54-ecb1d756380e] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_network_test_virtual_networks4725106e/providers/Microsoft.Network/virtualNetworks/pyvnet4725106e?api-version=2017-08-01 response: body: {string: ''} headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/67399dc9-48fa-4dcc-86d8-29bc2547efd6?api-version=2017-06-01'] + Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/00978ab0-4d7f-479e-bda3-97065ef00321?api-version=2017-08-01'] Cache-Control: [no-cache] Content-Length: ['0'] - Date: ['Tue, 27 Jun 2017 16:06:29 GMT'] + Date: ['Wed, 23 Aug 2017 00:28:24 GMT'] Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/67399dc9-48fa-4dcc-86d8-29bc2547efd6?api-version=2017-06-01'] + Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/00978ab0-4d7f-479e-bda3-97065ef00321?api-version=2017-08-01'] Pragma: [no-cache] Retry-After: ['0'] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [428fc5de-04b9-4429-94b5-d5d92ccc62cb] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [67399dc9-48fa-4dcc-86d8-29bc2547efd6] - x-ms-routing-request-id: ['WESTUS:20170627T160630Z:428fc5de-04b9-4429-94b5-d5d92ccc62cb'] + x-ms-correlation-request-id: [685df630-5df3-4e73-b5bc-9a2fdbca6016] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-request-id: [00978ab0-4d7f-479e-bda3-97065ef00321] + x-ms-routing-request-id: ['WESTUS:20170823T002824Z:685df630-5df3-4e73-b5bc-9a2fdbca6016'] status: {code: 202, message: Accepted} - request: body: null @@ -416,18 +376,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.17.3 msrest/0.4.11 - msrest_azure/0.4.9 networkmanagementclient/1.0.0 Azure-SDK-For-Python] + User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.18.1 msrest/0.4.13 + msrest_azure/0.4.11 networkmanagementclient/1.4.0a1 Azure-SDK-For-Python] accept-language: [en-US] - x-ms-client-request-id: [9474b9c8-5b52-11e7-8ae5-ecb1d756380e] + x-ms-client-request-id: [f98265fe-8799-11e7-ad54-ecb1d756380e] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/67399dc9-48fa-4dcc-86d8-29bc2547efd6?api-version=2017-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/00978ab0-4d7f-479e-bda3-97065ef00321?api-version=2017-08-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: Cache-Control: [no-cache] Content-Type: [application/json; charset=utf-8] - Date: ['Tue, 27 Jun 2017 16:06:39 GMT'] + Date: ['Wed, 23 Aug 2017 00:28:34 GMT'] Expires: ['-1'] Pragma: [no-cache] Server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -435,9 +395,9 @@ interactions: Transfer-Encoding: [chunked] Vary: [Accept-Encoding] content-length: ['29'] - x-ms-correlation-request-id: [293f2c18-4f69-47e1-a1a9-3267f2a15b61] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [9bbc97c5-c93d-42c7-9c0c-8b4b7c7aa162] - x-ms-routing-request-id: ['WESTUS:20170627T160640Z:293f2c18-4f69-47e1-a1a9-3267f2a15b61'] + x-ms-correlation-request-id: [2965e17c-a064-41ce-8323-a39081a69633] + x-ms-ratelimit-remaining-subscription-reads: ['14992'] + x-ms-request-id: [a1560121-3284-4c61-a1af-493912574a33] + x-ms-routing-request-id: ['WESTUS:20170823T002835Z:2965e17c-a064-41ce-8323-a39081a69633'] status: {code: 200, message: OK} version: 1 diff --git a/package_service_mapping.json b/package_service_mapping.json index 9d673673ce28..9dfb042c636d 100644 --- a/package_service_mapping.json +++ b/package_service_mapping.json @@ -200,7 +200,8 @@ "azure.mgmt.network.v2016_09_01", "azure.mgmt.network.v2016_12_01", "azure.mgmt.network.v2017_03_01", - "azure.mgmt.network.v2017_06_01" + "azure.mgmt.network.v2017_06_01", + "azure.mgmt.network.v2017_08_01" ] }, "azure-mgmt-notificationhubs": { diff --git a/swagger_to_sdk_config.json b/swagger_to_sdk_config.json index 4529ad6b519e..56ba641e161f 100644 --- a/swagger_to_sdk_config.json +++ b/swagger_to_sdk_config.json @@ -313,6 +313,15 @@ "build_dir": "azure-mgmt-network/azure/mgmt/network/v2017_06_01", "generated_relative_base_directory": "python/azure/mgmt/network/v2017_06_01" }, + "network.2017-08-01": { + "markdown": "specification/network/resource-manager/readme.md", + "autorest_options": { + "tag": "package-2017-08" + }, + "output_dir": "azure-mgmt-network/azure/mgmt/network/v2017_08_01", + "build_dir": "azure-mgmt-network/azure/mgmt/network/v2017_08_01", + "generated_relative_base_directory": "python/azure/mgmt/network/v2017_08_01" + }, "notificationhubs": { "autorest_options": { "input-file": "specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/2017-04-01/notificationhubs.json",