@pulumi/azure 5.84.0-alpha.1720601538 → 5.84.0-alpha.1721110333
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/apimanagement/identityProviderAad.d.ts +15 -3
- package/apimanagement/identityProviderAad.js +2 -0
- package/apimanagement/identityProviderAad.js.map +1 -1
- package/apimanagement/identityProviderAadb2c.d.ts +12 -0
- package/apimanagement/identityProviderAadb2c.js +2 -0
- package/apimanagement/identityProviderAadb2c.js.map +1 -1
- package/cognitive/account.d.ts +3 -3
- package/communication/service.js +2 -0
- package/communication/service.js.map +1 -1
- package/compute/index.d.ts +6 -0
- package/compute/index.js +11 -1
- package/compute/index.js.map +1 -1
- package/compute/restorePoint.d.ts +86 -0
- package/compute/restorePoint.js +69 -0
- package/compute/restorePoint.js.map +1 -0
- package/compute/restorePointCollection.d.ts +17 -17
- package/compute/restorePointCollection.js +4 -2
- package/compute/restorePointCollection.js.map +1 -1
- package/compute/virtualMachineRestorePointCollection.d.ts +181 -0
- package/compute/virtualMachineRestorePointCollection.js +144 -0
- package/compute/virtualMachineRestorePointCollection.js.map +1 -0
- package/config/vars.d.ts +1 -1
- package/containerservice/kubernetesCluster.d.ts +0 -6
- package/containerservice/kubernetesCluster.js.map +1 -1
- package/devcenter/devBoxDefinition.d.ts +152 -0
- package/devcenter/devBoxDefinition.js +106 -0
- package/devcenter/devBoxDefinition.js.map +1 -0
- package/devcenter/environmentType.d.ts +116 -0
- package/devcenter/environmentType.js +94 -0
- package/devcenter/environmentType.js.map +1 -0
- package/devcenter/index.d.ts +6 -0
- package/devcenter/index.js +11 -1
- package/devcenter/index.js.map +1 -1
- package/elasticsan/getVolumeSnapshot.d.ts +100 -0
- package/elasticsan/getVolumeSnapshot.js +68 -0
- package/elasticsan/getVolumeSnapshot.js.map +1 -0
- package/elasticsan/index.d.ts +3 -0
- package/elasticsan/index.js +4 -1
- package/elasticsan/index.js.map +1 -1
- package/eventgrid/zMixins.js +3 -3
- package/eventhub/queue.d.ts +27 -0
- package/eventhub/queue.js +6 -0
- package/eventhub/queue.js.map +1 -1
- package/eventhub/subscription.d.ts +10 -1
- package/eventhub/subscription.js +2 -0
- package/eventhub/subscription.js.map +1 -1
- package/eventhub/topic.d.ts +27 -0
- package/eventhub/topic.js +6 -0
- package/eventhub/topic.js.map +1 -1
- package/hdinsight/interactiveQueryCluster.d.ts +1 -1
- package/hdinsight/sparkCluster.d.ts +1 -1
- package/machinelearning/computeCluster.d.ts +3 -3
- package/monitoring/scheduledQueryRulesAlert.d.ts +2 -0
- package/monitoring/scheduledQueryRulesAlert.js +2 -0
- package/monitoring/scheduledQueryRulesAlert.js.map +1 -1
- package/network/routeTable.d.ts +10 -1
- package/network/routeTable.js +2 -0
- package/network/routeTable.js.map +1 -1
- package/package.json +2 -2
- package/paloalto/localRulestackRule.d.ts +7 -0
- package/paloalto/localRulestackRule.js +1 -0
- package/paloalto/localRulestackRule.js.map +1 -1
- package/provider.d.ts +1 -1
- package/recoveryservices/vault.d.ts +1 -1
- package/sentinel/logAnalyticsWorkspaceOnboarding.d.ts +10 -14
- package/sentinel/logAnalyticsWorkspaceOnboarding.js +1 -2
- package/sentinel/logAnalyticsWorkspaceOnboarding.js.map +1 -1
- package/servicebus/queue.d.ts +27 -0
- package/servicebus/queue.js +6 -0
- package/servicebus/queue.js.map +1 -1
- package/servicebus/subscription.d.ts +10 -1
- package/servicebus/subscription.js +2 -0
- package/servicebus/subscription.js.map +1 -1
- package/servicebus/topic.d.ts +27 -0
- package/servicebus/topic.js +6 -0
- package/servicebus/topic.js.map +1 -1
- package/types/input.d.ts +68 -11
- package/types/output.d.ts +94 -11
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a Dev Center Dev Box Definition.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
12
|
+
* name: "example-resources",
|
|
13
|
+
* location: "West Europe",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleDevCenter = new azure.devcenter.DevCenter("example", {
|
|
16
|
+
* name: "example-dc",
|
|
17
|
+
* resourceGroupName: example.name,
|
|
18
|
+
* location: example.location,
|
|
19
|
+
* identity: {
|
|
20
|
+
* type: "SystemAssigned",
|
|
21
|
+
* },
|
|
22
|
+
* });
|
|
23
|
+
* const exampleDevBoxDefinition = new azure.devcenter.DevBoxDefinition("example", {
|
|
24
|
+
* name: "example-dcet",
|
|
25
|
+
* location: example.location,
|
|
26
|
+
* devCenterId: exampleDevCenter.id,
|
|
27
|
+
* imageReferenceId: pulumi.interpolate`${exampleDevCenter.id}/galleries/default/images/microsoftvisualstudio_visualstudioplustools_vs-2022-ent-general-win10-m365-gen2`,
|
|
28
|
+
* skuName: "general_i_8c32gb256ssd_v2",
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* An existing Dev Center Dev Box Definition can be imported into Terraform using the `resource id`, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import azure:devcenter/devBoxDefinition:DevBoxDefinition example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevCenter/devCenters/dc1/devBoxDefinitions/et1
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare class DevBoxDefinition extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing DevBoxDefinition resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DevBoxDefinitionState, opts?: pulumi.CustomResourceOptions): DevBoxDefinition;
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of DevBoxDefinition. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj: any): obj is DevBoxDefinition;
|
|
56
|
+
/**
|
|
57
|
+
* The ID of the associated Dev Center. Changing this forces a new resource to be created.
|
|
58
|
+
*/
|
|
59
|
+
readonly devCenterId: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* The ID of the image for the Dev Center Dev Box Definition.
|
|
62
|
+
*/
|
|
63
|
+
readonly imageReferenceId: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The Azure Region where the Dev Center Dev Box Definition should exist. Changing this forces a new resource to be created.
|
|
66
|
+
*/
|
|
67
|
+
readonly location: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Specifies the name of this Dev Center Dev Box Definition. Changing this forces a new resource to be created.
|
|
70
|
+
*/
|
|
71
|
+
readonly name: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The name of the SKU for the Dev Center Dev Box Definition.
|
|
74
|
+
*/
|
|
75
|
+
readonly skuName: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* A mapping of tags which should be assigned to the Dev Center Dev Box Definition.
|
|
78
|
+
*/
|
|
79
|
+
readonly tags: pulumi.Output<{
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
} | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* Create a DevBoxDefinition resource with the given unique name, arguments, and options.
|
|
84
|
+
*
|
|
85
|
+
* @param name The _unique_ name of the resource.
|
|
86
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
87
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
88
|
+
*/
|
|
89
|
+
constructor(name: string, args: DevBoxDefinitionArgs, opts?: pulumi.CustomResourceOptions);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Input properties used for looking up and filtering DevBoxDefinition resources.
|
|
93
|
+
*/
|
|
94
|
+
export interface DevBoxDefinitionState {
|
|
95
|
+
/**
|
|
96
|
+
* The ID of the associated Dev Center. Changing this forces a new resource to be created.
|
|
97
|
+
*/
|
|
98
|
+
devCenterId?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The ID of the image for the Dev Center Dev Box Definition.
|
|
101
|
+
*/
|
|
102
|
+
imageReferenceId?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The Azure Region where the Dev Center Dev Box Definition should exist. Changing this forces a new resource to be created.
|
|
105
|
+
*/
|
|
106
|
+
location?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Specifies the name of this Dev Center Dev Box Definition. Changing this forces a new resource to be created.
|
|
109
|
+
*/
|
|
110
|
+
name?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The name of the SKU for the Dev Center Dev Box Definition.
|
|
113
|
+
*/
|
|
114
|
+
skuName?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* A mapping of tags which should be assigned to the Dev Center Dev Box Definition.
|
|
117
|
+
*/
|
|
118
|
+
tags?: pulumi.Input<{
|
|
119
|
+
[key: string]: pulumi.Input<string>;
|
|
120
|
+
}>;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* The set of arguments for constructing a DevBoxDefinition resource.
|
|
124
|
+
*/
|
|
125
|
+
export interface DevBoxDefinitionArgs {
|
|
126
|
+
/**
|
|
127
|
+
* The ID of the associated Dev Center. Changing this forces a new resource to be created.
|
|
128
|
+
*/
|
|
129
|
+
devCenterId: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The ID of the image for the Dev Center Dev Box Definition.
|
|
132
|
+
*/
|
|
133
|
+
imageReferenceId: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The Azure Region where the Dev Center Dev Box Definition should exist. Changing this forces a new resource to be created.
|
|
136
|
+
*/
|
|
137
|
+
location?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Specifies the name of this Dev Center Dev Box Definition. Changing this forces a new resource to be created.
|
|
140
|
+
*/
|
|
141
|
+
name?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* The name of the SKU for the Dev Center Dev Box Definition.
|
|
144
|
+
*/
|
|
145
|
+
skuName: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* A mapping of tags which should be assigned to the Dev Center Dev Box Definition.
|
|
148
|
+
*/
|
|
149
|
+
tags?: pulumi.Input<{
|
|
150
|
+
[key: string]: pulumi.Input<string>;
|
|
151
|
+
}>;
|
|
152
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.DevBoxDefinition = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Dev Center Dev Box Definition.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
18
|
+
* name: "example-resources",
|
|
19
|
+
* location: "West Europe",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleDevCenter = new azure.devcenter.DevCenter("example", {
|
|
22
|
+
* name: "example-dc",
|
|
23
|
+
* resourceGroupName: example.name,
|
|
24
|
+
* location: example.location,
|
|
25
|
+
* identity: {
|
|
26
|
+
* type: "SystemAssigned",
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* const exampleDevBoxDefinition = new azure.devcenter.DevBoxDefinition("example", {
|
|
30
|
+
* name: "example-dcet",
|
|
31
|
+
* location: example.location,
|
|
32
|
+
* devCenterId: exampleDevCenter.id,
|
|
33
|
+
* imageReferenceId: pulumi.interpolate`${exampleDevCenter.id}/galleries/default/images/microsoftvisualstudio_visualstudioplustools_vs-2022-ent-general-win10-m365-gen2`,
|
|
34
|
+
* skuName: "general_i_8c32gb256ssd_v2",
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ## Import
|
|
39
|
+
*
|
|
40
|
+
* An existing Dev Center Dev Box Definition can be imported into Terraform using the `resource id`, e.g.
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import azure:devcenter/devBoxDefinition:DevBoxDefinition example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevCenter/devCenters/dc1/devBoxDefinitions/et1
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
class DevBoxDefinition extends pulumi.CustomResource {
|
|
47
|
+
constructor(name, argsOrState, opts) {
|
|
48
|
+
let resourceInputs = {};
|
|
49
|
+
opts = opts || {};
|
|
50
|
+
if (opts.id) {
|
|
51
|
+
const state = argsOrState;
|
|
52
|
+
resourceInputs["devCenterId"] = state ? state.devCenterId : undefined;
|
|
53
|
+
resourceInputs["imageReferenceId"] = state ? state.imageReferenceId : undefined;
|
|
54
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
55
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
56
|
+
resourceInputs["skuName"] = state ? state.skuName : undefined;
|
|
57
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const args = argsOrState;
|
|
61
|
+
if ((!args || args.devCenterId === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'devCenterId'");
|
|
63
|
+
}
|
|
64
|
+
if ((!args || args.imageReferenceId === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'imageReferenceId'");
|
|
66
|
+
}
|
|
67
|
+
if ((!args || args.skuName === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'skuName'");
|
|
69
|
+
}
|
|
70
|
+
resourceInputs["devCenterId"] = args ? args.devCenterId : undefined;
|
|
71
|
+
resourceInputs["imageReferenceId"] = args ? args.imageReferenceId : undefined;
|
|
72
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
73
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
74
|
+
resourceInputs["skuName"] = args ? args.skuName : undefined;
|
|
75
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
76
|
+
}
|
|
77
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
|
+
super(DevBoxDefinition.__pulumiType, name, resourceInputs, opts);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Get an existing DevBoxDefinition resource's state with the given name, ID, and optional extra
|
|
82
|
+
* properties used to qualify the lookup.
|
|
83
|
+
*
|
|
84
|
+
* @param name The _unique_ name of the resulting resource.
|
|
85
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
86
|
+
* @param state Any extra arguments used during the lookup.
|
|
87
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
88
|
+
*/
|
|
89
|
+
static get(name, id, state, opts) {
|
|
90
|
+
return new DevBoxDefinition(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Returns true if the given object is an instance of DevBoxDefinition. This is designed to work even
|
|
94
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
95
|
+
*/
|
|
96
|
+
static isInstance(obj) {
|
|
97
|
+
if (obj === undefined || obj === null) {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
return obj['__pulumiType'] === DevBoxDefinition.__pulumiType;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.DevBoxDefinition = DevBoxDefinition;
|
|
104
|
+
/** @internal */
|
|
105
|
+
DevBoxDefinition.__pulumiType = 'azure:devcenter/devBoxDefinition:DevBoxDefinition';
|
|
106
|
+
//# sourceMappingURL=devBoxDefinition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devBoxDefinition.js","sourceRoot":"","sources":["../../devcenter/devBoxDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IA6DvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cA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GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;IA3FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CA6FC;AA/EG,gBAAgB;AACO,6BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a Dev Center Environment Type.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
12
|
+
* name: "example-resources",
|
|
13
|
+
* location: "West Europe",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleDevCenter = new azure.devcenter.DevCenter("example", {
|
|
16
|
+
* name: "example-dc",
|
|
17
|
+
* resourceGroupName: example.name,
|
|
18
|
+
* location: example.location,
|
|
19
|
+
* identity: {
|
|
20
|
+
* type: "SystemAssigned",
|
|
21
|
+
* },
|
|
22
|
+
* });
|
|
23
|
+
* const exampleEnvironmentType = new azure.devcenter.EnvironmentType("example", {
|
|
24
|
+
* name: "example-dcet",
|
|
25
|
+
* devCenterId: exampleDevCenter.id,
|
|
26
|
+
* tags: {
|
|
27
|
+
* Env: "Test",
|
|
28
|
+
* },
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* An existing Dev Center Environment Type can be imported into Terraform using the `resource id`, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import azure:devcenter/environmentType:EnvironmentType example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevCenter/devCenters/dc1/environmentTypes/et1
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare class EnvironmentType extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing EnvironmentType resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnvironmentTypeState, opts?: pulumi.CustomResourceOptions): EnvironmentType;
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of EnvironmentType. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj: any): obj is EnvironmentType;
|
|
56
|
+
/**
|
|
57
|
+
* The ID of the associated Dev Center. Changing this forces a new resource to be created.
|
|
58
|
+
*/
|
|
59
|
+
readonly devCenterId: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Specifies the name of this Dev Center Environment Type. Changing this forces a new resource to be created.
|
|
62
|
+
*/
|
|
63
|
+
readonly name: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* A mapping of tags which should be assigned to the Dev Center Environment Type.
|
|
66
|
+
*/
|
|
67
|
+
readonly tags: pulumi.Output<{
|
|
68
|
+
[key: string]: string;
|
|
69
|
+
} | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Create a EnvironmentType resource with the given unique name, arguments, and options.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resource.
|
|
74
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
75
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
76
|
+
*/
|
|
77
|
+
constructor(name: string, args: EnvironmentTypeArgs, opts?: pulumi.CustomResourceOptions);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Input properties used for looking up and filtering EnvironmentType resources.
|
|
81
|
+
*/
|
|
82
|
+
export interface EnvironmentTypeState {
|
|
83
|
+
/**
|
|
84
|
+
* The ID of the associated Dev Center. Changing this forces a new resource to be created.
|
|
85
|
+
*/
|
|
86
|
+
devCenterId?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Specifies the name of this Dev Center Environment Type. Changing this forces a new resource to be created.
|
|
89
|
+
*/
|
|
90
|
+
name?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* A mapping of tags which should be assigned to the Dev Center Environment Type.
|
|
93
|
+
*/
|
|
94
|
+
tags?: pulumi.Input<{
|
|
95
|
+
[key: string]: pulumi.Input<string>;
|
|
96
|
+
}>;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* The set of arguments for constructing a EnvironmentType resource.
|
|
100
|
+
*/
|
|
101
|
+
export interface EnvironmentTypeArgs {
|
|
102
|
+
/**
|
|
103
|
+
* The ID of the associated Dev Center. Changing this forces a new resource to be created.
|
|
104
|
+
*/
|
|
105
|
+
devCenterId: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Specifies the name of this Dev Center Environment Type. Changing this forces a new resource to be created.
|
|
108
|
+
*/
|
|
109
|
+
name?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* A mapping of tags which should be assigned to the Dev Center Environment Type.
|
|
112
|
+
*/
|
|
113
|
+
tags?: pulumi.Input<{
|
|
114
|
+
[key: string]: pulumi.Input<string>;
|
|
115
|
+
}>;
|
|
116
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.EnvironmentType = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Dev Center Environment Type.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
18
|
+
* name: "example-resources",
|
|
19
|
+
* location: "West Europe",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleDevCenter = new azure.devcenter.DevCenter("example", {
|
|
22
|
+
* name: "example-dc",
|
|
23
|
+
* resourceGroupName: example.name,
|
|
24
|
+
* location: example.location,
|
|
25
|
+
* identity: {
|
|
26
|
+
* type: "SystemAssigned",
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* const exampleEnvironmentType = new azure.devcenter.EnvironmentType("example", {
|
|
30
|
+
* name: "example-dcet",
|
|
31
|
+
* devCenterId: exampleDevCenter.id,
|
|
32
|
+
* tags: {
|
|
33
|
+
* Env: "Test",
|
|
34
|
+
* },
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ## Import
|
|
39
|
+
*
|
|
40
|
+
* An existing Dev Center Environment Type can be imported into Terraform using the `resource id`, e.g.
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import azure:devcenter/environmentType:EnvironmentType example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevCenter/devCenters/dc1/environmentTypes/et1
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
class EnvironmentType extends pulumi.CustomResource {
|
|
47
|
+
constructor(name, argsOrState, opts) {
|
|
48
|
+
let resourceInputs = {};
|
|
49
|
+
opts = opts || {};
|
|
50
|
+
if (opts.id) {
|
|
51
|
+
const state = argsOrState;
|
|
52
|
+
resourceInputs["devCenterId"] = state ? state.devCenterId : undefined;
|
|
53
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
54
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
const args = argsOrState;
|
|
58
|
+
if ((!args || args.devCenterId === undefined) && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'devCenterId'");
|
|
60
|
+
}
|
|
61
|
+
resourceInputs["devCenterId"] = args ? args.devCenterId : undefined;
|
|
62
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
63
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
64
|
+
}
|
|
65
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
66
|
+
super(EnvironmentType.__pulumiType, name, resourceInputs, opts);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Get an existing EnvironmentType resource's state with the given name, ID, and optional extra
|
|
70
|
+
* properties used to qualify the lookup.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resulting resource.
|
|
73
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
+
* @param state Any extra arguments used during the lookup.
|
|
75
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
+
*/
|
|
77
|
+
static get(name, id, state, opts) {
|
|
78
|
+
return new EnvironmentType(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Returns true if the given object is an instance of EnvironmentType. This is designed to work even
|
|
82
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
83
|
+
*/
|
|
84
|
+
static isInstance(obj) {
|
|
85
|
+
if (obj === undefined || obj === null) {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
return obj['__pulumiType'] === EnvironmentType.__pulumiType;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.EnvironmentType = EnvironmentType;
|
|
92
|
+
/** @internal */
|
|
93
|
+
EnvironmentType.__pulumiType = 'azure:devcenter/environmentType:EnvironmentType';
|
|
94
|
+
//# sourceMappingURL=environmentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environmentType.js","sourceRoot":"","sources":["../../devcenter/environmentType.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,eAAgB,SAAQ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EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;IAnED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CAqEC;AAvDG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
|
package/devcenter/index.d.ts
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
export { CatalogArgs, CatalogState } from "./catalog";
|
|
2
2
|
export declare type Catalog = import("./catalog").Catalog;
|
|
3
3
|
export declare const Catalog: typeof import("./catalog").Catalog;
|
|
4
|
+
export { DevBoxDefinitionArgs, DevBoxDefinitionState } from "./devBoxDefinition";
|
|
5
|
+
export declare type DevBoxDefinition = import("./devBoxDefinition").DevBoxDefinition;
|
|
6
|
+
export declare const DevBoxDefinition: typeof import("./devBoxDefinition").DevBoxDefinition;
|
|
4
7
|
export { DevCenterArgs, DevCenterState } from "./devCenter";
|
|
5
8
|
export declare type DevCenter = import("./devCenter").DevCenter;
|
|
6
9
|
export declare const DevCenter: typeof import("./devCenter").DevCenter;
|
|
10
|
+
export { EnvironmentTypeArgs, EnvironmentTypeState } from "./environmentType";
|
|
11
|
+
export declare type EnvironmentType = import("./environmentType").EnvironmentType;
|
|
12
|
+
export declare const EnvironmentType: typeof import("./environmentType").EnvironmentType;
|
|
7
13
|
export { GalleryArgs, GalleryState } from "./gallery";
|
|
8
14
|
export declare type Gallery = import("./gallery").Gallery;
|
|
9
15
|
export declare const Gallery: typeof import("./gallery").Gallery;
|
package/devcenter/index.js
CHANGED
|
@@ -2,13 +2,17 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Project = exports.Gallery = exports.DevCenter = exports.Catalog = void 0;
|
|
5
|
+
exports.Project = exports.Gallery = exports.EnvironmentType = exports.DevCenter = exports.DevBoxDefinition = exports.Catalog = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Catalog = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["Catalog"], () => require("./catalog"));
|
|
10
|
+
exports.DevBoxDefinition = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["DevBoxDefinition"], () => require("./devBoxDefinition"));
|
|
10
12
|
exports.DevCenter = null;
|
|
11
13
|
utilities.lazyLoad(exports, ["DevCenter"], () => require("./devCenter"));
|
|
14
|
+
exports.EnvironmentType = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["EnvironmentType"], () => require("./environmentType"));
|
|
12
16
|
exports.Gallery = null;
|
|
13
17
|
utilities.lazyLoad(exports, ["Gallery"], () => require("./gallery"));
|
|
14
18
|
exports.Project = null;
|
|
@@ -19,8 +23,12 @@ const _module = {
|
|
|
19
23
|
switch (type) {
|
|
20
24
|
case "azure:devcenter/catalog:Catalog":
|
|
21
25
|
return new exports.Catalog(name, undefined, { urn });
|
|
26
|
+
case "azure:devcenter/devBoxDefinition:DevBoxDefinition":
|
|
27
|
+
return new exports.DevBoxDefinition(name, undefined, { urn });
|
|
22
28
|
case "azure:devcenter/devCenter:DevCenter":
|
|
23
29
|
return new exports.DevCenter(name, undefined, { urn });
|
|
30
|
+
case "azure:devcenter/environmentType:EnvironmentType":
|
|
31
|
+
return new exports.EnvironmentType(name, undefined, { urn });
|
|
24
32
|
case "azure:devcenter/gallery:Gallery":
|
|
25
33
|
return new exports.Gallery(name, undefined, { urn });
|
|
26
34
|
case "azure:devcenter/project:Project":
|
|
@@ -31,7 +39,9 @@ const _module = {
|
|
|
31
39
|
},
|
|
32
40
|
};
|
|
33
41
|
pulumi.runtime.registerResourceModule("azure", "devcenter/catalog", _module);
|
|
42
|
+
pulumi.runtime.registerResourceModule("azure", "devcenter/devBoxDefinition", _module);
|
|
34
43
|
pulumi.runtime.registerResourceModule("azure", "devcenter/devCenter", _module);
|
|
44
|
+
pulumi.runtime.registerResourceModule("azure", "devcenter/environmentType", _module);
|
|
35
45
|
pulumi.runtime.registerResourceModule("azure", "devcenter/gallery", _module);
|
|
36
46
|
pulumi.runtime.registerResourceModule("azure", "devcenter/project", _module);
|
|
37
47
|
//# sourceMappingURL=index.js.map
|
package/devcenter/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../devcenter/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAI5D,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AA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CAAC,OAAO,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to access information about an existing Elastic SAN Volume Snapshot.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const example = azure.elasticsan.get({
|
|
12
|
+
* name: "existing",
|
|
13
|
+
* resourceGroupName: "existing",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleGetVolumeGroup = example.then(example => azure.elasticsan.getVolumeGroup({
|
|
16
|
+
* name: "existing",
|
|
17
|
+
* elasticSanId: example.id,
|
|
18
|
+
* }));
|
|
19
|
+
* const exampleGetVolumeSnapshot = exampleGetVolumeGroup.then(exampleGetVolumeGroup => azure.elasticsan.getVolumeSnapshot({
|
|
20
|
+
* name: "existing",
|
|
21
|
+
* volumeGroupId: exampleGetVolumeGroup.id,
|
|
22
|
+
* }));
|
|
23
|
+
* export const id = exampleGetVolumeSnapshot.then(exampleGetVolumeSnapshot => exampleGetVolumeSnapshot.id);
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare function getVolumeSnapshot(args: GetVolumeSnapshotArgs, opts?: pulumi.InvokeOptions): Promise<GetVolumeSnapshotResult>;
|
|
27
|
+
/**
|
|
28
|
+
* A collection of arguments for invoking getVolumeSnapshot.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetVolumeSnapshotArgs {
|
|
31
|
+
/**
|
|
32
|
+
* The name of the Elastic SAN Volume Snapshot.
|
|
33
|
+
*/
|
|
34
|
+
name: string;
|
|
35
|
+
/**
|
|
36
|
+
* The Elastic SAN Volume Group ID within which the Elastic SAN Volume Snapshot exists.
|
|
37
|
+
*/
|
|
38
|
+
volumeGroupId: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A collection of values returned by getVolumeSnapshot.
|
|
42
|
+
*/
|
|
43
|
+
export interface GetVolumeSnapshotResult {
|
|
44
|
+
/**
|
|
45
|
+
* The provider-assigned unique ID for this managed resource.
|
|
46
|
+
*/
|
|
47
|
+
readonly id: string;
|
|
48
|
+
readonly name: string;
|
|
49
|
+
/**
|
|
50
|
+
* The resource ID from which the Snapshot is created.
|
|
51
|
+
*/
|
|
52
|
+
readonly sourceId: string;
|
|
53
|
+
/**
|
|
54
|
+
* The size of source volume.
|
|
55
|
+
*/
|
|
56
|
+
readonly sourceVolumeSizeInGib: number;
|
|
57
|
+
readonly volumeGroupId: string;
|
|
58
|
+
/**
|
|
59
|
+
* The source volume name of the Snapshot.
|
|
60
|
+
*/
|
|
61
|
+
readonly volumeName: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Use this data source to access information about an existing Elastic SAN Volume Snapshot.
|
|
65
|
+
*
|
|
66
|
+
* ## Example Usage
|
|
67
|
+
*
|
|
68
|
+
* ```typescript
|
|
69
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
70
|
+
* import * as azure from "@pulumi/azure";
|
|
71
|
+
*
|
|
72
|
+
* const example = azure.elasticsan.get({
|
|
73
|
+
* name: "existing",
|
|
74
|
+
* resourceGroupName: "existing",
|
|
75
|
+
* });
|
|
76
|
+
* const exampleGetVolumeGroup = example.then(example => azure.elasticsan.getVolumeGroup({
|
|
77
|
+
* name: "existing",
|
|
78
|
+
* elasticSanId: example.id,
|
|
79
|
+
* }));
|
|
80
|
+
* const exampleGetVolumeSnapshot = exampleGetVolumeGroup.then(exampleGetVolumeGroup => azure.elasticsan.getVolumeSnapshot({
|
|
81
|
+
* name: "existing",
|
|
82
|
+
* volumeGroupId: exampleGetVolumeGroup.id,
|
|
83
|
+
* }));
|
|
84
|
+
* export const id = exampleGetVolumeSnapshot.then(exampleGetVolumeSnapshot => exampleGetVolumeSnapshot.id);
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
export declare function getVolumeSnapshotOutput(args: GetVolumeSnapshotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVolumeSnapshotResult>;
|
|
88
|
+
/**
|
|
89
|
+
* A collection of arguments for invoking getVolumeSnapshot.
|
|
90
|
+
*/
|
|
91
|
+
export interface GetVolumeSnapshotOutputArgs {
|
|
92
|
+
/**
|
|
93
|
+
* The name of the Elastic SAN Volume Snapshot.
|
|
94
|
+
*/
|
|
95
|
+
name: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The Elastic SAN Volume Group ID within which the Elastic SAN Volume Snapshot exists.
|
|
98
|
+
*/
|
|
99
|
+
volumeGroupId: pulumi.Input<string>;
|
|
100
|
+
}
|