-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.mgmt.compute.v2021_04_01.models.Image.yml
115 lines (101 loc) · 3.77 KB
/
azure.mgmt.compute.v2021_04_01.models.Image.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
### YamlMime:PythonClass
uid: azure.mgmt.compute.v2021_04_01.models.Image
name: Image
fullName: azure.mgmt.compute.v2021_04_01.models.Image
module: azure.mgmt.compute.v2021_04_01.models
inheritances:
- azure.mgmt.compute.v2021_04_01.models._models_py3.Resource
summary: 'The source user image virtual hard disk. The virtual hard disk will be copied
before being
attached to the virtual machine. If SourceImage is provided, the destination virtual
hard drive
must not exist.
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 server.'
constructor:
syntax: 'Image(*, location: str, tags: Dict[str, str] | None = None, extended_location:
_models.ExtendedLocation | None = None, source_virtual_machine: _models.SubResource
| None = None, storage_profile: _models.ImageStorageProfile | None = None, hyper_v_generation:
str | _models.HyperVGenerationTypes | None = None, **kwargs: Any)'
keywordOnlyParameters:
- name: location
description: Resource location. Required.
types:
- <xref:str>
- name: tags
description: Resource tags.
types:
- <xref:dict>[<xref:str>, <xref:str>]
- name: extended_location
description: The extended location of the Image.
types:
- <xref:azure.mgmt.compute.v2021_04_01.models.ExtendedLocation>
- name: source_virtual_machine
description: The source virtual machine from which Image is created.
types:
- <xref:azure.mgmt.compute.v2021_04_01.models.SubResource>
- name: storage_profile
description: Specifies the storage settings for the virtual machine disks.
types:
- <xref:azure.mgmt.compute.v2021_04_01.models.ImageStorageProfile>
- name: hyper_v_generation
description: 'Specifies the HyperVGenerationType of the VirtualMachine created
from the image. From API Version 2019-03-01 if the image source is a blob, then
we need the
user to specify the value, if the source is managed resource like disk or snapshot,
we may
require the user to specify the property if we cannot deduce it from the source
managed
resource. Known values are: "V1" and "V2".'
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2021_04_01.models.HyperVGenerationTypes>
variables:
- description: Resource Id.
name: id
types:
- <xref:str>
- description: Resource name.
name: name
types:
- <xref:str>
- description: Resource type.
name: type
types:
- <xref:str>
- description: Resource location. Required.
name: location
types:
- <xref:str>
- description: Resource tags.
name: tags
types:
- <xref:dict>[<xref:str>, <xref:str>]
- description: The extended location of the Image.
name: extended_location
types:
- <xref:azure.mgmt.compute.v2021_04_01.models.ExtendedLocation>
- description: The source virtual machine from which Image is created.
name: source_virtual_machine
types:
- <xref:azure.mgmt.compute.v2021_04_01.models.SubResource>
- description: Specifies the storage settings for the virtual machine disks.
name: storage_profile
types:
- <xref:azure.mgmt.compute.v2021_04_01.models.ImageStorageProfile>
- description: The provisioning state.
name: provisioning_state
types:
- <xref:str>
- description: 'Specifies the HyperVGenerationType of the VirtualMachine created from
the image. From API Version 2019-03-01 if the image source is a blob, then we
need the user to
specify the value, if the source is managed resource like disk or snapshot, we
may require the
user to specify the property if we cannot deduce it from the source managed resource.
Known
values are: "V1" and "V2".'
name: hyper_v_generation
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2021_04_01.models.HyperVGenerationTypes>