Skip to content

Commit daa56d2

Browse files
committed
Rebuild by #3154
1 parent 764f079 commit daa56d2

File tree

565 files changed

+53242
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

565 files changed

+53242
-0
lines changed

azure-mgmt-network/azure/mgmt/network/network_management_client.py

+190
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from .network_management_client import NetworkManagementClient
13+
from .version import VERSION
14+
15+
__all__ = ['NetworkManagementClient']
16+
17+
__version__ = VERSION
18+

azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/__init__.py

+960
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from msrest.serialization import Model
13+
14+
15+
class AddressSpace(Model):
16+
"""AddressSpace contains an array of IP address ranges that can be used by
17+
subnets of the virtual network.
18+
19+
:param address_prefixes: A list of address blocks reserved for this
20+
virtual network in CIDR notation.
21+
:type address_prefixes: list[str]
22+
"""
23+
24+
_attribute_map = {
25+
'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'},
26+
}
27+
28+
def __init__(self, **kwargs):
29+
super(AddressSpace, self).__init__(**kwargs)
30+
self.address_prefixes = kwargs.get('address_prefixes', None)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from msrest.serialization import Model
13+
14+
15+
class AddressSpace(Model):
16+
"""AddressSpace contains an array of IP address ranges that can be used by
17+
subnets of the virtual network.
18+
19+
:param address_prefixes: A list of address blocks reserved for this
20+
virtual network in CIDR notation.
21+
:type address_prefixes: list[str]
22+
"""
23+
24+
_attribute_map = {
25+
'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'},
26+
}
27+
28+
def __init__(self, *, address_prefixes=None, **kwargs) -> None:
29+
super(AddressSpace, self).__init__(**kwargs)
30+
self.address_prefixes = address_prefixes
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from .resource import Resource
13+
14+
15+
class ApplicationGateway(Resource):
16+
"""Application gateway resource.
17+
18+
Variables are only populated by the server, and will be ignored when
19+
sending a request.
20+
21+
:param id: Resource ID.
22+
:type id: str
23+
:ivar name: Resource name.
24+
:vartype name: str
25+
:ivar type: Resource type.
26+
:vartype type: str
27+
:param location: Resource location.
28+
:type location: str
29+
:param tags: Resource tags.
30+
:type tags: dict[str, str]
31+
:param sku: SKU of the application gateway resource.
32+
:type sku: ~azure.mgmt.network.v2018_07_01.models.ApplicationGatewaySku
33+
:param ssl_policy: SSL policy of the application gateway resource.
34+
:type ssl_policy:
35+
~azure.mgmt.network.v2018_07_01.models.ApplicationGatewaySslPolicy
36+
:ivar operational_state: Operational state of the application gateway
37+
resource. Possible values include: 'Stopped', 'Starting', 'Running',
38+
'Stopping'
39+
:vartype operational_state: str or
40+
~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayOperationalState
41+
:param gateway_ip_configurations: Subnets of application the gateway
42+
resource.
43+
:type gateway_ip_configurations:
44+
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayIPConfiguration]
45+
:param authentication_certificates: Authentication certificates of the
46+
application gateway resource.
47+
:type authentication_certificates:
48+
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayAuthenticationCertificate]
49+
:param ssl_certificates: SSL certificates of the application gateway
50+
resource.
51+
:type ssl_certificates:
52+
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewaySslCertificate]
53+
:param frontend_ip_configurations: Frontend IP addresses of the
54+
application gateway resource.
55+
:type frontend_ip_configurations:
56+
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayFrontendIPConfiguration]
57+
:param frontend_ports: Frontend ports of the application gateway resource.
58+
:type frontend_ports:
59+
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayFrontendPort]
60+
:param probes: Probes of the application gateway resource.
61+
:type probes:
62+
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayProbe]
63+
:param backend_address_pools: Backend address pool of the application
64+
gateway resource.
65+
:type backend_address_pools:
66+
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayBackendAddressPool]
67+
:param backend_http_settings_collection: Backend http settings of the
68+
application gateway resource.
69+
:type backend_http_settings_collection:
70+
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayBackendHttpSettings]
71+
:param http_listeners: Http listeners of the application gateway resource.
72+
:type http_listeners:
73+
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayHttpListener]
74+
:param url_path_maps: URL path map of the application gateway resource.
75+
:type url_path_maps:
76+
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayUrlPathMap]
77+
:param request_routing_rules: Request routing rules of the application
78+
gateway resource.
79+
:type request_routing_rules:
80+
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayRequestRoutingRule]
81+
:param redirect_configurations: Redirect configurations of the application
82+
gateway resource.
83+
:type redirect_configurations:
84+
list[~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayRedirectConfiguration]
85+
:param web_application_firewall_configuration: Web application firewall
86+
configuration.
87+
:type web_application_firewall_configuration:
88+
~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayWebApplicationFirewallConfiguration
89+
:param enable_http2: Whether HTTP2 is enabled on the application gateway
90+
resource.
91+
:type enable_http2: bool
92+
:param enable_fips: Whether FIPS is enabled on the application gateway
93+
resource.
94+
:type enable_fips: bool
95+
:param autoscale_configuration: Autoscale Configuration.
96+
:type autoscale_configuration:
97+
~azure.mgmt.network.v2018_07_01.models.ApplicationGatewayAutoscaleConfiguration
98+
:param resource_guid: Resource GUID property of the application gateway
99+
resource.
100+
:type resource_guid: str
101+
:param provisioning_state: Provisioning state of the application gateway
102+
resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
103+
:type provisioning_state: str
104+
:param etag: A unique read-only string that changes whenever the resource
105+
is updated.
106+
:type etag: str
107+
:param zones: A list of availability zones denoting where the resource
108+
needs to come from.
109+
:type zones: list[str]
110+
"""
111+
112+
_validation = {
113+
'name': {'readonly': True},
114+
'type': {'readonly': True},
115+
'operational_state': {'readonly': True},
116+
}
117+
118+
_attribute_map = {
119+
'id': {'key': 'id', 'type': 'str'},
120+
'name': {'key': 'name', 'type': 'str'},
121+
'type': {'key': 'type', 'type': 'str'},
122+
'location': {'key': 'location', 'type': 'str'},
123+
'tags': {'key': 'tags', 'type': '{str}'},
124+
'sku': {'key': 'properties.sku', 'type': 'ApplicationGatewaySku'},
125+
'ssl_policy': {'key': 'properties.sslPolicy', 'type': 'ApplicationGatewaySslPolicy'},
126+
'operational_state': {'key': 'properties.operationalState', 'type': 'str'},
127+
'gateway_ip_configurations': {'key': 'properties.gatewayIPConfigurations', 'type': '[ApplicationGatewayIPConfiguration]'},
128+
'authentication_certificates': {'key': 'properties.authenticationCertificates', 'type': '[ApplicationGatewayAuthenticationCertificate]'},
129+
'ssl_certificates': {'key': 'properties.sslCertificates', 'type': '[ApplicationGatewaySslCertificate]'},
130+
'frontend_ip_configurations': {'key': 'properties.frontendIPConfigurations', 'type': '[ApplicationGatewayFrontendIPConfiguration]'},
131+
'frontend_ports': {'key': 'properties.frontendPorts', 'type': '[ApplicationGatewayFrontendPort]'},
132+
'probes': {'key': 'properties.probes', 'type': '[ApplicationGatewayProbe]'},
133+
'backend_address_pools': {'key': 'properties.backendAddressPools', 'type': '[ApplicationGatewayBackendAddressPool]'},
134+
'backend_http_settings_collection': {'key': 'properties.backendHttpSettingsCollection', 'type': '[ApplicationGatewayBackendHttpSettings]'},
135+
'http_listeners': {'key': 'properties.httpListeners', 'type': '[ApplicationGatewayHttpListener]'},
136+
'url_path_maps': {'key': 'properties.urlPathMaps', 'type': '[ApplicationGatewayUrlPathMap]'},
137+
'request_routing_rules': {'key': 'properties.requestRoutingRules', 'type': '[ApplicationGatewayRequestRoutingRule]'},
138+
'redirect_configurations': {'key': 'properties.redirectConfigurations', 'type': '[ApplicationGatewayRedirectConfiguration]'},
139+
'web_application_firewall_configuration': {'key': 'properties.webApplicationFirewallConfiguration', 'type': 'ApplicationGatewayWebApplicationFirewallConfiguration'},
140+
'enable_http2': {'key': 'properties.enableHttp2', 'type': 'bool'},
141+
'enable_fips': {'key': 'properties.enableFips', 'type': 'bool'},
142+
'autoscale_configuration': {'key': 'properties.autoscaleConfiguration', 'type': 'ApplicationGatewayAutoscaleConfiguration'},
143+
'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'},
144+
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
145+
'etag': {'key': 'etag', 'type': 'str'},
146+
'zones': {'key': 'zones', 'type': '[str]'},
147+
}
148+
149+
def __init__(self, **kwargs):
150+
super(ApplicationGateway, self).__init__(**kwargs)
151+
self.sku = kwargs.get('sku', None)
152+
self.ssl_policy = kwargs.get('ssl_policy', None)
153+
self.operational_state = None
154+
self.gateway_ip_configurations = kwargs.get('gateway_ip_configurations', None)
155+
self.authentication_certificates = kwargs.get('authentication_certificates', None)
156+
self.ssl_certificates = kwargs.get('ssl_certificates', None)
157+
self.frontend_ip_configurations = kwargs.get('frontend_ip_configurations', None)
158+
self.frontend_ports = kwargs.get('frontend_ports', None)
159+
self.probes = kwargs.get('probes', None)
160+
self.backend_address_pools = kwargs.get('backend_address_pools', None)
161+
self.backend_http_settings_collection = kwargs.get('backend_http_settings_collection', None)
162+
self.http_listeners = kwargs.get('http_listeners', None)
163+
self.url_path_maps = kwargs.get('url_path_maps', None)
164+
self.request_routing_rules = kwargs.get('request_routing_rules', None)
165+
self.redirect_configurations = kwargs.get('redirect_configurations', None)
166+
self.web_application_firewall_configuration = kwargs.get('web_application_firewall_configuration', None)
167+
self.enable_http2 = kwargs.get('enable_http2', None)
168+
self.enable_fips = kwargs.get('enable_fips', None)
169+
self.autoscale_configuration = kwargs.get('autoscale_configuration', None)
170+
self.resource_guid = kwargs.get('resource_guid', None)
171+
self.provisioning_state = kwargs.get('provisioning_state', None)
172+
self.etag = kwargs.get('etag', None)
173+
self.zones = kwargs.get('zones', None)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from .sub_resource import SubResource
13+
14+
15+
class ApplicationGatewayAuthenticationCertificate(SubResource):
16+
"""Authentication certificates of an application gateway.
17+
18+
:param id: Resource ID.
19+
:type id: str
20+
:param data: Certificate public data.
21+
:type data: str
22+
:param provisioning_state: Provisioning state of the authentication
23+
certificate resource. Possible values are: 'Updating', 'Deleting', and
24+
'Failed'.
25+
:type provisioning_state: str
26+
:param name: Name of the authentication certificate that is unique within
27+
an Application Gateway.
28+
:type name: str
29+
:param etag: A unique read-only string that changes whenever the resource
30+
is updated.
31+
:type etag: str
32+
:param type: Type of the resource.
33+
:type type: str
34+
"""
35+
36+
_attribute_map = {
37+
'id': {'key': 'id', 'type': 'str'},
38+
'data': {'key': 'properties.data', 'type': 'str'},
39+
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
40+
'name': {'key': 'name', 'type': 'str'},
41+
'etag': {'key': 'etag', 'type': 'str'},
42+
'type': {'key': 'type', 'type': 'str'},
43+
}
44+
45+
def __init__(self, **kwargs):
46+
super(ApplicationGatewayAuthenticationCertificate, self).__init__(**kwargs)
47+
self.data = kwargs.get('data', None)
48+
self.provisioning_state = kwargs.get('provisioning_state', None)
49+
self.name = kwargs.get('name', None)
50+
self.etag = kwargs.get('etag', None)
51+
self.type = kwargs.get('type', None)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
from .sub_resource_py3 import SubResource
13+
14+
15+
class ApplicationGatewayAuthenticationCertificate(SubResource):
16+
"""Authentication certificates of an application gateway.
17+
18+
:param id: Resource ID.
19+
:type id: str
20+
:param data: Certificate public data.
21+
:type data: str
22+
:param provisioning_state: Provisioning state of the authentication
23+
certificate resource. Possible values are: 'Updating', 'Deleting', and
24+
'Failed'.
25+
:type provisioning_state: str
26+
:param name: Name of the authentication certificate that is unique within
27+
an Application Gateway.
28+
:type name: str
29+
:param etag: A unique read-only string that changes whenever the resource
30+
is updated.
31+
:type etag: str
32+
:param type: Type of the resource.
33+
:type type: str
34+
"""
35+
36+
_attribute_map = {
37+
'id': {'key': 'id', 'type': 'str'},
38+
'data': {'key': 'properties.data', 'type': 'str'},
39+
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
40+
'name': {'key': 'name', 'type': 'str'},
41+
'etag': {'key': 'etag', 'type': 'str'},
42+
'type': {'key': 'type', 'type': 'str'},
43+
}
44+
45+
def __init__(self, *, id: str=None, data: str=None, provisioning_state: str=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None:
46+
super(ApplicationGatewayAuthenticationCertificate, self).__init__(id=id, **kwargs)
47+
self.data = data
48+
self.provisioning_state = provisioning_state
49+
self.name = name
50+
self.etag = etag
51+
self.type = type

0 commit comments

Comments
 (0)