azure.mgmt.network.v2019_02_01.models module

class azure.mgmt.network.v2019_02_01.models.Access(value)[source]

Bases: str, enum.Enum

Access to be allowed or denied.

allow = 'Allow'
deny = 'Deny'
class azure.mgmt.network.v2019_02_01.models.AddressSpace(*, address_prefixes: Optional[List[str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.

Parameters

address_prefixes (list[str]) – A list of address blocks reserved for this virtual network in CIDR notation.

class azure.mgmt.network.v2019_02_01.models.ApplicationGateway(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, zones: Optional[List[str]] = None, identity: Optional[ManagedServiceIdentity] = None, sku: Optional[ApplicationGatewaySku] = None, ssl_policy: Optional[ApplicationGatewaySslPolicy] = None, gateway_ip_configurations: Optional[List[ApplicationGatewayIPConfiguration]] = None, authentication_certificates: Optional[List[ApplicationGatewayAuthenticationCertificate]] = None, trusted_root_certificates: Optional[List[ApplicationGatewayTrustedRootCertificate]] = None, ssl_certificates: Optional[List[ApplicationGatewaySslCertificate]] = None, frontend_ip_configurations: Optional[List[ApplicationGatewayFrontendIPConfiguration]] = None, frontend_ports: Optional[List[ApplicationGatewayFrontendPort]] = None, probes: Optional[List[ApplicationGatewayProbe]] = None, backend_address_pools: Optional[List[ApplicationGatewayBackendAddressPool]] = None, backend_http_settings_collection: Optional[List[ApplicationGatewayBackendHttpSettings]] = None, http_listeners: Optional[List[ApplicationGatewayHttpListener]] = None, url_path_maps: Optional[List[ApplicationGatewayUrlPathMap]] = None, request_routing_rules: Optional[List[ApplicationGatewayRequestRoutingRule]] = None, rewrite_rule_sets: Optional[List[ApplicationGatewayRewriteRuleSet]] = None, redirect_configurations: Optional[List[ApplicationGatewayRedirectConfiguration]] = None, web_application_firewall_configuration: Optional[ApplicationGatewayWebApplicationFirewallConfiguration] = None, firewall_policy: Optional[SubResource] = None, enable_http2: Optional[bool] = None, enable_fips: Optional[bool] = None, autoscale_configuration: Optional[ApplicationGatewayAutoscaleConfiguration] = None, resource_guid: Optional[str] = None, provisioning_state: Optional[str] = None, custom_error_configurations: Optional[List[ApplicationGatewayCustomError]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Application gateway resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • operational_state (str or ApplicationGatewayOperationalState) – Operational state of the application gateway resource. Possible values include: “Stopped”, “Starting”, “Running”, “Stopping”.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayAuthenticationCertificate(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, type: Optional[str] = None, data: Optional[str] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Authentication certificates of an application gateway.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the authentication certificate that is unique within an Application Gateway.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Type of the resource.

  • data (str) – Certificate public data.

  • provisioning_state (str) – Provisioning state of the authentication certificate resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayAutoscaleConfiguration(*, min_capacity: int, max_capacity: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Application Gateway autoscale configuration.

All required parameters must be populated in order to send to Azure.

Parameters
  • min_capacity (int) – Required. Lower bound on number of Application Gateway capacity.

  • max_capacity (int) – Upper bound on number of Application Gateway capacity.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayAvailableSslOptions(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, predefined_policies: Optional[List[SubResource]] = None, default_policy: Optional[Union[str, ApplicationGatewaySslPolicyName]] = None, available_cipher_suites: Optional[List[Union[str, ApplicationGatewaySslCipherSuite]]] = None, available_protocols: Optional[List[Union[str, ApplicationGatewaySslProtocol]]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Response for ApplicationGatewayAvailableSslOptions API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
Variables
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayAvailableSslPredefinedPolicies(*, value: Optional[List[ApplicationGatewaySslPredefinedPolicy]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ApplicationGatewayAvailableSslOptions API service call.

Parameters
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayAvailableWafRuleSetsResult(*, value: Optional[List[ApplicationGatewayFirewallRuleSet]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ApplicationGatewayAvailableWafRuleSets API service call.

Parameters

value (list[ApplicationGatewayFirewallRuleSet]) – The list of application gateway rule sets.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendAddress(*, fqdn: Optional[str] = None, ip_address: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Backend address of an application gateway.

Parameters
  • fqdn (str) – Fully qualified domain name (FQDN).

  • ip_address (str) – IP address.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendAddressPool(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, type: Optional[str] = None, backend_ip_configurations: Optional[List[NetworkInterfaceIPConfiguration]] = None, backend_addresses: Optional[List[ApplicationGatewayBackendAddress]] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Backend Address Pool of an application gateway.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the backend address pool that is unique within an Application Gateway.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Type of the resource.

  • backend_ip_configurations (list[NetworkInterfaceIPConfiguration]) – Collection of references to IPs defined in network interfaces.

  • backend_addresses (list[ApplicationGatewayBackendAddress]) – Backend addresses.

  • provisioning_state (str) – Provisioning state of the backend address pool resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendHealth(*, backend_address_pools: Optional[List[ApplicationGatewayBackendHealthPool]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ApplicationGatewayBackendHealth API service call.

Parameters

backend_address_pools (list[ApplicationGatewayBackendHealthPool]) – A list of ApplicationGatewayBackendHealthPool resources.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendHealthHttpSettings(*, backend_http_settings: Optional[ApplicationGatewayBackendHttpSettings] = None, servers: Optional[List[ApplicationGatewayBackendHealthServer]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Application gateway BackendHealthHttp settings.

Parameters
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendHealthOnDemand(*, backend_address_pool: Optional[ApplicationGatewayBackendAddressPool] = None, backend_health_http_settings: Optional[ApplicationGatewayBackendHealthHttpSettings] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Result of on demand test probe.

Parameters
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendHealthPool(*, backend_address_pool: Optional[ApplicationGatewayBackendAddressPool] = None, backend_http_settings_collection: Optional[List[ApplicationGatewayBackendHealthHttpSettings]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Application gateway BackendHealth pool.

Parameters
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendHealthServer(*, address: Optional[str] = None, ip_configuration: Optional[NetworkInterfaceIPConfiguration] = None, health: Optional[Union[str, ApplicationGatewayBackendHealthServerHealth]] = None, health_probe_log: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Application gateway backendhealth http settings.

Parameters
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendHealthServerHealth(value)[source]

Bases: str, enum.Enum

Health of backend server.

down = 'Down'
draining = 'Draining'
partial = 'Partial'
unknown = 'Unknown'
up = 'Up'
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendHttpSettings(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, type: Optional[str] = None, port: Optional[int] = None, protocol: Optional[Union[str, ApplicationGatewayProtocol]] = None, cookie_based_affinity: Optional[Union[str, ApplicationGatewayCookieBasedAffinity]] = None, request_timeout: Optional[int] = None, probe: Optional[SubResource] = None, authentication_certificates: Optional[List[SubResource]] = None, trusted_root_certificates: Optional[List[SubResource]] = None, connection_draining: Optional[ApplicationGatewayConnectionDraining] = None, host_name: Optional[str] = None, pick_host_name_from_backend_address: Optional[bool] = None, affinity_cookie_name: Optional[str] = None, probe_enabled: Optional[bool] = None, path: Optional[str] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Backend address pool settings of an application gateway.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the backend http settings that is unique within an Application Gateway.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Type of the resource.

  • port (int) – The destination port on the backend.

  • protocol (str or ApplicationGatewayProtocol) – The protocol used to communicate with the backend. Possible values include: “Http”, “Https”.

  • cookie_based_affinity (str or ApplicationGatewayCookieBasedAffinity) – Cookie based affinity. Possible values include: “Enabled”, “Disabled”.

  • request_timeout (int) – 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.

  • probe (SubResource) – Probe resource of an application gateway.

  • authentication_certificates (list[SubResource]) – Array of references to application gateway authentication certificates.

  • trusted_root_certificates (list[SubResource]) – Array of references to application gateway trusted root certificates.

  • connection_draining (ApplicationGatewayConnectionDraining) – Connection draining of the backend http settings resource.

  • host_name (str) – Host header to be sent to the backend servers.

  • pick_host_name_from_backend_address (bool) – Whether to pick host header should be picked from the host name of the backend server. Default value is false.

  • affinity_cookie_name (str) – Cookie name to use for the affinity cookie.

  • probe_enabled (bool) – Whether the probe is enabled. Default value is false.

  • path (str) – Path which should be used as a prefix for all HTTP requests. Null means no path will be prefixed. Default value is null.

  • provisioning_state (str) – Provisioning state of the backend http settings resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayConnectionDraining(*, enabled: bool, drain_timeout_in_sec: int, **kwargs)[source]

Bases: msrest.serialization.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.

All required parameters must be populated in order to send to Azure.

Parameters
  • enabled (bool) – Required. Whether connection draining is enabled or not.

  • drain_timeout_in_sec (int) – Required. The number of seconds connection draining is active. Acceptable values are from 1 second to 3600 seconds.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayCookieBasedAffinity(value)[source]

Bases: str, enum.Enum

Cookie based affinity.

disabled = 'Disabled'
enabled = 'Enabled'
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayCustomError(*, status_code: Optional[Union[str, ApplicationGatewayCustomErrorStatusCode]] = None, custom_error_page_url: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Customer error of an application gateway.

Parameters
  • status_code (str or ApplicationGatewayCustomErrorStatusCode) – Status code of the application gateway customer error. Possible values include: “HttpStatus403”, “HttpStatus502”.

  • custom_error_page_url (str) – Error page URL of the application gateway customer error.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayCustomErrorStatusCode(value)[source]

Bases: str, enum.Enum

Status code of the application gateway customer error.

http_status403 = 'HttpStatus403'
http_status502 = 'HttpStatus502'
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayFirewallDisabledRuleGroup(*, rule_group_name: str, rules: Optional[List[int]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Allows to disable rules within a rule group or an entire rule group.

All required parameters must be populated in order to send to Azure.

Parameters
  • rule_group_name (str) – Required. The name of the rule group that will be disabled.

  • rules (list[int]) – The list of rules that will be disabled. If null, all rules of the rule group will be disabled.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayFirewallExclusion(*, match_variable: str, selector_match_operator: str, selector: str, **kwargs)[source]

Bases: msrest.serialization.Model

Allow to exclude some variable satisfy the condition for the WAF check.

All required parameters must be populated in order to send to Azure.

Parameters
  • match_variable (str) – Required. The variable to be excluded.

  • selector_match_operator (str) – Required. When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.

  • selector (str) – Required. When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayFirewallMode(value)[source]

Bases: str, enum.Enum

Web application firewall mode.

detection = 'Detection'
prevention = 'Prevention'
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayFirewallRule(*, rule_id: int, description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

A web application firewall rule.

All required parameters must be populated in order to send to Azure.

Parameters
  • rule_id (int) – Required. The identifier of the web application firewall rule.

  • description (str) – The description of the web application firewall rule.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayFirewallRuleGroup(*, rule_group_name: str, rules: List[ApplicationGatewayFirewallRule], description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

A web application firewall rule group.

All required parameters must be populated in order to send to Azure.

Parameters
  • rule_group_name (str) – Required. The name of the web application firewall rule group.

  • description (str) – The description of the web application firewall rule group.

  • rules (list[ApplicationGatewayFirewallRule]) – Required. The rules of the web application firewall rule group.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayFirewallRuleSet(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, provisioning_state: Optional[str] = None, rule_set_type: Optional[str] = None, rule_set_version: Optional[str] = None, rule_groups: Optional[List[ApplicationGatewayFirewallRuleGroup]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

A web application firewall rule set.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • provisioning_state (str) – The provisioning state of the web application firewall rule set.

  • rule_set_type (str) – The type of the web application firewall rule set.

  • rule_set_version (str) – The version of the web application firewall rule set type.

  • rule_groups (list[ApplicationGatewayFirewallRuleGroup]) – The rule groups of the web application firewall rule set.

Variables
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayFrontendIPConfiguration(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, type: Optional[str] = None, private_ip_address: Optional[str] = None, private_ip_allocation_method: Optional[Union[str, IPAllocationMethod]] = None, subnet: Optional[SubResource] = None, public_ip_address: Optional[SubResource] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Frontend IP configuration of an application gateway.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the frontend IP configuration that is unique within an Application Gateway.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Type of the resource.

  • private_ip_address (str) – PrivateIPAddress of the network interface IP Configuration.

  • private_ip_allocation_method (str or IPAllocationMethod) – The private IP address allocation method. Possible values include: “Static”, “Dynamic”.

  • subnet (SubResource) – Reference of the subnet resource.

  • public_ip_address (SubResource) – Reference of the PublicIP resource.

  • provisioning_state (str) – Provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayFrontendPort(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, type: Optional[str] = None, port: Optional[int] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Frontend port of an application gateway.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the frontend port that is unique within an Application Gateway.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Type of the resource.

  • port (int) – Frontend port.

  • provisioning_state (str) – Provisioning state of the frontend port resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayHeaderConfiguration(*, header_name: Optional[str] = None, header_value: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Header configuration of the Actions set in Application Gateway.

Parameters
  • header_name (str) – Header name of the header configuration.

  • header_value (str) – Header value of the header configuration.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayHttpListener(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, type: Optional[str] = None, frontend_ip_configuration: Optional[SubResource] = None, frontend_port: Optional[SubResource] = None, protocol: Optional[Union[str, ApplicationGatewayProtocol]] = None, host_name: Optional[str] = None, ssl_certificate: Optional[SubResource] = None, require_server_name_indication: Optional[bool] = None, provisioning_state: Optional[str] = None, custom_error_configurations: Optional[List[ApplicationGatewayCustomError]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Http listener of an application gateway.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the HTTP listener that is unique within an Application Gateway.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Type of the resource.

  • frontend_ip_configuration (SubResource) – Frontend IP configuration resource of an application gateway.

  • frontend_port (SubResource) – Frontend port resource of an application gateway.

  • protocol (str or ApplicationGatewayProtocol) – Protocol of the HTTP listener. Possible values include: “Http”, “Https”.

  • host_name (str) – Host name of HTTP listener.

  • ssl_certificate (SubResource) – SSL certificate resource of an application gateway.

  • require_server_name_indication (bool) – Applicable only if protocol is https. Enables SNI for multi-hosting.

  • provisioning_state (str) – Provisioning state of the HTTP listener resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

  • custom_error_configurations (list[ApplicationGatewayCustomError]) – Custom error configurations of the HTTP listener.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayIPConfiguration(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, type: Optional[str] = None, subnet: Optional[SubResource] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the IP configuration that is unique within an Application Gateway.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Type of the resource.

  • subnet (SubResource) – Reference of the subnet resource. A subnet from where application gateway gets its private address.

  • provisioning_state (str) – Provisioning state of the application gateway subnet resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayListResult(*, value: Optional[List[ApplicationGateway]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListApplicationGateways API service call.

Parameters
  • value (list[ApplicationGateway]) – List of an application gateways in a resource group.

  • next_link (str) – URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayOnDemandProbe(*, protocol: Optional[Union[str, ApplicationGatewayProtocol]] = None, host: Optional[str] = None, path: Optional[str] = None, timeout: Optional[int] = None, pick_host_name_from_backend_http_settings: Optional[bool] = None, match: Optional[ApplicationGatewayProbeHealthResponseMatch] = None, backend_address_pool: Optional[SubResource] = None, backend_http_settings: Optional[SubResource] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Details of on demand test probe request.

Parameters
  • protocol (str or ApplicationGatewayProtocol) – The protocol used for the probe. Possible values include: “Http”, “Https”.

  • host (str) – Host name to send the probe to.

  • path (str) – Relative path of probe. Valid path starts from ‘/’. Probe is sent to <Protocol>://<host>:<port><path>.

  • timeout (int) – 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.

  • pick_host_name_from_backend_http_settings (bool) – Whether the host header should be picked from the backend http settings. Default value is false.

  • match (ApplicationGatewayProbeHealthResponseMatch) – Criterion for classifying a healthy probe response.

  • backend_address_pool (SubResource) – Reference of backend pool of application gateway to which probe request will be sent.

  • backend_http_settings (SubResource) – Reference of backend http setting of application gateway to be used for test probe.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayOperationalState(value)[source]

Bases: str, enum.Enum

Operational state of the application gateway resource.

running = 'Running'
starting = 'Starting'
stopped = 'Stopped'
stopping = 'Stopping'
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayPathRule(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, type: Optional[str] = None, paths: Optional[List[str]] = None, backend_address_pool: Optional[SubResource] = None, backend_http_settings: Optional[SubResource] = None, redirect_configuration: Optional[SubResource] = None, rewrite_rule_set: Optional[SubResource] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Path rule of URL path map of an application gateway.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the path rule that is unique within an Application Gateway.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Type of the resource.

  • paths (list[str]) – Path rules of URL path map.

  • backend_address_pool (SubResource) – Backend address pool resource of URL path map path rule.

  • backend_http_settings (SubResource) – Backend http settings resource of URL path map path rule.

  • redirect_configuration (SubResource) – Redirect configuration resource of URL path map path rule.

  • rewrite_rule_set (SubResource) – Rewrite rule set resource of URL path map path rule.

  • provisioning_state (str) – Path rule of URL path map resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayProbe(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, type: Optional[str] = None, protocol: Optional[Union[str, ApplicationGatewayProtocol]] = None, host: Optional[str] = None, path: Optional[str] = None, interval: Optional[int] = None, timeout: Optional[int] = None, unhealthy_threshold: Optional[int] = None, pick_host_name_from_backend_http_settings: Optional[bool] = None, min_servers: Optional[int] = None, match: Optional[ApplicationGatewayProbeHealthResponseMatch] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Probe of the application gateway.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the probe that is unique within an Application Gateway.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Type of the resource.

  • protocol (str or ApplicationGatewayProtocol) – The protocol used for the probe. Possible values include: “Http”, “Https”.

  • host (str) – Host name to send the probe to.

  • path (str) – Relative path of probe. Valid path starts from ‘/’. Probe is sent to <Protocol>://<host>:<port><path>.

  • interval (int) – The probing interval in seconds. This is the time interval between two consecutive probes. Acceptable values are from 1 second to 86400 seconds.

  • timeout (int) – 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.

  • unhealthy_threshold (int) – The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20.

  • pick_host_name_from_backend_http_settings (bool) – Whether the host header should be picked from the backend http settings. Default value is false.

  • min_servers (int) – Minimum number of servers that are always marked healthy. Default value is 0.

  • match (ApplicationGatewayProbeHealthResponseMatch) – Criterion for classifying a healthy probe response.

  • provisioning_state (str) – Provisioning state of the backend http settings resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayProbeHealthResponseMatch(*, body: Optional[str] = None, status_codes: Optional[List[str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Application gateway probe health response match.

Parameters
  • body (str) – Body that must be contained in the health response. Default value is empty.

  • status_codes (list[str]) – Allowed ranges of healthy status codes. Default range of healthy status codes is 200-399.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayProtocol(value)[source]

Bases: str, enum.Enum

Application Gateway protocol.

http = 'Http'
https = 'Https'
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayRedirectConfiguration(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, type: Optional[str] = None, redirect_type: Optional[Union[str, ApplicationGatewayRedirectType]] = None, target_listener: Optional[SubResource] = None, target_url: Optional[str] = None, include_path: Optional[bool] = None, include_query_string: Optional[bool] = None, request_routing_rules: Optional[List[SubResource]] = None, url_path_maps: Optional[List[SubResource]] = None, path_rules: Optional[List[SubResource]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Redirect configuration of an application gateway.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the redirect configuration that is unique within an Application Gateway.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Type of the resource.

  • redirect_type (str or ApplicationGatewayRedirectType) – HTTP redirection type. Possible values include: “Permanent”, “Found”, “SeeOther”, “Temporary”.

  • target_listener (SubResource) – Reference to a listener to redirect the request to.

  • target_url (str) – Url to redirect the request to.

  • include_path (bool) – Include path in the redirected url.

  • include_query_string (bool) – Include query string in the redirected url.

  • request_routing_rules (list[SubResource]) – Request routing specifying redirect configuration.

  • url_path_maps (list[SubResource]) – Url path maps specifying default redirect configuration.

  • path_rules (list[SubResource]) – Path rules specifying redirect configuration.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayRedirectType(value)[source]

Bases: str, enum.Enum

Redirect type enum.

found = 'Found'
permanent = 'Permanent'
see_other = 'SeeOther'
temporary = 'Temporary'
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayRequestRoutingRule(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, type: Optional[str] = None, rule_type: Optional[Union[str, ApplicationGatewayRequestRoutingRuleType]] = None, backend_address_pool: Optional[SubResource] = None, backend_http_settings: Optional[SubResource] = None, http_listener: Optional[SubResource] = None, url_path_map: Optional[SubResource] = None, rewrite_rule_set: Optional[SubResource] = None, redirect_configuration: Optional[SubResource] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Request routing rule of an application gateway.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the request routing rule that is unique within an Application Gateway.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Type of the resource.

  • rule_type (str or ApplicationGatewayRequestRoutingRuleType) – Rule type. Possible values include: “Basic”, “PathBasedRouting”.

  • backend_address_pool (SubResource) – Backend address pool resource of the application gateway.

  • backend_http_settings (SubResource) – Backend http settings resource of the application gateway.

  • http_listener (SubResource) – Http listener resource of the application gateway.

  • url_path_map (SubResource) – URL path map resource of the application gateway.

  • rewrite_rule_set (SubResource) – Rewrite Rule Set resource in Basic rule of the application gateway.

  • redirect_configuration (SubResource) – Redirect configuration resource of the application gateway.

  • provisioning_state (str) – Provisioning state of the request routing rule resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayRequestRoutingRuleType(value)[source]

Bases: str, enum.Enum

Rule type.

basic = 'Basic'
path_based_routing = 'PathBasedRouting'
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayRewriteRule(*, name: Optional[str] = None, rule_sequence: Optional[int] = None, conditions: Optional[List[ApplicationGatewayRewriteRuleCondition]] = None, action_set: Optional[ApplicationGatewayRewriteRuleActionSet] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Rewrite rule of an application gateway.

Parameters
  • name (str) – Name of the rewrite rule that is unique within an Application Gateway.

  • rule_sequence (int) – Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet.

  • conditions (list[ApplicationGatewayRewriteRuleCondition]) – Conditions based on which the action set execution will be evaluated.

  • action_set (ApplicationGatewayRewriteRuleActionSet) – Set of actions to be done as part of the rewrite Rule.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayRewriteRuleActionSet(*, request_header_configurations: Optional[List[ApplicationGatewayHeaderConfiguration]] = None, response_header_configurations: Optional[List[ApplicationGatewayHeaderConfiguration]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Set of actions in the Rewrite Rule in Application Gateway.

Parameters
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayRewriteRuleCondition(*, variable: Optional[str] = None, pattern: Optional[str] = None, ignore_case: Optional[bool] = None, negate: Optional[bool] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Set of conditions in the Rewrite Rule in Application Gateway.

Parameters
  • variable (str) – The condition parameter of the RewriteRuleCondition.

  • pattern (str) – The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.

  • ignore_case (bool) – Setting this paramter to truth value with force the pattern to do a case in-sensitive comparison.

  • negate (bool) – Setting this value as truth will force to check the negation of the condition given by the user.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayRewriteRuleSet(*, id: Optional[str] = None, name: Optional[str] = None, rewrite_rules: Optional[List[ApplicationGatewayRewriteRule]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Rewrite rule set of an application gateway.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the rewrite rule set that is unique within an Application Gateway.

  • rewrite_rules (list[ApplicationGatewayRewriteRule]) – Rewrite rules in the rewrite rule set.

Variables
  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str) – Provisioning state of the rewrite rule set resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewaySku(*, name: Optional[Union[str, ApplicationGatewaySkuName]] = None, tier: Optional[Union[str, ApplicationGatewayTier]] = None, capacity: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

SKU of an application gateway.

Parameters
  • name (str or ApplicationGatewaySkuName) – Name of an application gateway SKU. Possible values include: “Standard_Small”, “Standard_Medium”, “Standard_Large”, “WAF_Medium”, “WAF_Large”, “Standard_v2”, “WAF_v2”.

  • tier (str or ApplicationGatewayTier) – Tier of an application gateway. Possible values include: “Standard”, “WAF”, “Standard_v2”, “WAF_v2”.

  • capacity (int) – Capacity (instance count) of an application gateway.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewaySkuName(value)[source]

Bases: str, enum.Enum

Name of an application gateway SKU.

standard_large = 'Standard_Large'
standard_medium = 'Standard_Medium'
standard_small = 'Standard_Small'
standard_v2 = 'Standard_v2'
waf_large = 'WAF_Large'
waf_medium = 'WAF_Medium'
waf_v2 = 'WAF_v2'
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewaySslCertificate(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, type: Optional[str] = None, data: Optional[str] = None, password: Optional[str] = None, public_cert_data: Optional[str] = None, key_vault_secret_id: Optional[str] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

SSL certificates of an application gateway.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the SSL certificate that is unique within an Application Gateway.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Type of the resource.

  • data (str) – Base-64 encoded pfx certificate. Only applicable in PUT Request.

  • password (str) – Password for the pfx file specified in data. Only applicable in PUT request.

  • public_cert_data (str) – Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request.

  • key_vault_secret_id (str) – Secret Id of (base-64 encoded unencrypted pfx) ‘Secret’ or ‘Certificate’ object stored in KeyVault.

  • provisioning_state (str) – Provisioning state of the SSL certificate resource Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewaySslCipherSuite(value)[source]

Bases: str, enum.Enum

Ssl cipher suites enums.

tls_dhe_dss_with3_des_ede_cbc_sha = 'TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA'
tls_dhe_dss_with_aes128_cbc_sha = 'TLS_DHE_DSS_WITH_AES_128_CBC_SHA'
tls_dhe_dss_with_aes128_cbc_sha256 = 'TLS_DHE_DSS_WITH_AES_128_CBC_SHA256'
tls_dhe_dss_with_aes256_cbc_sha = 'TLS_DHE_DSS_WITH_AES_256_CBC_SHA'
tls_dhe_dss_with_aes256_cbc_sha256 = 'TLS_DHE_DSS_WITH_AES_256_CBC_SHA256'
tls_dhe_rsa_with_aes128_cbc_sha = 'TLS_DHE_RSA_WITH_AES_128_CBC_SHA'
tls_dhe_rsa_with_aes128_gcm_sha256 = 'TLS_DHE_RSA_WITH_AES_128_GCM_SHA256'
tls_dhe_rsa_with_aes256_cbc_sha = 'TLS_DHE_RSA_WITH_AES_256_CBC_SHA'
tls_dhe_rsa_with_aes256_gcm_sha384 = 'TLS_DHE_RSA_WITH_AES_256_GCM_SHA384'
tls_ecdhe_ecdsa_with_aes128_cbc_sha = 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA'
tls_ecdhe_ecdsa_with_aes128_cbc_sha256 = 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256'
tls_ecdhe_ecdsa_with_aes128_gcm_sha256 = 'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256'
tls_ecdhe_ecdsa_with_aes256_cbc_sha = 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA'
tls_ecdhe_ecdsa_with_aes256_cbc_sha384 = 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384'
tls_ecdhe_ecdsa_with_aes256_gcm_sha384 = 'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384'
tls_ecdhe_rsa_with_aes128_cbc_sha = 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA'
tls_ecdhe_rsa_with_aes128_cbc_sha256 = 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256'
tls_ecdhe_rsa_with_aes128_gcm_sha256 = 'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256'
tls_ecdhe_rsa_with_aes256_cbc_sha = 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA'
tls_ecdhe_rsa_with_aes256_cbc_sha384 = 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384'
tls_ecdhe_rsa_with_aes256_gcm_sha384 = 'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384'
tls_rsa_with3_des_ede_cbc_sha = 'TLS_RSA_WITH_3DES_EDE_CBC_SHA'
tls_rsa_with_aes128_cbc_sha = 'TLS_RSA_WITH_AES_128_CBC_SHA'
tls_rsa_with_aes128_cbc_sha256 = 'TLS_RSA_WITH_AES_128_CBC_SHA256'
tls_rsa_with_aes128_gcm_sha256 = 'TLS_RSA_WITH_AES_128_GCM_SHA256'
tls_rsa_with_aes256_cbc_sha = 'TLS_RSA_WITH_AES_256_CBC_SHA'
tls_rsa_with_aes256_cbc_sha256 = 'TLS_RSA_WITH_AES_256_CBC_SHA256'
tls_rsa_with_aes256_gcm_sha384 = 'TLS_RSA_WITH_AES_256_GCM_SHA384'
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewaySslPolicy(*, disabled_ssl_protocols: Optional[List[Union[str, ApplicationGatewaySslProtocol]]] = None, policy_type: Optional[Union[str, ApplicationGatewaySslPolicyType]] = None, policy_name: Optional[Union[str, ApplicationGatewaySslPolicyName]] = None, cipher_suites: Optional[List[Union[str, ApplicationGatewaySslCipherSuite]]] = None, min_protocol_version: Optional[Union[str, ApplicationGatewaySslProtocol]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Application Gateway Ssl policy.

Parameters
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewaySslPolicyName(value)[source]

Bases: str, enum.Enum

Ssl predefined policy name enums.

app_gw_ssl_policy20150501 = 'AppGwSslPolicy20150501'
app_gw_ssl_policy20170401 = 'AppGwSslPolicy20170401'
app_gw_ssl_policy20170401_s = 'AppGwSslPolicy20170401S'
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewaySslPolicyType(value)[source]

Bases: str, enum.Enum

Type of Ssl Policy

custom = 'Custom'
predefined = 'Predefined'
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewaySslPredefinedPolicy(*, id: Optional[str] = None, name: Optional[str] = None, cipher_suites: Optional[List[Union[str, ApplicationGatewaySslCipherSuite]]] = None, min_protocol_version: Optional[Union[str, ApplicationGatewaySslProtocol]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

An Ssl predefined policy.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the Ssl predefined policy.

  • cipher_suites (list[str or ApplicationGatewaySslCipherSuite]) – Ssl cipher suites to be enabled in the specified order for application gateway.

  • min_protocol_version (str or ApplicationGatewaySslProtocol) – Minimum version of Ssl protocol to be supported on application gateway. Possible values include: “TLSv1_0”, “TLSv1_1”, “TLSv1_2”.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewaySslProtocol(value)[source]

Bases: str, enum.Enum

Ssl protocol enums.

tl_sv1_0 = 'TLSv1_0'
tl_sv1_1 = 'TLSv1_1'
tl_sv1_2 = 'TLSv1_2'
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayTier(value)[source]

Bases: str, enum.Enum

Tier of an application gateway.

standard = 'Standard'
standard_v2 = 'Standard_v2'
waf = 'WAF'
waf_v2 = 'WAF_v2'
class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayTrustedRootCertificate(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, type: Optional[str] = None, data: Optional[str] = None, key_vault_secret_id: Optional[str] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Trusted Root certificates of an application gateway.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the trusted root certificate that is unique within an Application Gateway.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Type of the resource.

  • data (str) – Certificate public data.

  • key_vault_secret_id (str) – Secret Id of (base-64 encoded unencrypted pfx) ‘Secret’ or ‘Certificate’ object stored in KeyVault.

  • provisioning_state (str) – Provisioning state of the trusted root certificate resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayUrlPathMap(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, type: Optional[str] = None, default_backend_address_pool: Optional[SubResource] = None, default_backend_http_settings: Optional[SubResource] = None, default_rewrite_rule_set: Optional[SubResource] = None, default_redirect_configuration: Optional[SubResource] = None, path_rules: Optional[List[ApplicationGatewayPathRule]] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

UrlPathMaps give a url path to the backend mapping information for PathBasedRouting.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the URL path map that is unique within an Application Gateway.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Type of the resource.

  • default_backend_address_pool (SubResource) – Default backend address pool resource of URL path map.

  • default_backend_http_settings (SubResource) – Default backend http settings resource of URL path map.

  • default_rewrite_rule_set (SubResource) – Default Rewrite rule set resource of URL path map.

  • default_redirect_configuration (SubResource) – Default redirect configuration resource of URL path map.

  • path_rules (list[ApplicationGatewayPathRule]) – Path rule of URL path map resource.

  • provisioning_state (str) – Provisioning state of the backend http settings resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ApplicationGatewayWebApplicationFirewallConfiguration(*, enabled: bool, firewall_mode: Union[str, ApplicationGatewayFirewallMode], rule_set_type: str, rule_set_version: str, disabled_rule_groups: Optional[List[ApplicationGatewayFirewallDisabledRuleGroup]] = None, request_body_check: Optional[bool] = None, max_request_body_size: Optional[int] = None, max_request_body_size_in_kb: Optional[int] = None, file_upload_limit_in_mb: Optional[int] = None, exclusions: Optional[List[ApplicationGatewayFirewallExclusion]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Application gateway web application firewall configuration.

All required parameters must be populated in order to send to Azure.

Parameters
  • enabled (bool) – Required. Whether the web application firewall is enabled or not.

  • firewall_mode (str or ApplicationGatewayFirewallMode) – Required. Web application firewall mode. Possible values include: “Detection”, “Prevention”.

  • rule_set_type (str) – Required. The type of the web application firewall rule set. Possible values are: ‘OWASP’.

  • rule_set_version (str) – Required. The version of the rule set type.

  • disabled_rule_groups (list[ApplicationGatewayFirewallDisabledRuleGroup]) – The disabled rule groups.

  • request_body_check (bool) – Whether allow WAF to check request Body.

  • max_request_body_size (int) – Maximum request body size for WAF.

  • max_request_body_size_in_kb (int) – Maximum request body size in Kb for WAF.

  • file_upload_limit_in_mb (int) – Maximum file upload size in Mb for WAF.

  • exclusions (list[ApplicationGatewayFirewallExclusion]) – The exclusion list.

class azure.mgmt.network.v2019_02_01.models.ApplicationSecurityGroup(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

An application security group in a resource group.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • resource_guid (str) – The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.

  • provisioning_state (str) – The provisioning state of the application security group resource. Possible values are: ‘Succeeded’, ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ApplicationSecurityGroupListResult(*, value: Optional[List[ApplicationSecurityGroup]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

A list of application security groups.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[ApplicationSecurityGroup]) – A list of application security groups.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.AssociationType(value)[source]

Bases: str, enum.Enum

The association type of the child resource to the parent resource.

associated = 'Associated'
contains = 'Contains'
class azure.mgmt.network.v2019_02_01.models.AuthenticationMethod(value)[source]

Bases: str, enum.Enum

VPN client authentication method.

eapmscha_pv2 = 'EAPMSCHAPv2'
eaptls = 'EAPTLS'
class azure.mgmt.network.v2019_02_01.models.AuthorizationListResult(*, value: Optional[List[ExpressRouteCircuitAuthorization]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit.

Parameters
class azure.mgmt.network.v2019_02_01.models.AuthorizationUseStatus(value)[source]

Bases: str, enum.Enum

AuthorizationUseStatus. Possible values are: ‘Available’ and ‘InUse’.

available = 'Available'
in_use = 'InUse'
class azure.mgmt.network.v2019_02_01.models.Availability(*, time_grain: Optional[str] = None, retention: Optional[str] = None, blob_duration: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Availability of the metric.

Parameters
  • time_grain (str) – The time grain of the availability.

  • retention (str) – The retention of the availability.

  • blob_duration (str) – Duration of the availability blob.

class azure.mgmt.network.v2019_02_01.models.AvailableDelegation(*, name: Optional[str] = None, id: Optional[str] = None, type: Optional[str] = None, service_name: Optional[str] = None, actions: Optional[List[str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The serviceName of an AvailableDelegation indicates a possible delegation for a subnet.

Parameters
  • name (str) – The name of the AvailableDelegation resource.

  • id (str) – A unique identifier of the AvailableDelegation resource.

  • type (str) – Resource type.

  • service_name (str) – The name of the service and resource.

  • actions (list[str]) – Describes the actions permitted to the service upon delegation.

class azure.mgmt.network.v2019_02_01.models.AvailableDelegationsResult(*, value: Optional[List[AvailableDelegation]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

An array of available delegations.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[AvailableDelegation]) – An array of available delegations.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.AvailableProvidersList(*, countries: List[AvailableProvidersListCountry], **kwargs)[source]

Bases: msrest.serialization.Model

List of available countries with details.

All required parameters must be populated in order to send to Azure.

Parameters

countries (list[AvailableProvidersListCountry]) – Required. List of available countries.

class azure.mgmt.network.v2019_02_01.models.AvailableProvidersListCity(*, city_name: Optional[str] = None, providers: Optional[List[str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

City or town details.

Parameters
  • city_name (str) – The city or town name.

  • providers (list[str]) – A list of Internet service providers.

class azure.mgmt.network.v2019_02_01.models.AvailableProvidersListCountry(*, country_name: Optional[str] = None, providers: Optional[List[str]] = None, states: Optional[List[AvailableProvidersListState]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Country details.

Parameters
class azure.mgmt.network.v2019_02_01.models.AvailableProvidersListParameters(*, azure_locations: Optional[List[str]] = None, country: Optional[str] = None, state: Optional[str] = None, city: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Constraints that determine the list of available Internet service providers.

Parameters
  • azure_locations (list[str]) – A list of Azure regions.

  • country (str) – The country for available providers list.

  • state (str) – The state for available providers list.

  • city (str) – The city or town for available providers list.

class azure.mgmt.network.v2019_02_01.models.AvailableProvidersListState(*, state_name: Optional[str] = None, providers: Optional[List[str]] = None, cities: Optional[List[AvailableProvidersListCity]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

State details.

Parameters
class azure.mgmt.network.v2019_02_01.models.AzureAsyncOperationResult(*, status: Optional[Union[str, NetworkOperationStatus]] = None, error: Optional[Error] = None, **kwargs)[source]

Bases: msrest.serialization.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.

Parameters
  • status (str or NetworkOperationStatus) – Status of the Azure async operation. Possible values are: ‘InProgress’, ‘Succeeded’, and ‘Failed’. Possible values include: “InProgress”, “Succeeded”, “Failed”.

  • error (Error) – Details of the error occurred during specified asynchronous operation.

class azure.mgmt.network.v2019_02_01.models.AzureFirewall(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, application_rule_collections: Optional[List[AzureFirewallApplicationRuleCollection]] = None, nat_rule_collections: Optional[List[AzureFirewallNatRuleCollection]] = None, network_rule_collections: Optional[List[AzureFirewallNetworkRuleCollection]] = None, ip_configurations: Optional[List[AzureFirewallIPConfiguration]] = None, threat_intel_mode: Optional[Union[str, AzureFirewallThreatIntelMode]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Azure Firewall resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.AzureFirewallApplicationRule(*, name: Optional[str] = None, description: Optional[str] = None, source_addresses: Optional[List[str]] = None, protocols: Optional[List[AzureFirewallApplicationRuleProtocol]] = None, target_fqdns: Optional[List[str]] = None, fqdn_tags: Optional[List[str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Properties of an application rule.

Parameters
  • name (str) – Name of the application rule.

  • description (str) – Description of the rule.

  • source_addresses (list[str]) – List of source IP addresses for this rule.

  • protocols (list[AzureFirewallApplicationRuleProtocol]) – Array of ApplicationRuleProtocols.

  • target_fqdns (list[str]) – List of FQDNs for this rule.

  • fqdn_tags (list[str]) – List of FQDN Tags for this rule.

class azure.mgmt.network.v2019_02_01.models.AzureFirewallApplicationRuleCollection(*, id: Optional[str] = None, name: Optional[str] = None, priority: Optional[int] = None, action: Optional[AzureFirewallRCAction] = None, rules: Optional[List[AzureFirewallApplicationRule]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Application rule collection resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Gets name of the resource that is unique within a resource group. This name can be used to access the resource.

  • priority (int) – Priority of the application rule collection resource.

  • action (AzureFirewallRCAction) – The action type of a rule collection.

  • rules (list[AzureFirewallApplicationRule]) – Collection of rules used by a application rule collection.

Variables
  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.AzureFirewallApplicationRuleProtocol(*, protocol_type: Optional[Union[str, AzureFirewallApplicationRuleProtocolType]] = None, port: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Properties of the application rule protocol.

Parameters
  • protocol_type (str or AzureFirewallApplicationRuleProtocolType) – Protocol type. Possible values include: “Http”, “Https”.

  • port (int) – Port number for the protocol, cannot be greater than 64000. This field is optional.

class azure.mgmt.network.v2019_02_01.models.AzureFirewallApplicationRuleProtocolType(value)[source]

Bases: str, enum.Enum

The protocol type of a Application Rule resource

http = 'Http'
https = 'Https'
class azure.mgmt.network.v2019_02_01.models.AzureFirewallFqdnTag(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Azure Firewall FQDN Tag Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str) – The provisioning state of the resource.

  • fqdn_tag_name (str) – The name of this FQDN Tag.

class azure.mgmt.network.v2019_02_01.models.AzureFirewallFqdnTagListResult(*, value: Optional[List[AzureFirewallFqdnTag]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListAzureFirewallFqdnTags API service call.

Parameters
  • value (list[AzureFirewallFqdnTag]) – List of Azure Firewall FQDN Tags in a resource group.

  • next_link (str) – URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.AzureFirewallIPConfiguration(*, id: Optional[str] = None, name: Optional[str] = None, subnet: Optional[SubResource] = None, public_ip_address: Optional[SubResource] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

IP configuration of an Azure Firewall.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the resource that is unique within a resource group. This name can be used to access the resource.

  • subnet (SubResource) – Reference of the subnet resource. This resource must be named ‘AzureFirewallSubnet’.

  • public_ip_address (SubResource) – Reference of the PublicIP resource. This field is a mandatory input if subnet is not null.

Variables
  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • private_ip_address (str) – The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.AzureFirewallListResult(*, value: Optional[List[AzureFirewall]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListAzureFirewalls API service call.

Parameters
  • value (list[AzureFirewall]) – List of Azure Firewalls in a resource group.

  • next_link (str) – URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.AzureFirewallNatRCAction(*, type: Optional[Union[str, AzureFirewallNatRCActionType]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

AzureFirewall NAT Rule Collection Action.

Parameters

type (str or AzureFirewallNatRCActionType) – The type of action. Possible values include: “Snat”, “Dnat”.

class azure.mgmt.network.v2019_02_01.models.AzureFirewallNatRCActionType(value)[source]

Bases: str, enum.Enum

The action type of a NAT rule collection

dnat = 'Dnat'
snat = 'Snat'
class azure.mgmt.network.v2019_02_01.models.AzureFirewallNatRule(*, name: Optional[str] = None, description: Optional[str] = None, source_addresses: Optional[List[str]] = None, destination_addresses: Optional[List[str]] = None, destination_ports: Optional[List[str]] = None, protocols: Optional[List[Union[str, AzureFirewallNetworkRuleProtocol]]] = None, translated_address: Optional[str] = None, translated_port: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Properties of a NAT rule.

Parameters
  • name (str) – Name of the NAT rule.

  • description (str) – Description of the rule.

  • source_addresses (list[str]) – List of source IP addresses for this rule.

  • destination_addresses (list[str]) – List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.

  • destination_ports (list[str]) – List of destination ports.

  • protocols (list[str or AzureFirewallNetworkRuleProtocol]) – Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.

  • translated_address (str) – The translated address for this NAT rule.

  • translated_port (str) – The translated port for this NAT rule.

class azure.mgmt.network.v2019_02_01.models.AzureFirewallNatRuleCollection(*, id: Optional[str] = None, name: Optional[str] = None, priority: Optional[int] = None, action: Optional[AzureFirewallNatRCAction] = None, rules: Optional[List[AzureFirewallNatRule]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

NAT rule collection resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Gets name of the resource that is unique within a resource group. This name can be used to access the resource.

  • priority (int) – Priority of the NAT rule collection resource.

  • action (AzureFirewallNatRCAction) – The action type of a NAT rule collection.

  • rules (list[AzureFirewallNatRule]) – Collection of rules used by a NAT rule collection.

Variables
  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.AzureFirewallNetworkRule(*, name: Optional[str] = None, description: Optional[str] = None, protocols: Optional[List[Union[str, AzureFirewallNetworkRuleProtocol]]] = None, source_addresses: Optional[List[str]] = None, destination_addresses: Optional[List[str]] = None, destination_ports: Optional[List[str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Properties of the network rule.

Parameters
  • name (str) – Name of the network rule.

  • description (str) – Description of the rule.

  • protocols (list[str or AzureFirewallNetworkRuleProtocol]) – Array of AzureFirewallNetworkRuleProtocols.

  • source_addresses (list[str]) – List of source IP addresses for this rule.

  • destination_addresses (list[str]) – List of destination IP addresses.

  • destination_ports (list[str]) – List of destination ports.

class azure.mgmt.network.v2019_02_01.models.AzureFirewallNetworkRuleCollection(*, id: Optional[str] = None, name: Optional[str] = None, priority: Optional[int] = None, action: Optional[AzureFirewallRCAction] = None, rules: Optional[List[AzureFirewallNetworkRule]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Network rule collection resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Gets name of the resource that is unique within a resource group. This name can be used to access the resource.

  • priority (int) – Priority of the network rule collection resource.

  • action (AzureFirewallRCAction) – The action type of a rule collection.

  • rules (list[AzureFirewallNetworkRule]) – Collection of rules used by a network rule collection.

Variables
  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.AzureFirewallNetworkRuleProtocol(value)[source]

Bases: str, enum.Enum

The protocol of a Network Rule resource

any = 'Any'
icmp = 'ICMP'
tcp = 'TCP'
udp = 'UDP'
class azure.mgmt.network.v2019_02_01.models.AzureFirewallRCAction(*, type: Optional[Union[str, AzureFirewallRCActionType]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Properties of the AzureFirewallRCAction.

Parameters

type (str or AzureFirewallRCActionType) – The type of action. Possible values include: “Allow”, “Deny”.

class azure.mgmt.network.v2019_02_01.models.AzureFirewallRCActionType(value)[source]

Bases: str, enum.Enum

The action type of a rule collection

allow = 'Allow'
deny = 'Deny'
class azure.mgmt.network.v2019_02_01.models.AzureFirewallThreatIntelMode(value)[source]

Bases: str, enum.Enum

The operation mode for Threat Intel

alert = 'Alert'
deny = 'Deny'
off = 'Off'
class azure.mgmt.network.v2019_02_01.models.AzureReachabilityReport(*, aggregation_level: str, provider_location: azure.mgmt.network.v2019_02_01.models._models_py3.AzureReachabilityReportLocation, reachability_report: List[AzureReachabilityReportItem], **kwargs)[source]

Bases: msrest.serialization.Model

Azure reachability report details.

All required parameters must be populated in order to send to Azure.

Parameters
  • aggregation_level (str) – Required. The aggregation level of Azure reachability report. Can be Country, State or City.

  • provider_location (AzureReachabilityReportLocation) – Required. Parameters that define a geographic location.

  • reachability_report (list[AzureReachabilityReportItem]) – Required. List of Azure reachability report items.

class azure.mgmt.network.v2019_02_01.models.AzureReachabilityReportItem(*, provider: Optional[str] = None, azure_location: Optional[str] = None, latencies: Optional[List[AzureReachabilityReportLatencyInfo]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Azure reachability report details for a given provider location.

Parameters
class azure.mgmt.network.v2019_02_01.models.AzureReachabilityReportLatencyInfo(*, time_stamp: Optional[datetime.datetime] = None, score: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Details on latency for a time series.

Parameters
  • time_stamp (datetime) – The time stamp.

  • score (int) – The relative latency score between 1 and 100, higher values indicating a faster connection.

class azure.mgmt.network.v2019_02_01.models.AzureReachabilityReportLocation(*, country: str, state: Optional[str] = None, city: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define a geographic location.

All required parameters must be populated in order to send to Azure.

Parameters
  • country (str) – Required. The name of the country.

  • state (str) – The name of the state.

  • city (str) – The name of the city or town.

class azure.mgmt.network.v2019_02_01.models.AzureReachabilityReportParameters(*, provider_location: azure.mgmt.network.v2019_02_01.models._models_py3.AzureReachabilityReportLocation, start_time: datetime.datetime, end_time: datetime.datetime, providers: Optional[List[str]] = None, azure_locations: Optional[List[str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Geographic and time constraints for Azure reachability report.

All required parameters must be populated in order to send to Azure.

Parameters
  • provider_location (AzureReachabilityReportLocation) – Required. Parameters that define a geographic location.

  • providers (list[str]) – List of Internet service providers.

  • azure_locations (list[str]) – Optional Azure regions to scope the query to.

  • start_time (datetime) – Required. The start time for the Azure reachability report.

  • end_time (datetime) – Required. The end time for the Azure reachability report.

class azure.mgmt.network.v2019_02_01.models.BGPCommunity(*, service_supported_region: Optional[str] = None, community_name: Optional[str] = None, community_value: Optional[str] = None, community_prefixes: Optional[List[str]] = None, is_authorized_to_use: Optional[bool] = None, service_group: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Contains bgp community information offered in Service Community resources.

Parameters
  • service_supported_region (str) – The region which the service support. e.g. For O365, region is Global.

  • community_name (str) – The name of the bgp community. e.g. Skype.

  • community_value (str) – The value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing.

  • community_prefixes (list[str]) – The prefixes that the bgp community contains.

  • is_authorized_to_use (bool) – Customer is authorized to use bgp community or not.

  • service_group (str) – The service group of the bgp community contains.

class azure.mgmt.network.v2019_02_01.models.BackendAddressPool(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Pool of backend IP addresses.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Gets name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str) – Get provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

Variables
  • backend_ip_configurations (list[NetworkInterfaceIPConfiguration]) – Gets collection of references to IP addresses defined in network interfaces.

  • load_balancing_rules (list[SubResource]) – Gets load balancing rules that use this backend address pool.

  • outbound_rule (SubResource) – Gets outbound rules that use this backend address pool.

  • outbound_rules (list[SubResource]) – Gets outbound rules that use this backend address pool.

class azure.mgmt.network.v2019_02_01.models.BgpPeerState(value)[source]

Bases: str, enum.Enum

The BGP peer state

connected = 'Connected'
connecting = 'Connecting'
idle = 'Idle'
stopped = 'Stopped'
unknown = 'Unknown'
class azure.mgmt.network.v2019_02_01.models.BgpPeerStatus(**kwargs)[source]

Bases: msrest.serialization.Model

BGP peer status details.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • local_address (str) – The virtual network gateway’s local address.

  • neighbor (str) – The remote BGP peer.

  • asn (int) – The autonomous system number of the remote BGP peer.

  • state (str or BgpPeerState) – The BGP peer state. Possible values include: “Unknown”, “Stopped”, “Idle”, “Connecting”, “Connected”.

  • connected_duration (str) – For how long the peering has been up.

  • routes_received (long) – The number of routes learned from this peer.

  • messages_sent (long) – The number of BGP messages sent.

  • messages_received (long) – The number of BGP messages received.

class azure.mgmt.network.v2019_02_01.models.BgpPeerStatusListResult(*, value: Optional[List[BgpPeerStatus]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for list BGP peer status API service call.

Parameters

value (list[BgpPeerStatus]) – List of BGP peers.

class azure.mgmt.network.v2019_02_01.models.BgpServiceCommunity(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, service_name: Optional[str] = None, bgp_communities: Optional[List[BGPCommunity]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Service Community Properties.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • service_name (str) – The name of the bgp community. e.g. Skype.

  • bgp_communities (list[BGPCommunity]) – Get a list of bgp communities.

Variables
class azure.mgmt.network.v2019_02_01.models.BgpServiceCommunityListResult(*, value: Optional[List[BgpServiceCommunity]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the ListServiceCommunity API service call.

Parameters
  • value (list[BgpServiceCommunity]) – A list of service community resources.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.BgpSettings(*, asn: Optional[int] = None, bgp_peering_address: Optional[str] = None, peer_weight: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

BGP settings details.

Parameters
  • asn (long) – The BGP speaker’s ASN.

  • bgp_peering_address (str) – The BGP peering address and BGP identifier of this BGP speaker.

  • peer_weight (int) – The weight added to routes learned from this BGP speaker.

class azure.mgmt.network.v2019_02_01.models.CircuitConnectionStatus(value)[source]

Bases: str, enum.Enum

Express Route Circuit connection state.

connected = 'Connected'
connecting = 'Connecting'
disconnected = 'Disconnected'
class azure.mgmt.network.v2019_02_01.models.CloudErrorBody(*, code: Optional[str] = None, message: Optional[str] = None, target: Optional[str] = None, details: Optional[List[CloudErrorBody]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

An error response from the Batch service.

Parameters
  • code (str) – An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

  • message (str) – A message describing the error, intended to be suitable for display in a user interface.

  • target (str) – The target of the particular error. For example, the name of the property in error.

  • details (list[CloudErrorBody]) – A list of additional details about the error.

class azure.mgmt.network.v2019_02_01.models.Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties(**kwargs)[source]

Bases: msrest.serialization.Model

Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • principal_id (str) – The principal id of user assigned identity.

  • client_id (str) – The client id of user assigned identity.

class azure.mgmt.network.v2019_02_01.models.ConnectionMonitor(*, source: azure.mgmt.network.v2019_02_01.models._models_py3.ConnectionMonitorSource, destination: azure.mgmt.network.v2019_02_01.models._models_py3.ConnectionMonitorDestination, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, auto_start: Optional[bool] = True, monitoring_interval_in_seconds: Optional[int] = 60, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the operation to create a connection monitor.

All required parameters must be populated in order to send to Azure.

Parameters
  • location (str) – Connection monitor location.

  • tags (dict[str, str]) – A set of tags. Connection monitor tags.

  • source (ConnectionMonitorSource) – Required. Describes the source of connection monitor.

  • destination (ConnectionMonitorDestination) – Required. Describes the destination of connection monitor.

  • auto_start (bool) – Determines if the connection monitor will start automatically once created.

  • monitoring_interval_in_seconds (int) – Monitoring interval in seconds.

class azure.mgmt.network.v2019_02_01.models.ConnectionMonitorDestination(*, resource_id: Optional[str] = None, address: Optional[str] = None, port: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Describes the destination of connection monitor.

Parameters
  • resource_id (str) – The ID of the resource used as the destination by connection monitor.

  • address (str) – Address of the connection monitor destination (IP or domain name).

  • port (int) – The destination port used by connection monitor.

class azure.mgmt.network.v2019_02_01.models.ConnectionMonitorListResult(*, value: Optional[List[ConnectionMonitorResult]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of connection monitors.

Parameters

value (list[ConnectionMonitorResult]) – Information about connection monitors.

class azure.mgmt.network.v2019_02_01.models.ConnectionMonitorParameters(*, source: azure.mgmt.network.v2019_02_01.models._models_py3.ConnectionMonitorSource, destination: azure.mgmt.network.v2019_02_01.models._models_py3.ConnectionMonitorDestination, auto_start: Optional[bool] = True, monitoring_interval_in_seconds: Optional[int] = 60, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the operation to create a connection monitor.

All required parameters must be populated in order to send to Azure.

Parameters
  • source (ConnectionMonitorSource) – Required. Describes the source of connection monitor.

  • destination (ConnectionMonitorDestination) – Required. Describes the destination of connection monitor.

  • auto_start (bool) – Determines if the connection monitor will start automatically once created.

  • monitoring_interval_in_seconds (int) – Monitoring interval in seconds.

class azure.mgmt.network.v2019_02_01.models.ConnectionMonitorQueryResult(*, source_status: Optional[Union[str, ConnectionMonitorSourceStatus]] = None, states: Optional[List[ConnectionStateSnapshot]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of connection states snapshots.

Parameters
class azure.mgmt.network.v2019_02_01.models.ConnectionMonitorResult(*, etag: Optional[str] = 'A unique read-only string that changes whenever the resource is updated.', location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, source: Optional[ConnectionMonitorSource] = None, destination: Optional[ConnectionMonitorDestination] = None, auto_start: Optional[bool] = True, monitoring_interval_in_seconds: Optional[int] = 60, start_time: Optional[datetime.datetime] = None, monitoring_status: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Information about the connection monitor.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • name (str) – Name of the connection monitor.

  • id (str) – ID of the connection monitor.

  • type (str) – Connection monitor type.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the connection monitor. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

Parameters
  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • location (str) – Connection monitor location.

  • tags (dict[str, str]) – A set of tags. Connection monitor tags.

  • source (ConnectionMonitorSource) – Describes the source of connection monitor.

  • destination (ConnectionMonitorDestination) – Describes the destination of connection monitor.

  • auto_start (bool) – Determines if the connection monitor will start automatically once created.

  • monitoring_interval_in_seconds (int) – Monitoring interval in seconds.

  • start_time (datetime) – The date and time when the connection monitor was started.

  • monitoring_status (str) – The monitoring status of the connection monitor.

class azure.mgmt.network.v2019_02_01.models.ConnectionMonitorResultProperties(*, source: azure.mgmt.network.v2019_02_01.models._models_py3.ConnectionMonitorSource, destination: azure.mgmt.network.v2019_02_01.models._models_py3.ConnectionMonitorDestination, auto_start: Optional[bool] = True, monitoring_interval_in_seconds: Optional[int] = 60, start_time: Optional[datetime.datetime] = None, monitoring_status: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.ConnectionMonitorParameters

Describes the properties of a connection monitor.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Parameters
  • source (ConnectionMonitorSource) – Required. Describes the source of connection monitor.

  • destination (ConnectionMonitorDestination) – Required. Describes the destination of connection monitor.

  • auto_start (bool) – Determines if the connection monitor will start automatically once created.

  • monitoring_interval_in_seconds (int) – Monitoring interval in seconds.

  • start_time (datetime) – The date and time when the connection monitor was started.

  • monitoring_status (str) – The monitoring status of the connection monitor.

Variables

provisioning_state (str or ProvisioningState) – The provisioning state of the connection monitor. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.ConnectionMonitorSource(*, resource_id: str, port: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Describes the source of connection monitor.

All required parameters must be populated in order to send to Azure.

Parameters
  • resource_id (str) – Required. The ID of the resource used as the source by connection monitor.

  • port (int) – The source port used by connection monitor.

class azure.mgmt.network.v2019_02_01.models.ConnectionMonitorSourceStatus(value)[source]

Bases: str, enum.Enum

Status of connection monitor source.

active = 'Active'
inactive = 'Inactive'
unknown = 'Unknown'
class azure.mgmt.network.v2019_02_01.models.ConnectionResetSharedKey(*, key_length: int, **kwargs)[source]

Bases: msrest.serialization.Model

The virtual network connection reset shared key.

All required parameters must be populated in order to send to Azure.

Parameters

key_length (int) – Required. The virtual network connection reset shared key length, should between 1 and 128.

class azure.mgmt.network.v2019_02_01.models.ConnectionSharedKey(*, value: str, id: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Response for GetConnectionSharedKey API service call.

All required parameters must be populated in order to send to Azure.

Parameters
  • id (str) – Resource ID.

  • value (str) – Required. The virtual network connection shared key value.

class azure.mgmt.network.v2019_02_01.models.ConnectionState(value)[source]

Bases: str, enum.Enum

The connection state.

reachable = 'Reachable'
unknown = 'Unknown'
unreachable = 'Unreachable'
class azure.mgmt.network.v2019_02_01.models.ConnectionStateSnapshot(*, connection_state: Optional[Union[str, ConnectionState]] = None, start_time: Optional[datetime.datetime] = None, end_time: Optional[datetime.datetime] = None, evaluation_state: Optional[Union[str, EvaluationState]] = None, avg_latency_in_ms: Optional[int] = None, min_latency_in_ms: Optional[int] = None, max_latency_in_ms: Optional[int] = None, probes_sent: Optional[int] = None, probes_failed: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Connection state snapshot.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • connection_state (str or ConnectionState) – The connection state. Possible values include: “Reachable”, “Unreachable”, “Unknown”.

  • start_time (datetime) – The start time of the connection snapshot.

  • end_time (datetime) – The end time of the connection snapshot.

  • evaluation_state (str or EvaluationState) – Connectivity analysis evaluation state. Possible values include: “NotStarted”, “InProgress”, “Completed”.

  • avg_latency_in_ms (int) – Average latency in ms.

  • min_latency_in_ms (int) – Minimum latency in ms.

  • max_latency_in_ms (int) – Maximum latency in ms.

  • probes_sent (int) – The number of sent probes.

  • probes_failed (int) – The number of failed probes.

Variables

hops (list[ConnectivityHop]) – List of hops between the source and the destination.

class azure.mgmt.network.v2019_02_01.models.ConnectionStatus(value)[source]

Bases: str, enum.Enum

The connection status.

connected = 'Connected'
degraded = 'Degraded'
disconnected = 'Disconnected'
unknown = 'Unknown'
class azure.mgmt.network.v2019_02_01.models.ConnectivityDestination(*, resource_id: Optional[str] = None, address: Optional[str] = None, port: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define destination of connection.

Parameters
  • resource_id (str) – The ID of the resource to which a connection attempt will be made.

  • address (str) – The IP address or URI the resource to which a connection attempt will be made.

  • port (int) – Port on which check connectivity will be performed.

class azure.mgmt.network.v2019_02_01.models.ConnectivityHop(**kwargs)[source]

Bases: msrest.serialization.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.

Variables
  • type (str) – The type of the hop.

  • id (str) – The ID of the hop.

  • address (str) – The IP address of the hop.

  • resource_id (str) – The ID of the resource corresponding to this hop.

  • next_hop_ids (list[str]) – List of next hop identifiers.

  • issues (list[ConnectivityIssue]) – List of issues.

class azure.mgmt.network.v2019_02_01.models.ConnectivityInformation(**kwargs)[source]

Bases: msrest.serialization.Model

Information on the connectivity status.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • hops (list[ConnectivityHop]) – List of hops between the source and the destination.

  • connection_status (str or ConnectionStatus) – The connection status. Possible values include: “Unknown”, “Connected”, “Disconnected”, “Degraded”.

  • avg_latency_in_ms (int) – Average latency in milliseconds.

  • min_latency_in_ms (int) – Minimum latency in milliseconds.

  • max_latency_in_ms (int) – Maximum latency in milliseconds.

  • probes_sent (int) – Total number of probes sent.

  • probes_failed (int) – Number of failed probes.

class azure.mgmt.network.v2019_02_01.models.ConnectivityIssue(**kwargs)[source]

Bases: msrest.serialization.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.

Variables
  • origin (str or Origin) – The origin of the issue. Possible values include: “Local”, “Inbound”, “Outbound”.

  • severity (str or Severity) – The severity of the issue. Possible values include: “Error”, “Warning”.

  • type (str or IssueType) – The type of issue. Possible values include: “Unknown”, “AgentStopped”, “GuestFirewall”, “DnsResolution”, “SocketBind”, “NetworkSecurityRule”, “UserDefinedRoute”, “PortThrottled”, “Platform”.

  • context (list[dict[str, str]]) – Provides additional context on the issue.

class azure.mgmt.network.v2019_02_01.models.ConnectivityParameters(*, source: azure.mgmt.network.v2019_02_01.models._models_py3.ConnectivitySource, destination: azure.mgmt.network.v2019_02_01.models._models_py3.ConnectivityDestination, protocol: Optional[Union[str, Protocol]] = None, protocol_configuration: Optional[ProtocolConfiguration] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that determine how the connectivity check will be performed.

All required parameters must be populated in order to send to Azure.

Parameters
  • source (ConnectivitySource) – Required. Describes the source of the connection.

  • destination (ConnectivityDestination) – Required. Describes the destination of connection.

  • protocol (str or Protocol) – Network protocol. Possible values include: “Tcp”, “Http”, “Https”, “Icmp”.

  • protocol_configuration (ProtocolConfiguration) – Configuration of the protocol.

class azure.mgmt.network.v2019_02_01.models.ConnectivitySource(*, resource_id: str, port: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the source of the connection.

All required parameters must be populated in order to send to Azure.

Parameters
  • resource_id (str) – Required. The ID of the resource from which a connectivity check will be initiated.

  • port (int) – The source port from which a connectivity check will be performed.

class azure.mgmt.network.v2019_02_01.models.Container(*, id: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Reference to container resource in remote resource provider.

Parameters

id (str) – Resource ID.

class azure.mgmt.network.v2019_02_01.models.ContainerNetworkInterface(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, container_network_interface_configuration: Optional[ContainerNetworkInterfaceConfiguration] = None, container: Optional[SubResource] = None, ip_configurations: Optional[List[ContainerNetworkInterfaceIpConfiguration]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Container network interface child resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • container_network_interface_configuration (ContainerNetworkInterfaceConfiguration) – Container network interface configuration from which this container network interface is created.

  • container (SubResource) – Reference to the container to which this container network interface is attached.

  • ip_configurations (list[ContainerNetworkInterfaceIpConfiguration]) – Reference to the ip configuration on this container nic.

Variables
  • type (str) – Sub Resource type.

  • provisioning_state (str) – The provisioning state of the resource.

class azure.mgmt.network.v2019_02_01.models.ContainerNetworkInterfaceConfiguration(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, ip_configurations: Optional[List[IPConfigurationProfile]] = None, container_network_interfaces: Optional[List[SubResource]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Container network interface configuration child resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • ip_configurations (list[IPConfigurationProfile]) – A list of ip configurations of the container network interface configuration.

  • container_network_interfaces (list[SubResource]) – A list of container network interfaces created from this container network interface configuration.

Variables
  • type (str) – Sub Resource type.

  • provisioning_state (str) – The provisioning state of the resource.

class azure.mgmt.network.v2019_02_01.models.ContainerNetworkInterfaceIpConfiguration(*, name: Optional[str] = None, etag: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The ip configuration for a container network interface.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • name (str) – The name of the resource. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

Variables
  • type (str) – Sub Resource type.

  • provisioning_state (str) – The provisioning state of the resource.

class azure.mgmt.network.v2019_02_01.models.DdosCustomPolicy(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, protocol_custom_settings: Optional[List[ProtocolCustomSettingsFormat]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

A DDoS custom policy in a resource group.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • protocol_custom_settings (list[ProtocolCustomSettingsFormat]) – The protocol-specific DDoS policy customization parameters.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • resource_guid (str) – The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.

  • provisioning_state (str) – The provisioning state of the DDoS custom policy resource. Possible values are: ‘Succeeded’, ‘Updating’, ‘Deleting’, and ‘Failed’.

  • public_ip_addresses (list[SubResource]) – The list of public IPs associated with the DDoS custom policy resource. This list is read-only.

class azure.mgmt.network.v2019_02_01.models.DdosCustomPolicyProtocol(value)[source]

Bases: str, enum.Enum

The protocol for which the DDoS protection policy is being customized.

syn = 'Syn'
tcp = 'Tcp'
udp = 'Udp'
class azure.mgmt.network.v2019_02_01.models.DdosCustomPolicyTriggerSensitivityOverride(value)[source]

Bases: str, enum.Enum

The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic.

default = 'Default'
high = 'High'
low = 'Low'
relaxed = 'Relaxed'
class azure.mgmt.network.v2019_02_01.models.DdosProtectionPlan(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

A DDoS protection plan in a resource group.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Resource ID.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • resource_guid (str) – The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.

  • provisioning_state (str) – The provisioning state of the DDoS protection plan resource. Possible values are: ‘Succeeded’, ‘Updating’, ‘Deleting’, and ‘Failed’.

  • virtual_networks (list[SubResource]) – The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.

Parameters
  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

class azure.mgmt.network.v2019_02_01.models.DdosProtectionPlanListResult(*, value: Optional[List[DdosProtectionPlan]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

A list of DDoS protection plans.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[DdosProtectionPlan]) – A list of DDoS protection plans.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.DdosSettings(*, ddos_custom_policy: Optional[SubResource] = None, protection_coverage: Optional[Union[str, DdosSettingsProtectionCoverage]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Contains the DDoS protection settings of the public IP.

Parameters
  • ddos_custom_policy (SubResource) – The DDoS custom policy associated with the public IP.

  • protection_coverage (str or DdosSettingsProtectionCoverage) – The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. Possible values include: “Basic”, “Standard”.

class azure.mgmt.network.v2019_02_01.models.DdosSettingsProtectionCoverage(value)[source]

Bases: str, enum.Enum

The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.

basic = 'Basic'
standard = 'Standard'
class azure.mgmt.network.v2019_02_01.models.Delegation(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, service_name: Optional[str] = None, actions: Optional[List[str]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Details the service to which the subnet is delegated.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a subnet. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • service_name (str) – The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).

  • actions (list[str]) – Describes the actions permitted to the service upon delegation.

Variables

provisioning_state (str) – The provisioning state of the resource.

class azure.mgmt.network.v2019_02_01.models.DeviceProperties(*, device_vendor: Optional[str] = None, device_model: Optional[str] = None, link_speed_in_mbps: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of properties of the device.

Parameters
  • device_vendor (str) – Name of the device Vendor.

  • device_model (str) – Model of the device.

  • link_speed_in_mbps (int) – Link speed.

class azure.mgmt.network.v2019_02_01.models.DhGroup(value)[source]

Bases: str, enum.Enum

The DH Groups used in IKE Phase 1 for initial SA.

dh_group1 = 'DHGroup1'
dh_group14 = 'DHGroup14'
dh_group2 = 'DHGroup2'
dh_group2048 = 'DHGroup2048'
dh_group24 = 'DHGroup24'
ecp256 = 'ECP256'
ecp384 = 'ECP384'
none = 'None'
class azure.mgmt.network.v2019_02_01.models.DhcpOptions(*, dns_servers: Optional[List[str]] = None, **kwargs)[source]

Bases: msrest.serialization.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.

Parameters

dns_servers (list[str]) – The list of DNS servers IP addresses.

class azure.mgmt.network.v2019_02_01.models.Dimension(*, name: Optional[str] = None, display_name: Optional[str] = None, internal_name: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Dimension of the metric.

Parameters
  • name (str) – The name of the dimension.

  • display_name (str) – The display name of the dimension.

  • internal_name (str) – The internal name of the dimension.

class azure.mgmt.network.v2019_02_01.models.Direction(value)[source]

Bases: str, enum.Enum

The direction of the traffic.

inbound = 'Inbound'
outbound = 'Outbound'
class azure.mgmt.network.v2019_02_01.models.DnsNameAvailabilityResult(*, available: Optional[bool] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the CheckDnsNameAvailability API service call.

Parameters

available (bool) – Domain availability (True/False).

class azure.mgmt.network.v2019_02_01.models.EffectiveNetworkSecurityGroup(*, network_security_group: Optional[SubResource] = None, association: Optional[EffectiveNetworkSecurityGroupAssociation] = None, effective_security_rules: Optional[List[EffectiveNetworkSecurityRule]] = None, tag_map: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Effective network security group.

Parameters
class azure.mgmt.network.v2019_02_01.models.EffectiveNetworkSecurityGroupAssociation(*, subnet: Optional[SubResource] = None, network_interface: Optional[SubResource] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The effective network security group association.

Parameters
  • subnet (SubResource) – The ID of the subnet if assigned.

  • network_interface (SubResource) – The ID of the network interface if assigned.

class azure.mgmt.network.v2019_02_01.models.EffectiveNetworkSecurityGroupListResult(*, value: Optional[List[EffectiveNetworkSecurityGroup]] = None, **kwargs)[source]

Bases: msrest.serialization.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.

Parameters

value (list[EffectiveNetworkSecurityGroup]) – A list of effective network security groups.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.EffectiveNetworkSecurityRule(*, name: Optional[str] = None, protocol: Optional[Union[str, EffectiveSecurityRuleProtocol]] = None, source_port_range: Optional[str] = None, destination_port_range: Optional[str] = None, source_port_ranges: Optional[List[str]] = None, destination_port_ranges: Optional[List[str]] = None, source_address_prefix: Optional[str] = None, destination_address_prefix: Optional[str] = None, source_address_prefixes: Optional[List[str]] = None, destination_address_prefixes: Optional[List[str]] = None, expanded_source_address_prefix: Optional[List[str]] = None, expanded_destination_address_prefix: Optional[List[str]] = None, access: Optional[Union[str, SecurityRuleAccess]] = None, priority: Optional[int] = None, direction: Optional[Union[str, SecurityRuleDirection]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Effective network security rules.

Parameters
  • name (str) – The name of the security rule specified by the user (if created by the user).

  • protocol (str or EffectiveSecurityRuleProtocol) – The network protocol this rule applies to. Possible values are: ‘Tcp’, ‘Udp’, and ‘All’. Possible values include: “Tcp”, “Udp”, “All”.

  • source_port_range (str) – The source port or range.

  • destination_port_range (str) – The destination port or range.

  • source_port_ranges (list[str]) – The source port ranges. Expected values include a single integer between 0 and 65535, a range using ‘-‘ as separator (e.g. 100-400), or an asterisk (*).

  • destination_port_ranges (list[str]) – The destination port ranges. Expected values include a single integer between 0 and 65535, a range using ‘-‘ as separator (e.g. 100-400), or an asterisk (*).

  • source_address_prefix (str) – The source address prefix.

  • destination_address_prefix (str) – The destination address prefix.

  • source_address_prefixes (list[str]) – The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).

  • destination_address_prefixes (list[str]) – The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).

  • expanded_source_address_prefix (list[str]) – The expanded source address prefix.

  • expanded_destination_address_prefix (list[str]) – Expanded destination address prefix.

  • access (str or SecurityRuleAccess) – Whether network traffic is allowed or denied. Possible values include: “Allow”, “Deny”.

  • priority (int) – The priority of the rule.

  • direction (str or SecurityRuleDirection) – The direction of the rule. Possible values include: “Inbound”, “Outbound”.

class azure.mgmt.network.v2019_02_01.models.EffectiveRoute(*, name: Optional[str] = None, disable_bgp_route_propagation: Optional[bool] = None, source: Optional[Union[str, EffectiveRouteSource]] = None, state: Optional[Union[str, EffectiveRouteState]] = None, address_prefix: Optional[List[str]] = None, next_hop_ip_address: Optional[List[str]] = None, next_hop_type: Optional[Union[str, RouteNextHopType]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Effective Route.

Parameters
  • name (str) – The name of the user defined route. This is optional.

  • disable_bgp_route_propagation (bool) – If true, on-premises routes are not propagated to the network interfaces in the subnet.

  • source (str or EffectiveRouteSource) – Who created the route. Possible values are: ‘Unknown’, ‘User’, ‘VirtualNetworkGateway’, and ‘Default’. Possible values include: “Unknown”, “User”, “VirtualNetworkGateway”, “Default”.

  • state (str or EffectiveRouteState) – The value of effective route. Possible values are: ‘Active’ and ‘Invalid’. Possible values include: “Active”, “Invalid”.

  • address_prefix (list[str]) – The address prefixes of the effective routes in CIDR notation.

  • next_hop_ip_address (list[str]) – The IP address of the next hop of the effective route.

  • next_hop_type (str or RouteNextHopType) – The type of Azure hop the packet should be sent to. Possible values include: “VirtualNetworkGateway”, “VnetLocal”, “Internet”, “VirtualAppliance”, “None”.

class azure.mgmt.network.v2019_02_01.models.EffectiveRouteListResult(*, value: Optional[List[EffectiveRoute]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for list effective route API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[EffectiveRoute]) – A list of effective routes.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.EffectiveRouteSource(value)[source]

Bases: str, enum.Enum

Who created the route. Possible values are: ‘Unknown’, ‘User’, ‘VirtualNetworkGateway’, and ‘Default’.

default = 'Default'
unknown = 'Unknown'
user = 'User'
virtual_network_gateway = 'VirtualNetworkGateway'
class azure.mgmt.network.v2019_02_01.models.EffectiveRouteState(value)[source]

Bases: str, enum.Enum

The value of effective route. Possible values are: ‘Active’ and ‘Invalid’.

active = 'Active'
invalid = 'Invalid'
class azure.mgmt.network.v2019_02_01.models.EffectiveSecurityRuleProtocol(value)[source]

Bases: str, enum.Enum

The network protocol this rule applies to. Possible values are: ‘Tcp’, ‘Udp’, and ‘All’.

all = 'All'
tcp = 'Tcp'
udp = 'Udp'
class azure.mgmt.network.v2019_02_01.models.EndpointService(*, id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Identifies the service being brought into the virtual network.

Parameters

id (str) – A unique identifier of the service being referenced by the interface endpoint.

class azure.mgmt.network.v2019_02_01.models.EndpointServiceResult(*, id: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Endpoint service.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

id (str) – Resource ID.

Variables
  • name (str) – Name of the endpoint service.

  • type (str) – Type of the endpoint service.

class azure.mgmt.network.v2019_02_01.models.EndpointServicesListResult(*, value: Optional[List[EndpointServiceResult]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the ListAvailableEndpointServices API service call.

Parameters
  • value (list[EndpointServiceResult]) – List of available endpoint services in a region.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.Error(*, code: Optional[str] = None, message: Optional[str] = None, target: Optional[str] = None, details: Optional[List[ErrorDetails]] = None, inner_error: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Common error representation.

Parameters
  • code (str) – Error code.

  • message (str) – Error message.

  • target (str) – Error target.

  • details (list[ErrorDetails]) – Error details.

  • inner_error (str) – Inner error message.

class azure.mgmt.network.v2019_02_01.models.ErrorDetails(*, code: Optional[str] = None, target: Optional[str] = None, message: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Common error details representation.

Parameters
  • code (str) – Error code.

  • target (str) – Error target.

  • message (str) – Error message.

class azure.mgmt.network.v2019_02_01.models.ErrorResponse(*, error: Optional[ErrorDetails] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The error object.

Parameters

error (ErrorDetails) – The error details object.

class azure.mgmt.network.v2019_02_01.models.EvaluatedNetworkSecurityGroup(*, network_security_group_id: Optional[str] = None, applied_to: Optional[str] = None, matched_rule: Optional[MatchedRule] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Results of network security group evaluation.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • network_security_group_id (str) – Network security group ID.

  • applied_to (str) – Resource ID of nic or subnet to which network security group is applied.

  • matched_rule (MatchedRule) – Matched network security rule.

Variables

rules_evaluation_result (list[NetworkSecurityRulesEvaluationResult]) – List of network security rules evaluation results.

class azure.mgmt.network.v2019_02_01.models.EvaluationState(value)[source]

Bases: str, enum.Enum

Connectivity analysis evaluation state.

completed = 'Completed'
in_progress = 'InProgress'
not_started = 'NotStarted'
class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuit(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, sku: Optional[ExpressRouteCircuitSku] = None, allow_classic_operations: Optional[bool] = None, circuit_provisioning_state: Optional[str] = None, service_provider_provisioning_state: Optional[Union[str, ServiceProviderProvisioningState]] = None, authorizations: Optional[List[ExpressRouteCircuitAuthorization]] = None, peerings: Optional[List[ExpressRouteCircuitPeering]] = None, service_key: Optional[str] = None, service_provider_notes: Optional[str] = None, service_provider_properties: Optional[ExpressRouteCircuitServiceProviderProperties] = None, express_route_port: Optional[SubResource] = None, bandwidth_in_gbps: Optional[float] = None, provisioning_state: Optional[str] = None, gateway_manager_etag: Optional[str] = None, global_reach_enabled: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

ExpressRouteCircuit resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • sku (ExpressRouteCircuitSku) – The SKU.

  • allow_classic_operations (bool) – Allow classic operations.

  • circuit_provisioning_state (str) – The CircuitProvisioningState state of the resource.

  • service_provider_provisioning_state (str or ServiceProviderProvisioningState) – The ServiceProviderProvisioningState state of the resource. Possible values include: “NotProvisioned”, “Provisioning”, “Provisioned”, “Deprovisioning”.

  • authorizations (list[ExpressRouteCircuitAuthorization]) – The list of authorizations.

  • peerings (list[ExpressRouteCircuitPeering]) – The list of peerings.

  • service_key (str) – The ServiceKey.

  • service_provider_notes (str) – The ServiceProviderNotes.

  • service_provider_properties (ExpressRouteCircuitServiceProviderProperties) – The ServiceProviderProperties.

  • express_route_port (SubResource) – The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource.

  • bandwidth_in_gbps (float) – The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource.

  • provisioning_state (str) – Gets the provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

  • gateway_manager_etag (str) – The GatewayManager Etag.

  • global_reach_enabled (bool) – Flag denoting Global reach status.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • stag (int) – The identifier of the circuit traffic. Outer tag for QinQ encapsulation.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitArpTable(*, age: Optional[int] = None, interface: Optional[str] = None, ip_address: Optional[str] = None, mac_address: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The ARP table associated with the ExpressRouteCircuit.

Parameters
  • age (int) – Entry age in minutes.

  • interface (str) – Interface address.

  • ip_address (str) – The IP address.

  • mac_address (str) – The MAC address.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitAuthorization(*, id: Optional[str] = None, name: Optional[str] = None, authorization_key: Optional[str] = None, authorization_use_status: Optional[Union[str, AuthorizationUseStatus]] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Authorization in an ExpressRouteCircuit resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Gets name of the resource that is unique within a resource group. This name can be used to access the resource.

  • authorization_key (str) – The authorization key.

  • authorization_use_status (str or AuthorizationUseStatus) – AuthorizationUseStatus. Possible values are: ‘Available’ and ‘InUse’. Possible values include: “Available”, “InUse”.

  • provisioning_state (str) – Gets the provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

Variables

etag (str) – A unique read-only string that changes whenever the resource is updated.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitConnection(*, id: Optional[str] = None, name: Optional[str] = None, express_route_circuit_peering: Optional[SubResource] = None, peer_express_route_circuit_peering: Optional[SubResource] = None, address_prefix: Optional[str] = None, authorization_key: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Gets name of the resource that is unique within a resource group. This name can be used to access the resource.

  • express_route_circuit_peering (SubResource) – Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.

  • peer_express_route_circuit_peering (SubResource) – Reference to Express Route Circuit Private Peering Resource of the peered circuit.

  • address_prefix (str) – /29 IP address space to carve out Customer addresses for tunnels.

  • authorization_key (str) – The authorization key.

Variables
  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • circuit_connection_status (str or CircuitConnectionStatus) – Express Route Circuit connection state. Possible values include: “Connected”, “Connecting”, “Disconnected”.

  • provisioning_state (str) – Provisioning state of the circuit connection resource. Possible values are: ‘Succeeded’, ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitConnectionListResult(*, value: Optional[List[ExpressRouteCircuitConnection]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit.

Parameters
  • value (list[ExpressRouteCircuitConnection]) – The global reach connection associated with Private Peering in an ExpressRoute Circuit.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitListResult(*, value: Optional[List[ExpressRouteCircuit]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListExpressRouteCircuit API service call.

Parameters
  • value (list[ExpressRouteCircuit]) – A list of ExpressRouteCircuits in a resource group.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitPeering(*, id: Optional[str] = None, name: Optional[str] = None, peering_type: Optional[Union[str, ExpressRoutePeeringType]] = None, state: Optional[Union[str, ExpressRoutePeeringState]] = None, azure_asn: Optional[int] = None, peer_asn: Optional[int] = None, primary_peer_address_prefix: Optional[str] = None, secondary_peer_address_prefix: Optional[str] = None, primary_azure_port: Optional[str] = None, secondary_azure_port: Optional[str] = None, shared_key: Optional[str] = None, vlan_id: Optional[int] = None, microsoft_peering_config: Optional[ExpressRouteCircuitPeeringConfig] = None, stats: Optional[ExpressRouteCircuitStats] = None, provisioning_state: Optional[str] = None, gateway_manager_etag: Optional[str] = None, last_modified_by: Optional[str] = None, route_filter: Optional[RouteFilter] = None, ipv6_peering_config: Optional[Ipv6ExpressRouteCircuitPeeringConfig] = None, express_route_connection: Optional[ExpressRouteConnectionId] = None, connections: Optional[List[ExpressRouteCircuitConnection]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Peering in an ExpressRouteCircuit resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Gets name of the resource that is unique within a resource group. This name can be used to access the resource.

  • peering_type (str or ExpressRoutePeeringType) – The peering type. Possible values include: “AzurePublicPeering”, “AzurePrivatePeering”, “MicrosoftPeering”.

  • state (str or ExpressRoutePeeringState) – The peering state. Possible values include: “Disabled”, “Enabled”.

  • azure_asn (int) – The Azure ASN.

  • peer_asn (long) – The peer ASN.

  • primary_peer_address_prefix (str) – The primary address prefix.

  • secondary_peer_address_prefix (str) – The secondary address prefix.

  • primary_azure_port (str) – The primary port.

  • secondary_azure_port (str) – The secondary port.

  • shared_key (str) – The shared key.

  • vlan_id (int) – The VLAN ID.

  • microsoft_peering_config (ExpressRouteCircuitPeeringConfig) – The Microsoft peering configuration.

  • stats (ExpressRouteCircuitStats) – Gets peering stats.

  • provisioning_state (str) – Gets the provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

  • gateway_manager_etag (str) – The GatewayManager Etag.

  • last_modified_by (str) – Gets whether the provider or the customer last modified the peering.

  • route_filter (RouteFilter) – The reference of the RouteFilter resource.

  • ipv6_peering_config (Ipv6ExpressRouteCircuitPeeringConfig) – The IPv6 peering configuration.

  • express_route_connection (ExpressRouteConnectionId) – The ExpressRoute connection.

  • connections (list[ExpressRouteCircuitConnection]) – The list of circuit connections associated with Azure Private Peering for this circuit.

Variables
  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • peered_connections (list[PeerExpressRouteCircuitConnection]) – The list of peered circuit connections associated with Azure Private Peering for this circuit.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitPeeringAdvertisedPublicPrefixState(value)[source]

Bases: str, enum.Enum

AdvertisedPublicPrefixState of the Peering resource. Possible values are ‘NotConfigured’, ‘Configuring’, ‘Configured’, and ‘ValidationNeeded’.

configured = 'Configured'
configuring = 'Configuring'
not_configured = 'NotConfigured'
validation_needed = 'ValidationNeeded'
class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitPeeringConfig(*, advertised_public_prefixes: Optional[List[str]] = None, advertised_communities: Optional[List[str]] = None, advertised_public_prefixes_state: Optional[Union[str, ExpressRouteCircuitPeeringAdvertisedPublicPrefixState]] = None, legacy_mode: Optional[int] = None, customer_asn: Optional[int] = None, routing_registry_name: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Specifies the peering configuration.

Parameters
  • advertised_public_prefixes (list[str]) – The reference of AdvertisedPublicPrefixes.

  • advertised_communities (list[str]) – The communities of bgp peering. Specified for microsoft peering.

  • advertised_public_prefixes_state (str or ExpressRouteCircuitPeeringAdvertisedPublicPrefixState) – AdvertisedPublicPrefixState of the Peering resource. Possible values are ‘NotConfigured’, ‘Configuring’, ‘Configured’, and ‘ValidationNeeded’. Possible values include: “NotConfigured”, “Configuring”, “Configured”, “ValidationNeeded”.

  • legacy_mode (int) – The legacy mode of the peering.

  • customer_asn (int) – The CustomerASN of the peering.

  • routing_registry_name (str) – The RoutingRegistryName of the configuration.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitPeeringId(*, id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

ExpressRoute circuit peering identifier.

Parameters

id (str) – The ID of the ExpressRoute circuit peering.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitPeeringListResult(*, value: Optional[List[ExpressRouteCircuitPeering]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit.

Parameters
class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitPeeringState(value)[source]

Bases: str, enum.Enum

The state of peering. Possible values are: ‘Disabled’ and ‘Enabled’

disabled = 'Disabled'
enabled = 'Enabled'
class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitReference(*, id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Reference to an express route circuit.

Parameters

id (str) – Corresponding Express Route Circuit Id.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitRoutesTable(*, network: Optional[str] = None, next_hop: Optional[str] = None, loc_prf: Optional[str] = None, weight: Optional[int] = None, path: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The routes table associated with the ExpressRouteCircuit.

Parameters
  • network (str) – IP address of a network entity.

  • next_hop (str) – NextHop address.

  • loc_prf (str) – Local preference value as set with the set local-preference route-map configuration command.

  • weight (int) – Route Weight.

  • path (str) – Autonomous system paths to the destination network.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitRoutesTableSummary(*, neighbor: Optional[str] = None, v: Optional[int] = None, as_property: Optional[int] = None, up_down: Optional[str] = None, state_pfx_rcd: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The routes table associated with the ExpressRouteCircuit.

Parameters
  • neighbor (str) – IP address of the neighbor.

  • v (int) – BGP version number spoken to the neighbor.

  • as_property (int) – Autonomous system number.

  • up_down (str) – The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.

  • state_pfx_rcd (str) – Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitServiceProviderProperties(*, service_provider_name: Optional[str] = None, peering_location: Optional[str] = None, bandwidth_in_mbps: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Contains ServiceProviderProperties in an ExpressRouteCircuit.

Parameters
  • service_provider_name (str) – The serviceProviderName.

  • peering_location (str) – The peering location.

  • bandwidth_in_mbps (int) – The BandwidthInMbps.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitSku(*, name: Optional[str] = None, tier: Optional[Union[str, ExpressRouteCircuitSkuTier]] = None, family: Optional[Union[str, ExpressRouteCircuitSkuFamily]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Contains SKU in an ExpressRouteCircuit.

Parameters
  • name (str) – The name of the SKU.

  • tier (str or ExpressRouteCircuitSkuTier) – The tier of the SKU. Possible values are ‘Standard’, ‘Premium’ or ‘Local’. Possible values include: “Standard”, “Premium”, “Basic”, “Local”.

  • family (str or ExpressRouteCircuitSkuFamily) – The family of the SKU. Possible values are: ‘UnlimitedData’ and ‘MeteredData’. Possible values include: “UnlimitedData”, “MeteredData”.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitSkuFamily(value)[source]

Bases: str, enum.Enum

The family of the SKU. Possible values are: ‘UnlimitedData’ and ‘MeteredData’.

metered_data = 'MeteredData'
unlimited_data = 'UnlimitedData'
class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitSkuTier(value)[source]

Bases: str, enum.Enum

The tier of the SKU. Possible values are ‘Standard’, ‘Premium’ or ‘Local’.

basic = 'Basic'
local = 'Local'
premium = 'Premium'
standard = 'Standard'
class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitStats(*, primarybytes_in: Optional[int] = None, primarybytes_out: Optional[int] = None, secondarybytes_in: Optional[int] = None, secondarybytes_out: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Contains stats associated with the peering.

Parameters
  • primarybytes_in (long) – Gets BytesIn of the peering.

  • primarybytes_out (long) – Gets BytesOut of the peering.

  • secondarybytes_in (long) – Gets BytesIn of the peering.

  • secondarybytes_out (long) – Gets BytesOut of the peering.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitsArpTableListResult(*, value: Optional[List[ExpressRouteCircuitArpTable]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListArpTable associated with the Express Route Circuits API.

Parameters
class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitsRoutesTableListResult(*, value: Optional[List[ExpressRouteCircuitRoutesTable]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListRoutesTable associated with the Express Route Circuits API.

Parameters
class azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitsRoutesTableSummaryListResult(*, value: Optional[List[ExpressRouteCircuitRoutesTableSummary]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListRoutesTable associated with the Express Route Circuits API.

Parameters
class azure.mgmt.network.v2019_02_01.models.ExpressRouteConnection(*, name: str, id: Optional[str] = None, express_route_circuit_peering: Optional[ExpressRouteCircuitPeeringId] = None, authorization_key: Optional[str] = None, routing_weight: Optional[int] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

ExpressRouteConnection resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Parameters
  • id (str) – Resource ID.

  • name (str) – Required. The name of the resource.

  • express_route_circuit_peering (ExpressRouteCircuitPeeringId) – The ExpressRoute circuit peering.

  • authorization_key (str) – Authorization key to establish the connection.

  • routing_weight (int) – The routing weight associated to the connection.

Variables

provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteConnectionId(**kwargs)[source]

Bases: msrest.serialization.Model

The ID of the ExpressRouteConnection.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

id (str) – The ID of the ExpressRouteConnection.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteConnectionList(*, value: Optional[List[ExpressRouteConnection]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

ExpressRouteConnection list.

Parameters

value (list[ExpressRouteConnection]) – The list of ExpressRoute connections.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCrossConnection(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, peering_location: Optional[str] = None, bandwidth_in_mbps: Optional[int] = None, express_route_circuit: Optional[ExpressRouteCircuitReference] = None, service_provider_provisioning_state: Optional[Union[str, ServiceProviderProvisioningState]] = None, service_provider_notes: Optional[str] = None, peerings: Optional[List[ExpressRouteCrossConnectionPeering]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

ExpressRouteCrossConnection resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • peering_location (str) – The peering location of the ExpressRoute circuit.

  • bandwidth_in_mbps (int) – The circuit bandwidth In Mbps.

  • express_route_circuit (ExpressRouteCircuitReference) – The ExpressRouteCircuit.

  • service_provider_provisioning_state (str or ServiceProviderProvisioningState) – The provisioning state of the circuit in the connectivity provider system. Possible values include: “NotProvisioned”, “Provisioning”, “Provisioned”, “Deprovisioning”.

  • service_provider_notes (str) – Additional read only notes set by the connectivity provider.

  • peerings (list[ExpressRouteCrossConnectionPeering]) – The list of peerings.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • primary_azure_port (str) – The name of the primary port.

  • secondary_azure_port (str) – The name of the secondary port.

  • s_tag (int) – The identifier of the circuit traffic.

  • provisioning_state (str) – Gets the provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCrossConnectionListResult(*, value: Optional[List[ExpressRouteCrossConnection]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListExpressRouteCrossConnection API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[ExpressRouteCrossConnection]) – A list of ExpressRouteCrossConnection resources.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCrossConnectionPeering(*, id: Optional[str] = None, name: Optional[str] = None, peering_type: Optional[Union[str, ExpressRoutePeeringType]] = None, state: Optional[Union[str, ExpressRoutePeeringState]] = None, peer_asn: Optional[int] = None, primary_peer_address_prefix: Optional[str] = None, secondary_peer_address_prefix: Optional[str] = None, shared_key: Optional[str] = None, vlan_id: Optional[int] = None, microsoft_peering_config: Optional[ExpressRouteCircuitPeeringConfig] = None, gateway_manager_etag: Optional[str] = None, last_modified_by: Optional[str] = None, ipv6_peering_config: Optional[Ipv6ExpressRouteCircuitPeeringConfig] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Peering in an ExpressRoute Cross Connection resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Gets name of the resource that is unique within a resource group. This name can be used to access the resource.

  • peering_type (str or ExpressRoutePeeringType) – The peering type. Possible values include: “AzurePublicPeering”, “AzurePrivatePeering”, “MicrosoftPeering”.

  • state (str or ExpressRoutePeeringState) – The peering state. Possible values include: “Disabled”, “Enabled”.

  • peer_asn (long) – The peer ASN.

  • primary_peer_address_prefix (str) – The primary address prefix.

  • secondary_peer_address_prefix (str) – The secondary address prefix.

  • shared_key (str) – The shared key.

  • vlan_id (int) – The VLAN ID.

  • microsoft_peering_config (ExpressRouteCircuitPeeringConfig) – The Microsoft peering configuration.

  • gateway_manager_etag (str) – The GatewayManager Etag.

  • last_modified_by (str) – Gets whether the provider or the customer last modified the peering.

  • ipv6_peering_config (Ipv6ExpressRouteCircuitPeeringConfig) – The IPv6 peering configuration.

Variables
  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • azure_asn (int) – The Azure ASN.

  • primary_azure_port (str) – The primary port.

  • secondary_azure_port (str) – The secondary port.

  • provisioning_state (str) – Gets the provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCrossConnectionPeeringList(*, value: Optional[List[ExpressRouteCrossConnectionPeering]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[ExpressRouteCrossConnectionPeering]) – The peerings in an express route cross connection.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCrossConnectionRoutesTableSummary(*, neighbor: Optional[str] = None, asn: Optional[int] = None, up_down: Optional[str] = None, state_or_prefixes_received: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The routes table associated with the ExpressRouteCircuit.

Parameters
  • neighbor (str) – IP address of Neighbor router.

  • asn (int) – Autonomous system number.

  • up_down (str) – The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.

  • state_or_prefixes_received (str) – Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult(*, value: Optional[List[ExpressRouteCrossConnectionRoutesTableSummary]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListRoutesTable associated with the Express Route Cross Connections.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[ExpressRouteCrossConnectionRoutesTableSummary]) – A list of the routes table.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteGateway(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, auto_scale_configuration: Optional[ExpressRouteGatewayPropertiesAutoScaleConfiguration] = None, virtual_hub: Optional[VirtualHubId] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

ExpressRoute gateway resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • express_route_connections (list[ExpressRouteConnection]) – List of ExpressRoute connections to the ExpressRoute gateway.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteGatewayList(*, value: Optional[List[ExpressRouteGateway]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of ExpressRoute gateways.

Parameters

value (list[ExpressRouteGateway]) – List of ExpressRoute gateways.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration(*, bounds: Optional[ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Configuration for auto scaling.

Parameters

bounds (ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds) – Minimum and maximum number of scale units to deploy.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds(*, min: Optional[int] = None, max: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Minimum and maximum number of scale units to deploy.

Parameters
  • min (int) – Minimum number of scale units deployed for ExpressRoute gateway.

  • max (int) – Maximum number of scale units deployed for ExpressRoute gateway.

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

ExpressRouteLink child resource definition.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of child port resource that is unique among child port resources of the parent.

  • admin_state (str or ExpressRouteLinkAdminState) – Administrative state of the physical port. Possible values include: “Enabled”, “Disabled”.

Variables
  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • router_name (str) – Name of Azure router associated with physical port.

  • interface_name (str) – Name of Azure router interface.

  • patch_panel_id (str) – Mapping between physical port to patch panel port.

  • rack_id (str) – Mapping of physical patch panel to rack.

  • connector_type (str or ExpressRouteLinkConnectorType) – Physical fiber port type. Possible values include: “LC”, “SC”.

  • provisioning_state (str) – The provisioning state of the ExpressRouteLink resource. Possible values are: ‘Succeeded’, ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteLinkAdminState(value)[source]

Bases: str, enum.Enum

Administrative state of the physical port

disabled = 'Disabled'
enabled = 'Enabled'
class azure.mgmt.network.v2019_02_01.models.ExpressRouteLinkConnectorType(value)[source]

Bases: str, enum.Enum

Physical fiber port type.

lc = 'LC'
sc = 'SC'
class azure.mgmt.network.v2019_02_01.models.ExpressRouteLinkListResult(*, value: Optional[List[ExpressRouteLink]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListExpressRouteLinks API service call.

Parameters
  • value (list[ExpressRouteLink]) – The list of ExpressRouteLink sub-resources.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.ExpressRoutePeeringState(value)[source]

Bases: str, enum.Enum

The state of peering. Possible values are: ‘Disabled’ and ‘Enabled’

disabled = 'Disabled'
enabled = 'Enabled'
class azure.mgmt.network.v2019_02_01.models.ExpressRoutePeeringType(value)[source]

Bases: str, enum.Enum

The PeeringType. Possible values are: ‘AzurePublicPeering’, ‘AzurePrivatePeering’, and ‘MicrosoftPeering’.

azure_private_peering = 'AzurePrivatePeering'
azure_public_peering = 'AzurePublicPeering'
microsoft_peering = 'MicrosoftPeering'
class azure.mgmt.network.v2019_02_01.models.ExpressRoutePort(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, peering_location: Optional[str] = None, bandwidth_in_gbps: Optional[int] = None, encapsulation: Optional[Union[str, ExpressRoutePortsEncapsulation]] = None, links: Optional[List[ExpressRouteLink]] = None, resource_guid: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

ExpressRoutePort resource definition.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • peering_location (str) – The name of the peering location that the ExpressRoutePort is mapped to physically.

  • bandwidth_in_gbps (int) – Bandwidth of procured ports in Gbps.

  • encapsulation (str or ExpressRoutePortsEncapsulation) – Encapsulation method on physical ports. Possible values include: “Dot1Q”, “QinQ”.

  • links (list[ExpressRouteLink]) – The set of physical links of the ExpressRoutePort resource.

  • resource_guid (str) – The resource GUID property of the ExpressRoutePort resource.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • provisioned_bandwidth_in_gbps (float) – Aggregate Gbps of associated circuit bandwidths.

  • mtu (str) – Maximum transmission unit of the physical port pair(s).

  • ether_type (str) – Ether type of the physical port.

  • allocation_date (str) – Date of the physical port allocation to be used in Letter of Authorization.

  • circuits (list[SubResource]) – Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.

  • provisioning_state (str) – The provisioning state of the ExpressRoutePort resource. Possible values are: ‘Succeeded’, ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ExpressRoutePortListResult(*, value: Optional[List[ExpressRoutePort]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListExpressRoutePorts API service call.

Parameters
  • value (list[ExpressRoutePort]) – A list of ExpressRoutePort resources.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.ExpressRoutePortsEncapsulation(value)[source]

Bases: str, enum.Enum

Encapsulation method on physical ports.

dot1_q = 'Dot1Q'
qin_q = 'QinQ'
class azure.mgmt.network.v2019_02_01.models.ExpressRoutePortsLocation(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, available_bandwidths: Optional[List[ExpressRoutePortsLocationBandwidths]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Definition of the ExpressRoutePorts peering location resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • address (str) – Address of peering location.

  • contact (str) – Contact details of peering locations.

  • provisioning_state (str) – The provisioning state of the ExpressRoutePortLocation resource. Possible values are: ‘Succeeded’, ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ExpressRoutePortsLocationBandwidths(**kwargs)[source]

Bases: msrest.serialization.Model

Real-time inventory of available ExpressRoute port bandwidths.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • offer_name (str) – Bandwidth descriptive name.

  • value_in_gbps (int) – Bandwidth value in Gbps.

class azure.mgmt.network.v2019_02_01.models.ExpressRoutePortsLocationListResult(*, value: Optional[List[ExpressRoutePortsLocation]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListExpressRoutePortsLocations API service call.

Parameters
class azure.mgmt.network.v2019_02_01.models.ExpressRouteServiceProvider(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, peering_locations: Optional[List[str]] = None, bandwidths_offered: Optional[List[ExpressRouteServiceProviderBandwidthsOffered]] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

A ExpressRouteResourceProvider object.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
Variables
class azure.mgmt.network.v2019_02_01.models.ExpressRouteServiceProviderBandwidthsOffered(*, offer_name: Optional[str] = None, value_in_mbps: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Contains bandwidths offered in ExpressRouteServiceProvider resources.

Parameters
  • offer_name (str) – The OfferName.

  • value_in_mbps (int) – The ValueInMbps.

class azure.mgmt.network.v2019_02_01.models.ExpressRouteServiceProviderListResult(*, value: Optional[List[ExpressRouteServiceProvider]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the ListExpressRouteServiceProvider API service call.

Parameters
class azure.mgmt.network.v2019_02_01.models.FlowLogFormatParameters(*, version: Optional[int] = 0, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the flow log format.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

type (str) – The file type of flow log. Default value: “JSON”.

Parameters

version (int) – The version (revision) of the flow log.

type = 'JSON'
class azure.mgmt.network.v2019_02_01.models.FlowLogInformation(*, target_resource_id: str, storage_id: str, enabled: bool, flow_analytics_configuration: Optional[TrafficAnalyticsProperties] = None, retention_policy: Optional[RetentionPolicyParameters] = None, format: Optional[FlowLogFormatParameters] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Information on the configuration of flow log and traffic analytics (optional) .

All required parameters must be populated in order to send to Azure.

Parameters
  • target_resource_id (str) – Required. The ID of the resource to configure for flow log and traffic analytics (optional) .

  • flow_analytics_configuration (TrafficAnalyticsProperties) – Parameters that define the configuration of traffic analytics.

  • storage_id (str) – Required. ID of the storage account which is used to store the flow log.

  • enabled (bool) – Required. Flag to enable/disable flow logging.

  • retention_policy (RetentionPolicyParameters) – Parameters that define the retention policy for flow log.

  • format (FlowLogFormatParameters) – Parameters that define the flow log format.

class azure.mgmt.network.v2019_02_01.models.FlowLogStatusParameters(*, target_resource_id: str, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define a resource to query flow log and traffic analytics (optional) status.

All required parameters must be populated in order to send to Azure.

Parameters

target_resource_id (str) – Required. The target resource where getting the flow log and traffic analytics (optional) status.

class azure.mgmt.network.v2019_02_01.models.FrontendIPConfiguration(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, zones: Optional[List[str]] = None, private_ip_address: Optional[str] = None, private_ip_allocation_method: Optional[Union[str, IPAllocationMethod]] = None, subnet: Optional[Subnet] = None, public_ip_address: Optional[PublicIPAddress] = None, public_ip_prefix: Optional[SubResource] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Frontend IP address of the load balancer.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • zones (list[str]) – A list of availability zones denoting the IP allocated for the resource needs to come from.

  • private_ip_address (str) – The private IP address of the IP configuration.

  • private_ip_allocation_method (str or IPAllocationMethod) – The Private IP allocation method. Possible values include: “Static”, “Dynamic”.

  • subnet (Subnet) – The reference of the subnet resource.

  • public_ip_address (PublicIPAddress) – The reference of the Public IP resource.

  • public_ip_prefix (SubResource) – The reference of the Public IP Prefix resource.

  • provisioning_state (str) – Gets the provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

Variables
  • inbound_nat_rules (list[SubResource]) – Read only. Inbound rules URIs that use this frontend IP.

  • inbound_nat_pools (list[SubResource]) – Read only. Inbound pools URIs that use this frontend IP.

  • outbound_rules (list[SubResource]) – Read only. Outbound rules URIs that use this frontend IP.

  • load_balancing_rules (list[SubResource]) – Gets load balancing rules URIs that use this frontend IP.

class azure.mgmt.network.v2019_02_01.models.GatewayRoute(**kwargs)[source]

Bases: msrest.serialization.Model

Gateway routing details.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • local_address (str) – The gateway’s local address.

  • network (str) – The route’s network prefix.

  • next_hop (str) – The route’s next hop.

  • source_peer (str) – The peer this route was learned from.

  • origin (str) – The source this route was learned from.

  • as_path (str) – The route’s AS path sequence.

  • weight (int) – The route’s weight.

class azure.mgmt.network.v2019_02_01.models.GatewayRouteListResult(*, value: Optional[List[GatewayRoute]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of virtual network gateway routes.

Parameters

value (list[GatewayRoute]) – List of gateway routes.

class azure.mgmt.network.v2019_02_01.models.GetVpnSitesConfigurationRequest(*, output_blob_sas_url: str, vpn_sites: Optional[List[str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of Vpn-Sites.

All required parameters must be populated in order to send to Azure.

Parameters
  • vpn_sites (list[str]) – List of resource-ids of the vpn-sites for which config is to be downloaded.

  • output_blob_sas_url (str) – Required. The sas-url to download the configurations for vpn-sites.

class azure.mgmt.network.v2019_02_01.models.HTTPConfiguration(*, headers: Optional[List[HTTPHeader]] = None, valid_status_codes: Optional[List[int]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

HTTP configuration of the connectivity check.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

method (str) – HTTP method. Default value: “Get”.

Parameters
  • headers (list[HTTPHeader]) – List of HTTP headers.

  • valid_status_codes (list[int]) – Valid status codes.

method = 'Get'
class azure.mgmt.network.v2019_02_01.models.HTTPHeader(*, name: Optional[str] = None, value: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Describes the HTTP header.

Parameters
  • name (str) – The name in HTTP header.

  • value (str) – The value in HTTP header.

class azure.mgmt.network.v2019_02_01.models.HubVirtualNetworkConnection(*, id: Optional[str] = None, name: Optional[str] = None, remote_virtual_network: Optional[SubResource] = None, allow_hub_to_remote_vnet_transit: Optional[bool] = None, allow_remote_vnet_to_use_hub_vnet_gateways: Optional[bool] = None, enable_internet_security: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

HubVirtualNetworkConnection Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • remote_virtual_network (SubResource) – Reference to the remote virtual network.

  • allow_hub_to_remote_vnet_transit (bool) – VirtualHub to RemoteVnet transit to enabled or not.

  • allow_remote_vnet_to_use_hub_vnet_gateways (bool) – Allow RemoteVnet to use Virtual Hub’s gateways.

  • enable_internet_security (bool) – Enable internet security.

Variables
  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.HubVirtualNetworkConnectionStatus(value)[source]

Bases: str, enum.Enum

The current state of the VirtualHub to vnet connection.

connected = 'Connected'
connecting = 'Connecting'
not_connected = 'NotConnected'
unknown = 'Unknown'
class azure.mgmt.network.v2019_02_01.models.IPAddressAvailabilityResult(*, available: Optional[bool] = None, available_ip_addresses: Optional[List[str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for CheckIPAddressAvailability API service call.

Parameters
  • available (bool) – Private IP address availability.

  • available_ip_addresses (list[str]) – Contains other available private IP addresses if the asked for address is taken.

class azure.mgmt.network.v2019_02_01.models.IPAllocationMethod(value)[source]

Bases: str, enum.Enum

IP address allocation method.

dynamic = 'Dynamic'
static = 'Static'
class azure.mgmt.network.v2019_02_01.models.IPConfiguration(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, private_ip_address: Optional[str] = None, private_ip_allocation_method: Optional[Union[str, IPAllocationMethod]] = None, subnet: Optional[Subnet] = None, public_ip_address: Optional[PublicIPAddress] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

IP configuration.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • private_ip_address (str) – The private IP address of the IP configuration.

  • private_ip_allocation_method (str or IPAllocationMethod) – The private IP address allocation method. Possible values include: “Static”, “Dynamic”.

  • subnet (Subnet) – The reference of the subnet resource.

  • public_ip_address (PublicIPAddress) – The reference of the public IP resource.

  • provisioning_state (str) – Gets the provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.IPConfigurationProfile(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, subnet: Optional[Subnet] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

IP configuration profile child resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • subnet (Subnet) – The reference of the subnet resource to create a container network interface ip configuration.

Variables
  • type (str) – Sub Resource type.

  • provisioning_state (str) – The provisioning state of the resource.

class azure.mgmt.network.v2019_02_01.models.IPVersion(value)[source]

Bases: str, enum.Enum

IP address version.

i_pv4 = 'IPv4'
i_pv6 = 'IPv6'
class azure.mgmt.network.v2019_02_01.models.IkeEncryption(value)[source]

Bases: str, enum.Enum

The IKE encryption algorithm (IKE phase 2).

aes128 = 'AES128'
aes192 = 'AES192'
aes256 = 'AES256'
des = 'DES'
des3 = 'DES3'
gcmaes128 = 'GCMAES128'
gcmaes256 = 'GCMAES256'
class azure.mgmt.network.v2019_02_01.models.IkeIntegrity(value)[source]

Bases: str, enum.Enum

The IKE integrity algorithm (IKE phase 2).

gcmaes128 = 'GCMAES128'
gcmaes256 = 'GCMAES256'
md5 = 'MD5'
sha1 = 'SHA1'
sha256 = 'SHA256'
sha384 = 'SHA384'
class azure.mgmt.network.v2019_02_01.models.InboundNatPool(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, frontend_ip_configuration: Optional[SubResource] = None, protocol: Optional[Union[str, TransportProtocol]] = None, frontend_port_range_start: Optional[int] = None, frontend_port_range_end: Optional[int] = None, backend_port: Optional[int] = None, idle_timeout_in_minutes: Optional[int] = None, enable_floating_ip: Optional[bool] = None, enable_tcp_reset: Optional[bool] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Inbound NAT pool of the load balancer.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • frontend_ip_configuration (SubResource) – A reference to frontend IP addresses.

  • protocol (str or TransportProtocol) – The reference to the transport protocol used by the inbound NAT pool. Possible values include: “Udp”, “Tcp”, “All”.

  • frontend_port_range_start (int) – 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.

  • frontend_port_range_end (int) – 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.

  • backend_port (int) – The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.

  • idle_timeout_in_minutes (int) – 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.

  • enable_floating_ip (bool) – 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.

  • enable_tcp_reset (bool) – 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.

  • provisioning_state (str) – Gets the provisioning state of the PublicIP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.InboundNatRule(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, frontend_ip_configuration: Optional[SubResource] = None, protocol: Optional[Union[str, TransportProtocol]] = None, frontend_port: Optional[int] = None, backend_port: Optional[int] = None, idle_timeout_in_minutes: Optional[int] = None, enable_floating_ip: Optional[bool] = None, enable_tcp_reset: Optional[bool] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Inbound NAT rule of the load balancer.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Gets name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • frontend_ip_configuration (SubResource) – A reference to frontend IP addresses.

  • protocol (str or TransportProtocol) – The reference to the transport protocol used by the load balancing rule. Possible values include: “Udp”, “Tcp”, “All”.

  • frontend_port (int) – 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.

  • backend_port (int) – The port used for the internal endpoint. Acceptable values range from 1 to 65535.

  • idle_timeout_in_minutes (int) – 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.

  • enable_floating_ip (bool) – 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.

  • enable_tcp_reset (bool) – 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.

  • provisioning_state (str) – Gets the provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

Variables

backend_ip_configuration (NetworkInterfaceIPConfiguration) – 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.

class azure.mgmt.network.v2019_02_01.models.InboundNatRuleListResult(*, value: Optional[List[InboundNatRule]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListInboundNatRule API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[InboundNatRule]) – A list of inbound nat rules in a load balancer.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.InterfaceEndpoint(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, fqdn: Optional[str] = None, endpoint_service: Optional[EndpointService] = None, subnet: Optional[Subnet] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Interface endpoint resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • fqdn (str) – A first-party service’s FQDN that is mapped to the private IP allocated via this interface endpoint.

  • endpoint_service (EndpointService) – A reference to the service being brought into the virtual network.

  • subnet (Subnet) – The ID of the subnet from which the private IP will be allocated.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • network_interfaces (list[NetworkInterface]) – Gets an array of references to the network interfaces created for this interface endpoint.

  • owner (str) – A read-only property that identifies who created this interface endpoint.

  • provisioning_state (str) – The provisioning state of the interface endpoint. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.InterfaceEndpointListResult(*, value: Optional[List[InterfaceEndpoint]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the ListInterfaceEndpoints API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[InterfaceEndpoint]) – Gets a list of InterfaceEndpoint resources in a resource group.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.IpFlowProtocol(value)[source]

Bases: str, enum.Enum

Protocol to be verified on.

tcp = 'TCP'
udp = 'UDP'
class azure.mgmt.network.v2019_02_01.models.IpTag(*, ip_tag_type: Optional[str] = None, tag: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Contains the IpTag associated with the object.

Parameters
  • ip_tag_type (str) – Gets or sets the ipTag type: Example FirstPartyUsage.

  • tag (str) – Gets or sets value of the IpTag associated with the public IP. Example SQL, Storage etc.

class azure.mgmt.network.v2019_02_01.models.IpsecEncryption(value)[source]

Bases: str, enum.Enum

The IPSec encryption algorithm (IKE phase 1).

aes128 = 'AES128'
aes192 = 'AES192'
aes256 = 'AES256'
des = 'DES'
des3 = 'DES3'
gcmaes128 = 'GCMAES128'
gcmaes192 = 'GCMAES192'
gcmaes256 = 'GCMAES256'
none = 'None'
class azure.mgmt.network.v2019_02_01.models.IpsecIntegrity(value)[source]

Bases: str, enum.Enum

The IPSec integrity algorithm (IKE phase 1).

gcmaes128 = 'GCMAES128'
gcmaes192 = 'GCMAES192'
gcmaes256 = 'GCMAES256'
md5 = 'MD5'
sha1 = 'SHA1'
sha256 = 'SHA256'
class azure.mgmt.network.v2019_02_01.models.IpsecPolicy(*, sa_life_time_seconds: int, sa_data_size_kilobytes: int, ipsec_encryption: Union[str, IpsecEncryption], ipsec_integrity: Union[str, IpsecIntegrity], ike_encryption: Union[str, IkeEncryption], ike_integrity: Union[str, IkeIntegrity], dh_group: Union[str, DhGroup], pfs_group: Union[str, PfsGroup], **kwargs)[source]

Bases: msrest.serialization.Model

An IPSec Policy configuration for a virtual network gateway connection.

All required parameters must be populated in order to send to Azure.

Parameters
  • sa_life_time_seconds (int) – Required. The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.

  • sa_data_size_kilobytes (int) – Required. The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.

  • ipsec_encryption (str or IpsecEncryption) – Required. The IPSec encryption algorithm (IKE phase 1). Possible values include: “None”, “DES”, “DES3”, “AES128”, “AES192”, “AES256”, “GCMAES128”, “GCMAES192”, “GCMAES256”.

  • ipsec_integrity (str or IpsecIntegrity) – Required. The IPSec integrity algorithm (IKE phase 1). Possible values include: “MD5”, “SHA1”, “SHA256”, “GCMAES128”, “GCMAES192”, “GCMAES256”.

  • ike_encryption (str or IkeEncryption) – Required. The IKE encryption algorithm (IKE phase 2). Possible values include: “DES”, “DES3”, “AES128”, “AES192”, “AES256”, “GCMAES256”, “GCMAES128”.

  • ike_integrity (str or IkeIntegrity) – Required. The IKE integrity algorithm (IKE phase 2). Possible values include: “MD5”, “SHA1”, “SHA256”, “SHA384”, “GCMAES256”, “GCMAES128”.

  • dh_group (str or DhGroup) – Required. The DH Group used in IKE Phase 1 for initial SA. Possible values include: “None”, “DHGroup1”, “DHGroup2”, “DHGroup14”, “DHGroup2048”, “ECP256”, “ECP384”, “DHGroup24”.

  • pfs_group (str or PfsGroup) – Required. The Pfs Group used in IKE Phase 2 for new child SA. Possible values include: “None”, “PFS1”, “PFS2”, “PFS2048”, “ECP256”, “ECP384”, “PFS24”, “PFS14”, “PFSMM”.

class azure.mgmt.network.v2019_02_01.models.Ipv6ExpressRouteCircuitPeeringConfig(*, primary_peer_address_prefix: Optional[str] = None, secondary_peer_address_prefix: Optional[str] = None, microsoft_peering_config: Optional[ExpressRouteCircuitPeeringConfig] = None, route_filter: Optional[RouteFilter] = None, state: Optional[Union[str, ExpressRouteCircuitPeeringState]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Contains IPv6 peering config.

Parameters
  • primary_peer_address_prefix (str) – The primary address prefix.

  • secondary_peer_address_prefix (str) – The secondary address prefix.

  • microsoft_peering_config (ExpressRouteCircuitPeeringConfig) – The Microsoft peering configuration.

  • route_filter (RouteFilter) – The reference of the RouteFilter resource.

  • state (str or ExpressRouteCircuitPeeringState) – The state of peering. Possible values are: ‘Disabled’ and ‘Enabled’. Possible values include: “Disabled”, “Enabled”.

class azure.mgmt.network.v2019_02_01.models.IssueType(value)[source]

Bases: str, enum.Enum

The type of issue.

agent_stopped = 'AgentStopped'
dns_resolution = 'DnsResolution'
guest_firewall = 'GuestFirewall'
network_security_rule = 'NetworkSecurityRule'
platform = 'Platform'
port_throttled = 'PortThrottled'
socket_bind = 'SocketBind'
unknown = 'Unknown'
user_defined_route = 'UserDefinedRoute'
class azure.mgmt.network.v2019_02_01.models.ListHubVirtualNetworkConnectionsResult(*, value: Optional[List[HubVirtualNetworkConnection]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of HubVirtualNetworkConnections and a URL nextLink to get the next set of results.

Parameters
  • value (list[HubVirtualNetworkConnection]) – List of HubVirtualNetworkConnections.

  • next_link (str) – URL to get the next set of operation list results if there are any.

class azure.mgmt.network.v2019_02_01.models.ListP2SVpnGatewaysResult(*, value: Optional[List[P2SVpnGateway]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways and a URL nextLink to get the next set of results.

Parameters
  • value (list[P2SVpnGateway]) – List of P2SVpnGateways.

  • next_link (str) – URL to get the next set of operation list results if there are any.

class azure.mgmt.network.v2019_02_01.models.ListP2SVpnServerConfigurationsResult(*, value: Optional[List[P2SVpnServerConfiguration]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Result of the request to list all P2SVpnServerConfigurations associated to a VirtualWan. It contains a list of P2SVpnServerConfigurations and a URL nextLink to get the next set of results.

Parameters
  • value (list[P2SVpnServerConfiguration]) – List of P2SVpnServerConfigurations.

  • next_link (str) – URL to get the next set of operation list results if there are any.

class azure.mgmt.network.v2019_02_01.models.ListVirtualHubsResult(*, value: Optional[List[VirtualHub]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink to get the next set of results.

Parameters
  • value (list[VirtualHub]) – List of VirtualHubs.

  • next_link (str) – URL to get the next set of operation list results if there are any.

class azure.mgmt.network.v2019_02_01.models.ListVirtualWANsResult(*, value: Optional[List[VirtualWAN]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Result of the request to list VirtualWANs. It contains a list of VirtualWANs and a URL nextLink to get the next set of results.

Parameters
  • value (list[VirtualWAN]) – List of VirtualWANs.

  • next_link (str) – URL to get the next set of operation list results if there are any.

class azure.mgmt.network.v2019_02_01.models.ListVpnConnectionsResult(*, value: Optional[List[VpnConnection]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results.

Parameters
  • value (list[VpnConnection]) – List of Vpn Connections.

  • next_link (str) – URL to get the next set of operation list results if there are any.

class azure.mgmt.network.v2019_02_01.models.ListVpnGatewaysResult(*, value: Optional[List[VpnGateway]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set of results.

Parameters
  • value (list[VpnGateway]) – List of VpnGateways.

  • next_link (str) – URL to get the next set of operation list results if there are any.

class azure.mgmt.network.v2019_02_01.models.ListVpnSitesResult(*, value: Optional[List[VpnSite]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the next set of results.

Parameters
  • value (list[VpnSite]) – List of VpnSites.

  • next_link (str) – URL to get the next set of operation list results if there are any.

class azure.mgmt.network.v2019_02_01.models.LoadBalancer(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, sku: Optional[LoadBalancerSku] = None, etag: Optional[str] = None, frontend_ip_configurations: Optional[List[FrontendIPConfiguration]] = None, backend_address_pools: Optional[List[BackendAddressPool]] = None, load_balancing_rules: Optional[List[LoadBalancingRule]] = None, probes: Optional[List[Probe]] = None, inbound_nat_rules: Optional[List[InboundNatRule]] = None, inbound_nat_pools: Optional[List[InboundNatPool]] = None, outbound_rules: Optional[List[OutboundRule]] = None, resource_guid: Optional[str] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

LoadBalancer resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • sku (LoadBalancerSku) – The load balancer SKU.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • frontend_ip_configurations (list[FrontendIPConfiguration]) – Object representing the frontend IPs to be used for the load balancer.

  • backend_address_pools (list[BackendAddressPool]) – Collection of backend address pools used by a load balancer.

  • load_balancing_rules (list[LoadBalancingRule]) – Object collection representing the load balancing rules Gets the provisioning.

  • probes (list[Probe]) – Collection of probe objects used in the load balancer.

  • inbound_nat_rules (list[InboundNatRule]) – 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.

  • inbound_nat_pools (list[InboundNatPool]) – 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.

  • outbound_rules (list[OutboundRule]) – The outbound rules.

  • resource_guid (str) – The resource GUID property of the load balancer resource.

  • provisioning_state (str) – Gets the provisioning state of the PublicIP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

Variables
class azure.mgmt.network.v2019_02_01.models.LoadBalancerBackendAddressPoolListResult(*, value: Optional[List[BackendAddressPool]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListBackendAddressPool API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[BackendAddressPool]) – A list of backend address pools in a load balancer.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.LoadBalancerFrontendIPConfigurationListResult(*, value: Optional[List[FrontendIPConfiguration]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListFrontendIPConfiguration API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[FrontendIPConfiguration]) – A list of frontend IP configurations in a load balancer.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.LoadBalancerListResult(*, value: Optional[List[LoadBalancer]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListLoadBalancers API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[LoadBalancer]) – A list of load balancers in a resource group.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.LoadBalancerLoadBalancingRuleListResult(*, value: Optional[List[LoadBalancingRule]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListLoadBalancingRule API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[LoadBalancingRule]) – A list of load balancing rules in a load balancer.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.LoadBalancerOutboundRuleListResult(*, value: Optional[List[OutboundRule]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListOutboundRule API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[OutboundRule]) – A list of outbound rules in a load balancer.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.LoadBalancerOutboundRuleProtocol(value)[source]

Bases: str, enum.Enum

The protocol for the outbound rule in load balancer. Possible values are: ‘Tcp’, ‘Udp’, and ‘All’.

all = 'All'
tcp = 'Tcp'
udp = 'Udp'
class azure.mgmt.network.v2019_02_01.models.LoadBalancerProbeListResult(*, value: Optional[List[Probe]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListProbe API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[Probe]) – A list of probes in a load balancer.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.LoadBalancerSku(*, name: Optional[Union[str, LoadBalancerSkuName]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

SKU of a load balancer.

Parameters

name (str or LoadBalancerSkuName) – Name of a load balancer SKU. Possible values include: “Basic”, “Standard”.

class azure.mgmt.network.v2019_02_01.models.LoadBalancerSkuName(value)[source]

Bases: str, enum.Enum

Name of a load balancer SKU.

basic = 'Basic'
standard = 'Standard'
class azure.mgmt.network.v2019_02_01.models.LoadBalancingRule(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, frontend_ip_configuration: Optional[SubResource] = None, backend_address_pool: Optional[SubResource] = None, probe: Optional[SubResource] = None, protocol: Optional[Union[str, TransportProtocol]] = None, load_distribution: Optional[Union[str, LoadDistribution]] = None, frontend_port: Optional[int] = None, backend_port: Optional[int] = None, idle_timeout_in_minutes: Optional[int] = None, enable_floating_ip: Optional[bool] = None, enable_tcp_reset: Optional[bool] = None, disable_outbound_snat: Optional[bool] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

A load balancing rule for a load balancer.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • frontend_ip_configuration (SubResource) – A reference to frontend IP addresses.

  • backend_address_pool (SubResource) – A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.

  • probe (SubResource) – The reference of the load balancer probe used by the load balancing rule.

  • protocol (str or TransportProtocol) – The reference to the transport protocol used by the load balancing rule. Possible values include: “Udp”, “Tcp”, “All”.

  • load_distribution (str or LoadDistribution) – The load distribution policy for this rule. Possible values are ‘Default’, ‘SourceIP’, and ‘SourceIPProtocol’. Possible values include: “Default”, “SourceIP”, “SourceIPProtocol”.

  • frontend_port (int) – The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables “Any Port”.

  • backend_port (int) – The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables “Any Port”.

  • idle_timeout_in_minutes (int) – 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.

  • enable_floating_ip (bool) – 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.

  • enable_tcp_reset (bool) – 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.

  • disable_outbound_snat (bool) – Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.

  • provisioning_state (str) – Gets the provisioning state of the PublicIP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.LoadDistribution(value)[source]

Bases: str, enum.Enum

The load distribution policy for this rule. Possible values are ‘Default’, ‘SourceIP’, and ‘SourceIPProtocol’.

default = 'Default'
source_ip = 'SourceIP'
source_ip_protocol = 'SourceIPProtocol'
class azure.mgmt.network.v2019_02_01.models.LocalNetworkGateway(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, local_network_address_space: Optional[AddressSpace] = None, gateway_ip_address: Optional[str] = None, bgp_settings: Optional[BgpSettings] = None, resource_guid: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

A common class for general resource information.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • local_network_address_space (AddressSpace) – Local network site address space.

  • gateway_ip_address (str) – IP address of local network gateway.

  • bgp_settings (BgpSettings) – Local network gateway’s BGP speaker settings.

  • resource_guid (str) – The resource GUID property of the LocalNetworkGateway resource.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • provisioning_state (str) – The provisioning state of the LocalNetworkGateway resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.LocalNetworkGatewayListResult(*, value: Optional[List[LocalNetworkGateway]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListLocalNetworkGateways API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[LocalNetworkGateway]) – A list of local network gateways that exists in a resource group.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.LogSpecification(*, name: Optional[str] = None, display_name: Optional[str] = None, blob_duration: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Description of logging specification.

Parameters
  • name (str) – The name of the specification.

  • display_name (str) – The display name of the specification.

  • blob_duration (str) – Duration of the blob.

class azure.mgmt.network.v2019_02_01.models.ManagedServiceIdentity(*, type: Optional[Union[str, ResourceIdentityType]] = None, user_assigned_identities: Optional[Dict[str, Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Identity for the resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • principal_id (str) – The principal id of the system assigned identity. This property will only be provided for a system assigned identity.

  • tenant_id (str) – The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.

Parameters
  • type (str or ResourceIdentityType) – The type of identity used for the resource. The type ‘SystemAssigned, UserAssigned’ includes both an implicitly created identity and a set of user assigned identities. The type ‘None’ will remove any identities from the virtual machine. Possible values include: “SystemAssigned”, “UserAssigned”, “SystemAssigned, UserAssigned”, “None”.

  • user_assigned_identities (dict[str, Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties]) – The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}’.

class azure.mgmt.network.v2019_02_01.models.MatchCondition(*, match_variables: List[MatchVariable], operator: Union[str, WebApplicationFirewallOperator], match_values: List[str], negation_conditon: Optional[bool] = None, transforms: Optional[List[Union[str, WebApplicationFirewallTransform]]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Define match conditions.

All required parameters must be populated in order to send to Azure.

Parameters
  • match_variables (list[MatchVariable]) – Required. List of match variables.

  • operator (str or WebApplicationFirewallOperator) – Required. Describes operator to be matched. Possible values include: “IPMatch”, “Equal”, “Contains”, “LessThan”, “GreaterThan”, “LessThanOrEqual”, “GreaterThanOrEqual”, “BeginsWith”, “EndsWith”, “Regex”.

  • negation_conditon (bool) – Describes if this is negate condition or not.

  • match_values (list[str]) – Required. Match value.

  • transforms (list[str or WebApplicationFirewallTransform]) – List of transforms.

class azure.mgmt.network.v2019_02_01.models.MatchVariable(*, variable_name: Union[str, WebApplicationFirewallMatchVariable], selector: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Define match variables.

All required parameters must be populated in order to send to Azure.

Parameters
  • variable_name (str or WebApplicationFirewallMatchVariable) – Required. Match Variable. Possible values include: “RemoteAddr”, “RequestMethod”, “QueryString”, “PostArgs”, “RequestUri”, “RequestHeaders”, “RequestBody”, “RequestCookies”.

  • selector (str) – Describes field of the matchVariable collection.

class azure.mgmt.network.v2019_02_01.models.MatchedRule(*, rule_name: Optional[str] = None, action: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Matched rule.

Parameters
  • rule_name (str) – Name of the matched network security rule.

  • action (str) – The network traffic is allowed or denied. Possible values are ‘Allow’ and ‘Deny’.

class azure.mgmt.network.v2019_02_01.models.MetricSpecification(*, name: Optional[str] = None, display_name: Optional[str] = None, display_description: Optional[str] = None, unit: Optional[str] = None, aggregation_type: Optional[str] = None, availabilities: Optional[List[Availability]] = None, enable_regional_mdm_account: Optional[bool] = None, fill_gap_with_zero: Optional[bool] = None, metric_filter_pattern: Optional[str] = None, dimensions: Optional[List[Dimension]] = None, is_internal: Optional[bool] = None, source_mdm_account: Optional[str] = None, source_mdm_namespace: Optional[str] = None, resource_id_dimension_name_override: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Description of metrics specification.

Parameters
  • name (str) – The name of the metric.

  • display_name (str) – The display name of the metric.

  • display_description (str) – The description of the metric.

  • unit (str) – Units the metric to be displayed in.

  • aggregation_type (str) – The aggregation type.

  • availabilities (list[Availability]) – List of availability.

  • enable_regional_mdm_account (bool) – Whether regional MDM account enabled.

  • fill_gap_with_zero (bool) – Whether gaps would be filled with zeros.

  • metric_filter_pattern (str) – Pattern for the filter of the metric.

  • dimensions (list[Dimension]) – List of dimensions.

  • is_internal (bool) – Whether the metric is internal.

  • source_mdm_account (str) – The source MDM account.

  • source_mdm_namespace (str) – The source MDM namespace.

  • resource_id_dimension_name_override (str) – The resource Id dimension name override.

class azure.mgmt.network.v2019_02_01.models.NatGateway(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, sku: Optional[NatGatewaySku] = None, etag: Optional[str] = None, idle_timeout_in_minutes: Optional[int] = None, public_ip_addresses: Optional[List[SubResource]] = None, public_ip_prefixes: Optional[List[SubResource]] = None, resource_guid: Optional[str] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Nat Gateway resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • sku (NatGatewaySku) – The nat gateway SKU.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • idle_timeout_in_minutes (int) – The idle timeout of the nat gateway.

  • public_ip_addresses (list[SubResource]) – An array of public ip addresses associated with the nat gateway resource.

  • public_ip_prefixes (list[SubResource]) – An array of public ip prefixes associated with the nat gateway resource.

  • resource_guid (str) – The resource GUID property of the nat gateway resource.

  • provisioning_state (str) – The provisioning state of the NatGateway resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

Variables
class azure.mgmt.network.v2019_02_01.models.NatGatewayListResult(*, value: Optional[List[NatGateway]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListNatGateways API service call.

Parameters
  • value (list[NatGateway]) – A list of Nat Gateways that exists in a resource group.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.NatGatewaySku(**kwargs)[source]

Bases: msrest.serialization.Model

SKU of nat gateway.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

name (str) – Name of Nat Gateway SKU. Default value: “Standard”.

name = 'Standard'
class azure.mgmt.network.v2019_02_01.models.NetworkConfigurationDiagnosticParameters(*, target_resource_id: str, profiles: List[NetworkConfigurationDiagnosticProfile], verbosity_level: Optional[Union[str, VerbosityLevel]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters to get network configuration diagnostic.

All required parameters must be populated in order to send to Azure.

Parameters
  • target_resource_id (str) – Required. The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.

  • verbosity_level (str or VerbosityLevel) – Verbosity level. Accepted values are ‘Normal’, ‘Minimum’, ‘Full’. Possible values include: “Normal”, “Minimum”, “Full”.

  • profiles (list[NetworkConfigurationDiagnosticProfile]) – Required. List of network configuration diagnostic profiles.

class azure.mgmt.network.v2019_02_01.models.NetworkConfigurationDiagnosticProfile(*, direction: Union[str, Direction], protocol: str, source: str, destination: str, destination_port: str, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters to compare with network configuration.

All required parameters must be populated in order to send to Azure.

Parameters
  • direction (str or Direction) – Required. The direction of the traffic. Possible values include: “Inbound”, “Outbound”.

  • protocol (str) – Required. Protocol to be verified on. Accepted values are ‘*’, TCP, UDP.

  • source (str) – Required. Traffic source. Accepted values are ‘*’, IP Address/CIDR, Service Tag.

  • destination (str) – Required. Traffic destination. Accepted values are: ‘*’, IP Address/CIDR, Service Tag.

  • destination_port (str) – Required. Traffic destination port. Accepted values are ‘*’, port (for example, 3389) and port range (for example, 80-100).

class azure.mgmt.network.v2019_02_01.models.NetworkConfigurationDiagnosticResponse(**kwargs)[source]

Bases: msrest.serialization.Model

Results of network configuration diagnostic on the target resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

results (list[NetworkConfigurationDiagnosticResult]) – List of network configuration diagnostic results.

class azure.mgmt.network.v2019_02_01.models.NetworkConfigurationDiagnosticResult(*, profile: Optional[NetworkConfigurationDiagnosticProfile] = None, network_security_group_result: Optional[NetworkSecurityGroupResult] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Network configuration diagnostic result corresponded to provided traffic query.

Parameters
class azure.mgmt.network.v2019_02_01.models.NetworkIntentPolicy(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Network Intent Policy resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

Variables
class azure.mgmt.network.v2019_02_01.models.NetworkIntentPolicyConfiguration(*, network_intent_policy_name: Optional[str] = None, source_network_intent_policy: Optional[NetworkIntentPolicy] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest.

Parameters
  • network_intent_policy_name (str) – The name of the Network Intent Policy for storing in target subscription.

  • source_network_intent_policy (NetworkIntentPolicy) – Source network intent policy.

class azure.mgmt.network.v2019_02_01.models.NetworkInterface(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, network_security_group: Optional[NetworkSecurityGroup] = None, ip_configurations: Optional[List[NetworkInterfaceIPConfiguration]] = None, tap_configurations: Optional[List[NetworkInterfaceTapConfiguration]] = None, dns_settings: Optional[NetworkInterfaceDnsSettings] = None, mac_address: Optional[str] = None, primary: Optional[bool] = None, enable_accelerated_networking: Optional[bool] = None, enable_ip_forwarding: Optional[bool] = None, resource_guid: Optional[str] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

A network interface in a resource group.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • network_security_group (NetworkSecurityGroup) – The reference of the NetworkSecurityGroup resource.

  • ip_configurations (list[NetworkInterfaceIPConfiguration]) – A list of IPConfigurations of the network interface.

  • tap_configurations (list[NetworkInterfaceTapConfiguration]) – A list of TapConfigurations of the network interface.

  • dns_settings (NetworkInterfaceDnsSettings) – The DNS settings in network interface.

  • mac_address (str) – The MAC address of the network interface.

  • primary (bool) – Gets whether this is a primary network interface on a virtual machine.

  • enable_accelerated_networking (bool) – If the network interface is accelerated networking enabled.

  • enable_ip_forwarding (bool) – Indicates whether IP forwarding is enabled on this network interface.

  • resource_guid (str) – The resource GUID property of the network interface resource.

  • provisioning_state (str) – The provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • virtual_machine (SubResource) – The reference of a virtual machine.

  • interface_endpoint (InterfaceEndpoint) – A reference to the interface endpoint to which the network interface is linked.

  • hosted_workloads (list[str]) – A list of references to linked BareMetal resources.

class azure.mgmt.network.v2019_02_01.models.NetworkInterfaceAssociation(*, security_rules: Optional[List[SecurityRule]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Network interface and its custom security rules.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

id (str) – Network interface ID.

Parameters

security_rules (list[SecurityRule]) – Collection of custom security rules.

class azure.mgmt.network.v2019_02_01.models.NetworkInterfaceDnsSettings(*, dns_servers: Optional[List[str]] = None, applied_dns_servers: Optional[List[str]] = None, internal_dns_name_label: Optional[str] = None, internal_fqdn: Optional[str] = None, internal_domain_name_suffix: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

DNS settings of a network interface.

Parameters
  • dns_servers (list[str]) – 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.

  • applied_dns_servers (list[str]) – 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.

  • internal_dns_name_label (str) – Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.

  • internal_fqdn (str) – Fully qualified DNS name supporting internal communications between VMs in the same virtual network.

  • internal_domain_name_suffix (str) – 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.

class azure.mgmt.network.v2019_02_01.models.NetworkInterfaceIPConfiguration(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, virtual_network_taps: Optional[List[VirtualNetworkTap]] = None, application_gateway_backend_address_pools: Optional[List[ApplicationGatewayBackendAddressPool]] = None, load_balancer_backend_address_pools: Optional[List[BackendAddressPool]] = None, load_balancer_inbound_nat_rules: Optional[List[InboundNatRule]] = None, private_ip_address: Optional[str] = None, private_ip_allocation_method: Optional[Union[str, IPAllocationMethod]] = None, private_ip_address_version: Optional[Union[str, IPVersion]] = None, subnet: Optional[Subnet] = None, primary: Optional[bool] = None, public_ip_address: Optional[PublicIPAddress] = None, application_security_groups: Optional[List[ApplicationSecurityGroup]] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

IPConfiguration in a network interface.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • virtual_network_taps (list[VirtualNetworkTap]) – The reference to Virtual Network Taps.

  • application_gateway_backend_address_pools (list[ApplicationGatewayBackendAddressPool]) – The reference of ApplicationGatewayBackendAddressPool resource.

  • load_balancer_backend_address_pools (list[BackendAddressPool]) – The reference of LoadBalancerBackendAddressPool resource.

  • load_balancer_inbound_nat_rules (list[InboundNatRule]) – A list of references of LoadBalancerInboundNatRules.

  • private_ip_address (str) – Private IP address of the IP configuration.

  • private_ip_allocation_method (str or IPAllocationMethod) – The private IP address allocation method. Possible values include: “Static”, “Dynamic”.

  • private_ip_address_version (str or IPVersion) – 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 include: “IPv4”, “IPv6”.

  • subnet (Subnet) – Subnet bound to the IP configuration.

  • primary (bool) – Gets whether this is a primary customer address on the network interface.

  • public_ip_address (PublicIPAddress) – Public IP address bound to the IP configuration.

  • application_security_groups (list[ApplicationSecurityGroup]) – Application security groups in which the IP configuration is included.

  • provisioning_state (str) – The provisioning state of the network interface IP configuration. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.NetworkInterfaceIPConfigurationListResult(*, value: Optional[List[NetworkInterfaceIPConfiguration]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for list ip configurations API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[NetworkInterfaceIPConfiguration]) – A list of ip configurations.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.NetworkInterfaceListResult(*, value: Optional[List[NetworkInterface]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the ListNetworkInterface API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[NetworkInterface]) – A list of network interfaces in a resource group.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.NetworkInterfaceLoadBalancerListResult(*, value: Optional[List[LoadBalancer]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for list ip configurations API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[LoadBalancer]) – A list of load balancers.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.NetworkInterfaceTapConfiguration(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, virtual_network_tap: Optional[VirtualNetworkTap] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Tap configuration in a Network Interface.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • virtual_network_tap (VirtualNetworkTap) – The reference of the Virtual Network Tap resource.

Variables
  • type (str) – Sub Resource type.

  • provisioning_state (str) – The provisioning state of the network interface tap configuration. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.NetworkInterfaceTapConfigurationListResult(*, value: Optional[List[NetworkInterfaceTapConfiguration]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for list tap configurations API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[NetworkInterfaceTapConfiguration]) – A list of tap configurations.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.NetworkOperationStatus(value)[source]

Bases: str, enum.Enum

Status of the Azure async operation. Possible values are: ‘InProgress’, ‘Succeeded’, and ‘Failed’.

failed = 'Failed'
in_progress = 'InProgress'
succeeded = 'Succeeded'
class azure.mgmt.network.v2019_02_01.models.NetworkProfile(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, container_network_interfaces: Optional[List[ContainerNetworkInterface]] = None, container_network_interface_configurations: Optional[List[ContainerNetworkInterfaceConfiguration]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Network profile resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • container_network_interfaces (list[ContainerNetworkInterface]) – List of child container network interfaces.

  • container_network_interface_configurations (list[ContainerNetworkInterfaceConfiguration]) – List of chid container network interface configurations.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • resource_guid (str) – The resource GUID property of the network interface resource.

  • provisioning_state (str) – The provisioning state of the resource.

class azure.mgmt.network.v2019_02_01.models.NetworkProfileListResult(*, value: Optional[List[NetworkProfile]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListNetworkProfiles API service call.

Parameters
  • value (list[NetworkProfile]) – A list of network profiles that exist in a resource group.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.NetworkSecurityGroup(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, security_rules: Optional[List[SecurityRule]] = None, default_security_rules: Optional[List[SecurityRule]] = None, resource_guid: Optional[str] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

NetworkSecurityGroup resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • security_rules (list[SecurityRule]) – A collection of security rules of the network security group.

  • default_security_rules (list[SecurityRule]) – The default security rules of network security group.

  • resource_guid (str) – The resource GUID property of the network security group resource.

  • provisioning_state (str) – The provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

Variables
class azure.mgmt.network.v2019_02_01.models.NetworkSecurityGroupListResult(*, value: Optional[List[NetworkSecurityGroup]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListNetworkSecurityGroups API service call.

Parameters
  • value (list[NetworkSecurityGroup]) – A list of NetworkSecurityGroup resources.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.NetworkSecurityGroupResult(*, security_rule_access_result: Optional[Union[str, SecurityRuleAccess]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Network configuration diagnostic result corresponded provided traffic query.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

security_rule_access_result (str or SecurityRuleAccess) – The network traffic is allowed or denied. Possible values include: “Allow”, “Deny”.

Variables

evaluated_network_security_groups (list[EvaluatedNetworkSecurityGroup]) – List of results network security groups diagnostic.

class azure.mgmt.network.v2019_02_01.models.NetworkSecurityRulesEvaluationResult(*, name: Optional[str] = None, protocol_matched: Optional[bool] = None, source_matched: Optional[bool] = None, source_port_matched: Optional[bool] = None, destination_matched: Optional[bool] = None, destination_port_matched: Optional[bool] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Network security rules evaluation result.

Parameters
  • name (str) – Name of the network security rule.

  • protocol_matched (bool) – Value indicating whether protocol is matched.

  • source_matched (bool) – Value indicating whether source is matched.

  • source_port_matched (bool) – Value indicating whether source port is matched.

  • destination_matched (bool) – Value indicating whether destination is matched.

  • destination_port_matched (bool) – Value indicating whether destination port is matched.

class azure.mgmt.network.v2019_02_01.models.NetworkWatcher(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Network watcher in a resource group.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.NetworkWatcherListResult(*, value: Optional[List[NetworkWatcher]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListNetworkWatchers API service call.

Parameters

value (list[NetworkWatcher]) – List of network watcher resources.

class azure.mgmt.network.v2019_02_01.models.NextHopParameters(*, target_resource_id: str, source_ip_address: str, destination_ip_address: str, target_nic_resource_id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the source and destination endpoint.

All required parameters must be populated in order to send to Azure.

Parameters
  • target_resource_id (str) – Required. The resource identifier of the target resource against which the action is to be performed.

  • source_ip_address (str) – Required. The source IP address.

  • destination_ip_address (str) – Required. The destination IP address.

  • target_nic_resource_id (str) – 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).

class azure.mgmt.network.v2019_02_01.models.NextHopResult(*, next_hop_type: Optional[Union[str, NextHopType]] = None, next_hop_ip_address: Optional[str] = None, route_table_id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The information about next hop from the specified VM.

Parameters
  • next_hop_type (str or NextHopType) – Next hop type. Possible values include: “Internet”, “VirtualAppliance”, “VirtualNetworkGateway”, “VnetLocal”, “HyperNetGateway”, “None”.

  • next_hop_ip_address (str) – Next hop IP Address.

  • route_table_id (str) – 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’.

class azure.mgmt.network.v2019_02_01.models.NextHopType(value)[source]

Bases: str, enum.Enum

Next hop type.

hyper_net_gateway = 'HyperNetGateway'
internet = 'Internet'
none = 'None'
virtual_appliance = 'VirtualAppliance'
virtual_network_gateway = 'VirtualNetworkGateway'
vnet_local = 'VnetLocal'
class azure.mgmt.network.v2019_02_01.models.OfficeTrafficCategory(value)[source]

Bases: str, enum.Enum

The office traffic category.

all = 'All'
none = 'None'
optimize = 'Optimize'
optimize_and_allow = 'OptimizeAndAllow'
class azure.mgmt.network.v2019_02_01.models.Operation(*, name: Optional[str] = None, display: Optional[OperationDisplay] = None, origin: Optional[str] = None, service_specification: Optional[OperationPropertiesFormatServiceSpecification] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Network REST API operation definition.

Parameters
class azure.mgmt.network.v2019_02_01.models.OperationDisplay(*, provider: Optional[str] = None, resource: Optional[str] = None, operation: Optional[str] = None, description: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Display metadata associated with the operation.

Parameters
  • provider (str) – Service provider: Microsoft Network.

  • resource (str) – Resource on which the operation is performed.

  • operation (str) – Type of the operation: get, read, delete, etc.

  • description (str) – Description of the operation.

class azure.mgmt.network.v2019_02_01.models.OperationListResult(*, value: Optional[List[Operation]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results.

Parameters
  • value (list[Operation]) – List of Network operations supported by the Network resource provider.

  • next_link (str) – URL to get the next set of operation list results if there are any.

class azure.mgmt.network.v2019_02_01.models.OperationPropertiesFormatServiceSpecification(*, metric_specifications: Optional[List[MetricSpecification]] = None, log_specifications: Optional[List[LogSpecification]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Specification of the service.

Parameters
class azure.mgmt.network.v2019_02_01.models.Origin(value)[source]

Bases: str, enum.Enum

The origin of the issue.

inbound = 'Inbound'
local = 'Local'
outbound = 'Outbound'
class azure.mgmt.network.v2019_02_01.models.OutboundRule(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, allocated_outbound_ports: Optional[int] = None, frontend_ip_configurations: Optional[List[SubResource]] = None, backend_address_pool: Optional[SubResource] = None, provisioning_state: Optional[str] = None, protocol: Optional[Union[str, LoadBalancerOutboundRuleProtocol]] = None, enable_tcp_reset: Optional[bool] = None, idle_timeout_in_minutes: Optional[int] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Outbound rule of the load balancer.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • allocated_outbound_ports (int) – The number of outbound ports to be used for NAT.

  • frontend_ip_configurations (list[SubResource]) – The Frontend IP addresses of the load balancer.

  • backend_address_pool (SubResource) – A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.

  • provisioning_state (str) – Gets the provisioning state of the PublicIP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

  • protocol (str or LoadBalancerOutboundRuleProtocol) – The protocol for the outbound rule in load balancer. Possible values are: ‘Tcp’, ‘Udp’, and ‘All’. Possible values include: “Tcp”, “Udp”, “All”.

  • enable_tcp_reset (bool) – 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.

  • idle_timeout_in_minutes (int) – The timeout for the TCP idle connection.

class azure.mgmt.network.v2019_02_01.models.P2SVpnGateway(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, virtual_hub: Optional[SubResource] = None, vpn_gateway_scale_unit: Optional[int] = None, p2_s_vpn_server_configuration: Optional[SubResource] = None, vpn_client_address_pool: Optional[AddressSpace] = None, custom_routes: Optional[AddressSpace] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

P2SVpnGateway Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • virtual_hub (SubResource) – The VirtualHub to which the gateway belongs.

  • vpn_gateway_scale_unit (int) – The scale unit for this p2s vpn gateway.

  • p2_s_vpn_server_configuration (SubResource) – The P2SVpnServerConfiguration to which the p2sVpnGateway is attached to.

  • vpn_client_address_pool (AddressSpace) – The reference of the address space resource which represents Address space for P2S VpnClient.

  • custom_routes (AddressSpace) – The reference of the address space resource which represents the custom routes specified by the customer for P2SVpnGateway and P2S VpnClient.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

  • vpn_client_connection_health (VpnClientConnectionHealth) – All P2S VPN clients’ connection health status.

class azure.mgmt.network.v2019_02_01.models.P2SVpnProfileParameters(*, authentication_method: Optional[Union[str, AuthenticationMethod]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Vpn Client Parameters for package generation.

Parameters

authentication_method (str or AuthenticationMethod) – VPN client authentication method. Possible values include: “EAPTLS”, “EAPMSCHAPv2”.

class azure.mgmt.network.v2019_02_01.models.P2SVpnServerConfigRadiusClientRootCertificate(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, thumbprint: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Radius client root certificate of P2SVpnServerConfiguration.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • thumbprint (str) – The Radius client root certificate thumbprint.

Variables

provisioning_state (str) – The provisioning state of the Radius client root certificate resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.P2SVpnServerConfigRadiusServerRootCertificate(*, public_cert_data: str, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Radius Server root certificate of P2SVpnServerConfiguration.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • public_cert_data (str) – Required. The certificate public data.

Variables

provisioning_state (str) – The provisioning state of the P2SVpnServerConfiguration Radius Server root certificate resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.P2SVpnServerConfigVpnClientRevokedCertificate(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, thumbprint: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

VPN client revoked certificate of P2SVpnServerConfiguration.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • thumbprint (str) – The revoked VPN client certificate thumbprint.

Variables

provisioning_state (str) – The provisioning state of the VPN client revoked certificate resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.P2SVpnServerConfigVpnClientRootCertificate(*, public_cert_data: str, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

VPN client root certificate of P2SVpnServerConfiguration.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • public_cert_data (str) – Required. The certificate public data.

Variables

provisioning_state (str) – The provisioning state of the P2SVpnServerConfiguration VPN client root certificate resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.P2SVpnServerConfiguration(*, id: Optional[str] = None, name: Optional[str] = None, name_properties_name: Optional[str] = None, vpn_protocols: Optional[List[Union[str, VpnGatewayTunnelingProtocol]]] = None, p2_s_vpn_server_config_vpn_client_root_certificates: Optional[List[P2SVpnServerConfigVpnClientRootCertificate]] = None, p2_s_vpn_server_config_vpn_client_revoked_certificates: Optional[List[P2SVpnServerConfigVpnClientRevokedCertificate]] = None, p2_s_vpn_server_config_radius_server_root_certificates: Optional[List[P2SVpnServerConfigRadiusServerRootCertificate]] = None, p2_s_vpn_server_config_radius_client_root_certificates: Optional[List[P2SVpnServerConfigRadiusClientRootCertificate]] = None, vpn_client_ipsec_policies: Optional[List[IpsecPolicy]] = None, radius_server_address: Optional[str] = None, radius_server_secret: Optional[str] = None, etag_properties_etag: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

P2SVpnServerConfiguration Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • name_properties_name (str) – The name of the P2SVpnServerConfiguration that is unique within a VirtualWan in a resource group. This name can be used to access the resource along with Paren VirtualWan resource name.

  • vpn_protocols (list[str or VpnGatewayTunnelingProtocol]) – VPN protocols for the P2SVpnServerConfiguration.

  • p2_s_vpn_server_config_vpn_client_root_certificates (list[P2SVpnServerConfigVpnClientRootCertificate]) – VPN client root certificate of P2SVpnServerConfiguration.

  • p2_s_vpn_server_config_vpn_client_revoked_certificates (list[P2SVpnServerConfigVpnClientRevokedCertificate]) – VPN client revoked certificate of P2SVpnServerConfiguration.

  • p2_s_vpn_server_config_radius_server_root_certificates (list[P2SVpnServerConfigRadiusServerRootCertificate]) – Radius Server root certificate of P2SVpnServerConfiguration.

  • p2_s_vpn_server_config_radius_client_root_certificates (list[P2SVpnServerConfigRadiusClientRootCertificate]) – Radius client root certificate of P2SVpnServerConfiguration.

  • vpn_client_ipsec_policies (list[IpsecPolicy]) – VpnClientIpsecPolicies for P2SVpnServerConfiguration.

  • radius_server_address (str) – The radius server address property of the P2SVpnServerConfiguration resource for point to site client connection.

  • radius_server_secret (str) – The radius secret property of the P2SVpnServerConfiguration resource for point to site client connection.

  • etag_properties_etag (str) – A unique read-only string that changes whenever the resource is updated.

Variables
  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str) – The provisioning state of the P2SVpnServerConfiguration resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

  • p2_s_vpn_gateways (list[SubResource]) – List of references to P2SVpnGateways.

class azure.mgmt.network.v2019_02_01.models.PacketCapture(*, target: str, storage_location: azure.mgmt.network.v2019_02_01.models._models_py3.PacketCaptureStorageLocation, bytes_to_capture_per_packet: Optional[int] = 0, total_bytes_per_session: Optional[int] = 1073741824, time_limit_in_seconds: Optional[int] = 18000, filters: Optional[List[PacketCaptureFilter]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the create packet capture operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • target (str) – Required. The ID of the targeted resource, only VM is currently supported.

  • bytes_to_capture_per_packet (int) – Number of bytes captured per packet, the remaining bytes are truncated.

  • total_bytes_per_session (int) – Maximum size of the capture output.

  • time_limit_in_seconds (int) – Maximum duration of the capture session in seconds.

  • storage_location (PacketCaptureStorageLocation) – Required. Describes the storage location for a packet capture session.

  • filters (list[PacketCaptureFilter]) – A list of packet capture filters.

class azure.mgmt.network.v2019_02_01.models.PacketCaptureFilter(*, protocol: Optional[Union[str, PcProtocol]] = 'Any', local_ip_address: Optional[str] = None, remote_ip_address: Optional[str] = None, local_port: Optional[str] = None, remote_port: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Filter that is applied to packet capture request. Multiple filters can be applied.

Parameters
  • protocol (str or PcProtocol) – Protocol to be filtered on. Possible values include: “TCP”, “UDP”, “Any”. Default value: “Any”.

  • local_ip_address (str) – 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.

  • remote_ip_address (str) – 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.

  • local_port (str) – 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.

  • remote_port (str) – 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.

class azure.mgmt.network.v2019_02_01.models.PacketCaptureListResult(*, value: Optional[List[PacketCaptureResult]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of packet capture sessions.

Parameters

value (list[PacketCaptureResult]) – Information about packet capture sessions.

class azure.mgmt.network.v2019_02_01.models.PacketCaptureParameters(*, target: str, storage_location: azure.mgmt.network.v2019_02_01.models._models_py3.PacketCaptureStorageLocation, bytes_to_capture_per_packet: Optional[int] = 0, total_bytes_per_session: Optional[int] = 1073741824, time_limit_in_seconds: Optional[int] = 18000, filters: Optional[List[PacketCaptureFilter]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the create packet capture operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • target (str) – Required. The ID of the targeted resource, only VM is currently supported.

  • bytes_to_capture_per_packet (int) – Number of bytes captured per packet, the remaining bytes are truncated.

  • total_bytes_per_session (int) – Maximum size of the capture output.

  • time_limit_in_seconds (int) – Maximum duration of the capture session in seconds.

  • storage_location (PacketCaptureStorageLocation) – Required. Describes the storage location for a packet capture session.

  • filters (list[PacketCaptureFilter]) – A list of packet capture filters.

class azure.mgmt.network.v2019_02_01.models.PacketCaptureQueryStatusResult(*, name: Optional[str] = None, id: Optional[str] = None, capture_start_time: Optional[datetime.datetime] = None, packet_capture_status: Optional[Union[str, PcStatus]] = None, stop_reason: Optional[str] = None, packet_capture_error: Optional[List[Union[str, PcError]]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Status of packet capture session.

Parameters
  • name (str) – The name of the packet capture resource.

  • id (str) – The ID of the packet capture resource.

  • capture_start_time (datetime) – The start time of the packet capture session.

  • packet_capture_status (str or PcStatus) – The status of the packet capture session. Possible values include: “NotStarted”, “Running”, “Stopped”, “Error”, “Unknown”.

  • stop_reason (str) – The reason the current packet capture session was stopped.

  • packet_capture_error (list[str or PcError]) – List of errors of packet capture session.

class azure.mgmt.network.v2019_02_01.models.PacketCaptureResult(*, etag: Optional[str] = 'A unique read-only string that changes whenever the resource is updated.', target: Optional[str] = None, bytes_to_capture_per_packet: Optional[int] = 0, total_bytes_per_session: Optional[int] = 1073741824, time_limit_in_seconds: Optional[int] = 18000, storage_location: Optional[PacketCaptureStorageLocation] = None, filters: Optional[List[PacketCaptureFilter]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Information about packet capture session.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • name (str) – Name of the packet capture session.

  • id (str) – ID of the packet capture operation.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the packet capture session. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

Parameters
  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • target (str) – The ID of the targeted resource, only VM is currently supported.

  • bytes_to_capture_per_packet (int) – Number of bytes captured per packet, the remaining bytes are truncated.

  • total_bytes_per_session (int) – Maximum size of the capture output.

  • time_limit_in_seconds (int) – Maximum duration of the capture session in seconds.

  • storage_location (PacketCaptureStorageLocation) – Describes the storage location for a packet capture session.

  • filters (list[PacketCaptureFilter]) – A list of packet capture filters.

class azure.mgmt.network.v2019_02_01.models.PacketCaptureResultProperties(*, target: str, storage_location: azure.mgmt.network.v2019_02_01.models._models_py3.PacketCaptureStorageLocation, bytes_to_capture_per_packet: Optional[int] = 0, total_bytes_per_session: Optional[int] = 1073741824, time_limit_in_seconds: Optional[int] = 18000, filters: Optional[List[PacketCaptureFilter]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.PacketCaptureParameters

Describes the properties of a packet capture session.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Parameters
  • target (str) – Required. The ID of the targeted resource, only VM is currently supported.

  • bytes_to_capture_per_packet (int) – Number of bytes captured per packet, the remaining bytes are truncated.

  • total_bytes_per_session (int) – Maximum size of the capture output.

  • time_limit_in_seconds (int) – Maximum duration of the capture session in seconds.

  • storage_location (PacketCaptureStorageLocation) – Required. Describes the storage location for a packet capture session.

  • filters (list[PacketCaptureFilter]) – A list of packet capture filters.

Variables

provisioning_state (str or ProvisioningState) – The provisioning state of the packet capture session. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.PacketCaptureStorageLocation(*, storage_id: Optional[str] = None, storage_path: Optional[str] = None, file_path: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Describes the storage location for a packet capture session.

Parameters
  • storage_id (str) – The ID of the storage account to save the packet capture session. Required if no local file path is provided.

  • storage_path (str) – 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.

  • file_path (str) – 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.

class azure.mgmt.network.v2019_02_01.models.PatchRouteFilter(*, id: Optional[str] = None, tags: Optional[Dict[str, str]] = None, rules: Optional[List[RouteFilterRule]] = None, peerings: Optional[List[ExpressRouteCircuitPeering]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Route Filter Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
Variables
  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • type (str) – Resource type.

  • provisioning_state (str) – The provisioning state of the resource. Possible values are: ‘Updating’, ‘Deleting’, ‘Succeeded’ and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.PatchRouteFilterRule(*, id: Optional[str] = None, access: Optional[Union[str, Access]] = None, communities: Optional[List[str]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Route Filter Rule Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • access (str or Access) – The access type of the rule. Possible values include: “Allow”, “Deny”.

  • communities (list[str]) – The collection for bgp community values to filter on. e.g. [‘12076:5010’,’12076:5020’].

Variables
  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • route_filter_rule_type (str) – The rule type of the rule. Valid value is: ‘Community’. Default value: “Community”.

  • provisioning_state (str) – The provisioning state of the resource. Possible values are: ‘Updating’, ‘Deleting’, ‘Succeeded’ and ‘Failed’.

route_filter_rule_type = 'Community'
class azure.mgmt.network.v2019_02_01.models.PcError(value)[source]

Bases: str, enum.Enum

An enumeration.

agent_stopped = 'AgentStopped'
capture_failed = 'CaptureFailed'
internal_error = 'InternalError'
local_file_failed = 'LocalFileFailed'
storage_failed = 'StorageFailed'
class azure.mgmt.network.v2019_02_01.models.PcProtocol(value)[source]

Bases: str, enum.Enum

Protocol to be filtered on.

any = 'Any'
tcp = 'TCP'
udp = 'UDP'
class azure.mgmt.network.v2019_02_01.models.PcStatus(value)[source]

Bases: str, enum.Enum

The status of the packet capture session.

error = 'Error'
not_started = 'NotStarted'
running = 'Running'
stopped = 'Stopped'
unknown = 'Unknown'
class azure.mgmt.network.v2019_02_01.models.PeerExpressRouteCircuitConnection(*, id: Optional[str] = None, name: Optional[str] = None, express_route_circuit_peering: Optional[SubResource] = None, peer_express_route_circuit_peering: Optional[SubResource] = None, address_prefix: Optional[str] = None, connection_name: Optional[str] = None, auth_resource_guid: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Gets name of the resource that is unique within a resource group. This name can be used to access the resource.

  • express_route_circuit_peering (SubResource) – Reference to Express Route Circuit Private Peering Resource of the circuit.

  • peer_express_route_circuit_peering (SubResource) – Reference to Express Route Circuit Private Peering Resource of the peered circuit.

  • address_prefix (str) – /29 IP address space to carve out Customer addresses for tunnels.

  • connection_name (str) – The name of the express route circuit connection resource.

  • auth_resource_guid (str) – The resource guid of the authorization used for the express route circuit connection.

Variables
  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • circuit_connection_status (str or CircuitConnectionStatus) – Express Route Circuit connection state. Possible values include: “Connected”, “Connecting”, “Disconnected”.

  • provisioning_state (str) – Provisioning state of the peer express route circuit connection resource. Possible values are: ‘Succeeded’, ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.PeerExpressRouteCircuitConnectionListResult(*, value: Optional[List[PeerExpressRouteCircuitConnection]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit.

Parameters
  • value (list[PeerExpressRouteCircuitConnection]) – The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.PfsGroup(value)[source]

Bases: str, enum.Enum

The Pfs Groups used in IKE Phase 2 for new child SA.

ecp256 = 'ECP256'
ecp384 = 'ECP384'
none = 'None'
pfs1 = 'PFS1'
pfs14 = 'PFS14'
pfs2 = 'PFS2'
pfs2048 = 'PFS2048'
pfs24 = 'PFS24'
pfsmm = 'PFSMM'
class azure.mgmt.network.v2019_02_01.models.PolicySettings(*, enabled_state: Optional[Union[str, WebApplicationFirewallEnabledState]] = None, mode: Optional[Union[str, WebApplicationFirewallMode]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Defines contents of a web application firewall global configuration.

Parameters
  • enabled_state (str or WebApplicationFirewallEnabledState) – Describes if the policy is in enabled state or disabled state. Possible values include: “Disabled”, “Enabled”.

  • mode (str or WebApplicationFirewallMode) – Describes if it is in detection mode or prevention mode at policy level. Possible values include: “Prevention”, “Detection”.

class azure.mgmt.network.v2019_02_01.models.PrepareNetworkPoliciesRequest(*, service_name: Optional[str] = None, resource_group_name: Optional[str] = None, network_intent_policy_configurations: Optional[List[NetworkIntentPolicyConfiguration]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Details of PrepareNetworkPolicies for Subnet.

Parameters
  • service_name (str) – The name of the service for which subnet is being prepared for.

  • resource_group_name (str) – The name of the resource group where the Network Intent Policy will be stored.

  • network_intent_policy_configurations (list[NetworkIntentPolicyConfiguration]) – A list of NetworkIntentPolicyConfiguration.

class azure.mgmt.network.v2019_02_01.models.Probe(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, protocol: Optional[Union[str, ProbeProtocol]] = None, port: Optional[int] = None, interval_in_seconds: Optional[int] = None, number_of_probes: Optional[int] = None, request_path: Optional[str] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

A load balancer probe.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Gets name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • protocol (str or ProbeProtocol) – The protocol of the end point. Possible values are: ‘Http’, ‘Tcp’, or ‘Https’. If ‘Tcp’ is specified, a received ACK is required for the probe to be successful. If ‘Http’ or ‘Https’ is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: “Http”, “Tcp”, “Https”.

  • port (int) – The port for communicating the probe. Possible values range from 1 to 65535, inclusive.

  • interval_in_seconds (int) – 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.

  • number_of_probes (int) – 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.

  • request_path (str) – 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.

  • provisioning_state (str) – Gets the provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

Variables

load_balancing_rules (list[SubResource]) – The load balancer rules that use this probe.

class azure.mgmt.network.v2019_02_01.models.ProbeProtocol(value)[source]

Bases: str, enum.Enum

The protocol of the end point. Possible values are: ‘Http’, ‘Tcp’, or ‘Https’. If ‘Tcp’ is specified, a received ACK is required for the probe to be successful. If ‘Http’ or ‘Https’ is specified, a 200 OK response from the specifies URI is required for the probe to be successful.

http = 'Http'
https = 'Https'
tcp = 'Tcp'
class azure.mgmt.network.v2019_02_01.models.ProcessorArchitecture(value)[source]

Bases: str, enum.Enum

VPN client Processor Architecture. Possible values are: ‘AMD64’ and ‘X86’.

amd64 = 'Amd64'
x86 = 'X86'
class azure.mgmt.network.v2019_02_01.models.Protocol(value)[source]

Bases: str, enum.Enum

Network protocol.

http = 'Http'
https = 'Https'
icmp = 'Icmp'
tcp = 'Tcp'
class azure.mgmt.network.v2019_02_01.models.ProtocolConfiguration(*, http_configuration: Optional[HTTPConfiguration] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Configuration of the protocol.

Parameters

http_configuration (HTTPConfiguration) – HTTP configuration of the connectivity check.

class azure.mgmt.network.v2019_02_01.models.ProtocolCustomSettingsFormat(*, protocol: Optional[Union[str, DdosCustomPolicyProtocol]] = None, trigger_rate_override: Optional[str] = None, source_rate_override: Optional[str] = None, trigger_sensitivity_override: Optional[Union[str, DdosCustomPolicyTriggerSensitivityOverride]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

DDoS custom policy properties.

Parameters
  • protocol (str or DdosCustomPolicyProtocol) – The protocol for which the DDoS protection policy is being customized. Possible values include: “Tcp”, “Udp”, “Syn”.

  • trigger_rate_override (str) – The customized DDoS protection trigger rate.

  • source_rate_override (str) – The customized DDoS protection source rate.

  • trigger_sensitivity_override (str or DdosCustomPolicyTriggerSensitivityOverride) – The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic. Possible values include: “Relaxed”, “Low”, “Default”, “High”.

class azure.mgmt.network.v2019_02_01.models.ProvisioningState(value)[source]

Bases: str, enum.Enum

The current provisioning state.

deleting = 'Deleting'
failed = 'Failed'
succeeded = 'Succeeded'
updating = 'Updating'
class azure.mgmt.network.v2019_02_01.models.PublicIPAddress(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, sku: Optional[PublicIPAddressSku] = None, etag: Optional[str] = None, zones: Optional[List[str]] = None, public_ip_allocation_method: Optional[Union[str, IPAllocationMethod]] = None, public_ip_address_version: Optional[Union[str, IPVersion]] = None, dns_settings: Optional[PublicIPAddressDnsSettings] = None, ddos_settings: Optional[DdosSettings] = None, ip_tags: Optional[List[IpTag]] = None, ip_address: Optional[str] = None, public_ip_prefix: Optional[SubResource] = None, idle_timeout_in_minutes: Optional[int] = None, resource_guid: Optional[str] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Public IP address resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • sku (PublicIPAddressSku) – The public IP address SKU.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • zones (list[str]) – A list of availability zones denoting the IP allocated for the resource needs to come from.

  • public_ip_allocation_method (str or IPAllocationMethod) – The public IP address allocation method. Possible values include: “Static”, “Dynamic”.

  • public_ip_address_version (str or IPVersion) – The public IP address version. Possible values include: “IPv4”, “IPv6”.

  • dns_settings (PublicIPAddressDnsSettings) – The FQDN of the DNS record associated with the public IP address.

  • ddos_settings (DdosSettings) – The DDoS protection custom policy associated with the public IP address.

  • ip_tags (list[IpTag]) – The list of tags associated with the public IP address.

  • ip_address (str) – The IP address associated with the public IP address resource.

  • public_ip_prefix (SubResource) – The Public IP Prefix this Public IP Address should be allocated from.

  • idle_timeout_in_minutes (int) – The idle timeout of the public IP address.

  • resource_guid (str) – The resource GUID property of the public IP resource.

  • provisioning_state (str) – The provisioning state of the PublicIP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • ip_configuration (IPConfiguration) – The IP configuration associated with the public IP address.

class azure.mgmt.network.v2019_02_01.models.PublicIPAddressDnsSettings(*, domain_name_label: Optional[str] = None, fqdn: Optional[str] = None, reverse_fqdn: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Contains FQDN of the DNS record associated with the public IP address.

Parameters
  • domain_name_label (str) – 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.

  • fqdn (str) – 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.

  • reverse_fqdn (str) – 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.

class azure.mgmt.network.v2019_02_01.models.PublicIPAddressListResult(*, value: Optional[List[PublicIPAddress]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListPublicIpAddresses API service call.

Parameters
  • value (list[PublicIPAddress]) – A list of public IP addresses that exists in a resource group.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.PublicIPAddressSku(*, name: Optional[Union[str, PublicIPAddressSkuName]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

SKU of a public IP address.

Parameters

name (str or PublicIPAddressSkuName) – Name of a public IP address SKU. Possible values include: “Basic”, “Standard”.

class azure.mgmt.network.v2019_02_01.models.PublicIPAddressSkuName(value)[source]

Bases: str, enum.Enum

Name of a public IP address SKU.

basic = 'Basic'
standard = 'Standard'
class azure.mgmt.network.v2019_02_01.models.PublicIPPrefix(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, sku: Optional[PublicIPPrefixSku] = None, etag: Optional[str] = None, zones: Optional[List[str]] = None, public_ip_address_version: Optional[Union[str, IPVersion]] = None, ip_tags: Optional[List[IpTag]] = None, prefix_length: Optional[int] = None, ip_prefix: Optional[str] = None, public_ip_addresses: Optional[List[ReferencedPublicIpAddress]] = None, resource_guid: Optional[str] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Public IP prefix resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • sku (PublicIPPrefixSku) – The public IP prefix SKU.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • zones (list[str]) – A list of availability zones denoting the IP allocated for the resource needs to come from.

  • public_ip_address_version (str or IPVersion) – The public IP address version. Possible values include: “IPv4”, “IPv6”.

  • ip_tags (list[IpTag]) – The list of tags associated with the public IP prefix.

  • prefix_length (int) – The Length of the Public IP Prefix.

  • ip_prefix (str) – The allocated Prefix.

  • public_ip_addresses (list[ReferencedPublicIpAddress]) – The list of all referenced PublicIPAddresses.

  • resource_guid (str) – The resource GUID property of the public IP prefix resource.

  • provisioning_state (str) – The provisioning state of the Public IP prefix resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • load_balancer_frontend_ip_configuration (SubResource) – The reference to load balancer frontend IP configuration associated with the public IP prefix.

class azure.mgmt.network.v2019_02_01.models.PublicIPPrefixListResult(*, value: Optional[List[PublicIPPrefix]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListPublicIpPrefixes API service call.

Parameters
  • value (list[PublicIPPrefix]) – A list of public IP prefixes that exists in a resource group.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.PublicIPPrefixSku(**kwargs)[source]

Bases: msrest.serialization.Model

SKU of a public IP prefix.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

name (str) – Name of a public IP prefix SKU. Default value: “Standard”.

name = 'Standard'
class azure.mgmt.network.v2019_02_01.models.QueryTroubleshootingParameters(*, target_resource_id: str, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the resource to query the troubleshooting result.

All required parameters must be populated in order to send to Azure.

Parameters

target_resource_id (str) – Required. The target resource ID to query the troubleshooting result.

class azure.mgmt.network.v2019_02_01.models.ReferencedPublicIpAddress(*, id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Reference to a public IP address.

Parameters

id (str) – The PublicIPAddress Reference.

class azure.mgmt.network.v2019_02_01.models.Resource(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Common resource representation.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

Variables
class azure.mgmt.network.v2019_02_01.models.ResourceIdentityType(value)[source]

Bases: str, enum.Enum

The type of identity used for the resource. The type ‘SystemAssigned, UserAssigned’ includes both an implicitly created identity and a set of user assigned identities. The type ‘None’ will remove any identities from the virtual machine.

none = 'None'
system_assigned = 'SystemAssigned'
system_assigned_user_assigned = 'SystemAssigned, UserAssigned'
user_assigned = 'UserAssigned'

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

ResourceNavigationLink resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the resource that is unique within a resource group. This name can be used to access the resource.

  • linked_resource_type (str) – Resource type of the linked resource.

  • link (str) – Link to the external resource.

Variables
  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str) – Provisioning state of the ResourceNavigationLink resource.

class azure.mgmt.network.v2019_02_01.models.ResourceNavigationLinksListResult(*, value: Optional[List[ResourceNavigationLink]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ResourceNavigationLinks_Get operation.

Parameters
  • value (list[ResourceNavigationLink]) – The resource navigation links in a subnet.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.RetentionPolicyParameters(*, days: Optional[int] = 0, enabled: Optional[bool] = False, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the retention policy for flow log.

Parameters
  • days (int) – Number of days to retain flow log records.

  • enabled (bool) – Flag to enable/disable retention.

class azure.mgmt.network.v2019_02_01.models.Route(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, address_prefix: Optional[str] = None, next_hop_type: Optional[Union[str, RouteNextHopType]] = None, next_hop_ip_address: Optional[str] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Route resource.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • address_prefix (str) – The destination CIDR to which the route applies.

  • next_hop_type (str or RouteNextHopType) – The type of Azure hop the packet should be sent to. Possible values include: “VirtualNetworkGateway”, “VnetLocal”, “Internet”, “VirtualAppliance”, “None”.

  • next_hop_ip_address (str) – The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.

  • provisioning_state (str) – The provisioning state of the resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.RouteFilter(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, rules: Optional[List[RouteFilterRule]] = None, peerings: Optional[List[ExpressRouteCircuitPeering]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Route Filter Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • rules (list[RouteFilterRule]) – Collection of RouteFilterRules contained within a route filter.

  • peerings (list[ExpressRouteCircuitPeering]) – A collection of references to express route circuit peerings.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str) – The provisioning state of the resource. Possible values are: ‘Updating’, ‘Deleting’, ‘Succeeded’ and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.RouteFilterListResult(*, value: Optional[List[RouteFilter]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the ListRouteFilters API service call.

Parameters
  • value (list[RouteFilter]) – Gets a list of route filters in a resource group.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.RouteFilterRule(*, id: Optional[str] = None, name: Optional[str] = None, location: Optional[str] = None, access: Optional[Union[str, Access]] = None, communities: Optional[List[str]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Route Filter Rule Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • location (str) – Resource location.

  • access (str or Access) – The access type of the rule. Possible values include: “Allow”, “Deny”.

  • communities (list[str]) – The collection for bgp community values to filter on. e.g. [‘12076:5010’,’12076:5020’].

Variables
  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • route_filter_rule_type (str) – The rule type of the rule. Valid value is: ‘Community’. Default value: “Community”.

  • provisioning_state (str) – The provisioning state of the resource. Possible values are: ‘Updating’, ‘Deleting’, ‘Succeeded’ and ‘Failed’.

route_filter_rule_type = 'Community'
class azure.mgmt.network.v2019_02_01.models.RouteFilterRuleListResult(*, value: Optional[List[RouteFilterRule]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the ListRouteFilterRules API service call.

Parameters
  • value (list[RouteFilterRule]) – Gets a list of RouteFilterRules in a resource group.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.RouteListResult(*, value: Optional[List[Route]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the ListRoute API service call.

Parameters
  • value (list[Route]) – Gets a list of routes in a resource group.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.RouteNextHopType(value)[source]

Bases: str, enum.Enum

The type of Azure hop the packet should be sent to.

internet = 'Internet'
none = 'None'
virtual_appliance = 'VirtualAppliance'
virtual_network_gateway = 'VirtualNetworkGateway'
vnet_local = 'VnetLocal'
class azure.mgmt.network.v2019_02_01.models.RouteTable(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, routes: Optional[List[Route]] = None, disable_bgp_route_propagation: Optional[bool] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Route table resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • routes (list[Route]) – Collection of routes contained within a route table.

  • disable_bgp_route_propagation (bool) – Gets or sets whether to disable the routes learned by BGP on that route table. True means disable.

  • provisioning_state (str) – The provisioning state of the resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

Variables
class azure.mgmt.network.v2019_02_01.models.RouteTableListResult(*, value: Optional[List[RouteTable]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the ListRouteTable API service call.

Parameters
  • value (list[RouteTable]) – Gets a list of route tables in a resource group.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.SecurityGroupNetworkInterface(*, id: Optional[str] = None, security_rule_associations: Optional[SecurityRuleAssociations] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Network interface and all its associated security rules.

Parameters
  • id (str) – ID of the network interface.

  • security_rule_associations (SecurityRuleAssociations) – All security rules associated with the network interface.

class azure.mgmt.network.v2019_02_01.models.SecurityGroupViewParameters(*, target_resource_id: str, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the VM to check security groups for.

All required parameters must be populated in order to send to Azure.

Parameters

target_resource_id (str) – Required. ID of the target VM.

class azure.mgmt.network.v2019_02_01.models.SecurityGroupViewResult(*, network_interfaces: Optional[List[SecurityGroupNetworkInterface]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The information about security rules applied to the specified VM.

Parameters

network_interfaces (list[SecurityGroupNetworkInterface]) – List of network interfaces on the specified VM.

class azure.mgmt.network.v2019_02_01.models.SecurityRule(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, description: Optional[str] = None, protocol: Optional[Union[str, SecurityRuleProtocol]] = None, source_port_range: Optional[str] = None, destination_port_range: Optional[str] = None, source_address_prefix: Optional[str] = None, source_address_prefixes: Optional[List[str]] = None, source_application_security_groups: Optional[List[ApplicationSecurityGroup]] = None, destination_address_prefix: Optional[str] = None, destination_address_prefixes: Optional[List[str]] = None, destination_application_security_groups: Optional[List[ApplicationSecurityGroup]] = None, source_port_ranges: Optional[List[str]] = None, destination_port_ranges: Optional[List[str]] = None, access: Optional[Union[str, SecurityRuleAccess]] = None, priority: Optional[int] = None, direction: Optional[Union[str, SecurityRuleDirection]] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Network security rule.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • description (str) – A description for this rule. Restricted to 140 chars.

  • protocol (str or SecurityRuleProtocol) – Network protocol this rule applies to. Possible values are ‘Tcp’, ‘Udp’, ‘Icmp’, ‘Esp’, and ‘*’. Possible values include: “Tcp”, “Udp”, “Icmp”, “Esp”, “*”.

  • source_port_range (str) – The source port or range. Integer or range between 0 and 65535. Asterisk ‘*’ can also be used to match all ports.

  • destination_port_range (str) – The destination port or range. Integer or range between 0 and 65535. Asterisk ‘*’ can also be used to match all ports.

  • source_address_prefix (str) – The CIDR or source IP range. Asterisk ‘*’ 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.

  • source_address_prefixes (list[str]) – The CIDR or source IP ranges.

  • source_application_security_groups (list[ApplicationSecurityGroup]) – The application security group specified as source.

  • destination_address_prefix (str) – The destination address prefix. CIDR or destination IP range. Asterisk ‘*’ can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used.

  • destination_address_prefixes (list[str]) – The destination address prefixes. CIDR or destination IP ranges.

  • destination_application_security_groups (list[ApplicationSecurityGroup]) – The application security group specified as destination.

  • source_port_ranges (list[str]) – The source port ranges.

  • destination_port_ranges (list[str]) – The destination port ranges.

  • access (str or SecurityRuleAccess) – The network traffic is allowed or denied. Possible values include: “Allow”, “Deny”.

  • priority (int) – 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.

  • direction (str or SecurityRuleDirection) – The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values include: “Inbound”, “Outbound”.

  • provisioning_state (str) – The provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.SecurityRuleAccess(value)[source]

Bases: str, enum.Enum

Whether network traffic is allowed or denied.

allow = 'Allow'
deny = 'Deny'
class azure.mgmt.network.v2019_02_01.models.SecurityRuleAssociations(*, network_interface_association: Optional[NetworkInterfaceAssociation] = None, subnet_association: Optional[SubnetAssociation] = None, default_security_rules: Optional[List[SecurityRule]] = None, effective_security_rules: Optional[List[EffectiveNetworkSecurityRule]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

All security rules associated with the network interface.

Parameters
class azure.mgmt.network.v2019_02_01.models.SecurityRuleDirection(value)[source]

Bases: str, enum.Enum

The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.

inbound = 'Inbound'
outbound = 'Outbound'
class azure.mgmt.network.v2019_02_01.models.SecurityRuleListResult(*, value: Optional[List[SecurityRule]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group.

Parameters
  • value (list[SecurityRule]) – The security rules in a network security group.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.SecurityRuleProtocol(value)[source]

Bases: str, enum.Enum

Network protocol this rule applies to. Possible values are ‘Tcp’, ‘Udp’, ‘Icmp’, ‘Esp’, and ‘*’.

asterisk = '*'
esp = 'Esp'
icmp = 'Icmp'
tcp = 'Tcp'
udp = 'Udp'

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

ServiceAssociationLink resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – Name of the resource that is unique within a resource group. This name can be used to access the resource.

  • linked_resource_type (str) – Resource type of the linked resource.

  • link (str) – Link to the external resource.

Variables
  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str) – Provisioning state of the ServiceAssociationLink resource.

class azure.mgmt.network.v2019_02_01.models.ServiceAssociationLinksListResult(*, value: Optional[List[ServiceAssociationLink]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ServiceAssociationLinks_Get operation.

Parameters
  • value (list[ServiceAssociationLink]) – The service association links in a subnet.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.ServiceEndpointPolicy(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, service_endpoint_policy_definitions: Optional[List[ServiceEndpointPolicyDefinition]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Service End point policy resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • service_endpoint_policy_definitions (list[ServiceEndpointPolicyDefinition]) – A collection of service endpoint policy definitions of the service endpoint policy.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • subnets (list[Subnet]) – A collection of references to subnets.

  • resource_guid (str) – The resource GUID property of the service endpoint policy resource.

  • provisioning_state (str) – The provisioning state of the service endpoint policy. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ServiceEndpointPolicyDefinition(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, description: Optional[str] = None, service: Optional[str] = None, service_resources: Optional[List[str]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Service Endpoint policy definitions.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • description (str) – A description for this rule. Restricted to 140 chars.

  • service (str) – Service endpoint name.

  • service_resources (list[str]) – A list of service resources.

Variables

provisioning_state (str) – The provisioning state of the service end point policy definition. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.ServiceEndpointPolicyDefinitionListResult(*, value: Optional[List[ServiceEndpointPolicyDefinition]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListServiceEndpointPolicyDefinition API service call. Retrieves all service endpoint policy definition that belongs to a service endpoint policy.

Parameters
class azure.mgmt.network.v2019_02_01.models.ServiceEndpointPolicyListResult(*, value: Optional[List[ServiceEndpointPolicy]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListServiceEndpointPolicies API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[ServiceEndpointPolicy]) – A list of ServiceEndpointPolicy resources.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.ServiceEndpointPropertiesFormat(*, service: Optional[str] = None, locations: Optional[List[str]] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The service endpoint properties.

Parameters
  • service (str) – The type of the endpoint service.

  • locations (list[str]) – A list of locations.

  • provisioning_state (str) – The provisioning state of the resource.

class azure.mgmt.network.v2019_02_01.models.ServiceProviderProvisioningState(value)[source]

Bases: str, enum.Enum

The ServiceProviderProvisioningState state of the resource.

deprovisioning = 'Deprovisioning'
not_provisioned = 'NotProvisioned'
provisioned = 'Provisioned'
provisioning = 'Provisioning'
class azure.mgmt.network.v2019_02_01.models.Severity(value)[source]

Bases: str, enum.Enum

The severity of the issue.

error = 'Error'
warning = 'Warning'
class azure.mgmt.network.v2019_02_01.models.SubResource(*, id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Reference to another subresource.

Parameters

id (str) – Resource ID.

class azure.mgmt.network.v2019_02_01.models.Subnet(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, address_prefix: Optional[str] = None, address_prefixes: Optional[List[str]] = None, network_security_group: Optional[NetworkSecurityGroup] = None, route_table: Optional[RouteTable] = None, nat_gateway: Optional[SubResource] = None, service_endpoints: Optional[List[ServiceEndpointPropertiesFormat]] = None, service_endpoint_policies: Optional[List[ServiceEndpointPolicy]] = None, resource_navigation_links: Optional[List[ResourceNavigationLink]] = None, service_association_links: Optional[List[ServiceAssociationLink]] = None, delegations: Optional[List[Delegation]] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Subnet in a virtual network resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • address_prefix (str) – The address prefix for the subnet.

  • address_prefixes (list[str]) – List of address prefixes for the subnet.

  • network_security_group (NetworkSecurityGroup) – The reference of the NetworkSecurityGroup resource.

  • route_table (RouteTable) – The reference of the RouteTable resource.

  • nat_gateway (SubResource) – Nat gateway associated with this subnet.

  • service_endpoints (list[ServiceEndpointPropertiesFormat]) – An array of service endpoints.

  • service_endpoint_policies (list[ServiceEndpointPolicy]) – An array of service endpoint policies.

  • resource_navigation_links (list[ResourceNavigationLink]) – Gets an array of references to the external resources using subnet.

  • service_association_links (list[ServiceAssociationLink]) – Gets an array of references to services injecting into this subnet.

  • delegations (list[Delegation]) – Gets an array of references to the delegations on the subnet.

  • provisioning_state (str) – The provisioning state of the resource.

Variables
  • interface_endpoints (list[InterfaceEndpoint]) – An array of references to interface endpoints.

  • ip_configurations (list[IPConfiguration]) – Gets an array of references to the network interface IP configurations using subnet.

  • ip_configuration_profiles (list[IPConfigurationProfile]) – Array of IP configuration profiles which reference this subnet.

  • purpose (str) – A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.

class azure.mgmt.network.v2019_02_01.models.SubnetAssociation(*, security_rules: Optional[List[SecurityRule]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Subnet and it’s custom security rules.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

id (str) – Subnet ID.

Parameters

security_rules (list[SecurityRule]) – Collection of custom security rules.

class azure.mgmt.network.v2019_02_01.models.SubnetListResult(*, value: Optional[List[Subnet]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network.

Parameters
  • value (list[Subnet]) – The subnets in a virtual network.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.TagsObject(*, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Tags object for patch operations.

Parameters

tags (dict[str, str]) – A set of tags. Resource tags.

class azure.mgmt.network.v2019_02_01.models.Topology(*, resources: Optional[List[TopologyResource]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Topology of the specified resource group.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – GUID representing the operation id.

  • created_date_time (datetime) – The datetime when the topology was initially created for the resource group.

  • last_modified (datetime) – The datetime when the topology was last modified.

Parameters

resources (list[TopologyResource]) – A list of topology resources.

class azure.mgmt.network.v2019_02_01.models.TopologyAssociation(*, name: Optional[str] = None, resource_id: Optional[str] = None, association_type: Optional[Union[str, AssociationType]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Resources that have an association with the parent resource.

Parameters
  • name (str) – The name of the resource that is associated with the parent resource.

  • resource_id (str) – The ID of the resource that is associated with the parent resource.

  • association_type (str or AssociationType) – The association type of the child resource to the parent resource. Possible values include: “Associated”, “Contains”.

class azure.mgmt.network.v2019_02_01.models.TopologyParameters(*, target_resource_group_name: Optional[str] = None, target_virtual_network: Optional[SubResource] = None, target_subnet: Optional[SubResource] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the representation of topology.

Parameters
  • target_resource_group_name (str) – The name of the target resource group to perform topology on.

  • target_virtual_network (SubResource) – The reference of the Virtual Network resource.

  • target_subnet (SubResource) – The reference of the Subnet resource.

class azure.mgmt.network.v2019_02_01.models.TopologyResource(*, name: Optional[str] = None, id: Optional[str] = None, location: Optional[str] = None, associations: Optional[List[TopologyAssociation]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The network resource topology information for the given resource group.

Parameters
  • name (str) – Name of the resource.

  • id (str) – ID of the resource.

  • location (str) – Resource location.

  • associations (list[TopologyAssociation]) – Holds the associations the resource has with other resources in the resource group.

class azure.mgmt.network.v2019_02_01.models.TrafficAnalyticsConfigurationProperties(*, enabled: bool, workspace_id: str, workspace_region: str, workspace_resource_id: str, traffic_analytics_interval: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the configuration of traffic analytics.

All required parameters must be populated in order to send to Azure.

Parameters
  • enabled (bool) – Required. Flag to enable/disable traffic analytics.

  • workspace_id (str) – Required. The resource guid of the attached workspace.

  • workspace_region (str) – Required. The location of the attached workspace.

  • workspace_resource_id (str) – Required. Resource Id of the attached workspace.

  • traffic_analytics_interval (int) – The interval in minutes which would decide how frequently TA service should do flow analytics.

class azure.mgmt.network.v2019_02_01.models.TrafficAnalyticsProperties(*, network_watcher_flow_analytics_configuration: azure.mgmt.network.v2019_02_01.models._models_py3.TrafficAnalyticsConfigurationProperties, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the configuration of traffic analytics.

All required parameters must be populated in order to send to Azure.

Parameters

network_watcher_flow_analytics_configuration (TrafficAnalyticsConfigurationProperties) – Required. Parameters that define the configuration of traffic analytics.

class azure.mgmt.network.v2019_02_01.models.TransportProtocol(value)[source]

Bases: str, enum.Enum

The transport protocol for the endpoint. Possible values are ‘Udp’ or ‘Tcp’ or ‘All’.

all = 'All'
tcp = 'Tcp'
udp = 'Udp'
class azure.mgmt.network.v2019_02_01.models.TroubleshootingDetails(*, id: Optional[str] = None, reason_type: Optional[str] = None, summary: Optional[str] = None, detail: Optional[str] = None, recommended_actions: Optional[List[TroubleshootingRecommendedActions]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Information gained from troubleshooting of specified resource.

Parameters
  • id (str) – The id of the get troubleshoot operation.

  • reason_type (str) – Reason type of failure.

  • summary (str) – A summary of troubleshooting.

  • detail (str) – Details on troubleshooting results.

  • recommended_actions (list[TroubleshootingRecommendedActions]) – List of recommended actions.

class azure.mgmt.network.v2019_02_01.models.TroubleshootingParameters(*, target_resource_id: str, storage_id: str, storage_path: str, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the resource to troubleshoot.

All required parameters must be populated in order to send to Azure.

Parameters
  • target_resource_id (str) – Required. The target resource to troubleshoot.

  • storage_id (str) – Required. The ID for the storage account to save the troubleshoot result.

  • storage_path (str) – Required. The path to the blob to save the troubleshoot result in.

class azure.mgmt.network.v2019_02_01.models.TroubleshootingRecommendedActions(*, action_id: Optional[str] = None, action_text: Optional[str] = None, action_uri: Optional[str] = None, action_uri_text: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Recommended actions based on discovered issues.

Parameters
  • action_id (str) – ID of the recommended action.

  • action_text (str) – Description of recommended actions.

  • action_uri (str) – The uri linking to a documentation for the recommended troubleshooting actions.

  • action_uri_text (str) – The information from the URI for the recommended troubleshooting actions.

class azure.mgmt.network.v2019_02_01.models.TroubleshootingResult(*, start_time: Optional[datetime.datetime] = None, end_time: Optional[datetime.datetime] = None, code: Optional[str] = None, results: Optional[List[TroubleshootingDetails]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Troubleshooting information gained from specified resource.

Parameters
  • start_time (datetime) – The start time of the troubleshooting.

  • end_time (datetime) – The end time of the troubleshooting.

  • code (str) – The result code of the troubleshooting.

  • results (list[TroubleshootingDetails]) – Information from troubleshooting.

class azure.mgmt.network.v2019_02_01.models.TunnelConnectionHealth(**kwargs)[source]

Bases: msrest.serialization.Model

VirtualNetworkGatewayConnection properties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • tunnel (str) – Tunnel name.

  • connection_status (str or VirtualNetworkGatewayConnectionStatus) – Virtual Network Gateway connection status. Possible values include: “Unknown”, “Connecting”, “Connected”, “NotConnected”.

  • ingress_bytes_transferred (long) – The Ingress Bytes Transferred in this connection.

  • egress_bytes_transferred (long) – The Egress Bytes Transferred in this connection.

  • last_connection_established_utc_time (str) – The time at which connection was established in Utc format.

class azure.mgmt.network.v2019_02_01.models.TunnelConnectionStatus(value)[source]

Bases: str, enum.Enum

The current state of the tunnel.

connected = 'Connected'
connecting = 'Connecting'
not_connected = 'NotConnected'
unknown = 'Unknown'
class azure.mgmt.network.v2019_02_01.models.Usage(*, current_value: int, limit: int, name: azure.mgmt.network.v2019_02_01.models._models_py3.UsageName, **kwargs)[source]

Bases: msrest.serialization.Model

Describes network resource usage.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource identifier.

  • unit (str) – Required. An enum describing the unit of measurement. Default value: “Count”.

Parameters
  • current_value (long) – Required. The current value of the usage.

  • limit (long) – Required. The limit of usage.

  • name (UsageName) – Required. The name of the type of usage.

unit = 'Count'
class azure.mgmt.network.v2019_02_01.models.UsageName(*, value: Optional[str] = None, localized_value: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The usage names.

Parameters
  • value (str) – A string describing the resource name.

  • localized_value (str) – A localized string describing the resource name.

class azure.mgmt.network.v2019_02_01.models.UsagesListResult(*, value: Optional[List[Usage]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The list usages operation response.

Parameters
  • value (list[Usage]) – The list network resource usages.

  • next_link (str) – URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.VerbosityLevel(value)[source]

Bases: str, enum.Enum

Verbosity level. Accepted values are ‘Normal’, ‘Minimum’, ‘Full’.

full = 'Full'
minimum = 'Minimum'
normal = 'Normal'
class azure.mgmt.network.v2019_02_01.models.VerificationIPFlowParameters(*, target_resource_id: str, direction: Union[str, Direction], protocol: Union[str, IpFlowProtocol], local_port: str, remote_port: str, local_ip_address: str, remote_ip_address: str, target_nic_resource_id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters that define the IP flow to be verified.

All required parameters must be populated in order to send to Azure.

Parameters
  • target_resource_id (str) – Required. The ID of the target resource to perform next-hop on.

  • direction (str or Direction) – Required. The direction of the packet represented as a 5-tuple. Possible values include: “Inbound”, “Outbound”.

  • protocol (str or IpFlowProtocol) – Required. Protocol to be verified on. Possible values include: “TCP”, “UDP”.

  • local_port (str) – Required. 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.

  • remote_port (str) – Required. 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.

  • local_ip_address (str) – Required. The local IP address. Acceptable values are valid IPv4 addresses.

  • remote_ip_address (str) – Required. The remote IP address. Acceptable values are valid IPv4 addresses.

  • target_nic_resource_id (str) – 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).

class azure.mgmt.network.v2019_02_01.models.VerificationIPFlowResult(*, access: Optional[Union[str, Access]] = None, rule_name: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Results of IP flow verification on the target resource.

Parameters
  • access (str or Access) – Indicates whether the traffic is allowed or denied. Possible values include: “Allow”, “Deny”.

  • rule_name (str) – Name of the rule. If input is not matched against any security rule, it is not displayed.

class azure.mgmt.network.v2019_02_01.models.VirtualHub(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, virtual_wan: Optional[SubResource] = None, vpn_gateway: Optional[SubResource] = None, p2_s_vpn_gateway: Optional[SubResource] = None, express_route_gateway: Optional[SubResource] = None, virtual_network_connections: Optional[List[HubVirtualNetworkConnection]] = None, address_prefix: Optional[str] = None, route_table: Optional[VirtualHubRouteTable] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

VirtualHub Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • virtual_wan (SubResource) – The VirtualWAN to which the VirtualHub belongs.

  • vpn_gateway (SubResource) – The VpnGateway associated with this VirtualHub.

  • p2_s_vpn_gateway (SubResource) – The P2SVpnGateway associated with this VirtualHub.

  • express_route_gateway (SubResource) – The expressRouteGateway associated with this VirtualHub.

  • virtual_network_connections (list[HubVirtualNetworkConnection]) – List of all vnet connections with this VirtualHub.

  • address_prefix (str) – Address-prefix for this VirtualHub.

  • route_table (VirtualHubRouteTable) – The routeTable associated with this virtual hub.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.VirtualHubId(*, id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Virtual Hub identifier.

Parameters

id (str) – The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.

class azure.mgmt.network.v2019_02_01.models.VirtualHubRoute(*, address_prefixes: Optional[List[str]] = None, next_hop_ip_address: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

VirtualHub route.

Parameters
  • address_prefixes (list[str]) – List of all addressPrefixes.

  • next_hop_ip_address (str) – NextHop ip address.

class azure.mgmt.network.v2019_02_01.models.VirtualHubRouteTable(*, routes: Optional[List[VirtualHubRoute]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

VirtualHub route table.

Parameters

routes (list[VirtualHubRoute]) – List of all routes.

class azure.mgmt.network.v2019_02_01.models.VirtualNetwork(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, address_space: Optional[AddressSpace] = None, dhcp_options: Optional[DhcpOptions] = None, subnets: Optional[List[Subnet]] = None, virtual_network_peerings: Optional[List[VirtualNetworkPeering]] = None, resource_guid: Optional[str] = None, provisioning_state: Optional[str] = None, enable_ddos_protection: Optional[bool] = False, enable_vm_protection: Optional[bool] = False, ddos_protection_plan: Optional[SubResource] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Virtual Network resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • address_space (AddressSpace) – The AddressSpace that contains an array of IP address ranges that can be used by subnets.

  • dhcp_options (DhcpOptions) – The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.

  • subnets (list[Subnet]) – A list of subnets in a Virtual Network.

  • virtual_network_peerings (list[VirtualNetworkPeering]) – A list of peerings in a Virtual Network.

  • resource_guid (str) – The resourceGuid property of the Virtual Network resource.

  • provisioning_state (str) – The provisioning state of the PublicIP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

  • enable_ddos_protection (bool) – Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.

  • enable_vm_protection (bool) – Indicates if VM protection is enabled for all the subnets in the virtual network.

  • ddos_protection_plan (SubResource) – The DDoS protection plan associated with the virtual network.

Variables
class azure.mgmt.network.v2019_02_01.models.VirtualNetworkConnectionGatewayReference(*, id: str, **kwargs)[source]

Bases: msrest.serialization.Model

A reference to VirtualNetworkGateway or LocalNetworkGateway resource.

All required parameters must be populated in order to send to Azure.

Parameters

id (str) – Required. The ID of VirtualNetworkGateway or LocalNetworkGateway resource.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkGateway(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, ip_configurations: Optional[List[VirtualNetworkGatewayIPConfiguration]] = None, gateway_type: Optional[Union[str, VirtualNetworkGatewayType]] = None, vpn_type: Optional[Union[str, VpnType]] = None, enable_bgp: Optional[bool] = None, active: Optional[bool] = None, gateway_default_site: Optional[SubResource] = None, sku: Optional[VirtualNetworkGatewaySku] = None, vpn_client_configuration: Optional[VpnClientConfiguration] = None, bgp_settings: Optional[BgpSettings] = None, custom_routes: Optional[AddressSpace] = None, resource_guid: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

A common class for general resource information.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • ip_configurations (list[VirtualNetworkGatewayIPConfiguration]) – IP configurations for virtual network gateway.

  • gateway_type (str or VirtualNetworkGatewayType) – The type of this virtual network gateway. Possible values are: ‘Vpn’ and ‘ExpressRoute’. Possible values include: “Vpn”, “ExpressRoute”.

  • vpn_type (str or VpnType) – The type of this virtual network gateway. Possible values are: ‘PolicyBased’ and ‘RouteBased’. Possible values include: “PolicyBased”, “RouteBased”.

  • enable_bgp (bool) – Whether BGP is enabled for this virtual network gateway or not.

  • active (bool) – ActiveActive flag.

  • gateway_default_site (SubResource) – 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.

  • sku (VirtualNetworkGatewaySku) – The reference of the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.

  • vpn_client_configuration (VpnClientConfiguration) – The reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations.

  • bgp_settings (BgpSettings) – Virtual network gateway’s BGP speaker settings.

  • custom_routes (AddressSpace) – The reference of the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.

  • resource_guid (str) – The resource GUID property of the VirtualNetworkGateway resource.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • provisioning_state (str) – The provisioning state of the VirtualNetworkGateway resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewayConnection(*, virtual_network_gateway1: azure.mgmt.network.v2019_02_01.models._models_py3.VirtualNetworkGateway, connection_type: Union[str, VirtualNetworkGatewayConnectionType], id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, authorization_key: Optional[str] = None, virtual_network_gateway2: Optional[VirtualNetworkGateway] = None, local_network_gateway2: Optional[LocalNetworkGateway] = None, connection_protocol: Optional[Union[str, VirtualNetworkGatewayConnectionProtocol]] = None, routing_weight: Optional[int] = None, shared_key: Optional[str] = None, peer: Optional[SubResource] = None, enable_bgp: Optional[bool] = None, use_policy_based_traffic_selectors: Optional[bool] = None, ipsec_policies: Optional[List[IpsecPolicy]] = None, resource_guid: Optional[str] = None, express_route_gateway_bypass: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

A common class for general resource information.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • authorization_key (str) – The authorizationKey.

  • virtual_network_gateway1 (VirtualNetworkGateway) – Required. The reference to virtual network gateway resource.

  • virtual_network_gateway2 (VirtualNetworkGateway) – The reference to virtual network gateway resource.

  • local_network_gateway2 (LocalNetworkGateway) – The reference to local network gateway resource.

  • connection_type (str or VirtualNetworkGatewayConnectionType) – Required. Gateway connection type. Possible values include: “IPsec”, “Vnet2Vnet”, “ExpressRoute”, “VPNClient”.

  • connection_protocol (str or VirtualNetworkGatewayConnectionProtocol) – Connection protocol used for this connection. Possible values include: “IKEv2”, “IKEv1”.

  • routing_weight (int) – The routing weight.

  • shared_key (str) – The IPSec shared key.

  • peer (SubResource) – The reference to peerings resource.

  • enable_bgp (bool) – EnableBgp flag.

  • use_policy_based_traffic_selectors (bool) – Enable policy-based traffic selectors.

  • ipsec_policies (list[IpsecPolicy]) – The IPSec Policies to be considered by this connection.

  • resource_guid (str) – The resource GUID property of the VirtualNetworkGatewayConnection resource.

  • express_route_gateway_bypass (bool) – Bypass ExpressRoute Gateway for data forwarding.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • connection_status (str or VirtualNetworkGatewayConnectionStatus) – Virtual Network Gateway connection status. Possible values include: “Unknown”, “Connecting”, “Connected”, “NotConnected”.

  • tunnel_connection_status (list[TunnelConnectionHealth]) – Collection of all tunnels’ connection health status.

  • egress_bytes_transferred (long) – The egress bytes transferred in this connection.

  • ingress_bytes_transferred (long) – The ingress bytes transferred in this connection.

  • provisioning_state (str) – The provisioning state of the VirtualNetworkGatewayConnection resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewayConnectionListEntity(*, virtual_network_gateway1: azure.mgmt.network.v2019_02_01.models._models_py3.VirtualNetworkConnectionGatewayReference, connection_type: Union[str, VirtualNetworkGatewayConnectionType], id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, authorization_key: Optional[str] = None, virtual_network_gateway2: Optional[VirtualNetworkConnectionGatewayReference] = None, local_network_gateway2: Optional[VirtualNetworkConnectionGatewayReference] = None, connection_protocol: Optional[Union[str, VirtualNetworkGatewayConnectionProtocol]] = None, routing_weight: Optional[int] = None, shared_key: Optional[str] = None, peer: Optional[SubResource] = None, enable_bgp: Optional[bool] = None, use_policy_based_traffic_selectors: Optional[bool] = None, ipsec_policies: Optional[List[IpsecPolicy]] = None, resource_guid: Optional[str] = None, express_route_gateway_bypass: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

A common class for general resource information.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • authorization_key (str) – The authorizationKey.

  • virtual_network_gateway1 (VirtualNetworkConnectionGatewayReference) – Required. The reference to virtual network gateway resource.

  • virtual_network_gateway2 (VirtualNetworkConnectionGatewayReference) – The reference to virtual network gateway resource.

  • local_network_gateway2 (VirtualNetworkConnectionGatewayReference) – The reference to local network gateway resource.

  • connection_type (str or VirtualNetworkGatewayConnectionType) – Required. Gateway connection type. Possible values include: “IPsec”, “Vnet2Vnet”, “ExpressRoute”, “VPNClient”.

  • connection_protocol (str or VirtualNetworkGatewayConnectionProtocol) – Connection protocol used for this connection. Possible values include: “IKEv2”, “IKEv1”.

  • routing_weight (int) – The routing weight.

  • shared_key (str) – The IPSec shared key.

  • peer (SubResource) – The reference to peerings resource.

  • enable_bgp (bool) – EnableBgp flag.

  • use_policy_based_traffic_selectors (bool) – Enable policy-based traffic selectors.

  • ipsec_policies (list[IpsecPolicy]) – The IPSec Policies to be considered by this connection.

  • resource_guid (str) – The resource GUID property of the VirtualNetworkGatewayConnection resource.

  • express_route_gateway_bypass (bool) – Bypass ExpressRoute Gateway for data forwarding.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • connection_status (str or VirtualNetworkGatewayConnectionStatus) – Virtual Network Gateway connection status. Possible values include: “Unknown”, “Connecting”, “Connected”, “NotConnected”.

  • tunnel_connection_status (list[TunnelConnectionHealth]) – Collection of all tunnels’ connection health status.

  • egress_bytes_transferred (long) – The egress bytes transferred in this connection.

  • ingress_bytes_transferred (long) – The ingress bytes transferred in this connection.

  • provisioning_state (str) – The provisioning state of the VirtualNetworkGatewayConnection resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewayConnectionListResult(*, value: Optional[List[VirtualNetworkGatewayConnection]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the ListVirtualNetworkGatewayConnections API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[VirtualNetworkGatewayConnection]) – Gets a list of VirtualNetworkGatewayConnection resources that exists in a resource group.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewayConnectionProtocol(value)[source]

Bases: str, enum.Enum

Gateway connection protocol. Possible values are: ‘IKEv2’, ‘IKEv1’.

ik_ev1 = 'IKEv1'
ik_ev2 = 'IKEv2'
class azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewayConnectionStatus(value)[source]

Bases: str, enum.Enum

Virtual Network Gateway connection status.

connected = 'Connected'
connecting = 'Connecting'
not_connected = 'NotConnected'
unknown = 'Unknown'
class azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewayConnectionType(value)[source]

Bases: str, enum.Enum

Gateway connection type.

express_route = 'ExpressRoute'
i_psec = 'IPsec'
vnet2_vnet = 'Vnet2Vnet'
vpn_client = 'VPNClient'
class azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewayIPConfiguration(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, private_ip_allocation_method: Optional[Union[str, IPAllocationMethod]] = None, subnet: Optional[SubResource] = None, public_ip_address: Optional[SubResource] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

IP configuration for virtual network gateway.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • private_ip_allocation_method (str or IPAllocationMethod) – The private IP address allocation method. Possible values include: “Static”, “Dynamic”.

  • subnet (SubResource) – The reference of the subnet resource.

  • public_ip_address (SubResource) – The reference of the public IP resource.

Variables

provisioning_state (str) – The provisioning state of the public IP resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewayListConnectionsResult(*, value: Optional[List[VirtualNetworkGatewayConnectionListEntity]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the VirtualNetworkGatewayListConnections API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[VirtualNetworkGatewayConnectionListEntity]) – Gets a list of VirtualNetworkGatewayConnection resources that exists in a resource group.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewayListResult(*, value: Optional[List[VirtualNetworkGateway]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the ListVirtualNetworkGateways API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

value (list[VirtualNetworkGateway]) – Gets a list of VirtualNetworkGateway resources that exists in a resource group.

Variables

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewaySku(*, name: Optional[Union[str, VirtualNetworkGatewaySkuName]] = None, tier: Optional[Union[str, VirtualNetworkGatewaySkuTier]] = None, capacity: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

VirtualNetworkGatewaySku details.

Parameters
  • name (str or VirtualNetworkGatewaySkuName) – Gateway SKU name. Possible values include: “Basic”, “HighPerformance”, “Standard”, “UltraPerformance”, “VpnGw1”, “VpnGw2”, “VpnGw3”, “VpnGw1AZ”, “VpnGw2AZ”, “VpnGw3AZ”, “ErGw1AZ”, “ErGw2AZ”, “ErGw3AZ”.

  • tier (str or VirtualNetworkGatewaySkuTier) – Gateway SKU tier. Possible values include: “Basic”, “HighPerformance”, “Standard”, “UltraPerformance”, “VpnGw1”, “VpnGw2”, “VpnGw3”, “VpnGw1AZ”, “VpnGw2AZ”, “VpnGw3AZ”, “ErGw1AZ”, “ErGw2AZ”, “ErGw3AZ”.

  • capacity (int) – The capacity.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewaySkuName(value)[source]

Bases: str, enum.Enum

Gateway SKU name.

basic = 'Basic'
er_gw1_az = 'ErGw1AZ'
er_gw2_az = 'ErGw2AZ'
er_gw3_az = 'ErGw3AZ'
high_performance = 'HighPerformance'
standard = 'Standard'
ultra_performance = 'UltraPerformance'
vpn_gw1 = 'VpnGw1'
vpn_gw1_az = 'VpnGw1AZ'
vpn_gw2 = 'VpnGw2'
vpn_gw2_az = 'VpnGw2AZ'
vpn_gw3 = 'VpnGw3'
vpn_gw3_az = 'VpnGw3AZ'
class azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewaySkuTier(value)[source]

Bases: str, enum.Enum

Gateway SKU tier.

basic = 'Basic'
er_gw1_az = 'ErGw1AZ'
er_gw2_az = 'ErGw2AZ'
er_gw3_az = 'ErGw3AZ'
high_performance = 'HighPerformance'
standard = 'Standard'
ultra_performance = 'UltraPerformance'
vpn_gw1 = 'VpnGw1'
vpn_gw1_az = 'VpnGw1AZ'
vpn_gw2 = 'VpnGw2'
vpn_gw2_az = 'VpnGw2AZ'
vpn_gw3 = 'VpnGw3'
vpn_gw3_az = 'VpnGw3AZ'
class azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewayType(value)[source]

Bases: str, enum.Enum

The type of this virtual network gateway. Possible values are: ‘Vpn’ and ‘ExpressRoute’.

express_route = 'ExpressRoute'
vpn = 'Vpn'
class azure.mgmt.network.v2019_02_01.models.VirtualNetworkListResult(*, value: Optional[List[VirtualNetwork]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the ListVirtualNetworks API service call.

Parameters
  • value (list[VirtualNetwork]) – Gets a list of VirtualNetwork resources in a resource group.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkListUsageResult(*, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for the virtual networks GetUsage API service call.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

value (list[VirtualNetworkUsage]) – VirtualNetwork usage stats.

Parameters

next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkPeering(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, allow_virtual_network_access: Optional[bool] = None, allow_forwarded_traffic: Optional[bool] = None, allow_gateway_transit: Optional[bool] = None, use_remote_gateways: Optional[bool] = None, remote_virtual_network: Optional[SubResource] = None, remote_address_space: Optional[AddressSpace] = None, peering_state: Optional[Union[str, VirtualNetworkPeeringState]] = None, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

Peerings in a virtual network resource.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • allow_virtual_network_access (bool) – Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.

  • allow_forwarded_traffic (bool) – Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.

  • allow_gateway_transit (bool) – If gateway links can be used in remote virtual networking to link to this virtual network.

  • use_remote_gateways (bool) – 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.

  • remote_virtual_network (SubResource) – The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- peering).

  • remote_address_space (AddressSpace) – The reference of the remote virtual network address space.

  • peering_state (str or VirtualNetworkPeeringState) – The status of the virtual network peering. Possible values are ‘Initiated’, ‘Connected’, and ‘Disconnected’. Possible values include: “Initiated”, “Connected”, “Disconnected”.

  • provisioning_state (str) – The provisioning state of the resource.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkPeeringListResult(*, value: Optional[List[VirtualNetworkPeering]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListSubnets API service call. Retrieves all subnets that belong to a virtual network.

Parameters
class azure.mgmt.network.v2019_02_01.models.VirtualNetworkPeeringState(value)[source]

Bases: str, enum.Enum

The status of the virtual network peering. Possible values are ‘Initiated’, ‘Connected’, and ‘Disconnected’.

connected = 'Connected'
disconnected = 'Disconnected'
initiated = 'Initiated'
class azure.mgmt.network.v2019_02_01.models.VirtualNetworkTap(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, destination_network_interface_ip_configuration: Optional[NetworkInterfaceIPConfiguration] = None, destination_load_balancer_front_end_ip_configuration: Optional[FrontendIPConfiguration] = None, destination_port: Optional[int] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Virtual Network Tap resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • destination_network_interface_ip_configuration (NetworkInterfaceIPConfiguration) – The reference to the private IP Address of the collector nic that will receive the tap.

  • destination_load_balancer_front_end_ip_configuration (FrontendIPConfiguration) – The reference to the private IP address on the internal Load Balancer that will receive the tap.

  • destination_port (int) – The VXLAN destination port that will receive the tapped traffic.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • network_interface_tap_configurations (list[NetworkInterfaceTapConfiguration]) – Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.

  • resource_guid (str) – The resourceGuid property of the virtual network tap.

  • provisioning_state (str) – The provisioning state of the virtual network tap. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkTapListResult(*, value: Optional[List[VirtualNetworkTap]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Response for ListVirtualNetworkTap API service call.

Parameters
  • value (list[VirtualNetworkTap]) – A list of VirtualNetworkTaps in a resource group.

  • next_link (str) – The URL to get the next set of results.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkUsage(**kwargs)[source]

Bases: msrest.serialization.Model

Usage details for subnet.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • current_value (float) – Indicates number of IPs used from the Subnet.

  • id (str) – Subnet identifier.

  • limit (float) – Indicates the size of the subnet.

  • name (VirtualNetworkUsageName) – The name containing common and localized value for usage.

  • unit (str) – Usage units. Returns ‘Count’.

class azure.mgmt.network.v2019_02_01.models.VirtualNetworkUsageName(**kwargs)[source]

Bases: msrest.serialization.Model

Usage strings container.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • localized_value (str) – Localized subnet size and usage string.

  • value (str) – Subnet size and usage string.

class azure.mgmt.network.v2019_02_01.models.VirtualWAN(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, disable_vpn_encryption: Optional[bool] = None, security_provider_name: Optional[str] = None, allow_branch_to_branch_traffic: Optional[bool] = None, allow_vnet_to_vnet_traffic: Optional[bool] = None, p2_s_vpn_server_configurations: Optional[List[P2SVpnServerConfiguration]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

VirtualWAN Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • disable_vpn_encryption (bool) – Vpn encryption to be disabled or not.

  • security_provider_name (str) – The Security Provider name.

  • allow_branch_to_branch_traffic (bool) – True if branch to branch traffic is allowed.

  • allow_vnet_to_vnet_traffic (bool) – True if Vnet to Vnet traffic is allowed.

  • p2_s_vpn_server_configurations (list[P2SVpnServerConfiguration]) – List of all P2SVpnServerConfigurations associated with the virtual wan.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • virtual_hubs (list[SubResource]) – List of VirtualHubs in the VirtualWAN.

  • vpn_sites (list[SubResource]) – List of VpnSites in the VirtualWAN.

  • office365_local_breakout_category (str or OfficeTrafficCategory) – The office local breakout category. Possible values include: “Optimize”, “OptimizeAndAllow”, “All”, “None”.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.VirtualWanSecurityProvider(*, name: Optional[str] = None, url: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Collection of SecurityProviders.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • name (str) – Name of the security provider.

  • url (str) – Url of the security provider.

Variables

type (str or VirtualWanSecurityProviderType) – Name of the security provider. Possible values include: “External”, “Native”.

class azure.mgmt.network.v2019_02_01.models.VirtualWanSecurityProviderType(value)[source]

Bases: str, enum.Enum

The virtual wan security provider type.

external = 'External'
native = 'Native'
class azure.mgmt.network.v2019_02_01.models.VirtualWanSecurityProviders(*, supported_providers: Optional[List[VirtualWanSecurityProvider]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Collection of SecurityProviders.

Parameters

supported_providers (list[VirtualWanSecurityProvider]) – List of VirtualWAN security providers.

class azure.mgmt.network.v2019_02_01.models.VpnClientConfiguration(*, vpn_client_address_pool: Optional[AddressSpace] = None, vpn_client_root_certificates: Optional[List[VpnClientRootCertificate]] = None, vpn_client_revoked_certificates: Optional[List[VpnClientRevokedCertificate]] = None, vpn_client_protocols: Optional[List[Union[str, VpnClientProtocol]]] = None, vpn_client_ipsec_policies: Optional[List[IpsecPolicy]] = None, radius_server_address: Optional[str] = None, radius_server_secret: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

VpnClientConfiguration for P2S client.

Parameters
  • vpn_client_address_pool (AddressSpace) – The reference of the address space resource which represents Address space for P2S VpnClient.

  • vpn_client_root_certificates (list[VpnClientRootCertificate]) – VpnClientRootCertificate for virtual network gateway.

  • vpn_client_revoked_certificates (list[VpnClientRevokedCertificate]) – VpnClientRevokedCertificate for Virtual network gateway.

  • vpn_client_protocols (list[str or VpnClientProtocol]) – VpnClientProtocols for Virtual network gateway.

  • vpn_client_ipsec_policies (list[IpsecPolicy]) – VpnClientIpsecPolicies for virtual network gateway P2S client.

  • radius_server_address (str) – The radius server address property of the VirtualNetworkGateway resource for vpn client connection.

  • radius_server_secret (str) – The radius secret property of the VirtualNetworkGateway resource for vpn client connection.

class azure.mgmt.network.v2019_02_01.models.VpnClientConnectionHealth(*, vpn_client_connections_count: Optional[int] = None, allocated_ip_addresses: Optional[List[str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

VpnClientConnectionHealth properties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • total_ingress_bytes_transferred (long) – Total of the Ingress Bytes Transferred in this P2S Vpn connection.

  • total_egress_bytes_transferred (long) – Total of the Egress Bytes Transferred in this connection.

Parameters
  • vpn_client_connections_count (int) – The total of p2s vpn clients connected at this time to this P2SVpnGateway.

  • allocated_ip_addresses (list[str]) – List of allocated ip addresses to the connected p2s vpn clients.

class azure.mgmt.network.v2019_02_01.models.VpnClientIPsecParameters(*, sa_life_time_seconds: int, sa_data_size_kilobytes: int, ipsec_encryption: Union[str, IpsecEncryption], ipsec_integrity: Union[str, IpsecIntegrity], ike_encryption: Union[str, IkeEncryption], ike_integrity: Union[str, IkeIntegrity], dh_group: Union[str, DhGroup], pfs_group: Union[str, PfsGroup], **kwargs)[source]

Bases: msrest.serialization.Model

An IPSec parameters for a virtual network gateway P2S connection.

All required parameters must be populated in order to send to Azure.

Parameters
  • sa_life_time_seconds (int) – Required. The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for P2S client.

  • sa_data_size_kilobytes (int) – Required. The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for P2S client..

  • ipsec_encryption (str or IpsecEncryption) – Required. The IPSec encryption algorithm (IKE phase 1). Possible values include: “None”, “DES”, “DES3”, “AES128”, “AES192”, “AES256”, “GCMAES128”, “GCMAES192”, “GCMAES256”.

  • ipsec_integrity (str or IpsecIntegrity) – Required. The IPSec integrity algorithm (IKE phase 1). Possible values include: “MD5”, “SHA1”, “SHA256”, “GCMAES128”, “GCMAES192”, “GCMAES256”.

  • ike_encryption (str or IkeEncryption) – Required. The IKE encryption algorithm (IKE phase 2). Possible values include: “DES”, “DES3”, “AES128”, “AES192”, “AES256”, “GCMAES256”, “GCMAES128”.

  • ike_integrity (str or IkeIntegrity) – Required. The IKE integrity algorithm (IKE phase 2). Possible values include: “MD5”, “SHA1”, “SHA256”, “SHA384”, “GCMAES256”, “GCMAES128”.

  • dh_group (str or DhGroup) – Required. The DH Group used in IKE Phase 1 for initial SA. Possible values include: “None”, “DHGroup1”, “DHGroup2”, “DHGroup14”, “DHGroup2048”, “ECP256”, “ECP384”, “DHGroup24”.

  • pfs_group (str or PfsGroup) – Required. The Pfs Group used in IKE Phase 2 for new child SA. Possible values include: “None”, “PFS1”, “PFS2”, “PFS2048”, “ECP256”, “ECP384”, “PFS24”, “PFS14”, “PFSMM”.

class azure.mgmt.network.v2019_02_01.models.VpnClientParameters(*, processor_architecture: Optional[Union[str, ProcessorArchitecture]] = None, authentication_method: Optional[Union[str, AuthenticationMethod]] = None, radius_server_auth_certificate: Optional[str] = None, client_root_certificates: Optional[List[str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Vpn Client Parameters for package generation.

Parameters
  • processor_architecture (str or ProcessorArchitecture) – VPN client Processor Architecture. Possible values are: ‘AMD64’ and ‘X86’. Possible values include: “Amd64”, “X86”.

  • authentication_method (str or AuthenticationMethod) – VPN client authentication method. Possible values include: “EAPTLS”, “EAPMSCHAPv2”.

  • radius_server_auth_certificate (str) – 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.

  • client_root_certificates (list[str]) – A list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with EAPTLS.

class azure.mgmt.network.v2019_02_01.models.VpnClientProtocol(value)[source]

Bases: str, enum.Enum

VPN client protocol enabled for the virtual network gateway.

ike_v2 = 'IkeV2'
open_vpn = 'OpenVPN'
sstp = 'SSTP'
class azure.mgmt.network.v2019_02_01.models.VpnClientRevokedCertificate(*, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, thumbprint: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

VPN client revoked certificate of virtual network gateway.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • thumbprint (str) – The revoked VPN client certificate thumbprint.

Variables

provisioning_state (str) – The provisioning state of the VPN client revoked certificate resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.VpnClientRootCertificate(*, public_cert_data: str, id: Optional[str] = None, name: Optional[str] = None, etag: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

VPN client root certificate of virtual network gateway.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • etag (str) – A unique read-only string that changes whenever the resource is updated.

  • public_cert_data (str) – Required. The certificate public data.

Variables

provisioning_state (str) – The provisioning state of the VPN client root certificate resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.

class azure.mgmt.network.v2019_02_01.models.VpnConnection(*, id: Optional[str] = None, name: Optional[str] = None, remote_vpn_site: Optional[SubResource] = None, routing_weight: Optional[int] = None, vpn_connection_protocol_type: Optional[Union[str, VirtualNetworkGatewayConnectionProtocol]] = None, connection_bandwidth: Optional[int] = None, shared_key: Optional[str] = None, enable_bgp: Optional[bool] = None, ipsec_policies: Optional[List[IpsecPolicy]] = None, enable_rate_limiting: Optional[bool] = None, enable_internet_security: Optional[bool] = None, use_local_azure_ip_address: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.SubResource

VpnConnection Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • name (str) – The name of the resource that is unique within a resource group. This name can be used to access the resource.

  • remote_vpn_site (SubResource) – Id of the connected vpn site.

  • routing_weight (int) – Routing weight for vpn connection.

  • vpn_connection_protocol_type (str or VirtualNetworkGatewayConnectionProtocol) – Connection protocol used for this connection. Possible values include: “IKEv2”, “IKEv1”.

  • connection_bandwidth (int) – Expected bandwidth in MBPS.

  • shared_key (str) – SharedKey for the vpn connection.

  • enable_bgp (bool) – EnableBgp flag.

  • ipsec_policies (list[IpsecPolicy]) – The IPSec Policies to be considered by this connection.

  • enable_rate_limiting (bool) – EnableBgp flag.

  • enable_internet_security (bool) – Enable internet security.

  • use_local_azure_ip_address (bool) – Use local azure ip to initiate connection.

Variables
  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • connection_status (str or VpnConnectionStatus) – The connection status. Possible values include: “Unknown”, “Connecting”, “Connected”, “NotConnected”.

  • ingress_bytes_transferred (long) – Ingress bytes transferred.

  • egress_bytes_transferred (long) – Egress bytes transferred.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.VpnConnectionStatus(value)[source]

Bases: str, enum.Enum

The current state of the vpn connection.

connected = 'Connected'
connecting = 'Connecting'
not_connected = 'NotConnected'
unknown = 'Unknown'
class azure.mgmt.network.v2019_02_01.models.VpnDeviceScriptParameters(*, vendor: Optional[str] = None, device_family: Optional[str] = None, firmware_version: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Vpn device configuration script generation parameters.

Parameters
  • vendor (str) – The vendor for the vpn device.

  • device_family (str) – The device family for the vpn device.

  • firmware_version (str) – The firmware version for the vpn device.

class azure.mgmt.network.v2019_02_01.models.VpnGateway(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, virtual_hub: Optional[SubResource] = None, connections: Optional[List[VpnConnection]] = None, bgp_settings: Optional[BgpSettings] = None, vpn_gateway_scale_unit: Optional[int] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

VpnGateway Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • virtual_hub (SubResource) – The VirtualHub to which the gateway belongs.

  • connections (list[VpnConnection]) – List of all vpn connections to the gateway.

  • bgp_settings (BgpSettings) – Local network gateway’s BGP speaker settings.

  • vpn_gateway_scale_unit (int) – The scale unit for this vpn gateway.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.VpnGatewayTunnelingProtocol(value)[source]

Bases: str, enum.Enum

VPN protocol enabled for the P2SVpnServerConfiguration.

ike_v2 = 'IkeV2'
open_vpn = 'OpenVPN'
class azure.mgmt.network.v2019_02_01.models.VpnProfileResponse(*, profile_url: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Vpn Profile Response for package generation.

Parameters

profile_url (str) – URL to the VPN profile.

class azure.mgmt.network.v2019_02_01.models.VpnSite(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, virtual_wan: Optional[SubResource] = None, device_properties: Optional[DeviceProperties] = None, ip_address: Optional[str] = None, site_key: Optional[str] = None, address_space: Optional[AddressSpace] = None, bgp_properties: Optional[BgpSettings] = None, is_security_site: Optional[bool] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

VpnSite Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • virtual_wan (SubResource) – The VirtualWAN to which the vpnSite belongs.

  • device_properties (DeviceProperties) – The device properties.

  • ip_address (str) – The ip-address for the vpn-site.

  • site_key (str) – The key for vpn-site that can be used for connections.

  • address_space (AddressSpace) – The AddressSpace that contains an array of IP address ranges.

  • bgp_properties (BgpSettings) – The set of bgp properties.

  • is_security_site (bool) – IsSecuritySite flag.

Variables
  • name (str) – Resource name.

  • type (str) – Resource type.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • provisioning_state (str or ProvisioningState) – The provisioning state of the resource. Possible values include: “Succeeded”, “Updating”, “Deleting”, “Failed”.

class azure.mgmt.network.v2019_02_01.models.VpnSiteId(**kwargs)[source]

Bases: msrest.serialization.Model

VpnSite Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables

vpn_site (str) – The resource-uri of the vpn-site for which config is to be fetched.

class azure.mgmt.network.v2019_02_01.models.VpnType(value)[source]

Bases: str, enum.Enum

The type of this virtual network gateway. Possible values are: ‘PolicyBased’ and ‘RouteBased’.

policy_based = 'PolicyBased'
route_based = 'RouteBased'
class azure.mgmt.network.v2019_02_01.models.WebApplicationFirewallAction(value)[source]

Bases: str, enum.Enum

Type of Actions

allow = 'Allow'
block = 'Block'
log = 'Log'
class azure.mgmt.network.v2019_02_01.models.WebApplicationFirewallCustomRule(*, priority: int, rule_type: Union[str, WebApplicationFirewallRuleType], match_conditions: List[MatchCondition], action: Union[str, WebApplicationFirewallAction], name: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Defines contents of a web application rule.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Parameters
  • name (str) – Gets name of the resource that is unique within a policy. This name can be used to access the resource.

  • priority (int) – Required. Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.

  • rule_type (str or WebApplicationFirewallRuleType) – Required. Describes type of rule. Possible values include: “MatchRule”, “Invalid”.

  • match_conditions (list[MatchCondition]) – Required. List of match conditions.

  • action (str or WebApplicationFirewallAction) – Required. Type of Actions. Possible values include: “Allow”, “Block”, “Log”.

Variables

etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

class azure.mgmt.network.v2019_02_01.models.WebApplicationFirewallEnabledState(value)[source]

Bases: str, enum.Enum

Describes if the policy is in enabled state or disabled state

disabled = 'Disabled'
enabled = 'Enabled'
class azure.mgmt.network.v2019_02_01.models.WebApplicationFirewallMatchVariable(value)[source]

Bases: str, enum.Enum

Match Variable

post_args = 'PostArgs'
query_string = 'QueryString'
remote_addr = 'RemoteAddr'
request_body = 'RequestBody'
request_cookies = 'RequestCookies'
request_headers = 'RequestHeaders'
request_method = 'RequestMethod'
request_uri = 'RequestUri'
class azure.mgmt.network.v2019_02_01.models.WebApplicationFirewallMode(value)[source]

Bases: str, enum.Enum

Describes if it is in detection mode or prevention mode at policy level

detection = 'Detection'
prevention = 'Prevention'
class azure.mgmt.network.v2019_02_01.models.WebApplicationFirewallOperator(value)[source]

Bases: str, enum.Enum

Describes operator to be matched

begins_with = 'BeginsWith'
contains = 'Contains'
ends_with = 'EndsWith'
equal = 'Equal'
greater_than = 'GreaterThan'
greater_than_or_equal = 'GreaterThanOrEqual'
ip_match = 'IPMatch'
less_than = 'LessThan'
less_than_or_equal = 'LessThanOrEqual'
regex = 'Regex'
class azure.mgmt.network.v2019_02_01.models.WebApplicationFirewallPolicy(*, id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, policy_settings: Optional[PolicySettings] = None, custom_rules: Optional[List[WebApplicationFirewallCustomRule]] = None, **kwargs)[source]

Bases: azure.mgmt.network.v2019_02_01.models._models_py3.Resource

Defines web application firewall policy.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • id (str) – Resource ID.

  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • etag (str) – Gets a unique read-only string that changes whenever the resource is updated.

  • policy_settings (PolicySettings) – Describes policySettings for policy.

  • custom_rules (list[WebApplicationFirewallCustomRule]) – Describes custom rules inside the policy.

Variables
class azure.mgmt.network.v2019_02_01.models.WebApplicationFirewallPolicyListResult(**kwargs)[source]

Bases: msrest.serialization.Model

Result of the request to list WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • value (list[WebApplicationFirewallPolicy]) – List of WebApplicationFirewallPolicies within a resource group.

  • next_link (str) – URL to get the next set of WebApplicationFirewallPolicy objects if there are any.

class azure.mgmt.network.v2019_02_01.models.WebApplicationFirewallPolicyResourceState(value)[source]

Bases: str, enum.Enum

Resource status of the policy.

creating = 'Creating'
deleting = 'Deleting'
disabled = 'Disabled'
disabling = 'Disabling'
enabled = 'Enabled'
enabling = 'Enabling'
class azure.mgmt.network.v2019_02_01.models.WebApplicationFirewallRuleType(value)[source]

Bases: str, enum.Enum

Describes type of rule

invalid = 'Invalid'
match_rule = 'MatchRule'
class azure.mgmt.network.v2019_02_01.models.WebApplicationFirewallTransform(value)[source]

Bases: str, enum.Enum

Describes what transforms applied before matching

html_entity_decode = 'HtmlEntityDecode'
lowercase = 'Lowercase'
remove_nulls = 'RemoveNulls'
trim = 'Trim'
url_decode = 'UrlDecode'
url_encode = 'UrlEncode'