@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.
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # Pulumi Azure Native virtualmachineimages sub package
2
+
3
+ This package has been generated by [Ankvi](https://github.com/Ankvi)'s [pulumi
4
+ transformer](https://github.com/Ankvi/pulumi-transformer) project.
5
+
6
+ The project splits the [Pulumi Azure Native](https://github.com/pulumi/pulumi-azure-native)
7
+ npm package into smaller, more manageable packages that won't break your TypeScript
8
+ server because of too high memory usage.
9
+
10
+ This project will not cover bugs that should be solved by Pulumi, but if there's
11
+ anything wrong with the output, feel free to raise an issue so it can be fixed as
12
+ I do not have the capacity to test out all of the features, only the ones my
13
+ team uses.
@@ -0,0 +1,73 @@
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
+ * Azure REST API version: 2022-07-01.
6
+ */
7
+ export declare function getTrigger(args: GetTriggerArgs, opts?: pulumi.InvokeOptions): Promise<GetTriggerResult>;
8
+ export interface GetTriggerArgs {
9
+ /**
10
+ * The name of the image Template
11
+ */
12
+ imageTemplateName: string;
13
+ /**
14
+ * The name of the resource group.
15
+ */
16
+ resourceGroupName: string;
17
+ /**
18
+ * The name of the trigger
19
+ */
20
+ triggerName: string;
21
+ }
22
+ /**
23
+ * Represents a trigger that can invoke an image template build.
24
+ */
25
+ export interface GetTriggerResult {
26
+ /**
27
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
28
+ */
29
+ readonly id: string;
30
+ /**
31
+ * The kind of trigger.
32
+ */
33
+ readonly kind: string;
34
+ /**
35
+ * The name of the resource
36
+ */
37
+ readonly name: string;
38
+ /**
39
+ * Provisioning state of the resource
40
+ */
41
+ readonly provisioningState: string;
42
+ /**
43
+ * Trigger status
44
+ */
45
+ readonly status: types.outputs.TriggerStatusResponse;
46
+ /**
47
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
48
+ */
49
+ readonly systemData: types.outputs.SystemDataResponse;
50
+ /**
51
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
52
+ */
53
+ readonly type: string;
54
+ }
55
+ /**
56
+ * Get the specified trigger for the specified image template resource
57
+ * Azure REST API version: 2022-07-01.
58
+ */
59
+ export declare function getTriggerOutput(args: GetTriggerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTriggerResult>;
60
+ export interface GetTriggerOutputArgs {
61
+ /**
62
+ * The name of the image Template
63
+ */
64
+ imageTemplateName: pulumi.Input<string>;
65
+ /**
66
+ * The name of the resource group.
67
+ */
68
+ resourceGroupName: pulumi.Input<string>;
69
+ /**
70
+ * The name of the trigger
71
+ */
72
+ triggerName: pulumi.Input<string>;
73
+ }
package/getTrigger.js ADDED
@@ -0,0 +1,27 @@
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
+ * Azure REST API version: 2022-07-01.
9
+ */
10
+ function getTrigger(args, opts) {
11
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
12
+ return pulumi.runtime.invoke("azure-native:virtualmachineimages:getTrigger", {
13
+ "imageTemplateName": args.imageTemplateName,
14
+ "resourceGroupName": args.resourceGroupName,
15
+ "triggerName": args.triggerName,
16
+ }, opts);
17
+ }
18
+ exports.getTrigger = getTrigger;
19
+ /**
20
+ * Get the specified trigger for the specified image template resource
21
+ * Azure REST API version: 2022-07-01.
22
+ */
23
+ function getTriggerOutput(args, opts) {
24
+ return pulumi.output(args).apply((a) => getTrigger(a, opts));
25
+ }
26
+ exports.getTriggerOutput = getTriggerOutput;
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0VHJpZ2dlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImdldFRyaWdnZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUNBQXlDO0FBQ3pDLDBFQUEwRTtBQUUxRTs7O0dBR0c7QUFDSCxTQUFnQixVQUFVLENBQUMsSUFBb0IsRUFBRSxJQUEyQjtJQUV4RSxJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLElBQUksRUFBRSxDQUFDLENBQUM7SUFDekUsT0FBTyxNQUFNLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyw4Q0FBOEMsRUFBRTtRQUN6RSxtQkFBbUIsRUFBRSxJQUFJLENBQUMsaUJBQWlCO1FBQzNDLG1CQUFtQixFQUFFLElBQUksQ0FBQyxpQkFBaUI7UUFDM0MsYUFBYSxFQUFFLElBQUksQ0FBQyxXQUFXO0tBQ2xDLEVBQUUsSUFBSSxDQUFDLENBQUM7QUFDYixDQUFDO0FBUkQsZ0NBUUM7QUFrREQ7OztHQUdHO0FBQ0gsU0FBZ0IsZ0JBQWdCLENBQUMsSUFBMEIsRUFBRSxJQUEyQjtJQUNwRixPQUFPLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBTSxFQUFFLEVBQUUsQ0FBQyxVQUFVLENBQUMsQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUFDLENBQUE7QUFDckUsQ0FBQztBQUZELDRDQUVDIn0=
@@ -0,0 +1,115 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as types from "./types";
3
+ /**
4
+ * Get information about a virtual machine image template
5
+ * Azure REST API version: 2022-07-01.
6
+ */
7
+ export declare function getVirtualMachineImageTemplate(args: GetVirtualMachineImageTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualMachineImageTemplateResult>;
8
+ export interface GetVirtualMachineImageTemplateArgs {
9
+ /**
10
+ * The name of the image Template
11
+ */
12
+ imageTemplateName: string;
13
+ /**
14
+ * The name of the resource group.
15
+ */
16
+ resourceGroupName: string;
17
+ }
18
+ /**
19
+ * Image template is an ARM resource managed by Microsoft.VirtualMachineImages provider
20
+ */
21
+ export interface GetVirtualMachineImageTemplateResult {
22
+ /**
23
+ * 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).
24
+ */
25
+ readonly buildTimeoutInMinutes?: number;
26
+ /**
27
+ * Specifies the properties used to describe the customization steps of the image, like Image source etc
28
+ */
29
+ readonly customize?: (types.outputs.ImageTemplateFileCustomizerResponse | types.outputs.ImageTemplatePowerShellCustomizerResponse | types.outputs.ImageTemplateRestartCustomizerResponse | types.outputs.ImageTemplateShellCustomizerResponse | types.outputs.ImageTemplateWindowsUpdateCustomizerResponse)[];
30
+ /**
31
+ * The distribution targets where the image output needs to go to.
32
+ */
33
+ readonly distribute: (types.outputs.ImageTemplateManagedImageDistributorResponse | types.outputs.ImageTemplateSharedImageDistributorResponse | types.outputs.ImageTemplateVhdDistributorResponse)[];
34
+ /**
35
+ * 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.
36
+ */
37
+ readonly exactStagingResourceGroup: string;
38
+ /**
39
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
40
+ */
41
+ readonly id: string;
42
+ /**
43
+ * The identity of the image template, if configured.
44
+ */
45
+ readonly identity: types.outputs.ImageTemplateIdentityResponse;
46
+ /**
47
+ * State of 'run' that is currently executing or was last executed.
48
+ */
49
+ readonly lastRunStatus: types.outputs.ImageTemplateLastRunStatusResponse;
50
+ /**
51
+ * The geo-location where the resource lives
52
+ */
53
+ readonly location: string;
54
+ /**
55
+ * The name of the resource
56
+ */
57
+ readonly name: string;
58
+ /**
59
+ * Specifies optimization to be performed on image.
60
+ */
61
+ readonly optimize?: types.outputs.ImageTemplatePropertiesResponseOptimize;
62
+ /**
63
+ * Provisioning error, if any
64
+ */
65
+ readonly provisioningError: types.outputs.ProvisioningErrorResponse;
66
+ /**
67
+ * Provisioning state of the resource
68
+ */
69
+ readonly provisioningState: string;
70
+ /**
71
+ * Specifies the properties used to describe the source image.
72
+ */
73
+ readonly source: types.outputs.ImageTemplateManagedImageSourceResponse | types.outputs.ImageTemplatePlatformImageSourceResponse | types.outputs.ImageTemplateSharedImageVersionSourceResponse;
74
+ /**
75
+ * 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.
76
+ */
77
+ readonly stagingResourceGroup?: string;
78
+ /**
79
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
80
+ */
81
+ readonly systemData: types.outputs.SystemDataResponse;
82
+ /**
83
+ * Resource tags.
84
+ */
85
+ readonly tags?: {
86
+ [key: string]: string;
87
+ };
88
+ /**
89
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
90
+ */
91
+ readonly type: string;
92
+ /**
93
+ * Configuration options and list of validations to be performed on the resulting image.
94
+ */
95
+ readonly validate?: types.outputs.ImageTemplatePropertiesResponseValidate;
96
+ /**
97
+ * Describes how virtual machine is set up to build images
98
+ */
99
+ readonly vmProfile?: types.outputs.ImageTemplateVmProfileResponse;
100
+ }
101
+ /**
102
+ * Get information about a virtual machine image template
103
+ * Azure REST API version: 2022-07-01.
104
+ */
105
+ export declare function getVirtualMachineImageTemplateOutput(args: GetVirtualMachineImageTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVirtualMachineImageTemplateResult>;
106
+ export interface GetVirtualMachineImageTemplateOutputArgs {
107
+ /**
108
+ * The name of the image Template
109
+ */
110
+ imageTemplateName: pulumi.Input<string>;
111
+ /**
112
+ * The name of the resource group.
113
+ */
114
+ resourceGroupName: pulumi.Input<string>;
115
+ }
@@ -0,0 +1,26 @@
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
+ * Azure REST API version: 2022-07-01.
9
+ */
10
+ function getVirtualMachineImageTemplate(args, opts) {
11
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
12
+ return pulumi.runtime.invoke("azure-native:virtualmachineimages:getVirtualMachineImageTemplate", {
13
+ "imageTemplateName": args.imageTemplateName,
14
+ "resourceGroupName": args.resourceGroupName,
15
+ }, opts);
16
+ }
17
+ exports.getVirtualMachineImageTemplate = getVirtualMachineImageTemplate;
18
+ /**
19
+ * Get information about a virtual machine image template
20
+ * Azure REST API version: 2022-07-01.
21
+ */
22
+ function getVirtualMachineImageTemplateOutput(args, opts) {
23
+ return pulumi.output(args).apply((a) => getVirtualMachineImageTemplate(a, opts));
24
+ }
25
+ exports.getVirtualMachineImageTemplateOutput = getVirtualMachineImageTemplateOutput;
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0VmlydHVhbE1hY2hpbmVJbWFnZVRlbXBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZ2V0VmlydHVhbE1hY2hpbmVJbWFnZVRlbXBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHlDQUF5QztBQUN6QywwRUFBMEU7QUFFMUU7OztHQUdHO0FBQ0gsU0FBZ0IsOEJBQThCLENBQUMsSUFBd0MsRUFBRSxJQUEyQjtJQUVoSCxJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLElBQUksRUFBRSxDQUFDLENBQUM7SUFDekUsT0FBTyxNQUFNLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxrRUFBa0UsRUFBRTtRQUM3RixtQkFBbUIsRUFBRSxJQUFJLENBQUMsaUJBQWlCO1FBQzNDLG1CQUFtQixFQUFFLElBQUksQ0FBQyxpQkFBaUI7S0FDOUMsRUFBRSxJQUFJLENBQUMsQ0FBQztBQUNiLENBQUM7QUFQRCx3RUFPQztBQThGRDs7O0dBR0c7QUFDSCxTQUFnQixvQ0FBb0MsQ0FBQyxJQUE4QyxFQUFFLElBQTJCO0lBQzVILE9BQU8sTUFBTSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFNLEVBQUUsRUFBRSxDQUFDLDhCQUE4QixDQUFDLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFBO0FBQ3pGLENBQUM7QUFGRCxvRkFFQyJ9
package/index.d.ts ADDED
@@ -0,0 +1,15 @@
1
+ export { GetTriggerArgs, GetTriggerResult, GetTriggerOutputArgs } from "./getTrigger";
2
+ export declare const getTrigger: typeof import("./getTrigger").getTrigger;
3
+ export declare const getTriggerOutput: typeof import("./getTrigger").getTriggerOutput;
4
+ export { GetVirtualMachineImageTemplateArgs, GetVirtualMachineImageTemplateResult, GetVirtualMachineImageTemplateOutputArgs } from "./getVirtualMachineImageTemplate";
5
+ export declare const getVirtualMachineImageTemplate: typeof import("./getVirtualMachineImageTemplate").getVirtualMachineImageTemplate;
6
+ export declare const getVirtualMachineImageTemplateOutput: typeof import("./getVirtualMachineImageTemplate").getVirtualMachineImageTemplateOutput;
7
+ export { TriggerArgs } from "./trigger";
8
+ export type Trigger = import("./trigger").Trigger;
9
+ export declare const Trigger: typeof import("./trigger").Trigger;
10
+ export { VirtualMachineImageTemplateArgs } from "./virtualMachineImageTemplate";
11
+ export type VirtualMachineImageTemplate = import("./virtualMachineImageTemplate").VirtualMachineImageTemplate;
12
+ export declare const VirtualMachineImageTemplate: typeof import("./virtualMachineImageTemplate").VirtualMachineImageTemplate;
13
+ export * from "./types/enums";
14
+ import * as v20220701 from "./v20220701";
15
+ export { v20220701, };
package/index.js ADDED
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.v20220701 = exports.VirtualMachineImageTemplate = exports.Trigger = exports.getVirtualMachineImageTemplateOutput = exports.getVirtualMachineImageTemplate = exports.getTriggerOutput = exports.getTrigger = void 0;
18
+ const pulumi = require("@pulumi/pulumi");
19
+ const utilities = require("@kengachu-pulumi/azure-native-core/utilities");
20
+ exports.getTrigger = null;
21
+ exports.getTriggerOutput = null;
22
+ utilities.lazyLoad(exports, ["getTrigger", "getTriggerOutput"], () => require("./getTrigger"));
23
+ exports.getVirtualMachineImageTemplate = null;
24
+ exports.getVirtualMachineImageTemplateOutput = null;
25
+ utilities.lazyLoad(exports, ["getVirtualMachineImageTemplate", "getVirtualMachineImageTemplateOutput"], () => require("./getVirtualMachineImageTemplate"));
26
+ exports.Trigger = null;
27
+ utilities.lazyLoad(exports, ["Trigger"], () => require("./trigger"));
28
+ exports.VirtualMachineImageTemplate = null;
29
+ utilities.lazyLoad(exports, ["VirtualMachineImageTemplate"], () => require("./virtualMachineImageTemplate"));
30
+ // Export enums:
31
+ __exportStar(require("./types/enums"), exports);
32
+ // Export sub-modules:
33
+ const v20220701 = require("./v20220701");
34
+ exports.v20220701 = v20220701;
35
+ const _module = {
36
+ version: utilities.getVersion(),
37
+ construct: (name, type, urn) => {
38
+ switch (type) {
39
+ case "azure-native:virtualmachineimages:Trigger":
40
+ return new exports.Trigger(name, undefined, { urn });
41
+ case "azure-native:virtualmachineimages:VirtualMachineImageTemplate":
42
+ return new exports.VirtualMachineImageTemplate(name, undefined, { urn });
43
+ default:
44
+ throw new Error(`unknown resource type ${type}`);
45
+ }
46
+ },
47
+ };
48
+ pulumi.runtime.registerResourceModule("azure-native", "virtualmachineimages", _module);
49
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHlDQUF5QztBQUN6QywwRUFBMEU7QUFHN0QsUUFBQSxVQUFVLEdBQTZDLElBQVcsQ0FBQztBQUNuRSxRQUFBLGdCQUFnQixHQUFtRCxJQUFXLENBQUM7QUFDNUYsU0FBUyxDQUFDLFFBQVEsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxZQUFZLEVBQUMsa0JBQWtCLENBQUMsRUFBRSxHQUFHLEVBQUUsQ0FBQyxPQUFPLENBQUMs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O2dCQUNoRSxPQUFPLElBQUksbUNBQTJCLENBQUMsSUFBSSxFQUFPLFNBQVMsRUFBRSxFQUFFLEdBQUcsRUFBRSxDQUFDLENBQUE7WUFDekU7Z0JBQ0ksTUFBTSxJQUFJLEtBQUssQ0FBQyx5QkFBeUIsSUFBSSxFQUFFLENBQUMsQ0FBQztTQUN4RDtJQUNMLENBQUM7Q0FDSixDQUFDO0FBQ0YsTUFBTSxDQUFDLE9BQU8sQ0FBQyxzQkFBc0IsQ0FBQyxjQUFjLEVBQUUsc0JBQXNCLEVBQUUsT0FBTyxDQUFDLENBQUEifQ==
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@kengachu-pulumi/azure-native-virtualmachineimages",
3
+ "version": "2.8.3",
4
+ "description": "Pulumi Azure Native package for virtualmachineimages",
5
+ "keywords": [
6
+ "pulumi",
7
+ "azure",
8
+ "azure-native",
9
+ "category/cloud",
10
+ "kind/native"
11
+ ],
12
+ "homepage": "https://pulumi.com",
13
+ "repository": {
14
+ "url": "git+https://github.com/Ankvi/pulumi-azure-native.git",
15
+ "type": "git"
16
+ },
17
+ "dependencies": {
18
+ "@pulumi/pulumi": "^3.0.0",
19
+ "@kengachu-pulumi/azure-native-core": "^2.8.3"
20
+ },
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "devDependencies": {
25
+ "typescript": "^5.0.0",
26
+ "@types/node": "^20.0.0"
27
+ },
28
+ "scripts": {
29
+ "build": "tsc",
30
+ "lint": "tsc --noEmit",
31
+ "prepublish": "test -f index.js"
32
+ }
33
+ }
package/trigger.d.ts ADDED
@@ -0,0 +1,77 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as types from "./types";
3
+ /**
4
+ * Represents a trigger that can invoke an image template build.
5
+ * Azure REST API version: 2022-07-01.
6
+ */
7
+ export declare class Trigger extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing Trigger resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Trigger;
17
+ /** @internal */
18
+ static readonly __pulumiType = "azure-native:virtualmachineimages:Trigger";
19
+ /**
20
+ * Returns true if the given object is an instance of Trigger. This is designed to work even
21
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
22
+ */
23
+ static isInstance(obj: any): obj is Trigger;
24
+ /**
25
+ * The kind of trigger.
26
+ */
27
+ readonly kind: pulumi.Output<string>;
28
+ /**
29
+ * The name of the resource
30
+ */
31
+ readonly name: pulumi.Output<string>;
32
+ /**
33
+ * Provisioning state of the resource
34
+ */
35
+ readonly provisioningState: pulumi.Output<string>;
36
+ /**
37
+ * Trigger status
38
+ */
39
+ readonly status: pulumi.Output<types.outputs.TriggerStatusResponse>;
40
+ /**
41
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
42
+ */
43
+ readonly systemData: pulumi.Output<types.outputs.SystemDataResponse>;
44
+ /**
45
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
46
+ */
47
+ readonly type: pulumi.Output<string>;
48
+ /**
49
+ * Create a Trigger resource with the given unique name, arguments, and options.
50
+ *
51
+ * @param name The _unique_ name of the resource.
52
+ * @param args The arguments to use to populate this resource's properties.
53
+ * @param opts A bag of options that control this resource's behavior.
54
+ */
55
+ constructor(name: string, args: TriggerArgs, opts?: pulumi.CustomResourceOptions);
56
+ }
57
+ /**
58
+ * The set of arguments for constructing a Trigger resource.
59
+ */
60
+ export interface TriggerArgs {
61
+ /**
62
+ * The name of the image Template
63
+ */
64
+ imageTemplateName: pulumi.Input<string>;
65
+ /**
66
+ * The kind of trigger.
67
+ */
68
+ kind: pulumi.Input<string>;
69
+ /**
70
+ * The name of the resource group.
71
+ */
72
+ resourceGroupName: pulumi.Input<string>;
73
+ /**
74
+ * The name of the trigger
75
+ */
76
+ triggerName?: pulumi.Input<string>;
77
+ }
package/trigger.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Trigger = void 0;
4
+ const pulumi = require("@pulumi/pulumi");
5
+ const utilities = require("@kengachu-pulumi/azure-native-core/utilities");
6
+ /**
7
+ * Represents a trigger that can invoke an image template build.
8
+ * Azure REST API version: 2022-07-01.
9
+ */
10
+ class Trigger extends pulumi.CustomResource {
11
+ /**
12
+ * Get an existing Trigger 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 Trigger(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
21
+ }
22
+ /**
23
+ * Returns true if the given object is an instance of Trigger. 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'] === Trigger.__pulumiType;
31
+ }
32
+ /**
33
+ * Create a Trigger 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
+ let resourceInputs = {};
41
+ opts = opts || {};
42
+ if (!opts.id) {
43
+ if ((!args || args.imageTemplateName === undefined) && !opts.urn) {
44
+ throw new Error("Missing required property 'imageTemplateName'");
45
+ }
46
+ if ((!args || args.kind === undefined) && !opts.urn) {
47
+ throw new Error("Missing required property 'kind'");
48
+ }
49
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
50
+ throw new Error("Missing required property 'resourceGroupName'");
51
+ }
52
+ resourceInputs["imageTemplateName"] = args ? args.imageTemplateName : undefined;
53
+ resourceInputs["kind"] = args ? args.kind : undefined;
54
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
55
+ resourceInputs["triggerName"] = args ? args.triggerName : undefined;
56
+ resourceInputs["name"] = undefined /*out*/;
57
+ resourceInputs["provisioningState"] = undefined /*out*/;
58
+ resourceInputs["status"] = undefined /*out*/;
59
+ resourceInputs["systemData"] = undefined /*out*/;
60
+ resourceInputs["type"] = undefined /*out*/;
61
+ }
62
+ else {
63
+ resourceInputs["kind"] = undefined /*out*/;
64
+ resourceInputs["name"] = undefined /*out*/;
65
+ resourceInputs["provisioningState"] = undefined /*out*/;
66
+ resourceInputs["status"] = undefined /*out*/;
67
+ resourceInputs["systemData"] = undefined /*out*/;
68
+ resourceInputs["type"] = undefined /*out*/;
69
+ }
70
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
71
+ const aliasOpts = { aliases: [{ type: "azure-native:virtualmachineimages/v20220701:Trigger" }] };
72
+ opts = pulumi.mergeOptions(opts, aliasOpts);
73
+ super(Trigger.__pulumiType, name, resourceInputs, opts);
74
+ }
75
+ }
76
+ exports.Trigger = Trigger;
77
+ /** @internal */
78
+ Trigger.__pulumiType = 'azure-native:virtualmachineimages:Trigger';
79
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJpZ2dlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRyaWdnZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUNBQXlDO0FBQ3pDLDBFQUEwRTtBQUUxRTs7O0dBR0c7QUFDSCxNQUFhLE9BQVEsU0FBUSxNQUFNLENBQUMsY0FBYztJQUM5Qzs7Ozs7OztPQU9HO0lBQ0ksTUFBTSxDQUFDLEdBQUcsQ0FBQyxJQUFZLEVBQUUsRUFBMkIsRUFBRS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NBQWMsQ0FBQyxNQUFNLENBQUMsR0FBRyxTQUFTLENBQUMsT0FBTyxDQUFDO1lBQzNDLGNBQWMsQ0FBQyxtQkFBbUIsQ0FBQyxHQUFHLFNBQVMsQ0FBQyxPQUFPLENBQUM7WUFDeEQsY0FBYyxDQUFDLFFBQVEsQ0FBQyxHQUFHLFNBQVMsQ0FBQyxPQUFPLENBQUM7WUFDN0MsY0FBYyxDQUFDLFlBQVksQ0FBQyxHQUFHLFNBQVMsQ0FBQyxPQUFPLENBQUM7WUFDakQsY0FBYyxDQUFDLE1BQU0sQ0FBQyxHQUFHLFNBQVMsQ0FBQyxPQUFPLENBQUM7U0FDOUM7UUFDRCxJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLENBQUMsQ0FBQztRQUNuRSxNQUFNLFNBQVMsR0FBRyxFQUFFLE9BQU8sRUFBRSxDQUFDLEVBQUUsSUFBSSxFQUFFLHFEQUFxRCxFQUFFLENBQUMsRUFBRSxDQUFDO1FBQ2pHLElBQUksR0FBRyxNQUFNLENBQUMsWUFBWSxDQUFDLElBQUksRUFBRSxTQUFTLENBQUMsQ0FBQztRQUM1QyxLQUFLLENBQUMsT0FBTyxDQUFDLFlBQVksRUFBRSxJQUFJLEVBQUUsY0FBYyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQzVELENBQUM7O0FBN0ZMLDBCQThGQztBQWpGRyxnQkFBZ0I7QUFDTyxvQkFBWSxHQUFHLDJDQUEyQyxDQUFDIn0=
@@ -0,0 +1,16 @@
1
+ export declare const ResourceIdentityType: {
2
+ readonly UserAssigned: "UserAssigned";
3
+ readonly None: "None";
4
+ };
5
+ export type ResourceIdentityType = (typeof ResourceIdentityType)[keyof typeof ResourceIdentityType];
6
+ export declare const SharedImageStorageAccountType: {
7
+ readonly Standard_LRS: "Standard_LRS";
8
+ readonly Standard_ZRS: "Standard_ZRS";
9
+ readonly Premium_LRS: "Premium_LRS";
10
+ };
11
+ export type SharedImageStorageAccountType = (typeof SharedImageStorageAccountType)[keyof typeof SharedImageStorageAccountType];
12
+ export declare const VMBootOptimizationState: {
13
+ readonly Enabled: "Enabled";
14
+ readonly Disabled: "Disabled";
15
+ };
16
+ export type VMBootOptimizationState = (typeof VMBootOptimizationState)[keyof typeof VMBootOptimizationState];
package/types/enums.js ADDED
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VMBootOptimizationState = exports.SharedImageStorageAccountType = exports.ResourceIdentityType = void 0;
4
+ exports.ResourceIdentityType = {
5
+ UserAssigned: "UserAssigned",
6
+ None: "None",
7
+ };
8
+ exports.SharedImageStorageAccountType = {
9
+ Standard_LRS: "Standard_LRS",
10
+ Standard_ZRS: "Standard_ZRS",
11
+ Premium_LRS: "Premium_LRS",
12
+ };
13
+ exports.VMBootOptimizationState = {
14
+ Enabled: "Enabled",
15
+ Disabled: "Disabled",
16
+ };
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJlbnVtcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBYSxRQUFBLG9CQUFvQixHQUFHO0lBQ2hDLFlBQVksRUFBRSxjQUFjO0lBQzVCLElBQUksRUFBRSxNQUFNO0NBQ04sQ0FBQztBQUlFLFFBQUEsNkJBQTZCLEdBQUc7SUFDekMsWUFBWSxFQUFFLGNBQWM7SUFDNUIsWUFBWSxFQUFFLGNBQWM7SUFDNUIsV0FBVyxFQUFFLGFBQWE7Q0FDcEIsQ0FBQztBQUlFLFFBQUEsdUJBQXVCLEdBQUc7SUFDbkMsT0FBTyxFQUFFLFNBQVM7SUFDbEIsUUFBUSxFQUFFLFVBQVU7Q0FDZCxDQUFDIn0=
@@ -0,0 +1,3 @@
1
+ export * as enums from "./enums";
2
+ export * as inputs from "./input";
3
+ export * as outputs from "./output";
package/types/index.js ADDED
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.outputs = exports.inputs = exports.enums = void 0;
4
+ exports.enums = require("./enums");
5
+ exports.inputs = require("./input");
6
+ exports.outputs = require("./output");
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxtQ0FBaUM7QUFDakMsb0NBQWtDO0FBQ2xDLHNDQUFvQyJ9