-
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.
[AutoPR compute/resource-manager] Swagger spec for disk.json 2018-06 (#…
…3310) * Generated from f128ff0876f538e2cba5b92988bc54b3c041b623 Update readme.md * Packaging update of azure-mgmt-compute * Change default API * Generated from c5cdad53036869893fca1fc5c7658a1dd85e3e59 deleting duplicates * Fix tests
- Loading branch information
1 parent
d29f7a7
commit 9f154e6
Showing
66 changed files
with
3,697 additions
and
583 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
35 changes: 35 additions & 0 deletions
35
azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/access_uri.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,35 @@ | ||
# 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 AccessUri(Model): | ||
"""A disk access SAS uri. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar access_sas: A SAS uri for accessing a disk. | ||
:vartype access_sas: str | ||
""" | ||
|
||
_validation = { | ||
'access_sas': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'access_sas': {'key': 'accessSAS', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AccessUri, self).__init__(**kwargs) | ||
self.access_sas = None |
35 changes: 35 additions & 0 deletions
35
azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/access_uri_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,35 @@ | ||
# 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 AccessUri(Model): | ||
"""A disk access SAS uri. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar access_sas: A SAS uri for accessing a disk. | ||
:vartype access_sas: str | ||
""" | ||
|
||
_validation = { | ||
'access_sas': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'access_sas': {'key': 'accessSAS', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs) -> None: | ||
super(AccessUri, self).__init__(**kwargs) | ||
self.access_sas = None |
33 changes: 33 additions & 0 deletions
33
azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities.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,33 @@ | ||
# 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 AdditionalCapabilities(Model): | ||
"""Enables or disables a capability on the virtual machine or virtual machine | ||
scale set. | ||
:param ultra_ssd_enabled: Enables or disables a capability to have 1 or | ||
more managed data disks with UltraSSD_LRS storage account on the VM or | ||
VMSS. Managed disks with storage account type UltraSSD_LRS can be added to | ||
a virtual machine or virtual machine scale set only if this property is | ||
enabled. | ||
:type ultra_ssd_enabled: bool | ||
""" | ||
|
||
_attribute_map = { | ||
'ultra_ssd_enabled': {'key': 'ultraSSDEnabled', 'type': 'bool'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AdditionalCapabilities, self).__init__(**kwargs) | ||
self.ultra_ssd_enabled = kwargs.get('ultra_ssd_enabled', None) |
33 changes: 33 additions & 0 deletions
33
azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities_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,33 @@ | ||
# 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 AdditionalCapabilities(Model): | ||
"""Enables or disables a capability on the virtual machine or virtual machine | ||
scale set. | ||
:param ultra_ssd_enabled: Enables or disables a capability to have 1 or | ||
more managed data disks with UltraSSD_LRS storage account on the VM or | ||
VMSS. Managed disks with storage account type UltraSSD_LRS can be added to | ||
a virtual machine or virtual machine scale set only if this property is | ||
enabled. | ||
:type ultra_ssd_enabled: bool | ||
""" | ||
|
||
_attribute_map = { | ||
'ultra_ssd_enabled': {'key': 'ultraSSDEnabled', 'type': 'bool'}, | ||
} | ||
|
||
def __init__(self, *, ultra_ssd_enabled: bool=None, **kwargs) -> None: | ||
super(AdditionalCapabilities, self).__init__(**kwargs) | ||
self.ultra_ssd_enabled = ultra_ssd_enabled |
Oops, something went wrong.