@pulumi/azure 5.81.0-alpha.1718949576 → 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtualMachineManagerVirtualMachineTemplate.js","sourceRoot":"","sources":["../../systemcenter/virtualMachineManagerVirtualMachineTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,2CAA4C,SAAQ,MAAM,CAAC,cAAc;IA6DlF,YAAY,IAAY,EAAE,WAAgH,EAAE,IAAmC;QAC3K,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2E,CAAC;YAC1F,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,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,wDAAwD,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,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C,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,2CAA2C,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChG,CAAC;IA3FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwD,EAAE,IAAmC;QACtJ,OAAO,IAAI,2CAA2C,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClG,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,2CAA2C,CAAC,YAAY,CAAC;IAC5F,CAAC;;AA1BL,kGA6FC;AA/EG,gBAAgB;AACO,wDAAY,GAAG,4GAA4G,CAAC"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a System Center Virtual Machine Manager Virtual Network.
|
|
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: "VirtualNetwork",
|
|
26
|
+
* systemCenterVirtualMachineManagerServerId: exampleVirtualMachineManagerServer.id,
|
|
27
|
+
* });
|
|
28
|
+
* const exampleVirtualMachineManagerVirtualNetwork = new azure.systemcenter.VirtualMachineManagerVirtualNetwork("example", {
|
|
29
|
+
* name: "example-scvmmvnet",
|
|
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 Networks can be imported into Terraform using the `resource id`, e.g.
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import azure:systemcenter/virtualMachineManagerVirtualNetwork:VirtualMachineManagerVirtualNetwork example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ScVmm/virtualNetworks/virtualNetwork1
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare class VirtualMachineManagerVirtualNetwork extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing VirtualMachineManagerVirtualNetwork 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?: VirtualMachineManagerVirtualNetworkState, opts?: pulumi.CustomResourceOptions): VirtualMachineManagerVirtualNetwork;
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of VirtualMachineManagerVirtualNetwork. 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 VirtualMachineManagerVirtualNetwork;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. 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 Network 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 Network. 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 Virtual Network 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 Network.
|
|
83
|
+
*/
|
|
84
|
+
readonly tags: pulumi.Output<{
|
|
85
|
+
[key: string]: string;
|
|
86
|
+
} | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Create a VirtualMachineManagerVirtualNetwork 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: VirtualMachineManagerVirtualNetworkArgs, opts?: pulumi.CustomResourceOptions);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Input properties used for looking up and filtering VirtualMachineManagerVirtualNetwork resources.
|
|
98
|
+
*/
|
|
99
|
+
export interface VirtualMachineManagerVirtualNetworkState {
|
|
100
|
+
/**
|
|
101
|
+
* The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. 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 Network 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 Network. 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 Virtual Network 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 Network.
|
|
122
|
+
*/
|
|
123
|
+
tags?: pulumi.Input<{
|
|
124
|
+
[key: string]: pulumi.Input<string>;
|
|
125
|
+
}>;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* The set of arguments for constructing a VirtualMachineManagerVirtualNetwork resource.
|
|
129
|
+
*/
|
|
130
|
+
export interface VirtualMachineManagerVirtualNetworkArgs {
|
|
131
|
+
/**
|
|
132
|
+
* The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. 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 Network 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 Network. 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 Virtual Network 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 Network.
|
|
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.VirtualMachineManagerVirtualNetwork = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a System Center Virtual Machine Manager Virtual Network.
|
|
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: "VirtualNetwork",
|
|
32
|
+
* systemCenterVirtualMachineManagerServerId: exampleVirtualMachineManagerServer.id,
|
|
33
|
+
* });
|
|
34
|
+
* const exampleVirtualMachineManagerVirtualNetwork = new azure.systemcenter.VirtualMachineManagerVirtualNetwork("example", {
|
|
35
|
+
* name: "example-scvmmvnet",
|
|
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 Networks can be imported into Terraform using the `resource id`, e.g.
|
|
46
|
+
*
|
|
47
|
+
* ```sh
|
|
48
|
+
* $ pulumi import azure:systemcenter/virtualMachineManagerVirtualNetwork:VirtualMachineManagerVirtualNetwork example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ScVmm/virtualNetworks/virtualNetwork1
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
class VirtualMachineManagerVirtualNetwork 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(VirtualMachineManagerVirtualNetwork.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Get an existing VirtualMachineManagerVirtualNetwork 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 VirtualMachineManagerVirtualNetwork(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Returns true if the given object is an instance of VirtualMachineManagerVirtualNetwork. 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'] === VirtualMachineManagerVirtualNetwork.__pulumiType;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.VirtualMachineManagerVirtualNetwork = VirtualMachineManagerVirtualNetwork;
|
|
109
|
+
/** @internal */
|
|
110
|
+
VirtualMachineManagerVirtualNetwork.__pulumiType = 'azure:systemcenter/virtualMachineManagerVirtualNetwork:VirtualMachineManagerVirtualNetwork';
|
|
111
|
+
//# sourceMappingURL=virtualMachineManagerVirtualNetwork.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtualMachineManagerVirtualNetwork.js","sourceRoot":"","sources":["../../systemcenter/virtualMachineManagerVirtualNetwork.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IA6D1E,YAAY,IAAY,EAAE,WAAgG,EAAE,IAAmC;QAC3J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmE,CAAC;YAClF,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,C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