Skip to content

Commit 82ad516

Browse files
AutorestCIlmazuel
authored andcommitted
[AutoPR] privatedns/resource-manager (#4359)
* [AutoPR privatedns/resource-manager] Adding Private DNS Swagger spec for API version 2018-09-01 (#4355) * Generated from 6edbf0cdc4075da21e679f25e9cd9491e14f3385 Adding examples. * Packaging update of azure-mgmt-privatedns * Generated from 458e0cf9b961fb2e28827f62cda80bd579f128dc Correcting overwriting spelling. * Update HISTORY.rst * Update version.py * Update sdk_packaging.toml * Packaging update of azure-mgmt-privatedns
1 parent d9376bc commit 82ad516

Some content is hidden

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

50 files changed

+3543
-0
lines changed

azure-mgmt-privatedns/HISTORY.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. :changelog:
2+
3+
Release History
4+
===============
5+
6+
0.1.0 (2019-02-26)
7+
++++++++++++++++++
8+
9+
* Initial Release

azure-mgmt-privatedns/MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include *.rst
2+
include azure/__init__.py
3+
include azure/mgmt/__init__.py
4+

azure-mgmt-privatedns/README.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Microsoft Azure SDK for Python
2+
==============================
3+
4+
This is the Microsoft Azure DNS Private Zones Client Library.
5+
6+
Azure Resource Manager (ARM) is the next generation of management APIs that
7+
replace the old Azure Service Management (ASM).
8+
9+
This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
10+
11+
For the older Azure Service Management (ASM) libraries, see
12+
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library.
13+
14+
For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.
15+
16+
17+
Usage
18+
=====
19+
20+
For code examples, see `DNS Private Zones
21+
<https://docs.microsoft.com/python/api/overview/azure/>`__
22+
on docs.microsoft.com.
23+
24+
25+
Provide Feedback
26+
================
27+
28+
If you encounter any bugs or have suggestions, please file an issue in the
29+
`Issues <https://github.com/Azure/azure-sdk-for-python/issues>`__
30+
section of the project.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Lines changed: 18 additions & 0 deletions
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 .private_dns_management_client import PrivateDnsManagementClient
13+
from .version import VERSION
14+
15+
__all__ = ['PrivateDnsManagementClient']
16+
17+
__version__ = VERSION
18+
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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+
try:
13+
from .private_zone_py3 import PrivateZone
14+
from .sub_resource_py3 import SubResource
15+
from .virtual_network_link_py3 import VirtualNetworkLink
16+
from .arecord_py3 import ARecord
17+
from .aaaa_record_py3 import AaaaRecord
18+
from .cname_record_py3 import CnameRecord
19+
from .mx_record_py3 import MxRecord
20+
from .ptr_record_py3 import PtrRecord
21+
from .soa_record_py3 import SoaRecord
22+
from .srv_record_py3 import SrvRecord
23+
from .txt_record_py3 import TxtRecord
24+
from .record_set_py3 import RecordSet
25+
from .resource_py3 import Resource
26+
from .tracked_resource_py3 import TrackedResource
27+
from .proxy_resource_py3 import ProxyResource
28+
except (SyntaxError, ImportError):
29+
from .private_zone import PrivateZone
30+
from .sub_resource import SubResource
31+
from .virtual_network_link import VirtualNetworkLink
32+
from .arecord import ARecord
33+
from .aaaa_record import AaaaRecord
34+
from .cname_record import CnameRecord
35+
from .mx_record import MxRecord
36+
from .ptr_record import PtrRecord
37+
from .soa_record import SoaRecord
38+
from .srv_record import SrvRecord
39+
from .txt_record import TxtRecord
40+
from .record_set import RecordSet
41+
from .resource import Resource
42+
from .tracked_resource import TrackedResource
43+
from .proxy_resource import ProxyResource
44+
from .private_zone_paged import PrivateZonePaged
45+
from .virtual_network_link_paged import VirtualNetworkLinkPaged
46+
from .record_set_paged import RecordSetPaged
47+
from .private_dns_management_client_enums import (
48+
ProvisioningState,
49+
VirtualNetworkLinkState,
50+
RecordType,
51+
)
52+
53+
__all__ = [
54+
'PrivateZone',
55+
'SubResource',
56+
'VirtualNetworkLink',
57+
'ARecord',
58+
'AaaaRecord',
59+
'CnameRecord',
60+
'MxRecord',
61+
'PtrRecord',
62+
'SoaRecord',
63+
'SrvRecord',
64+
'TxtRecord',
65+
'RecordSet',
66+
'Resource',
67+
'TrackedResource',
68+
'ProxyResource',
69+
'PrivateZonePaged',
70+
'VirtualNetworkLinkPaged',
71+
'RecordSetPaged',
72+
'ProvisioningState',
73+
'VirtualNetworkLinkState',
74+
'RecordType',
75+
]
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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 AaaaRecord(Model):
16+
"""An AAAA record.
17+
18+
:param ipv6_address: The IPv6 address of this AAAA record.
19+
:type ipv6_address: str
20+
"""
21+
22+
_attribute_map = {
23+
'ipv6_address': {'key': 'ipv6Address', 'type': 'str'},
24+
}
25+
26+
def __init__(self, **kwargs):
27+
super(AaaaRecord, self).__init__(**kwargs)
28+
self.ipv6_address = kwargs.get('ipv6_address', None)
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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 AaaaRecord(Model):
16+
"""An AAAA record.
17+
18+
:param ipv6_address: The IPv6 address of this AAAA record.
19+
:type ipv6_address: str
20+
"""
21+
22+
_attribute_map = {
23+
'ipv6_address': {'key': 'ipv6Address', 'type': 'str'},
24+
}
25+
26+
def __init__(self, *, ipv6_address: str=None, **kwargs) -> None:
27+
super(AaaaRecord, self).__init__(**kwargs)
28+
self.ipv6_address = ipv6_address
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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 ARecord(Model):
16+
"""An A record.
17+
18+
:param ipv4_address: The IPv4 address of this A record.
19+
:type ipv4_address: str
20+
"""
21+
22+
_attribute_map = {
23+
'ipv4_address': {'key': 'ipv4Address', 'type': 'str'},
24+
}
25+
26+
def __init__(self, **kwargs):
27+
super(ARecord, self).__init__(**kwargs)
28+
self.ipv4_address = kwargs.get('ipv4_address', None)
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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 ARecord(Model):
16+
"""An A record.
17+
18+
:param ipv4_address: The IPv4 address of this A record.
19+
:type ipv4_address: str
20+
"""
21+
22+
_attribute_map = {
23+
'ipv4_address': {'key': 'ipv4Address', 'type': 'str'},
24+
}
25+
26+
def __init__(self, *, ipv4_address: str=None, **kwargs) -> None:
27+
super(ARecord, self).__init__(**kwargs)
28+
self.ipv4_address = ipv4_address
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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 CnameRecord(Model):
16+
"""A CNAME record.
17+
18+
:param cname: The canonical name for this CNAME record.
19+
:type cname: str
20+
"""
21+
22+
_attribute_map = {
23+
'cname': {'key': 'cname', 'type': 'str'},
24+
}
25+
26+
def __init__(self, **kwargs):
27+
super(CnameRecord, self).__init__(**kwargs)
28+
self.cname = kwargs.get('cname', None)
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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 CnameRecord(Model):
16+
"""A CNAME record.
17+
18+
:param cname: The canonical name for this CNAME record.
19+
:type cname: str
20+
"""
21+
22+
_attribute_map = {
23+
'cname': {'key': 'cname', 'type': 'str'},
24+
}
25+
26+
def __init__(self, *, cname: str=None, **kwargs) -> None:
27+
super(CnameRecord, self).__init__(**kwargs)
28+
self.cname = cname
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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 MxRecord(Model):
16+
"""An MX record.
17+
18+
:param preference: The preference value for this MX record.
19+
:type preference: int
20+
:param exchange: The domain name of the mail host for this MX record.
21+
:type exchange: str
22+
"""
23+
24+
_attribute_map = {
25+
'preference': {'key': 'preference', 'type': 'int'},
26+
'exchange': {'key': 'exchange', 'type': 'str'},
27+
}
28+
29+
def __init__(self, **kwargs):
30+
super(MxRecord, self).__init__(**kwargs)
31+
self.preference = kwargs.get('preference', None)
32+
self.exchange = kwargs.get('exchange', None)
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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 MxRecord(Model):
16+
"""An MX record.
17+
18+
:param preference: The preference value for this MX record.
19+
:type preference: int
20+
:param exchange: The domain name of the mail host for this MX record.
21+
:type exchange: str
22+
"""
23+
24+
_attribute_map = {
25+
'preference': {'key': 'preference', 'type': 'int'},
26+
'exchange': {'key': 'exchange', 'type': 'str'},
27+
}
28+
29+
def __init__(self, *, preference: int=None, exchange: str=None, **kwargs) -> None:
30+
super(MxRecord, self).__init__(**kwargs)
31+
self.preference = preference
32+
self.exchange = exchange

0 commit comments

Comments
 (0)