@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,685 @@
1
+ /**
2
+ * Generates version number that will be latest based on existing version numbers.
3
+ */
4
+ export interface DistributeVersionerLatestResponse {
5
+ /**
6
+ * 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.
7
+ */
8
+ major?: number;
9
+ /**
10
+ * Version numbering scheme to be used.
11
+ * Expected value is 'Latest'.
12
+ */
13
+ scheme: "Latest";
14
+ }
15
+ /**
16
+ * distributeVersionerLatestResponseProvideDefaults sets the appropriate defaults for DistributeVersionerLatestResponse
17
+ */
18
+ export declare function distributeVersionerLatestResponseProvideDefaults(val: DistributeVersionerLatestResponse): DistributeVersionerLatestResponse;
19
+ /**
20
+ * Generates version number based on version number of source image
21
+ */
22
+ export interface DistributeVersionerSourceResponse {
23
+ /**
24
+ * Version numbering scheme to be used.
25
+ * Expected value is 'Source'.
26
+ */
27
+ scheme: "Source";
28
+ }
29
+ /**
30
+ * Uploads files to VMs (Linux, Windows). Corresponds to Packer file provisioner
31
+ */
32
+ export interface ImageTemplateFileCustomizerResponse {
33
+ /**
34
+ * The absolute path to a file (with nested directory structures already created) where the file (from sourceUri) will be uploaded to in the VM
35
+ */
36
+ destination?: string;
37
+ /**
38
+ * Friendly Name to provide context on what this customization step does
39
+ */
40
+ name?: string;
41
+ /**
42
+ * SHA256 checksum of the file provided in the sourceUri field above
43
+ */
44
+ sha256Checksum?: string;
45
+ /**
46
+ * The URI of the file to be uploaded for customizing the VM. It can be a github link, SAS URI for Azure Storage, etc
47
+ */
48
+ sourceUri?: string;
49
+ /**
50
+ * The type of customization tool you want to use on the Image. For example, "Shell" can be shell customizer
51
+ * Expected value is 'File'.
52
+ */
53
+ type: "File";
54
+ }
55
+ /**
56
+ * imageTemplateFileCustomizerResponseProvideDefaults sets the appropriate defaults for ImageTemplateFileCustomizerResponse
57
+ */
58
+ export declare function imageTemplateFileCustomizerResponseProvideDefaults(val: ImageTemplateFileCustomizerResponse): ImageTemplateFileCustomizerResponse;
59
+ /**
60
+ * Uploads files required for validation to VMs (Linux, Windows). Corresponds to Packer file provisioner
61
+ */
62
+ export interface ImageTemplateFileValidatorResponse {
63
+ /**
64
+ * The absolute path to a file (with nested directory structures already created) where the file (from sourceUri) will be uploaded to in the VM
65
+ */
66
+ destination?: string;
67
+ /**
68
+ * Friendly Name to provide context on what this validation step does
69
+ */
70
+ name?: string;
71
+ /**
72
+ * SHA256 checksum of the file provided in the sourceUri field above
73
+ */
74
+ sha256Checksum?: string;
75
+ /**
76
+ * 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
77
+ */
78
+ sourceUri?: string;
79
+ /**
80
+ * The type of validation you want to use on the Image. For example, "Shell" can be shell validation
81
+ * Expected value is 'File'.
82
+ */
83
+ type: "File";
84
+ }
85
+ /**
86
+ * imageTemplateFileValidatorResponseProvideDefaults sets the appropriate defaults for ImageTemplateFileValidatorResponse
87
+ */
88
+ export declare function imageTemplateFileValidatorResponseProvideDefaults(val: ImageTemplateFileValidatorResponse): ImageTemplateFileValidatorResponse;
89
+ /**
90
+ * Identity for the image template.
91
+ */
92
+ export interface ImageTemplateIdentityResponse {
93
+ /**
94
+ * The type of identity used for the image template. The type 'None' will remove any identities from the image template.
95
+ */
96
+ type?: string;
97
+ /**
98
+ * 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.
99
+ */
100
+ userAssignedIdentities?: {
101
+ [key: string]: UserAssignedIdentityResponse;
102
+ };
103
+ }
104
+ /**
105
+ * Describes the latest status of running an image template
106
+ */
107
+ export interface ImageTemplateLastRunStatusResponse {
108
+ /**
109
+ * End time of the last run (UTC)
110
+ */
111
+ endTime?: string;
112
+ /**
113
+ * Verbose information about the last run state
114
+ */
115
+ message?: string;
116
+ /**
117
+ * State of the last run
118
+ */
119
+ runState?: string;
120
+ /**
121
+ * Sub-state of the last run
122
+ */
123
+ runSubState?: string;
124
+ /**
125
+ * Start time of the last run (UTC)
126
+ */
127
+ startTime?: string;
128
+ }
129
+ /**
130
+ * Distribute as a Managed Disk Image.
131
+ */
132
+ export interface ImageTemplateManagedImageDistributorResponse {
133
+ /**
134
+ * Tags that will be applied to the artifact once it has been created/updated by the distributor.
135
+ */
136
+ artifactTags?: {
137
+ [key: string]: string;
138
+ };
139
+ /**
140
+ * Resource Id of the Managed Disk Image
141
+ */
142
+ imageId: string;
143
+ /**
144
+ * Azure location for the image, should match if image already exists
145
+ */
146
+ location: string;
147
+ /**
148
+ * The name to be used for the associated RunOutput.
149
+ */
150
+ runOutputName: string;
151
+ /**
152
+ * Type of distribution.
153
+ * Expected value is 'ManagedImage'.
154
+ */
155
+ type: "ManagedImage";
156
+ }
157
+ /**
158
+ * 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.
159
+ */
160
+ export interface ImageTemplateManagedImageSourceResponse {
161
+ /**
162
+ * ARM resource id of the managed image in customer subscription
163
+ */
164
+ imageId: string;
165
+ /**
166
+ * Specifies the type of source image you want to start with.
167
+ * Expected value is 'ManagedImage'.
168
+ */
169
+ type: "ManagedImage";
170
+ }
171
+ /**
172
+ * Describes an image source from [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages).
173
+ */
174
+ export interface ImageTemplatePlatformImageSourceResponse {
175
+ /**
176
+ * Image version from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages). This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
177
+ */
178
+ exactVersion: string;
179
+ /**
180
+ * Image offer from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages).
181
+ */
182
+ offer?: string;
183
+ /**
184
+ * Optional configuration of purchase plan for platform image.
185
+ */
186
+ planInfo?: PlatformImagePurchasePlanResponse;
187
+ /**
188
+ * Image Publisher in [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages).
189
+ */
190
+ publisher?: string;
191
+ /**
192
+ * Image sku from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages).
193
+ */
194
+ sku?: string;
195
+ /**
196
+ * Specifies the type of source image you want to start with.
197
+ * Expected value is 'PlatformImage'.
198
+ */
199
+ type: "PlatformImage";
200
+ /**
201
+ * 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.
202
+ */
203
+ version?: string;
204
+ }
205
+ /**
206
+ * Runs the specified PowerShell on the VM (Windows). Corresponds to Packer powershell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.
207
+ */
208
+ export interface ImageTemplatePowerShellCustomizerResponse {
209
+ /**
210
+ * Array of PowerShell commands to execute
211
+ */
212
+ inline?: string[];
213
+ /**
214
+ * Friendly Name to provide context on what this customization step does
215
+ */
216
+ name?: string;
217
+ /**
218
+ * 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.
219
+ */
220
+ runAsSystem?: boolean;
221
+ /**
222
+ * If specified, the PowerShell script will be run with elevated privileges
223
+ */
224
+ runElevated?: boolean;
225
+ /**
226
+ * URI of the PowerShell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
227
+ */
228
+ scriptUri?: string;
229
+ /**
230
+ * SHA256 checksum of the power shell script provided in the scriptUri field above
231
+ */
232
+ sha256Checksum?: string;
233
+ /**
234
+ * The type of customization tool you want to use on the Image. For example, "Shell" can be shell customizer
235
+ * Expected value is 'PowerShell'.
236
+ */
237
+ type: "PowerShell";
238
+ /**
239
+ * Valid exit codes for the PowerShell script. [Default: 0]
240
+ */
241
+ validExitCodes?: number[];
242
+ }
243
+ /**
244
+ * imageTemplatePowerShellCustomizerResponseProvideDefaults sets the appropriate defaults for ImageTemplatePowerShellCustomizerResponse
245
+ */
246
+ export declare function imageTemplatePowerShellCustomizerResponseProvideDefaults(val: ImageTemplatePowerShellCustomizerResponse): ImageTemplatePowerShellCustomizerResponse;
247
+ /**
248
+ * Runs the specified PowerShell script during the validation phase (Windows). Corresponds to Packer powershell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.
249
+ */
250
+ export interface ImageTemplatePowerShellValidatorResponse {
251
+ /**
252
+ * Array of PowerShell commands to execute
253
+ */
254
+ inline?: string[];
255
+ /**
256
+ * Friendly Name to provide context on what this validation step does
257
+ */
258
+ name?: string;
259
+ /**
260
+ * 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.
261
+ */
262
+ runAsSystem?: boolean;
263
+ /**
264
+ * If specified, the PowerShell script will be run with elevated privileges
265
+ */
266
+ runElevated?: boolean;
267
+ /**
268
+ * URI of the PowerShell script to be run for validation. It can be a github link, Azure Storage URI, etc
269
+ */
270
+ scriptUri?: string;
271
+ /**
272
+ * SHA256 checksum of the power shell script provided in the scriptUri field above
273
+ */
274
+ sha256Checksum?: string;
275
+ /**
276
+ * The type of validation you want to use on the Image. For example, "Shell" can be shell validation
277
+ * Expected value is 'PowerShell'.
278
+ */
279
+ type: "PowerShell";
280
+ /**
281
+ * Valid exit codes for the PowerShell script. [Default: 0]
282
+ */
283
+ validExitCodes?: number[];
284
+ }
285
+ /**
286
+ * imageTemplatePowerShellValidatorResponseProvideDefaults sets the appropriate defaults for ImageTemplatePowerShellValidatorResponse
287
+ */
288
+ export declare function imageTemplatePowerShellValidatorResponseProvideDefaults(val: ImageTemplatePowerShellValidatorResponse): ImageTemplatePowerShellValidatorResponse;
289
+ /**
290
+ * Specifies optimization to be performed on image.
291
+ */
292
+ export interface ImageTemplatePropertiesResponseOptimize {
293
+ /**
294
+ * Optimization is applied on the image for a faster VM boot.
295
+ */
296
+ vmBoot?: ImageTemplatePropertiesResponseVmBoot;
297
+ }
298
+ /**
299
+ * Configuration options and list of validations to be performed on the resulting image.
300
+ */
301
+ export interface ImageTemplatePropertiesResponseValidate {
302
+ /**
303
+ * 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.]
304
+ */
305
+ continueDistributeOnFailure?: boolean;
306
+ /**
307
+ * List of validations to be performed.
308
+ */
309
+ inVMValidations?: (ImageTemplateFileValidatorResponse | ImageTemplatePowerShellValidatorResponse | ImageTemplateShellValidatorResponse)[];
310
+ /**
311
+ * 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.
312
+ */
313
+ sourceValidationOnly?: boolean;
314
+ }
315
+ /**
316
+ * imageTemplatePropertiesResponseValidateProvideDefaults sets the appropriate defaults for ImageTemplatePropertiesResponseValidate
317
+ */
318
+ export declare function imageTemplatePropertiesResponseValidateProvideDefaults(val: ImageTemplatePropertiesResponseValidate): ImageTemplatePropertiesResponseValidate;
319
+ /**
320
+ * Optimization is applied on the image for a faster VM boot.
321
+ */
322
+ export interface ImageTemplatePropertiesResponseVmBoot {
323
+ /**
324
+ * Enabling this field will improve VM boot time by optimizing the final customized image output.
325
+ */
326
+ state?: string;
327
+ }
328
+ /**
329
+ * Reboots a VM and waits for it to come back online (Windows). Corresponds to Packer windows-restart provisioner
330
+ */
331
+ export interface ImageTemplateRestartCustomizerResponse {
332
+ /**
333
+ * Friendly Name to provide context on what this customization step does
334
+ */
335
+ name?: string;
336
+ /**
337
+ * Command to check if restart succeeded [Default: '']
338
+ */
339
+ restartCheckCommand?: string;
340
+ /**
341
+ * Command to execute the restart [Default: 'shutdown /r /f /t 0 /c "packer restart"']
342
+ */
343
+ restartCommand?: string;
344
+ /**
345
+ * Restart timeout specified as a string of magnitude and unit, e.g. '5m' (5 minutes) or '2h' (2 hours) [Default: '5m']
346
+ */
347
+ restartTimeout?: string;
348
+ /**
349
+ * The type of customization tool you want to use on the Image. For example, "Shell" can be shell customizer
350
+ * Expected value is 'WindowsRestart'.
351
+ */
352
+ type: "WindowsRestart";
353
+ }
354
+ /**
355
+ * Distribute via Azure Compute Gallery.
356
+ */
357
+ export interface ImageTemplateSharedImageDistributorResponse {
358
+ /**
359
+ * Tags that will be applied to the artifact once it has been created/updated by the distributor.
360
+ */
361
+ artifactTags?: {
362
+ [key: string]: string;
363
+ };
364
+ /**
365
+ * Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
366
+ */
367
+ excludeFromLatest?: boolean;
368
+ /**
369
+ * Resource Id of the Azure Compute Gallery image
370
+ */
371
+ galleryImageId: string;
372
+ /**
373
+ * [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.
374
+ */
375
+ replicationRegions?: string[];
376
+ /**
377
+ * The name to be used for the associated RunOutput.
378
+ */
379
+ runOutputName: string;
380
+ /**
381
+ * [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.
382
+ */
383
+ storageAccountType?: string;
384
+ /**
385
+ * 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.
386
+ */
387
+ targetRegions?: TargetRegionResponse[];
388
+ /**
389
+ * Type of distribution.
390
+ * Expected value is 'SharedImage'.
391
+ */
392
+ type: "SharedImage";
393
+ /**
394
+ * Describes how to generate new x.y.z version number for distribution.
395
+ */
396
+ versioning?: DistributeVersionerLatestResponse | DistributeVersionerSourceResponse;
397
+ }
398
+ /**
399
+ * imageTemplateSharedImageDistributorResponseProvideDefaults sets the appropriate defaults for ImageTemplateSharedImageDistributorResponse
400
+ */
401
+ export declare function imageTemplateSharedImageDistributorResponseProvideDefaults(val: ImageTemplateSharedImageDistributorResponse): ImageTemplateSharedImageDistributorResponse;
402
+ /**
403
+ * Describes an image source that is an image version in an Azure Compute Gallery or a Direct Shared Gallery.
404
+ */
405
+ export interface ImageTemplateSharedImageVersionSourceResponse {
406
+ /**
407
+ * Exact ARM resource id of the image version. This readonly field differs from the image version Id in 'imageVersionId' only if the version name specified in 'imageVersionId' field is 'latest'.
408
+ */
409
+ exactVersion: string;
410
+ /**
411
+ * ARM resource id of the image version. When image version name is 'latest', the version is evaluated when the image build takes place.
412
+ */
413
+ imageVersionId: string;
414
+ /**
415
+ * Specifies the type of source image you want to start with.
416
+ * Expected value is 'SharedImageVersion'.
417
+ */
418
+ type: "SharedImageVersion";
419
+ }
420
+ /**
421
+ * Runs a shell script during the customization phase (Linux). Corresponds to Packer shell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.
422
+ */
423
+ export interface ImageTemplateShellCustomizerResponse {
424
+ /**
425
+ * Array of shell commands to execute
426
+ */
427
+ inline?: string[];
428
+ /**
429
+ * Friendly Name to provide context on what this customization step does
430
+ */
431
+ name?: string;
432
+ /**
433
+ * URI of the shell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
434
+ */
435
+ scriptUri?: string;
436
+ /**
437
+ * SHA256 checksum of the shell script provided in the scriptUri field
438
+ */
439
+ sha256Checksum?: string;
440
+ /**
441
+ * The type of customization tool you want to use on the Image. For example, "Shell" can be shell customizer
442
+ * Expected value is 'Shell'.
443
+ */
444
+ type: "Shell";
445
+ }
446
+ /**
447
+ * imageTemplateShellCustomizerResponseProvideDefaults sets the appropriate defaults for ImageTemplateShellCustomizerResponse
448
+ */
449
+ export declare function imageTemplateShellCustomizerResponseProvideDefaults(val: ImageTemplateShellCustomizerResponse): ImageTemplateShellCustomizerResponse;
450
+ /**
451
+ * Runs the specified shell script during the validation phase (Linux). Corresponds to Packer shell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.
452
+ */
453
+ export interface ImageTemplateShellValidatorResponse {
454
+ /**
455
+ * Array of shell commands to execute
456
+ */
457
+ inline?: string[];
458
+ /**
459
+ * Friendly Name to provide context on what this validation step does
460
+ */
461
+ name?: string;
462
+ /**
463
+ * URI of the shell script to be run for validation. It can be a github link, Azure Storage URI, etc
464
+ */
465
+ scriptUri?: string;
466
+ /**
467
+ * SHA256 checksum of the shell script provided in the scriptUri field
468
+ */
469
+ sha256Checksum?: string;
470
+ /**
471
+ * The type of validation you want to use on the Image. For example, "Shell" can be shell validation
472
+ * Expected value is 'Shell'.
473
+ */
474
+ type: "Shell";
475
+ }
476
+ /**
477
+ * imageTemplateShellValidatorResponseProvideDefaults sets the appropriate defaults for ImageTemplateShellValidatorResponse
478
+ */
479
+ export declare function imageTemplateShellValidatorResponseProvideDefaults(val: ImageTemplateShellValidatorResponse): ImageTemplateShellValidatorResponse;
480
+ /**
481
+ * Distribute via VHD in a storage account.
482
+ */
483
+ export interface ImageTemplateVhdDistributorResponse {
484
+ /**
485
+ * Tags that will be applied to the artifact once it has been created/updated by the distributor.
486
+ */
487
+ artifactTags?: {
488
+ [key: string]: string;
489
+ };
490
+ /**
491
+ * The name to be used for the associated RunOutput.
492
+ */
493
+ runOutputName: string;
494
+ /**
495
+ * Type of distribution.
496
+ * Expected value is 'VHD'.
497
+ */
498
+ type: "VHD";
499
+ /**
500
+ * 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.
501
+ */
502
+ uri?: string;
503
+ }
504
+ /**
505
+ * Describes the virtual machines used to build and validate images
506
+ */
507
+ export interface ImageTemplateVmProfileResponse {
508
+ /**
509
+ * Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.
510
+ */
511
+ osDiskSizeGB?: number;
512
+ /**
513
+ * 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.
514
+ */
515
+ userAssignedIdentities?: string[];
516
+ /**
517
+ * 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).
518
+ */
519
+ vmSize?: string;
520
+ /**
521
+ * 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.
522
+ */
523
+ vnetConfig?: VirtualNetworkConfigResponse;
524
+ }
525
+ /**
526
+ * imageTemplateVmProfileResponseProvideDefaults sets the appropriate defaults for ImageTemplateVmProfileResponse
527
+ */
528
+ export declare function imageTemplateVmProfileResponseProvideDefaults(val: ImageTemplateVmProfileResponse): ImageTemplateVmProfileResponse;
529
+ /**
530
+ * Installs Windows Updates. Corresponds to Packer Windows Update Provisioner (https://github.com/rgl/packer-provisioner-windows-update)
531
+ */
532
+ export interface ImageTemplateWindowsUpdateCustomizerResponse {
533
+ /**
534
+ * 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.
535
+ */
536
+ filters?: string[];
537
+ /**
538
+ * Friendly Name to provide context on what this customization step does
539
+ */
540
+ name?: string;
541
+ /**
542
+ * 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.
543
+ */
544
+ searchCriteria?: string;
545
+ /**
546
+ * The type of customization tool you want to use on the Image. For example, "Shell" can be shell customizer
547
+ * Expected value is 'WindowsUpdate'.
548
+ */
549
+ type: "WindowsUpdate";
550
+ /**
551
+ * Maximum number of updates to apply at a time. Omit or specify 0 to use the default (1000)
552
+ */
553
+ updateLimit?: number;
554
+ }
555
+ /**
556
+ * imageTemplateWindowsUpdateCustomizerResponseProvideDefaults sets the appropriate defaults for ImageTemplateWindowsUpdateCustomizerResponse
557
+ */
558
+ export declare function imageTemplateWindowsUpdateCustomizerResponseProvideDefaults(val: ImageTemplateWindowsUpdateCustomizerResponse): ImageTemplateWindowsUpdateCustomizerResponse;
559
+ /**
560
+ * Purchase plan configuration for platform image.
561
+ */
562
+ export interface PlatformImagePurchasePlanResponse {
563
+ /**
564
+ * Name of the purchase plan.
565
+ */
566
+ planName: string;
567
+ /**
568
+ * Product of the purchase plan.
569
+ */
570
+ planProduct: string;
571
+ /**
572
+ * Publisher of the purchase plan.
573
+ */
574
+ planPublisher: string;
575
+ }
576
+ /**
577
+ * Describes the error happened when create or update an image template
578
+ */
579
+ export interface ProvisioningErrorResponse {
580
+ /**
581
+ * Verbose error message about the provisioning failure
582
+ */
583
+ message?: string;
584
+ /**
585
+ * Error code of the provisioning failure
586
+ */
587
+ provisioningErrorCode?: string;
588
+ }
589
+ /**
590
+ * Metadata pertaining to creation and last modification of the resource.
591
+ */
592
+ export interface SystemDataResponse {
593
+ /**
594
+ * The timestamp of resource creation (UTC).
595
+ */
596
+ createdAt?: string;
597
+ /**
598
+ * The identity that created the resource.
599
+ */
600
+ createdBy?: string;
601
+ /**
602
+ * The type of identity that created the resource.
603
+ */
604
+ createdByType?: string;
605
+ /**
606
+ * The timestamp of resource last modification (UTC)
607
+ */
608
+ lastModifiedAt?: string;
609
+ /**
610
+ * The identity that last modified the resource.
611
+ */
612
+ lastModifiedBy?: string;
613
+ /**
614
+ * The type of identity that last modified the resource.
615
+ */
616
+ lastModifiedByType?: string;
617
+ }
618
+ /**
619
+ * Describes the target region information.
620
+ */
621
+ export interface TargetRegionResponse {
622
+ /**
623
+ * The name of the region.
624
+ */
625
+ name: string;
626
+ /**
627
+ * The number of replicas of the Image Version to be created in this region. Omit to use the default (1).
628
+ */
629
+ replicaCount?: number;
630
+ /**
631
+ * Specifies the storage account type to be used to store the image in this region. Omit to use the default (Standard_LRS).
632
+ */
633
+ storageAccountType?: string;
634
+ }
635
+ /**
636
+ * targetRegionResponseProvideDefaults sets the appropriate defaults for TargetRegionResponse
637
+ */
638
+ export declare function targetRegionResponseProvideDefaults(val: TargetRegionResponse): TargetRegionResponse;
639
+ /**
640
+ * Describes the status of a trigger
641
+ */
642
+ export interface TriggerStatusResponse {
643
+ /**
644
+ * The status code.
645
+ */
646
+ code: string;
647
+ /**
648
+ * The detailed status message, including for alerts and error messages.
649
+ */
650
+ message: string;
651
+ /**
652
+ * The time of the status.
653
+ */
654
+ time: string;
655
+ }
656
+ /**
657
+ * User assigned identity properties
658
+ */
659
+ export interface UserAssignedIdentityResponse {
660
+ /**
661
+ * The client ID of the assigned identity.
662
+ */
663
+ clientId: string;
664
+ /**
665
+ * The principal ID of the assigned identity.
666
+ */
667
+ principalId: string;
668
+ }
669
+ /**
670
+ * Virtual Network configuration.
671
+ */
672
+ export interface VirtualNetworkConfigResponse {
673
+ /**
674
+ * 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).
675
+ */
676
+ proxyVmSize?: string;
677
+ /**
678
+ * Resource id of a pre-existing subnet.
679
+ */
680
+ subnetId?: string;
681
+ }
682
+ /**
683
+ * virtualNetworkConfigResponseProvideDefaults sets the appropriate defaults for VirtualNetworkConfigResponse
684
+ */
685
+ export declare function virtualNetworkConfigResponseProvideDefaults(val: VirtualNetworkConfigResponse): VirtualNetworkConfigResponse;