-
Notifications
You must be signed in to change notification settings - Fork 234
/
azure.mgmt.compute.v2022_03_01.models.ImageReference.yml
155 lines (125 loc) · 4.84 KB
/
azure.mgmt.compute.v2022_03_01.models.ImageReference.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
### YamlMime:PythonClass
uid: azure.mgmt.compute.v2022_03_01.models.ImageReference
name: ImageReference
fullName: azure.mgmt.compute.v2022_03_01.models.ImageReference
module: azure.mgmt.compute.v2022_03_01.models
inheritances:
- azure.mgmt.compute.v2022_03_01.models._models_py3.SubResource
summary: 'Specifies information about the image to use. You can specify information
about platform
images, marketplace images, or virtual machine images. This element is required
when you want
to use a platform image, marketplace image, or virtual machine image, but is not
used in other
creation operations. NOTE: Image reference publisher and offer can only be set when
you create
the scale set.
Variables are only populated by the server, and will be ignored when sending a request.'
constructor:
syntax: 'ImageReference(*, id: str | None = None, publisher: str | None = None,
offer: str | None = None, sku: str | None = None, version: str | None = None,
shared_gallery_image_id: str | None = None, community_gallery_image_id: str |
None = None, **kwargs: Any)'
keywordOnlyParameters:
- name: id
description: Resource Id.
types:
- <xref:str>
- name: publisher
description: The image publisher.
types:
- <xref:str>
- name: offer
description: 'Specifies the offer of the platform image or marketplace image used
to create
the virtual machine.'
types:
- <xref:str>
- name: sku
description: The image SKU.
types:
- <xref:str>
- name: version
description: 'Specifies the version of the platform image or marketplace image
used to
create the virtual machine. The allowed formats are Major.Minor.Build or ''latest''.
Major,
Minor, and Build are decimal numbers. Specify ''latest'' to use the latest version
of an image
available at deploy time. Even if you use ''latest'', the VM image will not
automatically update
after deploy time even if a new version becomes available. Please do not use
field ''version''
for gallery image deployment, gallery image should always use ''id'' field for
deployment, to use
''latest'' version of gallery image, just set
''/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}'' #
pylint: disable=line-too-long
in the ''id'' field without version input.'
types:
- <xref:str>
- name: shared_gallery_image_id
description: 'Specified the shared gallery image unique id for vm
deployment. This can be fetched from shared gallery image GET call.'
types:
- <xref:str>
- name: community_gallery_image_id
description: 'Specified the community gallery image unique id for vm
deployment. This can be fetched from community gallery image GET call.'
types:
- <xref:str>
variables:
- description: Resource Id.
name: id
types:
- <xref:str>
- description: The image publisher.
name: publisher
types:
- <xref:str>
- description: 'Specifies the offer of the platform image or marketplace image used
to create the
virtual machine.'
name: offer
types:
- <xref:str>
- description: The image SKU.
name: sku
types:
- <xref:str>
- description: 'Specifies the version of the platform image or marketplace image used
to create
the virtual machine. The allowed formats are Major.Minor.Build or ''latest''.
Major, Minor, and
Build are decimal numbers. Specify ''latest'' to use the latest version of an
image available at
deploy time. Even if you use ''latest'', the VM image will not automatically update
after deploy
time even if a new version becomes available. Please do not use field ''version''
for gallery
image deployment, gallery image should always use ''id'' field for deployment,
to use ''latest''
version of gallery image, just set
''/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}'' #
pylint: disable=line-too-long
in the ''id'' field without version input.'
name: version
types:
- <xref:str>
- description: 'Specifies in decimal numbers, the version of platform image or marketplace
image used to create the virtual machine. This readonly field differs from ''version'',
only if
the value specified in ''version'' field is ''latest''.'
name: exact_version
types:
- <xref:str>
- description: 'Specified the shared gallery image unique id for vm deployment.
This can be fetched from shared gallery image GET call.'
name: shared_gallery_image_id
types:
- <xref:str>
- description: 'Specified the community gallery image unique id for vm
deployment. This can be fetched from community gallery image GET call.'
name: community_gallery_image_id
types:
- <xref:str>