@pulumi/azure-native 1.78.0 → 1.79.0-alpha.1663226586
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/compute/disk.js +2 -2
- package/compute/diskAccess.js +2 -2
- package/compute/diskAccessAPrivateEndpointConnection.js +2 -2
- package/compute/diskEncryptionSet.js +2 -2
- package/compute/index.d.ts +2 -1
- package/compute/index.js +4 -2
- package/compute/snapshot.js +2 -2
- package/compute/v20160430preview/disk.js +2 -2
- package/compute/v20160430preview/snapshot.js +2 -2
- package/compute/v20170330/disk.js +2 -2
- package/compute/v20170330/snapshot.js +2 -2
- package/compute/v20180401/disk.js +2 -2
- package/compute/v20180401/snapshot.js +2 -2
- package/compute/v20180601/disk.js +2 -2
- package/compute/v20180601/snapshot.js +2 -2
- package/compute/v20180930/disk.js +2 -2
- package/compute/v20180930/snapshot.js +2 -2
- package/compute/v20190301/disk.js +2 -2
- package/compute/v20190301/snapshot.js +2 -2
- package/compute/v20190701/disk.js +2 -2
- package/compute/v20190701/diskEncryptionSet.js +2 -2
- package/compute/v20190701/snapshot.js +2 -2
- package/compute/v20191101/disk.js +2 -2
- package/compute/v20191101/diskEncryptionSet.js +2 -2
- package/compute/v20191101/snapshot.js +2 -2
- package/compute/v20200501/disk.js +2 -2
- package/compute/v20200501/diskAccess.js +2 -2
- package/compute/v20200501/diskEncryptionSet.js +2 -2
- package/compute/v20200501/snapshot.js +2 -2
- package/compute/v20200630/disk.js +2 -2
- package/compute/v20200630/diskAccess.js +2 -2
- package/compute/v20200630/diskEncryptionSet.js +2 -2
- package/compute/v20200630/snapshot.js +2 -2
- package/compute/v20200930/disk.js +2 -2
- package/compute/v20200930/diskAccess.js +2 -2
- package/compute/v20200930/diskAccessAPrivateEndpointConnection.js +2 -2
- package/compute/v20200930/diskEncryptionSet.js +2 -2
- package/compute/v20200930/snapshot.js +2 -2
- package/compute/v20201201/disk.js +2 -2
- package/compute/v20201201/diskAccess.js +2 -2
- package/compute/v20201201/diskAccessAPrivateEndpointConnection.js +2 -2
- package/compute/v20201201/diskEncryptionSet.js +2 -2
- package/compute/v20201201/snapshot.js +2 -2
- package/compute/v20210401/disk.js +2 -2
- package/compute/v20210401/diskAccess.js +2 -2
- package/compute/v20210401/diskAccessAPrivateEndpointConnection.js +2 -2
- package/compute/v20210401/diskEncryptionSet.js +2 -2
- package/compute/v20210401/snapshot.js +2 -2
- package/compute/v20210801/disk.js +2 -2
- package/compute/v20210801/diskAccess.js +2 -2
- package/compute/v20210801/diskAccessAPrivateEndpointConnection.js +2 -2
- package/compute/v20210801/diskEncryptionSet.js +2 -2
- package/compute/v20210801/snapshot.js +2 -2
- package/compute/v20211201/disk.js +2 -2
- package/compute/v20211201/diskAccess.js +2 -2
- package/compute/v20211201/diskAccessAPrivateEndpointConnection.js +2 -2
- package/compute/v20211201/diskEncryptionSet.js +2 -2
- package/compute/v20211201/snapshot.js +2 -2
- package/compute/v20220302/disk.js +2 -2
- package/compute/v20220302/diskAccess.js +2 -2
- package/compute/v20220302/diskAccessAPrivateEndpointConnection.js +2 -2
- package/compute/v20220302/diskEncryptionSet.js +2 -2
- package/compute/v20220302/snapshot.js +2 -2
- package/compute/v20220702/disk.d.ts +320 -0
- package/compute/v20220702/disk.js +144 -0
- package/compute/v20220702/diskAccess.d.ts +91 -0
- package/compute/v20220702/diskAccess.js +77 -0
- package/compute/v20220702/diskAccessAPrivateEndpointConnection.d.ts +71 -0
- package/compute/v20220702/diskAccessAPrivateEndpointConnection.js +78 -0
- package/compute/v20220702/diskEncryptionSet.d.ts +128 -0
- package/compute/v20220702/diskEncryptionSet.js +87 -0
- package/compute/v20220702/getDisk.d.ts +198 -0
- package/compute/v20220702/getDisk.js +26 -0
- package/compute/v20220702/getDiskAccess.d.ts +70 -0
- package/compute/v20220702/getDiskAccess.js +26 -0
- package/compute/v20220702/getDiskAccessAPrivateEndpointConnection.d.ts +64 -0
- package/compute/v20220702/getDiskAccessAPrivateEndpointConnection.js +27 -0
- package/compute/v20220702/getDiskEncryptionSet.d.ts +90 -0
- package/compute/v20220702/getDiskEncryptionSet.js +26 -0
- package/compute/v20220702/getSnapshot.d.ts +158 -0
- package/compute/v20220702/getSnapshot.js +26 -0
- package/compute/v20220702/index.d.ts +31 -0
- package/compute/v20220702/index.js +69 -0
- package/compute/v20220702/snapshot.d.ts +252 -0
- package/compute/v20220702/snapshot.js +124 -0
- package/costmanagement/index.d.ts +2 -1
- package/costmanagement/index.js +4 -2
- package/costmanagement/v20190401preview/view.js +2 -2
- package/costmanagement/v20190401preview/viewByScope.js +2 -2
- package/costmanagement/v20191101/view.js +2 -2
- package/costmanagement/v20191101/viewByScope.js +2 -2
- package/costmanagement/v20200601/view.js +2 -2
- package/costmanagement/v20200601/viewByScope.js +2 -2
- package/costmanagement/v20211001/view.js +2 -2
- package/costmanagement/v20211001/viewByScope.js +2 -2
- package/costmanagement/v20220801preview/view.js +2 -2
- package/costmanagement/v20220801preview/viewByScope.js +2 -2
- package/costmanagement/v20221001preview/getSettingByScope.d.ts +52 -0
- package/costmanagement/v20221001preview/getSettingByScope.js +28 -0
- package/costmanagement/v20221001preview/getTagInheritanceSetting.d.ts +57 -0
- package/costmanagement/v20221001preview/getTagInheritanceSetting.js +26 -0
- package/costmanagement/v20221001preview/getView.d.ts +100 -0
- package/costmanagement/v20221001preview/getView.js +25 -0
- package/costmanagement/v20221001preview/getViewByScope.d.ts +108 -0
- package/costmanagement/v20221001preview/getViewByScope.js +26 -0
- package/costmanagement/v20221001preview/index.d.ts +25 -0
- package/costmanagement/v20221001preview/index.js +62 -0
- package/costmanagement/v20221001preview/settingByScope.d.ts +69 -0
- package/costmanagement/v20221001preview/settingByScope.js +74 -0
- package/costmanagement/v20221001preview/tagInheritanceSetting.d.ts +77 -0
- package/costmanagement/v20221001preview/tagInheritanceSetting.js +71 -0
- package/costmanagement/v20221001preview/view.d.ts +164 -0
- package/costmanagement/v20221001preview/view.js +99 -0
- package/costmanagement/v20221001preview/viewByScope.d.ts +164 -0
- package/costmanagement/v20221001preview/viewByScope.js +102 -0
- package/costmanagement/view.js +2 -2
- package/costmanagement/viewByScope.js +2 -2
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/types/enums/compute/index.d.ts +2 -1
- package/types/enums/compute/index.js +5 -3
- package/types/enums/compute/v20220702/index.d.ts +262 -0
- package/types/enums/compute/v20220702/index.js +204 -0
- package/types/enums/costmanagement/index.d.ts +2 -1
- package/types/enums/costmanagement/index.js +4 -2
- package/types/enums/costmanagement/v20221001preview/index.d.ts +107 -0
- package/types/enums/costmanagement/v20221001preview/index.js +61 -0
- package/types/input.d.ts +457 -0
- package/types/input.js +1 -1
- package/types/output.d.ts +595 -0
- package/types/output.js +1 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* The Private Endpoint Connection resource.
|
|
6
|
+
*/
|
|
7
|
+
export declare class DiskAccessAPrivateEndpointConnection extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing DiskAccessAPrivateEndpointConnection resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DiskAccessAPrivateEndpointConnection;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of DiskAccessAPrivateEndpointConnection. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is DiskAccessAPrivateEndpointConnection;
|
|
22
|
+
/**
|
|
23
|
+
* private endpoint connection name
|
|
24
|
+
*/
|
|
25
|
+
readonly name: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The resource of private end point.
|
|
28
|
+
*/
|
|
29
|
+
readonly privateEndpoint: pulumi.Output<outputs.compute.v20220702.PrivateEndpointResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* A collection of information about the state of the connection between DiskAccess and Virtual Network.
|
|
32
|
+
*/
|
|
33
|
+
readonly privateLinkServiceConnectionState: pulumi.Output<outputs.compute.v20220702.PrivateLinkServiceConnectionStateResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* The provisioning state of the private endpoint connection resource.
|
|
36
|
+
*/
|
|
37
|
+
readonly provisioningState: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* private endpoint connection type
|
|
40
|
+
*/
|
|
41
|
+
readonly type: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a DiskAccessAPrivateEndpointConnection resource with the given unique name, arguments, and options.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resource.
|
|
46
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
47
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
48
|
+
*/
|
|
49
|
+
constructor(name: string, args: DiskAccessAPrivateEndpointConnectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* The set of arguments for constructing a DiskAccessAPrivateEndpointConnection resource.
|
|
53
|
+
*/
|
|
54
|
+
export interface DiskAccessAPrivateEndpointConnectionArgs {
|
|
55
|
+
/**
|
|
56
|
+
* The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
|
|
57
|
+
*/
|
|
58
|
+
diskAccessName: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The name of the private endpoint connection.
|
|
61
|
+
*/
|
|
62
|
+
privateEndpointConnectionName?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* A collection of information about the state of the connection between DiskAccess and Virtual Network.
|
|
65
|
+
*/
|
|
66
|
+
privateLinkServiceConnectionState: pulumi.Input<inputs.compute.v20220702.PrivateLinkServiceConnectionStateArgs>;
|
|
67
|
+
/**
|
|
68
|
+
* The name of the resource group.
|
|
69
|
+
*/
|
|
70
|
+
resourceGroupName: pulumi.Input<string>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.DiskAccessAPrivateEndpointConnection = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Private Endpoint Connection resource.
|
|
10
|
+
*/
|
|
11
|
+
class DiskAccessAPrivateEndpointConnection extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a DiskAccessAPrivateEndpointConnection resource with the given unique name, arguments, and options.
|
|
14
|
+
*
|
|
15
|
+
* @param name The _unique_ name of the resource.
|
|
16
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
17
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
18
|
+
*/
|
|
19
|
+
constructor(name, args, opts) {
|
|
20
|
+
let resourceInputs = {};
|
|
21
|
+
opts = opts || {};
|
|
22
|
+
if (!opts.id) {
|
|
23
|
+
if ((!args || args.diskAccessName === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'diskAccessName'");
|
|
25
|
+
}
|
|
26
|
+
if ((!args || args.privateLinkServiceConnectionState === undefined) && !opts.urn) {
|
|
27
|
+
throw new Error("Missing required property 'privateLinkServiceConnectionState'");
|
|
28
|
+
}
|
|
29
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
30
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
31
|
+
}
|
|
32
|
+
resourceInputs["diskAccessName"] = args ? args.diskAccessName : undefined;
|
|
33
|
+
resourceInputs["privateEndpointConnectionName"] = args ? args.privateEndpointConnectionName : undefined;
|
|
34
|
+
resourceInputs["privateLinkServiceConnectionState"] = args ? args.privateLinkServiceConnectionState : undefined;
|
|
35
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
36
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
37
|
+
resourceInputs["privateEndpoint"] = undefined /*out*/;
|
|
38
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
39
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
43
|
+
resourceInputs["privateEndpoint"] = undefined /*out*/;
|
|
44
|
+
resourceInputs["privateLinkServiceConnectionState"] = undefined /*out*/;
|
|
45
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
46
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
47
|
+
}
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
49
|
+
const aliasOpts = { aliases: [{ type: "azure-native:compute:DiskAccessAPrivateEndpointConnection" }, { type: "azure-native:compute/v20200930:DiskAccessAPrivateEndpointConnection" }, { type: "azure-native:compute/v20201201:DiskAccessAPrivateEndpointConnection" }, { type: "azure-native:compute/v20210401:DiskAccessAPrivateEndpointConnection" }, { type: "azure-native:compute/v20210801:DiskAccessAPrivateEndpointConnection" }, { type: "azure-native:compute/v20211201:DiskAccessAPrivateEndpointConnection" }, { type: "azure-native:compute/v20220302:DiskAccessAPrivateEndpointConnection" }] };
|
|
50
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
51
|
+
super(DiskAccessAPrivateEndpointConnection.__pulumiType, name, resourceInputs, opts);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing DiskAccessAPrivateEndpointConnection resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
|
+
*/
|
|
61
|
+
static get(name, id, opts) {
|
|
62
|
+
return new DiskAccessAPrivateEndpointConnection(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the given object is an instance of DiskAccessAPrivateEndpointConnection. This is designed to work even
|
|
66
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
+
*/
|
|
68
|
+
static isInstance(obj) {
|
|
69
|
+
if (obj === undefined || obj === null) {
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
return obj['__pulumiType'] === DiskAccessAPrivateEndpointConnection.__pulumiType;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.DiskAccessAPrivateEndpointConnection = DiskAccessAPrivateEndpointConnection;
|
|
76
|
+
/** @internal */
|
|
77
|
+
DiskAccessAPrivateEndpointConnection.__pulumiType = 'azure-native:compute/v20220702:DiskAccessAPrivateEndpointConnection';
|
|
78
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlza0FjY2Vzc0FQcml2YXRlRW5kcG9pbnRDb25uZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vY29tcHV0ZS92MjAyMjA3MDIvZGlza0FjY2Vzc0FQcml2YXRlRW5kcG9pbnRDb25uZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSx3RUFBd0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DQUFDLEtBQUssb0NBQW9DLENBQUMsWUFBWSxDQUFDO0lBQ3JGLENBQUM7O0FBekJMLG9GQXdGQztBQTNFRyxnQkFBZ0I7QUFDTyxpREFBWSxHQUFHLHFFQUFxRSxDQUFDIn0=
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import * as enums from "../../types/enums";
|
|
5
|
+
/**
|
|
6
|
+
* disk encryption set resource.
|
|
7
|
+
*/
|
|
8
|
+
export declare class DiskEncryptionSet extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing DiskEncryptionSet resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DiskEncryptionSet;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of DiskEncryptionSet. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is DiskEncryptionSet;
|
|
23
|
+
/**
|
|
24
|
+
* The key vault key which is currently used by this disk encryption set.
|
|
25
|
+
*/
|
|
26
|
+
readonly activeKey: pulumi.Output<outputs.compute.v20220702.KeyForDiskEncryptionSetResponse | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* The error that was encountered during auto-key rotation. If an error is present, then auto-key rotation will not be attempted until the error on this disk encryption set is fixed.
|
|
29
|
+
*/
|
|
30
|
+
readonly autoKeyRotationError: pulumi.Output<outputs.compute.v20220702.ApiErrorResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* The type of key used to encrypt the data of the disk.
|
|
33
|
+
*/
|
|
34
|
+
readonly encryptionType: pulumi.Output<string | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property.
|
|
37
|
+
*/
|
|
38
|
+
readonly federatedClientId: pulumi.Output<string | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.
|
|
41
|
+
*/
|
|
42
|
+
readonly identity: pulumi.Output<outputs.compute.v20220702.EncryptionSetIdentityResponse | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* The time when the active key of this disk encryption set was updated.
|
|
45
|
+
*/
|
|
46
|
+
readonly lastKeyRotationTimestamp: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Resource location
|
|
49
|
+
*/
|
|
50
|
+
readonly location: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Resource name
|
|
53
|
+
*/
|
|
54
|
+
readonly name: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation.
|
|
57
|
+
*/
|
|
58
|
+
readonly previousKeys: pulumi.Output<outputs.compute.v20220702.KeyForDiskEncryptionSetResponse[]>;
|
|
59
|
+
/**
|
|
60
|
+
* The disk encryption set provisioning state.
|
|
61
|
+
*/
|
|
62
|
+
readonly provisioningState: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.
|
|
65
|
+
*/
|
|
66
|
+
readonly rotationToLatestKeyVersionEnabled: pulumi.Output<boolean | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Resource tags
|
|
69
|
+
*/
|
|
70
|
+
readonly tags: pulumi.Output<{
|
|
71
|
+
[key: string]: string;
|
|
72
|
+
} | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* Resource type
|
|
75
|
+
*/
|
|
76
|
+
readonly type: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Create a DiskEncryptionSet resource with the given unique name, arguments, and options.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resource.
|
|
81
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
82
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
83
|
+
*/
|
|
84
|
+
constructor(name: string, args: DiskEncryptionSetArgs, opts?: pulumi.CustomResourceOptions);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* The set of arguments for constructing a DiskEncryptionSet resource.
|
|
88
|
+
*/
|
|
89
|
+
export interface DiskEncryptionSetArgs {
|
|
90
|
+
/**
|
|
91
|
+
* The key vault key which is currently used by this disk encryption set.
|
|
92
|
+
*/
|
|
93
|
+
activeKey?: pulumi.Input<inputs.compute.v20220702.KeyForDiskEncryptionSetArgs>;
|
|
94
|
+
/**
|
|
95
|
+
* The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
|
|
96
|
+
*/
|
|
97
|
+
diskEncryptionSetName?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The type of key used to encrypt the data of the disk.
|
|
100
|
+
*/
|
|
101
|
+
encryptionType?: pulumi.Input<string | enums.compute.v20220702.DiskEncryptionSetType>;
|
|
102
|
+
/**
|
|
103
|
+
* Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property.
|
|
104
|
+
*/
|
|
105
|
+
federatedClientId?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.
|
|
108
|
+
*/
|
|
109
|
+
identity?: pulumi.Input<inputs.compute.v20220702.EncryptionSetIdentityArgs>;
|
|
110
|
+
/**
|
|
111
|
+
* Resource location
|
|
112
|
+
*/
|
|
113
|
+
location?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The name of the resource group.
|
|
116
|
+
*/
|
|
117
|
+
resourceGroupName: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.
|
|
120
|
+
*/
|
|
121
|
+
rotationToLatestKeyVersionEnabled?: pulumi.Input<boolean>;
|
|
122
|
+
/**
|
|
123
|
+
* Resource tags
|
|
124
|
+
*/
|
|
125
|
+
tags?: pulumi.Input<{
|
|
126
|
+
[key: string]: pulumi.Input<string>;
|
|
127
|
+
}>;
|
|
128
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.DiskEncryptionSet = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* disk encryption set resource.
|
|
10
|
+
*/
|
|
11
|
+
class DiskEncryptionSet extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a DiskEncryptionSet resource with the given unique name, arguments, and options.
|
|
14
|
+
*
|
|
15
|
+
* @param name The _unique_ name of the resource.
|
|
16
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
17
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
18
|
+
*/
|
|
19
|
+
constructor(name, args, opts) {
|
|
20
|
+
let resourceInputs = {};
|
|
21
|
+
opts = opts || {};
|
|
22
|
+
if (!opts.id) {
|
|
23
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
25
|
+
}
|
|
26
|
+
resourceInputs["activeKey"] = args ? args.activeKey : undefined;
|
|
27
|
+
resourceInputs["diskEncryptionSetName"] = args ? args.diskEncryptionSetName : undefined;
|
|
28
|
+
resourceInputs["encryptionType"] = args ? args.encryptionType : undefined;
|
|
29
|
+
resourceInputs["federatedClientId"] = args ? args.federatedClientId : undefined;
|
|
30
|
+
resourceInputs["identity"] = args ? args.identity : undefined;
|
|
31
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
32
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
33
|
+
resourceInputs["rotationToLatestKeyVersionEnabled"] = args ? args.rotationToLatestKeyVersionEnabled : undefined;
|
|
34
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
35
|
+
resourceInputs["autoKeyRotationError"] = undefined /*out*/;
|
|
36
|
+
resourceInputs["lastKeyRotationTimestamp"] = undefined /*out*/;
|
|
37
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
38
|
+
resourceInputs["previousKeys"] = undefined /*out*/;
|
|
39
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
40
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
resourceInputs["activeKey"] = undefined /*out*/;
|
|
44
|
+
resourceInputs["autoKeyRotationError"] = undefined /*out*/;
|
|
45
|
+
resourceInputs["encryptionType"] = undefined /*out*/;
|
|
46
|
+
resourceInputs["federatedClientId"] = undefined /*out*/;
|
|
47
|
+
resourceInputs["identity"] = undefined /*out*/;
|
|
48
|
+
resourceInputs["lastKeyRotationTimestamp"] = undefined /*out*/;
|
|
49
|
+
resourceInputs["location"] = undefined /*out*/;
|
|
50
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
51
|
+
resourceInputs["previousKeys"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["rotationToLatestKeyVersionEnabled"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
56
|
+
}
|
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
58
|
+
const aliasOpts = { aliases: [{ type: "azure-native:compute:DiskEncryptionSet" }, { type: "azure-native:compute/v20190701:DiskEncryptionSet" }, { type: "azure-native:compute/v20191101:DiskEncryptionSet" }, { type: "azure-native:compute/v20200501:DiskEncryptionSet" }, { type: "azure-native:compute/v20200630:DiskEncryptionSet" }, { type: "azure-native:compute/v20200930:DiskEncryptionSet" }, { type: "azure-native:compute/v20201201:DiskEncryptionSet" }, { type: "azure-native:compute/v20210401:DiskEncryptionSet" }, { type: "azure-native:compute/v20210801:DiskEncryptionSet" }, { type: "azure-native:compute/v20211201:DiskEncryptionSet" }, { type: "azure-native:compute/v20220302:DiskEncryptionSet" }] };
|
|
59
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
60
|
+
super(DiskEncryptionSet.__pulumiType, name, resourceInputs, opts);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Get an existing DiskEncryptionSet resource's state with the given name, ID, and optional extra
|
|
64
|
+
* properties used to qualify the lookup.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resulting resource.
|
|
67
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
68
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
69
|
+
*/
|
|
70
|
+
static get(name, id, opts) {
|
|
71
|
+
return new DiskEncryptionSet(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Returns true if the given object is an instance of DiskEncryptionSet. This is designed to work even
|
|
75
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
76
|
+
*/
|
|
77
|
+
static isInstance(obj) {
|
|
78
|
+
if (obj === undefined || obj === null) {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
return obj['__pulumiType'] === DiskEncryptionSet.__pulumiType;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.DiskEncryptionSet = DiskEncryptionSet;
|
|
85
|
+
/** @internal */
|
|
86
|
+
DiskEncryptionSet.__pulumiType = 'azure-native:compute/v20220702:DiskEncryptionSet';
|
|
87
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlza0VuY3J5cHRpb25TZXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb21wdXRlL3YyMDIyMDcwMi9kaXNrRW5jcnlwdGlvblNldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsd0VBQXdFO0FBQ3hFLGlGQUFpRjs7O0FBRWpGLHlDQUF5QztBQUl6Qyw2Q0FBNkM7QUFFN0M7O0dBRUc7QUFDSCxNQUFhLGlCQUFrQixTQUFRLE1BQU0sQ0FBQyxjQUFjO0lBZ0Z4RDs7Ozs7O09BTUc7SUFDSCxZQUFZLElBQVksRUFBRSxJQUEyQixFQUFFLElBQW1DO1FBQ3RGLElBQUksY0FBYyxHQUFrQixFQUFFLENBQUM7UUFDdkMsSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFLENBQUM7UUFDbEIsSUFBSSxDQUFDLElBQUksQ0FBQyxFQUFFLEVBQUU7WUFDVixJQUFJLENBQUMsQ0FBQyxJQUFJLElBQUksSUFBSSxDQUFDLGlCQUFpQixLQUFLLFNBQVMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEdBQUcsRUFBRTtnQkFDOUQsTUFBTSxJQUFJLEtBQUssQ0FBQywrQ0FBK0MsQ0FBQyxDQUFDO2FBQ3BFO1lBQ0QsY0FBYyxDQUFDLFdBQVcsQ0FBQyxHQUFHLElBQUksQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUMsU0FBUyxDQUFDO1lBQ2hFLGNBQ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FFLElBQUksQ0FBQyxDQUFDO0lBQ3RFLENBQUM7SUEvSEQ7Ozs7Ozs7T0FPRztJQUNJLE1BQU0sQ0FBQyxHQUFHLENBQUMsSUFBWSxFQUFFLEVBQTJCLEVBQUUsSUFBbUM7UUFDNUYsT0FBTyxJQUFJLGlCQUFpQixDQUFDLElBQUksRUFBRSxTQUFnQixrQ0FBTyxJQUFJLEtBQUUsRUFBRSxFQUFFLEVBQUUsSUFBRyxDQUFDO0lBQzlFLENBQUM7SUFLRDs7O09BR0c7SUFDSSxNQUFNLENBQUMsVUFBVSxDQUFDLEdBQVE7UUFDN0IsSUFBSSxHQUFHLEtBQUssU0FBUyxJQUFJLEdBQUcsS0FBSyxJQUFJLEVBQUU7WUFDbkMsT0FBTyxLQUFLLENBQUM7U0FDaEI7UUFDRCxPQUFPLEdBQUcsQ0FBQyxjQUFjLENBQUMsS0FBSyxpQkFBaUIsQ0FBQyxZQUFZLENBQUM7SUFDbEUsQ0FBQzs7QUF6QkwsOENBaUlDO0FBcEhHLGdCQUFnQjtBQUNPLDhCQUFZLEdBQUcsa0RBQWtELENBQUMifQ==
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Disk resource.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getDisk(args: GetDiskArgs, opts?: pulumi.InvokeOptions): Promise<GetDiskResult>;
|
|
7
|
+
export interface GetDiskArgs {
|
|
8
|
+
/**
|
|
9
|
+
* The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
|
|
10
|
+
*/
|
|
11
|
+
diskName: string;
|
|
12
|
+
/**
|
|
13
|
+
* The name of the resource group.
|
|
14
|
+
*/
|
|
15
|
+
resourceGroupName: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Disk resource.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetDiskResult {
|
|
21
|
+
/**
|
|
22
|
+
* Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.
|
|
23
|
+
*/
|
|
24
|
+
readonly burstingEnabled?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Latest time when bursting was last enabled on a disk.
|
|
27
|
+
*/
|
|
28
|
+
readonly burstingEnabledTime: string;
|
|
29
|
+
/**
|
|
30
|
+
* Percentage complete for the background copy when a resource is created via the CopyStart operation.
|
|
31
|
+
*/
|
|
32
|
+
readonly completionPercent?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Disk source information. CreationData information cannot be changed after the disk has been created.
|
|
35
|
+
*/
|
|
36
|
+
readonly creationData: outputs.compute.v20220702.CreationDataResponse;
|
|
37
|
+
/**
|
|
38
|
+
* Additional authentication requirements when exporting or uploading to a disk or snapshot.
|
|
39
|
+
*/
|
|
40
|
+
readonly dataAccessAuthMode?: string;
|
|
41
|
+
/**
|
|
42
|
+
* ARM id of the DiskAccess resource for using private endpoints on disks.
|
|
43
|
+
*/
|
|
44
|
+
readonly diskAccessId?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.
|
|
47
|
+
*/
|
|
48
|
+
readonly diskIOPSReadOnly?: number;
|
|
49
|
+
/**
|
|
50
|
+
* The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
|
|
51
|
+
*/
|
|
52
|
+
readonly diskIOPSReadWrite?: number;
|
|
53
|
+
/**
|
|
54
|
+
* The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
|
|
55
|
+
*/
|
|
56
|
+
readonly diskMBpsReadOnly?: number;
|
|
57
|
+
/**
|
|
58
|
+
* The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
|
|
59
|
+
*/
|
|
60
|
+
readonly diskMBpsReadWrite?: number;
|
|
61
|
+
/**
|
|
62
|
+
* The size of the disk in bytes. This field is read only.
|
|
63
|
+
*/
|
|
64
|
+
readonly diskSizeBytes: number;
|
|
65
|
+
/**
|
|
66
|
+
* If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
|
|
67
|
+
*/
|
|
68
|
+
readonly diskSizeGB?: number;
|
|
69
|
+
/**
|
|
70
|
+
* The state of the disk.
|
|
71
|
+
*/
|
|
72
|
+
readonly diskState: string;
|
|
73
|
+
/**
|
|
74
|
+
* Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
|
|
75
|
+
*/
|
|
76
|
+
readonly encryption?: outputs.compute.v20220702.EncryptionResponse;
|
|
77
|
+
/**
|
|
78
|
+
* Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
|
|
79
|
+
*/
|
|
80
|
+
readonly encryptionSettingsCollection?: outputs.compute.v20220702.EncryptionSettingsCollectionResponse;
|
|
81
|
+
/**
|
|
82
|
+
* The extended location where the disk will be created. Extended location cannot be changed.
|
|
83
|
+
*/
|
|
84
|
+
readonly extendedLocation?: outputs.compute.v20220702.ExtendedLocationResponse;
|
|
85
|
+
/**
|
|
86
|
+
* The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
|
|
87
|
+
*/
|
|
88
|
+
readonly hyperVGeneration?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Resource Id
|
|
91
|
+
*/
|
|
92
|
+
readonly id: string;
|
|
93
|
+
/**
|
|
94
|
+
* Resource location
|
|
95
|
+
*/
|
|
96
|
+
readonly location: string;
|
|
97
|
+
/**
|
|
98
|
+
* A relative URI containing the ID of the VM that has the disk attached.
|
|
99
|
+
*/
|
|
100
|
+
readonly managedBy: string;
|
|
101
|
+
/**
|
|
102
|
+
* List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
|
|
103
|
+
*/
|
|
104
|
+
readonly managedByExtended: string[];
|
|
105
|
+
/**
|
|
106
|
+
* The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.
|
|
107
|
+
*/
|
|
108
|
+
readonly maxShares?: number;
|
|
109
|
+
/**
|
|
110
|
+
* Resource name
|
|
111
|
+
*/
|
|
112
|
+
readonly name: string;
|
|
113
|
+
/**
|
|
114
|
+
* Policy for accessing the disk via network.
|
|
115
|
+
*/
|
|
116
|
+
readonly networkAccessPolicy?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Setting this property to true improves reliability and performance of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to another. This property should not be set for disks that are not detached and attached frequently as it causes the disks to not align with the fault domain of the virtual machine.
|
|
119
|
+
*/
|
|
120
|
+
readonly optimizedForFrequentAttach?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* The Operating System type.
|
|
123
|
+
*/
|
|
124
|
+
readonly osType?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Properties of the disk for which update is pending.
|
|
127
|
+
*/
|
|
128
|
+
readonly propertyUpdatesInProgress: outputs.compute.v20220702.PropertyUpdatesInProgressResponse;
|
|
129
|
+
/**
|
|
130
|
+
* The disk provisioning state.
|
|
131
|
+
*/
|
|
132
|
+
readonly provisioningState: string;
|
|
133
|
+
/**
|
|
134
|
+
* Policy for controlling export on the disk.
|
|
135
|
+
*/
|
|
136
|
+
readonly publicNetworkAccess?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
|
|
139
|
+
*/
|
|
140
|
+
readonly purchasePlan?: outputs.compute.v20220702.PurchasePlanResponse;
|
|
141
|
+
/**
|
|
142
|
+
* Contains the security related information for the resource.
|
|
143
|
+
*/
|
|
144
|
+
readonly securityProfile?: outputs.compute.v20220702.DiskSecurityProfileResponse;
|
|
145
|
+
/**
|
|
146
|
+
* Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
|
|
147
|
+
*/
|
|
148
|
+
readonly shareInfo: outputs.compute.v20220702.ShareInfoElementResponse[];
|
|
149
|
+
/**
|
|
150
|
+
* The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS.
|
|
151
|
+
*/
|
|
152
|
+
readonly sku?: outputs.compute.v20220702.DiskSkuResponse;
|
|
153
|
+
/**
|
|
154
|
+
* List of supported capabilities for the image from which the OS disk was created.
|
|
155
|
+
*/
|
|
156
|
+
readonly supportedCapabilities?: outputs.compute.v20220702.SupportedCapabilitiesResponse;
|
|
157
|
+
/**
|
|
158
|
+
* Indicates the OS on a disk supports hibernation.
|
|
159
|
+
*/
|
|
160
|
+
readonly supportsHibernation?: boolean;
|
|
161
|
+
/**
|
|
162
|
+
* Resource tags
|
|
163
|
+
*/
|
|
164
|
+
readonly tags?: {
|
|
165
|
+
[key: string]: string;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
|
|
169
|
+
*/
|
|
170
|
+
readonly tier?: string;
|
|
171
|
+
/**
|
|
172
|
+
* The time when the disk was created.
|
|
173
|
+
*/
|
|
174
|
+
readonly timeCreated: string;
|
|
175
|
+
/**
|
|
176
|
+
* Resource type
|
|
177
|
+
*/
|
|
178
|
+
readonly type: string;
|
|
179
|
+
/**
|
|
180
|
+
* Unique Guid identifying the resource.
|
|
181
|
+
*/
|
|
182
|
+
readonly uniqueId: string;
|
|
183
|
+
/**
|
|
184
|
+
* The Logical zone list for Disk.
|
|
185
|
+
*/
|
|
186
|
+
readonly zones?: string[];
|
|
187
|
+
}
|
|
188
|
+
export declare function getDiskOutput(args: GetDiskOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDiskResult>;
|
|
189
|
+
export interface GetDiskOutputArgs {
|
|
190
|
+
/**
|
|
191
|
+
* The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
|
|
192
|
+
*/
|
|
193
|
+
diskName: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* The name of the resource group.
|
|
196
|
+
*/
|
|
197
|
+
resourceGroupName: pulumi.Input<string>;
|
|
198
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.getDiskOutput = exports.getDisk = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Disk resource.
|
|
10
|
+
*/
|
|
11
|
+
function getDisk(args, opts) {
|
|
12
|
+
if (!opts) {
|
|
13
|
+
opts = {};
|
|
14
|
+
}
|
|
15
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
16
|
+
return pulumi.runtime.invoke("azure-native:compute/v20220702:getDisk", {
|
|
17
|
+
"diskName": args.diskName,
|
|
18
|
+
"resourceGroupName": args.resourceGroupName,
|
|
19
|
+
}, opts);
|
|
20
|
+
}
|
|
21
|
+
exports.getDisk = getDisk;
|
|
22
|
+
function getDiskOutput(args, opts) {
|
|
23
|
+
return pulumi.output(args).apply(a => getDisk(a, opts));
|
|
24
|
+
}
|
|
25
|
+
exports.getDiskOutput = getDiskOutput;
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0RGlzay5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2NvbXB1dGUvdjIwMjIwNzAyL2dldERpc2sudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN4RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFJekMsNkNBQTZDO0FBRTdDOztHQUVHO0FBQ0gsU0FBZ0IsT0FBTyxDQUFDLElBQWlCLEVBQUUsSUFBMkI7SUFDbEUsSUFBSSxDQUFDLElBQUksRUFBRTtRQUNQLElBQUksR0FBRyxFQUFFLENBQUE7S0FDWjtJQUVELElBQUksR0FBRyxNQUFNLENBQUMsWUFBWSxDQUFDLFNBQVMsQ0FBQyxvQkFBb0IsRUFBRSxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQ25FLE9BQU8sTUFBTSxDQUFDLE9BQU8sQ0FBQyxNQUFNLENBQUMsd0NBQXdDLEVBQUU7UUFDbkUsVUFBVSxFQUFFLElBQUksQ0FBQyxRQUFRO1FBQ3pCLG1CQUFtQixFQUFFLElBQUksQ0FBQyxpQkFBaUI7S0FDOUMsRUFBRSxJQUFJLENBQUMsQ0FBQztBQUNiLENBQUM7QUFWRCwwQkFVQztBQXVMRCxTQUFnQixhQUFhLENBQUMsSUFBdUIsRUFBRSxJQUEyQjtJQUM5RSxPQUFPLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsT0FBTyxDQUFDLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFBO0FBQzNELENBQUM7QUFGRCxzQ0FFQyJ9
|