@pulumi/azure 5.80.0-alpha.1717777691 → 5.80.0
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/namedValue.d.ts +3 -3
- package/arc/getResourceBridgeAppliance.d.ts +99 -0
- package/arc/getResourceBridgeAppliance.js +52 -0
- package/arc/getResourceBridgeAppliance.js.map +1 -0
- package/arc/index.d.ts +3 -0
- package/arc/index.js +4 -1
- package/arc/index.js.map +1 -1
- package/automation/powershell72Module.d.ts +18 -0
- package/automation/powershell72Module.js +2 -0
- package/automation/powershell72Module.js.map +1 -1
- package/compute/bastionHost.d.ts +17 -5
- package/compute/bastionHost.js +2 -3
- package/compute/bastionHost.js.map +1 -1
- package/compute/implicitDataDiskFromSource.d.ts +233 -0
- package/compute/implicitDataDiskFromSource.js +179 -0
- package/compute/implicitDataDiskFromSource.js.map +1 -0
- package/compute/index.d.ts +3 -0
- package/compute/index.js +6 -1
- package/compute/index.js.map +1 -1
- package/compute/linuxVirtualMachine.d.ts +6 -0
- package/compute/linuxVirtualMachine.js.map +1 -1
- package/compute/windowsVirtualMachine.d.ts +6 -0
- package/compute/windowsVirtualMachine.js.map +1 -1
- package/containerapp/environment.d.ts +18 -0
- package/containerapp/environment.js +2 -0
- package/containerapp/environment.js.map +1 -1
- package/containerapp/job.d.ts +32 -8
- package/containerapp/job.js +5 -1
- package/containerapp/job.js.map +1 -1
- package/containerservice/getRegistryCacheRule.d.ts +58 -0
- package/containerservice/getRegistryCacheRule.js +26 -0
- package/containerservice/getRegistryCacheRule.js.map +1 -0
- package/containerservice/index.d.ts +6 -0
- package/containerservice/index.js +9 -1
- package/containerservice/index.js.map +1 -1
- package/containerservice/kubernetesCluster.d.ts +12 -6
- package/containerservice/kubernetesCluster.js +2 -0
- package/containerservice/kubernetesCluster.js.map +1 -1
- package/containerservice/registryCacheRule.d.ts +135 -0
- package/containerservice/registryCacheRule.js +105 -0
- package/containerservice/registryCacheRule.js.map +1 -0
- package/dataprotection/backupPolicyBlobStorage.d.ts +87 -1
- package/dataprotection/backupPolicyBlobStorage.js +10 -3
- package/dataprotection/backupPolicyBlobStorage.js.map +1 -1
- package/dataprotection/backupPolicyPostgresqlFlexibleServer.d.ts +121 -0
- package/dataprotection/backupPolicyPostgresqlFlexibleServer.js +79 -0
- package/dataprotection/backupPolicyPostgresqlFlexibleServer.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/elasticsan/getVolumeGroup.d.ts +101 -0
- package/elasticsan/getVolumeGroup.js +60 -0
- package/elasticsan/getVolumeGroup.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/logicapps/triggerCustom.d.ts +8 -0
- package/logicapps/triggerCustom.js +2 -0
- package/logicapps/triggerCustom.js.map +1 -1
- package/logicapps/triggerHttpRequest.d.ts +2 -2
- package/machinelearning/workspace.d.ts +12 -0
- package/machinelearning/workspace.js +2 -0
- package/machinelearning/workspace.js.map +1 -1
- package/network/getSubnet.d.ts +4 -0
- package/network/getSubnet.js.map +1 -1
- package/network/subnet.d.ts +12 -0
- package/network/subnet.js +2 -0
- package/network/subnet.js.map +1 -1
- package/network/virtualNetworkGatewayConnection.d.ts +1 -1
- package/newrelic/monitor.d.ts +36 -0
- package/newrelic/monitor.js +26 -0
- package/newrelic/monitor.js.map +1 -1
- package/nginx/configuration.d.ts +150 -0
- package/nginx/configuration.js +105 -0
- package/nginx/configuration.js.map +1 -1
- package/nginx/deployment.d.ts +6 -60
- package/nginx/deployment.js +0 -45
- package/nginx/deployment.js.map +1 -1
- package/nginx/getConfiguration.d.ts +45 -0
- package/nginx/getConfiguration.js +30 -0
- package/nginx/getConfiguration.js.map +1 -1
- package/nginx/getDeployment.d.ts +1 -1
- package/notificationhub/authorizationRule.d.ts +16 -0
- package/notificationhub/authorizationRule.js +6 -0
- package/notificationhub/authorizationRule.js.map +1 -1
- package/package.json +2 -2
- package/securitycenter/automation.d.ts +6 -0
- package/securitycenter/automation.js.map +1 -1
- package/storage/getQueue.d.ts +92 -0
- package/storage/getQueue.js +51 -0
- package/storage/getQueue.js.map +1 -0
- package/storage/getTable.d.ts +79 -0
- package/storage/getTable.js +50 -0
- package/storage/getTable.js.map +1 -0
- package/storage/index.d.ts +6 -0
- package/storage/index.js +8 -2
- package/storage/index.js.map +1 -1
- package/storage/syncServerEndpoint.d.ts +13 -3
- package/storage/syncServerEndpoint.js +10 -0
- package/storage/syncServerEndpoint.js.map +1 -1
- package/types/input.d.ts +199 -38
- package/types/output.d.ts +303 -38
|
@@ -86,7 +86,7 @@ export declare class NamedValue extends pulumi.CustomResource {
|
|
|
86
86
|
*/
|
|
87
87
|
readonly value: pulumi.Output<string | undefined>;
|
|
88
88
|
/**
|
|
89
|
-
* A `valueFromKeyVault` block as defined below.
|
|
89
|
+
* A `valueFromKeyVault` block as defined below. If specified, `secret` must also be set to `true`.
|
|
90
90
|
*/
|
|
91
91
|
readonly valueFromKeyVault: pulumi.Output<outputs.apimanagement.NamedValueValueFromKeyVault | undefined>;
|
|
92
92
|
/**
|
|
@@ -133,7 +133,7 @@ export interface NamedValueState {
|
|
|
133
133
|
*/
|
|
134
134
|
value?: pulumi.Input<string>;
|
|
135
135
|
/**
|
|
136
|
-
* A `valueFromKeyVault` block as defined below.
|
|
136
|
+
* A `valueFromKeyVault` block as defined below. If specified, `secret` must also be set to `true`.
|
|
137
137
|
*/
|
|
138
138
|
valueFromKeyVault?: pulumi.Input<inputs.apimanagement.NamedValueValueFromKeyVault>;
|
|
139
139
|
}
|
|
@@ -172,7 +172,7 @@ export interface NamedValueArgs {
|
|
|
172
172
|
*/
|
|
173
173
|
value?: pulumi.Input<string>;
|
|
174
174
|
/**
|
|
175
|
-
* A `valueFromKeyVault` block as defined below.
|
|
175
|
+
* A `valueFromKeyVault` block as defined below. If specified, `secret` must also be set to `true`.
|
|
176
176
|
*/
|
|
177
177
|
valueFromKeyVault?: pulumi.Input<inputs.apimanagement.NamedValueValueFromKeyVault>;
|
|
178
178
|
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to access information about an existing Arc Resource Bridge Appliance.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as azure from "@pulumi/azure";
|
|
11
|
+
*
|
|
12
|
+
* const example = azure.arc.getResourceBridgeAppliance({
|
|
13
|
+
* name: "existing",
|
|
14
|
+
* resourceGroupName: "existing",
|
|
15
|
+
* });
|
|
16
|
+
* export const id = example.then(example => example.id);
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getResourceBridgeAppliance(args: GetResourceBridgeApplianceArgs, opts?: pulumi.InvokeOptions): Promise<GetResourceBridgeApplianceResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getResourceBridgeAppliance.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetResourceBridgeApplianceArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The name of this Arc Resource Bridge Appliance.
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* The name of the Resource Group where the Arc Resource Bridge Appliance exists.
|
|
30
|
+
*/
|
|
31
|
+
resourceGroupName: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by getResourceBridgeAppliance.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetResourceBridgeApplianceResult {
|
|
37
|
+
/**
|
|
38
|
+
* Fabric/Infrastructure for this Arc Resource Bridge Appliance.
|
|
39
|
+
*/
|
|
40
|
+
readonly distro: string;
|
|
41
|
+
/**
|
|
42
|
+
* The provider-assigned unique ID for this managed resource.
|
|
43
|
+
*/
|
|
44
|
+
readonly id: string;
|
|
45
|
+
/**
|
|
46
|
+
* An `identity` block as defined below.
|
|
47
|
+
*/
|
|
48
|
+
readonly identities: outputs.arc.GetResourceBridgeApplianceIdentity[];
|
|
49
|
+
/**
|
|
50
|
+
* The infrastructure provider about the connected Arc Resource Bridge Appliance.
|
|
51
|
+
*/
|
|
52
|
+
readonly infrastructureProvider: string;
|
|
53
|
+
/**
|
|
54
|
+
* The Azure Region where the Arc Resource Bridge Appliance exists.
|
|
55
|
+
*/
|
|
56
|
+
readonly location: string;
|
|
57
|
+
readonly name: string;
|
|
58
|
+
/**
|
|
59
|
+
* RSA public key in PKCS1 format encoded in base64.
|
|
60
|
+
*/
|
|
61
|
+
readonly publicKeyBase64: string;
|
|
62
|
+
readonly resourceGroupName: string;
|
|
63
|
+
/**
|
|
64
|
+
* A mapping of tags assigned to the Arc Resource Bridge Appliance.
|
|
65
|
+
*/
|
|
66
|
+
readonly tags: {
|
|
67
|
+
[key: string]: string;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Use this data source to access information about an existing Arc Resource Bridge Appliance.
|
|
72
|
+
*
|
|
73
|
+
* ## Example Usage
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
77
|
+
* import * as azure from "@pulumi/azure";
|
|
78
|
+
*
|
|
79
|
+
* const example = azure.arc.getResourceBridgeAppliance({
|
|
80
|
+
* name: "existing",
|
|
81
|
+
* resourceGroupName: "existing",
|
|
82
|
+
* });
|
|
83
|
+
* export const id = example.then(example => example.id);
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
export declare function getResourceBridgeApplianceOutput(args: GetResourceBridgeApplianceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetResourceBridgeApplianceResult>;
|
|
87
|
+
/**
|
|
88
|
+
* A collection of arguments for invoking getResourceBridgeAppliance.
|
|
89
|
+
*/
|
|
90
|
+
export interface GetResourceBridgeApplianceOutputArgs {
|
|
91
|
+
/**
|
|
92
|
+
* The name of this Arc Resource Bridge Appliance.
|
|
93
|
+
*/
|
|
94
|
+
name: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The name of the Resource Group where the Arc Resource Bridge Appliance exists.
|
|
97
|
+
*/
|
|
98
|
+
resourceGroupName: pulumi.Input<string>;
|
|
99
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.getResourceBridgeApplianceOutput = exports.getResourceBridgeAppliance = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to access information about an existing Arc Resource Bridge Appliance.
|
|
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 = azure.arc.getResourceBridgeAppliance({
|
|
18
|
+
* name: "existing",
|
|
19
|
+
* resourceGroupName: "existing",
|
|
20
|
+
* });
|
|
21
|
+
* export const id = example.then(example => example.id);
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getResourceBridgeAppliance(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("azure:arc/getResourceBridgeAppliance:getResourceBridgeAppliance", {
|
|
27
|
+
"name": args.name,
|
|
28
|
+
"resourceGroupName": args.resourceGroupName,
|
|
29
|
+
}, opts);
|
|
30
|
+
}
|
|
31
|
+
exports.getResourceBridgeAppliance = getResourceBridgeAppliance;
|
|
32
|
+
/**
|
|
33
|
+
* Use this data source to access information about an existing Arc Resource Bridge Appliance.
|
|
34
|
+
*
|
|
35
|
+
* ## Example Usage
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as azure from "@pulumi/azure";
|
|
40
|
+
*
|
|
41
|
+
* const example = azure.arc.getResourceBridgeAppliance({
|
|
42
|
+
* name: "existing",
|
|
43
|
+
* resourceGroupName: "existing",
|
|
44
|
+
* });
|
|
45
|
+
* export const id = example.then(example => example.id);
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
function getResourceBridgeApplianceOutput(args, opts) {
|
|
49
|
+
return pulumi.output(args).apply((a) => getResourceBridgeAppliance(a, opts));
|
|
50
|
+
}
|
|
51
|
+
exports.getResourceBridgeApplianceOutput = getResourceBridgeApplianceOutput;
|
|
52
|
+
//# sourceMappingURL=getResourceBridgeAppliance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getResourceBridgeAppliance.js","sourceRoot":"","sources":["../../arc/getResourceBridgeAppliance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IAExG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iEAAiE,EAAE;QAC5F,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC;AAmDD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,0BAA0B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrF,CAAC;AAFD,4EAEC"}
|
package/arc/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export { GetResourceBridgeApplianceArgs, GetResourceBridgeApplianceResult, GetResourceBridgeApplianceOutputArgs } from "./getResourceBridgeAppliance";
|
|
2
|
+
export declare const getResourceBridgeAppliance: typeof import("./getResourceBridgeAppliance").getResourceBridgeAppliance;
|
|
3
|
+
export declare const getResourceBridgeApplianceOutput: typeof import("./getResourceBridgeAppliance").getResourceBridgeApplianceOutput;
|
|
1
4
|
export { PrivateLinkScopeArgs, PrivateLinkScopeState } from "./privateLinkScope";
|
|
2
5
|
export declare type PrivateLinkScope = import("./privateLinkScope").PrivateLinkScope;
|
|
3
6
|
export declare const PrivateLinkScope: typeof import("./privateLinkScope").PrivateLinkScope;
|
package/arc/index.js
CHANGED
|
@@ -2,9 +2,12 @@
|
|
|
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.ResourceBridgeAppliance = exports.PrivateLinkScope = void 0;
|
|
5
|
+
exports.ResourceBridgeAppliance = exports.PrivateLinkScope = exports.getResourceBridgeApplianceOutput = exports.getResourceBridgeAppliance = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.getResourceBridgeAppliance = null;
|
|
9
|
+
exports.getResourceBridgeApplianceOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getResourceBridgeAppliance", "getResourceBridgeApplianceOutput"], () => require("./getResourceBridgeAppliance"));
|
|
8
11
|
exports.PrivateLinkScope = null;
|
|
9
12
|
utilities.lazyLoad(exports, ["PrivateLinkScope"], () => require("./privateLinkScope"));
|
|
10
13
|
exports.ResourceBridgeAppliance = null;
|
package/arc/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../arc/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../arc/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,0BAA0B,GAA6E,IAAW,CAAC;AACnH,QAAA,gCAAgC,GAAmF,IAAW,CAAC;AAC5I,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,4BAA4B,EAAC,kCAAkC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,8BAA8B,CAAC,CAAC,CAAC;AAIjI,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAI1E,QAAA,uBAAuB,GAAuE,IAAW,CAAC;AACvH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC,CAAC;AAGrG,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,6CAA6C;gBAC9C,OAAO,IAAI,wBAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D,KAAK,2DAA2D;gBAC5D,OAAO,IAAI,+BAAuB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -65,6 +65,12 @@ export declare class Powershell72Module extends pulumi.CustomResource {
|
|
|
65
65
|
* Specifies the name of the Module. Changing this forces a new resource to be created.
|
|
66
66
|
*/
|
|
67
67
|
readonly name: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* A mapping of tags to assign to the resource.
|
|
70
|
+
*/
|
|
71
|
+
readonly tags: pulumi.Output<{
|
|
72
|
+
[key: string]: string;
|
|
73
|
+
} | undefined>;
|
|
68
74
|
/**
|
|
69
75
|
* Create a Powershell72Module resource with the given unique name, arguments, and options.
|
|
70
76
|
*
|
|
@@ -90,6 +96,12 @@ export interface Powershell72ModuleState {
|
|
|
90
96
|
* Specifies the name of the Module. Changing this forces a new resource to be created.
|
|
91
97
|
*/
|
|
92
98
|
name?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* A mapping of tags to assign to the resource.
|
|
101
|
+
*/
|
|
102
|
+
tags?: pulumi.Input<{
|
|
103
|
+
[key: string]: pulumi.Input<string>;
|
|
104
|
+
}>;
|
|
93
105
|
}
|
|
94
106
|
/**
|
|
95
107
|
* The set of arguments for constructing a Powershell72Module resource.
|
|
@@ -107,4 +119,10 @@ export interface Powershell72ModuleArgs {
|
|
|
107
119
|
* Specifies the name of the Module. Changing this forces a new resource to be created.
|
|
108
120
|
*/
|
|
109
121
|
name?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* A mapping of tags to assign to the resource.
|
|
124
|
+
*/
|
|
125
|
+
tags?: pulumi.Input<{
|
|
126
|
+
[key: string]: pulumi.Input<string>;
|
|
127
|
+
}>;
|
|
110
128
|
}
|
|
@@ -50,6 +50,7 @@ class Powershell72Module extends pulumi.CustomResource {
|
|
|
50
50
|
resourceInputs["automationAccountId"] = state ? state.automationAccountId : undefined;
|
|
51
51
|
resourceInputs["moduleLink"] = state ? state.moduleLink : undefined;
|
|
52
52
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
53
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
53
54
|
}
|
|
54
55
|
else {
|
|
55
56
|
const args = argsOrState;
|
|
@@ -62,6 +63,7 @@ class Powershell72Module extends pulumi.CustomResource {
|
|
|
62
63
|
resourceInputs["automationAccountId"] = args ? args.automationAccountId : undefined;
|
|
63
64
|
resourceInputs["moduleLink"] = args ? args.moduleLink : undefined;
|
|
64
65
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
66
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
65
67
|
}
|
|
66
68
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
69
|
super(Powershell72Module.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"powershell72Module.js","sourceRoot":"","sources":["../../automation/powershell72Module.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"powershell72Module.js","sourceRoot":"","sources":["../../automation/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as defined below. Changing this forces a new resource to be created.
|
|
90
90
|
*/
|
|
91
|
-
readonly ipConfiguration: pulumi.Output<outputs.compute.BastionHostIpConfiguration>;
|
|
91
|
+
readonly ipConfiguration: pulumi.Output<outputs.compute.BastionHostIpConfiguration | undefined>;
|
|
92
92
|
/**
|
|
93
93
|
* Is IP Connect feature enabled for the Bastion Host. Defaults to `false`.
|
|
94
94
|
*
|
|
@@ -126,7 +126,7 @@ export declare class BastionHost extends pulumi.CustomResource {
|
|
|
126
126
|
*/
|
|
127
127
|
readonly shareableLinkEnabled: pulumi.Output<boolean | undefined>;
|
|
128
128
|
/**
|
|
129
|
-
* The SKU of the Bastion Host. Accepted values are `Basic` and `Standard`. Defaults to `Basic`.
|
|
129
|
+
* The SKU of the Bastion Host. Accepted values are `Developer`, `Basic` and `Standard`. Defaults to `Basic`.
|
|
130
130
|
*
|
|
131
131
|
* > **Note** Downgrading the SKU will force a new resource to be created.
|
|
132
132
|
*/
|
|
@@ -143,6 +143,10 @@ export declare class BastionHost extends pulumi.CustomResource {
|
|
|
143
143
|
* > **Note:** `tunnelingEnabled` is only supported when `sku` is `Standard`.
|
|
144
144
|
*/
|
|
145
145
|
readonly tunnelingEnabled: pulumi.Output<boolean | undefined>;
|
|
146
|
+
/**
|
|
147
|
+
* The ID of the Virtual Network for the Developer Bastion Host. Changing this forces a new resource to be created.
|
|
148
|
+
*/
|
|
149
|
+
readonly virtualNetworkId: pulumi.Output<string | undefined>;
|
|
146
150
|
/**
|
|
147
151
|
* Create a BastionHost resource with the given unique name, arguments, and options.
|
|
148
152
|
*
|
|
@@ -211,7 +215,7 @@ export interface BastionHostState {
|
|
|
211
215
|
*/
|
|
212
216
|
shareableLinkEnabled?: pulumi.Input<boolean>;
|
|
213
217
|
/**
|
|
214
|
-
* The SKU of the Bastion Host. Accepted values are `Basic` and `Standard`. Defaults to `Basic`.
|
|
218
|
+
* The SKU of the Bastion Host. Accepted values are `Developer`, `Basic` and `Standard`. Defaults to `Basic`.
|
|
215
219
|
*
|
|
216
220
|
* > **Note** Downgrading the SKU will force a new resource to be created.
|
|
217
221
|
*/
|
|
@@ -228,6 +232,10 @@ export interface BastionHostState {
|
|
|
228
232
|
* > **Note:** `tunnelingEnabled` is only supported when `sku` is `Standard`.
|
|
229
233
|
*/
|
|
230
234
|
tunnelingEnabled?: pulumi.Input<boolean>;
|
|
235
|
+
/**
|
|
236
|
+
* The ID of the Virtual Network for the Developer Bastion Host. Changing this forces a new resource to be created.
|
|
237
|
+
*/
|
|
238
|
+
virtualNetworkId?: pulumi.Input<string>;
|
|
231
239
|
}
|
|
232
240
|
/**
|
|
233
241
|
* The set of arguments for constructing a BastionHost resource.
|
|
@@ -246,7 +254,7 @@ export interface BastionHostArgs {
|
|
|
246
254
|
/**
|
|
247
255
|
* A `ipConfiguration` block as defined below. Changing this forces a new resource to be created.
|
|
248
256
|
*/
|
|
249
|
-
ipConfiguration
|
|
257
|
+
ipConfiguration?: pulumi.Input<inputs.compute.BastionHostIpConfiguration>;
|
|
250
258
|
/**
|
|
251
259
|
* Is IP Connect feature enabled for the Bastion Host. Defaults to `false`.
|
|
252
260
|
*
|
|
@@ -284,7 +292,7 @@ export interface BastionHostArgs {
|
|
|
284
292
|
*/
|
|
285
293
|
shareableLinkEnabled?: pulumi.Input<boolean>;
|
|
286
294
|
/**
|
|
287
|
-
* The SKU of the Bastion Host. Accepted values are `Basic` and `Standard`. Defaults to `Basic`.
|
|
295
|
+
* The SKU of the Bastion Host. Accepted values are `Developer`, `Basic` and `Standard`. Defaults to `Basic`.
|
|
288
296
|
*
|
|
289
297
|
* > **Note** Downgrading the SKU will force a new resource to be created.
|
|
290
298
|
*/
|
|
@@ -301,4 +309,8 @@ export interface BastionHostArgs {
|
|
|
301
309
|
* > **Note:** `tunnelingEnabled` is only supported when `sku` is `Standard`.
|
|
302
310
|
*/
|
|
303
311
|
tunnelingEnabled?: pulumi.Input<boolean>;
|
|
312
|
+
/**
|
|
313
|
+
* The ID of the Virtual Network for the Developer Bastion Host. Changing this forces a new resource to be created.
|
|
314
|
+
*/
|
|
315
|
+
virtualNetworkId?: pulumi.Input<string>;
|
|
304
316
|
}
|
package/compute/bastionHost.js
CHANGED
|
@@ -79,12 +79,10 @@ class BastionHost extends pulumi.CustomResource {
|
|
|
79
79
|
resourceInputs["sku"] = state ? state.sku : undefined;
|
|
80
80
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
81
81
|
resourceInputs["tunnelingEnabled"] = state ? state.tunnelingEnabled : undefined;
|
|
82
|
+
resourceInputs["virtualNetworkId"] = state ? state.virtualNetworkId : undefined;
|
|
82
83
|
}
|
|
83
84
|
else {
|
|
84
85
|
const args = argsOrState;
|
|
85
|
-
if ((!args || args.ipConfiguration === undefined) && !opts.urn) {
|
|
86
|
-
throw new Error("Missing required property 'ipConfiguration'");
|
|
87
|
-
}
|
|
88
86
|
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
89
87
|
throw new Error("Missing required property 'resourceGroupName'");
|
|
90
88
|
}
|
|
@@ -101,6 +99,7 @@ class BastionHost extends pulumi.CustomResource {
|
|
|
101
99
|
resourceInputs["sku"] = args ? args.sku : undefined;
|
|
102
100
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
103
101
|
resourceInputs["tunnelingEnabled"] = args ? args.tunnelingEnabled : undefined;
|
|
102
|
+
resourceInputs["virtualNetworkId"] = args ? args.virtualNetworkId : undefined;
|
|
104
103
|
resourceInputs["dnsName"] = undefined /*out*/;
|
|
105
104
|
}
|
|
106
105
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bastionHost.js","sourceRoot":"","sources":["../../compute/bastionHost.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH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CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IAzJD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCA2JC;AA7IG,gBAAgB;AACO,wBAAY,GAAG,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages an implicit Data Disk of a Virtual Machine.
|
|
4
|
+
*
|
|
5
|
+
* > **Note:** The Implicit Data Disk will be deleted instantly after this resource is destroyed. If you want to detach this disk only, you may set `detachImplicitDataDiskOnDeletion` field to `true` within the `virtualMachine` block in the provider `features` block.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as azure from "@pulumi/azure";
|
|
12
|
+
*
|
|
13
|
+
* const config = new pulumi.Config();
|
|
14
|
+
* const prefix = config.get("prefix") || "example";
|
|
15
|
+
* const vmName = `${prefix}-vm`;
|
|
16
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
17
|
+
* name: `${prefix}-resources`,
|
|
18
|
+
* location: "West Europe",
|
|
19
|
+
* });
|
|
20
|
+
* const main = new azure.network.VirtualNetwork("main", {
|
|
21
|
+
* name: `${prefix}-network`,
|
|
22
|
+
* addressSpaces: ["10.0.0.0/16"],
|
|
23
|
+
* location: example.location,
|
|
24
|
+
* resourceGroupName: example.name,
|
|
25
|
+
* });
|
|
26
|
+
* const internal = new azure.network.Subnet("internal", {
|
|
27
|
+
* name: "internal",
|
|
28
|
+
* resourceGroupName: example.name,
|
|
29
|
+
* virtualNetworkName: main.name,
|
|
30
|
+
* addressPrefixes: ["10.0.2.0/24"],
|
|
31
|
+
* });
|
|
32
|
+
* const mainNetworkInterface = new azure.network.NetworkInterface("main", {
|
|
33
|
+
* name: `${prefix}-nic`,
|
|
34
|
+
* location: example.location,
|
|
35
|
+
* resourceGroupName: example.name,
|
|
36
|
+
* ipConfigurations: [{
|
|
37
|
+
* name: "internal",
|
|
38
|
+
* subnetId: internal.id,
|
|
39
|
+
* privateIpAddressAllocation: "Dynamic",
|
|
40
|
+
* }],
|
|
41
|
+
* });
|
|
42
|
+
* const exampleVirtualMachine = new azure.compute.VirtualMachine("example", {
|
|
43
|
+
* name: vmName,
|
|
44
|
+
* location: example.location,
|
|
45
|
+
* resourceGroupName: example.name,
|
|
46
|
+
* networkInterfaceIds: [mainNetworkInterface.id],
|
|
47
|
+
* vmSize: "Standard_F2",
|
|
48
|
+
* storageImageReference: {
|
|
49
|
+
* publisher: "Canonical",
|
|
50
|
+
* offer: "0001-com-ubuntu-server-jammy",
|
|
51
|
+
* sku: "22_04-lts",
|
|
52
|
+
* version: "latest",
|
|
53
|
+
* },
|
|
54
|
+
* storageOsDisk: {
|
|
55
|
+
* name: "myosdisk1",
|
|
56
|
+
* caching: "ReadWrite",
|
|
57
|
+
* createOption: "FromImage",
|
|
58
|
+
* managedDiskType: "Standard_LRS",
|
|
59
|
+
* },
|
|
60
|
+
* osProfile: {
|
|
61
|
+
* computerName: vmName,
|
|
62
|
+
* adminUsername: "testadmin",
|
|
63
|
+
* adminPassword: "Password1234!",
|
|
64
|
+
* },
|
|
65
|
+
* osProfileLinuxConfig: {
|
|
66
|
+
* disablePasswordAuthentication: false,
|
|
67
|
+
* },
|
|
68
|
+
* });
|
|
69
|
+
* const exampleManagedDisk = new azure.compute.ManagedDisk("example", {
|
|
70
|
+
* name: `${vmName}-disk1`,
|
|
71
|
+
* location: example.location,
|
|
72
|
+
* resourceGroupName: example.name,
|
|
73
|
+
* storageAccountType: "Standard_LRS",
|
|
74
|
+
* createOption: "Empty",
|
|
75
|
+
* diskSizeGb: 10,
|
|
76
|
+
* });
|
|
77
|
+
* const exampleSnapshot = new azure.compute.Snapshot("example", {
|
|
78
|
+
* name: `${vmName}-snapshot1`,
|
|
79
|
+
* location: example.location,
|
|
80
|
+
* resourceGroupName: example.name,
|
|
81
|
+
* createOption: "Copy",
|
|
82
|
+
* sourceUri: exampleManagedDisk.id,
|
|
83
|
+
* });
|
|
84
|
+
* const exampleImplicitDataDiskFromSource = new azure.compute.ImplicitDataDiskFromSource("example", {
|
|
85
|
+
* name: `${vmName}-implicitdisk1`,
|
|
86
|
+
* virtualMachineId: testAzurermVirtualMachine.id,
|
|
87
|
+
* lun: 0,
|
|
88
|
+
* caching: "None",
|
|
89
|
+
* createOption: "Copy",
|
|
90
|
+
* diskSizeGb: 20,
|
|
91
|
+
* sourceResourceId: test.id,
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* ## Import
|
|
96
|
+
*
|
|
97
|
+
* The implicit Data Disk of the Virtual Machine can be imported using the `resource id`, e.g.
|
|
98
|
+
*
|
|
99
|
+
* ```sh
|
|
100
|
+
* $ pulumi import azure:compute/implicitDataDiskFromSource:ImplicitDataDiskFromSource example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Compute/virtualMachines/machine1/dataDisks/disk1
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
export declare class ImplicitDataDiskFromSource extends pulumi.CustomResource {
|
|
104
|
+
/**
|
|
105
|
+
* Get an existing ImplicitDataDiskFromSource resource's state with the given name, ID, and optional extra
|
|
106
|
+
* properties used to qualify the lookup.
|
|
107
|
+
*
|
|
108
|
+
* @param name The _unique_ name of the resulting resource.
|
|
109
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
110
|
+
* @param state Any extra arguments used during the lookup.
|
|
111
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
112
|
+
*/
|
|
113
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ImplicitDataDiskFromSourceState, opts?: pulumi.CustomResourceOptions): ImplicitDataDiskFromSource;
|
|
114
|
+
/**
|
|
115
|
+
* Returns true if the given object is an instance of ImplicitDataDiskFromSource. This is designed to work even
|
|
116
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
117
|
+
*/
|
|
118
|
+
static isInstance(obj: any): obj is ImplicitDataDiskFromSource;
|
|
119
|
+
/**
|
|
120
|
+
* Specifies the caching requirements for this Data Disk. Possible values are `ReadOnly` and `ReadWrite`.
|
|
121
|
+
*/
|
|
122
|
+
readonly caching: pulumi.Output<string | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* Specifies the Create Option of the Data Disk. The only possible value is `Copy`. Changing this forces a new resource to be created.
|
|
125
|
+
*/
|
|
126
|
+
readonly createOption: pulumi.Output<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Specifies the size of the Data Disk in gigabytes. Changing this forces a new resource to be created.
|
|
129
|
+
*/
|
|
130
|
+
readonly diskSizeGb: pulumi.Output<number>;
|
|
131
|
+
/**
|
|
132
|
+
* The Logical Unit Number of the Data Disk, which needs to be unique within the Virtual Machine. Changing this forces a new resource to be created.
|
|
133
|
+
*/
|
|
134
|
+
readonly lun: pulumi.Output<number>;
|
|
135
|
+
/**
|
|
136
|
+
* Specifies the name of this Data Disk. Changing this forces a new resource to be created.
|
|
137
|
+
*/
|
|
138
|
+
readonly name: pulumi.Output<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The ID of the source resource which this Data Disk was created from. Changing this forces a new resource to be created.
|
|
141
|
+
*/
|
|
142
|
+
readonly sourceResourceId: pulumi.Output<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The ID of the Virtual Machine to which the Data Disk should be attached. Changing this forces a new resource to be created.
|
|
145
|
+
*/
|
|
146
|
+
readonly virtualMachineId: pulumi.Output<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Specifies if Write Accelerator is enabled on the disk. This can only be enabled on `Premium_LRS` managed disks with no caching and [M-Series VMs](https://docs.microsoft.com/azure/virtual-machines/workloads/sap/how-to-enable-write-accelerator). Defaults to `false`.
|
|
149
|
+
*/
|
|
150
|
+
readonly writeAcceleratorEnabled: pulumi.Output<boolean | undefined>;
|
|
151
|
+
/**
|
|
152
|
+
* Create a ImplicitDataDiskFromSource resource with the given unique name, arguments, and options.
|
|
153
|
+
*
|
|
154
|
+
* @param name The _unique_ name of the resource.
|
|
155
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
156
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
157
|
+
*/
|
|
158
|
+
constructor(name: string, args: ImplicitDataDiskFromSourceArgs, opts?: pulumi.CustomResourceOptions);
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Input properties used for looking up and filtering ImplicitDataDiskFromSource resources.
|
|
162
|
+
*/
|
|
163
|
+
export interface ImplicitDataDiskFromSourceState {
|
|
164
|
+
/**
|
|
165
|
+
* Specifies the caching requirements for this Data Disk. Possible values are `ReadOnly` and `ReadWrite`.
|
|
166
|
+
*/
|
|
167
|
+
caching?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Specifies the Create Option of the Data Disk. The only possible value is `Copy`. Changing this forces a new resource to be created.
|
|
170
|
+
*/
|
|
171
|
+
createOption?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Specifies the size of the Data Disk in gigabytes. Changing this forces a new resource to be created.
|
|
174
|
+
*/
|
|
175
|
+
diskSizeGb?: pulumi.Input<number>;
|
|
176
|
+
/**
|
|
177
|
+
* The Logical Unit Number of the Data Disk, which needs to be unique within the Virtual Machine. Changing this forces a new resource to be created.
|
|
178
|
+
*/
|
|
179
|
+
lun?: pulumi.Input<number>;
|
|
180
|
+
/**
|
|
181
|
+
* Specifies the name of this Data Disk. Changing this forces a new resource to be created.
|
|
182
|
+
*/
|
|
183
|
+
name?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* The ID of the source resource which this Data Disk was created from. Changing this forces a new resource to be created.
|
|
186
|
+
*/
|
|
187
|
+
sourceResourceId?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* The ID of the Virtual Machine to which the Data Disk should be attached. Changing this forces a new resource to be created.
|
|
190
|
+
*/
|
|
191
|
+
virtualMachineId?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Specifies if Write Accelerator is enabled on the disk. This can only be enabled on `Premium_LRS` managed disks with no caching and [M-Series VMs](https://docs.microsoft.com/azure/virtual-machines/workloads/sap/how-to-enable-write-accelerator). Defaults to `false`.
|
|
194
|
+
*/
|
|
195
|
+
writeAcceleratorEnabled?: pulumi.Input<boolean>;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* The set of arguments for constructing a ImplicitDataDiskFromSource resource.
|
|
199
|
+
*/
|
|
200
|
+
export interface ImplicitDataDiskFromSourceArgs {
|
|
201
|
+
/**
|
|
202
|
+
* Specifies the caching requirements for this Data Disk. Possible values are `ReadOnly` and `ReadWrite`.
|
|
203
|
+
*/
|
|
204
|
+
caching?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Specifies the Create Option of the Data Disk. The only possible value is `Copy`. Changing this forces a new resource to be created.
|
|
207
|
+
*/
|
|
208
|
+
createOption: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* Specifies the size of the Data Disk in gigabytes. Changing this forces a new resource to be created.
|
|
211
|
+
*/
|
|
212
|
+
diskSizeGb: pulumi.Input<number>;
|
|
213
|
+
/**
|
|
214
|
+
* The Logical Unit Number of the Data Disk, which needs to be unique within the Virtual Machine. Changing this forces a new resource to be created.
|
|
215
|
+
*/
|
|
216
|
+
lun: pulumi.Input<number>;
|
|
217
|
+
/**
|
|
218
|
+
* Specifies the name of this Data Disk. Changing this forces a new resource to be created.
|
|
219
|
+
*/
|
|
220
|
+
name?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* The ID of the source resource which this Data Disk was created from. Changing this forces a new resource to be created.
|
|
223
|
+
*/
|
|
224
|
+
sourceResourceId: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* The ID of the Virtual Machine to which the Data Disk should be attached. Changing this forces a new resource to be created.
|
|
227
|
+
*/
|
|
228
|
+
virtualMachineId: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* Specifies if Write Accelerator is enabled on the disk. This can only be enabled on `Premium_LRS` managed disks with no caching and [M-Series VMs](https://docs.microsoft.com/azure/virtual-machines/workloads/sap/how-to-enable-write-accelerator). Defaults to `false`.
|
|
231
|
+
*/
|
|
232
|
+
writeAcceleratorEnabled?: pulumi.Input<boolean>;
|
|
233
|
+
}
|