@pulumi/azure 5.16.0 → 5.18.0-alpha.1661972999

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.
Files changed (52) hide show
  1. package/backup/index.d.ts +1 -0
  2. package/backup/index.js +5 -0
  3. package/backup/index.js.map +1 -1
  4. package/backup/policyVMWorkload.d.ts +120 -0
  5. package/backup/policyVMWorkload.js +85 -0
  6. package/backup/policyVMWorkload.js.map +1 -0
  7. package/config/vars.d.ts +6 -2
  8. package/config/vars.js +6 -0
  9. package/config/vars.js.map +1 -1
  10. package/containerservice/registryWebhook.d.ts +9 -0
  11. package/containerservice/registryWebhook.js.map +1 -1
  12. package/containerservice/registryWebook.d.ts +9 -0
  13. package/containerservice/registryWebook.js.map +1 -1
  14. package/eventhub/namespace.d.ts +1 -1
  15. package/eventhub/namespace.js +1 -1
  16. package/eventhub/queue.d.ts +1 -1
  17. package/eventhub/queue.js +1 -1
  18. package/eventhub/subscription.d.ts +1 -1
  19. package/eventhub/subscription.js +1 -1
  20. package/eventhub/subscriptionRule.d.ts +1 -1
  21. package/eventhub/subscriptionRule.js +1 -1
  22. package/eventhub/topic.d.ts +1 -1
  23. package/eventhub/topic.js +1 -1
  24. package/monitoring/index.d.ts +1 -0
  25. package/monitoring/index.js +5 -0
  26. package/monitoring/index.js.map +1 -1
  27. package/monitoring/scheduledQueryRulesAlertV2.d.ts +297 -0
  28. package/monitoring/scheduledQueryRulesAlertV2.js +117 -0
  29. package/monitoring/scheduledQueryRulesAlertV2.js.map +1 -0
  30. package/mssql/elasticPool.d.ts +3 -3
  31. package/mssql/managedInstance.d.ts +3 -3
  32. package/package.json +3 -3
  33. package/package.json.bak +1 -1
  34. package/package.json.dev +3 -3
  35. package/provider.d.ts +12 -4
  36. package/provider.js +1 -0
  37. package/provider.js.map +1 -1
  38. package/servicebus/namespace.d.ts +1 -1
  39. package/servicebus/namespace.js +1 -1
  40. package/servicebus/namespaceNetworkRuleSet.d.ts +1 -1
  41. package/servicebus/namespaceNetworkRuleSet.js +1 -1
  42. package/servicebus/queue.d.ts +1 -1
  43. package/servicebus/queue.js +1 -1
  44. package/servicebus/subscription.d.ts +1 -1
  45. package/servicebus/subscription.js +1 -1
  46. package/servicebus/subscriptionRule.d.ts +1 -1
  47. package/servicebus/subscriptionRule.js +1 -1
  48. package/servicebus/topic.d.ts +1 -1
  49. package/servicebus/topic.js +1 -1
  50. package/sql/managedInstance.d.ts +3 -3
  51. package/types/input.d.ts +208 -10
  52. package/types/output.d.ts +198 -0
@@ -0,0 +1,297 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Manages an AlertingAction Scheduled Query Rules Version 2 resource within Azure Monitor
5
+ *
6
+ * ## Import
7
+ *
8
+ * Monitor Scheduled Query Rule Alert can be imported using the `resource id`, e.g.
9
+ *
10
+ * ```sh
11
+ * $ pulumi import azure:monitoring/scheduledQueryRulesAlertV2:ScheduledQueryRulesAlertV2 example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Insights/scheduledQueryRules/rule1
12
+ * ```
13
+ */
14
+ export declare class ScheduledQueryRulesAlertV2 extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing ScheduledQueryRulesAlertV2 resource's state with the given name, ID, and optional extra
17
+ * properties used to qualify the lookup.
18
+ *
19
+ * @param name The _unique_ name of the resulting resource.
20
+ * @param id The _unique_ provider ID of the resource to lookup.
21
+ * @param state Any extra arguments used during the lookup.
22
+ * @param opts Optional settings to control the behavior of the CustomResource.
23
+ */
24
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ScheduledQueryRulesAlertV2State, opts?: pulumi.CustomResourceOptions): ScheduledQueryRulesAlertV2;
25
+ /**
26
+ * Returns true if the given object is an instance of ScheduledQueryRulesAlertV2. This is designed to work even
27
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
28
+ */
29
+ static isInstance(obj: any): obj is ScheduledQueryRulesAlertV2;
30
+ /**
31
+ * An `action` block as defined below.
32
+ */
33
+ readonly action: pulumi.Output<outputs.monitoring.ScheduledQueryRulesAlertV2Action | undefined>;
34
+ /**
35
+ * Specifies the flag that indicates whether the alert should be automatically resolved or not. Value should be `true` or `false`. The default is `false`.
36
+ */
37
+ readonly autoMitigationEnabled: pulumi.Output<boolean | undefined>;
38
+ /**
39
+ * The api-version used when creating this alert rule.
40
+ */
41
+ readonly createdWithApiVersion: pulumi.Output<string>;
42
+ /**
43
+ * A `criteria` block as defined below.
44
+ */
45
+ readonly criterias: pulumi.Output<outputs.monitoring.ScheduledQueryRulesAlertV2Criteria[]>;
46
+ /**
47
+ * Specifies the description of the scheduled query rule.
48
+ */
49
+ readonly description: pulumi.Output<string | undefined>;
50
+ /**
51
+ * Specifies the display name of the alert rule.
52
+ */
53
+ readonly displayName: pulumi.Output<string | undefined>;
54
+ /**
55
+ * Specifies the flag which indicates whether this scheduled query rule is enabled. Value should be `true` or `false`. The default is `true`.
56
+ */
57
+ readonly enabled: pulumi.Output<boolean | undefined>;
58
+ /**
59
+ * How often the scheduled query rule is evaluated, represented in ISO 8601 duration format.
60
+ */
61
+ readonly evaluationFrequency: pulumi.Output<string | undefined>;
62
+ /**
63
+ * True if this alert rule is a legacy Log Analytic Rule.
64
+ */
65
+ readonly isALegacyLogAnalyticsRule: pulumi.Output<boolean>;
66
+ /**
67
+ * The flag indicates whether this Scheduled Query Rule has been configured to be stored in the customer's storage.
68
+ */
69
+ readonly isWorkspaceAlertsStorageConfigured: pulumi.Output<boolean>;
70
+ /**
71
+ * Specifies the Azure Region where the Monitor Scheduled Query Rule should exist. Changing this forces a new resource to be created.
72
+ */
73
+ readonly location: pulumi.Output<string>;
74
+ /**
75
+ * Mute actions for the chosen period of time in ISO 8601 duration format after the alert is fired.
76
+ */
77
+ readonly muteActionsAfterAlertDuration: pulumi.Output<string | undefined>;
78
+ /**
79
+ * Specifies the name which should be used for this Monitor Scheduled Query Rule. Changing this forces a new resource to be created.
80
+ */
81
+ readonly name: pulumi.Output<string>;
82
+ readonly queryTimeRangeOverride: pulumi.Output<string | undefined>;
83
+ /**
84
+ * Specifies the name of the Resource Group where the Monitor Scheduled Query Rule should exist. Changing this forces a new resource to be created.
85
+ */
86
+ readonly resourceGroupName: pulumi.Output<string>;
87
+ /**
88
+ * Specifies the list of resource ids that this scheduled query rule is scoped to. Changing this forces a new resource to be created.
89
+ */
90
+ readonly scopes: pulumi.Output<string>;
91
+ /**
92
+ * Severity of the alert. Should be an integer between 0 and 4. Value of 0 is severest.
93
+ */
94
+ readonly severity: pulumi.Output<number>;
95
+ /**
96
+ * Specifies the flag which indicates whether the provided query should be validated or not. The default is false.
97
+ */
98
+ readonly skipQueryValidation: pulumi.Output<boolean | undefined>;
99
+ /**
100
+ * A mapping of tags which should be assigned to the Monitor Scheduled Query Rule.
101
+ */
102
+ readonly tags: pulumi.Output<{
103
+ [key: string]: string;
104
+ } | undefined>;
105
+ /**
106
+ * List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is `Microsoft.Compute/virtualMachines`, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria.
107
+ */
108
+ readonly targetResourceTypes: pulumi.Output<string[] | undefined>;
109
+ /**
110
+ * Specifies the period of time in ISO 8601 duration format on which the Scheduled Query Rule will be executed (bin size).
111
+ */
112
+ readonly windowDuration: pulumi.Output<string>;
113
+ /**
114
+ * Specifies the flag which indicates whether this scheduled query rule check if storage is configured. Value should be `true` or `false`. The default is `false`.
115
+ */
116
+ readonly workspaceAlertsStorageEnabled: pulumi.Output<boolean | undefined>;
117
+ /**
118
+ * Create a ScheduledQueryRulesAlertV2 resource with the given unique name, arguments, and options.
119
+ *
120
+ * @param name The _unique_ name of the resource.
121
+ * @param args The arguments to use to populate this resource's properties.
122
+ * @param opts A bag of options that control this resource's behavior.
123
+ */
124
+ constructor(name: string, args: ScheduledQueryRulesAlertV2Args, opts?: pulumi.CustomResourceOptions);
125
+ }
126
+ /**
127
+ * Input properties used for looking up and filtering ScheduledQueryRulesAlertV2 resources.
128
+ */
129
+ export interface ScheduledQueryRulesAlertV2State {
130
+ /**
131
+ * An `action` block as defined below.
132
+ */
133
+ action?: pulumi.Input<inputs.monitoring.ScheduledQueryRulesAlertV2Action>;
134
+ /**
135
+ * Specifies the flag that indicates whether the alert should be automatically resolved or not. Value should be `true` or `false`. The default is `false`.
136
+ */
137
+ autoMitigationEnabled?: pulumi.Input<boolean>;
138
+ /**
139
+ * The api-version used when creating this alert rule.
140
+ */
141
+ createdWithApiVersion?: pulumi.Input<string>;
142
+ /**
143
+ * A `criteria` block as defined below.
144
+ */
145
+ criterias?: pulumi.Input<pulumi.Input<inputs.monitoring.ScheduledQueryRulesAlertV2Criteria>[]>;
146
+ /**
147
+ * Specifies the description of the scheduled query rule.
148
+ */
149
+ description?: pulumi.Input<string>;
150
+ /**
151
+ * Specifies the display name of the alert rule.
152
+ */
153
+ displayName?: pulumi.Input<string>;
154
+ /**
155
+ * Specifies the flag which indicates whether this scheduled query rule is enabled. Value should be `true` or `false`. The default is `true`.
156
+ */
157
+ enabled?: pulumi.Input<boolean>;
158
+ /**
159
+ * How often the scheduled query rule is evaluated, represented in ISO 8601 duration format.
160
+ */
161
+ evaluationFrequency?: pulumi.Input<string>;
162
+ /**
163
+ * True if this alert rule is a legacy Log Analytic Rule.
164
+ */
165
+ isALegacyLogAnalyticsRule?: pulumi.Input<boolean>;
166
+ /**
167
+ * The flag indicates whether this Scheduled Query Rule has been configured to be stored in the customer's storage.
168
+ */
169
+ isWorkspaceAlertsStorageConfigured?: pulumi.Input<boolean>;
170
+ /**
171
+ * Specifies the Azure Region where the Monitor Scheduled Query Rule should exist. Changing this forces a new resource to be created.
172
+ */
173
+ location?: pulumi.Input<string>;
174
+ /**
175
+ * Mute actions for the chosen period of time in ISO 8601 duration format after the alert is fired.
176
+ */
177
+ muteActionsAfterAlertDuration?: pulumi.Input<string>;
178
+ /**
179
+ * Specifies the name which should be used for this Monitor Scheduled Query Rule. Changing this forces a new resource to be created.
180
+ */
181
+ name?: pulumi.Input<string>;
182
+ queryTimeRangeOverride?: pulumi.Input<string>;
183
+ /**
184
+ * Specifies the name of the Resource Group where the Monitor Scheduled Query Rule should exist. Changing this forces a new resource to be created.
185
+ */
186
+ resourceGroupName?: pulumi.Input<string>;
187
+ /**
188
+ * Specifies the list of resource ids that this scheduled query rule is scoped to. Changing this forces a new resource to be created.
189
+ */
190
+ scopes?: pulumi.Input<string>;
191
+ /**
192
+ * Severity of the alert. Should be an integer between 0 and 4. Value of 0 is severest.
193
+ */
194
+ severity?: pulumi.Input<number>;
195
+ /**
196
+ * Specifies the flag which indicates whether the provided query should be validated or not. The default is false.
197
+ */
198
+ skipQueryValidation?: pulumi.Input<boolean>;
199
+ /**
200
+ * A mapping of tags which should be assigned to the Monitor Scheduled Query Rule.
201
+ */
202
+ tags?: pulumi.Input<{
203
+ [key: string]: pulumi.Input<string>;
204
+ }>;
205
+ /**
206
+ * List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is `Microsoft.Compute/virtualMachines`, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria.
207
+ */
208
+ targetResourceTypes?: pulumi.Input<pulumi.Input<string>[]>;
209
+ /**
210
+ * Specifies the period of time in ISO 8601 duration format on which the Scheduled Query Rule will be executed (bin size).
211
+ */
212
+ windowDuration?: pulumi.Input<string>;
213
+ /**
214
+ * Specifies the flag which indicates whether this scheduled query rule check if storage is configured. Value should be `true` or `false`. The default is `false`.
215
+ */
216
+ workspaceAlertsStorageEnabled?: pulumi.Input<boolean>;
217
+ }
218
+ /**
219
+ * The set of arguments for constructing a ScheduledQueryRulesAlertV2 resource.
220
+ */
221
+ export interface ScheduledQueryRulesAlertV2Args {
222
+ /**
223
+ * An `action` block as defined below.
224
+ */
225
+ action?: pulumi.Input<inputs.monitoring.ScheduledQueryRulesAlertV2Action>;
226
+ /**
227
+ * Specifies the flag that indicates whether the alert should be automatically resolved or not. Value should be `true` or `false`. The default is `false`.
228
+ */
229
+ autoMitigationEnabled?: pulumi.Input<boolean>;
230
+ /**
231
+ * A `criteria` block as defined below.
232
+ */
233
+ criterias: pulumi.Input<pulumi.Input<inputs.monitoring.ScheduledQueryRulesAlertV2Criteria>[]>;
234
+ /**
235
+ * Specifies the description of the scheduled query rule.
236
+ */
237
+ description?: pulumi.Input<string>;
238
+ /**
239
+ * Specifies the display name of the alert rule.
240
+ */
241
+ displayName?: pulumi.Input<string>;
242
+ /**
243
+ * Specifies the flag which indicates whether this scheduled query rule is enabled. Value should be `true` or `false`. The default is `true`.
244
+ */
245
+ enabled?: pulumi.Input<boolean>;
246
+ /**
247
+ * How often the scheduled query rule is evaluated, represented in ISO 8601 duration format.
248
+ */
249
+ evaluationFrequency?: pulumi.Input<string>;
250
+ /**
251
+ * Specifies the Azure Region where the Monitor Scheduled Query Rule should exist. Changing this forces a new resource to be created.
252
+ */
253
+ location?: pulumi.Input<string>;
254
+ /**
255
+ * Mute actions for the chosen period of time in ISO 8601 duration format after the alert is fired.
256
+ */
257
+ muteActionsAfterAlertDuration?: pulumi.Input<string>;
258
+ /**
259
+ * Specifies the name which should be used for this Monitor Scheduled Query Rule. Changing this forces a new resource to be created.
260
+ */
261
+ name?: pulumi.Input<string>;
262
+ queryTimeRangeOverride?: pulumi.Input<string>;
263
+ /**
264
+ * Specifies the name of the Resource Group where the Monitor Scheduled Query Rule should exist. Changing this forces a new resource to be created.
265
+ */
266
+ resourceGroupName: pulumi.Input<string>;
267
+ /**
268
+ * Specifies the list of resource ids that this scheduled query rule is scoped to. Changing this forces a new resource to be created.
269
+ */
270
+ scopes: pulumi.Input<string>;
271
+ /**
272
+ * Severity of the alert. Should be an integer between 0 and 4. Value of 0 is severest.
273
+ */
274
+ severity: pulumi.Input<number>;
275
+ /**
276
+ * Specifies the flag which indicates whether the provided query should be validated or not. The default is false.
277
+ */
278
+ skipQueryValidation?: pulumi.Input<boolean>;
279
+ /**
280
+ * A mapping of tags which should be assigned to the Monitor Scheduled Query Rule.
281
+ */
282
+ tags?: pulumi.Input<{
283
+ [key: string]: pulumi.Input<string>;
284
+ }>;
285
+ /**
286
+ * List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is `Microsoft.Compute/virtualMachines`, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria.
287
+ */
288
+ targetResourceTypes?: pulumi.Input<pulumi.Input<string>[]>;
289
+ /**
290
+ * Specifies the period of time in ISO 8601 duration format on which the Scheduled Query Rule will be executed (bin size).
291
+ */
292
+ windowDuration: pulumi.Input<string>;
293
+ /**
294
+ * Specifies the flag which indicates whether this scheduled query rule check if storage is configured. Value should be `true` or `false`. The default is `false`.
295
+ */
296
+ workspaceAlertsStorageEnabled?: pulumi.Input<boolean>;
297
+ }
@@ -0,0 +1,117 @@
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.ScheduledQueryRulesAlertV2 = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages an AlertingAction Scheduled Query Rules Version 2 resource within Azure Monitor
10
+ *
11
+ * ## Import
12
+ *
13
+ * Monitor Scheduled Query Rule Alert can be imported using the `resource id`, e.g.
14
+ *
15
+ * ```sh
16
+ * $ pulumi import azure:monitoring/scheduledQueryRulesAlertV2:ScheduledQueryRulesAlertV2 example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Insights/scheduledQueryRules/rule1
17
+ * ```
18
+ */
19
+ class ScheduledQueryRulesAlertV2 extends pulumi.CustomResource {
20
+ constructor(name, argsOrState, opts) {
21
+ let resourceInputs = {};
22
+ opts = opts || {};
23
+ if (opts.id) {
24
+ const state = argsOrState;
25
+ resourceInputs["action"] = state ? state.action : undefined;
26
+ resourceInputs["autoMitigationEnabled"] = state ? state.autoMitigationEnabled : undefined;
27
+ resourceInputs["createdWithApiVersion"] = state ? state.createdWithApiVersion : undefined;
28
+ resourceInputs["criterias"] = state ? state.criterias : undefined;
29
+ resourceInputs["description"] = state ? state.description : undefined;
30
+ resourceInputs["displayName"] = state ? state.displayName : undefined;
31
+ resourceInputs["enabled"] = state ? state.enabled : undefined;
32
+ resourceInputs["evaluationFrequency"] = state ? state.evaluationFrequency : undefined;
33
+ resourceInputs["isALegacyLogAnalyticsRule"] = state ? state.isALegacyLogAnalyticsRule : undefined;
34
+ resourceInputs["isWorkspaceAlertsStorageConfigured"] = state ? state.isWorkspaceAlertsStorageConfigured : undefined;
35
+ resourceInputs["location"] = state ? state.location : undefined;
36
+ resourceInputs["muteActionsAfterAlertDuration"] = state ? state.muteActionsAfterAlertDuration : undefined;
37
+ resourceInputs["name"] = state ? state.name : undefined;
38
+ resourceInputs["queryTimeRangeOverride"] = state ? state.queryTimeRangeOverride : undefined;
39
+ resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
40
+ resourceInputs["scopes"] = state ? state.scopes : undefined;
41
+ resourceInputs["severity"] = state ? state.severity : undefined;
42
+ resourceInputs["skipQueryValidation"] = state ? state.skipQueryValidation : undefined;
43
+ resourceInputs["tags"] = state ? state.tags : undefined;
44
+ resourceInputs["targetResourceTypes"] = state ? state.targetResourceTypes : undefined;
45
+ resourceInputs["windowDuration"] = state ? state.windowDuration : undefined;
46
+ resourceInputs["workspaceAlertsStorageEnabled"] = state ? state.workspaceAlertsStorageEnabled : undefined;
47
+ }
48
+ else {
49
+ const args = argsOrState;
50
+ if ((!args || args.criterias === undefined) && !opts.urn) {
51
+ throw new Error("Missing required property 'criterias'");
52
+ }
53
+ if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
54
+ throw new Error("Missing required property 'resourceGroupName'");
55
+ }
56
+ if ((!args || args.scopes === undefined) && !opts.urn) {
57
+ throw new Error("Missing required property 'scopes'");
58
+ }
59
+ if ((!args || args.severity === undefined) && !opts.urn) {
60
+ throw new Error("Missing required property 'severity'");
61
+ }
62
+ if ((!args || args.windowDuration === undefined) && !opts.urn) {
63
+ throw new Error("Missing required property 'windowDuration'");
64
+ }
65
+ resourceInputs["action"] = args ? args.action : undefined;
66
+ resourceInputs["autoMitigationEnabled"] = args ? args.autoMitigationEnabled : undefined;
67
+ resourceInputs["criterias"] = args ? args.criterias : undefined;
68
+ resourceInputs["description"] = args ? args.description : undefined;
69
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
70
+ resourceInputs["enabled"] = args ? args.enabled : undefined;
71
+ resourceInputs["evaluationFrequency"] = args ? args.evaluationFrequency : undefined;
72
+ resourceInputs["location"] = args ? args.location : undefined;
73
+ resourceInputs["muteActionsAfterAlertDuration"] = args ? args.muteActionsAfterAlertDuration : undefined;
74
+ resourceInputs["name"] = args ? args.name : undefined;
75
+ resourceInputs["queryTimeRangeOverride"] = args ? args.queryTimeRangeOverride : undefined;
76
+ resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
77
+ resourceInputs["scopes"] = args ? args.scopes : undefined;
78
+ resourceInputs["severity"] = args ? args.severity : undefined;
79
+ resourceInputs["skipQueryValidation"] = args ? args.skipQueryValidation : undefined;
80
+ resourceInputs["tags"] = args ? args.tags : undefined;
81
+ resourceInputs["targetResourceTypes"] = args ? args.targetResourceTypes : undefined;
82
+ resourceInputs["windowDuration"] = args ? args.windowDuration : undefined;
83
+ resourceInputs["workspaceAlertsStorageEnabled"] = args ? args.workspaceAlertsStorageEnabled : undefined;
84
+ resourceInputs["createdWithApiVersion"] = undefined /*out*/;
85
+ resourceInputs["isALegacyLogAnalyticsRule"] = undefined /*out*/;
86
+ resourceInputs["isWorkspaceAlertsStorageConfigured"] = undefined /*out*/;
87
+ }
88
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
89
+ super(ScheduledQueryRulesAlertV2.__pulumiType, name, resourceInputs, opts);
90
+ }
91
+ /**
92
+ * Get an existing ScheduledQueryRulesAlertV2 resource's state with the given name, ID, and optional extra
93
+ * properties used to qualify the lookup.
94
+ *
95
+ * @param name The _unique_ name of the resulting resource.
96
+ * @param id The _unique_ provider ID of the resource to lookup.
97
+ * @param state Any extra arguments used during the lookup.
98
+ * @param opts Optional settings to control the behavior of the CustomResource.
99
+ */
100
+ static get(name, id, state, opts) {
101
+ return new ScheduledQueryRulesAlertV2(name, state, Object.assign(Object.assign({}, opts), { id: id }));
102
+ }
103
+ /**
104
+ * Returns true if the given object is an instance of ScheduledQueryRulesAlertV2. This is designed to work even
105
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
106
+ */
107
+ static isInstance(obj) {
108
+ if (obj === undefined || obj === null) {
109
+ return false;
110
+ }
111
+ return obj['__pulumiType'] === ScheduledQueryRulesAlertV2.__pulumiType;
112
+ }
113
+ }
114
+ exports.ScheduledQueryRulesAlertV2 = ScheduledQueryRulesAlertV2;
115
+ /** @internal */
116
+ ScheduledQueryRulesAlertV2.__pulumiType = 'azure:monitoring/scheduledQueryRulesAlertV2:ScheduledQueryRulesAlertV2';
117
+ //# sourceMappingURL=scheduledQueryRulesAlertV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduledQueryRulesAlertV2.js","sourceRoot":"","sources":["../../monitoring/scheduledQueryRulesAlertV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IA0HjE,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0D,CAAC;YACzE,cAAc,CAAC,QAAQ,CAAC,GAAG,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G,CAAC,cAAc,CAAC,KAAK,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;;AA1BL,gEAgMC;AAlLG,gBAAgB;AACO,uCAAY,GAAG,wEAAwE,CAAC"}
@@ -69,7 +69,7 @@ export declare class ElasticPool extends pulumi.CustomResource {
69
69
  */
70
70
  readonly location: pulumi.Output<string>;
71
71
  /**
72
- * The name of the Public Maintenance Configuration window to apply to the SQL Managed Instance. Valid values include `SQL_Default`, `SQL_EastUS_MI_1`, `SQL_EastUS2_MI_1`, `SQL_WestUS2_MI_1`, `SQL_SoutheastAsia_MI_1`, `SQL_AustraliaEast_MI_1`, `SQL_NorthEurope_MI_1`, `SQL_SouthCentralUS_MI_1`, `SQL_UKSouth_MI_1`, `SQL_WestEurope_MI_1`, `SQL_EastUS_MI_2`, `SQL_EastUS2_MI_2`, `SQL_WestUS2_MI_2`, `SQL_SoutheastAsia_MI_2`, `SQL_NorthEurope_MI_2`, `SQL_SouthCentralUS_MI_2`, `SQL_UKSouth_MI_2`, `SQL_WestEurope_MI_2`, `SQL_AustraliaSoutheast_MI_1`, `SQL_BrazilSouth_MI_1`, `SQL_CanadaCentral_MI_1`, `SQL_CanadaEast_MI_1`, `SQL_CentralUS_MI_1`, `SQL_EastAsia_MI_1`, `SQL_FranceCentral_MI_1`, `SQL_GermanyWestCentral_MI_1`, `SQL_CentralIndia_MI_1`, `SQL_JapanEast_MI_1`, `SQL_JapanWest_MI_1`, `SQL_NorthCentralUS_MI_1`, `SQL_UKWest_MI_1`, `SQL_WestUS_MI_1`, `SQL_AustraliaSoutheast_MI_2`, `SQL_BrazilSouth_MI_2`, `SQL_CanadaCentral_MI_2`, `SQL_CanadaEast_MI_2`, `SQL_CentralUS_MI_2`, `SQL_EastAsia_MI_2`, `SQL_FranceCentral_MI_2`, `SQL_GermanyWestCentral_MI_2`, `SQL_CentralIndia_MI_2`, `SQL_JapanEast_MI_2`, `SQL_JapanWest_MI_2`, `SQL_NorthCentralUS_MI_2`, `SQL_UKWest_MI_2`, `SQL_WestUS_MI_2`, `SQL_KoreaCentral_MI_1`, `SQL_KoreaCentral_MI_2`, `SQL_WestCentralUS_MI_1`, `SQL_WestCentralUS_MI_2`, `SQL_UAENorth_MI_1`, `SQL_SwitzerlandWest_MI_1`, `SQL_SwitzerlandNorth_MI_1`, `SQL_UAENorth_MI_2`, `SQL_SwitzerlandWest_MI_2`, `SQL_SwitzerlandNorth_MI_2`, `SQL_FranceSouth_MI_1`, `SQL_FranceSouth_MI_2`, `SQL_SouthAfricaNorth_MI_1`, `SQL_KoreaSouth_MI_1`, `SQL_UAECentral_MI_1`, `SQL_SouthAfricaNorth_MI_2`, `SQL_KoreaSouth_MI_2`, `SQL_UAECentral_MI_2`, `SQL_SouthIndia_MI_1`, `SQL_SouthIndia_MI_2`, `SQL_AustraliaCentral_MI_1`, `SQL_AustraliaCentral2_MI_1`, `SQL_AustraliaCentral_MI_2`, `SQL_AustraliaCentral2_MI_2`, `SQL_WestIndia_MI_1`, `SQL_WestIndia_MI_2`, `SQL_SouthAfricaWest_MI_1`, `SQL_SouthAfricaWest_MI_2`, `SQL_GermanyNorth_MI_1`, `SQL_GermanyNorth_MI_2`, `SQL_NorwayEast_MI_1`, `SQL_BrazilSoutheast_MI_1`, `SQL_NorwayWest_MI_1`, `SQL_WestUS3_MI_1`, `SQL_NorwayEast_MI_2`, `SQL_BrazilSoutheast_MI_2`, `SQL_NorwayWest_MI_2`, `SQL_WestUS3_MI_2`. Defaults to `SQL_Default`.
72
+ * The name of the Public Maintenance Configuration window to apply to the elastic pool. Valid values include `SQL_Default`, `SQL_EastUS_DB_1`, `SQL_EastUS2_DB_1`, `SQL_SoutheastAsia_DB_1`, `SQL_AustraliaEast_DB_1`, `SQL_NorthEurope_DB_1`, `SQL_SouthCentralUS_DB_1`, `SQL_WestUS2_DB_1`, `SQL_UKSouth_DB_1`, `SQL_WestEurope_DB_1`, `SQL_EastUS_DB_2`, `SQL_EastUS2_DB_2`, `SQL_WestUS2_DB_2`, `SQL_SoutheastAsia_DB_2`, `SQL_AustraliaEast_DB_2`, `SQL_NorthEurope_DB_2`, `SQL_SouthCentralUS_DB_2`, `SQL_UKSouth_DB_2`, `SQL_WestEurope_DB_2`, `SQL_AustraliaSoutheast_DB_1`, `SQL_BrazilSouth_DB_1`, `SQL_CanadaCentral_DB_1`, `SQL_CanadaEast_DB_1`, `SQL_CentralUS_DB_1`, `SQL_EastAsia_DB_1`, `SQL_FranceCentral_DB_1`, `SQL_GermanyWestCentral_DB_1`, `SQL_CentralIndia_DB_1`, `SQL_SouthIndia_DB_1`, `SQL_JapanEast_DB_1`, `SQL_JapanWest_DB_1`, `SQL_NorthCentralUS_DB_1`, `SQL_UKWest_DB_1`, `SQL_WestUS_DB_1`, `SQL_AustraliaSoutheast_DB_2`, `SQL_BrazilSouth_DB_2`, `SQL_CanadaCentral_DB_2`, `SQL_CanadaEast_DB_2`, `SQL_CentralUS_DB_2`, `SQL_EastAsia_DB_2`, `SQL_FranceCentral_DB_2`, `SQL_GermanyWestCentral_DB_2`, `SQL_CentralIndia_DB_2`, `SQL_SouthIndia_DB_2`, `SQL_JapanEast_DB_2`, `SQL_JapanWest_DB_2`, `SQL_NorthCentralUS_DB_2`, `SQL_UKWest_DB_2`, `SQL_WestUS_DB_2`, `SQL_WestCentralUS_DB_1`, `SQL_FranceSouth_DB_1`, `SQL_WestCentralUS_DB_2`, `SQL_FranceSouth_DB_2`, `SQL_SwitzerlandNorth_DB_1`, `SQL_SwitzerlandNorth_DB_2`, `SQL_BrazilSoutheast_DB_1`, `SQL_UAENorth_DB_1`, `SQL_BrazilSoutheast_DB_2`, `SQL_UAENorth_DB_2`. Defaults to `SQL_Default`.
73
73
  */
74
74
  readonly maintenanceConfigurationName: pulumi.Output<string | undefined>;
75
75
  /**
@@ -132,7 +132,7 @@ export interface ElasticPoolState {
132
132
  */
133
133
  location?: pulumi.Input<string>;
134
134
  /**
135
- * The name of the Public Maintenance Configuration window to apply to the SQL Managed Instance. Valid values include `SQL_Default`, `SQL_EastUS_MI_1`, `SQL_EastUS2_MI_1`, `SQL_WestUS2_MI_1`, `SQL_SoutheastAsia_MI_1`, `SQL_AustraliaEast_MI_1`, `SQL_NorthEurope_MI_1`, `SQL_SouthCentralUS_MI_1`, `SQL_UKSouth_MI_1`, `SQL_WestEurope_MI_1`, `SQL_EastUS_MI_2`, `SQL_EastUS2_MI_2`, `SQL_WestUS2_MI_2`, `SQL_SoutheastAsia_MI_2`, `SQL_NorthEurope_MI_2`, `SQL_SouthCentralUS_MI_2`, `SQL_UKSouth_MI_2`, `SQL_WestEurope_MI_2`, `SQL_AustraliaSoutheast_MI_1`, `SQL_BrazilSouth_MI_1`, `SQL_CanadaCentral_MI_1`, `SQL_CanadaEast_MI_1`, `SQL_CentralUS_MI_1`, `SQL_EastAsia_MI_1`, `SQL_FranceCentral_MI_1`, `SQL_GermanyWestCentral_MI_1`, `SQL_CentralIndia_MI_1`, `SQL_JapanEast_MI_1`, `SQL_JapanWest_MI_1`, `SQL_NorthCentralUS_MI_1`, `SQL_UKWest_MI_1`, `SQL_WestUS_MI_1`, `SQL_AustraliaSoutheast_MI_2`, `SQL_BrazilSouth_MI_2`, `SQL_CanadaCentral_MI_2`, `SQL_CanadaEast_MI_2`, `SQL_CentralUS_MI_2`, `SQL_EastAsia_MI_2`, `SQL_FranceCentral_MI_2`, `SQL_GermanyWestCentral_MI_2`, `SQL_CentralIndia_MI_2`, `SQL_JapanEast_MI_2`, `SQL_JapanWest_MI_2`, `SQL_NorthCentralUS_MI_2`, `SQL_UKWest_MI_2`, `SQL_WestUS_MI_2`, `SQL_KoreaCentral_MI_1`, `SQL_KoreaCentral_MI_2`, `SQL_WestCentralUS_MI_1`, `SQL_WestCentralUS_MI_2`, `SQL_UAENorth_MI_1`, `SQL_SwitzerlandWest_MI_1`, `SQL_SwitzerlandNorth_MI_1`, `SQL_UAENorth_MI_2`, `SQL_SwitzerlandWest_MI_2`, `SQL_SwitzerlandNorth_MI_2`, `SQL_FranceSouth_MI_1`, `SQL_FranceSouth_MI_2`, `SQL_SouthAfricaNorth_MI_1`, `SQL_KoreaSouth_MI_1`, `SQL_UAECentral_MI_1`, `SQL_SouthAfricaNorth_MI_2`, `SQL_KoreaSouth_MI_2`, `SQL_UAECentral_MI_2`, `SQL_SouthIndia_MI_1`, `SQL_SouthIndia_MI_2`, `SQL_AustraliaCentral_MI_1`, `SQL_AustraliaCentral2_MI_1`, `SQL_AustraliaCentral_MI_2`, `SQL_AustraliaCentral2_MI_2`, `SQL_WestIndia_MI_1`, `SQL_WestIndia_MI_2`, `SQL_SouthAfricaWest_MI_1`, `SQL_SouthAfricaWest_MI_2`, `SQL_GermanyNorth_MI_1`, `SQL_GermanyNorth_MI_2`, `SQL_NorwayEast_MI_1`, `SQL_BrazilSoutheast_MI_1`, `SQL_NorwayWest_MI_1`, `SQL_WestUS3_MI_1`, `SQL_NorwayEast_MI_2`, `SQL_BrazilSoutheast_MI_2`, `SQL_NorwayWest_MI_2`, `SQL_WestUS3_MI_2`. Defaults to `SQL_Default`.
135
+ * The name of the Public Maintenance Configuration window to apply to the elastic pool. Valid values include `SQL_Default`, `SQL_EastUS_DB_1`, `SQL_EastUS2_DB_1`, `SQL_SoutheastAsia_DB_1`, `SQL_AustraliaEast_DB_1`, `SQL_NorthEurope_DB_1`, `SQL_SouthCentralUS_DB_1`, `SQL_WestUS2_DB_1`, `SQL_UKSouth_DB_1`, `SQL_WestEurope_DB_1`, `SQL_EastUS_DB_2`, `SQL_EastUS2_DB_2`, `SQL_WestUS2_DB_2`, `SQL_SoutheastAsia_DB_2`, `SQL_AustraliaEast_DB_2`, `SQL_NorthEurope_DB_2`, `SQL_SouthCentralUS_DB_2`, `SQL_UKSouth_DB_2`, `SQL_WestEurope_DB_2`, `SQL_AustraliaSoutheast_DB_1`, `SQL_BrazilSouth_DB_1`, `SQL_CanadaCentral_DB_1`, `SQL_CanadaEast_DB_1`, `SQL_CentralUS_DB_1`, `SQL_EastAsia_DB_1`, `SQL_FranceCentral_DB_1`, `SQL_GermanyWestCentral_DB_1`, `SQL_CentralIndia_DB_1`, `SQL_SouthIndia_DB_1`, `SQL_JapanEast_DB_1`, `SQL_JapanWest_DB_1`, `SQL_NorthCentralUS_DB_1`, `SQL_UKWest_DB_1`, `SQL_WestUS_DB_1`, `SQL_AustraliaSoutheast_DB_2`, `SQL_BrazilSouth_DB_2`, `SQL_CanadaCentral_DB_2`, `SQL_CanadaEast_DB_2`, `SQL_CentralUS_DB_2`, `SQL_EastAsia_DB_2`, `SQL_FranceCentral_DB_2`, `SQL_GermanyWestCentral_DB_2`, `SQL_CentralIndia_DB_2`, `SQL_SouthIndia_DB_2`, `SQL_JapanEast_DB_2`, `SQL_JapanWest_DB_2`, `SQL_NorthCentralUS_DB_2`, `SQL_UKWest_DB_2`, `SQL_WestUS_DB_2`, `SQL_WestCentralUS_DB_1`, `SQL_FranceSouth_DB_1`, `SQL_WestCentralUS_DB_2`, `SQL_FranceSouth_DB_2`, `SQL_SwitzerlandNorth_DB_1`, `SQL_SwitzerlandNorth_DB_2`, `SQL_BrazilSoutheast_DB_1`, `SQL_UAENorth_DB_1`, `SQL_BrazilSoutheast_DB_2`, `SQL_UAENorth_DB_2`. Defaults to `SQL_Default`.
136
136
  */
137
137
  maintenanceConfigurationName?: pulumi.Input<string>;
138
138
  /**
@@ -187,7 +187,7 @@ export interface ElasticPoolArgs {
187
187
  */
188
188
  location?: pulumi.Input<string>;
189
189
  /**
190
- * The name of the Public Maintenance Configuration window to apply to the SQL Managed Instance. Valid values include `SQL_Default`, `SQL_EastUS_MI_1`, `SQL_EastUS2_MI_1`, `SQL_WestUS2_MI_1`, `SQL_SoutheastAsia_MI_1`, `SQL_AustraliaEast_MI_1`, `SQL_NorthEurope_MI_1`, `SQL_SouthCentralUS_MI_1`, `SQL_UKSouth_MI_1`, `SQL_WestEurope_MI_1`, `SQL_EastUS_MI_2`, `SQL_EastUS2_MI_2`, `SQL_WestUS2_MI_2`, `SQL_SoutheastAsia_MI_2`, `SQL_NorthEurope_MI_2`, `SQL_SouthCentralUS_MI_2`, `SQL_UKSouth_MI_2`, `SQL_WestEurope_MI_2`, `SQL_AustraliaSoutheast_MI_1`, `SQL_BrazilSouth_MI_1`, `SQL_CanadaCentral_MI_1`, `SQL_CanadaEast_MI_1`, `SQL_CentralUS_MI_1`, `SQL_EastAsia_MI_1`, `SQL_FranceCentral_MI_1`, `SQL_GermanyWestCentral_MI_1`, `SQL_CentralIndia_MI_1`, `SQL_JapanEast_MI_1`, `SQL_JapanWest_MI_1`, `SQL_NorthCentralUS_MI_1`, `SQL_UKWest_MI_1`, `SQL_WestUS_MI_1`, `SQL_AustraliaSoutheast_MI_2`, `SQL_BrazilSouth_MI_2`, `SQL_CanadaCentral_MI_2`, `SQL_CanadaEast_MI_2`, `SQL_CentralUS_MI_2`, `SQL_EastAsia_MI_2`, `SQL_FranceCentral_MI_2`, `SQL_GermanyWestCentral_MI_2`, `SQL_CentralIndia_MI_2`, `SQL_JapanEast_MI_2`, `SQL_JapanWest_MI_2`, `SQL_NorthCentralUS_MI_2`, `SQL_UKWest_MI_2`, `SQL_WestUS_MI_2`, `SQL_KoreaCentral_MI_1`, `SQL_KoreaCentral_MI_2`, `SQL_WestCentralUS_MI_1`, `SQL_WestCentralUS_MI_2`, `SQL_UAENorth_MI_1`, `SQL_SwitzerlandWest_MI_1`, `SQL_SwitzerlandNorth_MI_1`, `SQL_UAENorth_MI_2`, `SQL_SwitzerlandWest_MI_2`, `SQL_SwitzerlandNorth_MI_2`, `SQL_FranceSouth_MI_1`, `SQL_FranceSouth_MI_2`, `SQL_SouthAfricaNorth_MI_1`, `SQL_KoreaSouth_MI_1`, `SQL_UAECentral_MI_1`, `SQL_SouthAfricaNorth_MI_2`, `SQL_KoreaSouth_MI_2`, `SQL_UAECentral_MI_2`, `SQL_SouthIndia_MI_1`, `SQL_SouthIndia_MI_2`, `SQL_AustraliaCentral_MI_1`, `SQL_AustraliaCentral2_MI_1`, `SQL_AustraliaCentral_MI_2`, `SQL_AustraliaCentral2_MI_2`, `SQL_WestIndia_MI_1`, `SQL_WestIndia_MI_2`, `SQL_SouthAfricaWest_MI_1`, `SQL_SouthAfricaWest_MI_2`, `SQL_GermanyNorth_MI_1`, `SQL_GermanyNorth_MI_2`, `SQL_NorwayEast_MI_1`, `SQL_BrazilSoutheast_MI_1`, `SQL_NorwayWest_MI_1`, `SQL_WestUS3_MI_1`, `SQL_NorwayEast_MI_2`, `SQL_BrazilSoutheast_MI_2`, `SQL_NorwayWest_MI_2`, `SQL_WestUS3_MI_2`. Defaults to `SQL_Default`.
190
+ * The name of the Public Maintenance Configuration window to apply to the elastic pool. Valid values include `SQL_Default`, `SQL_EastUS_DB_1`, `SQL_EastUS2_DB_1`, `SQL_SoutheastAsia_DB_1`, `SQL_AustraliaEast_DB_1`, `SQL_NorthEurope_DB_1`, `SQL_SouthCentralUS_DB_1`, `SQL_WestUS2_DB_1`, `SQL_UKSouth_DB_1`, `SQL_WestEurope_DB_1`, `SQL_EastUS_DB_2`, `SQL_EastUS2_DB_2`, `SQL_WestUS2_DB_2`, `SQL_SoutheastAsia_DB_2`, `SQL_AustraliaEast_DB_2`, `SQL_NorthEurope_DB_2`, `SQL_SouthCentralUS_DB_2`, `SQL_UKSouth_DB_2`, `SQL_WestEurope_DB_2`, `SQL_AustraliaSoutheast_DB_1`, `SQL_BrazilSouth_DB_1`, `SQL_CanadaCentral_DB_1`, `SQL_CanadaEast_DB_1`, `SQL_CentralUS_DB_1`, `SQL_EastAsia_DB_1`, `SQL_FranceCentral_DB_1`, `SQL_GermanyWestCentral_DB_1`, `SQL_CentralIndia_DB_1`, `SQL_SouthIndia_DB_1`, `SQL_JapanEast_DB_1`, `SQL_JapanWest_DB_1`, `SQL_NorthCentralUS_DB_1`, `SQL_UKWest_DB_1`, `SQL_WestUS_DB_1`, `SQL_AustraliaSoutheast_DB_2`, `SQL_BrazilSouth_DB_2`, `SQL_CanadaCentral_DB_2`, `SQL_CanadaEast_DB_2`, `SQL_CentralUS_DB_2`, `SQL_EastAsia_DB_2`, `SQL_FranceCentral_DB_2`, `SQL_GermanyWestCentral_DB_2`, `SQL_CentralIndia_DB_2`, `SQL_SouthIndia_DB_2`, `SQL_JapanEast_DB_2`, `SQL_JapanWest_DB_2`, `SQL_NorthCentralUS_DB_2`, `SQL_UKWest_DB_2`, `SQL_WestUS_DB_2`, `SQL_WestCentralUS_DB_1`, `SQL_FranceSouth_DB_1`, `SQL_WestCentralUS_DB_2`, `SQL_FranceSouth_DB_2`, `SQL_SwitzerlandNorth_DB_1`, `SQL_SwitzerlandNorth_DB_2`, `SQL_BrazilSoutheast_DB_1`, `SQL_UAENorth_DB_1`, `SQL_BrazilSoutheast_DB_2`, `SQL_UAENorth_DB_2`. Defaults to `SQL_Default`.
191
191
  */
192
192
  maintenanceConfigurationName?: pulumi.Input<string>;
193
193
  /**
@@ -213,7 +213,7 @@ export declare class ManagedInstance extends pulumi.CustomResource {
213
213
  */
214
214
  readonly collation: pulumi.Output<string | undefined>;
215
215
  /**
216
- * The ID of the SQL Managed Instance which will share the DNS zone. This is a prerequisite for creating an `azurermManagedInstanceFailoverGroup`. Setting this after creation forces a new resource to be created.
216
+ * The ID of the SQL Managed Instance which will share the DNS zone. This is a prerequisite for creating an `azure.sql.ManagedInstanceFailoverGroup`. Setting this after creation forces a new resource to be created.
217
217
  */
218
218
  readonly dnsZonePartnerId: pulumi.Output<string | undefined>;
219
219
  /**
@@ -312,7 +312,7 @@ export interface ManagedInstanceState {
312
312
  */
313
313
  collation?: pulumi.Input<string>;
314
314
  /**
315
- * The ID of the SQL Managed Instance which will share the DNS zone. This is a prerequisite for creating an `azurermManagedInstanceFailoverGroup`. Setting this after creation forces a new resource to be created.
315
+ * The ID of the SQL Managed Instance which will share the DNS zone. This is a prerequisite for creating an `azure.sql.ManagedInstanceFailoverGroup`. Setting this after creation forces a new resource to be created.
316
316
  */
317
317
  dnsZonePartnerId?: pulumi.Input<string>;
318
318
  /**
@@ -403,7 +403,7 @@ export interface ManagedInstanceArgs {
403
403
  */
404
404
  collation?: pulumi.Input<string>;
405
405
  /**
406
- * The ID of the SQL Managed Instance which will share the DNS zone. This is a prerequisite for creating an `azurermManagedInstanceFailoverGroup`. Setting this after creation forces a new resource to be created.
406
+ * The ID of the SQL Managed Instance which will share the DNS zone. This is a prerequisite for creating an `azure.sql.ManagedInstanceFailoverGroup`. Setting this after creation forces a new resource to be created.
407
407
  */
408
408
  dnsZonePartnerId?: pulumi.Input<string>;
409
409
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/azure",
3
- "version": "v5.16.0",
3
+ "version": "v5.18.0-alpha.1661972999+440db625",
4
4
  "description": "A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource azure v5.16.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource azure v5.18.0-alpha.1661972999+440db625"
15
15
  },
16
16
  "dependencies": {
17
17
  "@azure/eventgrid": "^4.6.0",
@@ -26,7 +26,7 @@
26
26
  "devDependencies": {
27
27
  "@types/node": "^10.0.0",
28
28
  "@types/node-fetch": "^2.5.8",
29
- "typescript": "^4.3.5"
29
+ "typescript": "4.7.4"
30
30
  },
31
31
  "pulumi": {
32
32
  "resource": true,
package/package.json.bak CHANGED
@@ -26,7 +26,7 @@
26
26
  "devDependencies": {
27
27
  "@types/node": "^10.0.0",
28
28
  "@types/node-fetch": "^2.5.8",
29
- "typescript": "^4.3.5"
29
+ "typescript": "4.7.4"
30
30
  },
31
31
  "pulumi": {
32
32
  "resource": true,
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/azure",
3
- "version": "v5.16.0",
3
+ "version": "v5.18.0-alpha.1661972999+440db625",
4
4
  "description": "A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource azure v5.16.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource azure v5.18.0-alpha.1661972999+440db625"
15
15
  },
16
16
  "dependencies": {
17
17
  "@azure/eventgrid": "^4.6.0",
@@ -26,7 +26,7 @@
26
26
  "devDependencies": {
27
27
  "@types/node": "^10.0.0",
28
28
  "@types/node-fetch": "^2.5.8",
29
- "typescript": "^4.3.5"
29
+ "typescript": "4.7.4"
30
30
  },
31
31
  "pulumi": {
32
32
  "resource": true,
package/provider.d.ts CHANGED
@@ -44,15 +44,19 @@ export declare class Provider extends pulumi.ProviderResource {
44
44
  */
45
45
  readonly msiEndpoint: pulumi.Output<string | undefined>;
46
46
  /**
47
- * The bearer token for the request to the OIDC provider. For use When authenticating as a Service Principal using OpenID
47
+ * The bearer token for the request to the OIDC provider. For use when authenticating as a Service Principal using OpenID
48
48
  * Connect.
49
49
  */
50
50
  readonly oidcRequestToken: pulumi.Output<string | undefined>;
51
51
  /**
52
- * The URL for the OIDC provider from which to request an ID token. For use When authenticating as a Service Principal
52
+ * The URL for the OIDC provider from which to request an ID token. For use when authenticating as a Service Principal
53
53
  * using OpenID Connect.
54
54
  */
55
55
  readonly oidcRequestUrl: pulumi.Output<string | undefined>;
56
+ /**
57
+ * The OIDC ID token for use when authenticating as a Service Principal using OpenID Connect.
58
+ */
59
+ readonly oidcToken: pulumi.Output<string | undefined>;
56
60
  /**
57
61
  * A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution.
58
62
  */
@@ -120,15 +124,19 @@ export interface ProviderArgs {
120
124
  */
121
125
  msiEndpoint?: pulumi.Input<string>;
122
126
  /**
123
- * The bearer token for the request to the OIDC provider. For use When authenticating as a Service Principal using OpenID
127
+ * The bearer token for the request to the OIDC provider. For use when authenticating as a Service Principal using OpenID
124
128
  * Connect.
125
129
  */
126
130
  oidcRequestToken?: pulumi.Input<string>;
127
131
  /**
128
- * The URL for the OIDC provider from which to request an ID token. For use When authenticating as a Service Principal
132
+ * The URL for the OIDC provider from which to request an ID token. For use when authenticating as a Service Principal
129
133
  * using OpenID Connect.
130
134
  */
131
135
  oidcRequestUrl?: pulumi.Input<string>;
136
+ /**
137
+ * The OIDC ID token for use when authenticating as a Service Principal using OpenID Connect.
138
+ */
139
+ oidcToken?: pulumi.Input<string>;
132
140
  /**
133
141
  * A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution.
134
142
  */
package/provider.js CHANGED
@@ -37,6 +37,7 @@ class Provider extends pulumi.ProviderResource {
37
37
  resourceInputs["msiEndpoint"] = args ? args.msiEndpoint : undefined;
38
38
  resourceInputs["oidcRequestToken"] = args ? args.oidcRequestToken : undefined;
39
39
  resourceInputs["oidcRequestUrl"] = args ? args.oidcRequestUrl : undefined;
40
+ resourceInputs["oidcToken"] = args ? args.oidcToken : undefined;
40
41
  resourceInputs["partnerId"] = args ? args.partnerId : undefined;
41
42
  resourceInputs["skipProviderRegistration"] = pulumi.output((_c = (args ? args.skipProviderRegistration : undefined)) !== null && _c !== void 0 ? _c : (utilities.getEnvBoolean("ARM_SKIP_PROVIDER_REGISTRATION") || false)).apply(JSON.stringify);
42
43
  resourceInputs["storageUseAzuread"] = pulumi.output((_d = (args ? args.storageUseAzuread : undefined)) !== null && _d !== void 0 ? _d : (utilities.getEnvBoolean("ARM_STORAGE_USE_AZUREAD") || false)).apply(JSON.stringify);