@pulumi/azure 5.81.0-alpha.1719035839 → 5.81.0-alpha.1719232422
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/service.d.ts +3 -3
- package/automation/getRunbook.d.ts +117 -0
- package/automation/getRunbook.js +55 -0
- package/automation/getRunbook.js.map +1 -0
- package/automation/index.d.ts +3 -0
- package/automation/index.js +4 -1
- package/automation/index.js.map +1 -1
- package/automation/jobSchedule.d.ts +14 -4
- package/automation/jobSchedule.js +5 -1
- package/automation/jobSchedule.js.map +1 -1
- package/automation/runBook.d.ts +18 -3
- package/automation/runBook.js.map +1 -1
- package/communication/emailServiceDomain.d.ts +139 -0
- package/communication/emailServiceDomain.js +80 -0
- package/communication/emailServiceDomain.js.map +1 -0
- package/communication/index.d.ts +3 -0
- package/communication/index.js +6 -1
- package/communication/index.js.map +1 -1
- package/containerservice/kubernetesCluster.d.ts +3 -3
- package/cosmosdb/cassandraTable.d.ts +1 -1
- package/cosmosdb/gremlinGraph.d.ts +1 -1
- package/cosmosdb/sqlContainer.d.ts +29 -5
- package/cosmosdb/sqlContainer.js +4 -3
- package/cosmosdb/sqlContainer.js.map +1 -1
- package/dataprotection/backupInstanceBlogStorage.d.ts +18 -0
- package/dataprotection/backupInstanceBlogStorage.js +2 -0
- package/dataprotection/backupInstanceBlogStorage.js.map +1 -1
- package/dataprotection/backupInstancePostgresqlFlexibleServer.d.ts +176 -0
- package/dataprotection/backupInstancePostgresqlFlexibleServer.js +146 -0
- package/dataprotection/backupInstancePostgresqlFlexibleServer.js.map +1 -0
- package/dataprotection/index.d.ts +3 -0
- package/dataprotection/index.js +6 -1
- package/dataprotection/index.js.map +1 -1
- package/desktopvirtualization/hostPool.d.ts +3 -3
- package/desktopvirtualization/scalingPlan.d.ts +1 -1
- package/desktopvirtualization/scalingPlan.js +1 -1
- package/hdinsight/getCluster.d.ts +9 -0
- package/hdinsight/getCluster.js +2 -0
- package/hdinsight/getCluster.js.map +1 -1
- package/lb/backendAddressPool.d.ts +18 -0
- package/lb/backendAddressPool.js +2 -0
- package/lb/backendAddressPool.js.map +1 -1
- package/machinelearning/datastoreDatalakeGen2.d.ts +1 -1
- package/maps/account.d.ts +50 -0
- package/maps/account.js +8 -0
- package/maps/account.js.map +1 -1
- package/monitoring/privateLinkScope.d.ts +26 -0
- package/monitoring/privateLinkScope.js +6 -0
- package/monitoring/privateLinkScope.js.map +1 -1
- package/netapp/volume.d.ts +1 -1
- package/network/getNetworkInterface.d.ts +10 -2
- package/network/getNetworkInterface.js.map +1 -1
- package/network/networkInterface.d.ts +44 -20
- package/network/networkInterface.js +4 -0
- package/network/networkInterface.js.map +1 -1
- package/network/virtualNetworkPeering.d.ts +48 -0
- package/network/virtualNetworkPeering.js +8 -0
- package/network/virtualNetworkPeering.js.map +1 -1
- package/package.json +2 -2
- package/pim/getRoleManagementPolicy.d.ts +151 -0
- package/pim/getRoleManagementPolicy.js +106 -0
- package/pim/getRoleManagementPolicy.js.map +1 -0
- package/pim/index.d.ts +6 -0
- package/pim/index.js +9 -1
- package/pim/index.js.map +1 -1
- package/pim/roleManagementPolicy.d.ts +175 -0
- package/pim/roleManagementPolicy.js +118 -0
- package/pim/roleManagementPolicy.js.map +1 -0
- package/sentinel/alertRuleScheduled.d.ts +15 -3
- package/sentinel/alertRuleScheduled.js +2 -0
- package/sentinel/alertRuleScheduled.js.map +1 -1
- package/synapse/workspace.d.ts +6 -11
- package/synapse/workspace.js +0 -5
- package/synapse/workspace.js.map +1 -1
- package/systemcenter/index.d.ts +9 -0
- package/systemcenter/index.js +16 -1
- package/systemcenter/index.js.map +1 -1
- package/systemcenter/virtualMachineManagerCloud.d.ts +157 -0
- package/systemcenter/virtualMachineManagerCloud.js +111 -0
- package/systemcenter/virtualMachineManagerCloud.js.map +1 -0
- package/systemcenter/virtualMachineManagerVirtualMachineTemplate.d.ts +157 -0
- package/systemcenter/virtualMachineManagerVirtualMachineTemplate.js +111 -0
- package/systemcenter/virtualMachineManagerVirtualMachineTemplate.js.map +1 -0
- package/systemcenter/virtualMachineManagerVirtualNetwork.d.ts +157 -0
- package/systemcenter/virtualMachineManagerVirtualNetwork.js +111 -0
- package/systemcenter/virtualMachineManagerVirtualNetwork.js.map +1 -0
- package/types/input.d.ts +488 -33
- package/types/output.d.ts +750 -35
package/synapse/workspace.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../synapse/workspace.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../synapse/workspace.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuJG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAiIhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,2BAA2B,CAAC,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CHANGED
|
@@ -4,6 +4,15 @@ export declare const getVirtualMachineManagerInventoryItemsOutput: typeof import
|
|
|
4
4
|
export { VirtualMachineManagerAvailabilitySetArgs, VirtualMachineManagerAvailabilitySetState } from "./virtualMachineManagerAvailabilitySet";
|
|
5
5
|
export declare type VirtualMachineManagerAvailabilitySet = import("./virtualMachineManagerAvailabilitySet").VirtualMachineManagerAvailabilitySet;
|
|
6
6
|
export declare const VirtualMachineManagerAvailabilitySet: typeof import("./virtualMachineManagerAvailabilitySet").VirtualMachineManagerAvailabilitySet;
|
|
7
|
+
export { VirtualMachineManagerCloudArgs, VirtualMachineManagerCloudState } from "./virtualMachineManagerCloud";
|
|
8
|
+
export declare type VirtualMachineManagerCloud = import("./virtualMachineManagerCloud").VirtualMachineManagerCloud;
|
|
9
|
+
export declare const VirtualMachineManagerCloud: typeof import("./virtualMachineManagerCloud").VirtualMachineManagerCloud;
|
|
7
10
|
export { VirtualMachineManagerServerArgs, VirtualMachineManagerServerState } from "./virtualMachineManagerServer";
|
|
8
11
|
export declare type VirtualMachineManagerServer = import("./virtualMachineManagerServer").VirtualMachineManagerServer;
|
|
9
12
|
export declare const VirtualMachineManagerServer: typeof import("./virtualMachineManagerServer").VirtualMachineManagerServer;
|
|
13
|
+
export { VirtualMachineManagerVirtualMachineTemplateArgs, VirtualMachineManagerVirtualMachineTemplateState } from "./virtualMachineManagerVirtualMachineTemplate";
|
|
14
|
+
export declare type VirtualMachineManagerVirtualMachineTemplate = import("./virtualMachineManagerVirtualMachineTemplate").VirtualMachineManagerVirtualMachineTemplate;
|
|
15
|
+
export declare const VirtualMachineManagerVirtualMachineTemplate: typeof import("./virtualMachineManagerVirtualMachineTemplate").VirtualMachineManagerVirtualMachineTemplate;
|
|
16
|
+
export { VirtualMachineManagerVirtualNetworkArgs, VirtualMachineManagerVirtualNetworkState } from "./virtualMachineManagerVirtualNetwork";
|
|
17
|
+
export declare type VirtualMachineManagerVirtualNetwork = import("./virtualMachineManagerVirtualNetwork").VirtualMachineManagerVirtualNetwork;
|
|
18
|
+
export declare const VirtualMachineManagerVirtualNetwork: typeof import("./virtualMachineManagerVirtualNetwork").VirtualMachineManagerVirtualNetwork;
|
package/systemcenter/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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.VirtualMachineManagerServer = exports.VirtualMachineManagerAvailabilitySet = exports.getVirtualMachineManagerInventoryItemsOutput = exports.getVirtualMachineManagerInventoryItems = void 0;
|
|
5
|
+
exports.VirtualMachineManagerVirtualNetwork = exports.VirtualMachineManagerVirtualMachineTemplate = exports.VirtualMachineManagerServer = exports.VirtualMachineManagerCloud = exports.VirtualMachineManagerAvailabilitySet = exports.getVirtualMachineManagerInventoryItemsOutput = exports.getVirtualMachineManagerInventoryItems = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.getVirtualMachineManagerInventoryItems = null;
|
|
@@ -10,21 +10,36 @@ exports.getVirtualMachineManagerInventoryItemsOutput = null;
|
|
|
10
10
|
utilities.lazyLoad(exports, ["getVirtualMachineManagerInventoryItems", "getVirtualMachineManagerInventoryItemsOutput"], () => require("./getVirtualMachineManagerInventoryItems"));
|
|
11
11
|
exports.VirtualMachineManagerAvailabilitySet = null;
|
|
12
12
|
utilities.lazyLoad(exports, ["VirtualMachineManagerAvailabilitySet"], () => require("./virtualMachineManagerAvailabilitySet"));
|
|
13
|
+
exports.VirtualMachineManagerCloud = null;
|
|
14
|
+
utilities.lazyLoad(exports, ["VirtualMachineManagerCloud"], () => require("./virtualMachineManagerCloud"));
|
|
13
15
|
exports.VirtualMachineManagerServer = null;
|
|
14
16
|
utilities.lazyLoad(exports, ["VirtualMachineManagerServer"], () => require("./virtualMachineManagerServer"));
|
|
17
|
+
exports.VirtualMachineManagerVirtualMachineTemplate = null;
|
|
18
|
+
utilities.lazyLoad(exports, ["VirtualMachineManagerVirtualMachineTemplate"], () => require("./virtualMachineManagerVirtualMachineTemplate"));
|
|
19
|
+
exports.VirtualMachineManagerVirtualNetwork = null;
|
|
20
|
+
utilities.lazyLoad(exports, ["VirtualMachineManagerVirtualNetwork"], () => require("./virtualMachineManagerVirtualNetwork"));
|
|
15
21
|
const _module = {
|
|
16
22
|
version: utilities.getVersion(),
|
|
17
23
|
construct: (name, type, urn) => {
|
|
18
24
|
switch (type) {
|
|
19
25
|
case "azure:systemcenter/virtualMachineManagerAvailabilitySet:VirtualMachineManagerAvailabilitySet":
|
|
20
26
|
return new exports.VirtualMachineManagerAvailabilitySet(name, undefined, { urn });
|
|
27
|
+
case "azure:systemcenter/virtualMachineManagerCloud:VirtualMachineManagerCloud":
|
|
28
|
+
return new exports.VirtualMachineManagerCloud(name, undefined, { urn });
|
|
21
29
|
case "azure:systemcenter/virtualMachineManagerServer:VirtualMachineManagerServer":
|
|
22
30
|
return new exports.VirtualMachineManagerServer(name, undefined, { urn });
|
|
31
|
+
case "azure:systemcenter/virtualMachineManagerVirtualMachineTemplate:VirtualMachineManagerVirtualMachineTemplate":
|
|
32
|
+
return new exports.VirtualMachineManagerVirtualMachineTemplate(name, undefined, { urn });
|
|
33
|
+
case "azure:systemcenter/virtualMachineManagerVirtualNetwork:VirtualMachineManagerVirtualNetwork":
|
|
34
|
+
return new exports.VirtualMachineManagerVirtualNetwork(name, undefined, { urn });
|
|
23
35
|
default:
|
|
24
36
|
throw new Error(`unknown resource type ${type}`);
|
|
25
37
|
}
|
|
26
38
|
},
|
|
27
39
|
};
|
|
28
40
|
pulumi.runtime.registerResourceModule("azure", "systemcenter/virtualMachineManagerAvailabilitySet", _module);
|
|
41
|
+
pulumi.runtime.registerResourceModule("azure", "systemcenter/virtualMachineManagerCloud", _module);
|
|
29
42
|
pulumi.runtime.registerResourceModule("azure", "systemcenter/virtualMachineManagerServer", _module);
|
|
43
|
+
pulumi.runtime.registerResourceModule("azure", "systemcenter/virtualMachineManagerVirtualMachineTemplate", _module);
|
|
44
|
+
pulumi.runtime.registerResourceModule("azure", "systemcenter/virtualMachineManagerVirtualNetwork", _module);
|
|
30
45
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../systemcenter/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,sCAAsC,GAAqG,IAAW,CAAC;AACvJ,QAAA,4CAA4C,GAA2G,IAAW,CAAC;AAChL,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,wCAAwC,EAAC,8CAA8C,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,0CAA0C,CAAC,CAAC,CAAC;AAIrK,QAAA,oCAAoC,GAAiG,IAAW,CAAC;AAC9J,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sCAAsC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,wCAAwC,CAAC,CAAC,CAAC;AAIlH,QAAA,2BAA2B,GAA+E,IAAW,CAAC;AACnI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,6BAA6B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,+BAA+B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../systemcenter/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,sCAAsC,GAAqG,IAAW,CAAC;AACvJ,QAAA,4CAA4C,GAA2G,IAAW,CAAC;AAChL,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,wCAAwC,EAAC,8CAA8C,CAAC,EAAE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,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxE,KAAK,4EAA4E;gBAC7E,OAAO,IAAI,mCAA2B,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzE,KAAK,4GAA4G;gBAC7G,OAAO,IAAI,mDAA2C,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzF,KAAK,4FAA4F;gBAC7F,OAAO,IAAI,2CAAmC,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjF;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,mDAAmD,EAAE,OAAO,CAAC,CAAA;AAC5G,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,yCAAyC,EAAE,OAAO,CAAC,CAAA;AAClG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,0CAA0C,EAAE,OAAO,CAAC,CAAA;AACnG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,0DAA0D,EAAE,OAAO,CAAC,CAAA;AACnH,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,kDAAkD,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a System Center Virtual Machine Manager Cloud.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
12
|
+
* name: "example-resources",
|
|
13
|
+
* location: "West Europe",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleVirtualMachineManagerServer = new azure.systemcenter.VirtualMachineManagerServer("example", {
|
|
16
|
+
* name: "example-scvmmms",
|
|
17
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
18
|
+
* location: exampleResourceGroup.location,
|
|
19
|
+
* customLocationId: "/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.ExtendedLocation/customLocations/customLocation1",
|
|
20
|
+
* fqdn: "example.labtest",
|
|
21
|
+
* username: "testUser",
|
|
22
|
+
* password: "H@Sh1CoR3!",
|
|
23
|
+
* });
|
|
24
|
+
* const example = azure.systemcenter.getVirtualMachineManagerInventoryItemsOutput({
|
|
25
|
+
* inventoryType: "Cloud",
|
|
26
|
+
* systemCenterVirtualMachineManagerServerId: exampleVirtualMachineManagerServer.id,
|
|
27
|
+
* });
|
|
28
|
+
* const exampleVirtualMachineManagerCloud = new azure.systemcenter.VirtualMachineManagerCloud("example", {
|
|
29
|
+
* name: "example-scvmmcloud",
|
|
30
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
31
|
+
* location: exampleResourceGroup.location,
|
|
32
|
+
* customLocationId: exampleVirtualMachineManagerServer.customLocationId,
|
|
33
|
+
* systemCenterVirtualMachineManagerServerInventoryItemId: example.apply(example => example.inventoryItems?.[0]?.id),
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ## Import
|
|
38
|
+
*
|
|
39
|
+
* System Center Virtual Machine Manager Clouds can be imported into Terraform using the `resource id`, e.g.
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import azure:systemcenter/virtualMachineManagerCloud:VirtualMachineManagerCloud example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ScVmm/clouds/cloud1
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare class VirtualMachineManagerCloud extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing VirtualMachineManagerCloud resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VirtualMachineManagerCloudState, opts?: pulumi.CustomResourceOptions): VirtualMachineManagerCloud;
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of VirtualMachineManagerCloud. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj: any): obj is VirtualMachineManagerCloud;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the Custom Location for the System Center Virtual Machine Manager Cloud. Changing this forces a new resource to be created.
|
|
63
|
+
*/
|
|
64
|
+
readonly customLocationId: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The Azure Region where the System Center Virtual Machine Manager Cloud should exist. Changing this forces a new resource to be created.
|
|
67
|
+
*/
|
|
68
|
+
readonly location: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The name of the System Center Virtual Machine Manager Cloud. Changing this forces a new resource to be created.
|
|
71
|
+
*/
|
|
72
|
+
readonly name: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The name of the Resource Group where the System Center Virtual Machine Cloud should exist. Changing this forces a new resource to be created.
|
|
75
|
+
*/
|
|
76
|
+
readonly resourceGroupName: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
|
|
79
|
+
*/
|
|
80
|
+
readonly systemCenterVirtualMachineManagerServerInventoryItemId: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* A mapping of tags which should be assigned to the System Center Virtual Machine Manager Cloud.
|
|
83
|
+
*/
|
|
84
|
+
readonly tags: pulumi.Output<{
|
|
85
|
+
[key: string]: string;
|
|
86
|
+
} | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Create a VirtualMachineManagerCloud resource with the given unique name, arguments, and options.
|
|
89
|
+
*
|
|
90
|
+
* @param name The _unique_ name of the resource.
|
|
91
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
92
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
93
|
+
*/
|
|
94
|
+
constructor(name: string, args: VirtualMachineManagerCloudArgs, opts?: pulumi.CustomResourceOptions);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Input properties used for looking up and filtering VirtualMachineManagerCloud resources.
|
|
98
|
+
*/
|
|
99
|
+
export interface VirtualMachineManagerCloudState {
|
|
100
|
+
/**
|
|
101
|
+
* The ID of the Custom Location for the System Center Virtual Machine Manager Cloud. Changing this forces a new resource to be created.
|
|
102
|
+
*/
|
|
103
|
+
customLocationId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The Azure Region where the System Center Virtual Machine Manager Cloud should exist. Changing this forces a new resource to be created.
|
|
106
|
+
*/
|
|
107
|
+
location?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The name of the System Center Virtual Machine Manager Cloud. Changing this forces a new resource to be created.
|
|
110
|
+
*/
|
|
111
|
+
name?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The name of the Resource Group where the System Center Virtual Machine Cloud should exist. Changing this forces a new resource to be created.
|
|
114
|
+
*/
|
|
115
|
+
resourceGroupName?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
|
|
118
|
+
*/
|
|
119
|
+
systemCenterVirtualMachineManagerServerInventoryItemId?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* A mapping of tags which should be assigned to the System Center Virtual Machine Manager Cloud.
|
|
122
|
+
*/
|
|
123
|
+
tags?: pulumi.Input<{
|
|
124
|
+
[key: string]: pulumi.Input<string>;
|
|
125
|
+
}>;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* The set of arguments for constructing a VirtualMachineManagerCloud resource.
|
|
129
|
+
*/
|
|
130
|
+
export interface VirtualMachineManagerCloudArgs {
|
|
131
|
+
/**
|
|
132
|
+
* The ID of the Custom Location for the System Center Virtual Machine Manager Cloud. Changing this forces a new resource to be created.
|
|
133
|
+
*/
|
|
134
|
+
customLocationId: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The Azure Region where the System Center Virtual Machine Manager Cloud should exist. Changing this forces a new resource to be created.
|
|
137
|
+
*/
|
|
138
|
+
location?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The name of the System Center Virtual Machine Manager Cloud. Changing this forces a new resource to be created.
|
|
141
|
+
*/
|
|
142
|
+
name?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The name of the Resource Group where the System Center Virtual Machine Cloud should exist. Changing this forces a new resource to be created.
|
|
145
|
+
*/
|
|
146
|
+
resourceGroupName: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
|
|
149
|
+
*/
|
|
150
|
+
systemCenterVirtualMachineManagerServerInventoryItemId: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* A mapping of tags which should be assigned to the System Center Virtual Machine Manager Cloud.
|
|
153
|
+
*/
|
|
154
|
+
tags?: pulumi.Input<{
|
|
155
|
+
[key: string]: pulumi.Input<string>;
|
|
156
|
+
}>;
|
|
157
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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.VirtualMachineManagerCloud = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a System Center Virtual Machine Manager Cloud.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
18
|
+
* name: "example-resources",
|
|
19
|
+
* location: "West Europe",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleVirtualMachineManagerServer = new azure.systemcenter.VirtualMachineManagerServer("example", {
|
|
22
|
+
* name: "example-scvmmms",
|
|
23
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
24
|
+
* location: exampleResourceGroup.location,
|
|
25
|
+
* customLocationId: "/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.ExtendedLocation/customLocations/customLocation1",
|
|
26
|
+
* fqdn: "example.labtest",
|
|
27
|
+
* username: "testUser",
|
|
28
|
+
* password: "H@Sh1CoR3!",
|
|
29
|
+
* });
|
|
30
|
+
* const example = azure.systemcenter.getVirtualMachineManagerInventoryItemsOutput({
|
|
31
|
+
* inventoryType: "Cloud",
|
|
32
|
+
* systemCenterVirtualMachineManagerServerId: exampleVirtualMachineManagerServer.id,
|
|
33
|
+
* });
|
|
34
|
+
* const exampleVirtualMachineManagerCloud = new azure.systemcenter.VirtualMachineManagerCloud("example", {
|
|
35
|
+
* name: "example-scvmmcloud",
|
|
36
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
37
|
+
* location: exampleResourceGroup.location,
|
|
38
|
+
* customLocationId: exampleVirtualMachineManagerServer.customLocationId,
|
|
39
|
+
* systemCenterVirtualMachineManagerServerInventoryItemId: example.apply(example => example.inventoryItems?.[0]?.id),
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* ## Import
|
|
44
|
+
*
|
|
45
|
+
* System Center Virtual Machine Manager Clouds can be imported into Terraform using the `resource id`, e.g.
|
|
46
|
+
*
|
|
47
|
+
* ```sh
|
|
48
|
+
* $ pulumi import azure:systemcenter/virtualMachineManagerCloud:VirtualMachineManagerCloud example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ScVmm/clouds/cloud1
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
class VirtualMachineManagerCloud extends pulumi.CustomResource {
|
|
52
|
+
constructor(name, argsOrState, opts) {
|
|
53
|
+
let resourceInputs = {};
|
|
54
|
+
opts = opts || {};
|
|
55
|
+
if (opts.id) {
|
|
56
|
+
const state = argsOrState;
|
|
57
|
+
resourceInputs["customLocationId"] = state ? state.customLocationId : undefined;
|
|
58
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
59
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
60
|
+
resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
|
|
61
|
+
resourceInputs["systemCenterVirtualMachineManagerServerInventoryItemId"] = state ? state.systemCenterVirtualMachineManagerServerInventoryItemId : undefined;
|
|
62
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
const args = argsOrState;
|
|
66
|
+
if ((!args || args.customLocationId === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'customLocationId'");
|
|
68
|
+
}
|
|
69
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
71
|
+
}
|
|
72
|
+
if ((!args || args.systemCenterVirtualMachineManagerServerInventoryItemId === undefined) && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'systemCenterVirtualMachineManagerServerInventoryItemId'");
|
|
74
|
+
}
|
|
75
|
+
resourceInputs["customLocationId"] = args ? args.customLocationId : undefined;
|
|
76
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
77
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
78
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
79
|
+
resourceInputs["systemCenterVirtualMachineManagerServerInventoryItemId"] = args ? args.systemCenterVirtualMachineManagerServerInventoryItemId : undefined;
|
|
80
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(VirtualMachineManagerCloud.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Get an existing VirtualMachineManagerCloud resource's state with the given name, ID, and optional extra
|
|
87
|
+
* properties used to qualify the lookup.
|
|
88
|
+
*
|
|
89
|
+
* @param name The _unique_ name of the resulting resource.
|
|
90
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
91
|
+
* @param state Any extra arguments used during the lookup.
|
|
92
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
93
|
+
*/
|
|
94
|
+
static get(name, id, state, opts) {
|
|
95
|
+
return new VirtualMachineManagerCloud(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Returns true if the given object is an instance of VirtualMachineManagerCloud. This is designed to work even
|
|
99
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
100
|
+
*/
|
|
101
|
+
static isInstance(obj) {
|
|
102
|
+
if (obj === undefined || obj === null) {
|
|
103
|
+
return false;
|
|
104
|
+
}
|
|
105
|
+
return obj['__pulumiType'] === VirtualMachineManagerCloud.__pulumiType;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.VirtualMachineManagerCloud = VirtualMachineManagerCloud;
|
|
109
|
+
/** @internal */
|
|
110
|
+
VirtualMachineManagerCloud.__pulumiType = 'azure:systemcenter/virtualMachineManagerCloud:VirtualMachineManagerCloud';
|
|
111
|
+
//# sourceMappingURL=virtualMachineManagerCloud.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtualMachineManagerCloud.js","sourceRoot":"","sources":["../../systemcenter/virtualMachineManagerCloud.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IA6DjE,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0D,CAAC;YACzE,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,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAA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AAC,SAAS,CAAC;YAChF,cAAc,CAAC,wDAAwD,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sDAAsD,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1J,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,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;IA3FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,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,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;;AA1BL,gEA6FC;AA/EG,gBAAgB;AACO,uCAAY,GAAG,0EAA0E,CAAC"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a System Center Virtual Machine Manager Virtual Machine Template.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
12
|
+
* name: "example-resources",
|
|
13
|
+
* location: "West Europe",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleVirtualMachineManagerServer = new azure.systemcenter.VirtualMachineManagerServer("example", {
|
|
16
|
+
* name: "example-scvmmms",
|
|
17
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
18
|
+
* location: exampleResourceGroup.location,
|
|
19
|
+
* customLocationId: "/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.ExtendedLocation/customLocations/customLocation1",
|
|
20
|
+
* fqdn: "example.labtest",
|
|
21
|
+
* username: "testUser",
|
|
22
|
+
* password: "H@Sh1CoR3!",
|
|
23
|
+
* });
|
|
24
|
+
* const example = azure.systemcenter.getVirtualMachineManagerInventoryItemsOutput({
|
|
25
|
+
* inventoryType: "VirtualMachineTemplate",
|
|
26
|
+
* systemCenterVirtualMachineManagerServerId: exampleVirtualMachineManagerServer.id,
|
|
27
|
+
* });
|
|
28
|
+
* const exampleVirtualMachineManagerVirtualMachineTemplate = new azure.systemcenter.VirtualMachineManagerVirtualMachineTemplate("example", {
|
|
29
|
+
* name: "example-scvmmvmtemplate",
|
|
30
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
31
|
+
* location: exampleResourceGroup.location,
|
|
32
|
+
* customLocationId: exampleVirtualMachineManagerServer.customLocationId,
|
|
33
|
+
* systemCenterVirtualMachineManagerServerInventoryItemId: example.apply(example => example.inventoryItems?.[0]?.id),
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ## Import
|
|
38
|
+
*
|
|
39
|
+
* System Center Virtual Machine Manager Virtual Machine Templates can be imported into Terraform using the `resource id`, e.g.
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import azure:systemcenter/virtualMachineManagerVirtualMachineTemplate:VirtualMachineManagerVirtualMachineTemplate example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplate1
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare class VirtualMachineManagerVirtualMachineTemplate extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing VirtualMachineManagerVirtualMachineTemplate resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VirtualMachineManagerVirtualMachineTemplateState, opts?: pulumi.CustomResourceOptions): VirtualMachineManagerVirtualMachineTemplate;
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of VirtualMachineManagerVirtualMachineTemplate. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj: any): obj is VirtualMachineManagerVirtualMachineTemplate;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
|
|
63
|
+
*/
|
|
64
|
+
readonly customLocationId: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The Azure Region where the System Center Virtual Machine Manager Virtual Machine Template should exist. Changing this forces a new resource to be created.
|
|
67
|
+
*/
|
|
68
|
+
readonly location: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The name of the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
|
|
71
|
+
*/
|
|
72
|
+
readonly name: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The name of the Resource Group where the System Center Virtual Machine Manager Virtual Machine Template should exist. Changing this forces a new resource to be created.
|
|
75
|
+
*/
|
|
76
|
+
readonly resourceGroupName: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
|
|
79
|
+
*/
|
|
80
|
+
readonly systemCenterVirtualMachineManagerServerInventoryItemId: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Machine Template.
|
|
83
|
+
*/
|
|
84
|
+
readonly tags: pulumi.Output<{
|
|
85
|
+
[key: string]: string;
|
|
86
|
+
} | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Create a VirtualMachineManagerVirtualMachineTemplate resource with the given unique name, arguments, and options.
|
|
89
|
+
*
|
|
90
|
+
* @param name The _unique_ name of the resource.
|
|
91
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
92
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
93
|
+
*/
|
|
94
|
+
constructor(name: string, args: VirtualMachineManagerVirtualMachineTemplateArgs, opts?: pulumi.CustomResourceOptions);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Input properties used for looking up and filtering VirtualMachineManagerVirtualMachineTemplate resources.
|
|
98
|
+
*/
|
|
99
|
+
export interface VirtualMachineManagerVirtualMachineTemplateState {
|
|
100
|
+
/**
|
|
101
|
+
* The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
|
|
102
|
+
*/
|
|
103
|
+
customLocationId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The Azure Region where the System Center Virtual Machine Manager Virtual Machine Template should exist. Changing this forces a new resource to be created.
|
|
106
|
+
*/
|
|
107
|
+
location?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The name of the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
|
|
110
|
+
*/
|
|
111
|
+
name?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The name of the Resource Group where the System Center Virtual Machine Manager Virtual Machine Template should exist. Changing this forces a new resource to be created.
|
|
114
|
+
*/
|
|
115
|
+
resourceGroupName?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
|
|
118
|
+
*/
|
|
119
|
+
systemCenterVirtualMachineManagerServerInventoryItemId?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Machine Template.
|
|
122
|
+
*/
|
|
123
|
+
tags?: pulumi.Input<{
|
|
124
|
+
[key: string]: pulumi.Input<string>;
|
|
125
|
+
}>;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* The set of arguments for constructing a VirtualMachineManagerVirtualMachineTemplate resource.
|
|
129
|
+
*/
|
|
130
|
+
export interface VirtualMachineManagerVirtualMachineTemplateArgs {
|
|
131
|
+
/**
|
|
132
|
+
* The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
|
|
133
|
+
*/
|
|
134
|
+
customLocationId: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The Azure Region where the System Center Virtual Machine Manager Virtual Machine Template should exist. Changing this forces a new resource to be created.
|
|
137
|
+
*/
|
|
138
|
+
location?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The name of the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
|
|
141
|
+
*/
|
|
142
|
+
name?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The name of the Resource Group where the System Center Virtual Machine Manager Virtual Machine Template should exist. Changing this forces a new resource to be created.
|
|
145
|
+
*/
|
|
146
|
+
resourceGroupName: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
|
|
149
|
+
*/
|
|
150
|
+
systemCenterVirtualMachineManagerServerInventoryItemId: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Machine Template.
|
|
153
|
+
*/
|
|
154
|
+
tags?: pulumi.Input<{
|
|
155
|
+
[key: string]: pulumi.Input<string>;
|
|
156
|
+
}>;
|
|
157
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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.VirtualMachineManagerVirtualMachineTemplate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a System Center Virtual Machine Manager Virtual Machine Template.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("example", {
|
|
18
|
+
* name: "example-resources",
|
|
19
|
+
* location: "West Europe",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleVirtualMachineManagerServer = new azure.systemcenter.VirtualMachineManagerServer("example", {
|
|
22
|
+
* name: "example-scvmmms",
|
|
23
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
24
|
+
* location: exampleResourceGroup.location,
|
|
25
|
+
* customLocationId: "/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.ExtendedLocation/customLocations/customLocation1",
|
|
26
|
+
* fqdn: "example.labtest",
|
|
27
|
+
* username: "testUser",
|
|
28
|
+
* password: "H@Sh1CoR3!",
|
|
29
|
+
* });
|
|
30
|
+
* const example = azure.systemcenter.getVirtualMachineManagerInventoryItemsOutput({
|
|
31
|
+
* inventoryType: "VirtualMachineTemplate",
|
|
32
|
+
* systemCenterVirtualMachineManagerServerId: exampleVirtualMachineManagerServer.id,
|
|
33
|
+
* });
|
|
34
|
+
* const exampleVirtualMachineManagerVirtualMachineTemplate = new azure.systemcenter.VirtualMachineManagerVirtualMachineTemplate("example", {
|
|
35
|
+
* name: "example-scvmmvmtemplate",
|
|
36
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
37
|
+
* location: exampleResourceGroup.location,
|
|
38
|
+
* customLocationId: exampleVirtualMachineManagerServer.customLocationId,
|
|
39
|
+
* systemCenterVirtualMachineManagerServerInventoryItemId: example.apply(example => example.inventoryItems?.[0]?.id),
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* ## Import
|
|
44
|
+
*
|
|
45
|
+
* System Center Virtual Machine Manager Virtual Machine Templates can be imported into Terraform using the `resource id`, e.g.
|
|
46
|
+
*
|
|
47
|
+
* ```sh
|
|
48
|
+
* $ pulumi import azure:systemcenter/virtualMachineManagerVirtualMachineTemplate:VirtualMachineManagerVirtualMachineTemplate example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ScVmm/virtualMachineTemplates/virtualMachineTemplate1
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
class VirtualMachineManagerVirtualMachineTemplate extends pulumi.CustomResource {
|
|
52
|
+
constructor(name, argsOrState, opts) {
|
|
53
|
+
let resourceInputs = {};
|
|
54
|
+
opts = opts || {};
|
|
55
|
+
if (opts.id) {
|
|
56
|
+
const state = argsOrState;
|
|
57
|
+
resourceInputs["customLocationId"] = state ? state.customLocationId : undefined;
|
|
58
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
59
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
60
|
+
resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
|
|
61
|
+
resourceInputs["systemCenterVirtualMachineManagerServerInventoryItemId"] = state ? state.systemCenterVirtualMachineManagerServerInventoryItemId : undefined;
|
|
62
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
const args = argsOrState;
|
|
66
|
+
if ((!args || args.customLocationId === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'customLocationId'");
|
|
68
|
+
}
|
|
69
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
71
|
+
}
|
|
72
|
+
if ((!args || args.systemCenterVirtualMachineManagerServerInventoryItemId === undefined) && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'systemCenterVirtualMachineManagerServerInventoryItemId'");
|
|
74
|
+
}
|
|
75
|
+
resourceInputs["customLocationId"] = args ? args.customLocationId : undefined;
|
|
76
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
77
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
78
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
79
|
+
resourceInputs["systemCenterVirtualMachineManagerServerInventoryItemId"] = args ? args.systemCenterVirtualMachineManagerServerInventoryItemId : undefined;
|
|
80
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(VirtualMachineManagerVirtualMachineTemplate.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Get an existing VirtualMachineManagerVirtualMachineTemplate resource's state with the given name, ID, and optional extra
|
|
87
|
+
* properties used to qualify the lookup.
|
|
88
|
+
*
|
|
89
|
+
* @param name The _unique_ name of the resulting resource.
|
|
90
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
91
|
+
* @param state Any extra arguments used during the lookup.
|
|
92
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
93
|
+
*/
|
|
94
|
+
static get(name, id, state, opts) {
|
|
95
|
+
return new VirtualMachineManagerVirtualMachineTemplate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Returns true if the given object is an instance of VirtualMachineManagerVirtualMachineTemplate. This is designed to work even
|
|
99
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
100
|
+
*/
|
|
101
|
+
static isInstance(obj) {
|
|
102
|
+
if (obj === undefined || obj === null) {
|
|
103
|
+
return false;
|
|
104
|
+
}
|
|
105
|
+
return obj['__pulumiType'] === VirtualMachineManagerVirtualMachineTemplate.__pulumiType;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.VirtualMachineManagerVirtualMachineTemplate = VirtualMachineManagerVirtualMachineTemplate;
|
|
109
|
+
/** @internal */
|
|
110
|
+
VirtualMachineManagerVirtualMachineTemplate.__pulumiType = 'azure:systemcenter/virtualMachineManagerVirtualMachineTemplate:VirtualMachineManagerVirtualMachineTemplate';
|
|
111
|
+
//# sourceMappingURL=virtualMachineManagerVirtualMachineTemplate.js.map
|