-
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 imagebuilder/resource-manager] [Hub Generated] Review request…
… for Microsoft.VirtualMachineImages to add version 2019-02-01-preview (#4449) * Generated from 796ebc9f7d0be44caec229a6dccaeafaa80d72e6 Add imagebuilder/2019-02-01-preview * Generated from 42363c2f9c61172f0ebac88d32cb992d26dc73be Merge pull request #1 from feiyushi/feshi-imagebuilder-preview2019 operation_id: plural forms * Packaging update of azure-mgmt-imagebuilder * Generated from 3f182fa74711ff8772671a27d256e73ddef90085 Fix typo
- Loading branch information
1 parent
fbe44de
commit d22ed6b
Showing
39 changed files
with
485 additions
and
82 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
recursive-include tests *.py *.yaml | ||
include *.rst | ||
include azure/__init__.py | ||
include azure/mgmt/__init__.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
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
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
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
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
40 changes: 40 additions & 0 deletions
40
...e-mgmt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_managed_image_source.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,40 @@ | ||
# 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 .image_template_source import ImageTemplateSource | ||
|
||
|
||
class ImageTemplateManagedImageSource(ImageTemplateSource): | ||
"""Describes an image source that is a managed image in customer subscription. | ||
All required parameters must be populated in order to send to Azure. | ||
:param type: Required. Constant filled by server. | ||
:type type: str | ||
:param image_id: Required. ARM resource id of the managed image in | ||
customer subscription | ||
:type image_id: str | ||
""" | ||
|
||
_validation = { | ||
'type': {'required': True}, | ||
'image_id': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'image_id': {'key': 'imageId', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(ImageTemplateManagedImageSource, self).__init__(**kwargs) | ||
self.image_id = kwargs.get('image_id', None) | ||
self.type = 'ManagedImage' |
40 changes: 40 additions & 0 deletions
40
...mt-imagebuilder/azure/mgmt/imagebuilder/models/image_template_managed_image_source_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,40 @@ | ||
# 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 .image_template_source_py3 import ImageTemplateSource | ||
|
||
|
||
class ImageTemplateManagedImageSource(ImageTemplateSource): | ||
"""Describes an image source that is a managed image in customer subscription. | ||
All required parameters must be populated in order to send to Azure. | ||
:param type: Required. Constant filled by server. | ||
:type type: str | ||
:param image_id: Required. ARM resource id of the managed image in | ||
customer subscription | ||
:type image_id: str | ||
""" | ||
|
||
_validation = { | ||
'type': {'required': True}, | ||
'image_id': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'image_id': {'key': 'imageId', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, image_id: str, **kwargs) -> None: | ||
super(ImageTemplateManagedImageSource, self).__init__(**kwargs) | ||
self.image_id = image_id | ||
self.type = 'ManagedImage' |
Oops, something went wrong.