-
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 changes for adding diffdisk…
…settings property for the Ephemeral OS Disks (#3373) * Generated from 2f5219561aefc8c0d87bb9b62d5fc8f222f2b842 updated comment * Generated from 3286411fb1aa50b4ef9633cfdd4403f6357d1cf0 updated swagger specs for diffdisksettings property * Generated from f8934d4e93099dec66995c9fdeccd02d7fb535bd updated swagger spec comments for diff disk settings [property * Generated from 474d5b03008f5780dcb546ed5264bae7eb3d8e59 updated 2018-10-01 version specs with diffdisk property
- Loading branch information
1 parent
8a3f760
commit cd8a3e3
Showing
8 changed files
with
100 additions
and
2 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
32 changes: 32 additions & 0 deletions
32
azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.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,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 DiffDiskSettings(Model): | ||
"""Describes the parameters of differencing disk settings that can be be | ||
specified for operating system disk. <br><br> NOTE: The differencing disk | ||
settings can only be specified for managed disk. | ||
:param option: Specifies the differencing disk settings for operating | ||
system disk. Possible values include: 'Local' | ||
:type option: str or | ||
~azure.mgmt.compute.v2018_06_01.models.DiffDiskOptions | ||
""" | ||
|
||
_attribute_map = { | ||
'option': {'key': 'option', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(DiffDiskSettings, self).__init__(**kwargs) | ||
self.option = kwargs.get('option', None) |
32 changes: 32 additions & 0 deletions
32
azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_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,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 DiffDiskSettings(Model): | ||
"""Describes the parameters of differencing disk settings that can be be | ||
specified for operating system disk. <br><br> NOTE: The differencing disk | ||
settings can only be specified for managed disk. | ||
:param option: Specifies the differencing disk settings for operating | ||
system disk. Possible values include: 'Local' | ||
:type option: str or | ||
~azure.mgmt.compute.v2018_06_01.models.DiffDiskOptions | ||
""" | ||
|
||
_attribute_map = { | ||
'option': {'key': 'option', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, option=None, **kwargs) -> None: | ||
super(DiffDiskSettings, self).__init__(**kwargs) | ||
self.option = option |
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