@kengachu-pulumi/azure-native-virtualmachineimages 2.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,580 @@
1
+ import * as enums from "./enums";
2
+ import * as pulumi from "@pulumi/pulumi";
3
+ /**
4
+ * Generates version number that will be latest based on existing version numbers.
5
+ */
6
+ export interface DistributeVersionerLatestArgs {
7
+ /**
8
+ * Major version for the generated version number. Determine what is "latest" based on versions with this value as the major version. -1 is equivalent to leaving it unset.
9
+ */
10
+ major?: pulumi.Input<number>;
11
+ /**
12
+ * Version numbering scheme to be used.
13
+ * Expected value is 'Latest'.
14
+ */
15
+ scheme: pulumi.Input<"Latest">;
16
+ }
17
+ /**
18
+ * distributeVersionerLatestArgsProvideDefaults sets the appropriate defaults for DistributeVersionerLatestArgs
19
+ */
20
+ export declare function distributeVersionerLatestArgsProvideDefaults(val: DistributeVersionerLatestArgs): DistributeVersionerLatestArgs;
21
+ /**
22
+ * Generates version number based on version number of source image
23
+ */
24
+ export interface DistributeVersionerSourceArgs {
25
+ /**
26
+ * Version numbering scheme to be used.
27
+ * Expected value is 'Source'.
28
+ */
29
+ scheme: pulumi.Input<"Source">;
30
+ }
31
+ /**
32
+ * Uploads files to VMs (Linux, Windows). Corresponds to Packer file provisioner
33
+ */
34
+ export interface ImageTemplateFileCustomizerArgs {
35
+ /**
36
+ * The absolute path to a file (with nested directory structures already created) where the file (from sourceUri) will be uploaded to in the VM
37
+ */
38
+ destination?: pulumi.Input<string>;
39
+ /**
40
+ * Friendly Name to provide context on what this customization step does
41
+ */
42
+ name?: pulumi.Input<string>;
43
+ /**
44
+ * SHA256 checksum of the file provided in the sourceUri field above
45
+ */
46
+ sha256Checksum?: pulumi.Input<string>;
47
+ /**
48
+ * The URI of the file to be uploaded for customizing the VM. It can be a github link, SAS URI for Azure Storage, etc
49
+ */
50
+ sourceUri?: pulumi.Input<string>;
51
+ /**
52
+ * The type of customization tool you want to use on the Image. For example, "Shell" can be shell customizer
53
+ * Expected value is 'File'.
54
+ */
55
+ type: pulumi.Input<"File">;
56
+ }
57
+ /**
58
+ * imageTemplateFileCustomizerArgsProvideDefaults sets the appropriate defaults for ImageTemplateFileCustomizerArgs
59
+ */
60
+ export declare function imageTemplateFileCustomizerArgsProvideDefaults(val: ImageTemplateFileCustomizerArgs): ImageTemplateFileCustomizerArgs;
61
+ /**
62
+ * Uploads files required for validation to VMs (Linux, Windows). Corresponds to Packer file provisioner
63
+ */
64
+ export interface ImageTemplateFileValidatorArgs {
65
+ /**
66
+ * The absolute path to a file (with nested directory structures already created) where the file (from sourceUri) will be uploaded to in the VM
67
+ */
68
+ destination?: pulumi.Input<string>;
69
+ /**
70
+ * Friendly Name to provide context on what this validation step does
71
+ */
72
+ name?: pulumi.Input<string>;
73
+ /**
74
+ * SHA256 checksum of the file provided in the sourceUri field above
75
+ */
76
+ sha256Checksum?: pulumi.Input<string>;
77
+ /**
78
+ * The URI of the file to be uploaded to the VM for validation. It can be a github link, Azure Storage URI (authorized or SAS), etc
79
+ */
80
+ sourceUri?: pulumi.Input<string>;
81
+ /**
82
+ * The type of validation you want to use on the Image. For example, "Shell" can be shell validation
83
+ * Expected value is 'File'.
84
+ */
85
+ type: pulumi.Input<"File">;
86
+ }
87
+ /**
88
+ * imageTemplateFileValidatorArgsProvideDefaults sets the appropriate defaults for ImageTemplateFileValidatorArgs
89
+ */
90
+ export declare function imageTemplateFileValidatorArgsProvideDefaults(val: ImageTemplateFileValidatorArgs): ImageTemplateFileValidatorArgs;
91
+ /**
92
+ * Identity for the image template.
93
+ */
94
+ export interface ImageTemplateIdentityArgs {
95
+ /**
96
+ * The type of identity used for the image template. The type 'None' will remove any identities from the image template.
97
+ */
98
+ type?: pulumi.Input<enums.ResourceIdentityType>;
99
+ /**
100
+ * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
101
+ */
102
+ userAssignedIdentities?: pulumi.Input<pulumi.Input<string>[]>;
103
+ }
104
+ /**
105
+ * Distribute as a Managed Disk Image.
106
+ */
107
+ export interface ImageTemplateManagedImageDistributorArgs {
108
+ /**
109
+ * Tags that will be applied to the artifact once it has been created/updated by the distributor.
110
+ */
111
+ artifactTags?: pulumi.Input<{
112
+ [key: string]: pulumi.Input<string>;
113
+ }>;
114
+ /**
115
+ * Resource Id of the Managed Disk Image
116
+ */
117
+ imageId: pulumi.Input<string>;
118
+ /**
119
+ * Azure location for the image, should match if image already exists
120
+ */
121
+ location: pulumi.Input<string>;
122
+ /**
123
+ * The name to be used for the associated RunOutput.
124
+ */
125
+ runOutputName: pulumi.Input<string>;
126
+ /**
127
+ * Type of distribution.
128
+ * Expected value is 'ManagedImage'.
129
+ */
130
+ type: pulumi.Input<"ManagedImage">;
131
+ }
132
+ /**
133
+ * Describes an image source that is a managed image in customer subscription. This image must reside in the same subscription and region as the Image Builder template.
134
+ */
135
+ export interface ImageTemplateManagedImageSourceArgs {
136
+ /**
137
+ * ARM resource id of the managed image in customer subscription
138
+ */
139
+ imageId: pulumi.Input<string>;
140
+ /**
141
+ * Specifies the type of source image you want to start with.
142
+ * Expected value is 'ManagedImage'.
143
+ */
144
+ type: pulumi.Input<"ManagedImage">;
145
+ }
146
+ /**
147
+ * Describes an image source from [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages).
148
+ */
149
+ export interface ImageTemplatePlatformImageSourceArgs {
150
+ /**
151
+ * Image offer from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages).
152
+ */
153
+ offer?: pulumi.Input<string>;
154
+ /**
155
+ * Optional configuration of purchase plan for platform image.
156
+ */
157
+ planInfo?: pulumi.Input<PlatformImagePurchasePlanArgs>;
158
+ /**
159
+ * Image Publisher in [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages).
160
+ */
161
+ publisher?: pulumi.Input<string>;
162
+ /**
163
+ * Image sku from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages).
164
+ */
165
+ sku?: pulumi.Input<string>;
166
+ /**
167
+ * Specifies the type of source image you want to start with.
168
+ * Expected value is 'PlatformImage'.
169
+ */
170
+ type: pulumi.Input<"PlatformImage">;
171
+ /**
172
+ * Image version from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages). If 'latest' is specified here, the version is evaluated when the image build takes place, not when the template is submitted.
173
+ */
174
+ version?: pulumi.Input<string>;
175
+ }
176
+ /**
177
+ * Runs the specified PowerShell on the VM (Windows). Corresponds to Packer powershell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.
178
+ */
179
+ export interface ImageTemplatePowerShellCustomizerArgs {
180
+ /**
181
+ * Array of PowerShell commands to execute
182
+ */
183
+ inline?: pulumi.Input<pulumi.Input<string>[]>;
184
+ /**
185
+ * Friendly Name to provide context on what this customization step does
186
+ */
187
+ name?: pulumi.Input<string>;
188
+ /**
189
+ * If specified, the PowerShell script will be run with elevated privileges using the Local System user. Can only be true when the runElevated field above is set to true.
190
+ */
191
+ runAsSystem?: pulumi.Input<boolean>;
192
+ /**
193
+ * If specified, the PowerShell script will be run with elevated privileges
194
+ */
195
+ runElevated?: pulumi.Input<boolean>;
196
+ /**
197
+ * URI of the PowerShell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
198
+ */
199
+ scriptUri?: pulumi.Input<string>;
200
+ /**
201
+ * SHA256 checksum of the power shell script provided in the scriptUri field above
202
+ */
203
+ sha256Checksum?: pulumi.Input<string>;
204
+ /**
205
+ * The type of customization tool you want to use on the Image. For example, "Shell" can be shell customizer
206
+ * Expected value is 'PowerShell'.
207
+ */
208
+ type: pulumi.Input<"PowerShell">;
209
+ /**
210
+ * Valid exit codes for the PowerShell script. [Default: 0]
211
+ */
212
+ validExitCodes?: pulumi.Input<pulumi.Input<number>[]>;
213
+ }
214
+ /**
215
+ * imageTemplatePowerShellCustomizerArgsProvideDefaults sets the appropriate defaults for ImageTemplatePowerShellCustomizerArgs
216
+ */
217
+ export declare function imageTemplatePowerShellCustomizerArgsProvideDefaults(val: ImageTemplatePowerShellCustomizerArgs): ImageTemplatePowerShellCustomizerArgs;
218
+ /**
219
+ * Runs the specified PowerShell script during the validation phase (Windows). Corresponds to Packer powershell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.
220
+ */
221
+ export interface ImageTemplatePowerShellValidatorArgs {
222
+ /**
223
+ * Array of PowerShell commands to execute
224
+ */
225
+ inline?: pulumi.Input<pulumi.Input<string>[]>;
226
+ /**
227
+ * Friendly Name to provide context on what this validation step does
228
+ */
229
+ name?: pulumi.Input<string>;
230
+ /**
231
+ * If specified, the PowerShell script will be run with elevated privileges using the Local System user. Can only be true when the runElevated field above is set to true.
232
+ */
233
+ runAsSystem?: pulumi.Input<boolean>;
234
+ /**
235
+ * If specified, the PowerShell script will be run with elevated privileges
236
+ */
237
+ runElevated?: pulumi.Input<boolean>;
238
+ /**
239
+ * URI of the PowerShell script to be run for validation. It can be a github link, Azure Storage URI, etc
240
+ */
241
+ scriptUri?: pulumi.Input<string>;
242
+ /**
243
+ * SHA256 checksum of the power shell script provided in the scriptUri field above
244
+ */
245
+ sha256Checksum?: pulumi.Input<string>;
246
+ /**
247
+ * The type of validation you want to use on the Image. For example, "Shell" can be shell validation
248
+ * Expected value is 'PowerShell'.
249
+ */
250
+ type: pulumi.Input<"PowerShell">;
251
+ /**
252
+ * Valid exit codes for the PowerShell script. [Default: 0]
253
+ */
254
+ validExitCodes?: pulumi.Input<pulumi.Input<number>[]>;
255
+ }
256
+ /**
257
+ * imageTemplatePowerShellValidatorArgsProvideDefaults sets the appropriate defaults for ImageTemplatePowerShellValidatorArgs
258
+ */
259
+ export declare function imageTemplatePowerShellValidatorArgsProvideDefaults(val: ImageTemplatePowerShellValidatorArgs): ImageTemplatePowerShellValidatorArgs;
260
+ /**
261
+ * Specifies optimization to be performed on image.
262
+ */
263
+ export interface ImageTemplatePropertiesOptimizeArgs {
264
+ /**
265
+ * Optimization is applied on the image for a faster VM boot.
266
+ */
267
+ vmBoot?: pulumi.Input<ImageTemplatePropertiesVmBootArgs>;
268
+ }
269
+ /**
270
+ * Configuration options and list of validations to be performed on the resulting image.
271
+ */
272
+ export interface ImageTemplatePropertiesValidateArgs {
273
+ /**
274
+ * If validation fails and this field is set to false, output image(s) will not be distributed. This is the default behavior. If validation fails and this field is set to true, output image(s) will still be distributed. Please use this option with caution as it may result in bad images being distributed for use. In either case (true or false), the end to end image run will be reported as having failed in case of a validation failure. [Note: This field has no effect if validation succeeds.]
275
+ */
276
+ continueDistributeOnFailure?: pulumi.Input<boolean>;
277
+ /**
278
+ * List of validations to be performed.
279
+ */
280
+ inVMValidations?: pulumi.Input<pulumi.Input<ImageTemplateFileValidatorArgs | ImageTemplatePowerShellValidatorArgs | ImageTemplateShellValidatorArgs>[]>;
281
+ /**
282
+ * If this field is set to true, the image specified in the 'source' section will directly be validated. No separate build will be run to generate and then validate a customized image.
283
+ */
284
+ sourceValidationOnly?: pulumi.Input<boolean>;
285
+ }
286
+ /**
287
+ * imageTemplatePropertiesValidateArgsProvideDefaults sets the appropriate defaults for ImageTemplatePropertiesValidateArgs
288
+ */
289
+ export declare function imageTemplatePropertiesValidateArgsProvideDefaults(val: ImageTemplatePropertiesValidateArgs): ImageTemplatePropertiesValidateArgs;
290
+ /**
291
+ * Optimization is applied on the image for a faster VM boot.
292
+ */
293
+ export interface ImageTemplatePropertiesVmBootArgs {
294
+ /**
295
+ * Enabling this field will improve VM boot time by optimizing the final customized image output.
296
+ */
297
+ state?: pulumi.Input<enums.VMBootOptimizationState>;
298
+ }
299
+ /**
300
+ * Reboots a VM and waits for it to come back online (Windows). Corresponds to Packer windows-restart provisioner
301
+ */
302
+ export interface ImageTemplateRestartCustomizerArgs {
303
+ /**
304
+ * Friendly Name to provide context on what this customization step does
305
+ */
306
+ name?: pulumi.Input<string>;
307
+ /**
308
+ * Command to check if restart succeeded [Default: '']
309
+ */
310
+ restartCheckCommand?: pulumi.Input<string>;
311
+ /**
312
+ * Command to execute the restart [Default: 'shutdown /r /f /t 0 /c "packer restart"']
313
+ */
314
+ restartCommand?: pulumi.Input<string>;
315
+ /**
316
+ * Restart timeout specified as a string of magnitude and unit, e.g. '5m' (5 minutes) or '2h' (2 hours) [Default: '5m']
317
+ */
318
+ restartTimeout?: pulumi.Input<string>;
319
+ /**
320
+ * The type of customization tool you want to use on the Image. For example, "Shell" can be shell customizer
321
+ * Expected value is 'WindowsRestart'.
322
+ */
323
+ type: pulumi.Input<"WindowsRestart">;
324
+ }
325
+ /**
326
+ * Distribute via Azure Compute Gallery.
327
+ */
328
+ export interface ImageTemplateSharedImageDistributorArgs {
329
+ /**
330
+ * Tags that will be applied to the artifact once it has been created/updated by the distributor.
331
+ */
332
+ artifactTags?: pulumi.Input<{
333
+ [key: string]: pulumi.Input<string>;
334
+ }>;
335
+ /**
336
+ * Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
337
+ */
338
+ excludeFromLatest?: pulumi.Input<boolean>;
339
+ /**
340
+ * Resource Id of the Azure Compute Gallery image
341
+ */
342
+ galleryImageId: pulumi.Input<string>;
343
+ /**
344
+ * [Deprecated] A list of regions that the image will be replicated to. This list can be specified only if targetRegions is not specified. This field is deprecated - use targetRegions instead.
345
+ */
346
+ replicationRegions?: pulumi.Input<pulumi.Input<string>[]>;
347
+ /**
348
+ * The name to be used for the associated RunOutput.
349
+ */
350
+ runOutputName: pulumi.Input<string>;
351
+ /**
352
+ * [Deprecated] Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS). This field can be specified only if replicationRegions is specified. This field is deprecated - use targetRegions instead.
353
+ */
354
+ storageAccountType?: pulumi.Input<string | enums.SharedImageStorageAccountType>;
355
+ /**
356
+ * The target regions where the distributed Image Version is going to be replicated to. This object supersedes replicationRegions and can be specified only if replicationRegions is not specified.
357
+ */
358
+ targetRegions?: pulumi.Input<pulumi.Input<TargetRegionArgs>[]>;
359
+ /**
360
+ * Type of distribution.
361
+ * Expected value is 'SharedImage'.
362
+ */
363
+ type: pulumi.Input<"SharedImage">;
364
+ /**
365
+ * Describes how to generate new x.y.z version number for distribution.
366
+ */
367
+ versioning?: pulumi.Input<DistributeVersionerLatestArgs | DistributeVersionerSourceArgs>;
368
+ }
369
+ /**
370
+ * imageTemplateSharedImageDistributorArgsProvideDefaults sets the appropriate defaults for ImageTemplateSharedImageDistributorArgs
371
+ */
372
+ export declare function imageTemplateSharedImageDistributorArgsProvideDefaults(val: ImageTemplateSharedImageDistributorArgs): ImageTemplateSharedImageDistributorArgs;
373
+ /**
374
+ * Describes an image source that is an image version in an Azure Compute Gallery or a Direct Shared Gallery.
375
+ */
376
+ export interface ImageTemplateSharedImageVersionSourceArgs {
377
+ /**
378
+ * ARM resource id of the image version. When image version name is 'latest', the version is evaluated when the image build takes place.
379
+ */
380
+ imageVersionId: pulumi.Input<string>;
381
+ /**
382
+ * Specifies the type of source image you want to start with.
383
+ * Expected value is 'SharedImageVersion'.
384
+ */
385
+ type: pulumi.Input<"SharedImageVersion">;
386
+ }
387
+ /**
388
+ * Runs a shell script during the customization phase (Linux). Corresponds to Packer shell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.
389
+ */
390
+ export interface ImageTemplateShellCustomizerArgs {
391
+ /**
392
+ * Array of shell commands to execute
393
+ */
394
+ inline?: pulumi.Input<pulumi.Input<string>[]>;
395
+ /**
396
+ * Friendly Name to provide context on what this customization step does
397
+ */
398
+ name?: pulumi.Input<string>;
399
+ /**
400
+ * URI of the shell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
401
+ */
402
+ scriptUri?: pulumi.Input<string>;
403
+ /**
404
+ * SHA256 checksum of the shell script provided in the scriptUri field
405
+ */
406
+ sha256Checksum?: pulumi.Input<string>;
407
+ /**
408
+ * The type of customization tool you want to use on the Image. For example, "Shell" can be shell customizer
409
+ * Expected value is 'Shell'.
410
+ */
411
+ type: pulumi.Input<"Shell">;
412
+ }
413
+ /**
414
+ * imageTemplateShellCustomizerArgsProvideDefaults sets the appropriate defaults for ImageTemplateShellCustomizerArgs
415
+ */
416
+ export declare function imageTemplateShellCustomizerArgsProvideDefaults(val: ImageTemplateShellCustomizerArgs): ImageTemplateShellCustomizerArgs;
417
+ /**
418
+ * Runs the specified shell script during the validation phase (Linux). Corresponds to Packer shell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.
419
+ */
420
+ export interface ImageTemplateShellValidatorArgs {
421
+ /**
422
+ * Array of shell commands to execute
423
+ */
424
+ inline?: pulumi.Input<pulumi.Input<string>[]>;
425
+ /**
426
+ * Friendly Name to provide context on what this validation step does
427
+ */
428
+ name?: pulumi.Input<string>;
429
+ /**
430
+ * URI of the shell script to be run for validation. It can be a github link, Azure Storage URI, etc
431
+ */
432
+ scriptUri?: pulumi.Input<string>;
433
+ /**
434
+ * SHA256 checksum of the shell script provided in the scriptUri field
435
+ */
436
+ sha256Checksum?: pulumi.Input<string>;
437
+ /**
438
+ * The type of validation you want to use on the Image. For example, "Shell" can be shell validation
439
+ * Expected value is 'Shell'.
440
+ */
441
+ type: pulumi.Input<"Shell">;
442
+ }
443
+ /**
444
+ * imageTemplateShellValidatorArgsProvideDefaults sets the appropriate defaults for ImageTemplateShellValidatorArgs
445
+ */
446
+ export declare function imageTemplateShellValidatorArgsProvideDefaults(val: ImageTemplateShellValidatorArgs): ImageTemplateShellValidatorArgs;
447
+ /**
448
+ * Distribute via VHD in a storage account.
449
+ */
450
+ export interface ImageTemplateVhdDistributorArgs {
451
+ /**
452
+ * Tags that will be applied to the artifact once it has been created/updated by the distributor.
453
+ */
454
+ artifactTags?: pulumi.Input<{
455
+ [key: string]: pulumi.Input<string>;
456
+ }>;
457
+ /**
458
+ * The name to be used for the associated RunOutput.
459
+ */
460
+ runOutputName: pulumi.Input<string>;
461
+ /**
462
+ * Type of distribution.
463
+ * Expected value is 'VHD'.
464
+ */
465
+ type: pulumi.Input<"VHD">;
466
+ /**
467
+ * Optional Azure Storage URI for the distributed VHD blob. Omit to use the default (empty string) in which case VHD would be published to the storage account in the staging resource group.
468
+ */
469
+ uri?: pulumi.Input<string>;
470
+ }
471
+ /**
472
+ * Describes the virtual machines used to build and validate images
473
+ */
474
+ export interface ImageTemplateVmProfileArgs {
475
+ /**
476
+ * Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.
477
+ */
478
+ osDiskSizeGB?: pulumi.Input<number>;
479
+ /**
480
+ * Optional array of resource IDs of user assigned managed identities to be configured on the build VM and validation VM. This may include the identity of the image template.
481
+ */
482
+ userAssignedIdentities?: pulumi.Input<pulumi.Input<string>[]>;
483
+ /**
484
+ * Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images).
485
+ */
486
+ vmSize?: pulumi.Input<string>;
487
+ /**
488
+ * Optional configuration of the virtual network to use to deploy the build VM and validation VM in. Omit if no specific virtual network needs to be used.
489
+ */
490
+ vnetConfig?: pulumi.Input<VirtualNetworkConfigArgs>;
491
+ }
492
+ /**
493
+ * imageTemplateVmProfileArgsProvideDefaults sets the appropriate defaults for ImageTemplateVmProfileArgs
494
+ */
495
+ export declare function imageTemplateVmProfileArgsProvideDefaults(val: ImageTemplateVmProfileArgs): ImageTemplateVmProfileArgs;
496
+ /**
497
+ * Installs Windows Updates. Corresponds to Packer Windows Update Provisioner (https://github.com/rgl/packer-provisioner-windows-update)
498
+ */
499
+ export interface ImageTemplateWindowsUpdateCustomizerArgs {
500
+ /**
501
+ * Array of filters to select updates to apply. Omit or specify empty array to use the default (no filter). Refer to above link for examples and detailed description of this field.
502
+ */
503
+ filters?: pulumi.Input<pulumi.Input<string>[]>;
504
+ /**
505
+ * Friendly Name to provide context on what this customization step does
506
+ */
507
+ name?: pulumi.Input<string>;
508
+ /**
509
+ * Criteria to search updates. Omit or specify empty string to use the default (search all). Refer to above link for examples and detailed description of this field.
510
+ */
511
+ searchCriteria?: pulumi.Input<string>;
512
+ /**
513
+ * The type of customization tool you want to use on the Image. For example, "Shell" can be shell customizer
514
+ * Expected value is 'WindowsUpdate'.
515
+ */
516
+ type: pulumi.Input<"WindowsUpdate">;
517
+ /**
518
+ * Maximum number of updates to apply at a time. Omit or specify 0 to use the default (1000)
519
+ */
520
+ updateLimit?: pulumi.Input<number>;
521
+ }
522
+ /**
523
+ * imageTemplateWindowsUpdateCustomizerArgsProvideDefaults sets the appropriate defaults for ImageTemplateWindowsUpdateCustomizerArgs
524
+ */
525
+ export declare function imageTemplateWindowsUpdateCustomizerArgsProvideDefaults(val: ImageTemplateWindowsUpdateCustomizerArgs): ImageTemplateWindowsUpdateCustomizerArgs;
526
+ /**
527
+ * Purchase plan configuration for platform image.
528
+ */
529
+ export interface PlatformImagePurchasePlanArgs {
530
+ /**
531
+ * Name of the purchase plan.
532
+ */
533
+ planName: pulumi.Input<string>;
534
+ /**
535
+ * Product of the purchase plan.
536
+ */
537
+ planProduct: pulumi.Input<string>;
538
+ /**
539
+ * Publisher of the purchase plan.
540
+ */
541
+ planPublisher: pulumi.Input<string>;
542
+ }
543
+ /**
544
+ * Describes the target region information.
545
+ */
546
+ export interface TargetRegionArgs {
547
+ /**
548
+ * The name of the region.
549
+ */
550
+ name: pulumi.Input<string>;
551
+ /**
552
+ * The number of replicas of the Image Version to be created in this region. Omit to use the default (1).
553
+ */
554
+ replicaCount?: pulumi.Input<number>;
555
+ /**
556
+ * Specifies the storage account type to be used to store the image in this region. Omit to use the default (Standard_LRS).
557
+ */
558
+ storageAccountType?: pulumi.Input<string | enums.SharedImageStorageAccountType>;
559
+ }
560
+ /**
561
+ * targetRegionArgsProvideDefaults sets the appropriate defaults for TargetRegionArgs
562
+ */
563
+ export declare function targetRegionArgsProvideDefaults(val: TargetRegionArgs): TargetRegionArgs;
564
+ /**
565
+ * Virtual Network configuration.
566
+ */
567
+ export interface VirtualNetworkConfigArgs {
568
+ /**
569
+ * Size of the proxy virtual machine used to pass traffic to the build VM and validation VM. Omit or specify empty string to use the default (Standard_A1_v2).
570
+ */
571
+ proxyVmSize?: pulumi.Input<string>;
572
+ /**
573
+ * Resource id of a pre-existing subnet.
574
+ */
575
+ subnetId?: pulumi.Input<string>;
576
+ }
577
+ /**
578
+ * virtualNetworkConfigArgsProvideDefaults sets the appropriate defaults for VirtualNetworkConfigArgs
579
+ */
580
+ export declare function virtualNetworkConfigArgsProvideDefaults(val: VirtualNetworkConfigArgs): VirtualNetworkConfigArgs;