|
95 | 95 | rename: |
96 | 96 | azure_sig_url: shared_gallery |
97 | 97 |
|
| 98 | +Alternatively, if your SIG is created from a marketplace image, you can provide the source marketplace image instead of manually specifying architecture, Hyper-V generation, and security type: |
| 99 | + |
| 100 | +.. code:: yaml |
| 101 | +
|
| 102 | + transformer: |
| 103 | + - type: azure_sig |
| 104 | + vhd: "https://sc.blob.core.windows.net/vhds/pageblob.vhd" |
| 105 | + gallery_resource_group_name: rg_name |
| 106 | + gallery_name: galleryname |
| 107 | + gallery_image_location: |
| 108 | + - westus3 |
| 109 | + - westus2 |
| 110 | + gallery_image_name: image_name |
| 111 | + gallery_image_fullname: Microsoft Linux arm64 0.0.1 |
| 112 | + marketplace_source: "canonical 0001-com-ubuntu-server-jammy 22_04-lts-arm64 latest" |
| 113 | +
|
98 | 114 | Process |
99 | 115 | ```````` |
100 | 116 | - Create Resource group |
@@ -223,6 +239,24 @@ host_caching_type |
223 | 239 | type: string | Default: "None" | Allowed Values: "None", "ReadOnly", "ReadWrite" |
224 | 240 |
|
225 | 241 |
|
| 242 | +marketplace_source |
| 243 | +^^^^^^^^^^^^^^^^^^ |
| 244 | +type: string | Default: "" |
| 245 | + |
| 246 | +Optional marketplace image identifier to automatically derive architecture, Hyper-V generation, and security type from the source marketplace image. This is useful when creating a SIG from a marketplace image-based VHD. |
| 247 | + |
| 248 | +When specified, this parameter will override: |
| 249 | + - ``gallery_image_architecture`` |
| 250 | + - ``gallery_image_hyperv_generation`` |
| 251 | + - ``gallery_image_securitytype`` |
| 252 | + |
| 253 | +Format: ``<publisher> <offer> <sku> <version>`` |
| 254 | + |
| 255 | +Example: ``canonical 0001-com-ubuntu-server-jammy 22_04-lts-arm64 latest`` |
| 256 | + |
| 257 | +Note: If marketplace_source is not provided, you must manually specify gallery_image_architecture, gallery_image_hyperv_generation, and gallery_image_securitytype as needed. |
| 258 | + |
| 259 | + |
226 | 260 | rename |
227 | 261 | ^^^^^^ |
228 | 262 | type: <key>: <value> |
|
0 commit comments