-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR web/resource-manager] [Hub Generated] Review request for Micr…
…osoft.Web to add version 2018-02-01 (#4436) * Generated from b772c09b4e8132be83594f0a834cf7b363445a3c Address PR description feedback * Generated from 61d39f048374e3c8dd07112e7d9e8554e8664ea5 Fix casing * Packaging update of azure-mgmt-web * Generated from 66114e58530dd7027b63182defcf1c8f73d1d502 Remove incorrect pagination from examples.
- Loading branch information
1 parent
21218d4
commit 11726bc
Showing
10 changed files
with
452 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
azure-mgmt-web/azure/mgmt/web/models/endpoint_dependency.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class EndpointDependency(Model): | ||
"""A domain name that a service is reached at, including details of the | ||
current connection status. | ||
:param domain_name: The domain name of the dependency. | ||
:type domain_name: str | ||
:param endpoint_details: The IP Addresses and Ports used when connecting | ||
to DomainName. | ||
:type endpoint_details: list[~azure.mgmt.web.models.EndpointDetail] | ||
""" | ||
|
||
_attribute_map = { | ||
'domain_name': {'key': 'domainName', 'type': 'str'}, | ||
'endpoint_details': {'key': 'endpointDetails', 'type': '[EndpointDetail]'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(EndpointDependency, self).__init__(**kwargs) | ||
self.domain_name = kwargs.get('domain_name', None) | ||
self.endpoint_details = kwargs.get('endpoint_details', None) |
34 changes: 34 additions & 0 deletions
34
azure-mgmt-web/azure/mgmt/web/models/endpoint_dependency_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class EndpointDependency(Model): | ||
"""A domain name that a service is reached at, including details of the | ||
current connection status. | ||
:param domain_name: The domain name of the dependency. | ||
:type domain_name: str | ||
:param endpoint_details: The IP Addresses and Ports used when connecting | ||
to DomainName. | ||
:type endpoint_details: list[~azure.mgmt.web.models.EndpointDetail] | ||
""" | ||
|
||
_attribute_map = { | ||
'domain_name': {'key': 'domainName', 'type': 'str'}, | ||
'endpoint_details': {'key': 'endpointDetails', 'type': '[EndpointDetail]'}, | ||
} | ||
|
||
def __init__(self, *, domain_name: str=None, endpoint_details=None, **kwargs) -> None: | ||
super(EndpointDependency, self).__init__(**kwargs) | ||
self.domain_name = domain_name | ||
self.endpoint_details = endpoint_details |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class EndpointDetail(Model): | ||
"""Current TCP connectivity information from the App Service Environment to a | ||
single endpoint. | ||
:param ip_address: An IP Address that Domain Name currently resolves to. | ||
:type ip_address: str | ||
:param port: The port an endpoint is connected to. | ||
:type port: int | ||
:param latency: The time in milliseconds it takes for a TCP connection to | ||
be created from the App Service Environment to this IpAddress at this | ||
Port. | ||
:type latency: float | ||
:param is_accessable: Whether it is possible to create a TCP connection | ||
from the App Service Environment to this IpAddress at this Port. | ||
:type is_accessable: bool | ||
""" | ||
|
||
_attribute_map = { | ||
'ip_address': {'key': 'ipAddress', 'type': 'str'}, | ||
'port': {'key': 'port', 'type': 'int'}, | ||
'latency': {'key': 'latency', 'type': 'float'}, | ||
'is_accessable': {'key': 'isAccessable', 'type': 'bool'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(EndpointDetail, self).__init__(**kwargs) | ||
self.ip_address = kwargs.get('ip_address', None) | ||
self.port = kwargs.get('port', None) | ||
self.latency = kwargs.get('latency', None) | ||
self.is_accessable = kwargs.get('is_accessable', None) |
44 changes: 44 additions & 0 deletions
44
azure-mgmt-web/azure/mgmt/web/models/endpoint_detail_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class EndpointDetail(Model): | ||
"""Current TCP connectivity information from the App Service Environment to a | ||
single endpoint. | ||
:param ip_address: An IP Address that Domain Name currently resolves to. | ||
:type ip_address: str | ||
:param port: The port an endpoint is connected to. | ||
:type port: int | ||
:param latency: The time in milliseconds it takes for a TCP connection to | ||
be created from the App Service Environment to this IpAddress at this | ||
Port. | ||
:type latency: float | ||
:param is_accessable: Whether it is possible to create a TCP connection | ||
from the App Service Environment to this IpAddress at this Port. | ||
:type is_accessable: bool | ||
""" | ||
|
||
_attribute_map = { | ||
'ip_address': {'key': 'ipAddress', 'type': 'str'}, | ||
'port': {'key': 'port', 'type': 'int'}, | ||
'latency': {'key': 'latency', 'type': 'float'}, | ||
'is_accessable': {'key': 'isAccessable', 'type': 'bool'}, | ||
} | ||
|
||
def __init__(self, *, ip_address: str=None, port: int=None, latency: float=None, is_accessable: bool=None, **kwargs) -> None: | ||
super(EndpointDetail, self).__init__(**kwargs) | ||
self.ip_address = ip_address | ||
self.port = port | ||
self.latency = latency | ||
self.is_accessable = is_accessable |
40 changes: 40 additions & 0 deletions
40
azure-mgmt-web/azure/mgmt/web/models/inbound_environment_endpoint.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class InboundEnvironmentEndpoint(Model): | ||
"""The IP Addresses and Ports that require inbound network access to and | ||
within the subnet of the App Service Environment. | ||
:param description: Short text describing the purpose of the network | ||
traffic. | ||
:type description: str | ||
:param endpoints: The IP addresses that network traffic will originate | ||
from in cidr notation. | ||
:type endpoints: list[str] | ||
:param ports: The ports that network traffic will arrive to the App | ||
Service Environment at. | ||
:type ports: list[str] | ||
""" | ||
|
||
_attribute_map = { | ||
'description': {'key': 'description', 'type': 'str'}, | ||
'endpoints': {'key': 'endpoints', 'type': '[str]'}, | ||
'ports': {'key': 'ports', 'type': '[str]'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(InboundEnvironmentEndpoint, self).__init__(**kwargs) | ||
self.description = kwargs.get('description', None) | ||
self.endpoints = kwargs.get('endpoints', None) | ||
self.ports = kwargs.get('ports', None) |
40 changes: 40 additions & 0 deletions
40
azure-mgmt-web/azure/mgmt/web/models/inbound_environment_endpoint_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class InboundEnvironmentEndpoint(Model): | ||
"""The IP Addresses and Ports that require inbound network access to and | ||
within the subnet of the App Service Environment. | ||
:param description: Short text describing the purpose of the network | ||
traffic. | ||
:type description: str | ||
:param endpoints: The IP addresses that network traffic will originate | ||
from in cidr notation. | ||
:type endpoints: list[str] | ||
:param ports: The ports that network traffic will arrive to the App | ||
Service Environment at. | ||
:type ports: list[str] | ||
""" | ||
|
||
_attribute_map = { | ||
'description': {'key': 'description', 'type': 'str'}, | ||
'endpoints': {'key': 'endpoints', 'type': '[str]'}, | ||
'ports': {'key': 'ports', 'type': '[str]'}, | ||
} | ||
|
||
def __init__(self, *, description: str=None, endpoints=None, ports=None, **kwargs) -> None: | ||
super(InboundEnvironmentEndpoint, self).__init__(**kwargs) | ||
self.description = description | ||
self.endpoints = endpoints | ||
self.ports = ports |
36 changes: 36 additions & 0 deletions
36
azure-mgmt-web/azure/mgmt/web/models/outbound_environment_endpoint.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class OutboundEnvironmentEndpoint(Model): | ||
"""Endpoints accessed for a common purpose that the App Service Environment | ||
requires outbound network access to. | ||
:param category: The type of service accessed by the App Service | ||
Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active | ||
Directory. | ||
:type category: str | ||
:param endpoints: The endpoints that the App Service Environment reaches | ||
the service at. | ||
:type endpoints: list[~azure.mgmt.web.models.EndpointDependency] | ||
""" | ||
|
||
_attribute_map = { | ||
'category': {'key': 'category', 'type': 'str'}, | ||
'endpoints': {'key': 'endpoints', 'type': '[EndpointDependency]'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(OutboundEnvironmentEndpoint, self).__init__(**kwargs) | ||
self.category = kwargs.get('category', None) | ||
self.endpoints = kwargs.get('endpoints', None) |
36 changes: 36 additions & 0 deletions
36
azure-mgmt-web/azure/mgmt/web/models/outbound_environment_endpoint_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class OutboundEnvironmentEndpoint(Model): | ||
"""Endpoints accessed for a common purpose that the App Service Environment | ||
requires outbound network access to. | ||
:param category: The type of service accessed by the App Service | ||
Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active | ||
Directory. | ||
:type category: str | ||
:param endpoints: The endpoints that the App Service Environment reaches | ||
the service at. | ||
:type endpoints: list[~azure.mgmt.web.models.EndpointDependency] | ||
""" | ||
|
||
_attribute_map = { | ||
'category': {'key': 'category', 'type': 'str'}, | ||
'endpoints': {'key': 'endpoints', 'type': '[EndpointDependency]'}, | ||
} | ||
|
||
def __init__(self, *, category: str=None, endpoints=None, **kwargs) -> None: | ||
super(OutboundEnvironmentEndpoint, self).__init__(**kwargs) | ||
self.category = category | ||
self.endpoints = endpoints |
Oops, something went wrong.