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

[AutoPR azure-mgmt-frontdoor] Frontdoor new API version 2020-05-01 #874

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 11 additions & 19 deletions sdk/network/azure-mgmt-frontdoor/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
## Microsoft Azure SDK for Python
# Microsoft Azure SDK for Python

This is the Microsoft Azure Front Door Service Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see the [Github repo](https://github.com/Azure/azure-sdk-for-python/)

Azure Resource Manager (ARM) is the next generation of management APIs
that replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.
# Usage

For the older Azure Service Management (ASM) libraries, see
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
library.
For code examples, see [Front Door Service](https://docs.microsoft.com/python/api/overview/azure/)
on docs.microsoft.com.

For a more complete set of Azure libraries, see the
[azure](https://pypi.python.org/pypi/azure) bundle package.

## Usage
# Provide Feedback

For code examples, see [Front Door
Service](https://docs.microsoft.com/python/api/overview/azure/) on
docs.microsoft.com.

## Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project.

![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-frontdoor%2FREADME.png)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-frontdoor%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
from msrest import Serializer, Deserializer

from ._configuration import FrontDoorManagementClientConfiguration
from .operations import FrontDoorManagementClientOperationsMixin
from .operations import NetworkExperimentProfilesOperations
from .operations import PreconfiguredEndpointsOperations
from .operations import ExperimentsOperations
from .operations import ReportsOperations
from .operations import FrontDoorNameAvailabilityOperations
from .operations import FrontDoorNameAvailabilityWithSubscriptionOperations
from .operations import FrontDoorsOperations
from .operations import FrontendEndpointsOperations
from .operations import EndpointsOperations
Expand All @@ -27,7 +28,7 @@
from . import models


class FrontDoorManagementClient(FrontDoorManagementClientOperationsMixin, SDKClient):
class FrontDoorManagementClient(SDKClient):
"""FrontDoor Client

:ivar config: Configuration for client.
Expand All @@ -41,6 +42,10 @@ class FrontDoorManagementClient(FrontDoorManagementClientOperationsMixin, SDKCli
:vartype experiments: azure.mgmt.frontdoor.operations.ExperimentsOperations
:ivar reports: Reports operations
:vartype reports: azure.mgmt.frontdoor.operations.ReportsOperations
:ivar front_door_name_availability: FrontDoorNameAvailability operations
:vartype front_door_name_availability: azure.mgmt.frontdoor.operations.FrontDoorNameAvailabilityOperations
:ivar front_door_name_availability_with_subscription: FrontDoorNameAvailabilityWithSubscription operations
:vartype front_door_name_availability_with_subscription: azure.mgmt.frontdoor.operations.FrontDoorNameAvailabilityWithSubscriptionOperations
:ivar front_doors: FrontDoors operations
:vartype front_doors: azure.mgmt.frontdoor.operations.FrontDoorsOperations
:ivar frontend_endpoints: FrontendEndpoints operations
Expand Down Expand Up @@ -82,6 +87,10 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.reports = ReportsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.front_door_name_availability = FrontDoorNameAvailabilityOperations(
self._client, self.config, self._serialize, self._deserialize)
self.front_door_name_availability_with_subscription = FrontDoorNameAvailabilityWithSubscriptionOperations(
self._client, self.config, self._serialize, self._deserialize)
self.front_doors = FrontDoorsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.frontend_endpoints = FrontendEndpointsOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ class Backend(Model):
:param private_link_alias: The Alias of the Private Link resource.
Populating this optional field indicates that this backend is 'Private'
:type private_link_alias: str
:param private_link_resource_id: The Resource Id of the Private Link
resource. Populating this optional field indicates that this backend is
'Private'
:type private_link_resource_id: str
:param private_link_location: The location of the Private Link resource.
Required only if 'privateLinkResourceId' is populated
:type private_link_location: str
:ivar private_endpoint_status: The Approval status for the connection to
the Private Link. Possible values include: 'Pending', 'Approved',
'Rejected', 'Disconnected', 'Timeout'
Expand Down Expand Up @@ -92,6 +99,8 @@ class Backend(Model):
_attribute_map = {
'address': {'key': 'address', 'type': 'str'},
'private_link_alias': {'key': 'privateLinkAlias', 'type': 'str'},
'private_link_resource_id': {'key': 'privateLinkResourceId', 'type': 'str'},
'private_link_location': {'key': 'privateLinkLocation', 'type': 'str'},
'private_endpoint_status': {'key': 'privateEndpointStatus', 'type': 'PrivateEndpointStatus'},
'private_link_approval_message': {'key': 'privateLinkApprovalMessage', 'type': 'str'},
'http_port': {'key': 'httpPort', 'type': 'int'},
Expand All @@ -106,6 +115,8 @@ def __init__(self, **kwargs):
super(Backend, self).__init__(**kwargs)
self.address = kwargs.get('address', None)
self.private_link_alias = kwargs.get('private_link_alias', None)
self.private_link_resource_id = kwargs.get('private_link_resource_id', None)
self.private_link_location = kwargs.get('private_link_location', None)
self.private_endpoint_status = None
self.private_link_approval_message = kwargs.get('private_link_approval_message', None)
self.http_port = kwargs.get('http_port', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ class Backend(Model):
:param private_link_alias: The Alias of the Private Link resource.
Populating this optional field indicates that this backend is 'Private'
:type private_link_alias: str
:param private_link_resource_id: The Resource Id of the Private Link
resource. Populating this optional field indicates that this backend is
'Private'
:type private_link_resource_id: str
:param private_link_location: The location of the Private Link resource.
Required only if 'privateLinkResourceId' is populated
:type private_link_location: str
:ivar private_endpoint_status: The Approval status for the connection to
the Private Link. Possible values include: 'Pending', 'Approved',
'Rejected', 'Disconnected', 'Timeout'
Expand Down Expand Up @@ -92,6 +99,8 @@ class Backend(Model):
_attribute_map = {
'address': {'key': 'address', 'type': 'str'},
'private_link_alias': {'key': 'privateLinkAlias', 'type': 'str'},
'private_link_resource_id': {'key': 'privateLinkResourceId', 'type': 'str'},
'private_link_location': {'key': 'privateLinkLocation', 'type': 'str'},
'private_endpoint_status': {'key': 'privateEndpointStatus', 'type': 'PrivateEndpointStatus'},
'private_link_approval_message': {'key': 'privateLinkApprovalMessage', 'type': 'str'},
'http_port': {'key': 'httpPort', 'type': 'int'},
Expand All @@ -102,10 +111,12 @@ class Backend(Model):
'backend_host_header': {'key': 'backendHostHeader', 'type': 'str'},
}

def __init__(self, *, address: str=None, private_link_alias: str=None, private_link_approval_message: str=None, http_port: int=None, https_port: int=None, enabled_state=None, priority: int=None, weight: int=None, backend_host_header: str=None, **kwargs) -> None:
def __init__(self, *, address: str=None, private_link_alias: str=None, private_link_resource_id: str=None, private_link_location: str=None, private_link_approval_message: str=None, http_port: int=None, https_port: int=None, enabled_state=None, priority: int=None, weight: int=None, backend_host_header: str=None, **kwargs) -> None:
super(Backend, self).__init__(**kwargs)
self.address = address
self.private_link_alias = private_link_alias
self.private_link_resource_id = private_link_resource_id
self.private_link_location = private_link_location
self.private_endpoint_status = None
self.private_link_approval_message = private_link_approval_message
self.http_port = http_port
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,26 @@
from ._preconfigured_endpoints_operations import PreconfiguredEndpointsOperations
from ._experiments_operations import ExperimentsOperations
from ._reports_operations import ReportsOperations
from ._front_door_name_availability_operations import FrontDoorNameAvailabilityOperations
from ._front_door_name_availability_with_subscription_operations import FrontDoorNameAvailabilityWithSubscriptionOperations
from ._front_doors_operations import FrontDoorsOperations
from ._frontend_endpoints_operations import FrontendEndpointsOperations
from ._endpoints_operations import EndpointsOperations
from ._rules_engines_operations import RulesEnginesOperations
from ._policies_operations import PoliciesOperations
from ._managed_rule_sets_operations import ManagedRuleSetsOperations
from ._front_door_management_client_operations import FrontDoorManagementClientOperationsMixin

__all__ = [
'NetworkExperimentProfilesOperations',
'PreconfiguredEndpointsOperations',
'ExperimentsOperations',
'ReportsOperations',
'FrontDoorNameAvailabilityOperations',
'FrontDoorNameAvailabilityWithSubscriptionOperations',
'FrontDoorsOperations',
'FrontendEndpointsOperations',
'EndpointsOperations',
'RulesEnginesOperations',
'PoliciesOperations',
'ManagedRuleSetsOperations',
'FrontDoorManagementClientOperationsMixin',
]
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class EndpointsOperations(object):
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
:ivar api_version: Client API version. Constant value: "2020-01-01".
:ivar api_version: Client API version. Constant value: "2020-05-01".
"""

models = models
Expand All @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
self.api_version = "2020-01-01"
self.api_version = "2020-05-01"

self.config = config

Expand Down

This file was deleted.

Loading