@pulumi/azure 5.81.0-alpha.1719035839 → 5.81.0-alpha.1719232422

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/apimanagement/service.d.ts +3 -3
  2. package/automation/getRunbook.d.ts +117 -0
  3. package/automation/getRunbook.js +55 -0
  4. package/automation/getRunbook.js.map +1 -0
  5. package/automation/index.d.ts +3 -0
  6. package/automation/index.js +4 -1
  7. package/automation/index.js.map +1 -1
  8. package/automation/jobSchedule.d.ts +14 -4
  9. package/automation/jobSchedule.js +5 -1
  10. package/automation/jobSchedule.js.map +1 -1
  11. package/automation/runBook.d.ts +18 -3
  12. package/automation/runBook.js.map +1 -1
  13. package/communication/emailServiceDomain.d.ts +139 -0
  14. package/communication/emailServiceDomain.js +80 -0
  15. package/communication/emailServiceDomain.js.map +1 -0
  16. package/communication/index.d.ts +3 -0
  17. package/communication/index.js +6 -1
  18. package/communication/index.js.map +1 -1
  19. package/containerservice/kubernetesCluster.d.ts +3 -3
  20. package/cosmosdb/cassandraTable.d.ts +1 -1
  21. package/cosmosdb/gremlinGraph.d.ts +1 -1
  22. package/cosmosdb/sqlContainer.d.ts +29 -5
  23. package/cosmosdb/sqlContainer.js +4 -3
  24. package/cosmosdb/sqlContainer.js.map +1 -1
  25. package/dataprotection/backupInstanceBlogStorage.d.ts +18 -0
  26. package/dataprotection/backupInstanceBlogStorage.js +2 -0
  27. package/dataprotection/backupInstanceBlogStorage.js.map +1 -1
  28. package/dataprotection/backupInstancePostgresqlFlexibleServer.d.ts +176 -0
  29. package/dataprotection/backupInstancePostgresqlFlexibleServer.js +146 -0
  30. package/dataprotection/backupInstancePostgresqlFlexibleServer.js.map +1 -0
  31. package/dataprotection/index.d.ts +3 -0
  32. package/dataprotection/index.js +6 -1
  33. package/dataprotection/index.js.map +1 -1
  34. package/desktopvirtualization/hostPool.d.ts +3 -3
  35. package/desktopvirtualization/scalingPlan.d.ts +1 -1
  36. package/desktopvirtualization/scalingPlan.js +1 -1
  37. package/hdinsight/getCluster.d.ts +9 -0
  38. package/hdinsight/getCluster.js +2 -0
  39. package/hdinsight/getCluster.js.map +1 -1
  40. package/lb/backendAddressPool.d.ts +18 -0
  41. package/lb/backendAddressPool.js +2 -0
  42. package/lb/backendAddressPool.js.map +1 -1
  43. package/machinelearning/datastoreDatalakeGen2.d.ts +1 -1
  44. package/maps/account.d.ts +50 -0
  45. package/maps/account.js +8 -0
  46. package/maps/account.js.map +1 -1
  47. package/monitoring/privateLinkScope.d.ts +26 -0
  48. package/monitoring/privateLinkScope.js +6 -0
  49. package/monitoring/privateLinkScope.js.map +1 -1
  50. package/netapp/volume.d.ts +1 -1
  51. package/network/getNetworkInterface.d.ts +10 -2
  52. package/network/getNetworkInterface.js.map +1 -1
  53. package/network/networkInterface.d.ts +44 -20
  54. package/network/networkInterface.js +4 -0
  55. package/network/networkInterface.js.map +1 -1
  56. package/network/virtualNetworkPeering.d.ts +48 -0
  57. package/network/virtualNetworkPeering.js +8 -0
  58. package/network/virtualNetworkPeering.js.map +1 -1
  59. package/package.json +2 -2
  60. package/pim/getRoleManagementPolicy.d.ts +151 -0
  61. package/pim/getRoleManagementPolicy.js +106 -0
  62. package/pim/getRoleManagementPolicy.js.map +1 -0
  63. package/pim/index.d.ts +6 -0
  64. package/pim/index.js +9 -1
  65. package/pim/index.js.map +1 -1
  66. package/pim/roleManagementPolicy.d.ts +175 -0
  67. package/pim/roleManagementPolicy.js +118 -0
  68. package/pim/roleManagementPolicy.js.map +1 -0
  69. package/sentinel/alertRuleScheduled.d.ts +15 -3
  70. package/sentinel/alertRuleScheduled.js +2 -0
  71. package/sentinel/alertRuleScheduled.js.map +1 -1
  72. package/synapse/workspace.d.ts +6 -11
  73. package/synapse/workspace.js +0 -5
  74. package/synapse/workspace.js.map +1 -1
  75. package/systemcenter/index.d.ts +9 -0
  76. package/systemcenter/index.js +16 -1
  77. package/systemcenter/index.js.map +1 -1
  78. package/systemcenter/virtualMachineManagerCloud.d.ts +157 -0
  79. package/systemcenter/virtualMachineManagerCloud.js +111 -0
  80. package/systemcenter/virtualMachineManagerCloud.js.map +1 -0
  81. package/systemcenter/virtualMachineManagerVirtualMachineTemplate.d.ts +157 -0
  82. package/systemcenter/virtualMachineManagerVirtualMachineTemplate.js +111 -0
  83. package/systemcenter/virtualMachineManagerVirtualMachineTemplate.js.map +1 -0
  84. package/systemcenter/virtualMachineManagerVirtualNetwork.d.ts +157 -0
  85. package/systemcenter/virtualMachineManagerVirtualNetwork.js +111 -0
  86. package/systemcenter/virtualMachineManagerVirtualNetwork.js.map +1 -0
  87. package/types/input.d.ts +488 -33
  88. package/types/output.d.ts +750 -35
@@ -0,0 +1,80 @@
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.EmailServiceDomain = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages an Email Communication Service Domain.
10
+ *
11
+ * ## Import
12
+ *
13
+ * Communication Services can be imported using the `resource id`, e.g.
14
+ *
15
+ * ```sh
16
+ * $ pulumi import azure:communication/emailServiceDomain:EmailServiceDomain example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Communication/emailServices/emailCommunicationService1/domains/domain1
17
+ * ```
18
+ */
19
+ class EmailServiceDomain extends pulumi.CustomResource {
20
+ constructor(name, argsOrState, opts) {
21
+ let resourceInputs = {};
22
+ opts = opts || {};
23
+ if (opts.id) {
24
+ const state = argsOrState;
25
+ resourceInputs["domainManagement"] = state ? state.domainManagement : undefined;
26
+ resourceInputs["emailServiceId"] = state ? state.emailServiceId : undefined;
27
+ resourceInputs["fromSenderDomain"] = state ? state.fromSenderDomain : undefined;
28
+ resourceInputs["mailFromSenderDomain"] = state ? state.mailFromSenderDomain : undefined;
29
+ resourceInputs["name"] = state ? state.name : undefined;
30
+ resourceInputs["tags"] = state ? state.tags : undefined;
31
+ resourceInputs["userEngagementTrackingEnabled"] = state ? state.userEngagementTrackingEnabled : undefined;
32
+ resourceInputs["verificationRecords"] = state ? state.verificationRecords : undefined;
33
+ }
34
+ else {
35
+ const args = argsOrState;
36
+ if ((!args || args.domainManagement === undefined) && !opts.urn) {
37
+ throw new Error("Missing required property 'domainManagement'");
38
+ }
39
+ if ((!args || args.emailServiceId === undefined) && !opts.urn) {
40
+ throw new Error("Missing required property 'emailServiceId'");
41
+ }
42
+ resourceInputs["domainManagement"] = args ? args.domainManagement : undefined;
43
+ resourceInputs["emailServiceId"] = args ? args.emailServiceId : undefined;
44
+ resourceInputs["name"] = args ? args.name : undefined;
45
+ resourceInputs["tags"] = args ? args.tags : undefined;
46
+ resourceInputs["userEngagementTrackingEnabled"] = args ? args.userEngagementTrackingEnabled : undefined;
47
+ resourceInputs["fromSenderDomain"] = undefined /*out*/;
48
+ resourceInputs["mailFromSenderDomain"] = undefined /*out*/;
49
+ resourceInputs["verificationRecords"] = undefined /*out*/;
50
+ }
51
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
52
+ super(EmailServiceDomain.__pulumiType, name, resourceInputs, opts);
53
+ }
54
+ /**
55
+ * Get an existing EmailServiceDomain resource's state with the given name, ID, and optional extra
56
+ * properties used to qualify the lookup.
57
+ *
58
+ * @param name The _unique_ name of the resulting resource.
59
+ * @param id The _unique_ provider ID of the resource to lookup.
60
+ * @param state Any extra arguments used during the lookup.
61
+ * @param opts Optional settings to control the behavior of the CustomResource.
62
+ */
63
+ static get(name, id, state, opts) {
64
+ return new EmailServiceDomain(name, state, Object.assign(Object.assign({}, opts), { id: id }));
65
+ }
66
+ /**
67
+ * Returns true if the given object is an instance of EmailServiceDomain. This is designed to work even
68
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
69
+ */
70
+ static isInstance(obj) {
71
+ if (obj === undefined || obj === null) {
72
+ return false;
73
+ }
74
+ return obj['__pulumiType'] === EmailServiceDomain.__pulumiType;
75
+ }
76
+ }
77
+ exports.EmailServiceDomain = EmailServiceDomain;
78
+ /** @internal */
79
+ EmailServiceDomain.__pulumiType = 'azure:communication/emailServiceDomain:EmailServiceDomain';
80
+ //# sourceMappingURL=emailServiceDomain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emailServiceDomain.js","sourceRoot":"","sources":["../../communication/emailServiceDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAqEzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAA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AC,CAAC,SAAS,CAAC;YACxG,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;IApGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDAsGC;AAxFG,gBAAgB;AACO,+BAAY,GAAG,2DAA2D,CAAC"}
@@ -1,6 +1,9 @@
1
1
  export { EmailServiceArgs, EmailServiceState } from "./emailService";
2
2
  export declare type EmailService = import("./emailService").EmailService;
3
3
  export declare const EmailService: typeof import("./emailService").EmailService;
4
+ export { EmailServiceDomainArgs, EmailServiceDomainState } from "./emailServiceDomain";
5
+ export declare type EmailServiceDomain = import("./emailServiceDomain").EmailServiceDomain;
6
+ export declare const EmailServiceDomain: typeof import("./emailServiceDomain").EmailServiceDomain;
4
7
  export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService";
5
8
  export declare const getService: typeof import("./getService").getService;
6
9
  export declare const getServiceOutput: typeof import("./getService").getServiceOutput;
@@ -2,11 +2,13 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Service = exports.getServiceOutput = exports.getService = exports.EmailService = void 0;
5
+ exports.Service = exports.getServiceOutput = exports.getService = exports.EmailServiceDomain = exports.EmailService = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.EmailService = null;
9
9
  utilities.lazyLoad(exports, ["EmailService"], () => require("./emailService"));
10
+ exports.EmailServiceDomain = null;
11
+ utilities.lazyLoad(exports, ["EmailServiceDomain"], () => require("./emailServiceDomain"));
10
12
  exports.getService = null;
11
13
  exports.getServiceOutput = null;
12
14
  utilities.lazyLoad(exports, ["getService", "getServiceOutput"], () => require("./getService"));
@@ -18,6 +20,8 @@ const _module = {
18
20
  switch (type) {
19
21
  case "azure:communication/emailService:EmailService":
20
22
  return new exports.EmailService(name, undefined, { urn });
23
+ case "azure:communication/emailServiceDomain:EmailServiceDomain":
24
+ return new exports.EmailServiceDomain(name, undefined, { urn });
21
25
  case "azure:communication/service:Service":
22
26
  return new exports.Service(name, undefined, { urn });
23
27
  default:
@@ -26,5 +30,6 @@ const _module = {
26
30
  },
27
31
  };
28
32
  pulumi.runtime.registerResourceModule("azure", "communication/emailService", _module);
33
+ pulumi.runtime.registerResourceModule("azure", "communication/emailServiceDomain", _module);
29
34
  pulumi.runtime.registerResourceModule("azure", "communication/service", _module);
30
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../communication/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,YAAY,GAAi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E,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AAC3F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA"}
@@ -136,7 +136,7 @@ export declare class KubernetesCluster extends pulumi.CustomResource {
136
136
  */
137
137
  readonly edgeZone: pulumi.Output<string | undefined>;
138
138
  /**
139
- * @deprecated The AKS API has removed support for this field on 2020-10-15 and is no longer possible to configure this the Pod Security Policy.
139
+ * @deprecated The AKS API has removed support for this field on 2020-10-15 and it is no longer possible to configure Pod Security Policy. This property will be removed in v4.0 of the AzureRM provider.
140
140
  */
141
141
  readonly enablePodSecurityPolicy: pulumi.Output<boolean | undefined>;
142
142
  /**
@@ -505,7 +505,7 @@ export interface KubernetesClusterState {
505
505
  */
506
506
  edgeZone?: pulumi.Input<string>;
507
507
  /**
508
- * @deprecated The AKS API has removed support for this field on 2020-10-15 and is no longer possible to configure this the Pod Security Policy.
508
+ * @deprecated The AKS API has removed support for this field on 2020-10-15 and it is no longer possible to configure Pod Security Policy. This property will be removed in v4.0 of the AzureRM provider.
509
509
  */
510
510
  enablePodSecurityPolicy?: pulumi.Input<boolean>;
511
511
  /**
@@ -862,7 +862,7 @@ export interface KubernetesClusterArgs {
862
862
  */
863
863
  edgeZone?: pulumi.Input<string>;
864
864
  /**
865
- * @deprecated The AKS API has removed support for this field on 2020-10-15 and is no longer possible to configure this the Pod Security Policy.
865
+ * @deprecated The AKS API has removed support for this field on 2020-10-15 and it is no longer possible to configure Pod Security Policy. This property will be removed in v4.0 of the AzureRM provider.
866
866
  */
867
867
  enablePodSecurityPolicy?: pulumi.Input<boolean>;
868
868
  /**
@@ -95,7 +95,7 @@ export declare class CassandraTable extends pulumi.CustomResource {
95
95
  /**
96
96
  * Time to live of the Cosmos DB Cassandra table. Possible values are at least `-1`. `-1` means the Cassandra table never expires.
97
97
  */
98
- readonly defaultTtl: pulumi.Output<number>;
98
+ readonly defaultTtl: pulumi.Output<number | undefined>;
99
99
  /**
100
100
  * Specifies the name of the Cosmos DB Cassandra Table. Changing this forces a new resource to be created.
101
101
  */
@@ -93,7 +93,7 @@ export declare class GremlinGraph extends pulumi.CustomResource {
93
93
  /**
94
94
  * The default time to live (TTL) of the Gremlin graph. If the value is missing or set to "-1", items don’t expire.
95
95
  */
96
- readonly defaultTtl: pulumi.Output<number>;
96
+ readonly defaultTtl: pulumi.Output<number | undefined>;
97
97
  /**
98
98
  * The configuration of the indexing policy. One or more `indexPolicy` blocks as defined below.
99
99
  */
@@ -99,7 +99,7 @@ export declare class SqlContainer extends pulumi.CustomResource {
99
99
  /**
100
100
  * The default time to live of SQL container. If missing, items are not expired automatically. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time.
101
101
  */
102
- readonly defaultTtl: pulumi.Output<number>;
102
+ readonly defaultTtl: pulumi.Output<number | undefined>;
103
103
  /**
104
104
  * An `indexingPolicy` block as defined below.
105
105
  */
@@ -109,9 +109,17 @@ export declare class SqlContainer extends pulumi.CustomResource {
109
109
  */
110
110
  readonly name: pulumi.Output<string>;
111
111
  /**
112
- * Define a partition key. Changing this forces a new resource to be created.
112
+ * Define a partition key kind. Possible values are `Hash` and `MultiHash`. Defaults to `Hash`. Changing this forces a new resource to be created.
113
+ */
114
+ readonly partitionKeyKind: pulumi.Output<string | undefined>;
115
+ /**
116
+ * @deprecated `partitionKeyPath` will be removed in favour of the property `partitionKeyPaths` in version 4.0 of the AzureRM Provider.
113
117
  */
114
118
  readonly partitionKeyPath: pulumi.Output<string>;
119
+ /**
120
+ * A list of partition key paths. Changing this forces a new resource to be created.
121
+ */
122
+ readonly partitionKeyPaths: pulumi.Output<string[]>;
115
123
  /**
116
124
  * Define a partition key version. Changing this forces a new resource to be created. Possible values are `1`and `2`. This should be set to `2` in order to use large partition keys.
117
125
  */
@@ -176,9 +184,17 @@ export interface SqlContainerState {
176
184
  */
177
185
  name?: pulumi.Input<string>;
178
186
  /**
179
- * Define a partition key. Changing this forces a new resource to be created.
187
+ * Define a partition key kind. Possible values are `Hash` and `MultiHash`. Defaults to `Hash`. Changing this forces a new resource to be created.
188
+ */
189
+ partitionKeyKind?: pulumi.Input<string>;
190
+ /**
191
+ * @deprecated `partitionKeyPath` will be removed in favour of the property `partitionKeyPaths` in version 4.0 of the AzureRM Provider.
180
192
  */
181
193
  partitionKeyPath?: pulumi.Input<string>;
194
+ /**
195
+ * A list of partition key paths. Changing this forces a new resource to be created.
196
+ */
197
+ partitionKeyPaths?: pulumi.Input<pulumi.Input<string>[]>;
182
198
  /**
183
199
  * Define a partition key version. Changing this forces a new resource to be created. Possible values are `1`and `2`. This should be set to `2` in order to use large partition keys.
184
200
  */
@@ -235,9 +251,17 @@ export interface SqlContainerArgs {
235
251
  */
236
252
  name?: pulumi.Input<string>;
237
253
  /**
238
- * Define a partition key. Changing this forces a new resource to be created.
254
+ * Define a partition key kind. Possible values are `Hash` and `MultiHash`. Defaults to `Hash`. Changing this forces a new resource to be created.
255
+ */
256
+ partitionKeyKind?: pulumi.Input<string>;
257
+ /**
258
+ * @deprecated `partitionKeyPath` will be removed in favour of the property `partitionKeyPaths` in version 4.0 of the AzureRM Provider.
259
+ */
260
+ partitionKeyPath?: pulumi.Input<string>;
261
+ /**
262
+ * A list of partition key paths. Changing this forces a new resource to be created.
239
263
  */
240
- partitionKeyPath: pulumi.Input<string>;
264
+ partitionKeyPaths?: pulumi.Input<pulumi.Input<string>[]>;
241
265
  /**
242
266
  * Define a partition key version. Changing this forces a new resource to be created. Possible values are `1`and `2`. This should be set to `2` in order to use large partition keys.
243
267
  */
@@ -76,7 +76,9 @@ class SqlContainer extends pulumi.CustomResource {
76
76
  resourceInputs["defaultTtl"] = state ? state.defaultTtl : undefined;
77
77
  resourceInputs["indexingPolicy"] = state ? state.indexingPolicy : undefined;
78
78
  resourceInputs["name"] = state ? state.name : undefined;
79
+ resourceInputs["partitionKeyKind"] = state ? state.partitionKeyKind : undefined;
79
80
  resourceInputs["partitionKeyPath"] = state ? state.partitionKeyPath : undefined;
81
+ resourceInputs["partitionKeyPaths"] = state ? state.partitionKeyPaths : undefined;
80
82
  resourceInputs["partitionKeyVersion"] = state ? state.partitionKeyVersion : undefined;
81
83
  resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
82
84
  resourceInputs["throughput"] = state ? state.throughput : undefined;
@@ -90,9 +92,6 @@ class SqlContainer extends pulumi.CustomResource {
90
92
  if ((!args || args.databaseName === undefined) && !opts.urn) {
91
93
  throw new Error("Missing required property 'databaseName'");
92
94
  }
93
- if ((!args || args.partitionKeyPath === undefined) && !opts.urn) {
94
- throw new Error("Missing required property 'partitionKeyPath'");
95
- }
96
95
  if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
97
96
  throw new Error("Missing required property 'resourceGroupName'");
98
97
  }
@@ -104,7 +103,9 @@ class SqlContainer extends pulumi.CustomResource {
104
103
  resourceInputs["defaultTtl"] = args ? args.defaultTtl : undefined;
105
104
  resourceInputs["indexingPolicy"] = args ? args.indexingPolicy : undefined;
106
105
  resourceInputs["name"] = args ? args.name : undefined;
106
+ resourceInputs["partitionKeyKind"] = args ? args.partitionKeyKind : undefined;
107
107
  resourceInputs["partitionKeyPath"] = args ? args.partitionKeyPath : undefined;
108
+ resourceInputs["partitionKeyPaths"] = args ? args.partitionKeyPaths : undefined;
108
109
  resourceInputs["partitionKeyVersion"] = args ? args.partitionKeyVersion : undefined;
109
110
  resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
110
111
  resourceInputs["throughput"] = args ? args.thro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ends pulumi.CustomResource {
86
86
  * The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
87
87
  */
88
88
  readonly name: pulumi.Output<string>;
89
+ /**
90
+ * The list of the container names of the source Storage Account.
91
+ *
92
+ * > **Note:** The `storageAccountContainerNames` should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the `storageAccountContainerNames` will force a new resource to be created since it can't be removed once specified.
93
+ */
94
+ readonly storageAccountContainerNames: pulumi.Output<string[] | undefined>;
89
95
  /**
90
96
  * The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
91
97
  */
@@ -119,6 +125,12 @@ export interface BackupInstanceBlogStorageState {
119
125
  * The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
120
126
  */
121
127
  name?: pulumi.Input<string>;
128
+ /**
129
+ * The list of the container names of the source Storage Account.
130
+ *
131
+ * > **Note:** The `storageAccountContainerNames` should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the `storageAccountContainerNames` will force a new resource to be created since it can't be removed once specified.
132
+ */
133
+ storageAccountContainerNames?: pulumi.Input<pulumi.Input<string>[]>;
122
134
  /**
123
135
  * The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
124
136
  */
@@ -144,6 +156,12 @@ export interface BackupInstanceBlogStorageArgs {
144
156
  * The name which should be used for this Backup Instance Blob Storage. Changing this forces a new Backup Instance Blob Storage to be created.
145
157
  */
146
158
  name?: pulumi.Input<string>;
159
+ /**
160
+ * The list of the container names of the source Storage Account.
161
+ *
162
+ * > **Note:** The `storageAccountContainerNames` should be specified in the vaulted backup policy/operational and vaulted hybrid backup policy. Removing the `storageAccountContainerNames` will force a new resource to be created since it can't be removed once specified.
163
+ */
164
+ storageAccountContainerNames?: pulumi.Input<pulumi.Input<string>[]>;
147
165
  /**
148
166
  * The ID of the source Storage Account. Changing this forces a new Backup Instance Blob Storage to be created.
149
167
  */
@@ -73,6 +73,7 @@ class BackupInstanceBlogStorage extends pulumi.CustomResource {
73
73
  resourceInputs["backupPolicyId"] = state ? state.backupPolicyId : undefined;
74
74
  resourceInputs["location"] = state ? state.location : undefined;
75
75
  resourceInputs["name"] = state ? state.name : undefined;
76
+ resourceInputs["storageAccountContainerNames"] = state ? state.storageAccountContainerNames : undefined;
76
77
  resourceInputs["storageAccountId"] = state ? state.storageAccountId : undefined;
77
78
  resourceInputs["vaultId"] = state ? state.vaultId : undefined;
78
79
  }
@@ -90,6 +91,7 @@ class BackupInstanceBlogStorage extends pulumi.CustomResource {
90
91
  resourceInputs["backupPolicyId"] = args ? args.backupPolicyId : undefined;
91
92
  resourceInputs["location"] = args ? args.location : undefined;
92
93
  resourceInputs["name"] = args ? args.name : undefined;
94
+ resourceInputs["storageAccountContainerNames"] = args ? args.storageAccountContainerNames : undefined;
93
95
  resourceInputs["storageAccountId"] = args ? args.storageAccountId : undefined;
94
96
  resourceInputs["vaultId"] = args ? args.vaultId : undefined;
95
97
  }
@@ -1 +1 @@
1
- {"version":3,"file":"backupInstanceBlogStorage.js","sourceRoot":"","sources":["../../dataprotection/backupInstanceBlogStorage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAyDhE,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAA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AAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;;AA1BL,8DA+FC;AAjFG,gBAAgB;AACO,sCAAY,GAAG,0EAA0E,CAAC"}
@@ -0,0 +1,176 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages a Backup Instance to back up PostgreSQL Flexible Server.
4
+ *
5
+ * > **Note:** Before using this resource, there are some prerequisite permissions for configure backup and restore. See more details from <https://learn.microsoft.com/azure/backup/backup-azure-database-postgresql-flex-overview>.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as azure from "@pulumi/azure";
12
+ *
13
+ * const example = new azure.core.ResourceGroup("example", {
14
+ * name: "example-resources",
15
+ * location: "West Europe",
16
+ * });
17
+ * const exampleFlexibleServer = new azure.postgresql.FlexibleServer("example", {
18
+ * name: "example-postgresqlfs",
19
+ * resourceGroupName: example.name,
20
+ * location: example.location,
21
+ * administratorLogin: "adminTerraform",
22
+ * administratorPassword: "QAZwsx123",
23
+ * storageMb: 32768,
24
+ * version: "12",
25
+ * skuName: "GP_Standard_D4s_v3",
26
+ * zone: "2",
27
+ * });
28
+ * const exampleBackupVault = new azure.dataprotection.BackupVault("example", {
29
+ * name: "example-backupvault",
30
+ * resourceGroupName: example.name,
31
+ * location: example.location,
32
+ * datastoreType: "VaultStore",
33
+ * redundancy: "LocallyRedundant",
34
+ * softDelete: "Off",
35
+ * identity: {
36
+ * type: "SystemAssigned",
37
+ * },
38
+ * });
39
+ * const exampleAssignment = new azure.authorization.Assignment("example", {
40
+ * scope: example.id,
41
+ * roleDefinitionName: "Reader",
42
+ * principalId: exampleBackupVault.identity.apply(identity => identity?.principalId),
43
+ * });
44
+ * const example2 = new azure.authorization.Assignment("example2", {
45
+ * scope: exampleFlexibleServer.id,
46
+ * roleDefinitionName: "PostgreSQL Flexible Server Long Term Retention Backup Role",
47
+ * principalId: exampleBackupVault.identity.apply(identity => identity?.principalId),
48
+ * });
49
+ * const exampleBackupPolicyPostgresqlFlexibleServer = new azure.dataprotection.BackupPolicyPostgresqlFlexibleServer("example", {
50
+ * name: "example-dp",
51
+ * vaultId: exampleBackupVault.id,
52
+ * backupRepeatingTimeIntervals: ["R/2021-05-23T02:30:00+00:00/P1W"],
53
+ * defaultRetentionRule: {
54
+ * lifeCycles: [{
55
+ * duration: "P4M",
56
+ * dataStoreType: "VaultStore",
57
+ * }],
58
+ * },
59
+ * }, {
60
+ * dependsOn: [
61
+ * exampleAssignment,
62
+ * example2,
63
+ * ],
64
+ * });
65
+ * const exampleBackupInstancePostgresqlFlexibleServer = new azure.dataprotection.BackupInstancePostgresqlFlexibleServer("example", {
66
+ * name: "example-dbi",
67
+ * location: example.location,
68
+ * vaultId: exampleBackupVault.id,
69
+ * serverId: exampleFlexibleServer.id,
70
+ * backupPolicyId: exampleBackupPolicyPostgresqlFlexibleServer.id,
71
+ * });
72
+ * ```
73
+ *
74
+ * ## Import
75
+ *
76
+ * Backup Instance PostgreSQL Flexible Servers can be imported using the `resource id`, e.g.
77
+ *
78
+ * ```sh
79
+ * $ pulumi import azure:dataprotection/backupInstancePostgresqlFlexibleServer:BackupInstancePostgresqlFlexibleServer example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataProtection/backupVaults/vault1/backupInstances/backupInstance1
80
+ * ```
81
+ */
82
+ export declare class BackupInstancePostgresqlFlexibleServer extends pulumi.CustomResource {
83
+ /**
84
+ * Get an existing BackupInstancePostgresqlFlexibleServer resource's state with the given name, ID, and optional extra
85
+ * properties used to qualify the lookup.
86
+ *
87
+ * @param name The _unique_ name of the resulting resource.
88
+ * @param id The _unique_ provider ID of the resource to lookup.
89
+ * @param state Any extra arguments used during the lookup.
90
+ * @param opts Optional settings to control the behavior of the CustomResource.
91
+ */
92
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackupInstancePostgresqlFlexibleServerState, opts?: pulumi.CustomResourceOptions): BackupInstancePostgresqlFlexibleServer;
93
+ /**
94
+ * Returns true if the given object is an instance of BackupInstancePostgresqlFlexibleServer. This is designed to work even
95
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
96
+ */
97
+ static isInstance(obj: any): obj is BackupInstancePostgresqlFlexibleServer;
98
+ /**
99
+ * The ID of the Backup Policy.
100
+ */
101
+ readonly backupPolicyId: pulumi.Output<string>;
102
+ /**
103
+ * The location of the source database. Changing this forces a new resource to be created.
104
+ */
105
+ readonly location: pulumi.Output<string>;
106
+ /**
107
+ * Specifies the name of the Backup Instance for the PostgreSQL Flexible Server. Changing this forces a new resource to be created.
108
+ */
109
+ readonly name: pulumi.Output<string>;
110
+ /**
111
+ * The ID of the source server. Changing this forces a new resource to be created.
112
+ */
113
+ readonly serverId: pulumi.Output<string>;
114
+ /**
115
+ * The ID of the Backup Vault within which the PostgreSQL Flexible Server Backup Instance should exist. Changing this forces a new resource to be created.
116
+ */
117
+ readonly vaultId: pulumi.Output<string>;
118
+ /**
119
+ * Create a BackupInstancePostgresqlFlexibleServer resource with the given unique name, arguments, and options.
120
+ *
121
+ * @param name The _unique_ name of the resource.
122
+ * @param args The arguments to use to populate this resource's properties.
123
+ * @param opts A bag of options that control this resource's behavior.
124
+ */
125
+ constructor(name: string, args: BackupInstancePostgresqlFlexibleServerArgs, opts?: pulumi.CustomResourceOptions);
126
+ }
127
+ /**
128
+ * Input properties used for looking up and filtering BackupInstancePostgresqlFlexibleServer resources.
129
+ */
130
+ export interface BackupInstancePostgresqlFlexibleServerState {
131
+ /**
132
+ * The ID of the Backup Policy.
133
+ */
134
+ backupPolicyId?: pulumi.Input<string>;
135
+ /**
136
+ * The location of the source database. Changing this forces a new resource to be created.
137
+ */
138
+ location?: pulumi.Input<string>;
139
+ /**
140
+ * Specifies the name of the Backup Instance for the PostgreSQL Flexible Server. Changing this forces a new resource to be created.
141
+ */
142
+ name?: pulumi.Input<string>;
143
+ /**
144
+ * The ID of the source server. Changing this forces a new resource to be created.
145
+ */
146
+ serverId?: pulumi.Input<string>;
147
+ /**
148
+ * The ID of the Backup Vault within which the PostgreSQL Flexible Server Backup Instance should exist. Changing this forces a new resource to be created.
149
+ */
150
+ vaultId?: pulumi.Input<string>;
151
+ }
152
+ /**
153
+ * The set of arguments for constructing a BackupInstancePostgresqlFlexibleServer resource.
154
+ */
155
+ export interface BackupInstancePostgresqlFlexibleServerArgs {
156
+ /**
157
+ * The ID of the Backup Policy.
158
+ */
159
+ backupPolicyId: pulumi.Input<string>;
160
+ /**
161
+ * The location of the source database. Changing this forces a new resource to be created.
162
+ */
163
+ location?: pulumi.Input<string>;
164
+ /**
165
+ * Specifies the name of the Backup Instance for the PostgreSQL Flexible Server. Changing this forces a new resource to be created.
166
+ */
167
+ name?: pulumi.Input<string>;
168
+ /**
169
+ * The ID of the source server. Changing this forces a new resource to be created.
170
+ */
171
+ serverId: pulumi.Input<string>;
172
+ /**
173
+ * The ID of the Backup Vault within which the PostgreSQL Flexible Server Backup Instance should exist. Changing this forces a new resource to be created.
174
+ */
175
+ vaultId: pulumi.Input<string>;
176
+ }