Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network 2018-08-01 #3215

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
1f56e6d
Network 2018-08-01 from 623775050e9c7d7a783270e7454cb6e84ce92230
lmazuel Aug 28, 2018
4f1c1db
Generated from 990371c06dc12d57ee8a50e4e282edbedb4c4041 (#3218)
AutorestCI Aug 30, 2018
bb44604
Generated from 46f2423d289b5cc3be14b5eba94e498ed646d288
AutorestCI Aug 30, 2018
216d6b7
Generated from 59a73c09bfe5b21d046a4a0aa1ad77b76c378350
AutorestCI Aug 30, 2018
aa6c48c
VTAP from c5b3e4ea206a68363d349f476e86c5b943983b84 (#3216)
lmazuel Aug 30, 2018
cce7328
Generated from 04138ce466d3df407b325f960536f04bbaadf954 (#3247)
AutorestCI Aug 31, 2018
e84a428
Generated from 45af62f715b989bd718249b8dbaa3b5d1cacca4e
AutorestCI Aug 31, 2018
7038503
Generated from 17d1ddf9c077442ec246e88e2cf3dc3e3723072e
AutorestCI Aug 31, 2018
5466b46
Generated from da8dc7c2fdfd97a1b36b173bcfc57afbbafedbdb
AutorestCI Aug 31, 2018
5922afb
Generated from 3b1d5ec98239b4c6aa55909c4540adbbe059b820
AutorestCI Aug 31, 2018
8b74a7f
Generated from 57fc3dfa0478215df5ba4475efe315f058992ccf
AutorestCI Sep 3, 2018
e121c0c
[AutoPR network/resource-manager] Network september release (#3267)
AutorestCI Sep 5, 2018
c950c64
[AutoPR network/resource-manager] Fix descriptions during SDK generat…
AutorestCI Sep 6, 2018
54b8c76
Generated from a3b4803841fb144d23711c54a55984411f53ab31
AutorestCI Sep 6, 2018
525d7a7
Packaging update of azure-mgmt-network
azuresdkci Sep 6, 2018
d0d816d
Generated from cc47342ef386ced2b36fbd054e48ab414e492c51
AutorestCI Sep 7, 2018
fa90c2b
[AutoPR network/resource-manager] Add Network Profile swagger and exa…
AutorestCI Sep 7, 2018
23935fa
Generated from e9e8c835bcd3fe11d24cceab835e37eebaf295f9
AutorestCI Sep 7, 2018
fdcdcf5
Generated from 98064b55169341fc56e378f831415245a0e55210 (#3299)
AutorestCI Sep 7, 2018
2ef5367
Generated from c60ac4a50777926d8c61704696e0c24459ce3397
AutorestCI Sep 10, 2018
ef503b3
[AutoPR network/resource-manager] Add Service Association Link on Sub…
AutorestCI Sep 10, 2018
744b2d6
[AutoPR network/resource-manager] Vtap swagger update and made the pr…
AutorestCI Sep 10, 2018
0e7102f
Generated from 0179f86f2fef9b9cdd884e411ea0dddb0408edb2
AutorestCI Sep 10, 2018
4df2ee5
Generated from c34505cba019d8e5fdb1794db4594849adac7f56
AutorestCI Sep 10, 2018
860ee14
[AutoPR network/resource-manager] Microsot.Network/virtualnetworkgate…
AutorestCI Sep 10, 2018
8fa621c
Generated from da2220878e1cc5b9965936ddc47a8d0e33bc0973
AutorestCI Sep 11, 2018
797c2c0
[AutoPR network/resource-manager] Swagger changes (#3313)
AutorestCI Sep 11, 2018
f09d373
Generated from e6195d028fb2a72d241bc9a83842d273889db2c3
AutorestCI Sep 11, 2018
52002ed
Generated from d36e75f91f290b68e74bf8c95378dcd055beb4e1 (#3315)
AutorestCI Sep 11, 2018
d4861d0
Generated from f20941ecf738942db3a985cc52cabd3da64b8769
AutorestCI Sep 11, 2018
bb214c2
Generated from 3f05c42217afb66ec792fa88ca138894ca6c2faf (#3300)
AutorestCI Sep 11, 2018
f3e4291
Generated from e1d5a527baf89f5a14269fcf9e7017c2268ad541 (#3314)
AutorestCI Sep 11, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
289 changes: 288 additions & 1 deletion azure-mgmt-network/azure/mgmt/network/network_management_client.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
from .application_gateway_ssl_policy_py3 import ApplicationGatewaySslPolicy
from .application_gateway_ip_configuration_py3 import ApplicationGatewayIPConfiguration
from .application_gateway_authentication_certificate_py3 import ApplicationGatewayAuthenticationCertificate
from .application_gateway_trusted_root_certificate_py3 import ApplicationGatewayTrustedRootCertificate
from .application_gateway_ssl_certificate_py3 import ApplicationGatewaySslCertificate
from .application_gateway_frontend_ip_configuration_py3 import ApplicationGatewayFrontendIPConfiguration
from .application_gateway_frontend_port_py3 import ApplicationGatewayFrontendPort
Expand Down Expand Up @@ -281,6 +282,7 @@
from .application_gateway_ssl_policy import ApplicationGatewaySslPolicy
from .application_gateway_ip_configuration import ApplicationGatewayIPConfiguration
from .application_gateway_authentication_certificate import ApplicationGatewayAuthenticationCertificate
from .application_gateway_trusted_root_certificate import ApplicationGatewayTrustedRootCertificate
from .application_gateway_ssl_certificate import ApplicationGatewaySslCertificate
from .application_gateway_frontend_ip_configuration import ApplicationGatewayFrontendIPConfiguration
from .application_gateway_frontend_port import ApplicationGatewayFrontendPort
Expand Down Expand Up @@ -642,6 +644,7 @@
'ApplicationGatewaySslPolicy',
'ApplicationGatewayIPConfiguration',
'ApplicationGatewayAuthenticationCertificate',
'ApplicationGatewayTrustedRootCertificate',
'ApplicationGatewaySslCertificate',
'ApplicationGatewayFrontendIPConfiguration',
'ApplicationGatewayFrontendPort',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ class ApplicationGateway(Resource):
application gateway resource.
:type authentication_certificates:
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayAuthenticationCertificate]
:param trusted_root_certificates: Trusted Root certificates of the
application gateway resource.
:type trusted_root_certificates:
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayTrustedRootCertificate]
:param ssl_certificates: SSL certificates of the application gateway
resource.
:type ssl_certificates:
Expand Down Expand Up @@ -126,6 +130,7 @@ class ApplicationGateway(Resource):
'operational_state': {'key': 'properties.operationalState', 'type': 'str'},
'gateway_ip_configurations': {'key': 'properties.gatewayIPConfigurations', 'type': '[ApplicationGatewayIPConfiguration]'},
'authentication_certificates': {'key': 'properties.authenticationCertificates', 'type': '[ApplicationGatewayAuthenticationCertificate]'},
'trusted_root_certificates': {'key': 'properties.trustedRootCertificates', 'type': '[ApplicationGatewayTrustedRootCertificate]'},
'ssl_certificates': {'key': 'properties.sslCertificates', 'type': '[ApplicationGatewaySslCertificate]'},
'frontend_ip_configurations': {'key': 'properties.frontendIPConfigurations', 'type': '[ApplicationGatewayFrontendIPConfiguration]'},
'frontend_ports': {'key': 'properties.frontendPorts', 'type': '[ApplicationGatewayFrontendPort]'},
Expand Down Expand Up @@ -153,6 +158,7 @@ def __init__(self, **kwargs):
self.operational_state = None
self.gateway_ip_configurations = kwargs.get('gateway_ip_configurations', None)
self.authentication_certificates = kwargs.get('authentication_certificates', None)
self.trusted_root_certificates = kwargs.get('trusted_root_certificates', None)
self.ssl_certificates = kwargs.get('ssl_certificates', None)
self.frontend_ip_configurations = kwargs.get('frontend_ip_configurations', None)
self.frontend_ports = kwargs.get('frontend_ports', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ class ApplicationGatewayBackendHttpSettings(SubResource):
gateway authentication certificates.
:type authentication_certificates:
list[~azure.mgmt.network.v2018_07_01.models.SubResource]
:param trusted_root_certificates: Array of references to application
gateway trusted root certificates.
:type trusted_root_certificates:
list[~azure.mgmt.network.v2018_07_01.models.SubResource]
:param connection_draining: Connection draining of the backend http
settings resource.
:type connection_draining:
Expand Down Expand Up @@ -77,6 +81,7 @@ class ApplicationGatewayBackendHttpSettings(SubResource):
'request_timeout': {'key': 'properties.requestTimeout', 'type': 'int'},
'probe': {'key': 'properties.probe', 'type': 'SubResource'},
'authentication_certificates': {'key': 'properties.authenticationCertificates', 'type': '[SubResource]'},
'trusted_root_certificates': {'key': 'properties.trustedRootCertificates', 'type': '[SubResource]'},
'connection_draining': {'key': 'properties.connectionDraining', 'type': 'ApplicationGatewayConnectionDraining'},
'host_name': {'key': 'properties.hostName', 'type': 'str'},
'pick_host_name_from_backend_address': {'key': 'properties.pickHostNameFromBackendAddress', 'type': 'bool'},
Expand All @@ -97,6 +102,7 @@ def __init__(self, **kwargs):
self.request_timeout = kwargs.get('request_timeout', None)
self.probe = kwargs.get('probe', None)
self.authentication_certificates = kwargs.get('authentication_certificates', None)
self.trusted_root_certificates = kwargs.get('trusted_root_certificates', None)
self.connection_draining = kwargs.get('connection_draining', None)
self.host_name = kwargs.get('host_name', None)
self.pick_host_name_from_backend_address = kwargs.get('pick_host_name_from_backend_address', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ class ApplicationGatewayBackendHttpSettings(SubResource):
gateway authentication certificates.
:type authentication_certificates:
list[~azure.mgmt.network.v2018_07_01.models.SubResource]
:param trusted_root_certificates: Array of references to application
gateway trusted root certificates.
:type trusted_root_certificates:
list[~azure.mgmt.network.v2018_07_01.models.SubResource]
:param connection_draining: Connection draining of the backend http
settings resource.
:type connection_draining:
Expand Down Expand Up @@ -77,6 +81,7 @@ class ApplicationGatewayBackendHttpSettings(SubResource):
'request_timeout': {'key': 'properties.requestTimeout', 'type': 'int'},
'probe': {'key': 'properties.probe', 'type': 'SubResource'},
'authentication_certificates': {'key': 'properties.authenticationCertificates', 'type': '[SubResource]'},
'trusted_root_certificates': {'key': 'properties.trustedRootCertificates', 'type': '[SubResource]'},
'connection_draining': {'key': 'properties.connectionDraining', 'type': 'ApplicationGatewayConnectionDraining'},
'host_name': {'key': 'properties.hostName', 'type': 'str'},
'pick_host_name_from_backend_address': {'key': 'properties.pickHostNameFromBackendAddress', 'type': 'bool'},
Expand All @@ -89,14 +94,15 @@ class ApplicationGatewayBackendHttpSettings(SubResource):
'type': {'key': 'type', 'type': 'str'},
}

def __init__(self, *, id: str=None, port: int=None, protocol=None, cookie_based_affinity=None, request_timeout: int=None, probe=None, authentication_certificates=None, connection_draining=None, host_name: str=None, pick_host_name_from_backend_address: bool=None, affinity_cookie_name: str=None, probe_enabled: bool=None, path: str=None, provisioning_state: str=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None:
def __init__(self, *, id: str=None, port: int=None, protocol=None, cookie_based_affinity=None, request_timeout: int=None, probe=None, authentication_certificates=None, trusted_root_certificates=None, connection_draining=None, host_name: str=None, pick_host_name_from_backend_address: bool=None, affinity_cookie_name: str=None, probe_enabled: bool=None, path: str=None, provisioning_state: str=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None:
super(ApplicationGatewayBackendHttpSettings, self).__init__(id=id, **kwargs)
self.port = port
self.protocol = protocol
self.cookie_based_affinity = cookie_based_affinity
self.request_timeout = request_timeout
self.probe = probe
self.authentication_certificates = authentication_certificates
self.trusted_root_certificates = trusted_root_certificates
self.connection_draining = connection_draining
self.host_name = host_name
self.pick_host_name_from_backend_address = pick_host_name_from_backend_address
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ class ApplicationGateway(Resource):
application gateway resource.
:type authentication_certificates:
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayAuthenticationCertificate]
:param trusted_root_certificates: Trusted Root certificates of the
application gateway resource.
:type trusted_root_certificates:
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayTrustedRootCertificate]
:param ssl_certificates: SSL certificates of the application gateway
resource.
:type ssl_certificates:
Expand Down Expand Up @@ -126,6 +130,7 @@ class ApplicationGateway(Resource):
'operational_state': {'key': 'properties.operationalState', 'type': 'str'},
'gateway_ip_configurations': {'key': 'properties.gatewayIPConfigurations', 'type': '[ApplicationGatewayIPConfiguration]'},
'authentication_certificates': {'key': 'properties.authenticationCertificates', 'type': '[ApplicationGatewayAuthenticationCertificate]'},
'trusted_root_certificates': {'key': 'properties.trustedRootCertificates', 'type': '[ApplicationGatewayTrustedRootCertificate]'},
'ssl_certificates': {'key': 'properties.sslCertificates', 'type': '[ApplicationGatewaySslCertificate]'},
'frontend_ip_configurations': {'key': 'properties.frontendIPConfigurations', 'type': '[ApplicationGatewayFrontendIPConfiguration]'},
'frontend_ports': {'key': 'properties.frontendPorts', 'type': '[ApplicationGatewayFrontendPort]'},
Expand All @@ -146,13 +151,14 @@ class ApplicationGateway(Resource):
'zones': {'key': 'zones', 'type': '[str]'},
}

def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, ssl_policy=None, gateway_ip_configurations=None, authentication_certificates=None, ssl_certificates=None, frontend_ip_configurations=None, frontend_ports=None, probes=None, backend_address_pools=None, backend_http_settings_collection=None, http_listeners=None, url_path_maps=None, request_routing_rules=None, redirect_configurations=None, web_application_firewall_configuration=None, enable_http2: bool=None, enable_fips: bool=None, autoscale_configuration=None, resource_guid: str=None, provisioning_state: str=None, etag: str=None, zones=None, **kwargs) -> None:
def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, ssl_policy=None, gateway_ip_configurations=None, authentication_certificates=None, trusted_root_certificates=None, ssl_certificates=None, frontend_ip_configurations=None, frontend_ports=None, probes=None, backend_address_pools=None, backend_http_settings_collection=None, http_listeners=None, url_path_maps=None, request_routing_rules=None, redirect_configurations=None, web_application_firewall_configuration=None, enable_http2: bool=None, enable_fips: bool=None, autoscale_configuration=None, resource_guid: str=None, provisioning_state: str=None, etag: str=None, zones=None, **kwargs) -> None:
super(ApplicationGateway, self).__init__(id=id, location=location, tags=tags, **kwargs)
self.sku = sku
self.ssl_policy = ssl_policy
self.operational_state = None
self.gateway_ip_configurations = gateway_ip_configurations
self.authentication_certificates = authentication_certificates
self.trusted_root_certificates = trusted_root_certificates
self.ssl_certificates = ssl_certificates
self.frontend_ip_configurations = frontend_ip_configurations
self.frontend_ports = frontend_ports
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from .sub_resource import SubResource


class ApplicationGatewayTrustedRootCertificate(SubResource):
"""Trusted Root certificates of an application gateway.

:param id: Resource ID.
:type id: str
:param data: Certificate public data.
:type data: str
:param keyvault_secret_id: KeyVault Secret Id for certificate.
:type keyvault_secret_id: str
:param provisioning_state: Provisioning state of the trusted root
certificate resource. Possible values are: 'Updating', 'Deleting', and
'Failed'.
:type provisioning_state: str
:param name: Name of the trusted root certificate that is unique within an
Application Gateway.
:type name: str
:param etag: A unique read-only string that changes whenever the resource
is updated.
:type etag: str
:param type: Type of the resource.
:type type: str
"""

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'data': {'key': 'properties.data', 'type': 'str'},
'keyvault_secret_id': {'key': 'properties.keyvaultSecretId', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}

def __init__(self, **kwargs):
super(ApplicationGatewayTrustedRootCertificate, self).__init__(**kwargs)
self.data = kwargs.get('data', None)
self.keyvault_secret_id = kwargs.get('keyvault_secret_id', None)
self.provisioning_state = kwargs.get('provisioning_state', None)
self.name = kwargs.get('name', None)
self.etag = kwargs.get('etag', None)
self.type = kwargs.get('type', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from .sub_resource_py3 import SubResource


class ApplicationGatewayTrustedRootCertificate(SubResource):
"""Trusted Root certificates of an application gateway.

:param id: Resource ID.
:type id: str
:param data: Certificate public data.
:type data: str
:param keyvault_secret_id: KeyVault Secret Id for certificate.
:type keyvault_secret_id: str
:param provisioning_state: Provisioning state of the trusted root
certificate resource. Possible values are: 'Updating', 'Deleting', and
'Failed'.
:type provisioning_state: str
:param name: Name of the trusted root certificate that is unique within an
Application Gateway.
:type name: str
:param etag: A unique read-only string that changes whenever the resource
is updated.
:type etag: str
:param type: Type of the resource.
:type type: str
"""

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'data': {'key': 'properties.data', 'type': 'str'},
'keyvault_secret_id': {'key': 'properties.keyvaultSecretId', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}

def __init__(self, *, id: str=None, data: str=None, keyvault_secret_id: str=None, provisioning_state: str=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None:
super(ApplicationGatewayTrustedRootCertificate, self).__init__(id=id, **kwargs)
self.data = data
self.keyvault_secret_id = keyvault_secret_id
self.provisioning_state = provisioning_state
self.name = name
self.etag = etag
self.type = type
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class OutboundRule(SubResource):
:param allocated_outbound_ports: The number of outbound ports to be used
for NAT.
:type allocated_outbound_ports: int
:param frontend_ip_configurations: Required. The Frontend IP addresses of
the load balancer.
:param frontend_ip_configurations: The Frontend IP addresses of the load
balancer.
:type frontend_ip_configurations:
list[~azure.mgmt.network.v2018_07_01.models.SubResource]
:param backend_address_pool: Required. A reference to a pool of DIPs.
Expand All @@ -33,8 +33,8 @@ class OutboundRule(SubResource):
:param provisioning_state: Gets the provisioning state of the PublicIP
resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
:type provisioning_state: str
:param protocol: Required. Protocol - TCP, UDP or All. Possible values
include: 'Tcp', 'Udp', 'All'
:param protocol: Protocol - TCP, UDP or All. Possible values include:
'Tcp', 'Udp', 'All'
:type protocol: str or ~azure.mgmt.network.v2018_07_01.models.enum
:param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle
timeout or unexpected connection termination. This element is only used
Expand All @@ -51,9 +51,7 @@ class OutboundRule(SubResource):
"""

_validation = {
'frontend_ip_configurations': {'required': True},
'backend_address_pool': {'required': True},
'protocol': {'required': True},
}

_attribute_map = {
Expand Down
Loading