-
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 4927713e353793ac5f22f0c0954e51ba5623034e (#3454)
Added VirtualMachineImageProperties.AutomaticOSUpgradeProperties in GET VMImageVersion API Added VirtualMachineImageProperties.AutomaticOSUpgradeProperties in GET VMImageVersion API
- Loading branch information
1 parent
b2e2ab1
commit 25c7ec0
Showing
5 changed files
with
84 additions
and
1 deletion.
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
35 changes: 35 additions & 0 deletions
35
azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/automatic_os_upgrade_properties.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 AutomaticOSUpgradeProperties(Model): | ||
"""Describes automatic OS upgrade properties on the image. | ||
All required parameters must be populated in order to send to Azure. | ||
:param automatic_os_upgrade_supported: Required. Specifies whether | ||
automatic OS upgrade is supported on the image. | ||
:type automatic_os_upgrade_supported: bool | ||
""" | ||
|
||
_validation = { | ||
'automatic_os_upgrade_supported': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'automatic_os_upgrade_supported': {'key': 'automaticOSUpgradeSupported', 'type': 'bool'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AutomaticOSUpgradeProperties, self).__init__(**kwargs) | ||
self.automatic_os_upgrade_supported = kwargs.get('automatic_os_upgrade_supported', None) |
35 changes: 35 additions & 0 deletions
35
...mgmt-compute/azure/mgmt/compute/v2018_10_01/models/automatic_os_upgrade_properties_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 AutomaticOSUpgradeProperties(Model): | ||
"""Describes automatic OS upgrade properties on the image. | ||
All required parameters must be populated in order to send to Azure. | ||
:param automatic_os_upgrade_supported: Required. Specifies whether | ||
automatic OS upgrade is supported on the image. | ||
:type automatic_os_upgrade_supported: bool | ||
""" | ||
|
||
_validation = { | ||
'automatic_os_upgrade_supported': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'automatic_os_upgrade_supported': {'key': 'automaticOSUpgradeSupported', 'type': 'bool'}, | ||
} | ||
|
||
def __init__(self, *, automatic_os_upgrade_supported: bool, **kwargs) -> None: | ||
super(AutomaticOSUpgradeProperties, self).__init__(**kwargs) | ||
self.automatic_os_upgrade_supported = automatic_os_upgrade_supported |
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