Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions azure-mgmt-network/azure/mgmt/network/network_management_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1516,6 +1516,19 @@ def public_ip_addresses(self):
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def public_ip_prefixes(self):
"""Instance depends on the API version:

* 2018-07-01: :class:`PublicIPPrefixesOperations<azure.mgmt.network.v2018_07_01.operations.PublicIPPrefixesOperations>`
"""
api_version = self._get_api_version('public_ip_prefixes')
if api_version == '2018-07-01':
from .v2018_07_01.operations import PublicIPPrefixesOperations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def route_filter_rules(self):
"""Instance depends on the API version:
Expand Down Expand Up @@ -1764,6 +1777,32 @@ def security_rules(self):
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def service_endpoint_policies(self):
"""Instance depends on the API version:

* 2018-07-01: :class:`ServiceEndpointPoliciesOperations<azure.mgmt.network.v2018_07_01.operations.ServiceEndpointPoliciesOperations>`
"""
api_version = self._get_api_version('service_endpoint_policies')
if api_version == '2018-07-01':
from .v2018_07_01.operations import ServiceEndpointPoliciesOperations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def service_endpoint_policy_definitions(self):
"""Instance depends on the API version:

* 2018-07-01: :class:`ServiceEndpointPolicyDefinitionsOperations<azure.mgmt.network.v2018_07_01.operations.ServiceEndpointPolicyDefinitionsOperations>`
"""
api_version = self._get_api_version('service_endpoint_policy_definitions')
if api_version == '2018-07-01':
from .v2018_07_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass
else:
raise NotImplementedError("APIVersion {} is not available".format(api_version))
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))

@property
def subnets(self):
"""Instance depends on the API version:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,14 @@
from .route_py3 import Route
from .route_table_py3 import RouteTable
from .service_endpoint_properties_format_py3 import ServiceEndpointPropertiesFormat
from .service_endpoint_policy_definition_py3 import ServiceEndpointPolicyDefinition
from .service_endpoint_policy_py3 import ServiceEndpointPolicy
from .public_ip_address_sku_py3 import PublicIPAddressSku
from .public_ip_address_dns_settings_py3 import PublicIPAddressDnsSettings
from .ip_tag_py3 import IpTag
from .public_ip_prefix_sku_py3 import PublicIPPrefixSku
from .referenced_public_ip_address_py3 import ReferencedPublicIpAddress
from .public_ip_prefix_py3 import PublicIPPrefix
from .public_ip_address_py3 import PublicIPAddress
from .ip_configuration_py3 import IPConfiguration
from .resource_navigation_link_py3 import ResourceNavigationLink
Expand Down Expand Up @@ -245,9 +250,14 @@
from .route import Route
from .route_table import RouteTable
from .service_endpoint_properties_format import ServiceEndpointPropertiesFormat
from .service_endpoint_policy_definition import ServiceEndpointPolicyDefinition
from .service_endpoint_policy import ServiceEndpointPolicy
from .public_ip_address_sku import PublicIPAddressSku
from .public_ip_address_dns_settings import PublicIPAddressDnsSettings
from .ip_tag import IpTag
from .public_ip_prefix_sku import PublicIPPrefixSku
from .referenced_public_ip_address import ReferencedPublicIpAddress
from .public_ip_prefix import PublicIPPrefix
from .public_ip_address import PublicIPAddress
from .ip_configuration import IPConfiguration
from .resource_navigation_link import ResourceNavigationLink
Expand Down Expand Up @@ -466,6 +476,7 @@
from .connection_monitor_result_paged import ConnectionMonitorResultPaged
from .operation_paged import OperationPaged
from .public_ip_address_paged import PublicIPAddressPaged
from .public_ip_prefix_paged import PublicIPPrefixPaged
from .route_filter_paged import RouteFilterPaged
from .route_filter_rule_paged import RouteFilterRulePaged
from .route_table_paged import RouteTablePaged
Expand All @@ -486,6 +497,8 @@
from .hub_virtual_network_connection_paged import HubVirtualNetworkConnectionPaged
from .vpn_gateway_paged import VpnGatewayPaged
from .vpn_connection_paged import VpnConnectionPaged
from .service_endpoint_policy_paged import ServiceEndpointPolicyPaged
from .service_endpoint_policy_definition_paged import ServiceEndpointPolicyDefinitionPaged
from .network_management_client_enums import (
ProvisioningState,
AzureFirewallRCActionType,
Expand All @@ -499,6 +512,7 @@
SecurityRuleDirection,
RouteNextHopType,
PublicIPAddressSkuName,
PublicIPPrefixSkuName,
ApplicationGatewayProtocol,
ApplicationGatewayCookieBasedAffinity,
ApplicationGatewayBackendHealthServerHealth,
Expand Down Expand Up @@ -588,9 +602,14 @@
'Route',
'RouteTable',
'ServiceEndpointPropertiesFormat',
'ServiceEndpointPolicyDefinition',
'ServiceEndpointPolicy',
'PublicIPAddressSku',
'PublicIPAddressDnsSettings',
'IpTag',
'PublicIPPrefixSku',
'ReferencedPublicIpAddress',
'PublicIPPrefix',
'PublicIPAddress',
'IPConfiguration',
'ResourceNavigationLink',
Expand Down Expand Up @@ -809,6 +828,7 @@
'ConnectionMonitorResultPaged',
'OperationPaged',
'PublicIPAddressPaged',
'PublicIPPrefixPaged',
'RouteFilterPaged',
'RouteFilterRulePaged',
'RouteTablePaged',
Expand All @@ -829,6 +849,8 @@
'HubVirtualNetworkConnectionPaged',
'VpnGatewayPaged',
'VpnConnectionPaged',
'ServiceEndpointPolicyPaged',
'ServiceEndpointPolicyDefinitionPaged',
'ProvisioningState',
'AzureFirewallRCActionType',
'AzureFirewallApplicationRuleProtocolType',
Expand All @@ -841,6 +863,7 @@
'SecurityRuleDirection',
'RouteNextHopType',
'PublicIPAddressSkuName',
'PublicIPPrefixSkuName',
'ApplicationGatewayProtocol',
'ApplicationGatewayCookieBasedAffinity',
'ApplicationGatewayBackendHealthServerHealth',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ class ExpressRouteCircuit(Resource):
:type provisioning_state: str
:param gateway_manager_etag: The GatewayManager Etag.
:type gateway_manager_etag: str
:param allow_global_reach: Flag to enable Global Reach on the circuit.
:type allow_global_reach: bool
:ivar etag: Gets a unique read-only string that changes whenever the
resource is updated.
:vartype etag: str
Expand Down Expand Up @@ -88,6 +90,7 @@ class ExpressRouteCircuit(Resource):
'service_provider_properties': {'key': 'properties.serviceProviderProperties', 'type': 'ExpressRouteCircuitServiceProviderProperties'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'gateway_manager_etag': {'key': 'properties.gatewayManagerEtag', 'type': 'str'},
'allow_global_reach': {'key': 'properties.allowGlobalReach', 'type': 'bool'},
'etag': {'key': 'etag', 'type': 'str'},
}

Expand All @@ -104,4 +107,5 @@ def __init__(self, **kwargs):
self.service_provider_properties = kwargs.get('service_provider_properties', None)
self.provisioning_state = kwargs.get('provisioning_state', None)
self.gateway_manager_etag = kwargs.get('gateway_manager_etag', None)
self.allow_global_reach = kwargs.get('allow_global_reach', None)
self.etag = None
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ class ExpressRouteCircuit(Resource):
:type provisioning_state: str
:param gateway_manager_etag: The GatewayManager Etag.
:type gateway_manager_etag: str
:param allow_global_reach: Flag to enable Global Reach on the circuit.
:type allow_global_reach: bool
:ivar etag: Gets a unique read-only string that changes whenever the
resource is updated.
:vartype etag: str
Expand Down Expand Up @@ -88,10 +90,11 @@ class ExpressRouteCircuit(Resource):
'service_provider_properties': {'key': 'properties.serviceProviderProperties', 'type': 'ExpressRouteCircuitServiceProviderProperties'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'gateway_manager_etag': {'key': 'properties.gatewayManagerEtag', 'type': 'str'},
'allow_global_reach': {'key': 'properties.allowGlobalReach', 'type': 'bool'},
'etag': {'key': 'etag', 'type': 'str'},
}

def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, allow_classic_operations: bool=None, circuit_provisioning_state: str=None, service_provider_provisioning_state=None, authorizations=None, peerings=None, service_key: str=None, service_provider_notes: str=None, service_provider_properties=None, provisioning_state: str=None, gateway_manager_etag: str=None, **kwargs) -> None:
def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, allow_classic_operations: bool=None, circuit_provisioning_state: str=None, service_provider_provisioning_state=None, authorizations=None, peerings=None, service_key: str=None, service_provider_notes: str=None, service_provider_properties=None, provisioning_state: str=None, gateway_manager_etag: str=None, allow_global_reach: bool=None, **kwargs) -> None:
super(ExpressRouteCircuit, self).__init__(id=id, location=location, tags=tags, **kwargs)
self.sku = sku
self.allow_classic_operations = allow_classic_operations
Expand All @@ -104,4 +107,5 @@ def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, all
self.service_provider_properties = service_provider_properties
self.provisioning_state = provisioning_state
self.gateway_manager_etag = gateway_manager_etag
self.allow_global_reach = allow_global_reach
self.etag = None
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ class InboundNatPool(SubResource):
Groups in SQL server. This setting can't be changed after you create the
endpoint.
:type enable_floating_ip: bool
:param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle
timeout or unexpected connection termination. This element is only used
when the protocol is set to TCP.
:type enable_tcp_reset: bool
:param provisioning_state: Gets the provisioning state of the PublicIP
resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
:type provisioning_state: str
Expand Down Expand Up @@ -75,6 +79,7 @@ class InboundNatPool(SubResource):
'backend_port': {'key': 'properties.backendPort', 'type': 'int'},
'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'},
'enable_floating_ip': {'key': 'properties.enableFloatingIP', 'type': 'bool'},
'enable_tcp_reset': {'key': 'properties.enableTcpReset', 'type': 'bool'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
Expand All @@ -89,6 +94,7 @@ def __init__(self, **kwargs):
self.backend_port = kwargs.get('backend_port', None)
self.idle_timeout_in_minutes = kwargs.get('idle_timeout_in_minutes', None)
self.enable_floating_ip = kwargs.get('enable_floating_ip', None)
self.enable_tcp_reset = kwargs.get('enable_tcp_reset', None)
self.provisioning_state = kwargs.get('provisioning_state', None)
self.name = kwargs.get('name', None)
self.etag = kwargs.get('etag', None)
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ class InboundNatPool(SubResource):
Groups in SQL server. This setting can't be changed after you create the
endpoint.
:type enable_floating_ip: bool
:param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle
timeout or unexpected connection termination. This element is only used
when the protocol is set to TCP.
:type enable_tcp_reset: bool
:param provisioning_state: Gets the provisioning state of the PublicIP
resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
:type provisioning_state: str
Expand Down Expand Up @@ -75,12 +79,13 @@ class InboundNatPool(SubResource):
'backend_port': {'key': 'properties.backendPort', 'type': 'int'},
'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'},
'enable_floating_ip': {'key': 'properties.enableFloatingIP', 'type': 'bool'},
'enable_tcp_reset': {'key': 'properties.enableTcpReset', '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_range_start: int, frontend_port_range_end: int, backend_port: int, id: str=None, frontend_ip_configuration=None, idle_timeout_in_minutes: int=None, enable_floating_ip: bool=None, provisioning_state: str=None, name: str=None, etag: str=None, **kwargs) -> None:
def __init__(self, *, protocol, frontend_port_range_start: int, frontend_port_range_end: int, backend_port: int, id: str=None, frontend_ip_configuration=None, idle_timeout_in_minutes: int=None, enable_floating_ip: bool=None, enable_tcp_reset: bool=None, provisioning_state: str=None, name: str=None, etag: str=None, **kwargs) -> None:
super(InboundNatPool, self).__init__(id=id, **kwargs)
self.frontend_ip_configuration = frontend_ip_configuration
self.protocol = protocol
Expand All @@ -89,6 +94,7 @@ def __init__(self, *, protocol, frontend_port_range_start: int, frontend_port_ra
self.backend_port = backend_port
self.idle_timeout_in_minutes = idle_timeout_in_minutes
self.enable_floating_ip = enable_floating_ip
self.enable_tcp_reset = enable_tcp_reset
self.provisioning_state = provisioning_state
self.name = name
self.etag = etag
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ class InboundNatRule(SubResource):
Groups in SQL server. This setting can't be changed after you create the
endpoint.
:type enable_floating_ip: bool
:param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle
timeout or unexpected connection termination. This element is only used
when the protocol is set to TCP.
:type enable_tcp_reset: bool
:param provisioning_state: Gets the provisioning state of the public IP
resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
:type provisioning_state: str
Expand All @@ -72,6 +76,7 @@ class InboundNatRule(SubResource):
'backend_port': {'key': 'properties.backendPort', 'type': 'int'},
'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'},
'enable_floating_ip': {'key': 'properties.enableFloatingIP', 'type': 'bool'},
'enable_tcp_reset': {'key': 'properties.enableTcpReset', 'type': 'bool'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
Expand All @@ -86,6 +91,7 @@ def __init__(self, **kwargs):
self.backend_port = kwargs.get('backend_port', None)
self.idle_timeout_in_minutes = kwargs.get('idle_timeout_in_minutes', None)
self.enable_floating_ip = kwargs.get('enable_floating_ip', None)
self.enable_tcp_reset = kwargs.get('enable_tcp_reset', None)
self.provisioning_state = kwargs.get('provisioning_state', None)
self.name = kwargs.get('name', None)
self.etag = kwargs.get('etag', None)
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ class InboundNatRule(SubResource):
Groups in SQL server. This setting can't be changed after you create the
endpoint.
:type enable_floating_ip: bool
:param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle
timeout or unexpected connection termination. This element is only used
when the protocol is set to TCP.
:type enable_tcp_reset: bool
:param provisioning_state: Gets the provisioning state of the public IP
resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
:type provisioning_state: str
Expand All @@ -72,12 +76,13 @@ class InboundNatRule(SubResource):
'backend_port': {'key': 'properties.backendPort', 'type': 'int'},
'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'},
'enable_floating_ip': {'key': 'properties.enableFloatingIP', 'type': 'bool'},
'enable_tcp_reset': {'key': 'properties.enableTcpReset', 'type': 'bool'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
}

def __init__(self, *, id: str=None, frontend_ip_configuration=None, protocol=None, frontend_port: int=None, backend_port: int=None, idle_timeout_in_minutes: int=None, enable_floating_ip: bool=None, provisioning_state: str=None, name: str=None, etag: str=None, **kwargs) -> None:
def __init__(self, *, id: str=None, frontend_ip_configuration=None, protocol=None, frontend_port: int=None, backend_port: int=None, idle_timeout_in_minutes: int=None, enable_floating_ip: bool=None, enable_tcp_reset: bool=None, provisioning_state: str=None, name: str=None, etag: str=None, **kwargs) -> None:
super(InboundNatRule, self).__init__(id=id, **kwargs)
self.frontend_ip_configuration = frontend_ip_configuration
self.backend_ip_configuration = None
Expand All @@ -86,6 +91,7 @@ def __init__(self, *, id: str=None, frontend_ip_configuration=None, protocol=Non
self.backend_port = backend_port
self.idle_timeout_in_minutes = idle_timeout_in_minutes
self.enable_floating_ip = enable_floating_ip
self.enable_tcp_reset = enable_tcp_reset
self.provisioning_state = provisioning_state
self.name = name
self.etag = etag
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class IpTag(Model):
"""Contains the IpTag associated with the public IP address.
"""Contains the IpTag associated with the object.

:param ip_tag_type: Gets or sets the ipTag type: Example FirstPartyUsage.
:type ip_tag_type: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class IpTag(Model):
"""Contains the IpTag associated with the public IP address.
"""Contains the IpTag associated with the object.

:param ip_tag_type: Gets or sets the ipTag type: Example FirstPartyUsage.
:type ip_tag_type: str
Expand Down
Loading