-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 4de933ca3a2caaa1c978a697a768c9bf5bdf35b8 (#3004)
Extract go config
- Loading branch information
1 parent
275c84d
commit d1672f1
Showing
28 changed files
with
740 additions
and
154 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
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
55 changes: 55 additions & 0 deletions
55
azure-mgmt-dns/azure/mgmt/dns/v2016_04_01/models/tracked_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,55 @@ | ||
# 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 TrackedResource(Resource): | ||
"""The resource model definition for a ARM tracked top level resource. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
All required parameters must be populated in order to send to Azure. | ||
: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 | ||
:param tags: Resource tags. | ||
:type tags: dict[str, str] | ||
:param location: Required. The geo-location where the resource lives | ||
:type location: str | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
'location': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'tags': {'key': 'tags', 'type': '{str}'}, | ||
'location': {'key': 'location', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(TrackedResource, self).__init__(**kwargs) | ||
self.tags = kwargs.get('tags', None) | ||
self.location = kwargs.get('location', None) |
Oops, something went wrong.