-
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] dns/resource-manager (#3000)
* Generated from c5f0cf3de92783c4d87720bc73686bd19fbb79d3 (#2998) Added CreatePrivateZone example ref to swagger spec * Generated from 4de933ca3a2caaa1c978a697a768c9bf5bdf35b8 (#3004) Extract go config * DNS 2.0.0 packaging
- Loading branch information
1 parent
286cf3f
commit 184e289
Showing
33 changed files
with
821 additions
and
421 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
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
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
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
50 changes: 50 additions & 0 deletions
50
azure-mgmt-dns/azure/mgmt/dns/v2016_04_01/models/azure_entity_resource.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,50 @@ | ||
# 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 .resource import Resource | ||
|
||
|
||
class AzureEntityResource(Resource): | ||
"""The resource model definition for a Azure Resource Manager resource with an | ||
etag. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Fully qualified resource Id for the resource. Ex - | ||
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | ||
:vartype id: str | ||
:ivar name: The name of the resource | ||
:vartype name: str | ||
:ivar type: The type of the resource. Ex- | ||
Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. | ||
:vartype type: str | ||
:ivar etag: Resource Etag. | ||
:vartype etag: str | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
'etag': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'etag': {'key': 'etag', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AzureEntityResource, self).__init__(**kwargs) | ||
self.etag = None |
50 changes: 50 additions & 0 deletions
50
azure-mgmt-dns/azure/mgmt/dns/v2016_04_01/models/azure_entity_resource_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,50 @@ | ||
# 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 .resource_py3 import Resource | ||
|
||
|
||
class AzureEntityResource(Resource): | ||
"""The resource model definition for a Azure Resource Manager resource with an | ||
etag. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Fully qualified resource Id for the resource. Ex - | ||
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | ||
:vartype id: str | ||
:ivar name: The name of the resource | ||
:vartype name: str | ||
:ivar type: The type of the resource. Ex- | ||
Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. | ||
:vartype type: str | ||
:ivar etag: Resource Etag. | ||
:vartype etag: str | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
'etag': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'etag': {'key': 'etag', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs) -> None: | ||
super(AzureEntityResource, self).__init__(**kwargs) | ||
self.etag = None |
45 changes: 45 additions & 0 deletions
45
azure-mgmt-dns/azure/mgmt/dns/v2016_04_01/models/proxy_resource.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,45 @@ | ||
# 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 .resource import Resource | ||
|
||
|
||
class ProxyResource(Resource): | ||
"""The resource model definition for a ARM proxy resource. It will have | ||
everything other than required location and tags. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Fully qualified resource Id for the resource. Ex - | ||
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | ||
:vartype id: str | ||
:ivar name: The name of the resource | ||
:vartype name: str | ||
:ivar type: The type of the resource. Ex- | ||
Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. | ||
:vartype type: str | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(ProxyResource, self).__init__(**kwargs) |
45 changes: 45 additions & 0 deletions
45
azure-mgmt-dns/azure/mgmt/dns/v2016_04_01/models/proxy_resource_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,45 @@ | ||
# 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 .resource_py3 import Resource | ||
|
||
|
||
class ProxyResource(Resource): | ||
"""The resource model definition for a ARM proxy resource. It will have | ||
everything other than required location and tags. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Fully qualified resource Id for the resource. Ex - | ||
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | ||
:vartype id: str | ||
:ivar name: The name of the resource | ||
:vartype name: str | ||
:ivar type: The type of the resource. Ex- | ||
Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. | ||
:vartype type: str | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs) -> None: | ||
super(ProxyResource, self).__init__(**kwargs) |
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
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
Oops, something went wrong.