@pulumi/azure 6.9.0 → 6.10.0-alpha.1732011495
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/automation/jobSchedule.d.ts +1 -1
- package/automation/jobSchedule.js +1 -1
- package/automation/runBook.d.ts +3 -3
- package/cognitive/getAccount.d.ts +4 -0
- package/cognitive/getAccount.js.map +1 -1
- package/communication/emailService.d.ts +3 -3
- package/communication/service.d.ts +3 -3
- package/compute/bastionHost.d.ts +12 -0
- package/compute/bastionHost.js +2 -0
- package/compute/bastionHost.js.map +1 -1
- package/compute/getBastionHost.d.ts +4 -0
- package/compute/getBastionHost.js.map +1 -1
- package/fluidrelay/server.d.ts +9 -0
- package/fluidrelay/server.js.map +1 -1
- package/keyvault/getManagedHardwareSecurityModuleKey.d.ts +122 -0
- package/keyvault/getManagedHardwareSecurityModuleKey.js +70 -0
- package/keyvault/getManagedHardwareSecurityModuleKey.js.map +1 -0
- package/keyvault/index.d.ts +3 -0
- package/keyvault/index.js +4 -1
- package/keyvault/index.js.map +1 -1
- package/netapp/backupPolicy.d.ts +191 -0
- package/netapp/backupPolicy.js +106 -0
- package/netapp/backupPolicy.js.map +1 -0
- package/netapp/backupVault.d.ts +136 -0
- package/netapp/backupVault.js +97 -0
- package/netapp/backupVault.js.map +1 -0
- package/netapp/getAccountEncryption.d.ts +3 -27
- package/netapp/getAccountEncryption.js +0 -6
- package/netapp/getAccountEncryption.js.map +1 -1
- package/netapp/getBackupPolicy.d.ts +112 -0
- package/netapp/getBackupPolicy.js +60 -0
- package/netapp/getBackupPolicy.js.map +1 -0
- package/netapp/getBackupVault.d.ts +87 -0
- package/netapp/getBackupVault.js +60 -0
- package/netapp/getBackupVault.js.map +1 -0
- package/netapp/getVolume.d.ts +5 -1
- package/netapp/getVolume.js.map +1 -1
- package/netapp/index.d.ts +12 -0
- package/netapp/index.js +17 -1
- package/netapp/index.js.map +1 -1
- package/netapp/volume.d.ts +17 -1
- package/netapp/volume.js +6 -0
- package/netapp/volume.js.map +1 -1
- package/network/trafficManagerAzureEndpoint.d.ts +4 -4
- package/network/trafficManagerExternalEndpoint.d.ts +4 -4
- package/package.json +2 -2
- package/types/input.d.ts +46 -16
- package/types/output.d.ts +60 -16
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a NetApp Backup Policy.
|
|
4
|
+
*
|
|
5
|
+
* ## NetApp Backup Policy Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
12
|
+
* name: "example-resources",
|
|
13
|
+
* location: "West Europe",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleAccount = new azure.netapp.Account("example", {
|
|
16
|
+
* name: "example-netappaccount",
|
|
17
|
+
* location: example.location,
|
|
18
|
+
* resourceGroupName: example.name,
|
|
19
|
+
* });
|
|
20
|
+
* const exampleBackupPolicy = new azure.netapp.BackupPolicy("example", {
|
|
21
|
+
* name: "example-netappbackuppolicy",
|
|
22
|
+
* resourceGroupName: example.name,
|
|
23
|
+
* location: example.location,
|
|
24
|
+
* accountName: exampleAccount.name,
|
|
25
|
+
* enabled: true,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* NetApp Backup Policy can be imported using the `resource id`, e.g.
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import azure:netapp/backupPolicy:BackupPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backuppolicy1
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class BackupPolicy extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing BackupPolicy resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackupPolicyState, opts?: pulumi.CustomResourceOptions): BackupPolicy;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of BackupPolicy. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj: any): obj is BackupPolicy;
|
|
53
|
+
/**
|
|
54
|
+
* The name of the NetApp account in which the NetApp Policy should be created under. Changing this forces a new resource to be created.
|
|
55
|
+
*/
|
|
56
|
+
readonly accountName: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Provides the number of daily backups to keep, defaults to `2` which is the minimum, maximum is 1019.
|
|
59
|
+
*/
|
|
60
|
+
readonly dailyBackupsToKeep: pulumi.Output<number | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* Whether the Backup Policy is enabled. Defaults to `true`.
|
|
63
|
+
*/
|
|
64
|
+
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
|
|
67
|
+
*/
|
|
68
|
+
readonly location: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Provides the number of monthly backups to keep, defaults to `1` which is the minimum, maximum is 1019.
|
|
71
|
+
*
|
|
72
|
+
* > **Note:** Currently, the combined (daily + weekly + monthy) retention counts cannot exceed 1019.
|
|
73
|
+
*/
|
|
74
|
+
readonly monthlyBackupsToKeep: pulumi.Output<number | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* The name of the NetApp Backup Policy. Changing this forces a new resource to be created.
|
|
77
|
+
*/
|
|
78
|
+
readonly name: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The name of the resource group where the NetApp Backup Policy should be created. Changing this forces a new resource to be created.
|
|
81
|
+
*/
|
|
82
|
+
readonly resourceGroupName: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* A mapping of tags to assign to the resource.
|
|
85
|
+
*/
|
|
86
|
+
readonly tags: pulumi.Output<{
|
|
87
|
+
[key: string]: string;
|
|
88
|
+
} | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* Provides the number of weekly backups to keep, defaults to `1` which is the minimum, maximum is 1019.
|
|
91
|
+
*/
|
|
92
|
+
readonly weeklyBackupsToKeep: pulumi.Output<number | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* Create a BackupPolicy resource with the given unique name, arguments, and options.
|
|
95
|
+
*
|
|
96
|
+
* @param name The _unique_ name of the resource.
|
|
97
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
98
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
99
|
+
*/
|
|
100
|
+
constructor(name: string, args: BackupPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Input properties used for looking up and filtering BackupPolicy resources.
|
|
104
|
+
*/
|
|
105
|
+
export interface BackupPolicyState {
|
|
106
|
+
/**
|
|
107
|
+
* The name of the NetApp account in which the NetApp Policy should be created under. Changing this forces a new resource to be created.
|
|
108
|
+
*/
|
|
109
|
+
accountName?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Provides the number of daily backups to keep, defaults to `2` which is the minimum, maximum is 1019.
|
|
112
|
+
*/
|
|
113
|
+
dailyBackupsToKeep?: pulumi.Input<number>;
|
|
114
|
+
/**
|
|
115
|
+
* Whether the Backup Policy is enabled. Defaults to `true`.
|
|
116
|
+
*/
|
|
117
|
+
enabled?: pulumi.Input<boolean>;
|
|
118
|
+
/**
|
|
119
|
+
* Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
|
|
120
|
+
*/
|
|
121
|
+
location?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Provides the number of monthly backups to keep, defaults to `1` which is the minimum, maximum is 1019.
|
|
124
|
+
*
|
|
125
|
+
* > **Note:** Currently, the combined (daily + weekly + monthy) retention counts cannot exceed 1019.
|
|
126
|
+
*/
|
|
127
|
+
monthlyBackupsToKeep?: pulumi.Input<number>;
|
|
128
|
+
/**
|
|
129
|
+
* The name of the NetApp Backup Policy. Changing this forces a new resource to be created.
|
|
130
|
+
*/
|
|
131
|
+
name?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* The name of the resource group where the NetApp Backup Policy should be created. Changing this forces a new resource to be created.
|
|
134
|
+
*/
|
|
135
|
+
resourceGroupName?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* A mapping of tags to assign to the resource.
|
|
138
|
+
*/
|
|
139
|
+
tags?: pulumi.Input<{
|
|
140
|
+
[key: string]: pulumi.Input<string>;
|
|
141
|
+
}>;
|
|
142
|
+
/**
|
|
143
|
+
* Provides the number of weekly backups to keep, defaults to `1` which is the minimum, maximum is 1019.
|
|
144
|
+
*/
|
|
145
|
+
weeklyBackupsToKeep?: pulumi.Input<number>;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* The set of arguments for constructing a BackupPolicy resource.
|
|
149
|
+
*/
|
|
150
|
+
export interface BackupPolicyArgs {
|
|
151
|
+
/**
|
|
152
|
+
* The name of the NetApp account in which the NetApp Policy should be created under. Changing this forces a new resource to be created.
|
|
153
|
+
*/
|
|
154
|
+
accountName: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Provides the number of daily backups to keep, defaults to `2` which is the minimum, maximum is 1019.
|
|
157
|
+
*/
|
|
158
|
+
dailyBackupsToKeep?: pulumi.Input<number>;
|
|
159
|
+
/**
|
|
160
|
+
* Whether the Backup Policy is enabled. Defaults to `true`.
|
|
161
|
+
*/
|
|
162
|
+
enabled?: pulumi.Input<boolean>;
|
|
163
|
+
/**
|
|
164
|
+
* Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
|
|
165
|
+
*/
|
|
166
|
+
location?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Provides the number of monthly backups to keep, defaults to `1` which is the minimum, maximum is 1019.
|
|
169
|
+
*
|
|
170
|
+
* > **Note:** Currently, the combined (daily + weekly + monthy) retention counts cannot exceed 1019.
|
|
171
|
+
*/
|
|
172
|
+
monthlyBackupsToKeep?: pulumi.Input<number>;
|
|
173
|
+
/**
|
|
174
|
+
* The name of the NetApp Backup Policy. Changing this forces a new resource to be created.
|
|
175
|
+
*/
|
|
176
|
+
name?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* The name of the resource group where the NetApp Backup Policy should be created. Changing this forces a new resource to be created.
|
|
179
|
+
*/
|
|
180
|
+
resourceGroupName: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* A mapping of tags to assign to the resource.
|
|
183
|
+
*/
|
|
184
|
+
tags?: pulumi.Input<{
|
|
185
|
+
[key: string]: pulumi.Input<string>;
|
|
186
|
+
}>;
|
|
187
|
+
/**
|
|
188
|
+
* Provides the number of weekly backups to keep, defaults to `1` which is the minimum, maximum is 1019.
|
|
189
|
+
*/
|
|
190
|
+
weeklyBackupsToKeep?: pulumi.Input<number>;
|
|
191
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.BackupPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a NetApp Backup Policy.
|
|
10
|
+
*
|
|
11
|
+
* ## NetApp Backup Policy Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
18
|
+
* name: "example-resources",
|
|
19
|
+
* location: "West Europe",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleAccount = new azure.netapp.Account("example", {
|
|
22
|
+
* name: "example-netappaccount",
|
|
23
|
+
* location: example.location,
|
|
24
|
+
* resourceGroupName: example.name,
|
|
25
|
+
* });
|
|
26
|
+
* const exampleBackupPolicy = new azure.netapp.BackupPolicy("example", {
|
|
27
|
+
* name: "example-netappbackuppolicy",
|
|
28
|
+
* resourceGroupName: example.name,
|
|
29
|
+
* location: example.location,
|
|
30
|
+
* accountName: exampleAccount.name,
|
|
31
|
+
* enabled: true,
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* NetApp Backup Policy can be imported using the `resource id`, e.g.
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import azure:netapp/backupPolicy:BackupPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backuppolicy1
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
class BackupPolicy extends pulumi.CustomResource {
|
|
44
|
+
constructor(name, argsOrState, opts) {
|
|
45
|
+
let resourceInputs = {};
|
|
46
|
+
opts = opts || {};
|
|
47
|
+
if (opts.id) {
|
|
48
|
+
const state = argsOrState;
|
|
49
|
+
resourceInputs["accountName"] = state ? state.accountName : undefined;
|
|
50
|
+
resourceInputs["dailyBackupsToKeep"] = state ? state.dailyBackupsToKeep : undefined;
|
|
51
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
52
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
53
|
+
resourceInputs["monthlyBackupsToKeep"] = state ? state.monthlyBackupsToKeep : undefined;
|
|
54
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
55
|
+
resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
|
|
56
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
57
|
+
resourceInputs["weeklyBackupsToKeep"] = state ? state.weeklyBackupsToKeep : undefined;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const args = argsOrState;
|
|
61
|
+
if ((!args || args.accountName === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'accountName'");
|
|
63
|
+
}
|
|
64
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
66
|
+
}
|
|
67
|
+
resourceInputs["accountName"] = args ? args.accountName : undefined;
|
|
68
|
+
resourceInputs["dailyBackupsToKeep"] = args ? args.dailyBackupsToKeep : undefined;
|
|
69
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
70
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
71
|
+
resourceInputs["monthlyBackupsToKeep"] = args ? args.monthlyBackupsToKeep : undefined;
|
|
72
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
73
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
74
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
75
|
+
resourceInputs["weeklyBackupsToKeep"] = args ? args.weeklyBackupsToKeep : undefined;
|
|
76
|
+
}
|
|
77
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
|
+
super(BackupPolicy.__pulumiType, name, resourceInputs, opts);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Get an existing BackupPolicy resource's state with the given name, ID, and optional extra
|
|
82
|
+
* properties used to qualify the lookup.
|
|
83
|
+
*
|
|
84
|
+
* @param name The _unique_ name of the resulting resource.
|
|
85
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
86
|
+
* @param state Any extra arguments used during the lookup.
|
|
87
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
88
|
+
*/
|
|
89
|
+
static get(name, id, state, opts) {
|
|
90
|
+
return new BackupPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Returns true if the given object is an instance of BackupPolicy. This is designed to work even
|
|
94
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
95
|
+
*/
|
|
96
|
+
static isInstance(obj) {
|
|
97
|
+
if (obj === undefined || obj === null) {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
return obj['__pulumiType'] === BackupPolicy.__pulumiType;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.BackupPolicy = BackupPolicy;
|
|
104
|
+
/** @internal */
|
|
105
|
+
BackupPolicy.__pulumiType = 'azure:netapp/backupPolicy:BackupPolicy';
|
|
106
|
+
//# sourceMappingURL=backupPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backupPolicy.js","sourceRoot":"","sources":["../../netapp/backupPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA2EnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAA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QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IA5GD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCA8GC;AAhGG,gBAAgB;AACO,yBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a NetApp Backup Vault.
|
|
4
|
+
*
|
|
5
|
+
* ## NetApp Backup Vault Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
12
|
+
* name: "example-resources",
|
|
13
|
+
* location: "West Europe",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleAccount = new azure.netapp.Account("example", {
|
|
16
|
+
* name: "example-netappaccount",
|
|
17
|
+
* location: example.location,
|
|
18
|
+
* resourceGroupName: example.name,
|
|
19
|
+
* });
|
|
20
|
+
* const exampleBackupVault = new azure.netapp.BackupVault("example", {
|
|
21
|
+
* name: "example-netappbackupvault",
|
|
22
|
+
* resourceGroupName: example.name,
|
|
23
|
+
* location: example.location,
|
|
24
|
+
* accountName: exampleAccount.name,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* NetApp Backup Vault can be imported using the `resource id`, e.g.
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import azure:netapp/backupVault:BackupVault example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare class BackupVault extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing BackupVault resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackupVaultState, opts?: pulumi.CustomResourceOptions): BackupVault;
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of BackupVault. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj: any): obj is BackupVault;
|
|
52
|
+
/**
|
|
53
|
+
* The name of the NetApp account in which the NetApp Vault should be created under. Changing this forces a new resource to be created.
|
|
54
|
+
*/
|
|
55
|
+
readonly accountName: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
|
|
58
|
+
*/
|
|
59
|
+
readonly location: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* The name of the NetApp Backup Vault. Changing this forces a new resource to be created.
|
|
62
|
+
*/
|
|
63
|
+
readonly name: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The name of the resource group where the NetApp Backup Vault should be created. Changing this forces a new resource to be created.
|
|
66
|
+
*/
|
|
67
|
+
readonly resourceGroupName: 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>;
|
|
74
|
+
/**
|
|
75
|
+
* Create a BackupVault resource with the given unique name, arguments, and options.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resource.
|
|
78
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
+
*/
|
|
81
|
+
constructor(name: string, args: BackupVaultArgs, opts?: pulumi.CustomResourceOptions);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Input properties used for looking up and filtering BackupVault resources.
|
|
85
|
+
*/
|
|
86
|
+
export interface BackupVaultState {
|
|
87
|
+
/**
|
|
88
|
+
* The name of the NetApp account in which the NetApp Vault should be created under. Changing this forces a new resource to be created.
|
|
89
|
+
*/
|
|
90
|
+
accountName?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
|
|
93
|
+
*/
|
|
94
|
+
location?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The name of the NetApp Backup Vault. Changing this forces a new resource to be created.
|
|
97
|
+
*/
|
|
98
|
+
name?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The name of the resource group where the NetApp Backup Vault should be created. Changing this forces a new resource to be created.
|
|
101
|
+
*/
|
|
102
|
+
resourceGroupName?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* A mapping of tags to assign to the resource.
|
|
105
|
+
*/
|
|
106
|
+
tags?: pulumi.Input<{
|
|
107
|
+
[key: string]: pulumi.Input<string>;
|
|
108
|
+
}>;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* The set of arguments for constructing a BackupVault resource.
|
|
112
|
+
*/
|
|
113
|
+
export interface BackupVaultArgs {
|
|
114
|
+
/**
|
|
115
|
+
* The name of the NetApp account in which the NetApp Vault should be created under. Changing this forces a new resource to be created.
|
|
116
|
+
*/
|
|
117
|
+
accountName: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
|
|
120
|
+
*/
|
|
121
|
+
location?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The name of the NetApp Backup Vault. Changing this forces a new resource to be created.
|
|
124
|
+
*/
|
|
125
|
+
name?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The name of the resource group where the NetApp Backup Vault should be created. Changing this forces a new resource to be created.
|
|
128
|
+
*/
|
|
129
|
+
resourceGroupName: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* A mapping of tags to assign to the resource.
|
|
132
|
+
*/
|
|
133
|
+
tags?: pulumi.Input<{
|
|
134
|
+
[key: string]: pulumi.Input<string>;
|
|
135
|
+
}>;
|
|
136
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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.BackupVault = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a NetApp Backup Vault.
|
|
10
|
+
*
|
|
11
|
+
* ## NetApp Backup Vault Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
18
|
+
* name: "example-resources",
|
|
19
|
+
* location: "West Europe",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleAccount = new azure.netapp.Account("example", {
|
|
22
|
+
* name: "example-netappaccount",
|
|
23
|
+
* location: example.location,
|
|
24
|
+
* resourceGroupName: example.name,
|
|
25
|
+
* });
|
|
26
|
+
* const exampleBackupVault = new azure.netapp.BackupVault("example", {
|
|
27
|
+
* name: "example-netappbackupvault",
|
|
28
|
+
* resourceGroupName: example.name,
|
|
29
|
+
* location: example.location,
|
|
30
|
+
* accountName: exampleAccount.name,
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* NetApp Backup Vault can be imported using the `resource id`, e.g.
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import azure:netapp/backupVault:BackupVault example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
class BackupVault extends pulumi.CustomResource {
|
|
43
|
+
constructor(name, argsOrState, opts) {
|
|
44
|
+
let resourceInputs = {};
|
|
45
|
+
opts = opts || {};
|
|
46
|
+
if (opts.id) {
|
|
47
|
+
const state = argsOrState;
|
|
48
|
+
resourceInputs["accountName"] = state ? state.accountName : undefined;
|
|
49
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
50
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
51
|
+
resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
|
|
52
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
const args = argsOrState;
|
|
56
|
+
if ((!args || args.accountName === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'accountName'");
|
|
58
|
+
}
|
|
59
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
61
|
+
}
|
|
62
|
+
resourceInputs["accountName"] = args ? args.accountName : undefined;
|
|
63
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
64
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
65
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
66
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
67
|
+
}
|
|
68
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
69
|
+
super(BackupVault.__pulumiType, name, resourceInputs, opts);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Get an existing BackupVault resource's state with the given name, ID, and optional extra
|
|
73
|
+
* properties used to qualify the lookup.
|
|
74
|
+
*
|
|
75
|
+
* @param name The _unique_ name of the resulting resource.
|
|
76
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
77
|
+
* @param state Any extra arguments used during the lookup.
|
|
78
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
79
|
+
*/
|
|
80
|
+
static get(name, id, state, opts) {
|
|
81
|
+
return new BackupVault(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Returns true if the given object is an instance of BackupVault. This is designed to work even
|
|
85
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
86
|
+
*/
|
|
87
|
+
static isInstance(obj) {
|
|
88
|
+
if (obj === undefined || obj === null) {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
return obj['__pulumiType'] === BackupVault.__pulumiType;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.BackupVault = BackupVault;
|
|
95
|
+
/** @internal */
|
|
96
|
+
BackupVault.__pulumiType = 'azure:netapp/backupVault:BackupVault';
|
|
97
|
+
//# sourceMappingURL=backupVault.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backupVault.js","sourceRoot":"","sources":["../../netapp/backupVault.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAyDlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,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,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH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AC,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,kCAoFC;AAtEG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -19,35 +19,23 @@ export declare function getAccountEncryption(args: GetAccountEncryptionArgs, opt
|
|
|
19
19
|
* A collection of arguments for invoking getAccountEncryption.
|
|
20
20
|
*/
|
|
21
21
|
export interface GetAccountEncryptionArgs {
|
|
22
|
-
/**
|
|
23
|
-
* The key vault encryption key.
|
|
24
|
-
*/
|
|
25
|
-
encryptionKey?: string;
|
|
26
22
|
/**
|
|
27
23
|
* The ID of the NetApp account where customer managed keys-based encryption is enabled.
|
|
28
24
|
*/
|
|
29
25
|
netappAccountId: string;
|
|
30
|
-
/**
|
|
31
|
-
* The ID of the System Assigned Manged Identity.
|
|
32
|
-
*/
|
|
33
|
-
systemAssignedIdentityPrincipalId?: string;
|
|
34
|
-
/**
|
|
35
|
-
* The ID of the User Assigned Managed Identity.
|
|
36
|
-
*/
|
|
37
|
-
userAssignedIdentityId?: string;
|
|
38
26
|
}
|
|
39
27
|
/**
|
|
40
28
|
* A collection of values returned by getAccountEncryption.
|
|
41
29
|
*/
|
|
42
30
|
export interface GetAccountEncryptionResult {
|
|
43
|
-
readonly encryptionKey
|
|
31
|
+
readonly encryptionKey: string;
|
|
44
32
|
/**
|
|
45
33
|
* The provider-assigned unique ID for this managed resource.
|
|
46
34
|
*/
|
|
47
35
|
readonly id: string;
|
|
48
36
|
readonly netappAccountId: string;
|
|
49
|
-
readonly systemAssignedIdentityPrincipalId
|
|
50
|
-
readonly userAssignedIdentityId
|
|
37
|
+
readonly systemAssignedIdentityPrincipalId: string;
|
|
38
|
+
readonly userAssignedIdentityId: string;
|
|
51
39
|
}
|
|
52
40
|
/**
|
|
53
41
|
* Use this data source to access information about an existing NetApp Account Encryption Resource.
|
|
@@ -69,20 +57,8 @@ export declare function getAccountEncryptionOutput(args: GetAccountEncryptionOut
|
|
|
69
57
|
* A collection of arguments for invoking getAccountEncryption.
|
|
70
58
|
*/
|
|
71
59
|
export interface GetAccountEncryptionOutputArgs {
|
|
72
|
-
/**
|
|
73
|
-
* The key vault encryption key.
|
|
74
|
-
*/
|
|
75
|
-
encryptionKey?: pulumi.Input<string>;
|
|
76
60
|
/**
|
|
77
61
|
* The ID of the NetApp account where customer managed keys-based encryption is enabled.
|
|
78
62
|
*/
|
|
79
63
|
netappAccountId: pulumi.Input<string>;
|
|
80
|
-
/**
|
|
81
|
-
* The ID of the System Assigned Manged Identity.
|
|
82
|
-
*/
|
|
83
|
-
systemAssignedIdentityPrincipalId?: pulumi.Input<string>;
|
|
84
|
-
/**
|
|
85
|
-
* The ID of the User Assigned Managed Identity.
|
|
86
|
-
*/
|
|
87
|
-
userAssignedIdentityId?: pulumi.Input<string>;
|
|
88
64
|
}
|
|
@@ -23,10 +23,7 @@ const utilities = require("../utilities");
|
|
|
23
23
|
function getAccountEncryption(args, opts) {
|
|
24
24
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
25
|
return pulumi.runtime.invoke("azure:netapp/getAccountEncryption:getAccountEncryption", {
|
|
26
|
-
"encryptionKey": args.encryptionKey,
|
|
27
26
|
"netappAccountId": args.netappAccountId,
|
|
28
|
-
"systemAssignedIdentityPrincipalId": args.systemAssignedIdentityPrincipalId,
|
|
29
|
-
"userAssignedIdentityId": args.userAssignedIdentityId,
|
|
30
27
|
}, opts);
|
|
31
28
|
}
|
|
32
29
|
exports.getAccountEncryption = getAccountEncryption;
|
|
@@ -48,10 +45,7 @@ exports.getAccountEncryption = getAccountEncryption;
|
|
|
48
45
|
function getAccountEncryptionOutput(args, opts) {
|
|
49
46
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
50
47
|
return pulumi.runtime.invokeOutput("azure:netapp/getAccountEncryption:getAccountEncryption", {
|
|
51
|
-
"encryptionKey": args.encryptionKey,
|
|
52
48
|
"netappAccountId": args.netappAccountId,
|
|
53
|
-
"systemAssignedIdentityPrincipalId": args.systemAssignedIdentityPrincipalId,
|
|
54
|
-
"userAssignedIdentityId": args.userAssignedIdentityId,
|
|
55
49
|
}, opts);
|
|
56
50
|
}
|
|
57
51
|
exports.getAccountEncryptionOutput = getAccountEncryptionOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccountEncryption.js","sourceRoot":"","sources":["../../netapp/getAccountEncryption.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,
|
|
1
|
+
{"version":3,"file":"getAccountEncryption.js","sourceRoot":"","sources":["../../netapp/getAccountEncryption.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC;AAyBD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC"}
|