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

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,76 @@
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
+ */
6
+ export declare class Trigger extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing Trigger 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): Trigger;
16
+ /** @internal */
17
+ static readonly __pulumiType = "azure-native:virtualmachineimages/v20230701:Trigger";
18
+ /**
19
+ * Returns true if the given object is an instance of Trigger. 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 Trigger;
23
+ /**
24
+ * The kind of trigger.
25
+ */
26
+ readonly kind: pulumi.Output<string>;
27
+ /**
28
+ * The name of the resource
29
+ */
30
+ readonly name: pulumi.Output<string>;
31
+ /**
32
+ * Provisioning state of the resource
33
+ */
34
+ readonly provisioningState: pulumi.Output<string>;
35
+ /**
36
+ * Trigger status
37
+ */
38
+ readonly status: pulumi.Output<types.outputs.TriggerStatusResponse>;
39
+ /**
40
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
41
+ */
42
+ readonly systemData: pulumi.Output<types.outputs.SystemDataResponse>;
43
+ /**
44
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
45
+ */
46
+ readonly type: pulumi.Output<string>;
47
+ /**
48
+ * Create a Trigger resource with the given unique name, arguments, and options.
49
+ *
50
+ * @param name The _unique_ name of the resource.
51
+ * @param args The arguments to use to populate this resource's properties.
52
+ * @param opts A bag of options that control this resource's behavior.
53
+ */
54
+ constructor(name: string, args: TriggerArgs, opts?: pulumi.CustomResourceOptions);
55
+ }
56
+ /**
57
+ * The set of arguments for constructing a Trigger resource.
58
+ */
59
+ export interface TriggerArgs {
60
+ /**
61
+ * The name of the image Template
62
+ */
63
+ imageTemplateName: pulumi.Input<string>;
64
+ /**
65
+ * The kind of trigger.
66
+ */
67
+ kind: pulumi.Input<string>;
68
+ /**
69
+ * The name of the resource group.
70
+ */
71
+ resourceGroupName: pulumi.Input<string>;
72
+ /**
73
+ * The name of the trigger
74
+ */
75
+ triggerName?: pulumi.Input<string>;
76
+ }
@@ -0,0 +1,78 @@
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
+ */
9
+ class Trigger extends pulumi.CustomResource {
10
+ /**
11
+ * Get an existing Trigger resource's state with the given name, ID, and optional extra
12
+ * properties used to qualify the lookup.
13
+ *
14
+ * @param name The _unique_ name of the resulting resource.
15
+ * @param id The _unique_ provider ID of the resource to lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, opts) {
19
+ return new Trigger(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of Trigger. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === Trigger.__pulumiType;
30
+ }
31
+ /**
32
+ * Create a Trigger resource with the given unique name, arguments, and options.
33
+ *
34
+ * @param name The _unique_ name of the resource.
35
+ * @param args The arguments to use to populate this resource's properties.
36
+ * @param opts A bag of options that control this resource's behavior.
37
+ */
38
+ constructor(name, args, opts) {
39
+ let resourceInputs = {};
40
+ opts = opts || {};
41
+ if (!opts.id) {
42
+ if ((!args || args.imageTemplateName === undefined) && !opts.urn) {
43
+ throw new Error("Missing required property 'imageTemplateName'");
44
+ }
45
+ if ((!args || args.kind === undefined) && !opts.urn) {
46
+ throw new Error("Missing required property 'kind'");
47
+ }
48
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
49
+ throw new Error("Missing required property 'resourceGroupName'");
50
+ }
51
+ resourceInputs["imageTemplateName"] = args ? args.imageTemplateName : undefined;
52
+ resourceInputs["kind"] = args ? args.kind : undefined;
53
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
54
+ resourceInputs["triggerName"] = args ? args.triggerName : undefined;
55
+ resourceInputs["name"] = undefined /*out*/;
56
+ resourceInputs["provisioningState"] = undefined /*out*/;
57
+ resourceInputs["status"] = undefined /*out*/;
58
+ resourceInputs["systemData"] = undefined /*out*/;
59
+ resourceInputs["type"] = undefined /*out*/;
60
+ }
61
+ else {
62
+ resourceInputs["kind"] = undefined /*out*/;
63
+ resourceInputs["name"] = undefined /*out*/;
64
+ resourceInputs["provisioningState"] = undefined /*out*/;
65
+ resourceInputs["status"] = undefined /*out*/;
66
+ resourceInputs["systemData"] = undefined /*out*/;
67
+ resourceInputs["type"] = undefined /*out*/;
68
+ }
69
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
70
+ const aliasOpts = { aliases: [{ type: "azure-native:virtualmachineimages:Trigger" }, { type: "azure-native:virtualmachineimages/v20220701:Trigger" }] };
71
+ opts = pulumi.mergeOptions(opts, aliasOpts);
72
+ super(Trigger.__pulumiType, name, resourceInputs, opts);
73
+ }
74
+ }
75
+ exports.Trigger = Trigger;
76
+ /** @internal */
77
+ Trigger.__pulumiType = 'azure-native:virtualmachineimages/v20230701:Trigger';
78
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjo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QztJQUM1RCxDQUFDOztBQTdGTCwwQkE4RkM7QUFqRkcsZ0JBQWdCO0FBQ08sb0JBQVksR0FBRyxxREFBcUQsQ0FBQyJ9
@@ -0,0 +1,33 @@
1
+ export declare const OnBuildError: {
2
+ readonly Cleanup: "cleanup";
3
+ readonly Abort: "abort";
4
+ };
5
+ /**
6
+ * If there is a validation error and this field is set to 'cleanup', the build VM and associated network resources will be cleaned up. This is the default behavior. If there is a validation error and this field is set to 'abort', the build VM will be preserved.
7
+ */
8
+ export type OnBuildError = (typeof OnBuildError)[keyof typeof OnBuildError];
9
+ export declare const ResourceIdentityType: {
10
+ readonly UserAssigned: "UserAssigned";
11
+ readonly None: "None";
12
+ };
13
+ /**
14
+ * The type of identity used for the image template. The type 'None' will remove any identities from the image template.
15
+ */
16
+ export type ResourceIdentityType = (typeof ResourceIdentityType)[keyof typeof ResourceIdentityType];
17
+ export declare const SharedImageStorageAccountType: {
18
+ readonly Standard_LRS: "Standard_LRS";
19
+ readonly Standard_ZRS: "Standard_ZRS";
20
+ readonly Premium_LRS: "Premium_LRS";
21
+ };
22
+ /**
23
+ * Specifies the storage account type to be used to store the image in this region. Omit to use the default (Standard_LRS).
24
+ */
25
+ export type SharedImageStorageAccountType = (typeof SharedImageStorageAccountType)[keyof typeof SharedImageStorageAccountType];
26
+ export declare const VMBootOptimizationState: {
27
+ readonly Enabled: "Enabled";
28
+ readonly Disabled: "Disabled";
29
+ };
30
+ /**
31
+ * Enabling this field will improve VM boot time by optimizing the final customized image output.
32
+ */
33
+ export type VMBootOptimizationState = (typeof VMBootOptimizationState)[keyof typeof VMBootOptimizationState];
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VMBootOptimizationState = exports.SharedImageStorageAccountType = exports.ResourceIdentityType = exports.OnBuildError = void 0;
4
+ exports.OnBuildError = {
5
+ Cleanup: "cleanup",
6
+ Abort: "abort",
7
+ };
8
+ exports.ResourceIdentityType = {
9
+ UserAssigned: "UserAssigned",
10
+ None: "None",
11
+ };
12
+ exports.SharedImageStorageAccountType = {
13
+ Standard_LRS: "Standard_LRS",
14
+ Standard_ZRS: "Standard_ZRS",
15
+ Premium_LRS: "Premium_LRS",
16
+ };
17
+ exports.VMBootOptimizationState = {
18
+ Enabled: "Enabled",
19
+ Disabled: "Disabled",
20
+ };
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJlbnVtcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBYSxRQUFBLFlBQVksR0FBRztJQUN4QixPQUFPLEVBQUUsU0FBUztJQUNsQixLQUFLLEVBQUUsT0FBTztDQUNSLENBQUM7QUFPRSxRQUFBLG9CQUFvQixHQUFHO0lBQ2hDLFlBQVksRUFBRSxjQUFjO0lBQzVCLElBQUksRUFBRSxNQUFNO0NBQ04sQ0FBQztBQU9FLFFBQUEsNkJBQTZCLEdBQUc7SUFDekMsWUFBWSxFQUFFLGNBQWM7SUFDNUIsWUFBWSxFQUFFLGNBQWM7SUFDNUIsV0FBVyxFQUFFLGFBQWE7Q0FDcEIsQ0FBQztBQU9FLFFBQUEsdUJBQXVCLEdBQUc7SUFDbkMsT0FBTyxFQUFFLFNBQVM7SUFDbEIsUUFBUSxFQUFFLFVBQVU7Q0FDZCxDQUFDIn0=
@@ -0,0 +1,3 @@
1
+ export * as enums from "./enums";
2
+ export * as inputs from "./input";
3
+ export * as outputs from "./output";
@@ -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