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 privatedns/resource-manager] Adding Private DNS Swagger spec for API version 2018-09-01 #4355

Merged
Merged
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
9 changes: 9 additions & 0 deletions azure-mgmt-privatedns/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.. :changelog:

Release History
===============

0.1.0 (1970-01-01)
++++++++++++++++++

* Initial Release
4 changes: 4 additions & 0 deletions azure-mgmt-privatedns/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include *.rst
include azure/__init__.py
include azure/mgmt/__init__.py

30 changes: 30 additions & 0 deletions azure-mgmt-privatedns/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Microsoft Azure SDK for Python
==============================

This is the Microsoft Azure MyService Management Client Library.

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.4, 3.5, 3.6 and 3.7.

For the older Azure Service Management (ASM) libraries, see
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library.

For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.


Usage
=====

For code examples, see `MyService Management
<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>`__
section of the project.
1 change: 1 addition & 0 deletions azure-mgmt-privatedns/azure/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
1 change: 1 addition & 0 deletions azure-mgmt-privatedns/azure/mgmt/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
18 changes: 18 additions & 0 deletions azure-mgmt-privatedns/azure/mgmt/privatedns/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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 .private_dns_management_client import PrivateDnsManagementClient
from .version import VERSION

__all__ = ['PrivateDnsManagementClient']

__version__ = VERSION

75 changes: 75 additions & 0 deletions azure-mgmt-privatedns/azure/mgmt/privatedns/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# 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.
# --------------------------------------------------------------------------

try:
from .private_zone_py3 import PrivateZone
from .sub_resource_py3 import SubResource
from .virtual_network_link_py3 import VirtualNetworkLink
from .arecord_py3 import ARecord
from .aaaa_record_py3 import AaaaRecord
from .cname_record_py3 import CnameRecord
from .mx_record_py3 import MxRecord
from .ptr_record_py3 import PtrRecord
from .soa_record_py3 import SoaRecord
from .srv_record_py3 import SrvRecord
from .txt_record_py3 import TxtRecord
from .record_set_py3 import RecordSet
from .resource_py3 import Resource
from .tracked_resource_py3 import TrackedResource
from .proxy_resource_py3 import ProxyResource
except (SyntaxError, ImportError):
from .private_zone import PrivateZone
from .sub_resource import SubResource
from .virtual_network_link import VirtualNetworkLink
from .arecord import ARecord
from .aaaa_record import AaaaRecord
from .cname_record import CnameRecord
from .mx_record import MxRecord
from .ptr_record import PtrRecord
from .soa_record import SoaRecord
from .srv_record import SrvRecord
from .txt_record import TxtRecord
from .record_set import RecordSet
from .resource import Resource
from .tracked_resource import TrackedResource
from .proxy_resource import ProxyResource
from .private_zone_paged import PrivateZonePaged
from .virtual_network_link_paged import VirtualNetworkLinkPaged
from .record_set_paged import RecordSetPaged
from .private_dns_management_client_enums import (
ProvisioningState,
VirtualNetworkLinkState,
RecordType,
)

__all__ = [
'PrivateZone',
'SubResource',
'VirtualNetworkLink',
'ARecord',
'AaaaRecord',
'CnameRecord',
'MxRecord',
'PtrRecord',
'SoaRecord',
'SrvRecord',
'TxtRecord',
'RecordSet',
'Resource',
'TrackedResource',
'ProxyResource',
'PrivateZonePaged',
'VirtualNetworkLinkPaged',
'RecordSetPaged',
'ProvisioningState',
'VirtualNetworkLinkState',
'RecordType',
]
28 changes: 28 additions & 0 deletions azure-mgmt-privatedns/azure/mgmt/privatedns/models/aaaa_record.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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 AaaaRecord(Model):
"""An AAAA record.

:param ipv6_address: The IPv6 address of this AAAA record.
:type ipv6_address: str
"""

_attribute_map = {
'ipv6_address': {'key': 'ipv6Address', 'type': 'str'},
}

def __init__(self, **kwargs):
super(AaaaRecord, self).__init__(**kwargs)
self.ipv6_address = kwargs.get('ipv6_address', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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 AaaaRecord(Model):
"""An AAAA record.

:param ipv6_address: The IPv6 address of this AAAA record.
:type ipv6_address: str
"""

_attribute_map = {
'ipv6_address': {'key': 'ipv6Address', 'type': 'str'},
}

def __init__(self, *, ipv6_address: str=None, **kwargs) -> None:
super(AaaaRecord, self).__init__(**kwargs)
self.ipv6_address = ipv6_address
28 changes: 28 additions & 0 deletions azure-mgmt-privatedns/azure/mgmt/privatedns/models/arecord.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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 ARecord(Model):
"""An A record.

:param ipv4_address: The IPv4 address of this A record.
:type ipv4_address: str
"""

_attribute_map = {
'ipv4_address': {'key': 'ipv4Address', 'type': 'str'},
}

def __init__(self, **kwargs):
super(ARecord, self).__init__(**kwargs)
self.ipv4_address = kwargs.get('ipv4_address', None)
28 changes: 28 additions & 0 deletions azure-mgmt-privatedns/azure/mgmt/privatedns/models/arecord_py3.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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 ARecord(Model):
"""An A record.

:param ipv4_address: The IPv4 address of this A record.
:type ipv4_address: str
"""

_attribute_map = {
'ipv4_address': {'key': 'ipv4Address', 'type': 'str'},
}

def __init__(self, *, ipv4_address: str=None, **kwargs) -> None:
super(ARecord, self).__init__(**kwargs)
self.ipv4_address = ipv4_address
28 changes: 28 additions & 0 deletions azure-mgmt-privatedns/azure/mgmt/privatedns/models/cname_record.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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 CnameRecord(Model):
"""A CNAME record.

:param cname: The canonical name for this CNAME record.
:type cname: str
"""

_attribute_map = {
'cname': {'key': 'cname', 'type': 'str'},
}

def __init__(self, **kwargs):
super(CnameRecord, self).__init__(**kwargs)
self.cname = kwargs.get('cname', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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 CnameRecord(Model):
"""A CNAME record.

:param cname: The canonical name for this CNAME record.
:type cname: str
"""

_attribute_map = {
'cname': {'key': 'cname', 'type': 'str'},
}

def __init__(self, *, cname: str=None, **kwargs) -> None:
super(CnameRecord, self).__init__(**kwargs)
self.cname = cname
32 changes: 32 additions & 0 deletions azure-mgmt-privatedns/azure/mgmt/privatedns/models/mx_record.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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 MxRecord(Model):
"""An MX record.

:param preference: The preference value for this MX record.
:type preference: int
:param exchange: The domain name of the mail host for this MX record.
:type exchange: str
"""

_attribute_map = {
'preference': {'key': 'preference', 'type': 'int'},
'exchange': {'key': 'exchange', 'type': 'str'},
}

def __init__(self, **kwargs):
super(MxRecord, self).__init__(**kwargs)
self.preference = kwargs.get('preference', None)
self.exchange = kwargs.get('exchange', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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 MxRecord(Model):
"""An MX record.

:param preference: The preference value for this MX record.
:type preference: int
:param exchange: The domain name of the mail host for this MX record.
:type exchange: str
"""

_attribute_map = {
'preference': {'key': 'preference', 'type': 'int'},
'exchange': {'key': 'exchange', 'type': 'str'},
}

def __init__(self, *, preference: int=None, exchange: str=None, **kwargs) -> None:
super(MxRecord, self).__init__(**kwargs)
self.preference = preference
self.exchange = exchange
Loading