@kengachu-pulumi/azure-native-virtualmachineimages 2.21.2 → 2.25.0

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.
Files changed (39) hide show
  1. package/index.d.ts +0 -3
  2. package/index.js +2 -7
  3. package/package.json +2 -2
  4. package/v20220701/getTrigger.d.ts +0 -71
  5. package/v20220701/getTrigger.js +0 -25
  6. package/v20220701/getVirtualMachineImageTemplate.d.ts +0 -113
  7. package/v20220701/getVirtualMachineImageTemplate.js +0 -24
  8. package/v20220701/index.d.ts +0 -13
  9. package/v20220701/index.js +0 -46
  10. package/v20220701/trigger.d.ts +0 -76
  11. package/v20220701/trigger.js +0 -78
  12. package/v20220701/types/enums.d.ts +0 -25
  13. package/v20220701/types/enums.js +0 -17
  14. package/v20220701/types/index.d.ts +0 -3
  15. package/v20220701/types/index.js +0 -7
  16. package/v20220701/types/input.d.ts +0 -580
  17. package/v20220701/types/input.js +0 -109
  18. package/v20220701/types/output.d.ts +0 -685
  19. package/v20220701/types/output.js +0 -108
  20. package/v20220701/virtualMachineImageTemplate.d.ts +0 -164
  21. package/v20220701/virtualMachineImageTemplate.js +0 -106
  22. package/v20230701/getTrigger.d.ts +0 -71
  23. package/v20230701/getTrigger.js +0 -25
  24. package/v20230701/getVirtualMachineImageTemplate.d.ts +0 -117
  25. package/v20230701/getVirtualMachineImageTemplate.js +0 -24
  26. package/v20230701/index.d.ts +0 -13
  27. package/v20230701/index.js +0 -46
  28. package/v20230701/trigger.d.ts +0 -76
  29. package/v20230701/trigger.js +0 -78
  30. package/v20230701/types/enums.d.ts +0 -33
  31. package/v20230701/types/enums.js +0 -21
  32. package/v20230701/types/index.d.ts +0 -3
  33. package/v20230701/types/index.js +0 -7
  34. package/v20230701/types/input.d.ts +0 -597
  35. package/v20230701/types/input.js +0 -117
  36. package/v20230701/types/output.d.ts +0 -702
  37. package/v20230701/types/output.js +0 -116
  38. package/v20230701/virtualMachineImageTemplate.d.ts +0 -172
  39. package/v20230701/virtualMachineImageTemplate.js +0 -108
@@ -1,108 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.virtualNetworkConfigResponseProvideDefaults = exports.targetRegionResponseProvideDefaults = exports.imageTemplateWindowsUpdateCustomizerResponseProvideDefaults = exports.imageTemplateVmProfileResponseProvideDefaults = exports.imageTemplateShellValidatorResponseProvideDefaults = exports.imageTemplateShellCustomizerResponseProvideDefaults = exports.imageTemplateSharedImageDistributorResponseProvideDefaults = exports.imageTemplatePropertiesResponseValidateProvideDefaults = exports.imageTemplatePowerShellValidatorResponseProvideDefaults = exports.imageTemplatePowerShellCustomizerResponseProvideDefaults = exports.imageTemplateFileValidatorResponseProvideDefaults = exports.imageTemplateFileCustomizerResponseProvideDefaults = exports.distributeVersionerLatestResponseProvideDefaults = void 0;
4
- /**
5
- * distributeVersionerLatestResponseProvideDefaults sets the appropriate defaults for DistributeVersionerLatestResponse
6
- */
7
- function distributeVersionerLatestResponseProvideDefaults(val) {
8
- var _a;
9
- return Object.assign(Object.assign({}, val), { major: (_a = (val.major)) !== null && _a !== void 0 ? _a : -1 });
10
- }
11
- exports.distributeVersionerLatestResponseProvideDefaults = distributeVersionerLatestResponseProvideDefaults;
12
- /**
13
- * imageTemplateFileCustomizerResponseProvideDefaults sets the appropriate defaults for ImageTemplateFileCustomizerResponse
14
- */
15
- function imageTemplateFileCustomizerResponseProvideDefaults(val) {
16
- var _a;
17
- return Object.assign(Object.assign({}, val), { sha256Checksum: (_a = (val.sha256Checksum)) !== null && _a !== void 0 ? _a : "" });
18
- }
19
- exports.imageTemplateFileCustomizerResponseProvideDefaults = imageTemplateFileCustomizerResponseProvideDefaults;
20
- /**
21
- * imageTemplateFileValidatorResponseProvideDefaults sets the appropriate defaults for ImageTemplateFileValidatorResponse
22
- */
23
- function imageTemplateFileValidatorResponseProvideDefaults(val) {
24
- var _a;
25
- return Object.assign(Object.assign({}, val), { sha256Checksum: (_a = (val.sha256Checksum)) !== null && _a !== void 0 ? _a : "" });
26
- }
27
- exports.imageTemplateFileValidatorResponseProvideDefaults = imageTemplateFileValidatorResponseProvideDefaults;
28
- /**
29
- * imageTemplatePowerShellCustomizerResponseProvideDefaults sets the appropriate defaults for ImageTemplatePowerShellCustomizerResponse
30
- */
31
- function imageTemplatePowerShellCustomizerResponseProvideDefaults(val) {
32
- var _a, _b, _c;
33
- return Object.assign(Object.assign({}, val), { runAsSystem: (_a = (val.runAsSystem)) !== null && _a !== void 0 ? _a : false, runElevated: (_b = (val.runElevated)) !== null && _b !== void 0 ? _b : false, sha256Checksum: (_c = (val.sha256Checksum)) !== null && _c !== void 0 ? _c : "" });
34
- }
35
- exports.imageTemplatePowerShellCustomizerResponseProvideDefaults = imageTemplatePowerShellCustomizerResponseProvideDefaults;
36
- /**
37
- * imageTemplatePowerShellValidatorResponseProvideDefaults sets the appropriate defaults for ImageTemplatePowerShellValidatorResponse
38
- */
39
- function imageTemplatePowerShellValidatorResponseProvideDefaults(val) {
40
- var _a, _b, _c;
41
- return Object.assign(Object.assign({}, val), { runAsSystem: (_a = (val.runAsSystem)) !== null && _a !== void 0 ? _a : false, runElevated: (_b = (val.runElevated)) !== null && _b !== void 0 ? _b : false, sha256Checksum: (_c = (val.sha256Checksum)) !== null && _c !== void 0 ? _c : "" });
42
- }
43
- exports.imageTemplatePowerShellValidatorResponseProvideDefaults = imageTemplatePowerShellValidatorResponseProvideDefaults;
44
- /**
45
- * imageTemplatePropertiesResponseValidateProvideDefaults sets the appropriate defaults for ImageTemplatePropertiesResponseValidate
46
- */
47
- function imageTemplatePropertiesResponseValidateProvideDefaults(val) {
48
- var _a, _b;
49
- return Object.assign(Object.assign({}, val), { continueDistributeOnFailure: (_a = (val.continueDistributeOnFailure)) !== null && _a !== void 0 ? _a : false, sourceValidationOnly: (_b = (val.sourceValidationOnly)) !== null && _b !== void 0 ? _b : false });
50
- }
51
- exports.imageTemplatePropertiesResponseValidateProvideDefaults = imageTemplatePropertiesResponseValidateProvideDefaults;
52
- /**
53
- * imageTemplateSharedImageDistributorResponseProvideDefaults sets the appropriate defaults for ImageTemplateSharedImageDistributorResponse
54
- */
55
- function imageTemplateSharedImageDistributorResponseProvideDefaults(val) {
56
- var _a;
57
- return Object.assign(Object.assign({}, val), { excludeFromLatest: (_a = (val.excludeFromLatest)) !== null && _a !== void 0 ? _a : false });
58
- }
59
- exports.imageTemplateSharedImageDistributorResponseProvideDefaults = imageTemplateSharedImageDistributorResponseProvideDefaults;
60
- /**
61
- * imageTemplateShellCustomizerResponseProvideDefaults sets the appropriate defaults for ImageTemplateShellCustomizerResponse
62
- */
63
- function imageTemplateShellCustomizerResponseProvideDefaults(val) {
64
- var _a;
65
- return Object.assign(Object.assign({}, val), { sha256Checksum: (_a = (val.sha256Checksum)) !== null && _a !== void 0 ? _a : "" });
66
- }
67
- exports.imageTemplateShellCustomizerResponseProvideDefaults = imageTemplateShellCustomizerResponseProvideDefaults;
68
- /**
69
- * imageTemplateShellValidatorResponseProvideDefaults sets the appropriate defaults for ImageTemplateShellValidatorResponse
70
- */
71
- function imageTemplateShellValidatorResponseProvideDefaults(val) {
72
- var _a;
73
- return Object.assign(Object.assign({}, val), { sha256Checksum: (_a = (val.sha256Checksum)) !== null && _a !== void 0 ? _a : "" });
74
- }
75
- exports.imageTemplateShellValidatorResponseProvideDefaults = imageTemplateShellValidatorResponseProvideDefaults;
76
- /**
77
- * imageTemplateVmProfileResponseProvideDefaults sets the appropriate defaults for ImageTemplateVmProfileResponse
78
- */
79
- function imageTemplateVmProfileResponseProvideDefaults(val) {
80
- var _a, _b;
81
- return Object.assign(Object.assign({}, val), { osDiskSizeGB: (_a = (val.osDiskSizeGB)) !== null && _a !== void 0 ? _a : 0, vmSize: (_b = (val.vmSize)) !== null && _b !== void 0 ? _b : "", vnetConfig: (val.vnetConfig ? virtualNetworkConfigResponseProvideDefaults(val.vnetConfig) : undefined) });
82
- }
83
- exports.imageTemplateVmProfileResponseProvideDefaults = imageTemplateVmProfileResponseProvideDefaults;
84
- /**
85
- * imageTemplateWindowsUpdateCustomizerResponseProvideDefaults sets the appropriate defaults for ImageTemplateWindowsUpdateCustomizerResponse
86
- */
87
- function imageTemplateWindowsUpdateCustomizerResponseProvideDefaults(val) {
88
- var _a;
89
- return Object.assign(Object.assign({}, val), { updateLimit: (_a = (val.updateLimit)) !== null && _a !== void 0 ? _a : 0 });
90
- }
91
- exports.imageTemplateWindowsUpdateCustomizerResponseProvideDefaults = imageTemplateWindowsUpdateCustomizerResponseProvideDefaults;
92
- /**
93
- * targetRegionResponseProvideDefaults sets the appropriate defaults for TargetRegionResponse
94
- */
95
- function targetRegionResponseProvideDefaults(val) {
96
- var _a;
97
- return Object.assign(Object.assign({}, val), { replicaCount: (_a = (val.replicaCount)) !== null && _a !== void 0 ? _a : 1 });
98
- }
99
- exports.targetRegionResponseProvideDefaults = targetRegionResponseProvideDefaults;
100
- /**
101
- * virtualNetworkConfigResponseProvideDefaults sets the appropriate defaults for VirtualNetworkConfigResponse
102
- */
103
- function virtualNetworkConfigResponseProvideDefaults(val) {
104
- var _a;
105
- return Object.assign(Object.assign({}, val), { proxyVmSize: (_a = (val.proxyVmSize)) !== null && _a !== void 0 ? _a : "" });
106
- }
107
- exports.virtualNetworkConfigResponseProvideDefaults = virtualNetworkConfigResponseProvideDefaults;
108
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0cHV0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsib3V0cHV0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQWdCSTs7R0FFRztBQUNILFNBQWdCLGdEQUFnRCxDQUFDLEdBQXNDOztJQUNuRyx1Q0FDTyxHQUFHLEtBQ04sS0FBSyxFQUFFLE1BQUEsQ0FBQyxHQUFHLENBQUMsS0FBSyxDQUFDLG1DQUFJLENBQUMsQ0FBQyxJQUMxQjtBQUNOLENBQUM7QUFMRCw0R0FLQzt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EVBQUUsTUFBQSxDQUFDLEdBQUcsQ0FBQyxNQUFNLENBQUMsbUNBQUksRUFBRSxFQUMxQixVQUFVLEVBQUUsQ0FBQyxHQUFHLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQywyQ0FBMkMsQ0FBQyxHQUFHLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQyxDQUFDLFNBQVMsQ0FBQyxJQUN4RztBQUNOLENBQUM7QUFQRCxzR0FPQztBQTRCRDs7R0FFRztBQUNILFNBQWdCLDJEQUEyRCxDQUFDLEdBQWlEOztJQUN6SCx1Q0FDTyxHQUFHLEtBQ04sV0FBVyxFQUFFLE1BQUEsQ0FBQyxHQUFHLENBQUMsV0FBVyxDQUFDLG1DQUFJLENBQUMsSUFDckM7QUFDTixDQUFDO0FBTEQsa0lBS0M7QUFpRkQ7O0dBRUc7QUFDSCxTQUFnQixtQ0FBbUMsQ0FBQyxHQUF5Qjs7SUFDekUsdUNBQ08sR0FBRyxLQUNOLFlBQVksRUFBRSxNQUFBLENBQUMsR0FBRyxDQUFDLFlBQVksQ0FBQyxtQ0FBSSxDQUFDLElBQ3ZDO0FBQ04sQ0FBQztBQUxELGtGQUtDO0FBK0NEOztHQUVHO0FBQ0gsU0FBZ0IsMkNBQTJDLENBQUMsR0FBaUM7O0lBQ3pGLHVDQUNPLEdBQUcsS0FDTixXQUFXLEVBQUUsTUFBQSxDQUFDLEdBQUcsQ0FBQyxXQUFXLENBQUMsbUNBQUksRUFBRSxJQUN0QztBQUNOLENBQUM7QUFMRCxrR0FLQyJ9
@@ -1,164 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as types from "./types";
3
- /**
4
- * Image template is an ARM resource managed by Microsoft.VirtualMachineImages provider
5
- */
6
- export declare class VirtualMachineImageTemplate extends pulumi.CustomResource {
7
- /**
8
- * Get an existing VirtualMachineImageTemplate resource's state with the given name, ID, and optional extra
9
- * properties used to qualify the lookup.
10
- *
11
- * @param name The _unique_ name of the resulting resource.
12
- * @param id The _unique_ provider ID of the resource to lookup.
13
- * @param opts Optional settings to control the behavior of the CustomResource.
14
- */
15
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): VirtualMachineImageTemplate;
16
- /** @internal */
17
- static readonly __pulumiType = "azure-native:virtualmachineimages/v20220701:VirtualMachineImageTemplate";
18
- /**
19
- * Returns true if the given object is an instance of VirtualMachineImageTemplate. This is designed to work even
20
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
- */
22
- static isInstance(obj: any): obj is VirtualMachineImageTemplate;
23
- /**
24
- * Maximum duration to wait while building the image template (includes all customizations, optimization, validations, and distributions). Omit or specify 0 to use the default (4 hours).
25
- */
26
- readonly buildTimeoutInMinutes: pulumi.Output<number | undefined>;
27
- /**
28
- * Specifies the properties used to describe the customization steps of the image, like Image source etc
29
- */
30
- readonly customize: pulumi.Output<(types.outputs.ImageTemplateFileCustomizerResponse | types.outputs.ImageTemplatePowerShellCustomizerResponse | types.outputs.ImageTemplateRestartCustomizerResponse | types.outputs.ImageTemplateShellCustomizerResponse | types.outputs.ImageTemplateWindowsUpdateCustomizerResponse)[] | undefined>;
31
- /**
32
- * The distribution targets where the image output needs to go to.
33
- */
34
- readonly distribute: pulumi.Output<(types.outputs.ImageTemplateManagedImageDistributorResponse | types.outputs.ImageTemplateSharedImageDistributorResponse | types.outputs.ImageTemplateVhdDistributorResponse)[]>;
35
- /**
36
- * The staging resource group id in the same subscription as the image template that will be used to build the image. This read-only field differs from 'stagingResourceGroup' only if the value specified in the 'stagingResourceGroup' field is empty.
37
- */
38
- readonly exactStagingResourceGroup: pulumi.Output<string>;
39
- /**
40
- * The identity of the image template, if configured.
41
- */
42
- readonly identity: pulumi.Output<types.outputs.ImageTemplateIdentityResponse>;
43
- /**
44
- * State of 'run' that is currently executing or was last executed.
45
- */
46
- readonly lastRunStatus: pulumi.Output<types.outputs.ImageTemplateLastRunStatusResponse>;
47
- /**
48
- * The geo-location where the resource lives
49
- */
50
- readonly location: pulumi.Output<string>;
51
- /**
52
- * The name of the resource
53
- */
54
- readonly name: pulumi.Output<string>;
55
- /**
56
- * Specifies optimization to be performed on image.
57
- */
58
- readonly optimize: pulumi.Output<types.outputs.ImageTemplatePropertiesResponseOptimize | undefined>;
59
- /**
60
- * Provisioning error, if any
61
- */
62
- readonly provisioningError: pulumi.Output<types.outputs.ProvisioningErrorResponse>;
63
- /**
64
- * Provisioning state of the resource
65
- */
66
- readonly provisioningState: pulumi.Output<string>;
67
- /**
68
- * Specifies the properties used to describe the source image.
69
- */
70
- readonly source: pulumi.Output<types.outputs.ImageTemplateManagedImageSourceResponse | types.outputs.ImageTemplatePlatformImageSourceResponse | types.outputs.ImageTemplateSharedImageVersionSourceResponse>;
71
- /**
72
- * The staging resource group id in the same subscription as the image template that will be used to build the image. If this field is empty, a resource group with a random name will be created. If the resource group specified in this field doesn't exist, it will be created with the same name. If the resource group specified exists, it must be empty and in the same region as the image template. The resource group created will be deleted during template deletion if this field is empty or the resource group specified doesn't exist, but if the resource group specified exists the resources created in the resource group will be deleted during template deletion and the resource group itself will remain.
73
- */
74
- readonly stagingResourceGroup: pulumi.Output<string | undefined>;
75
- /**
76
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
77
- */
78
- readonly systemData: pulumi.Output<types.outputs.SystemDataResponse>;
79
- /**
80
- * Resource tags.
81
- */
82
- readonly tags: pulumi.Output<{
83
- [key: string]: string;
84
- } | undefined>;
85
- /**
86
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
87
- */
88
- readonly type: pulumi.Output<string>;
89
- /**
90
- * Configuration options and list of validations to be performed on the resulting image.
91
- */
92
- readonly validate: pulumi.Output<types.outputs.ImageTemplatePropertiesResponseValidate | undefined>;
93
- /**
94
- * Describes how virtual machine is set up to build images
95
- */
96
- readonly vmProfile: pulumi.Output<types.outputs.ImageTemplateVmProfileResponse | undefined>;
97
- /**
98
- * Create a VirtualMachineImageTemplate resource with the given unique name, arguments, and options.
99
- *
100
- * @param name The _unique_ name of the resource.
101
- * @param args The arguments to use to populate this resource's properties.
102
- * @param opts A bag of options that control this resource's behavior.
103
- */
104
- constructor(name: string, args: VirtualMachineImageTemplateArgs, opts?: pulumi.CustomResourceOptions);
105
- }
106
- /**
107
- * The set of arguments for constructing a VirtualMachineImageTemplate resource.
108
- */
109
- export interface VirtualMachineImageTemplateArgs {
110
- /**
111
- * Maximum duration to wait while building the image template (includes all customizations, optimization, validations, and distributions). Omit or specify 0 to use the default (4 hours).
112
- */
113
- buildTimeoutInMinutes?: pulumi.Input<number>;
114
- /**
115
- * Specifies the properties used to describe the customization steps of the image, like Image source etc
116
- */
117
- customize?: pulumi.Input<pulumi.Input<types.inputs.ImageTemplateFileCustomizerArgs | types.inputs.ImageTemplatePowerShellCustomizerArgs | types.inputs.ImageTemplateRestartCustomizerArgs | types.inputs.ImageTemplateShellCustomizerArgs | types.inputs.ImageTemplateWindowsUpdateCustomizerArgs>[]>;
118
- /**
119
- * The distribution targets where the image output needs to go to.
120
- */
121
- distribute: pulumi.Input<pulumi.Input<types.inputs.ImageTemplateManagedImageDistributorArgs | types.inputs.ImageTemplateSharedImageDistributorArgs | types.inputs.ImageTemplateVhdDistributorArgs>[]>;
122
- /**
123
- * The identity of the image template, if configured.
124
- */
125
- identity: pulumi.Input<types.inputs.ImageTemplateIdentityArgs>;
126
- /**
127
- * The name of the image Template
128
- */
129
- imageTemplateName?: pulumi.Input<string>;
130
- /**
131
- * The geo-location where the resource lives
132
- */
133
- location?: pulumi.Input<string>;
134
- /**
135
- * Specifies optimization to be performed on image.
136
- */
137
- optimize?: pulumi.Input<types.inputs.ImageTemplatePropertiesOptimizeArgs>;
138
- /**
139
- * The name of the resource group.
140
- */
141
- resourceGroupName: pulumi.Input<string>;
142
- /**
143
- * Specifies the properties used to describe the source image.
144
- */
145
- source: pulumi.Input<types.inputs.ImageTemplateManagedImageSourceArgs | types.inputs.ImageTemplatePlatformImageSourceArgs | types.inputs.ImageTemplateSharedImageVersionSourceArgs>;
146
- /**
147
- * The staging resource group id in the same subscription as the image template that will be used to build the image. If this field is empty, a resource group with a random name will be created. If the resource group specified in this field doesn't exist, it will be created with the same name. If the resource group specified exists, it must be empty and in the same region as the image template. The resource group created will be deleted during template deletion if this field is empty or the resource group specified doesn't exist, but if the resource group specified exists the resources created in the resource group will be deleted during template deletion and the resource group itself will remain.
148
- */
149
- stagingResourceGroup?: pulumi.Input<string>;
150
- /**
151
- * Resource tags.
152
- */
153
- tags?: pulumi.Input<{
154
- [key: string]: pulumi.Input<string>;
155
- }>;
156
- /**
157
- * Configuration options and list of validations to be performed on the resulting image.
158
- */
159
- validate?: pulumi.Input<types.inputs.ImageTemplatePropertiesValidateArgs>;
160
- /**
161
- * Describes how virtual machine is set up to build images
162
- */
163
- vmProfile?: pulumi.Input<types.inputs.ImageTemplateVmProfileArgs>;
164
- }
@@ -1,106 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VirtualMachineImageTemplate = void 0;
4
- const pulumi = require("@pulumi/pulumi");
5
- const utilities = require("@kengachu-pulumi/azure-native-core/utilities");
6
- const types = require("./types");
7
- /**
8
- * Image template is an ARM resource managed by Microsoft.VirtualMachineImages provider
9
- */
10
- class VirtualMachineImageTemplate extends pulumi.CustomResource {
11
- /**
12
- * Get an existing VirtualMachineImageTemplate resource's state with the given name, ID, and optional extra
13
- * properties used to qualify the lookup.
14
- *
15
- * @param name The _unique_ name of the resulting resource.
16
- * @param id The _unique_ provider ID of the resource to lookup.
17
- * @param opts Optional settings to control the behavior of the CustomResource.
18
- */
19
- static get(name, id, opts) {
20
- return new VirtualMachineImageTemplate(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
21
- }
22
- /**
23
- * Returns true if the given object is an instance of VirtualMachineImageTemplate. This is designed to work even
24
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
25
- */
26
- static isInstance(obj) {
27
- if (obj === undefined || obj === null) {
28
- return false;
29
- }
30
- return obj['__pulumiType'] === VirtualMachineImageTemplate.__pulumiType;
31
- }
32
- /**
33
- * Create a VirtualMachineImageTemplate resource with the given unique name, arguments, and options.
34
- *
35
- * @param name The _unique_ name of the resource.
36
- * @param args The arguments to use to populate this resource's properties.
37
- * @param opts A bag of options that control this resource's behavior.
38
- */
39
- constructor(name, args, opts) {
40
- var _a;
41
- let resourceInputs = {};
42
- opts = opts || {};
43
- if (!opts.id) {
44
- if ((!args || args.distribute === undefined) && !opts.urn) {
45
- throw new Error("Missing required property 'distribute'");
46
- }
47
- if ((!args || args.identity === undefined) && !opts.urn) {
48
- throw new Error("Missing required property 'identity'");
49
- }
50
- if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
51
- throw new Error("Missing required property 'resourceGroupName'");
52
- }
53
- if ((!args || args.source === undefined) && !opts.urn) {
54
- throw new Error("Missing required property 'source'");
55
- }
56
- resourceInputs["buildTimeoutInMinutes"] = (_a = (args ? args.buildTimeoutInMinutes : undefined)) !== null && _a !== void 0 ? _a : 0;
57
- resourceInputs["customize"] = args ? args.customize : undefined;
58
- resourceInputs["distribute"] = args ? args.distribute : undefined;
59
- resourceInputs["identity"] = args ? args.identity : undefined;
60
- resourceInputs["imageTemplateName"] = args ? args.imageTemplateName : undefined;
61
- resourceInputs["location"] = args ? args.location : undefined;
62
- resourceInputs["optimize"] = args ? args.optimize : undefined;
63
- resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
64
- resourceInputs["source"] = args ? args.source : undefined;
65
- resourceInputs["stagingResourceGroup"] = args ? args.stagingResourceGroup : undefined;
66
- resourceInputs["tags"] = args ? args.tags : undefined;
67
- resourceInputs["validate"] = args ? (args.validate ? pulumi.output(args.validate).apply(types.inputs.imageTemplatePropertiesValidateArgsProvideDefaults) : undefined) : undefined;
68
- resourceInputs["vmProfile"] = args ? (args.vmProfile ? pulumi.output(args.vmProfile).apply(types.inputs.imageTemplateVmProfileArgsProvideDefaults) : undefined) : undefined;
69
- resourceInputs["exactStagingResourceGroup"] = undefined /*out*/;
70
- resourceInputs["lastRunStatus"] = undefined /*out*/;
71
- resourceInputs["name"] = undefined /*out*/;
72
- resourceInputs["provisioningError"] = undefined /*out*/;
73
- resourceInputs["provisioningState"] = undefined /*out*/;
74
- resourceInputs["systemData"] = undefined /*out*/;
75
- resourceInputs["type"] = undefined /*out*/;
76
- }
77
- else {
78
- resourceInputs["buildTimeoutInMinutes"] = undefined /*out*/;
79
- resourceInputs["customize"] = undefined /*out*/;
80
- resourceInputs["distribute"] = undefined /*out*/;
81
- resourceInputs["exactStagingResourceGroup"] = undefined /*out*/;
82
- resourceInputs["identity"] = undefined /*out*/;
83
- resourceInputs["lastRunStatus"] = undefined /*out*/;
84
- resourceInputs["location"] = undefined /*out*/;
85
- resourceInputs["name"] = undefined /*out*/;
86
- resourceInputs["optimize"] = undefined /*out*/;
87
- resourceInputs["provisioningError"] = undefined /*out*/;
88
- resourceInputs["provisioningState"] = undefined /*out*/;
89
- resourceInputs["source"] = undefined /*out*/;
90
- resourceInputs["stagingResourceGroup"] = undefined /*out*/;
91
- resourceInputs["systemData"] = undefined /*out*/;
92
- resourceInputs["tags"] = undefined /*out*/;
93
- resourceInputs["type"] = undefined /*out*/;
94
- resourceInputs["validate"] = undefined /*out*/;
95
- resourceInputs["vmProfile"] = undefined /*out*/;
96
- }
97
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
98
- const aliasOpts = { aliases: [{ type: "azure-native:virtualmachineimages:VirtualMachineImageTemplate" }, { type: "azure-native:virtualmachineimages/v20180201preview:VirtualMachineImageTemplate" }, { type: "azure-native:virtualmachineimages/v20190201preview:VirtualMachineImageTemplate" }, { type: "azure-native:virtualmachineimages/v20190501preview:VirtualMachineImageTemplate" }, { type: "azure-native:virtualmachineimages/v20200214:VirtualMachineImageTemplate" }, { type: "azure-native:virtualmachineimages/v20211001:VirtualMachineImageTemplate" }, { type: "azure-native:virtualmachineimages/v20220214:VirtualMachineImageTemplate" }, { type: "azure-native:virtualmachineimages/v20230701:VirtualMachineImageTemplate" }] };
99
- opts = pulumi.mergeOptions(opts, aliasOpts);
100
- super(VirtualMachineImageTemplate.__pulumiType, name, resourceInputs, opts);
101
- }
102
- }
103
- exports.VirtualMachineImageTemplate = VirtualMachineImageTemplate;
104
- /** @internal */
105
- VirtualMachineImageTemplate.__pulumiType = 'azure-native:virtualmachineimages/v20220701:VirtualMachineImageTemplate';
106
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlydHVhbE1hY2hpbmVJbWFnZVRlbXBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsidmlydHVhbE1hY2hpbmVJbWFnZVRlbXBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHlDQUF5QztBQUN6QywwRUFBMEU7QUFDMUUsaUNBQWlDO0FBQ2pDOztHQUVHO0FBQ0gsTUFBYSwyQkFBNEIsU0FBUSxNQUFNLENBQUMsY0FBYztJQUNsRTs7Ozs7OztPQU9HO0lBQ0ksTUFBTSxDQUFDLEdBQUcsQ0FBQyxJQUFZLEVBQUUsRUFBMkIsRUFBRSxJQUFtQztRQUM1RixPQUFPLElBQUksMkJBQTJCLENBQUMsSUFBSSxFQUFFLFNBQWdCLGtDQUFPLElBQUksS0FBRSxFQUFFLEVBQUUsRUFBRSxJQUFHLENBQUM7SUFDeEYsQ0FBQztJQUtEOzs7T0FHRztJQUNJLE1BQU0sQ0FBQyxVQUFVLENBQUMsR0FBUTtRQUM3QixJQUFJLEdBQUcsS0FBSyxTQUFTLElBQUksR0FBRyxLQUFLLElBQUksRUFBRTtZQUNuQyxPQUFPLEtBQUssQ0FBQztTQUNoQjtRQUNELE9BQU8sR0FBRyxDQUFDLGNBQWMsQ0FBQyxLQUFLLDJCQUEyQixDQUFDLFlBQVksQ0FBQztJQUM1RSxDQUFDO0lBMkVEOzs7Ozs7T0FNRztJQUNILF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QUksR0FBRyxNQUFNLENBQUMsWUFBWSxDQUFDLElBQUksRUFBRSxTQUFTLENBQUMsQ0FBQztRQUM1QyxLQUFLLENBQUMsMkJBQTJCLENBQUMsWUFBWSxFQUFFLElBQUksRUFBRSxjQUFjLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDaEYsQ0FBQzs7QUF2S0wsa0VBd0tDO0FBM0pHLGdCQUFnQjtBQUNPLHdDQUFZLEdBQUcseUVBQXlFLENBQUMifQ==
@@ -1,71 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as types from "./types";
3
- /**
4
- * Get the specified trigger for the specified image template resource
5
- */
6
- export declare function getTrigger(args: GetTriggerArgs, opts?: pulumi.InvokeOptions): Promise<GetTriggerResult>;
7
- export interface GetTriggerArgs {
8
- /**
9
- * The name of the image Template
10
- */
11
- imageTemplateName: string;
12
- /**
13
- * The name of the resource group.
14
- */
15
- resourceGroupName: string;
16
- /**
17
- * The name of the trigger
18
- */
19
- triggerName: string;
20
- }
21
- /**
22
- * Represents a trigger that can invoke an image template build.
23
- */
24
- export interface GetTriggerResult {
25
- /**
26
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
27
- */
28
- readonly id: string;
29
- /**
30
- * The kind of trigger.
31
- */
32
- readonly kind: string;
33
- /**
34
- * The name of the resource
35
- */
36
- readonly name: string;
37
- /**
38
- * Provisioning state of the resource
39
- */
40
- readonly provisioningState: string;
41
- /**
42
- * Trigger status
43
- */
44
- readonly status: types.outputs.TriggerStatusResponse;
45
- /**
46
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
47
- */
48
- readonly systemData: types.outputs.SystemDataResponse;
49
- /**
50
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
51
- */
52
- readonly type: string;
53
- }
54
- /**
55
- * Get the specified trigger for the specified image template resource
56
- */
57
- export declare function getTriggerOutput(args: GetTriggerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTriggerResult>;
58
- export interface GetTriggerOutputArgs {
59
- /**
60
- * The name of the image Template
61
- */
62
- imageTemplateName: pulumi.Input<string>;
63
- /**
64
- * The name of the resource group.
65
- */
66
- resourceGroupName: pulumi.Input<string>;
67
- /**
68
- * The name of the trigger
69
- */
70
- triggerName: pulumi.Input<string>;
71
- }
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getTriggerOutput = exports.getTrigger = void 0;
4
- const pulumi = require("@pulumi/pulumi");
5
- const utilities = require("@kengachu-pulumi/azure-native-core/utilities");
6
- /**
7
- * Get the specified trigger for the specified image template resource
8
- */
9
- function getTrigger(args, opts) {
10
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
11
- return pulumi.runtime.invoke("azure-native:virtualmachineimages/v20230701:getTrigger", {
12
- "imageTemplateName": args.imageTemplateName,
13
- "resourceGroupName": args.resourceGroupName,
14
- "triggerName": args.triggerName,
15
- }, opts);
16
- }
17
- exports.getTrigger = getTrigger;
18
- /**
19
- * Get the specified trigger for the specified image template resource
20
- */
21
- function getTriggerOutput(args, opts) {
22
- return pulumi.output(args).apply((a) => getTrigger(a, opts));
23
- }
24
- exports.getTriggerOutput = getTriggerOutput;
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0VHJpZ2dlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImdldFRyaWdnZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUNBQXlDO0FBQ3pDLDBFQUEwRTtBQUUxRTs7R0FFRztBQUNILFNBQWdCLFVBQVUsQ0FBQyxJQUFvQixFQUFFLElBQTJCO0lBRXhFLElBQUksR0FBRyxNQUFNLENBQUMsWUFBWSxDQUFDLFNBQVMsQ0FBQyxvQkFBb0IsRUFBRSxFQUFFLElBQUksSUFBSSxFQUFFLENBQUMsQ0FBQztJQUN6RSxPQUFPLE1BQU0sQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLHdEQUF3RCxFQUFFO1FBQ25GLG1CQUFtQixFQUFFLElBQUksQ0FBQyxpQkFBaUI7UUFDM0MsbUJBQW1CLEVBQUUsSUFBSSxDQUFDLGlCQUFpQjtRQUMzQyxhQUFhLEVBQUUsSUFBSSxDQUFDLFdBQVc7S0FDbEMsRUFBRSxJQUFJLENBQUMsQ0FBQztBQUNiLENBQUM7QUFSRCxnQ0FRQztBQWtERDs7R0FFRztBQUNILFNBQWdCLGdCQUFnQixDQUFDLElBQTBCLEVBQUUsSUFBMkI7SUFDcEYsT0FBTyxNQUFNLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQU0sRUFBRSxFQUFFLENBQUMsVUFBVSxDQUFDLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFBO0FBQ3JFLENBQUM7QUFGRCw0Q0FFQyJ9
@@ -1,117 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as types from "./types";
3
- /**
4
- * Get information about a virtual machine image template
5
- */
6
- export declare function getVirtualMachineImageTemplate(args: GetVirtualMachineImageTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualMachineImageTemplateResult>;
7
- export interface GetVirtualMachineImageTemplateArgs {
8
- /**
9
- * The name of the image Template
10
- */
11
- imageTemplateName: string;
12
- /**
13
- * The name of the resource group.
14
- */
15
- resourceGroupName: string;
16
- }
17
- /**
18
- * Image template is an ARM resource managed by Microsoft.VirtualMachineImages provider
19
- */
20
- export interface GetVirtualMachineImageTemplateResult {
21
- /**
22
- * Maximum duration to wait while building the image template (includes all customizations, optimization, validations, and distributions). Omit or specify 0 to use the default (4 hours).
23
- */
24
- readonly buildTimeoutInMinutes?: number;
25
- /**
26
- * Specifies the properties used to describe the customization steps of the image, like Image source etc
27
- */
28
- readonly customize?: (types.outputs.ImageTemplateFileCustomizerResponse | types.outputs.ImageTemplatePowerShellCustomizerResponse | types.outputs.ImageTemplateRestartCustomizerResponse | types.outputs.ImageTemplateShellCustomizerResponse | types.outputs.ImageTemplateWindowsUpdateCustomizerResponse)[];
29
- /**
30
- * The distribution targets where the image output needs to go to.
31
- */
32
- readonly distribute: (types.outputs.ImageTemplateManagedImageDistributorResponse | types.outputs.ImageTemplateSharedImageDistributorResponse | types.outputs.ImageTemplateVhdDistributorResponse)[];
33
- /**
34
- * Error handling options upon a build failure
35
- */
36
- readonly errorHandling?: types.outputs.ImageTemplatePropertiesResponseErrorHandling;
37
- /**
38
- * The staging resource group id in the same subscription as the image template that will be used to build the image. This read-only field differs from 'stagingResourceGroup' only if the value specified in the 'stagingResourceGroup' field is empty.
39
- */
40
- readonly exactStagingResourceGroup: string;
41
- /**
42
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
43
- */
44
- readonly id: string;
45
- /**
46
- * The identity of the image template, if configured.
47
- */
48
- readonly identity: types.outputs.ImageTemplateIdentityResponse;
49
- /**
50
- * State of 'run' that is currently executing or was last executed.
51
- */
52
- readonly lastRunStatus: types.outputs.ImageTemplateLastRunStatusResponse;
53
- /**
54
- * The geo-location where the resource lives
55
- */
56
- readonly location: string;
57
- /**
58
- * The name of the resource
59
- */
60
- readonly name: string;
61
- /**
62
- * Specifies optimization to be performed on image.
63
- */
64
- readonly optimize?: types.outputs.ImageTemplatePropertiesResponseOptimize;
65
- /**
66
- * Provisioning error, if any
67
- */
68
- readonly provisioningError: types.outputs.ProvisioningErrorResponse;
69
- /**
70
- * Provisioning state of the resource
71
- */
72
- readonly provisioningState: string;
73
- /**
74
- * Specifies the properties used to describe the source image.
75
- */
76
- readonly source: types.outputs.ImageTemplateManagedImageSourceResponse | types.outputs.ImageTemplatePlatformImageSourceResponse | types.outputs.ImageTemplateSharedImageVersionSourceResponse;
77
- /**
78
- * The staging resource group id in the same subscription as the image template that will be used to build the image. If this field is empty, a resource group with a random name will be created. If the resource group specified in this field doesn't exist, it will be created with the same name. If the resource group specified exists, it must be empty and in the same region as the image template. The resource group created will be deleted during template deletion if this field is empty or the resource group specified doesn't exist, but if the resource group specified exists the resources created in the resource group will be deleted during template deletion and the resource group itself will remain.
79
- */
80
- readonly stagingResourceGroup?: string;
81
- /**
82
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
83
- */
84
- readonly systemData: types.outputs.SystemDataResponse;
85
- /**
86
- * Resource tags.
87
- */
88
- readonly tags?: {
89
- [key: string]: string;
90
- };
91
- /**
92
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
93
- */
94
- readonly type: string;
95
- /**
96
- * Configuration options and list of validations to be performed on the resulting image.
97
- */
98
- readonly validate?: types.outputs.ImageTemplatePropertiesResponseValidate;
99
- /**
100
- * Describes how virtual machine is set up to build images
101
- */
102
- readonly vmProfile?: types.outputs.ImageTemplateVmProfileResponse;
103
- }
104
- /**
105
- * Get information about a virtual machine image template
106
- */
107
- export declare function getVirtualMachineImageTemplateOutput(args: GetVirtualMachineImageTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVirtualMachineImageTemplateResult>;
108
- export interface GetVirtualMachineImageTemplateOutputArgs {
109
- /**
110
- * The name of the image Template
111
- */
112
- imageTemplateName: pulumi.Input<string>;
113
- /**
114
- * The name of the resource group.
115
- */
116
- resourceGroupName: pulumi.Input<string>;
117
- }
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getVirtualMachineImageTemplateOutput = exports.getVirtualMachineImageTemplate = void 0;
4
- const pulumi = require("@pulumi/pulumi");
5
- const utilities = require("@kengachu-pulumi/azure-native-core/utilities");
6
- /**
7
- * Get information about a virtual machine image template
8
- */
9
- function getVirtualMachineImageTemplate(args, opts) {
10
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
11
- return pulumi.runtime.invoke("azure-native:virtualmachineimages/v20230701:getVirtualMachineImageTemplate", {
12
- "imageTemplateName": args.imageTemplateName,
13
- "resourceGroupName": args.resourceGroupName,
14
- }, opts);
15
- }
16
- exports.getVirtualMachineImageTemplate = getVirtualMachineImageTemplate;
17
- /**
18
- * Get information about a virtual machine image template
19
- */
20
- function getVirtualMachineImageTemplateOutput(args, opts) {
21
- return pulumi.output(args).apply((a) => getVirtualMachineImageTemplate(a, opts));
22
- }
23
- exports.getVirtualMachineImageTemplateOutput = getVirtualMachineImageTemplateOutput;
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0VmlydHVhbE1hY2hpbmVJbWFnZVRlbXBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZ2V0VmlydHVhbE1hY2hpbmVJbWFnZVRlbXBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHlDQUF5QztBQUN6QywwRUFBMEU7QUFFMUU7O0dBRUc7QUFDSCxTQUFnQiw4QkFBOEIsQ0FBQyxJQUF3QyxFQUFFLElBQTJCO0lBRWhILElBQUksR0FBRyxNQUFNLENBQUMsWUFBWSxDQUFDLFNBQVMsQ0FBQyxvQkFBb0IsRUFBRSxFQUFFLElBQUksSUFBSSxFQUFFLENBQUMsQ0FBQztJQUN6RSxPQUFPLE1BQU0sQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLDRFQUE0RSxFQUFFO1FBQ3ZHLG1CQUFtQixFQUFFLElBQUksQ0FBQyxpQkFBaUI7UUFDM0MsbUJBQW1CLEVBQUUsSUFBSSxDQUFDLGlCQUFpQjtLQUM5QyxFQUFFLElBQUksQ0FBQyxDQUFDO0FBQ2IsQ0FBQztBQVBELHdFQU9DO0FBa0dEOztHQUVHO0FBQ0gsU0FBZ0Isb0NBQW9DLENBQUMsSUFBOEMsRUFBRSxJQUEyQjtJQUM1SCxPQUFPLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBTSxFQUFFLEVBQUUsQ0FBQyw4QkFBOEIsQ0FBQyxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUMsQ0FBQTtBQUN6RixDQUFDO0FBRkQsb0ZBRUMifQ==